duos sd version enable bootlogo partition
regardless of whether the logo is enabled in u-boot
This commit is contained in:
@ -198,7 +198,7 @@ function copy_tools
|
||||
command rm -rf "$OUTPUT_DIR"/tools
|
||||
command mkdir -p "$OUTPUT_DIR"/tools/
|
||||
command cp -rf "$TOOLS_PATH"/"${CHIP_ARCH,,}"/usb_dl/ "$OUTPUT_DIR"/tools/
|
||||
if [ "$ENABLE_BOOTLOGO" -eq 1 ];then
|
||||
if [[ "$ENABLE_BOOTLOGO" -eq 1 ]] || [[ ${BOARD} == "milkv_duos_sd" ]];then
|
||||
python3 "$IMGTOOL_PATH"/raw2cimg.py "$BOOTLOGO_PATH" "$OUTPUT_DIR" "$FLASH_PARTITION_XML"
|
||||
fi
|
||||
command cp --remove-destination "$FLASH_PARTITION_XML" "$OUTPUT_DIR"/
|
||||
|
||||
@ -573,7 +573,7 @@ function cvi_setup_env()
|
||||
BOOTLOGO_PATH="${TOP_DIR}/device/${MV_BOARD}/${MV_BOOTLOGO}"
|
||||
else
|
||||
ENABLE_BOOTLOGO=0
|
||||
BOOTLOGO_PATH=""
|
||||
BOOTLOGO_PATH="$COMMON_TOOLS_PATH"/bootlogo/logo.jpg
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@ -26,12 +26,10 @@ image milkv-duos-sd.img {
|
||||
image = "boot.vfat"
|
||||
}
|
||||
|
||||
/*
|
||||
partition logo {
|
||||
image = "logo.jpg"
|
||||
size = 2M
|
||||
}
|
||||
*/
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
|
||||
Reference in New Issue
Block a user