move bootloader configuration to generic sunxi
This commit is contained in:
parent
a79388fd88
commit
1c2ee9f48e
@ -28,9 +28,6 @@ SERIAL_CONSOLES ?= "115200;ttyS0"
|
||||
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
|
||||
|
||||
# Bootloader
|
||||
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
|
||||
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
|
||||
SPL_BINARY = "u-boot-sunxi-with-spl.bin"
|
||||
UBOOT_MACHINE = "pinecube_defconfig"
|
||||
|
||||
# wic SD card image
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
# 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=u-boot-sunxi-with-spl.bin" --ondisk mmcblk0 --offset 8 --no-table
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user