Skip to content

rhodesepass/buildroot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

明日方舟 电子通行证 Buildroot SDK

基于aodzip老师的buildroot-tiny200 发行版,更改rootfs文件系统为UBIFS,更新上游U-boot,并进行硬件解码相关的修补。

本buildroot是“三合一”buildroot,可以生成Kernel、U-boot、rootfs。

默认用户名:root 默认密码:toor

电子通行证文件相关位于:buildroot-epass/board/rhodesisland/epass目录下

如何构建系统

以下指令仅在ubuntu 24.04测试可用,如果您使用了其他发行版可能有所不同,请自行解决。

安装工具包

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

克隆本仓库

git clone https://github.com/inapp123/buildroot-epass

应用 defconfig

请注意:应用defconfig会覆盖你之前的所有的配置!!

一般来说只需要应用一次

cd buildroot-epass
make rhodesisland_epass_defconfig

构建

make

构建的结果在output/images中。其中flash_pack_xxxx.zip是带有Windows刷机工具的更新包,可以直接交付。

重新构建内核及设备树

./rebuild-kernel.sh

重新构建U-boot

./rebuild-uboot.sh

直接烧录系统

需要先安装XFEL

./flashsystem.sh

Buildroot Package for Allwinner SIPs

Opensource development package for Allwinner F1C100s & F1C200s

Driver support

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

Check this file to view current driver support progress for V3/V3s/S3/S3L: PROGRESS-V3.md

Install

Install necessary packages

sudo apt install 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/aodzip/buildroot-tiny200

Make the first build

Notice: Root permission is not necessery for build firmware.

Apply defconfig

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

Generally, you only need to apply it once.

cd buildroot-tiny200
make widora_mangopi_r3_defconfig

Regular build

make

Speed up build progress

Download speed

Buildroot will download sourcecode when compiling the firmware. You can grab a TRUSTWORTHY archive of 'dl' folder for speed up.

Compile speed

If you have a multicore CPU, you can try

make -j ${YOUR_CPU_COUNT}

or buy a powerful PC for yourself.

Flashing firmware to target

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

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.

About

Buildroot Package for F1C100s/200s

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Makefile 71.9%
  • C 9.1%
  • Python 8.6%
  • Shell 6.1%
  • C++ 1.1%
  • BitBake 1.0%
  • Other 2.2%