ashthespy Posted August 10, 2018 Posted August 10, 2018 Was playing around with a well tuned system, wanted to upgrade my kernel - but seem to have broken something. I was on 5.37 - manually upgraded to stretch and everything was working quite well. Today tried upgrading my kernel, and was playing around with `armbian-config` to switch kernels, but didn't go so well. After a reboot had no network. Plugged in the serial console, and was greeted with the following. pi@orangepione:~$ uname -a Linux orangepione 4.11.12-sun8i #2 SMP Wed Nov 22 13:50:32 CET 2017 armv7l GNU/Linux pi@orangepione:~$ dpkg-query -W -f='${Version}\n' linux-stretch-root-orangepione dpkg-query: no packages found matching linux-stretch-root-orangepione pi@orangepione:~$ cat /etc/armbian-release cat: /etc/armbian-release: No such file or directory :~$ ls /boot/ armbianEnv.txt dtb System.map-4.11.12-sun8i armbian_first_run.txt dtb-4.17.11-sunxi uInitrd boot.bmp dtb.old uInitrd-4.11.12-sun8i boot.cmd initrd.img-4.11.12-sun8i vmlinuz-4.11.12-sun8i boot-desktop.png overlay-user zImage boot.scr script.bin config-4.11.12-sun8i script.bin.bak Any pointers? Looks like I have broken all the Armbian patches - I have no network, my USB wifi dongle is also not recognised. I would really really like to avoid setting up all my docker containers/nginx/node scripts all over again! Full boot log: pi@orangepione:~$ dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.11.12-sun8i (root@armbian) (gcc version 7.1.1 20170707 (Linaro GCC 7.1-2017.08) ) #2 SMP Wed Nov 22 13:50:32 CET 2017 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=50c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: Xunlong Orange Pi One [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Reserved 16 MiB at 0x5f000000 [ 0.000000] On node 0 totalpages: 131072 [ 0.000000] free_area_init_node: node 0, pgdat c0b5fd80, node_mem_map deb70000 [ 0.000000] Normal zone: 1152 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 131072 pages, LIFO batch:31 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: Using PSCI v0.1 Function IDs from DT [ 0.000000] percpu: Embedded 16 pages/cpu @deb1a000 s34572 r8192 d22772 u65536 [ 0.000000] pcpu-alloc: s34572 r8192 d22772 u65536 alloc=16*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129920 [ 0.000000] Kernel command line: root=UUID=9135e351-ceee-42ac-b129-c4c182a79609 rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 loglevel=1 ubootpart=d3f8d8d1-01 ubootsource=mmc sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 cgroup_enable=memory swapaccount=1 [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] allocated 524288 bytes of page_ext [ 0.000000] Memory: 486056K/524288K available (6144K kernel code, 386K rwdata, 2392K rodata, 1024K init, 328K bss, 21848K reserved, 16384K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xe0800000 - 0xff800000 ( 496 MB) lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf800000 - 0xbfe00000 ( 6 MB) .text : 0xc0008000 - 0xc0700000 (7136 kB) .init : 0xc0a00000 - 0xc0b00000 (1024 kB) .data : 0xc0b00000 - 0xc0b60980 ( 387 kB) .bss : 0xc0b62000 - 0xc0bb40b0 ( 329 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000013] Switching to timer-based delay loop, resolution 41ns [ 0.000171] Console: colour dummy device 80x30 [ 0.000183] console [tty1] enabled [ 0.000203] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000212] pid_max: default: 32768 minimum: 301 [ 0.000375] Security Framework initialized [ 0.000384] AppArmor: AppArmor disabled by boot time parameter [ 0.000431] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000436] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001062] CPU: Testing write buffer coherency: ok [ 0.001392] /cpus/cpu@0 missing clock-frequency property [ 0.001410] /cpus/cpu@1 missing clock-frequency property [ 0.001425] /cpus/cpu@2 missing clock-frequency property [ 0.001441] /cpus/cpu@3 missing clock-frequency property [ 0.001450] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.001762] Setting up static identity map for 0x40100000 - 0x4010004c [ 0.002485] smp: Bringing up secondary CPUs ... [ 0.013074] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.023715] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.034328] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.034388] smp: Brought up 1 node, 4 CPUs [ 0.034395] SMP: Total of 4 processors activated (192.00 BogoMIPS). [ 0.034398] CPU: All CPU(s) started in HYP mode. [ 0.034400] CPU: Virtualization extensions available. [ 0.035194] devtmpfs: initialized [ 0.041521] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.041769] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.041783] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.042588] xor: measuring software checksum speed [ 0.134165] arm4regs : 1261.600 MB/sec [ 0.234209] 8regs : 750.000 MB/sec [ 0.334261] 32regs : 768.000 MB/sec [ 0.434307] neon : 1282.400 MB/sec [ 0.434311] xor: using function: neon (1282.400 MB/sec) [ 0.434392] pinctrl core: initialized pinctrl subsystem [ 0.435245] NET: Registered protocol family 16 [ 0.437266] DMA: preallocated 2048 KiB pool for atomic coherent allocations [ 0.438447] cpuidle: using governor ladder [ 0.438477] cpuidle: using governor menu [ 0.439232] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.439237] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.624542] raid6: int32x1 gen() 189 MB/s [ 0.794565] raid6: int32x1 xor() 160 MB/s [ 0.964674] raid6: int32x2 gen() 255 MB/s [ 1.134850] raid6: int32x2 xor() 198 MB/s [ 1.304965] raid6: int32x4 gen() 258 MB/s [ 1.475007] raid6: int32x4 xor() 193 MB/s [ 1.645131] raid6: int32x8 gen() 247 MB/s [ 1.815124] raid6: int32x8 xor() 172 MB/s [ 1.985225] raid6: neonx1 gen() 494 MB/s [ 2.155298] raid6: neonx1 xor() 366 MB/s [ 2.325372] raid6: neonx2 gen() 663 MB/s [ 2.495392] raid6: neonx2 xor() 478 MB/s [ 2.665531] raid6: neonx4 gen() 796 MB/s [ 2.835578] raid6: neonx4 xor() 533 MB/s [ 3.005696] raid6: neonx8 gen() 703 MB/s [ 3.175751] raid6: neonx8 xor() 485 MB/s [ 3.175755] raid6: using algorithm neonx4 gen() 796 MB/s [ 3.175758] raid6: .... xor() 533 MB/s, rmw enabled [ 3.175761] raid6: using intx1 recovery algorithm [ 3.177422] SCSI subsystem initialized [ 3.177599] libata version 3.00 loaded. [ 3.177846] usbcore: registered new interface driver usbfs [ 3.177904] usbcore: registered new interface driver hub [ 3.177986] usbcore: registered new device driver usb [ 3.178176] media: Linux media interface: v0.10 [ 3.178218] Linux video capture interface: v2.00 [ 3.178280] pps_core: LinuxPPS API ver. 1 registered [ 3.178284] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 3.178300] PTP clock support registered [ 3.178634] Advanced Linux Sound Architecture Driver Initialized. [ 3.179594] clocksource: Switched to clocksource arch_sys_counter [ 3.179726] VFS: Disk quotas dquot_6.6.0 [ 3.179778] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 3.187859] NET: Registered protocol family 2 [ 3.188396] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 3.188443] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 3.188501] TCP: Hash tables configured (established 4096 bind 4096) [ 3.188575] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 3.188605] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 3.188791] NET: Registered protocol family 1 [ 3.189143] RPC: Registered named UNIX socket transport module. [ 3.189147] RPC: Registered udp transport module. [ 3.189149] RPC: Registered tcp transport module. [ 3.189152] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 3.189390] Trying to unpack rootfs image as initramfs... [ 3.451455] Freeing initrd memory: 4472K [ 3.453143] audit: initializing netlink subsys (disabled) [ 3.453280] audit: type=2000 audit(3.440:1): state=initialized audit_enabled=0 res=1 [ 3.453470] Initialise system trusted keyrings [ 3.453592] workingset: timestamp_bits=14 max_order=17 bucket_order=3 [ 3.461120] zbud: loaded [ 3.464077] NFS: Registering the id_resolver key type [ 3.464102] Key type id_resolver registered [ 3.464105] Key type id_legacy registered [ 3.464117] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 3.464120] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 3.465172] JFS: nTxBlock = 3960, nTxLock = 31682 [ 3.469637] SGI XFS with ACLs, security attributes, realtime, no debug enabled [ 3.477146] Key type asymmetric registered [ 3.477223] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 3.477329] io scheduler noop registered [ 3.477333] io scheduler deadline registered [ 3.477682] io scheduler cfq registered (default) [ 3.477687] io scheduler mq-deadline registered [ 3.482390] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver [ 3.535512] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 3.537864] console [ttyS0] disabled [ 3.558020] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 35, base_baud = 1500000) is a U6_16550A [ 3.558069] console [ttyS0] enabled [ 3.561860] brd: module loaded [ 3.568188] loop: module loaded [ 3.569473] libphy: Fixed MDIO Bus: probed [ 3.569879] sun8i-emac 1c30000.ethernet: Cannot get AHB clock err=-2 [ 3.569908] sun8i-emac: probe of 1c30000.ethernet failed with error -2 [ 3.570368] usbcore: registered new interface driver catc [ 3.570408] usbcore: registered new interface driver kaweth [ 3.570412] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver [ 3.570461] usbcore: registered new interface driver pegasus [ 3.570501] usbcore: registered new interface driver rtl8150 [ 3.570556] usbcore: registered new interface driver r8152 [ 3.570595] usbcore: registered new interface driver lan78xx [ 3.570648] usbcore: registered new interface driver asix [ 3.570689] usbcore: registered new interface driver ax88179_178a [ 3.570728] usbcore: registered new interface driver cdc_ether [ 3.570774] usbcore: registered new interface driver cdc_eem [ 3.570814] usbcore: registered new interface driver dm9601 [ 3.570855] usbcore: registered new interface driver sr9700 [ 3.570909] usbcore: registered new interface driver CoreChips [ 3.570966] usbcore: registered new interface driver smsc75xx [ 3.571022] usbcore: registered new interface driver smsc95xx [ 3.571062] usbcore: registered new interface driver gl620a [ 3.571109] usbcore: registered new interface driver net1080 [ 3.571150] usbcore: registered new interface driver plusb [ 3.571190] usbcore: registered new interface driver rndis_host [ 3.571231] usbcore: registered new interface driver cdc_subset [ 3.571273] usbcore: registered new interface driver MOSCHIP usb-ethernet driver [ 3.571334] usbcore: registered new interface driver cdc_ncm [ 3.571376] usbcore: registered new interface driver huawei_cdc_ncm [ 3.571418] usbcore: registered new interface driver cdc_mbim [ 3.571427] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 3.571431] ehci-platform: EHCI generic platform driver [ 3.571603] ehci-platform 1c1a000.usb: EHCI Host Controller [ 3.571645] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1 [ 3.572309] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000 [ 3.599610] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00 [ 3.599884] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 3.599891] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.599896] usb usb1: Product: EHCI Host Controller [ 3.599902] usb usb1: Manufacturer: Linux 4.11.12-sun8i ehci_hcd [ 3.599907] usb usb1: SerialNumber: 1c1a000.usb [ 3.600565] hub 1-0:1.0: USB hub found [ 3.600605] hub 1-0:1.0: 1 port detected [ 3.601167] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 3.601187] ohci-platform: OHCI generic platform driver [ 3.601353] ohci-platform 1c1a400.usb: Generic Platform OHCI controller [ 3.601376] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2 [ 3.601589] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400 [ 3.673843] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001 [ 3.673850] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 3.673855] usb usb2: Product: Generic Platform OHCI controller [ 3.673860] usb usb2: Manufacturer: Linux 4.11.12-sun8i ohci_hcd [ 3.673865] usb usb2: SerialNumber: 1c1a400.usb [ 3.674481] hub 2-0:1.0: USB hub found [ 3.674522] hub 2-0:1.0: 1 port detected [ 3.675060] usbcore: registered new interface driver cdc_wdm [ 3.675148] usbcore: registered new interface driver usb-storage [ 3.675797] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0 [ 3.675803] sun6i-rtc 1f00000.rtc: RTC enabled [ 3.675849] i2c /dev entries driver [ 3.676747] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 3.677930] sunxi-mmc 1c0f000.mmc: Got CD GPIO [ 3.729618] sunxi-mmc 1c0f000.mmc: base:0xe0b98000 irq:24 [ 3.729888] leds-gpio leds: could not find pctldev for node /soc/pinctrl@1f02c00/led_pins, deferring probe [ 3.730224] ledtrig-cpu: registered to indicate activity on CPUs [ 3.730292] hidraw: raw HID events driver (C) Jiri Kosina [ 3.730430] usbcore: registered new interface driver usbhid [ 3.730433] usbhid: USB HID core driver [ 3.730863] Initializing XFRM netlink socket [ 3.731485] NET: Registered protocol family 10 [ 3.748279] Segment Routing with IPv6 [ 3.748358] NET: Registered protocol family 17 [ 3.748388] NET: Registered protocol family 15 [ 3.748435] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 3.748476] 8021q: 802.1Q VLAN Support v1.8 [ 3.748516] Key type dns_resolver registered [ 3.748873] Registering SWP/SWPB emulation handler [ 3.749451] registered taskstats version 1 [ 3.749456] Loading compiled-in X.509 certificates [ 3.749535] zswap: loaded using pool lzo/zbud [ 3.750962] Btrfs loaded, crc32c=crc32c-generic [ 3.757053] Key type encrypted registered [ 3.763608] leds-gpio leds: could not find pctldev for node /soc/pinctrl@1f02c00/led_pins, deferring probe [ 3.763836] of_cfs_init [ 3.763918] of_cfs_init: OK [ 3.764032] vdd-cpux-dummy: disabling [ 3.764037] vcc3v0: disabling [ 3.764042] vcc5v0: disabling [ 3.764045] ALSA device list: [ 3.764048] No soundcards found. [ 3.765615] Freeing unused kernel memory: 1024K [ 3.776886] mmc0: host does not support reading read-only switch, assuming write-enable [ 3.778884] mmc0: new high speed SDHC card at address 0007 [ 3.779833] mmcblk0: mmc0:0007 SL16G 14.5 GiB [ 3.781117] mmcblk0: p1 [ 3.784380] leds-gpio leds: could not find pctldev for node /soc/pinctrl@1f02c00/led_pins, deferring probe [ 3.809076] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 3.809551] random: systemd-udevd: uninitialized urandom read (16 bytes read) [ 3.814981] random: udevadm: uninitialized urandom read (16 bytes read) [ 3.816513] random: udevadm: uninitialized urandom read (16 bytes read) [ 3.816905] random: udevadm: uninitialized urandom read (16 bytes read) [ 3.817227] random: udevadm: uninitialized urandom read (16 bytes read) [ 3.817593] random: udevadm: uninitialized urandom read (16 bytes read) [ 3.818001] random: udevadm: uninitialized urandom read (16 bytes read) [ 3.818311] random: udevadm: uninitialized urandom read (16 bytes read) [ 3.818707] random: udevadm: uninitialized urandom read (16 bytes read) [ 4.851772] random: fast init done [ 5.342673] random: crng init done [ 19.221935] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null) [ 19.869525] systemd[1]: System time before build time, advancing clock. [ 19.902506] ip_tables: (C) 2000-2006 Netfilter Core Team [ 19.929290] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN) [ 19.929821] systemd[1]: Detected architecture arm. [ 19.960840] systemd[1]: Set hostname to <orangepione>. [ 20.475751] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 20.499972] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 20.529848] systemd[1]: Listening on udev Kernel Socket. [ 20.559868] systemd[1]: Listening on Journal Socket (/dev/log). [ 20.589850] systemd[1]: Listening on udev Control Socket. [ 20.620371] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 20.649853] systemd[1]: Listening on fsck to fsckd communication Socket. [ 21.163491] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro [ 22.007967] Adding 131068k swap on /var/swap. Priority:-1 extents:2 across:163836k SSFS [ 22.354318] systemd-journald[226]: Received request to flush runtime journal from PID 1 [ 22.510839] gpio-keys r_gpio_keys: could not find pctldev for node /soc/pinctrl@1f02c00/key_pins, deferring probe [ 22.566448] sun8i_ths 1c25000.thermal-sensor: failed to get IRQ: -6 [ 22.612622] leds-gpio leds: could not find pctldev for node /soc/pinctrl@1f02c00/led_pins, deferring probe [ 22.612875] gpio-keys r_gpio_keys: could not find pctldev for node /soc/pinctrl@1f02c00/key_pins, deferring probe [ 22.620774] leds-gpio leds: could not find pctldev for node /soc/pinctrl@1f02c00/led_pins, deferring probe [ 22.621096] gpio-keys r_gpio_keys: could not find pctldev for node /soc/pinctrl@1f02c00/key_pins, deferring probe [ 27.211309] input: lircd-uinput as /devices/virtual/input/input0 [ 33.732229] Bridge firewalling registered [ 33.763950] nf_conntrack version 0.5.0 (8192 buckets, 32768 max) [ 34.446683] Netfilter messages via NETLINK v0.30. [ 34.450880] ctnetlink v0.93: registering with nfnetlink. [ 34.868232] IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready [ 94.936420] systemd[1]: apt-daily-upgrade.timer: Adding 37min 17.802521s random time. [ 95.785739] systemd[1]: apt-daily-upgrade.timer: Adding 6min 14.080124s random time. [ 125.064260] IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready EDIT: Following the guide at https://docs.armbian.com/User-Guide_Advanced-Features/#how-to-troubleshoot I extracted the following files to my SD card: . ├── linux-dtb-next-sunxi_5.41_armhf.deb ├── linux-headers-next-sunxi_5.41_armhf.deb ├── linux-image-next-sunxi_5.41_armhf.deb ├── linux-stretch-root-next-orangepione_5.38_armhf.deb Copied over vmlinuz-4.14.18-sunxi kernel file to zImage. But am now stuck at: U-Boot SPL 2017.11-armbian (Jan 25 2018 - 07:54:42) DRAM: 512 MiB Trying to boot from MMC1 U-Boot 2017.11-armbian (Jan 25 2018 - 07:54:42 +0100) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: Xunlong Orange Pi One DRAM: 512 MiB MMC: SUNXI SD/MMC: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: phy interface0 eth0: ethernet@1c30000 starting USB... USB0: USB EHCI 1.00 USB1: USB OHCI 1.0 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Autoboot in 1 seconds, press <Space> to stop switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 3565 bytes read in 185 ms (18.6 KiB/s) ## Executing script at 43100000 U-boot loaded from SD Boot script loaded from mmc 115 bytes read in 144 ms (0 Bytes/s) ** File not found /boot/uInitrd ** 6972808 bytes read in 556 ms (12 MiB/s) Found mainline kernel configuration ** File not found /boot/dtb/sun8i-h3-orangepi-one.dtb ** libfdt fdt_check_header(): FDT_ERR_BADMAGIC No FDT memory address configured. Please configure the FDT address via "fdt addr <address>" command. Aborting! ** File not found /boot/dtb/overlay/sun8i-h3-fixup.scr ** Wrong Ramdisk Image Format Ramdisk image is corrupt or invalid SCRIPT FAILED: continuing...
ashthespy Posted August 11, 2018 Author Posted August 11, 2018 After some more digging - since I can get my 4.11.12 image to boot, I extracted the dtb-4.11.12 from http://apt.armbian.com/pool/main/l/linux-4.11.12-sun8i/ , linked dtb -> dtb-4.11.12-sun81 and I have my internet again! What is the right way to upgrade to 4.14.18-sunxi now? sudo apt-get update && sudo apt-get upgrade doesn't really work. EDIT: All is good! removed all the old packages with `sudo apt list --installed | grep linux-` then installed the required packages with sudo apt-get install linux-image-next-sunxi linux-dtb-next-sunxi linux-headers-next-sunxi linux-stretch-root-next-orangepione linux-u-boot-orangepione-next I dunno if this was the issue - but in my armbian.list I had to change `utils` to `stretch-utils` Big thanks to all the devs to make the information available out there!
Igor Posted August 11, 2018 Posted August 11, 2018 4 hours ago, spy king said: What is the right way to upgrade to 4.14.18-sunxi now? sudo apt-get update && sudo apt-get upgrade doesn't really work. - this method works on clean builds. If you didn't break anything, - problems might arise when you upgrade from a very very old image, the one from early days. - if you upgrade from an old legacy kernel (3.4.y), you need to remove all its package or just use armbian-config method of kernel switching
Recommended Posts