ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
6.02k stars 1.93k forks source link

Ran armbian-update on s905l3a, now device doesn't boot, any help welcome #2448

Closed loyukfai closed 1 month ago

loyukfai commented 2 months ago
    _              _      ____  ___   ___  ____  _ _____
   / \   _ __ ___ | |    / ___|/ _ \ / _ \| ___|| |___ /  __ _
  / _ \ | '_ ` _ \| |____\___ \ (_) | | | |___ \| | |_ \ / _` |
 / ___ \| | | | | | |_____|__) \__, | |_| |___) | |___) | (_| |
/_/   \_\_| |_| |_|_|    |____/  /_/ \___/|____/|_|____/ \__,_|

Welcome to Armbian 23.08.0-trunk Bullseye with Linux 5.15.123-ophub

System load:   3%               Up time:       1:28
Memory usage:  21% of 1.91G
CPU temp:      46°C             Usage of /:    89% of 6.8G
RX today:      60.0 MiB

[ General system configuration (beta): armbian-config ]

root@armbian:~# armbian-update
[ STEPS ] Welcome to the kernel update tool.
[ STEPS ] Start checking dependencies...
[ INFO ] Dependency check completed.

[ STEPS ] Start checking network status...
[ INFO ] You can access [ github.com ] normally.

[ STEPS ] Start initializing parameters...
[ INFO ] Armbian platform: [ amlogic ]
[ INFO ] Kernel download repository: [ ophub/kernel ]
[ INFO ] Kernel download cdn: [  ]
[ INFO ] Kernel tags: [ stable ]
[ INFO ] Kernel version: [  ]
[ INFO ] Armbian is running on: [ /dev/mmcblk2 ]

[ STEPS ] Start querying kernel version...
[ INFO ] Query the latest kernel version of the [ 5.15 ] series within [ kernel_stable ]...
[ INFO ] Current version: [ 5.15.123 ], Latest version: [ 5.15.163 ].

[ STEPS ] Start downloading kernel package...
[ INFO ] Download kernel from: [ https://github.com/ophub/kernel/releases/download/kernel_stable/5.15.163.tar.gz ]
[ INFO ] Download kernel to:   [ /tmp/tmp.HQtQiIjUBF ]

[ STEPS ] Start checking kernel package...
[ INFO ] Kernel name: [ 5.15.163-ophub ]
[ INFO ] Overload is required: [ no ]
[ INFO ] Start performing sha256sum verification...
[ INFO ] (1/4) Verification of [ boot-5.15.163-ophub.tar.gz ] succeeded.
[ INFO ] (2/4) Verification of [ dtb-amlogic-5.15.163-ophub.tar.gz ] succeeded.
[ INFO ] (3/4) Verification of [ header-5.15.163-ophub.tar.gz ] succeeded.
[ INFO ] (4/4) Verification of [ modules-5.15.163-ophub.tar.gz ] succeeded.

[ STEPS ] Start backing up current kernel...
[ INFO ] (1/4) Backup of [ boot-5.15.123-ophub.tar.gz ] succeeded.
[ INFO ] (2/4) Backup of [ dtb-amlogic-5.15.123-ophub.tar.gz ] succeeded.
[ INFO ] (3/4) Backup of [ header-5.15.123-ophub.tar.gz ] succeeded.
[ INFO ] (4/4) Backup of [ modules-5.15.123-ophub.tar.gz ] succeeded.
[ INFO ] [ sha256sums ] file has been generated.
[ INFO ] Current kernel backup path: [ /ddbr/backup/5.15.123 ].

[ STEPS ] Start unpacking kernel...
[ INFO ] (1/4) Unpacking [ boot-5.15.163-ophub.tar.gz ] succeeded.
[ INFO ] (2/4) Unpacking [ dtb-amlogic-5.15.163-ophub.tar.gz ] succeeded.
[ INFO ] (3/4) Unpacking [ header-5.15.163-ophub.tar.gz ] succeeded.
[ INFO ] (4/4) Unpacking [ modules-5.15.163-ophub.tar.gz ] succeeded.

[ STEPS ] Start updating u-boot...

[ SUCCESS ] Kernel update succeeded. Armbian system is restarting...
ophub commented 2 months ago

https://github.com/ophub/amlogic-s9xxx-armbian/tree/main/documents#10-updating-armbian-kernel

loyukfai commented 2 months ago

Thanks!

Just wondering, is it safe to try another build like https://www.armbian.com/amlogic-s9xx-tv-box/ too? If not, how to revert back to your build?

Cheers.

ophub commented 2 months ago

The official version is definitely safe. I also based my rebuild version on the official one, just adding a little bit to what the official version does not support. The flashing method is the same, using USB to flash different Armbian firmware and then conducting tests.

loyukfai commented 2 months ago

Thanks! I got it back up running.

Just wondering, what is the recommended way to keep the whole shebang up-to-date?

The whole fiasco for me was hoping to keep it up-to-date, but caused mayhem instead.

FYI, I flashed your latest hassiosupervisor build onto USB, rebooted, and ran armbian-install, it erased everything on the device (which I kind of expected and made backups to important files), and re-setup the whole thing (thankfully a very simple setup).

In future, if I want to update armbian, hassio, how it should be done?

(BTW, what did you add on top of the official one?)

ophub commented 2 months ago
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y
sudo apt-get --purge autoremove -y
sudo apt-get autoclean -y

armbian-sync
armbian-update
loyukfai commented 2 months ago

Thanks! How about Home Assistant?

ophub commented 2 months ago

https://www.home-assistant.io/docs/