Update User-Guide_Recovery.md (#374)

The original did not work.

This is because pack/usr/lib/u-boot/platform_install.sh defines functions but does not run them.

With the proposed changes it worked for my odroid xu4.

Regards,
Jürgen
This commit is contained in:
JuergenBausa
2023-12-12 15:23:02 +01:00
committed by GitHub
parent e6d0687cc8
commit 780fe36f80

View File

@@ -140,7 +140,8 @@ Sometimes we need to flash boot loader from some other Linux. Attach an SD card
~ $ cd tmp/recovery
~ $ wget https://imola.armbian.com/apt/pool/main/l/linux-u-boot-nanopineo2-current/linux-u-boot-current-nanopineo2_20.08.13_arm64.deb
~ $ dpkg-deb -x linux-u-boot-current-nanopineo2_20.08.13_arm64.deb pack
~ $ bash pack/usr/lib/u-boot/platform_install.sh pack/usr/lib/linux-u-boot-nanopineo2-current /dev/XXX # replace XXX with the actual device /dev/sdb
~ $ source pack/usr/lib/u-boot/platform_install.sh
~ $ write_uboot_platform pack/usr/lib/linux-u-boot-nanopineo2-current /dev/XXX # replace XXX with the actual device /dev/sdb
```
Move it to the board and power on. Check serial output for errors if problems persist.