by gangely » Wed Jun 02, 2021 7:18 am
$this->bbcode_second_pass_quote('', 'D')o you have more logs? Does it just hang on "Starting kernel" and shows nothing after? Were any parameters changed in boot.txt?
1. this is the log from screen, with 4.14.180-2 zImage
$this->bbcode_second_pass_code('', 'U-Boot 2018.01-2 (Feb 15 2018 - 02:09:52 +0000) Arch Linux ARM
CPU: Exynos5422 @ 800 MHz
Model: Odroid XU3 based on EXYNOS5422
Board: Odroid XU3 based on EXYNOS5422
Type: xu4
DRAM: 2 GiB
MMC: EXYNOS DWMMC: 0, EXYNOS DWMMC: 1
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: No ethernet found.
Hit any key to stop autoboot: 0
mmc_init: -5, time 4
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2214 bytes read in 23 ms (93.8 KiB/s)
## Executing script at 50000000
6086616 bytes read in 478 ms (12.1 MiB/s)
63518 bytes read in 58 ms (1 MiB/s)
6805330 bytes read in 528 ms (12.3 MiB/s)
Kernel image @ 0x42000000 [ 0x000000 - 0x5cdfd8 ]
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
Loading Ramdisk to 4f982000, end 4ffff752 ... OK
Loading Device Tree to 4f96f000, end 4f98181d ... OK
Starting kernel ...')
2. nothing more is shown
3. yes, setenv was changed to use a root partition on a SSD connected on USB3
$this->bbcode_second_pass_code('', 'part uuid ${devtype} ${devnum}:${bootpart} uuid
### gea 20210526 xu4 root on ssd ###
#setenv bootargs "console=tty1 console=ttySAC2,115200n8 root=PARTUUID=${uuid} rw rootwait smsc95xx.macaddr=${macaddr} ${videoconfig}"
setenv bootargs "console=tty1 console=ttySAC2,115200n8 root=/dev/sda1 rw rootwait smsc95xx.macaddr=${macaddr} ${videoconfig}"
###')
I had same observation on an HC2 with root on a HDD, but as for the XU4, it does not affect
every boot; sometimes (?) the boot will proceed up to login.
This is my present /boot on ODROID-XU4. It was a fresh installation upgrade to 4.14.180-2, then -as it will not boot- patched with the original zImage, and finally downgraded to 4.14.180-1.
$this->bbcode_second_pass_code('', '// ls -l boot
total 51804
-rw-r--r-- 1 root root 15360 Feb 15 2018 bl1.bin
-rw-r--r-- 1 root root 14592 Feb 15 2018 bl2.bin
-rw-r--r-- 1 root root 2214 May 30 12:56 boot.scr
-rw-r--r-- 1 root root 2142 May 29 13:09 boot.txt
-rw-r--r-- 1 root root 1974 Feb 15 2018 boot.txt.xu3
drwxr-xr-x 2 root root 4096 Jun 1 22:46 dtbs
-rw-r--r-- 1 root root 6805382 Jun 1 22:46 initramfs-linux.img
-rw-r--r-- 1 root root 6700978 Feb 5 23:58 initramfs-linux.img.xu3
-rw-r--r-- 1 root root 6805382 May 30 13:02 initramfs-linux.img.4.14.180-1
-rw-r--r-- 1 root root 6805382 May 31 21:14 initramfs-linux.img.4.14.180-1-20210531-2114
-rw-r--r-- 1 root root 6805330 May 31 13:41 initramfs-linux.img.4.14.180-2
-rwxr-xr-x 1 root root 239 Feb 15 2018 mkscr
-rwxr-xr-x 1 root root 1746 Feb 15 2018 sd_fusing.sh
-rw-r--r-- 1 root root 262144 Feb 15 2018 tzsw.bin
-rw-r--r-- 1 root root 575173 Feb 15 2018 u-boot.bin
-rwxr-xr-x 1 root root 6065776 May 26 2020 zImage
-rwxr-xr-x 1 root root 6086616 May 13 08:26 zImage.4.14.180-2
-rwxr-xr-x 1 root root 6065776 May 26 2020 zImage.xu3.4.14.180-1')