Christian Gagneraud wrote:
> Christian Gagneraud wrote:
>> janne.kario wrote:
>>> --- In Christian Gagneraud <>
>>> wrote:
> ...
>> In C files like init/main.c, i've tried using putc() from
>> arch/arm/mach-ep93xx/include/mach/uncompress.h, but i'm not sure if i
>> can still use __raw_readb() and __raw_writeb() with physical address...
>
> That was it, using virtual address i can print traces, the result is
> that the call to setup_arch(&command_line) from
> init/main.c:start_kernel() never return or screw up the serial port...
> Further investigation on going....
I finally manage to get a backtrace:
init/main.c:start_kernel()
arch/arm/kernel/setup.c:setup_arch()
arch/arm/mm/mmu.c:paging_init()
arch/arm/mm/bootmem_init()
mm/sparse.c:sparse_init()
mm/bootmem.c:__alloc_bootmem()
mm/bootmem.c:___alloc_bootmem_nopanic()
mm/bootmem.c:alloc_bootmem_core()
this function ends with by filling the allocated area with zero, which
is fatal, as the kernel hang here.
the exact call is memset(region, 0, size);
with region = 0xA0000000 and size = 0x00000400;
So now the 1 million euros question is: "why?" :)
Chris.
>
> Chris.
>
>
>> Anyway, i'm done for tonight, hope we'll find what's going wrong.
>>
>> Chris.
>>
>>> Available machine support:
>>>
>>> ID (hex)\0x09NAME
>>> 000002d3\0x09ADS Sphere board
>>> 0000021a\0x09Cirrus Logic EDB9302 Evaluation Board
>>> 00000467\0x09Cirrus Logic EDB9302A Evaluation Board
>>> 000001c3\0x09Cirrus Logic EDB9312 Evaluation Board
>>> 000001cf\0x09Cirrus Logic EDB9315 Evaluation Board
>>> 00000304\0x09Cirrus Logic EDB9315A Evaluation Board
>>> 000003be\0x09Glomation GESBC-9312-sx
>>> 000002a1\0x09Technologic Systems TS-72xx SBC
>>>
>>> Please check your kernel config and/or bootloader.
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------------
>>>
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>
>>
>> ------------------------------------
>>
>> Yahoo! Groups Links
>>
>>
>>
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|