Skip to content

Didstopia/CB1-Kernel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Debian Build for AllWinner H616

Setup APT Repository

We have created our own automations to both building the BTT CB1 packages (including the kernel), as well as updating and publishing a custom apt repository, so now everyone can enjoy the latest releases from BIGTREETECH, without having to reinstall/reimage their CB1/SD card.

NOTE: This is still in early development and considered experimental at this stage, so be prepared for broken releases and various unannounced changes along the way!

First you have to import the public key of the apt repository.

curl -fsSL https://didstopia.github.io/CB1-Kernel/gpg-pubkey.asc | sudo gpg --dearmor -o /usr/share/keyrings/cb1.didstopia.github.io.gpg

Now you can add the apt repository.

echo "deb [arch=arm64 signed-by=/usr/share/keyrings/cb1.didstopia.github.io.gpg] https://didstopia.github.io/CB1-Kernel bullseye main" | sudo tee /etc/apt/sources.list.d/cb1.didstopia.github.io.list > /dev/null

Finally you can refresh the apt repositories and install any packages or package updates you wish.

sudo apt update
sudo apt install <package>
sudo apt upgrade [package]

Tested Hardwares

Build Prerequisites

On Ubuntu22.04

sudo apt-get install ccache debian-archive-keyring debootstrap device-tree-compiler dwarves 
sudo apt-get install gcc-arm-linux-gnueabihf jq libbison-dev libc6-dev-armhf-cross 
sudo apt-get install libelf-dev libfl-dev liblz4-tool libpython2.7-dev libusb-1.0-0-dev 
sudo apt-get install pigz pixz pv swig pkg-config python3-distutils qemu-user-static u-boot-tools 
sudo apt-get install distcc uuid-dev lib32ncurses-dev lib32stdc++6 apt-cacher-ng 
sudo apt-get install aptly aria2 libfdt-dev libssl-dev

Versions Included

Part Version
uboot v2021.10
kernel v5.16.17

Project Build

In the project's root directory, run:

sudo ./build.sh
  • uboot config file

    Allwinner-H616/u-boot/configs/h616_defconfig

  • Compile information output directory

    output/debug/

Reference

About

BTT CB1 kernel builds and an APT repository for easier updates.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 96.5%
  • C++ 1.5%
  • Python 0.4%
  • Roff 0.4%
  • Shell 0.4%
  • Makefile 0.3%
  • Other 0.5%