Skip to content

Commit 7f1bacc

Browse files
committed
Update submodule commit id for tag JH7110_VF2_6.12_v6.0.0
1 parent e8889cd commit 7f1bacc

13 files changed

+91
-19
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ $(sbi_bin): $(uboot) $(vmlinux)
324324
rm -rf $(sbi_wrkdir)
325325
mkdir -p $(sbi_wrkdir)
326326
cd $(sbi_wrkdir) && O=$(sbi_wrkdir) CFLAGS="-mabi=$(ABI) -march=$(ISA)" ${MAKE} -C $(sbi_srcdir) CROSS_COMPILE=$(CROSS_COMPILE) \
327-
PLATFORM=generic FW_PAYLOAD_PATH=$(uboot) FW_FDT_PATH=$(uboot_dtb_file) FW_TEXT_START=0x40000000
327+
PLATFORM=generic FW_PAYLOAD_PATH=$(uboot) FW_TEXT_START=0x40000000
328328

329329
$(fit): $(sbi_bin) $(vmlinux_bin) $(uboot) $(its_file) ${initramfs}
330330
$(uboot_wrkdir)/tools/mkimage -f $(its_file) -A riscv -O linux -T flat_dt $@

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,13 @@ work/
6767
│ ├── jh7110-starfive-visionfive-2-ac108.dtb
6868
│ ├── jh7110-starfive-visionfive-2-v1.3b.dtb
6969
│ ├── jh7110-starfive-visionfive-2-wm8960.dtb
70+
│ ├── jh7110s-starfive-visionfive-2-lite-ac108.dtb
71+
│ ├── jh7110s-starfive-visionfive-2-lite-emmc.dtb
72+
│ ├── jh7110s-starfive-visionfive-2-lite-wm8960.dtb
73+
│ ├── jh7110s-starfive-visionfive-2-lite.dtb
7074
│ ├── vf2-overlay
71-
│ │ └── vf2-overlay-uart3-i2c.dtbo
75+
│ │ │── vf2-overlay-uart3-i2c.dtbo
76+
│ │ └── vf2-overlay-can.dtbo
7277
└── Image.gz
7378
```
7479

@@ -205,7 +210,7 @@ tftpboot ${loadaddr} image.fit;
205210
Step3: load and execute:
206211

207212
```
208-
bootm start ${loadaddr};bootm loados ${loadaddr};run chipa_set_linux;run cpu_vol_set; booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
213+
run fdt_conf_set;bootm start ${loadaddr}#${fdt_conf};bootm loados ${loadaddr};run chipa_set_linux;run cpu_vol_set; booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};
209214
```
210215

211216
When you see the `buildroot login:` message, then congratulations, the launch was successful

Version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
JH7110_VF2_6.12_v5.14.1
1+
JH7110_VF2_6.12_v6.0.0

buildroot

Submodule buildroot updated 18 files

conf/buildroot_initramfs_config_debug

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ BR2_PACKAGE_V4L2_DEC_TEST=y
266266
BR2_PACKAGE_STARFIVE_FIRMWARE=y
267267
BR2_PACKAGE_STARFIVE_FIRMWARE_ECR6600U_USB_WIFI=y
268268
BR2_PACKAGE_STARFIVE_FIRMWARE_AIC8800_USB_WIFI=y
269+
BR2_PACKAGE_STARFIVE_FIRMWARE_AIC8800_SDIO_WIFI=y
269270
BR2_PACKAGE_HOST_GENEXT2FS=y
270271
BR2_PACKAGE_HOST_GENIMAGE=y
271272
BR2_PACKAGE_HOST_GPTFDISK=y

conf/buildroot_rootfs_config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ BR2_PACKAGE_V4L2_DEC_TEST=y
292292
BR2_PACKAGE_STARFIVE_FIRMWARE=y
293293
BR2_PACKAGE_STARFIVE_FIRMWARE_ECR6600U_USB_WIFI=y
294294
BR2_PACKAGE_STARFIVE_FIRMWARE_AIC8800_USB_WIFI=y
295+
BR2_PACKAGE_STARFIVE_FIRMWARE_AIC8800_SDIO_WIFI=y
295296
BR2_PACKAGE_HIFI4_SOF=y
296297
BR2_TARGET_ROOTFS_EXT2=y
297298
BR2_TARGET_ROOTFS_EXT2_4=y

conf/vf2_uEnv.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ setupfdt2=fdt set /chosen bootargs "${bootargs}";
2222

2323
bootwait=setenv _delay ${bootdelay}; echo ${_delay}; while test ${_delay} > 0; do sleep 1; setexpr _delay ${_delay} - 1; echo ${_delay}; done
2424

25-
boot2=run bootargs_ext; fatload ${bootdev} ${devnum}:${bootpart} ${loadaddr} ${fitfile}; bootm start ${loadaddr}; run setupfdt1;run setupird;run setupfdt2; bootm loados ${loadaddr}; run chipa_set_linux; run cpu_vol_set; echo "Booting kernel in"; booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdtaddr}
25+
boot2=run bootargs_ext; fatload ${bootdev} ${devnum}:${bootpart} ${loadaddr} ${fitfile}; run fdt_conf_set; bootm start ${loadaddr}#${fdt_conf}; run setupfdt1;run setupird;run setupfdt2; bootm loados ${loadaddr}; run chipa_set_linux; run cpu_vol_set; echo "Booting kernel in"; booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdtaddr}

conf/visionfive2-fit-image.its

Lines changed: 48 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,63 @@
3232
arch = "riscv";
3333
load = <0x0 0x46000000>;
3434
compression = "none";
35-
hash-1 {
36-
algo = "sha256";
37-
};
35+
};
36+
37+
fdt-cm {
38+
data = /incbin/("../work/linux/arch/riscv/boot/dts/starfive/jh7110s-starfive-visionfive-2-cm.dtb");
39+
type = "flat_dt";
40+
arch = "riscv";
41+
load = <0x0 0x46000000>;
42+
compression = "none";
43+
};
44+
45+
fdt-lite {
46+
data = /incbin/("../work/linux/arch/riscv/boot/dts/starfive/jh7110s-starfive-visionfive-2-lite.dtb");
47+
type = "flat_dt";
48+
arch = "riscv";
49+
load = <0x0 0x46000000>;
50+
compression = "none";
51+
};
52+
53+
fdt-lite-emmc {
54+
data = /incbin/("../work/linux/arch/riscv/boot/dts/starfive/jh7110s-starfive-visionfive-2-lite-emmc.dtb");
55+
type = "flat_dt";
56+
arch = "riscv";
57+
load = <0x0 0x46000000>;
58+
compression = "none";
3859
};
3960
};
4061

4162
configurations {
42-
default = "config-1";
63+
default = "config-default";
4364

44-
config-1 {
65+
config-default {
4566
description = "visionfive2 with opensbi";
46-
kernel = "vmlinux";
67+
kernel = "vmlinux";
4768
fdt = "fdt";
4869
loadables = "ramdisk";
4970
};
71+
72+
config-cm {
73+
description = "visionfive2 with opensbi";
74+
kernel = "vmlinux";
75+
fdt = "fdt-cm";
76+
loadables = "ramdisk";
77+
};
78+
79+
config-lite {
80+
description = "visionfive2 with opensbi";
81+
kernel = "vmlinux";
82+
fdt = "fdt-lite";
83+
loadables = "ramdisk";
84+
};
85+
86+
config-lite-emmc {
87+
description = "visionfive2 with opensbi";
88+
kernel = "vmlinux";
89+
fdt = "fdt-lite-emmc";
90+
loadables = "ramdisk";
91+
};
5092
};
5193
};
5294

conf/visionfive2-uboot-fit-image.its

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,37 @@
1515
entry = <0x0 0x40000000>;
1616
compression = "none";
1717
};
18+
19+
fdt {
20+
data = /incbin/("../work/u-boot/arch/riscv/dts/starfive_visionfive2.dtb");
21+
type = "flat_dt";
22+
arch = "riscv";
23+
load = <0x40400000>;
24+
compression = "none";
25+
};
26+
27+
fdt-lite {
28+
data = /incbin/("../work/u-boot/arch/riscv/dts/starfive_visionfive2_lite.dtb");
29+
type = "flat_dt";
30+
arch = "riscv";
31+
load = <0x40400000>;
32+
compression = "none";
33+
};
1834
};
1935

2036
configurations {
21-
default = "config-1";
37+
default = "config-default";
38+
39+
config-default {
40+
description = "StarFive VisionFive V2";
41+
firmware = "firmware";
42+
fdt = "fdt";
43+
};
2244

23-
config-1 {
24-
description = "U-boot-spl FIT config for JH7110 VisionFive2";
45+
config-lite {
46+
description = "StarFive VisionFive V2 Lite";
2547
firmware = "firmware";
48+
fdt = "fdt-lite";
2649
};
2750
};
2851
};

linux

Submodule linux updated 166 files

0 commit comments

Comments
 (0)