From 780fe36f805b8801487b34e97006ddbfec040fdb Mon Sep 17 00:00:00 2001 From: JuergenBausa <54506740+JuergenBausa@users.noreply.github.com> Date: Tue, 12 Dec 2023 15:23:02 +0100 Subject: [PATCH] Update User-Guide_Recovery.md (#374) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- docs/User-Guide_Recovery.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/User-Guide_Recovery.md b/docs/User-Guide_Recovery.md index 93e29757..b784d565 100644 --- a/docs/User-Guide_Recovery.md +++ b/docs/User-Guide_Recovery.md @@ -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.