[yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor

Elvis Dowson elvis.dowson at gmail.com
Sun Aug 12 13:02:21 PDT 2012


Hi Khem,
                   I've made tangential progress!! 

I found out that Denx had a bunch of pre-built rootfilesystems, generated from yocto/denzil branch. 

I took the core-image-core-generic-powerpc-4xx-softfloat.tar.gz from the following location:

ftp://ftp.denx.de/pub/eldk/5.2.1/targets/powerpc-4xx-softfloat 

I used the linux-xilinx-3.3.0 kernel that I built earlier (since the linux sources are independent) with gcc-4.5.1, and use the pre-build root filesystem, and guess what, I get the bash prompt!!

zImage starting: loaded at 0x00800000 (sp: 0x016defa0)                                                             
Allocating 0x54cf4c bytes for kernel ...                                                                           
gunzipping (0x00000000 <- 0x0080f000:0x00a1aedf)...done 0x42f600 bytes                                             
Attached initrd image at 0x00a1b000-0x016ddb0f                                                                     
initrd head: 0x1f8b0808                                                                                            
                                                                                                                   
Linux/PowerPC load: console=ttyS0,9600n8 ip=off root=/dev/ram rw rootwait init=/bin/sh                             
Finalizing device tree... flat tree at 0x16eb0e0                                                                   
 PM: Adding info for No Bus:ttyv9                                                                                  
[    0.572492] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled                                            
[    0.577880] 83e00000.serial: ttyS0 at MMIO 0x83e01003 (irq = 20) is a 16550                                     
[    0.773419] console [ttyS0] enabled                                                                             
[    0.818736] brd: module loaded                                                                                  
[    0.865394] loop: module loaded                                                                                 
[    0.902715] xsysace 83600000.sysace: Xilinx SystemACE revision 1.0.12                                           
[    0.979410] xsysace 83600000.sysace: No CF in slot                                                              
[    1.038416] Xilinx SystemACE device driver, major=254                                                           
[    1.099449] xilinx_emaclite 81000000.ethernet: Device Tree Probing                                              
[    1.172953] xilinx_emaclite 81000000.ethernet: error registering MDIO bus                                       
[    1.254057] xilinx_emaclite 81000000.ethernet: MAC address is now 00:0a:35:b7:78:00                             
[    1.347806] xilinx_emaclite 81000000.ethernet: Xilinx EmacLite at 0x81000000 mapped to 0xD10A0000, irq=17       
[    1.462670] xilinx_ps2 81480000.ps2: Device Tree Probing 'ps2'                                                  
[    1.531949] xilinx_ps2 81480000.ps2: Xilinx PS2 at 0x81480000 mapped to 0xd1036000, irq=22                      
[    1.631395] xilinx_ps2 81481000.ps2: Device Tree Probing 'ps2'                                                  
[    1.701014] xilinx_ps2 81481000.ps2: Xilinx PS2 at 0x81481000 mapped to 0xd1038000, irq=23                      
[    1.801542] mousedev: PS/2 mouse device common for all mice                                                     
[    1.869031] i2c /dev entries driver                                                                             
[    1.910602] Device Tree Probing 'i2c'                                                                           
[    1.954862] xilinx-iic #0 at 0x81600000 mapped to 0xD10C0000, irq=18                                            
[    2.032541] TCP cubic registered                                                                                
[    2.070347] NET: Registered protocol family 17                                                                  
[    2.867055] atkbd serio0: keyboard reset failed on xilinxps2/serio at 81480000                                  
[    3.351351] RAMDISK: gzip image found at block 0                                                                
[    3.875264] input: AT Raw Set 2 keyboard as /devices/plb.0/xps-ps2.1/81481000.ps2/serio1/input/input0           
[    6.223416] EXT2-fs (ram0): warning: mounting unchecked fs, running e2fsck is recommended                       
[    6.320721] VFS: Mounted root (ext2 filesystem) on device 1:0.                                                  
[    6.391510] Freeing unused kernel memory: 160k freed                                                            
/bin/sh: can't access tty; job control turned off                                                                  
/ # 

The following link gives some useful information about ELDK 5.2.1: http://www.denx.de/wiki/ELDK-5/WebHome 

Looking at the denx git repository for the eldk-5.2.1 branch, you find that the eglibc recipes for the denzil branch are still at 2.13 and 2.15

http://git.denx.de/?p=eldk.git;a=tree;f=meta/recipes-core/eglibc;h=9e2d141f608f42b259651ec928efde803f1dd077;hb=refs/heads/eldk-rel-v5.2

In conclusion, one potential solution exists, which is to use the ELDK repo, and build the ELDK toolchain for my target.

However, I will continue to try to find out why the current yocto master repo is failing, and try to see if I can isolate the problem.

I've just finished rebuilding yocto/master with gcc-4.5.1 and eglibc-2.13. So will test it out and let you know how it goes!

Thanks for all your help and patience!!

Best regards,

Elvis Dowson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120813/b35ccf8b/attachment.html>


More information about the yocto mailing list