Skip to contentSkip to conversation

Kernel hanging after lmb_end_of_DRAM() function

U-Boot-Users gforgcc 4 participants 5 messages Apr 23, 2008 – Apr 28, 2008

lore
Share & tools
lore

gforgcc

author
#0 lore raw

Hi geeks,
i am trying to bring up the latest kernel on EP8248 target,
i am using U-boot-1.3.2 and linux-2.6.25-rc8, i started debugging using BDI2000 which helped me to know atleast what is going wrong, i have added some printk's in the kernel source but still i am not able to find where and what exactly is going wrong, The first statement it is printing in the log buffer is
""Using Embedded Planet EP8248E machine description"" and thats it the next message is

Unable to handle kernel paging request for data at address 0xbfff0000

Faulting instruction address:0xc0012070 (This nearest address to this address in System.map file is cacheable_memzero)
and tracing like this i came to know that in the file arch/powerpc/mm/ppc_mmu_32.c , here in the function __init MMU_init_hw() and in the line n_hpteg = total_memory / (PAGE_SIZE * 8); probably it is getting problem because when i tried to print the variable total_memory it is printing zero !!! :( :( so probably i am thinking it is not able to find some memory for Hash table :(
Please share your knowledge and skills and help me to resolve this issue.. thanks :)

Signature · 2 lines
View this message in context: http://www.nabble.com/Kernel-hanging-after-lmb_end_of_DRAM%28%29-function-tp16833978p16833978.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
#1 lore raw

U can refer to patch for ep8248 support here

                   http://patchwork.ozlabs.org/linuxppc/patch?id=15772

best wishes,
Nethra

Quoted 3 lines

Hi geeks,
i am trying to bring up the latest kernel on EP8248 target, i am using U-boot-1.3.2 and linux-2.6.25-rc8, i started debugging using

BDI2000 which helped me to >know atleast what is going wrong, i have added some printk's in the kernel source but still i am not able >to find where and what exactly is going wrong, The first statement it is printing in the log buffer is

Quoted 1 line

""Using Embedded Planet EP8248E machine description"" and thats it the next

message is

Quoted 1 line
Unable to handle kernel paging request for data at address 0xbfff0000

Faulting instruction >address:0xc0012070 (This nearest address to this address in System.map file is cacheable_memzero)

Quoted 1 line

and tracing like this i came to know that in the file

arch/powerpc/mm/ppc_mmu_32.c , here in the >function __init MMU_init_hw() and in the line n_hpteg = total_memory / (PAGE_SIZE * 8); >probably it is getting problem because when i tried to print the variable total_memory it is printing >zero !!! :( :( so probably i am thinking it is not able to find some memory for Hash table :(

Quoted 2 lines

Please share your knowledge and skills and help me to resolve this issue.. thanks :)

Signature · 2 lines
View this message in context: http://www.nabble.com/Kernel-hanging-after-lmb_end_of_DRAM%28%29-function-tp16833978p16849884.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
#2 lore raw
In reply to gforgcc
Quoted 2 lines · In message <[email protected]> you wrote:

i am trying to bring up the latest kernel on EP8248 target,

...

Quoted 1 line

Please share your knowledge and skills and help me to resolve this issue..

I can't help with your Linux kernel problem, but I'm pretty sure that it is off topic on this mailing list.

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
Any technology distinguishable from magic is insufficiently advanced.
#3 lore raw
Quoted 8 lines · Wolfgang Denk
Quoted 2 lines · In message <[email protected]> you wrote:

i am trying to bring up the latest kernel on EP8248 target,

...

Quoted 1 line

Please share your knowledge and skills and help me to resolve this issue..

I can't help with your Linux kernel problem, but I'm pretty sure that it is off topic on this mailing list.

As it turns out, it wasn't off-topic -- the problem is u-boot's fdt setup for 8260-ish chips.

-Scott

#4 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

As it turns out, it wasn't off-topic -- the problem is u-boot's fdt setup for 8260-ish chips.

ACK. I stand corrected.

Best regards,

Wolfgang Denk

Signature · 6 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
Without facts, the decision cannot be made logically. You  must  rely
on your human intuition.
	-- Spock, "Assignment: Earth", stardate unknown