khadas-vim3: u-boot v2024.01: enable more compression, kaslr, and led config options via hook
This commit is contained in:
parent
cf7563e6b9
commit
c23fa92502
@ -40,3 +40,16 @@ function post_uboot_custom_postprocess__khadas_vim3_uboot() {
|
||||
display_alert "Signing u-boot FIP" "${BOARD}" "info"
|
||||
uboot_g12_postprocess "${SRC}"/cache/sources/amlogic-boot-fip/khadas-vim3 g12b
|
||||
}
|
||||
|
||||
# Enable extra u-boot .config options, this way we avoid patching defconfig
|
||||
function post_config_uboot_target__extra_configs_for_khadas_vim3() {
|
||||
display_alert "u-boot for ${BOARD}" "u-boot: enable more compression support" "info"
|
||||
run_host_command_logged scripts/config --enable CONFIG_LZO
|
||||
run_host_command_logged scripts/config --enable CONFIG_BZIP2
|
||||
run_host_command_logged scripts/config --enable CONFIG_ZSTD
|
||||
display_alert "u-boot for ${BOARD}" "u-boot: enable kaslrseed support" "info"
|
||||
run_host_command_logged scripts/config --enable CONFIG_CMD_KASLRSEED
|
||||
display_alert "u-boot for ${BOARD}" "u-boot: enable gpio LED support" "info"
|
||||
run_host_command_logged scripts/config --enable CONFIG_LED
|
||||
run_host_command_logged scripts/config --enable CONFIG_LED_GPIO
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user