VIM1S Android 11 Uboot defconfig path

Hi Team,

We wanted few customization requirements in uboot for VIM1S android 11 sdk. We have modified using menuconfig under bootloader/uboot path and compiled, but it is getting overwritten after ./mk kvim1s .

  1. Can you show me correct pointer to modify the u-boot configuration like defconfig files ?
  2. we also checked under bootloader/uboot/board/khadas/defconfigs/kvim1s_defconfig
    but could not find the required config details in this file.

Regards
vijay

Hello, what do you need to configure

bootloader/uboot/board/khadas/defconfigs/kvim1s_defconfigIt is a configuration file under uboot

Hi @xiong.zhang

we have changed CONFIG_SYS_PROMPT to new value but its getting over written when we compile full SDK

Regards
vijay

You need to make two modifications to take effect, as follows

xiong@server:/users/xiong/work/amlogic/vim1s/bootloader/uboot$ git diff
diff --git a/board/khadas/defconfigs/kvim1s_defconfig b/board/khadas/defconfigs/kvim1s_defconfig
index 0996950749..a78e612ee9 100644
--- a/board/khadas/defconfigs/kvim1s_defconfig
+++ b/board/khadas/defconfigs/kvim1s_defconfig
@@ -4,7 +4,7 @@ CONFIG_SYS_TEXT_BASE=0x00000000
 CONFIG_MESON_S4=y
 CONFIG_AML_TSENSOR=y
 CONFIG_AML_TSENSOR_COOL=y
-CONFIG_BL30_SELECT="kvim1s"
+CONFIG_BL30_SELECT="s4_ap222"
 CONFIG_S4_AP222=y
 CONFIG_DEBUG_UART_BASE=0xfe07a000
 CONFIG_DEBUG_UART_CLOCK=24000000
@@ -15,7 +15,7 @@ CONFIG_SILENT_CONSOLE=y
 CONFIG_BOARD_LATE_INIT=y
 # CONFIG_DISPLAY_CPUINFO is not set
 # CONFIG_DISPLAY_BOARDINFO is not set
-CONFIG_SYS_PROMPT="kvim1s# "
+CONFIG_SYS_PROMPT="s4_ap222# "
 # CONFIG_CMD_BDI is not set
 # CONFIG_CMD_DSPSET is not set
 CONFIG_CMD_DTIMG=y

Hi @xiong.zhang,

Thanks for the confirmation. BTW, if we use make menuconfig in bootloader/uboot folder and make some changes, it is again getting overwritten ? is it correct way of doing ?
For example, i have change DDRFW_TYPE from DDR4 to DDR3 with make menuconfig. but it is always showing DDR4 only after compilation?

Regards,
Vijay

Do you want to ensure that the modifications can be compiled properly or modify the defconfig file

if modification can be compile properly is enough

I want to add a kernel module (pl2303.ko, cdc-acm.ko, btusb.ko), I made changes in the file /common/arch/arm64/configs/defconfig, but when building new modules it does not build