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

Elvis Dowson elvis.dowson at gmail.com
Fri Aug 3 13:59:37 PDT 2012


Hi,

On Jul 31, 2012, at 9:27 PM, Elvis Dowson wrote:

> I am unable to get a serial console login prompt using yocto generate rootfilesystem (core-image-minimal), for a PowerPC 440 target. 

I'm now starting the process of debugging the init process step by step. 

I've just updated to the latest gcc-4.7.2 commit, as of today

SRCREV = "1653160670db186c6243997447ecbe6ce5056648"

I've created a simple hello world program, and used that as init, and I get an output as expected:

zImage starting: loaded at 0x00800000 (sp: 0x00d7bfb0)                     
Allocating 0x540e0c bytes for kernel ...                                   
gunzipping (0x00000000 <- 0x0080f000:0x00a17dda)...done 0x4235c0 bytes
Attached initrd image at 0x00a18000-0x00d7a3e1
initrd head: 0x1f8b0808

Linux/PowerPC load: console=ttyS0,9600n8 ip=off root=/dev/ram rw rootwait init=/init
Finalizing device tree... flat tree at 0xd880e0
 PM: Adding info for No Bus:ttyv9
[    0.476678] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.481983] 83e00000.serial: ttyS0 at MMIO 0x83e01003 (irq = 20) is a 16550
[    0.677477] console [ttyS0] enabled
[    0.741448] brd: module loaded
[    0.788283] loop: module loaded
[    0.825575] xsysace 83600000.sysace: Xilinx SystemACE revision 1.0.12
[    0.902300] xsysace 83600000.sysace: No CF in slot
[    0.961302] Xilinx SystemACE device driver, major=254
[    1.022246] xilinx_emaclite 81000000.ethernet: Device Tree Probing
[    1.095778] xilinx_emaclite 81000000.ethernet: error registering MDIO bus
[    1.176850] xilinx_emaclite 81000000.ethernet: MAC address is now 00:0a:35:b7:78:00
[    1.270544] xilinx_emaclite 81000000.ethernet: Xilinx EmacLite at 0x81000000 mapped to 0xD10A0000, irq=17
[    1.385416] xilinx_ps2 81480000.ps2: Device Tree Probing 'ps2'
[    1.454651] xilinx_ps2 81480000.ps2: Xilinx PS2 at 0x81480000 mapped to 0xd1036000, irq=22
[    1.554024] xilinx_ps2 81481000.ps2: Device Tree Probing 'ps2'
[    1.623705] xilinx_ps2 81481000.ps2: Xilinx PS2 at 0x81481000 mapped to 0xd1038000, irq=23
[    1.724252] mousedev: PS/2 mouse device common for all mice
[    1.791648] i2c /dev entries driver
[    1.833441] Device Tree Probing 'i2c'
[    1.877646] xilinx-iic #0 at 0x81600000 mapped to 0xD10C0000, irq=18
[    1.955298] TCP cubic registered
[    1.993143] NET: Registered protocol family 17
[    2.790356] atkbd serio0: keyboard reset failed on xilinxps2/serio at 81480000
[    3.274628] RAMDISK: gzip image found at block 0
[    3.798553] input: AT Raw Set 2 keyboard as /devices/plb.0/xps-ps2.1/81481000.ps2/serio1/input/input0
[    4.178791] VFS: Mounted root (ext2 filesystem) on device 1:0.
[    4.248993] Freeing unused kernel memory: 152k freed

Hello world from myinit.c!

Inside the ramdisk, I just have a /dev folder, and it has nodes for console and ttyS0. So this means that the Xilinx hardware project using xps_uart16550_v3_00_a and the kernel drivers, etc, are all working.

Now to try to debug the init process.

Best regards,

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


More information about the yocto mailing list