Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
kendryte747 committed Aug 1, 2024
1 parent 09cca6f commit f6b0eaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/riscv/cpu/k230/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ add_firmware_head: u-boot.bin spl/u-boot-spl.bin
@cp spl/u-boot-spl.bin t.bin; python $(srctree)/tools/k230_image.py -i t.bin -o k230-u-boot-spl.bin -n; rm -rf t.bin

@echo "Make uboot.img"
@$(srctree)/tools/k230_priv_gzip -k -f u-boot.bin;
@$(srctree)/tools/mkimage -A riscv -O u-boot -C gzip -T firmware -a ${CONFIG_SYS_TEXT_BASE} -e ${CONFIG_SYS_TEXT_BASE} -n uboot -d u-boot.bin.gz u-boot.img
@$(srctree)/tools/k230_priv_gzip -k -f u-boot.bin
@$(objtree)/tools/mkimage -A riscv -O u-boot -C gzip -T firmware -a ${CONFIG_SYS_TEXT_BASE} -e ${CONFIG_SYS_TEXT_BASE} -n uboot -d u-boot.bin.gz u-boot.img

@echo "Add header to u-boot.img"
@cp u-boot.img t.bin;python $(srctree)/tools/k230_image.py -i t.bin -o k230-u-boot.img -n; rm -rf t.bin
Expand Down
Binary file modified tools/k230_priv_gzip
Binary file not shown.

0 comments on commit f6b0eaa

Please sign in to comment.