[yocto] Unable to get serial console login prompt - PowerPC 440 Virtex 5 processor
Elvis Dowson
elvis.dowson at gmail.com
Fri Aug 3 14:30:14 PDT 2012
Hi,
On Aug 4, 2012, at 12:59 AM, Elvis Dowson wrote:
> Now to try to debug the init process.
I compiled bash statically by making the following changes:
diff --git a/meta/recipes-extended/bash/bash.inc b/meta/recipes-extended/bash/bash.inc
index 3684191..071d79e 100644
--- a/meta/recipes-extended/bash/bash.inc
+++ b/meta/recipes-extended/bash/bash.inc
@@ -11,7 +11,7 @@ inherit autotools gettext update-alternatives
PARALLEL_MAKE = ""
-EXTRA_OECONF = "--enable-job-control"
+EXTRA_OECONF = "--enable-job-control --without-gnu-malloc --enable-static-link"
export CC_FOR_BUILD = "${BUILD_CC}"
ALTERNATIVE_${PN} = "sh"
That seems to be working!
zImage starting: loaded at 0x00800000 (sp: 0x00d38fb0)
Allocating 0x540e0c bytes for kernel ...
gunzipping (0x00000000 <- 0x0080f000:0x00a17ddd)...done 0x4235c0 bytes
Attached initrd image at 0x00a18000-0x00d3797b
initrd head: 0x1f8b0808
Linux/PowerPC load: console=ttyS0,9600n8 ip=off root=/dev/ram rw rootwait init=/bash
Finalizing device tree... flat tree at 0xd450e0
PM: Adding info for No Bus:ttyv9
[ 0.473944] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 0.479429] 83e00000.serial: ttyS0 at MMIO 0x83e01003 (irq = 20) is a 16550
[ 0.674847] console [ttyS0] enabled
[ 0.738939] brd: module loaded
[ 0.785690] loop: module loaded
[ 0.823018] xsysace 83600000.sysace: Xilinx SystemACE revision 1.0.12
[ 0.899716] xsysace 83600000.sysace: No CF in slot
[ 0.958789] Xilinx SystemACE device driver, major=254
[ 1.019641] xilinx_emaclite 81000000.ethernet: Device Tree Probing
[ 1.093183] xilinx_emaclite 81000000.ethernet: error registering MDIO bus
[ 1.174263] xilinx_emaclite 81000000.ethernet: MAC address is now 00:0a:35:b7:78:00
[ 1.267929] xilinx_emaclite 81000000.ethernet: Xilinx EmacLite at 0x81000000 mapped to 0xD10A0000, irq=17
[ 1.382861] xilinx_ps2 81480000.ps2: Device Tree Probing 'ps2'
[ 1.452151] xilinx_ps2 81480000.ps2: Xilinx PS2 at 0x81480000 mapped to 0xd1036000, irq=22
[ 1.551544] xilinx_ps2 81481000.ps2: Device Tree Probing 'ps2'
[ 1.621222] xilinx_ps2 81481000.ps2: Xilinx PS2 at 0x81481000 mapped to 0xd1038000, irq=23
[ 1.721705] mousedev: PS/2 mouse device common for all mice
[ 1.789048] i2c /dev entries driver
[ 1.830824] Device Tree Probing 'i2c'
[ 1.874996] xilinx-iic #0 at 0x81600000 mapped to 0xD10C0000, irq=18
[ 1.952627] TCP cubic registered
[ 1.990531] NET: Registered protocol family 17
[ 2.786413] atkbd serio0: keyboard reset failed on xilinxps2/serio at 81480000
[ 3.270686] RAMDISK: gzip image found at block 0
[ 3.794609] input: AT Raw Set 2 keyboard as /devices/plb.0/xps-ps2.1/81481000.ps2/serio1/input/input0
[ 4.158841] VFS: Mounted root (ext2 filesystem) on device 1:0.
[ 4.229004] Freeing unused kernel memory: 152k freed
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
bash-4.2#
I get a bash shell prompt with no issues.
Not sure at this moment, if it was the updates to gcc-4.7.2 that fixed the problem or if there is still a problem with the init scripts.
I'll try to switch back to a non-static bash, and try booting the core-image-minimal filesystem once again.
Best regards,
Elvis Dowson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120804/fc061a71/attachment.html>
More information about the yocto
mailing list