move bootloader configuration to generic sunxi

This commit is contained in:
Grzegorz Kowalski 2024-03-11 20:15:04 +01:00
parent a79388fd88
commit 1c2ee9f48e
2 changed files with 1 additions and 4 deletions

View File

@ -28,9 +28,6 @@ SERIAL_CONSOLES ?= "115200;ttyS0"
SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}" SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
# Bootloader # Bootloader
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot"
SPL_BINARY = "u-boot-sunxi-with-spl.bin"
UBOOT_MACHINE = "pinecube_defconfig" UBOOT_MACHINE = "pinecube_defconfig"
# wic SD card image # wic SD card image

View File

@ -7,7 +7,7 @@
# u-boot-sunxi-with-spl.bin. It should be added to machine's # u-boot-sunxi-with-spl.bin. It should be added to machine's
# IMAGE_BOOT_FILES for wic to find it. # 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: # add your partitions and options below:
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label helium-root --active --align 4 part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label helium-root --active --align 4