ubootVisionFive2: Remove overrideAttrs from opensbi (#431413)
This commit is contained in:
commit
73c3a16d81
@ -845,20 +845,10 @@ in
|
|||||||
# sf probe; sf update $loadaddr 0 80000
|
# sf probe; sf update $loadaddr 0 80000
|
||||||
};
|
};
|
||||||
|
|
||||||
ubootVisionFive2 =
|
ubootVisionFive2 = buildUBoot {
|
||||||
let
|
|
||||||
opensbi_vf2 = opensbi.overrideAttrs (attrs: {
|
|
||||||
makeFlags = attrs.makeFlags ++ [
|
|
||||||
# Matches u-boot documentation: https://docs.u-boot.org/en/latest/board/starfive/visionfive2.html
|
|
||||||
"FW_TEXT_START=0x40000000"
|
|
||||||
"FW_OPTIONS=0"
|
|
||||||
];
|
|
||||||
});
|
|
||||||
in
|
|
||||||
buildUBoot {
|
|
||||||
defconfig = "starfive_visionfive2_defconfig";
|
defconfig = "starfive_visionfive2_defconfig";
|
||||||
extraMeta.platforms = [ "riscv64-linux" ];
|
extraMeta.platforms = [ "riscv64-linux" ];
|
||||||
OPENSBI = "${opensbi_vf2}/share/opensbi/lp64/generic/firmware/fw_dynamic.bin";
|
OPENSBI = "${opensbi}/share/opensbi/lp64/generic/firmware/fw_dynamic.bin";
|
||||||
filesToInstall = [
|
filesToInstall = [
|
||||||
"spl/u-boot-spl.bin.normal.out"
|
"spl/u-boot-spl.bin.normal.out"
|
||||||
"u-boot.itb"
|
"u-boot.itb"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user