Support kernel v6.6

Signed-off-by: Ziv Xu <ziv.xu@starfivetech.com>
This commit is contained in:
Ziv Xu
2024-03-06 17:28:13 +08:00
committed by Andy Hu
parent c47c340fa2
commit 85763c4f83
6 changed files with 14 additions and 14 deletions

View File

@@ -1,6 +1,6 @@
# StarFiveTech VisionFive2 SDK
This builds a complete RISC-V cross-compile toolchain for the `StarFiveTech` `JH7110` SoC. It also builds U-boot SPL, U-boot and a flattened image tree (FIT) image with a Opensbi binary, linux kernel, device tree, ramdisk image and rootfs image for the `JH7110 VisionFive2` board. Note this SDK is built with the linux kernel version `6.1`.
This builds a complete RISC-V cross-compile toolchain for the `StarFiveTech` `JH7110` SoC. It also builds U-boot SPL, U-boot and a flattened image tree (FIT) image with a Opensbi binary, linux kernel, device tree, ramdisk image and rootfs image for the `JH7110 VisionFive2` board. Note this SDK is built with the linux kernel version `6.6`.
## Prerequisites
@@ -26,11 +26,11 @@ $ sudo apt-get install git-lfs
## Fetch Code Instructions ##
Checkout this repository (e.g.: branch `vf2-6.1.y-devel`). Then checkout all of the linked submodules using:
Checkout this repository (e.g.: branch `vf2-6.6.y-devel`). Then checkout all of the linked submodules using:
$ git clone git@192.168.110.45:sbc/visionfive.git
$ cd visionfive
$ git checkout --track origin/vf2-6.1.y-devel
$ git checkout --track origin/vf2-6.6.y-devel
$ git submodule update --init --recursive
In case someone run `git clone git@gitlab.starfivetech.com:sbc/visionfive.git`, recommend to add the below at the tail of the /etc/hosts to fix the network domain issue:
@@ -46,7 +46,7 @@ For user who build the release tag version, the above command is enough. For dev
```
$ cd buildroot && git checkout --track origin/jh7110-master && cd ..
$ cd u-boot && git checkout --track origin/jh7110-master && cd ..
$ cd linux && git checkout --track origin/vf2-6.1.y-devel && cd ..
$ cd linux && git checkout --track origin/vf2-6.6.y-devel && cd ..
$ cd opensbi && git checkout master && cd ..
$ cd soft_3rdpart && git checkout jh7110-devel && cd ..
```
@@ -68,11 +68,11 @@ work/
├── linux/arch/riscv/boot
├── dts
│ └── starfive
│ ├── jh7110-visionfive-v2-A10.dtb
│ ├── jh7110-visionfive-v2-A11.dtb
│ ├── jh7110-visionfive-v2-ac108.dtb
│ ├── jh7110-visionfive-v2.dtb
│ ├── jh7110-visionfive-v2-wm8960.dtb
│ ├── jh7110-starfive-visionfive-2-ac108.dtb
│ ├── jh7110-starfive-visionfive-2-tdm.dtb
│ ├── jh7110-starfive-visionfive-2-v1.2a.dtb
│ ├── jh7110-starfive-visionfive-2-v1.3b.dtb
│ ├── jh7110-starfive-visionfive-2-wm8960.dtb
│ ├── vf2-overlay
│ │ └── vf2-overlay-uart3-i2c.dtbo
└── Image.gz