From 644db3f3a8b2482e3d87ad75ff124eee91b712d1 Mon Sep 17 00:00:00 2001 From: Adam Mizerski Date: Fri, 4 Dec 2020 22:25:14 +0100 Subject: [PATCH] doc: booting with U-Boot from SD card --- documentation.txt | 39 ++++++++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 5 deletions(-) diff --git a/documentation.txt b/documentation.txt index 8fa1b85..3eaafaa 100644 --- a/documentation.txt +++ b/documentation.txt @@ -28,7 +28,7 @@ the NAND or bootloader happens. Use cases -~~~~~~~~ +~~~~~~~~~ In fact, most users do not need it. Either way, possible use cases: -Changing typos in bootscripts which prevent an operation system @@ -48,11 +48,12 @@ In fact, most users do not need it. Either way, possible use cases: -and more... -Booting rescueOS -~~~~~~~~~~~~~~~ + +Booting rescueOS with flasher +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Note: You can not store persistent data in /. Of course, it becomes possible on the mount points you mount the EMMC or sd card -to. +to. Note: It comes without any promises and without any warranty. Therefore you are doing everything at your own risk. @@ -93,6 +94,34 @@ should block and wait. Now connect the N900 to the PC with the data cable; the flasher should detect the device, upload rescueOS, launch it, and then exit. +Booting rescueOS with U-Boot from SD card +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Use this method if you have installed U-Boot (https://talk.maemo.org/showthread.php?t=81613) +and battery is so depleted, that flashing doesn't work. + +You'll need "mkimage" command from "u-boot-tools" package. + +Preparing required files: + +mkimage -A arm -O linux -T kernel -C none -a 80008000 -e 80008000 -n kernel -d rescueOS_n900_kernel_1.3.zImage rescueOS_n900_kernel_1.3.uImage +mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initrd -d rescueOS-1.3.img rescueOS-1.3.uimg +cat >boot.cmd <