Skip to content

PCV-dev/BTT-Pi1.2-CB1-Bookworm-Images-and-ImageCompiler

Repository files navigation

Unfortunately there is still an error in the kernel config. Please come back in a few hours or days

Debian Bookworm for BTT Pi1.2 / CB1 - CLI BUILD - AllWinner H616

are you looking for ready for use Images ?

USER => PWD
USER_NAME="bttpi"
USER_PWD="pcv"
ROOT_PWD="root"

It's done. The build tool is now working. It can build CLI_Standard and CLI_Minimal images. Kernel and Bootloader individually also work. Please use it to build your own images. Please note that you should already know what you're doing. Toolchains are not all the same. And a kernel needs to be configured first. Support requests like "I tried something and it doesn't work" will not be answered.

Tested Hardwares

Install / deployment / Use

To use the images, you don't need to install anything. Download the image. Flash the image, e.g., with BalenaEtcher. Done. If you want to compile your own image, certain prerequisites are required. You can use the Install.sh script or manually install the necessary packages. However, it is absolutely essential to run the Unzip_FileList_eng.sh script. This script extracts all the archives containing the kernel and toolchain. (This was necessary to make the project manageable on GitHub. Uploading over 100,000 files is challenging.) Root privileges are not strictly required for extracting and installing the prerequisites, but since you intend to compile your own image, root access is absolutely necessary! That's why I check early on whether you can use root privileges, to avoid frustration later. The entire build process takes approximately 2 hours on my i7 system during the first run. Subsequent runs are faster as some components are reused. On my laptop, subsequent runs take about 12 minutes.

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 v6.1.118
T.Chain v11.2

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/

Releases

Please note that ready-made releases will soon be available for download, and I will try to keep them relatively up-to-date.

Reference

Besucherzähler

About

"BTT Pi1.2 / CB1 Bookworm Images and ImageCompiler" provides pre-built images for the BTT Pi1.2 and CB1 boards, along with a versatile tool for compiling custom images. This repository is intended to simplify setup and customization for users, offering ready-to-use solutions as well as the capability to tailor images to specific needs.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors