Andy Hu f5b2672d32 update .gitmodules and .gitignore | 2 years ago | |
---|---|---|
HiFive_U-Boot @ 579c2b3d23 | 3 years ago | |
bsp | 3 years ago | |
buildroot @ c60ac34df2 | 3 years ago | |
conf | 2 years ago | |
linux @ d890f1b402 | 3 years ago | |
opensbi @ b4f8f7ca31 | 3 years ago | |
.gitignore | 2 years ago | |
.gitmodules | 2 years ago | |
Makefile | 2 years ago | |
README.md | 3 years ago | |
fsz.sh | 3 years ago |
This builds a complete RISC-V cross-compile toolchain for the StarFiveTech Freedom JH7100 SoC. It also builds U-boot and a flattened image tree (FIT) image with a Opensbi binary, linux kernel, device tree, ramdisk and rootdisk for the Starlight development board.
build-essential git autotools texinfo bison flex
libgmp-dev libmpfr-dev libmpc-dev gawk libz-dev libssl-dev
libglib2.0-dev libpixman-1-dev
device-tree-compiler
Checkout this repository and checkout to vic_starlight branch. Then you will need to checkout all of the linked submodules using:
git submodule update --recursive --init
This will take some time and require around 7GB of disk space. Some modules may fail because certain dependencies don’t have the best git hosting. The only solution is to wait and try again later (or ask someone for a copy of that source repository).
Once the submodules are initialized, 4 modules buildroot, HiFive_U-Boot, linux and opensbi will checkout to vic_starlight branch.
After update submodules, run make
or make -jx
and the complete toolchain and
fw_payload.bin.out & image.fit will be built. The completed build tree will consume about 14G of
disk space.