From 178284a9cf63095f55830f2c10983169796e7de6 Mon Sep 17 00:00:00 2001 From: Jim Liu Date: Tue, 13 Jun 2023 15:45:54 +0800 Subject: board: nuvoton: add env setting for boot to linux add console and mem env to boot to linux kernel Signed-off-by: Jim Liu --- include/configs/poleg.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/configs/poleg.h b/include/configs/poleg.h index c3f1d3393cb..1e96e838be4 100644 --- a/include/configs/poleg.h +++ b/include/configs/poleg.h @@ -27,6 +27,8 @@ "eth1addr=00:00:F7:A0:00:FD\0" \ "eth2addr=00:00:F7:A0:00:FE\0" \ "eth3addr=00:00:F7:A0:00:FF\0" \ + "console=ttyS0,115200n8\0" \ + "earlycon=uart8250,mmio32,0xf0000000\0" \ "common_bootargs=setenv bootargs earlycon=${earlycon} root=/dev/ram " \ "console=${console} mem=${mem} ramdisk_size=48000 basemac=${ethaddr}\0" \ "sd_prog=fatload mmc 0 10000000 image-bmc; cp.b 10000000 80000000 ${filesize}\0" \ -- cgit v1.2.3 From 68f107a42b2b0f26c46afe92804485ea68951d6f Mon Sep 17 00:00:00 2001 From: Jim Liu Date: Tue, 4 Jul 2023 16:00:11 +0800 Subject: board: nuvoton: arbel: change uboot load address use new memory layout and change uboot load address. open tpm, tee and more config feature No need to reserve top memory because the reserved space is moved to the bottom area of memory. Signed-off-by: Jim Liu --- include/configs/arbel.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/configs/arbel.h b/include/configs/arbel.h index 8e27fb52a1c..891257bc93a 100644 --- a/include/configs/arbel.h +++ b/include/configs/arbel.h @@ -7,12 +7,13 @@ #define __CONFIG_ARBEL_H #define CFG_SYS_SDRAM_BASE 0x0 -#define CFG_SYS_BOOTMAPSZ (20 << 20) +#define CFG_SYS_BOOTMAPSZ (30 << 20) +#define CFG_SYS_BOOTM_LEN (20 << 20) #define CFG_SYS_INIT_RAM_ADDR CFG_SYS_SDRAM_BASE #define CFG_SYS_INIT_RAM_SIZE 0x8000 /* Default environemnt variables */ -#define CFG_EXTRA_ENV_SETTINGS "uimage_flash_addr=80200000\0" \ +#define CFG_EXTRA_ENV_SETTINGS "uimage_flash_addr=80400000\0" \ "stdin=serial\0" \ "stdout=serial\0" \ "stderr=serial\0" \ -- cgit v1.2.3