mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-26 08:09:09 +00:00
Reserve last 32KiB for environment in SPI for ROCK Pi 4
This commit is contained in:
parent
c010b05e66
commit
5d68d4a68e
2 changed files with 3 additions and 5 deletions
|
@ -167,7 +167,7 @@ uboot_custom_postprocess()
|
|||
|
||||
if [[ $BOOT_SUPPORT_SPI == yes ]]; then
|
||||
tools/mkimage -n rk3399 -T rkspi -d tpl/u-boot-tpl.bin:spl/u-boot-spl.bin rkspi_tpl_spl.img
|
||||
dd if=/dev/zero of=rkspi_loader.img count=8192 status=none
|
||||
dd if=/dev/zero of=rkspi_loader.img count=8128 status=none
|
||||
dd if=rkspi_tpl_spl.img of=rkspi_loader.img conv=notrunc status=none
|
||||
dd if=u-boot.itb of=rkspi_loader.img seek=768 conv=notrunc status=none
|
||||
fi
|
||||
|
|
|
@ -44,9 +44,8 @@ index 8b34198a..1a5cd77d 100644
|
|||
CONFIG_ARM=y
|
||||
CONFIG_ARCH_ROCKCHIP=y
|
||||
CONFIG_SYS_TEXT_BASE=0x00200000
|
||||
-CONFIG_ENV_OFFSET=0x3F8000
|
||||
+CONFIG_ENV_OFFSET=0x3FA000
|
||||
+CONFIG_ENV_SIZE=0x6000
|
||||
CONFIG_ENV_OFFSET=0x3F8000
|
||||
+CONFIG_ENV_SECT_SIZE=0x1000
|
||||
CONFIG_ROCKCHIP_RK3399=y
|
||||
CONFIG_TARGET_EVB_RK3399=y
|
||||
|
@ -99,9 +98,8 @@ index 8b34198a..1a5cd77d 100644
|
|||
CONFIG_ARM=y
|
||||
CONFIG_ARCH_ROCKCHIP=y
|
||||
CONFIG_SYS_TEXT_BASE=0x00200000
|
||||
-CONFIG_ENV_OFFSET=0x3F8000
|
||||
+CONFIG_ENV_OFFSET=0x3FA000
|
||||
+CONFIG_ENV_SIZE=0x6000
|
||||
CONFIG_ENV_OFFSET=0x3F8000
|
||||
+CONFIG_ENV_SECT_SIZE=0x1000
|
||||
CONFIG_ROCKCHIP_RK3399=y
|
||||
CONFIG_TARGET_EVB_RK3399=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue