env: ti: Increase boot partition
PATCH 1/2 env: ti: Increase boot partition
linux-mainline with multi_v7_defconfig + Android configs takes more space than regular TI Android kernel. Let's increase boot partition twice, so that boot_fit.img (with new zImage in it) can fit into "boot" partition.
--- include/environment/ti/boot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/environment/ti/boot.h +1 -1
@@ -38,7 +38,7 @@"name=uboot-env,start=2432K,size=256K,uuid=${uuid_gpt_reserved};" \"name=misc,size=128K,uuid=${uuid_gpt_misc};" \"name=recovery,size=40M,uuid=${uuid_gpt_recovery};" \ -"name=boot,size=10M,uuid=${uuid_gpt_boot};" \ +"name=boot,size=20M,uuid=${uuid_gpt_boot};" \"name=system,size=1024M,uuid=${uuid_gpt_system};" \"name=vendor,size=256M,uuid=${uuid_gpt_vendor};" \VBMETA_PART \
Signature · 1 line
2.20.1
PATCH 1/2 env: ti: Increase boot partition
Quoted 8 lines · Sam Protsenko
linux-mainline with
multi_v7_defconfig+ Android configs takes more space than regular TI Android kernel. Let's increase boot partition twice, so that boot_fit.img (with new zImage in it) can fit into "boot" partition.Signed-off-by Sam Protsenko <[email protected]>---
Already merged as part of: https://patchwork.ozlabs.org/patch/1128012/
Quoted 19 lines
include/environment/ti/boot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/environment/ti/boot.h +1
-2@@ -38,7 +38,7 @@"name=uboot-env,start=2432K,size=256K,uuid=${uuid_gpt_reserved};" \"name=misc,size=128K,uuid=${uuid_gpt_misc};" \"name=recovery,size=40M,uuid=${uuid_gpt_recovery};" \ -"name=boot,size=10M,uuid=${uuid_gpt_boot};" \ +"name=boot,size=20M,uuid=${uuid_gpt_boot};" \"name=system,size=1024M,uuid=${uuid_gpt_system};" \"name=vendor,size=256M,uuid=${uuid_gpt_vendor};" \VBMETA_PART \ --2.20.1
PATCH 1/2 env: ti: Increase boot partition
In reply to Sam ProtsenkoHi Sam
Quoted 25 lines · Sam Protsenko
linux-mainline with
multi_v7_defconfig+ Android configs takes more space than regular TI Android kernel. Let's increase boot partition twice, so that boot_fit.img (with new zImage in it) can fit into "boot" partition.Signed-off-by Sam Protsenko <[email protected]>--- include/environment/ti/boot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/environment/ti/boot.h +1
-2@@ -38,7 +38,7 @@"name=uboot-env,start=2432K,size=256K,uuid=${uuid_gpt_reserved};" \"name=misc,size=128K,uuid=${uuid_gpt_misc};" \"name=recovery,size=40M,uuid=${uuid_gpt_recovery};" \ -"name=boot,size=10M,uuid=${uuid_gpt_boot};" \ +"name=boot,size=20M,uuid=${uuid_gpt_boot};" \"name=system,size=1024M,uuid=${uuid_gpt_system};" \"name=vendor,size=256M,uuid=${uuid_gpt_vendor};" \VBMETA_PART \ --
Quoted 2 lines
2.20.1
Signature · 8 lines
Best regards - Freundliche Grüsse - Meilleures salutations Igor Opaniuk mailto: igor.opaniuk at gmail.com skype: igor.opanyuk +380 (93) 836 40 67 http://ua.linkedin.com/in/iopaniuk
PATCH 1/2 env: ti: Increase boot partition
In reply to Sam ProtsenkoQuoted 6 lines · Sam Protsenko
linux-mainline with
multi_v7_defconfig+ Android configs takes more space than regular TI Android kernel. Let's increase boot partition twice, so that boot_fit.img (with new zImage in it) can fit into "boot" partition.Signed-off-by Sam Protsenko <[email protected]>
Thanks and regards,
Lokesh
PATCH 2/2 arm: am57xx: Allow bootm to load larger kernels
In reply to Sam Protsenkolinux-mainline with multi_v7_defconfig + Android configs takes more space than regular TI Android kernel and bootm will fail to load it. Let's increase max kernel size up to 64 MiB to make it possible to run such kernel.
--- include/configs/am57xx_evm.h | 2 ++ 1 file changed, 2 insertions(+)
include/configs/am57xx_evm.h +2 -0
@@ -24,6 +24,8 @@#define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)#define CONFIG_SYS_REDUNDAND_ENVIRONMENT +#define CONFIG_SYS_BOOTM_LEN SZ_64M +#define CONSOLEDEV "ttyO2"#define CONFIG_SYS_NS16550_COM1 UART1_BASE/* Base EVM has UART0 */ #define CONFIG_SYS_NS16550_COM2 UART2_BASE/* UART2 */
Signature · 1 line
2.20.1
PATCH 2/2 arm: am57xx: Allow bootm to load larger kernels
Hi Sam,
Quoted 25 lines · Sam Protsenko
linux-mainline with
multi_v7_defconfig+ Android configs takes more space than regular TI Android kernel and bootm will fail to load it. Let's increase max kernel size up to 64 MiB to make it possible to run such kernel.Signed-off-by Sam Protsenko <[email protected]>--- include/configs/am57xx_evm.h | 2 ++ 1 file changed, 2 insertions(+)include/configs/am57xx_evm.h +2
-1@@ -24,6 +24,8 @@#define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)#define CONFIG_SYS_REDUNDAND_ENVIRONMENT +#define CONFIG_SYS_BOOTM_LEN SZ_64M +#define CONSOLEDEV "ttyO2"#define CONFIG_SYS_NS16550_COM1 UART1_BASE/* Base EVM has UART0 */ #define CONFIG_SYS_NS16550_COM2 UART2_BASE/* UART2 */ --
Quoted 2 lines
2.20.1
Signature · 8 lines
Best regards - Freundliche Grüsse - Meilleures salutations Igor Opaniuk mailto: igor.opaniuk at gmail.com skype: igor.opanyuk +380 (93) 836 40 67 http://ua.linkedin.com/in/iopaniuk
PATCH 2/2 arm: am57xx: Allow bootm to load larger kernels
In reply to Sam ProtsenkoQuoted 6 lines · Sam Protsenko
linux-mainline with
multi_v7_defconfig+ Android configs takes more space than regular TI Android kernel and bootm will fail to load it. Let's increase max kernel size up to 64 MiB to make it possible to run such kernel.Signed-off-by Sam Protsenko <[email protected]>
Thanks and regards,
Lokesh
PATCH 2/2 arm: am57xx: Allow bootm to load larger kernels
In reply to Sam ProtsenkoQuoted 8 lines · Sam Protsenko
linux-mainline with
multi_v7_defconfig+ Android configs takes more space than regular TI Android kernel and bootm will fail to load it. Let's increase max kernel size up to 64 MiB to make it possible to run such kernel.Signed-off-by Sam Protsenko <[email protected]>Reviewed-by Igor Opaniuk <[email protected]>Reviewed-by Lokesh Vutla <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190728/16746d42/attachment.sig>