On Fri, 2014-01-17 at 19:33 -0800, Patrick Wood wrote: > Even in mainline, I see no reason to not to access the dtb file > through an env variable (I haven't checked to see, perhaps it is).
U-boot's README even defines a common/standard variable name for it:
*Note* - these variables don't have to be defined for all boards, some
boards currenlty use other variables for these purposes, and some
boards use these variables for other purposes.
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
Although it looks like include/configs/sunxi-common.h isn't following
the convention, it has ${kernel} instead of bootfile (hardly the end of
the world though).
FWIW there doesn't seen to be any recommendation for uEnv or boot.scr
addresses/names etc.
Ian.
signature.asc
Description: This is a digitally signed message part
