From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vagrant Cascadian Date: Thu, 23 Apr 2015 11:47:09 -0700 Subject: [U-Boot] [U-Boot, 5/5] mx6cuboxi: Load the correct 'fdt_file' variable In-Reply-To: <1429761426-26748-5-git-send-email-festevam@gmail.com> References: <1429761426-26748-5-git-send-email-festevam@gmail.com> Message-ID: <87bnier8b6.fsf@aikidev.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: