Author: wmb Date: Thu Jun 2 04:17:39 2011 New Revision: 2238 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2238
Log: OLPC trac #10885 - added more memory to the heap so the wlan test from the graphical menu has enough RAM to unpack the WLAN firmware image.
Modified: cpu/arm/olpc/1.75/addrs.fth cpu/arm/olpc/1.75/devices.fth cpu/arm/olpc/initmmu.fth
Modified: cpu/arm/olpc/1.75/addrs.fth ============================================================================== --- cpu/arm/olpc/1.75/addrs.fth Wed Jun 1 04:33:57 2011 (r2237) +++ cpu/arm/olpc/1.75/addrs.fth Thu Jun 2 04:17:39 2011 (r2238) @@ -24,7 +24,10 @@ h# 1fa0.0000 constant fw-pa
h# 1f00.0000 constant dma-base -h# a0.0000 constant dma-size +h# 80.0000 constant dma-size + +h# 1f80.0000 constant extra-mem-base +h# 20.0000 constant extra-mem-size
[ifdef] virtual-mode h# f700.0000 constant fw-virt-base
Modified: cpu/arm/olpc/1.75/devices.fth ============================================================================== --- cpu/arm/olpc/1.75/devices.fth Wed Jun 1 04:33:57 2011 (r2237) +++ cpu/arm/olpc/1.75/devices.fth Thu Jun 2 04:17:39 2011 (r2238) @@ -369,8 +369,13 @@ " sourceurl" find-drop-in if " source-url" string-property then dend ; + warning !
+stand-init: More memory + extra-mem-base extra-mem-size add-memory +; + \ LICENSE_BEGIN \ Copyright (c) 2010 FirmWorks \
Modified: cpu/arm/olpc/initmmu.fth ============================================================================== --- cpu/arm/olpc/initmmu.fth Wed Jun 1 04:33:57 2011 (r2237) +++ cpu/arm/olpc/initmmu.fth Thu Jun 2 04:17:39 2011 (r2238) @@ -215,6 +215,11 @@ set r3,#0xc02 \ No caching or write buffering bl `map-sections-v=p`
+ set r1,`extra-mem-base #` \ Address of additional allocatable memory + set r2,`extra-mem-size #` \ Size of additional allocatable memory + set r3,#0xc0e \ Write bufferable + bl `map-sections-v=p` + set r1,`fw-pa #` \ Address of Firmware region set r2,`/fw-ram #` \ Size of firmware region set r3,#0xc0e \ Write bufferable