s3c2410 (Linux 2.6.36) Incorrect DRAM size
narkewoody at gmail.com
Tue Nov 20 03:23:04 EST 2012
On 2012-11-16, Vasily Khoruzhick <anarsoul at gmail.com> wrote:
> On Fri, Nov 16, 2012 at 8:19 PM, Woody Wu <narkewoody at gmail.com> wrote:
>> I just buit a 2.6.36 and boot it from a s3c2410 board. At the very
>> beginning of consol log, the kernel reports the DRAM size if 16M.
>> (Memory: 16M = 16M total). But the board actually has 64M ram in two
>> bands (each is 32M).
>> Did someone know the cause and have a hint or solution? And, does anyone
>> knows that the DRAM size is auto-detected by kernel or hard configured
>> in some .h?
> Bootloader passes ATAGs with memory location and size, so something's
> wrong with your bootloader.
Thanks. I also noticed this might be the cause, I am not trying to
printk some log info in the parse_tags() procedure. If I have some
finding, I will let you know.
I can't go back to yesterday - because I was a different person then.
More information about the linux-arm-kernel