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)

Most upvoted comments

Tests I made:

# Successful boot
./OK/linux-image-4.4.103-rockchip-ayufan-146_0.6.2_arm64.deb
./OK/linux-image-4.4.103-rockchip-ayufan-152_0.6.5_arm64.deb
./OK/linux-image-4.4.103-rockchip-ayufan-157_0.6.8_arm64.deb
./OK/linux-image-4.4.103-rockchip-ayufan-160_0.6.9_arm64.deb
./OK/linux-image-4.4.103-rockchip-ayufan-163_0.6.11_arm64.deb
./OK/linux-image-4.4.103-rockchip-ayufan-177_0.6.16_arm64.deb
./OK/linux-image-4.4.114-rockchip-ayufan-193_0.6.25_arm64.deb
./OK/linux-image-4.4.120-rockchip-ayufan-201_0.6.29_arm64.deb
./OK/linux-image-4.4.120-rockchip-ayufan-209_0.6.31_arm64.deb
./OK/linux-image-4.4.77-rockchip-ayufan-140_0.6.0_arm64.deb
./OK/linux-image-4.4.77-rockchip-ayufan-140-dbg_0.6.0_arm64.deb
./OK/linux-image-4.14.0-rockchip-ayufan-140-gee914538_0.6.0_arm64.deb
./OK/linux-image-4.14.0-rockchip-ayufan-140-gee914538-dbg_0.6.0_arm64.deb
./OK/linux-image-4.15.0-rockchip-ayufan-152-ga69162ebc_0.6.5_arm64.deb
./OK/linux-image-4.15.0-rockchip-ayufan-152-ga69162ebc-dbg_0.6.5_arm64.deb
./OK/linux-image-4.15.0-rockchip-ayufan-157-ga69162ebc_0.6.8_arm64.deb
./OK/linux-image-4.15.0-rockchip-ayufan-160-ga69162ebc_0.6.9_arm64.deb
./OK/linux-image-4.15.0-rockchip-ayufan-163-ga69162ebc_0.6.11_arm64.deb
./OK/linux-image-4.15.0-rockchip-ayufan-177-g59389fa34_0.6.16_arm64.deb
./OK/linux-image-4.16.0-rockchip-ayufan-193-g87cf9d7f0_0.6.25_arm64.deb
./OK/linux-image-4.16.0-rockchip-ayufan-201-g027e722bb_0.6.29_arm64.deb
./OK/linux-image-4.16.0-rockchip-ayufan-209-g027e722bb_0.6.31_arm64.deb
./OK/linux-image-4.16.0-rockchip-ayufan-210-g027e722bb_0.6.32_arm64.deb
./OK/linux-image-4.16.0-rockchip-ayufan-211-g027e722bb_0.6.33_arm64.deb
./OK/linux-image-4.16.0-rockchip-ayufan-213-g027e722bb_0.6.34_arm64.deb
./OK/linux-image-4.17.0-rockchip-ayufan-217-gd02e6236_0.6.35_arm64.deb

# Crash on boot
./KO/linux-image-4.4.120-rockchip-ayufan-210_0.6.32_arm64.deb
./KO/linux-image-4.4.120-rockchip-ayufan-211_0.6.33_arm64.deb
./KO/linux-image-4.4.126-rockchip-ayufan-221_0.6.37_arm64.deb
./KO/linux-image-4.4.126-rockchip-ayufan-234_0.7.4_arm64.deb