[U-Boot] [RFC] [PATCH] arm: arm926ejs: use ELF relocations

Albert ARIBAUD albert.aribaud at free.fr
Tue Oct 5 00:09:46 CEST 2010


Afterthought: I have not explained how to test this patch.

If your board is based on arm926ejs and does not have its own 
u-boot.lds, then you can simply applly the patch and modify your board 
config file as I modified edminiv2.h, basically by adding the config 
option CONFIG_RELOC_FIXUP_WORKS which will remove all calls to manual 
fixup code.

If your board is arm926ejs but has its own start.S or u-boot.lds (or 
both) then you'll also have to apply them the changes I made to their 
arm926 counterparts.

Ditto if your board is ARM but not arm926.

You should then be able to build and run.

Remember: this patch only applies to boards which boot from NOR FLASH! 
You can test it on other types of boards (NAND-based, etc) for 
regression testing, but nothing more.

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list