f579afc393
Bump U-Boot and Linux kernel versions. Updating U-Boot to 2021.04 requires the following two changes. First, after switching to binman, u-boot.itb is no more generated for 64-bit sunxi boards. Combined u-boot-sunxi-with-spl.bin image should be used instead. This image contains SPL, U-Boot, and FIT image, where FIT image contains other binaries such as BL31 and SCP. Second, new U-Boot enables support for System Control Processor (SCP) firmware. SCP firmware is included by default into FIT image in the combined u-boot-sunxi-with-spl.bin binary. When SCP is not available or not needed, it should be explicitly disabled by pointing to an empty file. Support for Allwinner SCP firmware is not yet available neither in Buildroot nor in mainline kernel. So disable it for now using custom U-Boot build options. Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
41 lines
711 B
INI
41 lines
711 B
INI
image boot.vfat {
|
|
vfat {
|
|
files = {
|
|
"Image",
|
|
"sun50i-h5-orangepi-zero-plus2.dtb",
|
|
"boot.scr"
|
|
}
|
|
}
|
|
size = 64M
|
|
}
|
|
|
|
image sdcard.img {
|
|
hdimage {
|
|
# for root=PARTLABEL support
|
|
gpt = true
|
|
# default GPT location conflicts with bootloaders, move it after
|
|
gpt-location = 1M
|
|
}
|
|
|
|
partition spl {
|
|
in-partition-table = "no"
|
|
image = "u-boot-sunxi-with-spl.bin"
|
|
offset = 8192
|
|
size = 1056768 # 1MB - 8K + 16K(GPT)
|
|
}
|
|
|
|
partition boot {
|
|
partition-type = 0xC
|
|
bootable = "true"
|
|
image = "boot.vfat"
|
|
}
|
|
|
|
# 'rootfs' will be used as the partition label, used
|
|
# with root=PARTLABEL=rootfs kernel command line
|
|
partition rootfs {
|
|
partition-type = 0x83
|
|
image = "rootfs.ext4"
|
|
size = 256M
|
|
}
|
|
}
|