mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-29 22:43:10 +00:00
90602e779d
The StarFive VisionFive 2 board cannot load spl/u-boot-spl.bin but needs a prefixed header. We have referring to a vendor tool (spl_tool) for this task. 'mkimage -T sfspl' can generate the prefixed file. Use binman to invoke mkimage for the generation of file spl/u-boot-spl.bin.normal.out. Update the documentation. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Tested-by: Milan P. Stanić <mps@arvanta.net>
117 lines
1.3 KiB
Text
117 lines
1.3 KiB
Text
// SPDX-License-Identifier: GPL-2.0 OR MIT
|
|
/*
|
|
* Copyright (C) 2023 StarFive Technology Co., Ltd.
|
|
*/
|
|
|
|
#include "binman.dtsi"
|
|
#include "jh7110-u-boot.dtsi"
|
|
/ {
|
|
chosen {
|
|
bootph-pre-ram;
|
|
};
|
|
|
|
firmware {
|
|
spi0 = &qspi;
|
|
bootph-pre-ram;
|
|
};
|
|
|
|
config {
|
|
bootph-pre-ram;
|
|
u-boot,spl-payload-offset = <0x100000>;
|
|
};
|
|
|
|
memory@40000000 {
|
|
bootph-pre-ram;
|
|
};
|
|
};
|
|
|
|
&uart0 {
|
|
bootph-pre-ram;
|
|
};
|
|
|
|
&mmc0 {
|
|
bootph-pre-ram;
|
|
};
|
|
|
|
&mmc1 {
|
|
bootph-pre-ram;
|
|
};
|
|
|
|
&qspi {
|
|
bootph-pre-ram;
|
|
|
|
nor-flash@0 {
|
|
bootph-pre-ram;
|
|
};
|
|
};
|
|
|
|
&sysgpio {
|
|
bootph-pre-ram;
|
|
};
|
|
|
|
&mmc0_pins {
|
|
bootph-pre-ram;
|
|
mmc0-pins-rest {
|
|
bootph-pre-ram;
|
|
};
|
|
};
|
|
|
|
&mmc1_pins {
|
|
bootph-pre-ram;
|
|
mmc1-pins0 {
|
|
bootph-pre-ram;
|
|
};
|
|
|
|
mmc1-pins1 {
|
|
bootph-pre-ram;
|
|
};
|
|
};
|
|
|
|
&i2c5_pins {
|
|
bootph-pre-ram;
|
|
i2c-pins {
|
|
bootph-pre-ram;
|
|
};
|
|
};
|
|
|
|
&i2c5 {
|
|
bootph-pre-ram;
|
|
eeprom@50 {
|
|
bootph-pre-ram;
|
|
};
|
|
};
|
|
|
|
&binman {
|
|
itb {
|
|
fit {
|
|
images {
|
|
fdt-1 {
|
|
description = "NAME";
|
|
load = <0x40400000>;
|
|
compression = "none";
|
|
|
|
uboot_fdt_blob: blob-ext {
|
|
filename = "u-boot.dtb";
|
|
};
|
|
};
|
|
};
|
|
|
|
configurations {
|
|
conf-1 {
|
|
fdt = "fdt-1";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
spl-img {
|
|
filename = "spl/u-boot-spl.bin.normal.out";
|
|
|
|
mkimage {
|
|
args = "-T sfspl";
|
|
|
|
u-boot-spl {
|
|
};
|
|
};
|
|
};
|
|
};
|