[PATCH 3/3 v2] board: axy17lte: get board usable - add bootcmd and docs
Tom Rini
trini at konsulko.com
Tue Apr 5 20:00:31 CEST 2022
On Tue, Feb 22, 2022 at 09:49:54PM +0300, Dzmitry Sankouski wrote:
> U-boot is intended to replace linux kernel in android boot image(ABL), and
> it's FIT payload to replace initramfs file. The boot process is similar to
> boot image with linux:
> - android bootloader (ABL) unpacks android boot image
> - ABL sets `linux,initrd-start property` in chosen node in unpacked FDT
> - ABL sets x0 register to FDT address, and passes control to u-boot
> - u-boot reads x0 register, and stores it in `prevbl_fdt_addr` env variable
> - u-boot reads `linux,initrd-start` property,
> and stores it in `prevbl_initrd_start_addr`
>
> In this way, u-boot bootcmd relies on `prevbl_initrd_start_addr` env
> variable, and boils down to `bootm $prevbl_initrd_start_addr`.
> If more control on boot process is desired, pack a boot script in
> FIT image, and put it to default configuration
>
> What done:
> - Rearrange defconfig option order
> - Add CONFIG_SAVE_PREV_BL_* options
> - Doc updates:
> - remove wrong SBOOT memory corruption note, because
> memory is changed during u-boot bringup process,
> not by SBOOT
> - put payload on ramdisk place in abl boot image
> creation step
>
> Signed-off-by: Dzmitry Sankouski <dsankouski at gmail.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220405/4e5e22d3/attachment.sig>
More information about the U-Boot
mailing list