[OpenWrt-Devel] [PATCH] ath79: move lzma-loader to the end of available RAM

mail at adrianschmutzler.de mail at adrianschmutzler.de
Tue Jan 21 16:48:28 EST 2020


Hi David,

> -----Original Message-----
> From: David Bauer [mailto:mail at david-bauer.net]
> Sent: Dienstag, 21. Januar 2020 22:19
> To: Adrian Schmutzler <freifunk at adrianschmutzler.de>
> Cc: openwrt-devel <openwrt-devel at lists.openwrt.org>
> Subject: Re: [OpenWrt-Devel] [PATCH] ath79: move lzma-loader to the end
> of available RAM
> 
> Hello Adrian,
> 
> On 1/21/20 9:57 PM, Adrian Schmutzler wrote:
> > @@ -10,7 +11,7 @@ define Build/loader-common
> >  	$(MAKE) -C lzma-loader \
> >  		PKG_BUILD_DIR="$@.src" \
> >  		TARGET_DIR="$(dir $@)" LOADER_NAME="$(notdir $@)" \
> > -		LZMA_TEXT_START=0x80a00000 LOADADDR=0x80060000 \
> > +		LZMA_TEXT_START=$(LOADER_LZMA_START)
> LOADADDR=$(KERNEL_LOADADDR) \
> 
> To me it seems the LZMA_TEXT_START argument is overwritten to the old
> value by explicit declaration in
> 
> target/linux/ath79/image/lzma-loader/src/Makefile

We've tested it for the Mikrotik PR, and it works with my patch.

I can't tell you why overwrite works this direction without further research though.

Best

Adrian

> 
> Best wishes
> David
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200121/a900b294/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list