mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-13 23:02:59 +00:00
837833a724
When OE is packaging a dtb file into the FIT image it names the node based on the dtb filename. Node names can't have "/" so it is turned into "_". We select our FIT config using the "fdtfile" env var so we don't duplicate the board_name to fdt logic. Result is fdtfile needs mangled when used to select a config node from OE made FIT image. Do this here. Signed-off-by: Andrew Davis <afd@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
25 lines
645 B
Bash
25 lines
645 B
Bash
loadaddr=0x82000000
|
|
kernel_addr_r=0x82000000
|
|
fdtaddr=0x88000000
|
|
dtboaddr=0x89000000
|
|
fdt_addr_r=0x88000000
|
|
fdtoverlay_addr_r=0x89000000
|
|
rdaddr=0x88080000
|
|
ramdisk_addr_r=0x88080000
|
|
scriptaddr=0x80000000
|
|
pxefile_addr_r=0x80100000
|
|
bootm_size=0x10000000
|
|
boot_fdt=try
|
|
|
|
boot_fit=0
|
|
addr_fit=0x90000000
|
|
name_fit=fitImage
|
|
update_to_fit=setenv loadaddr ${addr_fit}; setenv bootfile ${name_fit}
|
|
get_overlaystring=
|
|
for overlay in $name_overlays;
|
|
do;
|
|
setenv overlaystring ${overlaystring}'#'${overlay};
|
|
done;
|
|
get_fit_config=setexpr name_fit_config gsub / _ conf-${fdtfile}
|
|
run_fit=run get_fit_config; bootm ${addr_fit}#${name_fit_config}${overlaystring}
|
|
|