| 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.
- BigTreeTech CB1
- BigTreeTech Pi1.2 uses the same Image
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.
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| Part | Version |
|---|---|
| uboot | v2021.10 |
| kernel | v6.1.118 |
| T.Chain | v11.2 |
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/
Please note that ready-made releases will soon be available for download, and I will try to keep them relatively up-to-date.
-
Allwinner usb boot: https://linux-sunxi.org/FEL/USBBoot