Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 849 Bytes

README.md

File metadata and controls

47 lines (34 loc) · 849 Bytes

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