diff --git a/target/linux/starfive/image/Makefile b/target/linux/starfive/image/Makefile index 11fb09f63c..73d562e5b2 100644 --- a/target/linux/starfive/image/Makefile +++ b/target/linux/starfive/image/Makefile @@ -24,6 +24,7 @@ define Build/riscv-sdcard mcopy -i $@.boot $(LINUX_DIR)/arch/riscv/boot/dts/$(DEVICE_DTS).dtb ::dtb mcopy -i $@.boot $@-boot.scr ::boot.scr.uimg mcopy -i $@.boot $(IMAGE_KERNEL) ::Image + mcopy -i $@.boot jh7110-vf2-uenv.txt ::vf2_uEnv.txt ./gen_starfive_sdcard_img.sh \ $@ \ $@.boot \ diff --git a/target/linux/starfive/image/jh7110-vf2-uenv.txt b/target/linux/starfive/image/jh7110-vf2-uenv.txt new file mode 100644 index 0000000000..46bb850f5a --- /dev/null +++ b/target/linux/starfive/image/jh7110-vf2-uenv.txt @@ -0,0 +1,6 @@ +boot2=echo "HELLO WORLD"; run bootcmd +fatbootpart=1:3 +devnum=1 +boot_targets=mmc1 +bootcmd_mmc1=setenv devnum 1; run mmc_boot +bootcmd=run chipa_set_linux; run cpu_vol_set; run bootcmd_mmc1