On Wed Sep 14, 2011 at 14:09:01 +0200, giowck wrote:
On 08.09.2011 23:50, Adam Lackorzynski wrote:
Hi,
On Wed Sep 07, 2011 at 09:01:16 +0200, giowck wrote:
when running L4Linux/L4Android on the Beagleboard (rev. C4), only 128MB of 256MB RAM are detected by the bootstrap process.
Here [1] you write that the older Beagleboard has only 128MB, so this is default setting.
As described in that thread, I tried to create the Makeconf.boot file, and it works so far (image is build with 256MB RAM), but still only 128MB are actualy detected (limited by scan):
I suppose u-boot is saying 256MB?
L4 Bootstrapper Build: #30 Di 6. Sep 14:38:47 CEST 2011, 4.5.1 Scanning up to 256 MB RAM Memory size is 128MB (Limited by Scan) (80000000 - 88000000) RAM: 0000000080000000 - 0000000087ffffff: 131072kB Total RAM: 128MB
Please see [2] for the full bootstrap log.
I already tried to adjust manually the support.h and startup.cc file in the src/l4/pkg/bootstrap/server/src directory, resulting exactly the same issue.
What did you change? You removed the scan-function and hard-coded 256?
Now I got it working, thanks to Michael Weiß from the Fraunhofer AISEC, who gave me the following patch, addressed to src/l4/pkg/bootstrap/server/src/platform/omap.cc:
The same can be achieved by adding RAM_SIZE_MB=256 RAM_BASE=0x80000000 to the command line when building the image or it can be added to conf/Makeconf.boot for a default setting.
Adam