From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Tue, 05 Oct 2010 00:09:46 +0200 Subject: [U-Boot] [RFC] [PATCH] arm: arm926ejs: use ELF relocations In-Reply-To: <1286229705-16019-1-git-send-email-albert.aribaud@free.fr> References: <1286229705-16019-1-git-send-email-albert.aribaud@free.fr> Message-ID: <4CAA50AA.3000608@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.