Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ awbs Public

Allwinner Tina SDK `buildserver` wrapper

radxa/awbs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Allwinner Tina SDK buildserver wrapper

For Allwinner A523 chip family, a new program called update_chip must be run to patch the generated boot0_sdcard_sun55iw3p1.bin to be bootable.

However, this program will use UNIX socket to communicate with a buildserver process, otherwise it will refuse to run.

This buildserver will also need the path of Allwinner Tina SDK to read some files, otherwise it will refuse to run.

This program also has some basic anti-debugger protection.


We created awbs to handle this Allwinner buildserver. This wrapper can create a minimal folder structure to let buildserver run. Only update_chip was tested with the generated folder structure.

Example usage

spl-pub/nboot/boot0_sdcard_sun55iw3p1.bin: device/configs/cubie_a5e/sys_config.bin
	$(MAKE) -j$(shell nproc) CROSS_COMPILE=$(CROSS_COMPILE) $(CUSTOM_MAKE_DEFINITIONS) -C spl-pub b=a527
	$(MAKE) -j$(shell nproc) CROSS_COMPILE=$(CROSS_COMPILE) $(CUSTOM_MAKE_DEFINITIONS) -C spl-pub
	tools/pack/pctools/linux/mod_update/update_boot0 $@ $< SDMMC_CARD
	ln -sf device/bin/bl31.bin monitor.fex
	export LICHEE_OUT_DIR=$$(LICHEE_CHIP_CONFIG_DIR=device LICHEE_TOOLS_DIR=tools awbs/awbs)/out && \
	tools/pack/pctools/linux/mod_update/update_chip $@

About

Allwinner Tina SDK `buildserver` wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages