linux-build: Recent images will crash on boot
I’ve been unable to boot my Rock64 4GB boards with recent images:
bionic-containers-rock64-0.6.40-226-arm64.boot.log bionic-containers-rock64-0.6.41-227-arm64.boot.log
Artful minimal seems to work: artful-minimal-rock64-0.5.15-136-arm64.before_upgrade.boot.log
But if I upgrade with the following commands:
mkdir /run/resolvconf
echo nameserver 1.1.1.1 > /run/resolvconf/resolv.conf
apt update
apt update -y
sudo apt-get install linux-rock64 -y
sudo apt install linux-firmware-image-4.4.126-rockchip-ayufan-227
rock64_upgrade_bootloader.sh
rock64_write_spi_flash.sh
It will fail to boot with the following output:
artful-minimal-rock64-0.5.15-136-arm64.after_upgrade.boot.log
I tried clearing the SPI from the bootable image and I’m able to boot again. But some files have been corrupted (python, linux-firmware, libc-bin) I’ll attempt to fix that and post back the results.
I’ll attach a picture of the RAM chip shortly. Let me know if I can provide any more info or help with anything to debug this, I’ve got two identical boards, UART cable and good linux knowledge.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 2
- Comments: 24 (14 by maintainers)
Tests I made: