Re: [OpenWrt-Devel] [PATCH 4/4] ralink: firewrt support memory detect
On 2015-06-05 09:30, w...@t-chip.com.cn wrote: Dear sir: I believe that it will work well on other 256mb memory board . But FireWRT has 512mb memory . I am confuse that enable HIGHMEM is not for using 512mb memory ? I'm running my code on the FireWRT board with 512M. I ran memtester with 465M (biggest mmap it could do without causing OOM). Why enable HIGHMEM without using long jump . kmalloc will only return allocations from low-memory space. As long as the first 256M are low-mem and the second 256M are high-mem, no long-jump is needed. I have another idea for adjusting the code to the memory map you provided without using long-jump. I'm going to change the highmem start offset from 0x2000 to 0x1000, that way module allocations will always fit in the 256M boundary. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 4/4] ralink: firewrt support memory detect
On 2015-06-05 09:54, w...@t-chip.com.cn wrote: Dear sir: i got it. please ignore the 2 patches i have send this morning . i will try again and give you more detail. I now implemented the highmem offset change that I mentioned in my last email and added your memory map fix. It is working well in my test. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 4/4] ralink: firewrt support memory detect
On 2015-05-07 04:25, wengbj wrote: Signed-off-by: wengbj fl.serv...@t-firefly.com FYI, I've fixed highmem support for the FireWRT board properly in r45889 + r45890. It works fine on my board and I've verified it using memtester. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 4/4] ralink: firewrt support memory detect
Signed-off-by: wengbj fl.serv...@t-firefly.com --- target/linux/ramips/dts/FIREWRT.dts |5 - 1 file changed, 5 deletions(-) diff --git a/target/linux/ramips/dts/FIREWRT.dts b/target/linux/ramips/dts/FIREWRT.dts index 2b018e6..d0decd5 100644 --- a/target/linux/ramips/dts/FIREWRT.dts +++ b/target/linux/ramips/dts/FIREWRT.dts @@ -6,11 +6,6 @@ compatible = mediatek,mt7621-eval-board, mediatek,mt7621-soc; model = Firefly FireWRT; - memory@0 { - device_type = memory; - reg = 0x0 0x1000; - }; - chosen { bootargs = console=ttyS0,57600; }; -- 1.7.9.5 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel