sipeed / LonganPi-3H-SDK

LonganPi 3H SDK
GNU General Public License v3.0
28 stars 14 forks source link

LonganPi-3H-SDK

Prebuild Download

latest build: https://github.com/sipeed/LonganPi-3H-SDK/actions

Scripts and blobs for LonganPi 3H image build.

Tested on Ubuntu 22.04.2 LTS and WSL2 Ubuntu-22.04

  1. Install some dependencies

    sudo apt update
    sudo apt install qemu-user-static gcc-aarch64-linux-gnu mmdebstrap git binfmt-support make build-essential  bison flex make gcc libncurses-dev debian-archive-keyring swig libssl-dev bc python3-setuptools python3-dev genimage debhelper fuse2fs rsync kmod cpio debian-keyring fuse
  2. Build arm-trusted-firmware

    ./mkatf.sh
  3. Build uboot

    ./mkuboot.sh
  4. Build kernel

    ./mklinux.sh
  5. add extra files for longanpi3h

./mkoverlay.sh
  1. Build debian rootfs
./mkrootfs.sh
  1. Build sdcard image
./mkimage.sh