radxa-nio-12l: u-boot: config: extra CMD options

- `CONFIG_CMD_ITEST`   # itest expects integers on both sides, whereas regular test assumes strings
- `CONFIG_CMD_BOOTZ`   # bootz allows booting zImages
- `CONFIG_CMD_MEMINFO` # meminfo shows memory info in u-boot
- `CONFIG_CMD_SETEXPR` # setexpr allows arithmetic expressions in setenv
This commit is contained in:
Ricardo Pardini 2026-01-05 18:29:11 +01:00 committed by Igor
parent 04cb12bfe0
commit d3d5bd2134

View File

@ -21,6 +21,12 @@ declare -g MEDIATEK_GENIO_SOC_PLATFORM="mt8195" # The actual PLAT=
function post_config_uboot_target__nio_12l_armbian_specific_environment_location() {
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: board-specific configs" "info"
run_host_command_logged scripts/config --set-val CONFIG_ENV_OFFSET "0x200000"
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: extra cmdline commands" "info"
run_host_command_logged scripts/config --enable CONFIG_CMD_ITEST # itest expects integers on both sides, whereas regular test assumes strings
run_host_command_logged scripts/config --enable CONFIG_CMD_BOOTZ # bootz allows booting zImages
run_host_command_logged scripts/config --enable CONFIG_CMD_MEMINFO # meminfo shows memory info in u-boot
run_host_command_logged scripts/config --enable CONFIG_CMD_SETEXPR # setexpr allows arithmetic expressions in setenv
}
# Include fw_setenv, configured to point to the correct spot on the UFS LUN number