Aucune description

Andy Hu f5b2672d32 update .gitmodules and .gitignore il y a 2 ans
HiFive_U-Boot @ 579c2b3d23 de64b53a3a change the commit of uboot linux and buildroot to the last il y a 3 ans
bsp 870c9cb7de Init first freedom-u-sdk for starlight il y a 3 ans
buildroot @ c60ac34df2 de64b53a3a change the commit of uboot linux and buildroot to the last il y a 3 ans
conf 710649d623 Add different board support il y a 2 ans
linux @ d890f1b402 de64b53a3a change the commit of uboot linux and buildroot to the last il y a 3 ans
opensbi @ b4f8f7ca31 870c9cb7de Init first freedom-u-sdk for starlight il y a 3 ans
.gitignore f5b2672d32 update .gitmodules and .gitignore il y a 2 ans
.gitmodules f5b2672d32 update .gitmodules and .gitignore il y a 2 ans
Makefile a975e45312 Makefile: fix makefile for uboot branch CR_752_UPSTREAM_yanhong.wang il y a 2 ans
README.md c56f551f9d Add README.md to starfive USDK il y a 3 ans
fsz.sh 870c9cb7de Init first freedom-u-sdk for starlight il y a 3 ans

README.md

StarFiveTech Freedom Unleashed SDK

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.

Tested Configurations

Ubuntu 16.04/18.04 x86_64 host

  • Status: Working
  • Build dependencies: build-essential git autotools texinfo bison flex libgmp-dev libmpfr-dev libmpc-dev gawk libz-dev libssl-dev
  • Additional build deps for QEMU: libglib2.0-dev libpixman-1-dev
  • Additional build deps for Spike: device-tree-compiler
  • tools require for ‘format-boot-loader’ target: mtools

Build Instructions

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.