summaryrefslogtreecommitdiffstats
path: root/pbl
Commit message (Collapse)AuthorAgeFilesLines
* ARM: Add relocatable binary supportSascha Hauer2013-03-071-0/+10
| | | | | | | | | | | | | | | | | | For making the same binary executable on different SoCs which have different DRAM addresses we have to be independent of the compile time link address. This patch adds relocatable binary support for the ARM architecture. With this two new functions are available. relocate_to_current_adr will fixup the binary to continue executing from the current position. relocate_to_adr will copy the binary to a given address, fixup the binary and continue executing from there. For the PBL and the real image relocatable support can be enabled independently. This is done to (hopefully) better cope with setups where the PBL runs from SRAM or ROM and the real binary does not. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'for-next/pbl'Sascha Hauer2013-02-043-0/+89
|\
| * pbl: add none compression supportJean-Christophe PLAGNIOL-VILLARD2013-01-302-0/+15
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * pbl: factorise decompressorJean-Christophe PLAGNIOL-VILLARD2013-01-302-0/+33
| | | | | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * pbl: move configs to pbl/KconfigJean-Christophe PLAGNIOL-VILLARD2013-01-301-0/+41
| | | | | | | | | | | | | | so it more easy to add new entry and to maintain Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | Merge branch 'for-next/at91'Sascha Hauer2013-02-041-1/+3
|\ \ | |/ |/| | | | | | | | | | | Conflicts: arch/arm/boards/at91rm9200ek/init.c arch/arm/boards/pm9263/init.c arch/arm/configs/at91sam9n12ek_defconfig arch/arm/mach-at91/Kconfig
| * startup: add __noreturn to start_bareboxSascha Hauer2013-01-201-1/+3
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* | pbl string: Fix no previous prototype warningsSascha Hauer2013-01-251-8/+2
|/ | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* pbl: provide hang() function for the pblSascha Hauer2012-10-261-0/+5
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Add pre-bootloader (pbl) image supportJean-Christophe PLAGNIOL-VILLARD2012-08-033-0/+146
This allows for creating a pre-bootloader binary for - nand boot - mmc boot - compressed image The pbl will be incharge of the lowlevel init if needed. The barebox will skip it. Import string functions from linux 3.4 (arch/arm/boot/compressed/string.c) and implement a dummy panic. For now on introduce dummy zbarebox* targets and c code that will contain later the decompressor. This only implemeted on ARM. This patch is based on Sascha Hauer <s.hauer@pengutronix.de> Add compressed image support patch Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>