Skip to content

Commit

Permalink
Back to xilinx bootgen instead of genimage for u-boot
Browse files Browse the repository at this point in the history
  • Loading branch information
F5OEO committed Jan 31, 2025
1 parent 28c517e commit 3c717bb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 18 deletions.
10 changes: 4 additions & 6 deletions board/e200/post_image-uboot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"

rm -rf "${GENIMAGE_TMP}"

genimage \
--rootpath "${TARGET_DIR}" \
--tmppath "${GENIMAGE_TMP}" \
--inputpath "${BINARIES_DIR}" \
--outputpath "${BINARIES_DIR}" \
--config "${GENIMAGE_CFG}"
cp $BIN_DIR/u-boot $BIN_DIR/u-boot.elf
echo "img : {[bootloader] $BIN_DIR/fsbl.elf $BIN_DIR/u-boot.elf}" > $BIN_DIR/boot.bif
bootgen -image $BIN_DIR/boot.bif -w -o i $BIN_DIR/boot.img


echo "generating the boot.frm"
cat $BIN_DIR/boot.img $BIN_DIR/uboot-env.bin $BOARD_DIR/target_mtd_info.key | \
Expand Down
9 changes: 3 additions & 6 deletions board/pluto/post_image-uboot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@ GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"

rm -rf "${GENIMAGE_TMP}"

genimage \
--rootpath "${TARGET_DIR}" \
--tmppath "${GENIMAGE_TMP}" \
--inputpath "${BINARIES_DIR}" \
--outputpath "${BINARIES_DIR}" \
--config "${GENIMAGE_CFG}"
cp $BIN_DIR/u-boot $BIN_DIR/u-boot.elf
echo "img : {[bootloader] $BIN_DIR/fsbl.elf $BIN_DIR/u-boot.elf}" > $BIN_DIR/boot.bif
bootgen -image $BIN_DIR/boot.bif -w -o i $BIN_DIR/boot.img

echo "generating the boot.frm"
cat $BIN_DIR/boot.img $BIN_DIR/uboot-env.bin $BOARD_DIR/target_mtd_info.key | \
Expand Down
9 changes: 3 additions & 6 deletions board/plutoplus/post_image-uboot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@ GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp"

rm -rf "${GENIMAGE_TMP}"

genimage \
--rootpath "${TARGET_DIR}" \
--tmppath "${GENIMAGE_TMP}" \
--inputpath "${BINARIES_DIR}" \
--outputpath "${BINARIES_DIR}" \
--config "${GENIMAGE_CFG}"
cp $BIN_DIR/u-boot $BIN_DIR/u-boot.elf
echo "img : {[bootloader] $BIN_DIR/fsbl.elf $BIN_DIR/u-boot.elf}" > $BIN_DIR/boot.bif
bootgen -image $BIN_DIR/boot.bif -w -o i $BIN_DIR/boot.img

echo "generating the boot.frm"
cat $BIN_DIR/boot.img $BIN_DIR/uboot-env.bin $BOARD_DIR/target_mtd_info.key | \
Expand Down

0 comments on commit 3c717bb

Please sign in to comment.