summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/image/lzma-loader
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx/lzma-loader: fix O32 ABI conformanceGabor Juhos2016-01-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | According to the calling convention of the o32 ABI the caller function must reserve stack space for $a0-$a3 registers in case the callee needs to save its arguments. The assembly code of the loader does not reserve stack space for these registers thus when the 'loader_main' function needs to save its arguments, those will be stored in the 'workspace' area instead of the stack. Because the workspace area is also used by other part of the code, the saved register values gets overwritten and this often leads to failed kernel boots. Fix the code to reserve stack space for the registers to avoid this error. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 48279
* ar71xx: ensure that LOADADDR is passed to lzma-loaderFelix Fietkau2016-01-031-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48101
* ar71xx: fix build of lzma-loader with binutils 2.25.1Hauke Mehrtens2015-09-121-1/+2
| | | | | | | | | | | | | | | | To make the lzma-loader build with binutils 2.25.1 it is needed to remove the .MIPS.abiflags section otherwise I get the following compile error: mips-openwrt-linux-musl-objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S loader loader.bin mips-openwrt-linux-musl-objcopy: Warning: Writing section `.text' to huge (ie negative) file offset 0xffffffff80a00000. mips-openwrt-linux-musl-objcopy:loader.bin[.text]: File truncated This should close #20487. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 46893
* ar71xx: fix lzma-loader kernel command line passingFelix Fietkau2015-08-021-1/+2
| | | | | | | | | The generic kernel cmdline parser ignores argv[0], this caused a regression for all lzma-loader based boards with linux 4.1 Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46544
* ar71xx/image: relink loader.elf image to LOADADDRGabor Juhos2012-11-202-5/+21
| | | | | | | | | This allows to load the resulting image directly from RouterBOOT. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34271
* ar71xx: image: stop the switch from the lzma-loader on the TL-WR1043NDGabor Juhos2012-08-022-0/+745
| | | | SVN-Revision: 32946
* ar71xx: image: allow to use board specific code in the lzma-loaderGabor Juhos2012-08-022-1/+8
| | | | SVN-Revision: 32945
* ar71xx: add lzma loaderGabor Juhos2011-12-0517-0/+1941
SVN-Revision: 29443