
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