ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: kernel 2.6.28.3 for TS-72XX [take1]

To:
Subject: Re: [ts-7000] Re: kernel 2.6.28.3 for TS-72XX [take1]
From: Christian Gagneraud <>
Date: Mon, 09 Feb 2009 15:18:15 +0000
Christian Gagneraud wrote:
> 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?" :)

Hum... Redboot tells me that i have 32MB of RAM form 0x00000000 to 
0x02000000, but the boot rom tells me that i have 64MB of SDRAM...
Strange, isn't it?
So if I add the kernel param "mem=", then the kernel boot fine!!!

Any idea?

Chris



> 
> 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
> 
> 
> 



------------------------------------

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/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU