[ELDK] ELDK Linux 2.6.29, MPC885ADS and early console

Sylvain ANDRE sandre at assystem.com
Wed Apr 8 09:39:31 CEST 2009


Sorry, I forgotten kernel command line

=>print
bootargs=root=/dev/rd/0 init=/linuxrc rw mem=40M
bootcmd=bootm fe080000 fe160000
bootdelay=5
baudrate=38400
ethaddr=40:00:00:00:00:01
ethact=FEC ETHERNET
ipaddr=172.28.20.221
serverip=172.28.20.220
stdin=serial
stdout=serial
stderr=serial

Environment size: 239/16380 bytes
=>

In the FDT I modified manually the memory node (memory base 0x00000000, 
memory size 0x10000000), the bus frequency = 40000000, the 
clock-frequency = 80000000.

    Sylvain ANDRE.


Vitaly Bordug a e'crit :
> В Wed, 08 Apr 2009 08:46:15 +0200
> Sylvain ANDRE <sandre at assystem.com> пишет:
>
>   
>> Hello,
>>
>> I'm working on a custom board based on Freescale MPC885ads. It runs 
>> correctly with Linux 2.4.26 from Arabella BSP.
>> I decided to migrate to ELDK Linux 2.6.29 rc7, the trouble is the 
>> console never appears but the kernel starts running.
>>
>> The FDT is compiled from mpc885ads.dts file with DTC v1.2.0.
>>
>>
>> After some investigations, I found that ioremap() returns 0xFDFFC000 for 
>> mpc8xx_immr (instead of 0xFF000000 that is the real IMMR address).
>> I think the registers are not well addressed.
>>
>>     
> With 2.6 + fdt, there is no io_block_mapping anymore, no 1:1 mapping thereby.
> If you would post full boot log, from u-boot beginning, including fdt command
> and kernel command line, we will hopefully will be able to tell you more.
>
> Thanks,
>
> Vitaly
>
>  
>   
>> Can you help me please ?
>>
>>
>>     Sylvain ANDRE.
>>    
>>     
>
>   



More information about the eldk mailing list