2022-03-27 23:28:14 +08:00

1.5 KiB

Buildroot for YuzukiSBC

Open Source development package for Allwinner F1C100s & F1C200s

TODO: Translate

Driver support

Check this file to view current driver support progress for F1C100s/F1C200s: PROGRESS-SUNIV.md

Install

Install necessary packages

sudo apt install rsync wget unzip build-essential git bc swig libncurses-dev libpython3-dev libssl-dev
sudo apt install python3-distutils

Download BSP

Notice: Root permission is not necessery for download or extract.

git clone https://github.com/yuzukihd/Buildroot-YuzukiSBC

Make the first build

Notice: Root permission is not necessery for build firmware.

Do not use sudo

Apply defconfig

Caution: Apply defconfig will reset all buildroot configurations to default values.

Generally, you only need to apply it once.

make yuzukihd_yuzukiruler_defconfig

Regular build

make

If changed DTS or kenrel build

./rebuild-kernel.sh

If changed Uboot, build

./rebuild-uboot.sh

Flashing firmware to target

You can flash a board by Linux (Recommended) or Windows system.

Here is the manual.

Helper Scripts

  • rebuild-uboot.sh: Recompile U-Boot when you direct edit U-Boot sourcecode.
  • rebuild-kernel.sh: Recompile Kernel when you direct edit Kernel sourcecode.
  • emulate-chroot.sh: Emulate target rootfs by chroot.