mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 13:56:30 +00:00
b42297ba81
U-Boot can be chainloaded from vendor firmware on ARM64 chromebooks from a GPT partition (roughly the same as in doc/chromium/chainload.rst), but an appropriate image header must be built-in to the U-Boot binary by enabling LINUX_KERNEL_IMAGE_HEADER. This header has a field for an image load offset from 2MiB alignment which must also be customized through LNX_KRNL_IMG_TEXT_OFFSET_BASE. Set it equal to SYS_TEXT_BASE by default for Rockchip boards, which happens to make this offset zero and works fine on chromebook_kevin both for chainloading and bare-metal use. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> |
||
---|---|---|
.. | ||
px30 | ||
rk322x | ||
rk3036 | ||
rk3128 | ||
rk3188 | ||
rk3288 | ||
rk3308 | ||
rk3328 | ||
rk3368 | ||
rk3399 | ||
rk3568 | ||
rv1108 | ||
board.c | ||
boot_mode.c | ||
bootrom.c | ||
cpu-info.c | ||
Kconfig | ||
make_fit_atf.py | ||
Makefile | ||
misc.c | ||
px30-board-tpl.c | ||
rk3036-board-spl.c | ||
sdram.c | ||
spl-boot-order.c | ||
spl.c | ||
tpl.c | ||
u-boot-tpl-v8.lds | ||
u-boot-tpl.lds |