csukuangfj commited on
Commit
2055615
1 Parent(s): e4f5587

first commit

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. README.md +44 -0
  3. sdcard.img +3 -0
.gitattributes CHANGED
@@ -32,3 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
35
+ *.img filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Introduction
2
+
3
+ This repo contains `sdcard.img` built from
4
+ https://github.com/starfive-tech/VisionFive2
5
+ on Ubuntu 23.04 using the following commands:
6
+
7
+ ```bash
8
+ sudo apt update
9
+ sudo apt-get install build-essential g++ git autoconf \
10
+ automake autotools-dev texinfo bison xxd curl flex gawk \
11
+ gdisk gperf libgmp-dev libmpfr-dev libmpc-dev libz-dev \
12
+ libssl-dev libncurses-dev libtool patchutils python3 python3-dev screen \
13
+ texinfo unzip zlib1g-dev libyaml-dev wget cpio bc dosfstools \
14
+ mtools device-tree-compiler libglib2.0-dev libpixman-1-dev kpartx
15
+
16
+ sudo apt-get install git-lfs
17
+
18
+ cd ~/
19
+
20
+ git clone https://github.com/starfive-tech/VisionFive2.git
21
+
22
+ cd VisionFive2
23
+ git checkout JH7110_VisionFive2_devel
24
+ git submodule update --init --recursive
25
+
26
+ cd buildroot && git checkout --track origin/JH7110_VisionFive2_devel && cd ..
27
+ cd u-boot && git checkout --track origin/JH7110_VisionFive2_devel && cd ..
28
+ cd linux && git checkout --track origin/JH7110_VisionFive2_devel && cd ..
29
+ cd opensbi && git checkout master && cd ..
30
+ cd soft_3rdpart && git checkout JH7110_VisionFive2_devel && cd ..
31
+
32
+ cd ~/VisionFive2/soft_3rdpart/IMG_GPU/out
33
+ git lfs pull
34
+
35
+ cd ~/VisionFive2
36
+
37
+ make -j$(nproc)
38
+ make buildroot_rootfs -j$(nproc)
39
+ make img
40
+ ```
41
+
42
+ The generated file is `work/sdcard.img`, which takes me a day to build it.
43
+
44
+ The username for the image is `root` and the password is `starfive`.
sdcard.img ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12d700fd6818eb3cd31152275e0df25f4fc682efdf13b4522121f8c481015c19
3
+ size 838881280