From dee99ab0143122146ab7713cfe171790bc796dd3 Mon Sep 17 00:00:00 2001 From: Roman Yeryomin Date: Fri, 16 Aug 2013 11:44:04 +0300 Subject: Get rid of rtkload. Use OpenWrt lzma-loader (with kernel_entry hack). Use mgbin for unified tftp image generation. Signed-off-by: Roman Yeryomin --- .../linux/realtek/image/lzma-loader/src/loader.lds | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 target/linux/realtek/image/lzma-loader/src/loader.lds (limited to 'target/linux/realtek/image/lzma-loader/src/loader.lds') diff --git a/target/linux/realtek/image/lzma-loader/src/loader.lds b/target/linux/realtek/image/lzma-loader/src/loader.lds new file mode 100644 index 000000000..01ff85236 --- /dev/null +++ b/target/linux/realtek/image/lzma-loader/src/loader.lds @@ -0,0 +1,34 @@ +OUTPUT_ARCH(mips) +SECTIONS { + .text : { + _code_start = .; + *(.text) + *(.text.*) + *(.rodata) + *(.rodata.*) + *(.data.lzma) + } + + . = ALIGN(32); + .data : { + *(.data) + *(.data.*) + } + + . = ALIGN(32); + _code_end = .; + + _bss_start = .; + .bss : { + *(.bss) + *(.bss.*) + } + + . = ALIGN(32); + _bss_end = .; + + . = . + 8192; + _stack = .; + + workspace = .; +} -- cgit v1.2.3