Also build u-boot ELF file for debugging

This commit is contained in:
Rodrigo Arias 2024-01-19 16:32:40 +01:00
parent 819c7e6e93
commit 98d04ee398

View File

@ -27,6 +27,8 @@ final: prev:
CONFIG_PREBOOT="setenv fdt_addr ''${fdtcontroladdr}; fdt addr ''${fdtcontroladdr}; setenv bootcmd booti ''${kernel_addr_r} - ''${fdtcontroladdr};" CONFIG_PREBOOT="setenv fdt_addr ''${fdtcontroladdr}; fdt addr ''${fdtcontroladdr}; setenv bootcmd booti ''${kernel_addr_r} - ''${fdtcontroladdr};"
CONFIG_RISCV_ISA_C=n CONFIG_RISCV_ISA_C=n
''; '';
# Also include debug u-boot
filesToInstall = ["u-boot.bin" "u-boot"];
}; };
opensbi-uboot = prev.opensbi.overrideAttrs (old: { opensbi-uboot = prev.opensbi.overrideAttrs (old: {