meta-sunxi-bsp/wic/sunxi-template.wks

12 lines
519 B
Plaintext

# short-description: Boot image template for sunxi-based devices
# Allwinner sunxi boot ROM expects to find a bootloader at 8KB offset
# on the boot device. The bootloader should be the eGON SPL boot image,
# eg. u-boot-sunxi. For u-boot the built image is usually named
# u-boot-sunxi-with-spl.bin. It should be added to machine's
# IMAGE_BOOT_FILES for wic to find it.
part u-boot --source rawcopy --sourceparams="file=${SPL_BINARY}" --ondisk mmcblk0 --offset 8 --no-table
# add your partitions and options below: