[U-Boot] [U-Boot, 5/5] mx6cuboxi: Load the correct 'fdt_file' variable
Vagrant Cascadian
vagrant at aikidev.net
Thu Apr 23 20:47:09 CEST 2015
On 2015-04-22, Fabio Estevam wrote:
> Instead of hardcoding the 'fdt_file' variable, let's introduce a new
> function - build_dts_name(), that can build the dtb filename on the fly.
> diff --git a/board/solidrun/mx6cuboxi/mx6cuboxi.c b/board/solidrun/mx6cuboxi/mx6cuboxi.c
> index 83410b2..1c24a55 100644
> --- a/board/solidrun/mx6cuboxi/mx6cuboxi.c
> +++ b/board/solidrun/mx6cuboxi/mx6cuboxi.c
...
> +int misc_init_r(void)
> +{
> + setenv("fdt_file", build_dts_name());
> + return 0;
> +}
> +
Shouldn't this set fdtfile instead of fdt_file?
According to top-level README, several variables are configured:
Image File Name RAM Address Flash Location
----- --------- ----------- --------------
u-boot u-boot u-boot_addr_r u-boot_addr
Linux kernel bootfile kernel_addr_r kernel_addr
device tree blob fdtfile fdt_addr_r fdt_addr
ramdisk ramdiskfile ramdisk_addr_r ramdisk_addr
FWIW, I'm happy to test and review patches for cubox-i4po, hummingboard
solo and hummingboard i2ex.
live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150423/cc094f2d/attachment.sig>
More information about the U-Boot
mailing list