board: axy17lte: get board usable - add bootcmd and docs
authorDzmitry Sankouski <dsankouski@gmail.com>
Tue, 22 Feb 2022 18:49:54 +0000 (21:49 +0300)
committerTom Rini <trini@konsulko.com>
Mon, 4 Apr 2022 23:02:03 +0000 (19:02 -0400)
commitd5c4ec4aa3aaa833cb535daa64a583a14304fc95
tree0d5106a3e30ded64eed021c762039b48c8378e99
parentf8a1b33889a2ed880062d9960a68718463093de6
board: axy17lte: get board usable - add bootcmd and docs

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@gmail.com>
configs/a3y17lte_defconfig
configs/a5y17lte_defconfig
configs/a7y17lte_defconfig
doc/board/samsung/axy17lte.rst
include/configs/exynos78x0-common.h