Met problem on porting Ubuntu 12.04 Beta 1 to Marvell Amanda XP

Zhangxiaofeng victor.zhangxiaofeng at huawei.com
Fri Mar 23 00:51:06 UTC 2012


I met some problem on porting ubuntu 12.04 beta 1 to Marvell Amanda XP development board

Uboot: From Marvell
Kernel Image: From Marvell(Linux 3.0.6)
Rootfs: Move from ubuntu-12.04-beta1-preinstalled-server-armhf+omap4.img.gz(img2)
Debug output: Serial ttyS0
Uboot command as below:
tftp 0x2000000 uImage;
setenv bootargs noinitrd root=/dev/nfs rw nfsroot=128.5.180.38:/opt/Marvell/bootfs console=ttyS0,115200 ip=128.5.160.131:128.5.180.38:128.5.160.254:255.255.255.0::eth0:off
bootm 0x2000000

Serial output as below, hang after freeing init memory:200K:
ata2.00: ATA-8: WDC WD1600BEKT-00PVMT0, 01.01A01, max UDMA/133
ata2.00: 312581808 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata2.00: configured for UDMA/133
scsi 1:0:0:0: Direct-Access     ATA      WDC WD1600BEKT-0 01.0 PQ: 0 ANSI: 5
sd 1:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1 sda2
sd 1:0:0:0: [sda] Attached SCSI disk
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
VFS: Mounted root (nfs filesystem) on device 0:15.
Freeing init memory: 200K

Firstly I suspect that ubuntu12.04 has no serial debug output, so I tried two modification as below, but with no improvement:

(1)    modify the /etc/init/tty6.conf change the line on the bottom to "exec /sbin/getty -8 115200 ttyS0"

(2)    create

/etc/init/ttyS0.conf

# ttyS0 - getty

#

# This service maintains a getty on ttyS0 from the point the system is

# started until it is shut down again.

start on stopped rc RUNLEVEL=[2345]

stop on runlevel [!2345]

  respawn

  exec /sbin/getty -8 115200 ttyS0



Anybody can give some advise?


Victor Zhang
victor dot zhangxiaofeng at huawei dot com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-server-arm/attachments/20120323/2dba89b2/attachment.html>


More information about the Ubuntu-server-arm mailing list