Views
No views yet
sdcard.img built from
https://github.com/starfive-tech/VisionFive2
on Ubuntu 23.04 using the following commands:1sudo apt update
2sudo apt-get install build-essential g++ git autoconf \
3 automake autotools-dev texinfo bison xxd curl flex gawk \
4 gdisk gperf libgmp-dev libmpfr-dev libmpc-dev libz-dev \
5 libssl-dev libncurses-dev libtool patchutils python3 python3-dev screen \
6 texinfo unzip zlib1g-dev libyaml-dev wget cpio bc dosfstools \
7 mtools device-tree-compiler libglib2.0-dev libpixman-1-dev kpartx
8
9sudo apt-get install git-lfs
10
11cd ~/
12
13git clone https://github.com/starfive-tech/VisionFive2.git
14
15cd VisionFive2
16git checkout JH7110_VisionFive2_devel
17git submodule update --init --recursive
18
19cd buildroot && git checkout --track origin/JH7110_VisionFive2_devel && cd ..
20cd u-boot && git checkout --track origin/JH7110_VisionFive2_devel && cd ..
21cd linux && git checkout --track origin/JH7110_VisionFive2_devel && cd ..
22cd opensbi && git checkout master && cd ..
23cd soft_3rdpart && git checkout JH7110_VisionFive2_devel && cd ..
24
25cd ~/VisionFive2/soft_3rdpart/IMG_GPU/out
26git lfs pull
27
28cd ~/VisionFive2
29
30make -j$(nproc)
31make buildroot_rootfs -j$(nproc)
32make imgwork/sdcard.img, which takes me a day to build it.root and the password is starfive.