public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Linux kernel only reporting 16M / 128M
@ 2010-06-09 11:07 Kristoffer Ericson
  2010-06-09 11:23 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Kristoffer Ericson @ 2010-06-09 11:07 UTC (permalink / raw)
  To: u-boot

Greetings,

My flashing issues are now gone and will adress this later on.

Anyhow, I noticed that linux kernel only reports 16M total memory while the board
got 128M. Was just wondering where to start looking? Everything works fine inside u-boot
so its not passed correctly or something, not sure how the linux kernel detects that.

Any thoughts are helpful.

Best wishes
Kristoffer

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

* [U-Boot] Linux kernel only reporting 16M / 128M
  2010-06-09 11:07 [U-Boot] Linux kernel only reporting 16M / 128M Kristoffer Ericson
@ 2010-06-09 11:23 ` Wolfgang Denk
  2010-06-09 11:27   ` Kristoffer Ericson
  2010-06-09 11:35   ` Kristoffer Ericson
  0 siblings, 2 replies; 4+ messages in thread
From: Wolfgang Denk @ 2010-06-09 11:23 UTC (permalink / raw)
  To: u-boot

Dear Kristoffer Ericson,

In message <20100609110742.GA1124@boggieman> you wrote:
> 
> My flashing issues are now gone and will adress this later on.

So the cause of the problems was the missing enabling of Vpp ?

> Anyhow, I noticed that linux kernel only reports 16M total memory while the board
> got 128M. Was just wondering where to start looking? Everything works fine inside u-boot
> so its not passed correctly or something, not sure how the linux kernel detects that.

You RAM initialization in U-Boot seems to be broken. Check the number
of rows/columns you program into your memory controller.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Weekends were made for programming.                 - Karl Lehenbauer

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

* [U-Boot] Linux kernel only reporting 16M / 128M
  2010-06-09 11:23 ` Wolfgang Denk
@ 2010-06-09 11:27   ` Kristoffer Ericson
  2010-06-09 11:35   ` Kristoffer Ericson
  1 sibling, 0 replies; 4+ messages in thread
From: Kristoffer Ericson @ 2010-06-09 11:27 UTC (permalink / raw)
  To: u-boot

On Wed, Jun 09, 2010 at 01:23:19PM +0200, Wolfgang Denk wrote:
> Dear Kristoffer Ericson,
> 
> In message <20100609110742.GA1124@boggieman> you wrote:
> > 
> > My flashing issues are now gone and will adress this later on.
> 
> So the cause of the problems was the missing enabling of Vpp ?
>
So it seems, works fine now.
 
> > Anyhow, I noticed that linux kernel only reports 16M total memory while the board
> > got 128M. Was just wondering where to start looking? Everything works fine inside u-boot
> > so its not passed correctly or something, not sure how the linux kernel detects that.
> 
> You RAM initialization in U-Boot seems to be broken. Check the number
> of rows/columns you program into your memory controller.
> 

Hmm, will do that. However it seems to work fine in u-boot, I can see and access all memory.
Also, the bootargs are not getting passed to the kernel, so might be same for memory tag?



> Best regards,
> 
> Wolfgang Denk
> 
> -- 
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> Weekends were made for programming.                 - Karl Lehenbauer

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

* [U-Boot] Linux kernel only reporting 16M / 128M
  2010-06-09 11:23 ` Wolfgang Denk
  2010-06-09 11:27   ` Kristoffer Ericson
@ 2010-06-09 11:35   ` Kristoffer Ericson
  1 sibling, 0 replies; 4+ messages in thread
From: Kristoffer Ericson @ 2010-06-09 11:35 UTC (permalink / raw)
  To: u-boot

On Wed, Jun 09, 2010 at 01:23:19PM +0200, Wolfgang Denk wrote:
> Dear Kristoffer Ericson,
> 
> In message <20100609110742.GA1124@boggieman> you wrote:
> > 
> > My flashing issues are now gone and will adress this later on.
> 
> So the cause of the problems was the missing enabling of Vpp ?
> 
> > Anyhow, I noticed that linux kernel only reports 16M total memory while the board
> > got 128M. Was just wondering where to start looking? Everything works fine inside u-boot
> > so its not passed correctly or something, not sure how the linux kernel detects that.
> 
> You RAM initialization in U-Boot seems to be broken. Check the number
> of rows/columns you program into your memory controller.

It works now, had missed exporting the bootparams adress in my 
board init. :)

> 
> Best regards,
> 
> Wolfgang Denk
> 
> -- 
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> Weekends were made for programming.                 - Karl Lehenbauer

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

end of thread, other threads:[~2010-06-09 11:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-09 11:07 [U-Boot] Linux kernel only reporting 16M / 128M Kristoffer Ericson
2010-06-09 11:23 ` Wolfgang Denk
2010-06-09 11:27   ` Kristoffer Ericson
2010-06-09 11:35   ` Kristoffer Ericson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox