Skip to content

Commit 5dc93ae

Browse files
committed
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
1 parent 13c41e8 commit 5dc93ae

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

config/boards/radxa-nio-12l.conf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ declare -g MEDIATEK_GENIO_SOC_PLATFORM="mt8195" # The actual PLAT=
2121
function post_config_uboot_target__nio_12l_armbian_specific_environment_location() {
2222
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: board-specific configs" "info"
2323
run_host_command_logged scripts/config --set-val CONFIG_ENV_OFFSET "0x200000"
24+
25+
display_alert "u-boot for ${BOARD}/${BRANCH}" "u-boot: extra cmdline commands" "info"
26+
run_host_command_logged scripts/config --enable CONFIG_CMD_ITEST # itest expects integers on both sides, whereas regular test assumes strings
27+
run_host_command_logged scripts/config --enable CONFIG_CMD_BOOTZ # bootz allows booting zImages
28+
run_host_command_logged scripts/config --enable CONFIG_CMD_MEMINFO # meminfo shows memory info in u-boot
29+
run_host_command_logged scripts/config --enable CONFIG_CMD_SETEXPR # setexpr allows arithmetic expressions in setenv
2430
}
2531

2632
# Include fw_setenv, configured to point to the correct spot on the UFS LUN number

0 commit comments

Comments
 (0)