-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RockPro64 doesn't boot with latest uboot + mantic #103
Comments
Can you please show the full log from power on to failure? rk3399 doesn't support booting from USB. You probably have an old U-Boot on SPI flash or eMMC that is picked up. |
It's booting from USB with the latest armbian image just fine, but i'm happy to double-check things. i've never update the SPI uboot, though. And do note that the above errors are during kernel decompression (or loading) - at which point, USB has already been enabled and the images pulled from the drive.
|
U-Boot TPL 2023.10-dirty (Jan 01 2024 - 00:11:12) U-Boot SPL 2023.10-dirty (Jan 01 2024 - 00:11:12 +0000) U-Boot 2023.10-dirty (Jan 01 2024 - 00:11:12 +0000) SoC: Rockchip rk3399 Device 0: Vendor: General Rev: 1100 Prod: USB Flash Disk |
Seems to use the correct U-Boot, but don't understand why kernel_comp_addr_r and kernel_comp_size is not set. Should be by default. Try going into the U-Boot prompt (at "Hit any key to stop autoboot") and run printenv. It should list all variables set including the kernel_comp_*. |
Using:
written to a 32gb USB drive (sdcard is currently not recognized, for some reason)
console logs the following:
Found U-Boot script /boot/boot.scr
1287 bytes read in 2 ms (627.9 KiB/s)
## Executing script at 00500000
17364188 bytes read in 414 ms (40 MiB/s)
22404444 bytes read in 532 ms (40.2 MiB/s)
63081 bytes read in 5 ms (12 MiB/s)
kernel_comp_addr_r or kernel_comp_size is not provided!
kernel_comp_addr_r or kernel_comp_size is not provided!
SCRIPT FAILED
mounting the USB drive and decompressing the kernel results in a different error:
Scanning usb 0:2...
Found U-Boot script /boot/boot.scr
1289 bytes read in 2 ms (628.9 KiB/s)
## Executing script at 00500000
55191944 bytes read in 1311 ms (40.1 MiB/s)
22404444 bytes read in 532 ms (40.2 MiB/s)
63081 bytes read in 5 ms (12 MiB/s)
ERROR: RD image overlaps OS image (OS=0x2000000..0x5600000)
ERROR: RD image overlaps OS image (OS=0x2000000..0x5600000)
SCRIPT FAILED:
The text was updated successfully, but these errors were encountered: