[Arm-netbook] RAM, uboot

Henrik Nordström henrik at henriknordstrom.net
Sat May 12 17:48:08 BST 2012


lör 2012-05-12 klockan 12:37 -0400 skrev Derek LaHousse:
> David, note that it's reducing the memory area at the beginning, and not
> at the end.  If you simply increase the size (reduce the 64 number), you
> overflow the memory space.
> 
> bank[0].start = 64M from 0
> bank[0].size  = size minus those 64M
> 
> Now, I don't know what you'd be overwriting in the other direction, but
> have you done it with
> 
> if (size <= 512) {
> 	mi->nr_banks=1;
> 	mi->bank[0].start = 0x20000000;
> 	mi->bank[0].size = SZ_1M * (size - 32);
> } else {


No that is not it. The DRAM starts at physical address 0x40000000
(1GByte).

The code defines that the first memory bank starts at 0x40000000
(1Gbyte) and is 512-64MB large.

I do not yet know what those last 64MByte is used for, but will find
out..

Regards
Henrik




More information about the arm-netbook mailing list