[PATCH u-boot v2016.07-aspeed-openbmc] aspeed: un-hardcode FIT configuration selection

Brad Bishop bradleyb at fuzziesquirrel.com
Tue Feb 13 15:03:07 AEDT 2018


> On Feb 12, 2018, at 10:58 PM, Joel Stanley <joel at jms.id.au> wrote:
> 
> On Fri, Feb 2, 2018 at 1:37 PM, Brad Bishop <bradleyb at fuzziesquirrel.com> wrote:
>> Rely on the FDT parser to select a FIT config when looking for a
>> ramdisk_conf.  This allows image builders to use arbitrary configuration
>> names like /configurations/conf at foo.
> 
> Can you elaborate?
> 
> Do we even need this script? IIRC it was in place to support pre-FIT
> configurations where the initrd and the kernel were stored in seperate
> locations in flash. Now that all systems use FIT, we can simply say
> "bootm 2008000".
> 
> I suggest we don't need it, so we should change the environment to be
> 
> #define CONFIG_BOOTCOMMAND "bootm 20080000”

Sounds good to me.


More information about the openbmc mailing list