Skip to contentSkip to conversation

Linux kernel only reporting 16M / 128M

U-Boot Kristoffer Ericson 2 participants 4 messages Jun 9, 2010

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

Dear Kristoffer Ericson,

Quoted 2 lines · 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 ?

Quoted 3 lines

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

Signature · 4 lines
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
#2 lore raw
Quoted 8 lines · Wolfgang Denk

Dear Kristoffer Ericson,

Quoted 2 lines · 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.

Quoted 7 lines
Quoted 3 lines

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?

Quoted 9 lines

Best regards,

Wolfgang Denk

Signature · 4 lines
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
#3 lore raw
In reply to Wolfgang Denk
Quoted 6 lines · Wolfgang Denk

Dear Kristoffer Ericson,

Quoted 2 lines · In message <20100609110742.GA1124@boggieman> you wrote:

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

Quoted 8 lines

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

Quoted 3 lines

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. :)

Quoted 10 lines

Best regards,

Wolfgang Denk

Signature · 4 lines
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