# Introduction

This repo contains `sdcard.img` built from
https://github.com/starfive-tech/VisionFive2
on Ubuntu 23.04 using the following commands:

```bash
sudo apt update
sudo apt-get install build-essential g++ git autoconf \
  automake autotools-dev texinfo bison xxd curl flex gawk \
  gdisk gperf libgmp-dev libmpfr-dev libmpc-dev libz-dev \
  libssl-dev libncurses-dev libtool patchutils python3 python3-dev screen \
  texinfo unzip zlib1g-dev libyaml-dev wget cpio bc dosfstools \
  mtools device-tree-compiler libglib2.0-dev libpixman-1-dev kpartx

sudo apt-get install git-lfs

cd ~/

git clone https://github.com/starfive-tech/VisionFive2.git

cd VisionFive2
git checkout JH7110_VisionFive2_devel
git submodule update --init --recursive

cd buildroot && git checkout --track origin/JH7110_VisionFive2_devel && cd ..
cd u-boot && git checkout --track origin/JH7110_VisionFive2_devel && cd ..
cd linux && git checkout --track origin/JH7110_VisionFive2_devel && cd ..
cd opensbi && git checkout master && cd ..
cd soft_3rdpart && git checkout JH7110_VisionFive2_devel && cd ..

cd ~/VisionFive2/soft_3rdpart/IMG_GPU/out
git lfs pull

cd ~/VisionFive2

make -j$(nproc)
make buildroot_rootfs -j$(nproc)
make img
```

The generated file is `work/sdcard.img`, which takes me a day to build it.

The username for the image is `root` and the password is `starfive`.

{}
region:us
TAGS
#region-us 

# Introduction

This repo contains 'URL' built from
URL
on Ubuntu 23.04 using the following commands:



The generated file is 'work/URL', which takes me a day to build it.

The username for the image is 'root' and the password is 'starfive'.

# Introduction

This repo contains 'URL' built from
URL
on Ubuntu 23.04 using the following commands:



The generated file is 'work/URL', which takes me a day to build it.

The username for the image is 'root' and the password is 'starfive'.
TAGS
#region-us 
 # Introduction

This repo contains 'URL' built from
URL
on Ubuntu 23.04 using the following commands:



The generated file is 'work/URL', which takes me a day to build it.

The username for the image is 'root' and the password is 'starfive'.