Re: [U-Boot] Linux kernel only reporting 16M / 128M

2010-06-09 Thread Kristoffer Ericson
On Wed, Jun 09, 2010 at 01:23:19PM +0200, Wolfgang Denk wrote:
> Dear Kristoffer Ericson,
> 
> In message <20100609110742.ga1...@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: w...@denx.de
> Weekends were made for programming. - Karl Lehenbauer
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Linux kernel only reporting 16M / 128M

2010-06-09 Thread Kristoffer Ericson
On Wed, Jun 09, 2010 at 01:23:19PM +0200, Wolfgang Denk wrote:
> Dear Kristoffer Ericson,
> 
> In message <20100609110742.ga1...@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: w...@denx.de
> Weekends were made for programming. - Karl Lehenbauer
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Linux kernel only reporting 16M / 128M

2010-06-09 Thread Wolfgang Denk
Dear Kristoffer Ericson,

In message <20100609110742.ga1...@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: w...@denx.de
Weekends were made for programming. - Karl Lehenbauer
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Linux kernel only reporting 16M / 128M

2010-06-09 Thread Kristoffer Ericson
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
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot