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
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
Build arm-trusted-firmware
./mkatf.sh
Build uboot
./mkuboot.sh
Build kernel
./mklinux.sh
add extra files for longanpi3h
./mkoverlay.sh
./mkrootfs.sh
./mkimage.sh