linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* s3c2410 (Linux 2.6.36) Incorrect DRAM size
@ 2012-11-16 17:19 Woody Wu
  2012-11-16 17:28 ` Vasily Khoruzhick
  0 siblings, 1 reply; 4+ messages in thread
From: Woody Wu @ 2012-11-16 17:19 UTC (permalink / raw)
  To: linux-arm-kernel

Hi, 

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?

Thanks in advance

-- 
-woody
I can't go back to yesterday - because I was a different person then.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* s3c2410 (Linux 2.6.36) Incorrect DRAM size
  2012-11-16 17:19 s3c2410 (Linux 2.6.36) Incorrect DRAM size Woody Wu
@ 2012-11-16 17:28 ` Vasily Khoruzhick
  2012-11-20  8:23   ` Woody Wu
  2013-01-29 23:52   ` Woody Wu
  0 siblings, 2 replies; 4+ messages in thread
From: Vasily Khoruzhick @ 2012-11-16 17:28 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Nov 16, 2012 at 8:19 PM, Woody Wu <narkewoody@gmail.com> wrote:
> Hi,
>
> 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.

Regards
Vasily

> Thanks in advance
>
> --
> -woody
> I can't go back to yesterday - because I was a different person then.
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* s3c2410 (Linux 2.6.36) Incorrect DRAM size
  2012-11-16 17:28 ` Vasily Khoruzhick
@ 2012-11-20  8:23   ` Woody Wu
  2013-01-29 23:52   ` Woody Wu
  1 sibling, 0 replies; 4+ messages in thread
From: Woody Wu @ 2012-11-20  8:23 UTC (permalink / raw)
  To: linux-arm-kernel

On 2012-11-16, Vasily Khoruzhick <anarsoul@gmail.com> wrote:
> On Fri, Nov 16, 2012 at 8:19 PM, Woody Wu <narkewoody@gmail.com> wrote:
>> Hi,
>>
>> 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.

-- 
woody
I can't go back to yesterday - because I was a different person then.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* s3c2410 (Linux 2.6.36) Incorrect DRAM size
  2012-11-16 17:28 ` Vasily Khoruzhick
  2012-11-20  8:23   ` Woody Wu
@ 2013-01-29 23:52   ` Woody Wu
  1 sibling, 0 replies; 4+ messages in thread
From: Woody Wu @ 2013-01-29 23:52 UTC (permalink / raw)
  To: linux-arm-kernel

? 2012-11-17 AM1:29?"Vasily Khoruzhick" <anarsoul@gmail.com>???
>
> On Fri, Nov 16, 2012 at 8:19 PM, Woody Wu <narkewoody@gmail.com> wrote:
> > Hi,
> >
> > 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.

Sorry only see ur reply after such long time.  The problem solved. The
bootloader did not have a problem, but it was not passing ATAGs, so I have
to config the kernel to parse old parameter format.

Thanks anyway.
>
> Regards
> Vasily
>
> > Thanks in advance
> >
> > --
> > -woody
> > I can't go back to yesterday - because I was a different person then.
> >
> >
> > _______________________________________________
> > linux-arm-kernel mailing list
> > linux-arm-kernel at lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130130/51e68791/attachment-0001.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-01-29 23:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-16 17:19 s3c2410 (Linux 2.6.36) Incorrect DRAM size Woody Wu
2012-11-16 17:28 ` Vasily Khoruzhick
2012-11-20  8:23   ` Woody Wu
2013-01-29 23:52   ` Woody Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).