[PATCH v4] bootm: add global bootm.{image/initrd}.loadaddr support

Renaud Barbier renaud.barbier at ge.com
Wed Oct 17 05:38:12 EDT 2012


On 16/10/12 15:54, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 17:48 Wed 12 Sep     , Jean-Christophe PLAGNIOL-VILLARD wrote:
>> To be able to pass the loadaddr of the image and the initrd.

>> @@ -480,7 +499,9 @@ BAREBOX_CMD_END
>>  
>>  BAREBOX_MAGICVAR(bootargs, "Linux Kernel parameters");
>>  BAREBOX_MAGICVAR_NAMED(global_bootm_image, global.bootm.image, "bootm default boot image");
>> +BAREBOX_MAGICVAR_NAMED(global_bootm_image_loadaddr, global.bootm.image.loadaddr, "bootm default boot image loadaadr");
Should not "loadaadr" be "loadaddr" at the end of the line above.
>>  BAREBOX_MAGICVAR_NAMED(global_bootm_initrd, global.bootm.initrd, "bootm default initrd");
>> +BAREBOX_MAGICVAR_NAMED(global_bootm_initrd_loadaddr, global.bootm.initrd.loadaddr, "bootm default initrd loadaadr");
Same here.
>>  
>>  static struct binfmt_hook binfmt_uimage_hook = {
>>  	.type = filetype_uimage,
>> -- 
>> 1.7.10.4
>>
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 




More information about the barebox mailing list