15 lines
682 B
Plaintext
15 lines
682 B
Plaintext
# short-description: Helium SD card image for Pinecube
|
|
# base: meta-sunxi-bsp/wic/sunxi.wks
|
|
|
|
# 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:
|
|
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label helium-root --active --align 4
|
|
bootloader --append="console=ttyS0,115200"
|