Author: wmb
Date: Thu Aug 4 01:22:46 2011
New Revision: 2411
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2411
Log:
OLPC XO-1.75 - the extra memory that is given to the allocator must be virtually, not physically, addressed.
Modified:
cpu/arm/olpc/1.75/devices.fth
Modified: cpu/arm/olpc/1.75/devices.fth
==============================================================================
--- cpu/arm/olpc/1.75/devices.fth Wed Aug 3 08:44:53 2011 (r2410)
+++ cpu/arm/olpc/1.75/devices.fth Thu Aug 4 01:22:46 2011 (r2411)
@@ -385,7 +385,7 @@
warning !
stand-init: More memory
- extra-mem-pa /extra-mem add-memory
+ extra-mem-va /extra-mem add-memory
;
fload ${BP}/cpu/arm/mmp2/thermal.fth
Author: wmb
Date: Tue Aug 2 19:55:53 2011
New Revision: 2404
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2404
Log:
OLPC XO-1.75 - fixed camera driver - it was broken by the VA != PA conversion.
Modified:
dev/olpc/mmp2camera/ccic.fth
Modified: dev/olpc/mmp2camera/ccic.fth
==============================================================================
--- dev/olpc/mmp2camera/ccic.fth Tue Aug 2 07:25:19 2011 (r2403)
+++ dev/olpc/mmp2camera/ccic.fth Tue Aug 2 19:55:53 2011 (r2404)
@@ -138,6 +138,7 @@
;
: open ( -- flag )
+ my-address my-space h# 1000 " map-in" $call-parent to camera-base
init
ov7670-detected? 0= if false exit then
alloc-dma-bufs
@@ -252,7 +253,6 @@
: selftest ( -- error? )
open 0= if true exit then
- my-address my-space h# 1000 " map-in" $call-parent to camera-base
d# 300 ms
start-display
unmirrored shoot-still ?dup if close exit then ( error? )