Testing Env: Host: Routerstationpro Kernel: Linux version 2.6.34.7-yocto-standard-00017-g2ec2eda Image location: http://autobuilder.pokylinux.org/milestone/20101218-1/qemu/qemurouterstationpro/vmlinux-2.6.34+git0+50ccd2b3213b6a1bacb3f898c035119802dac420_0+2ec2edaf256dd8500ee3d4763fee6ca3ecd6da4b-r0-routerstationpro-20101219134731.bin I set a kernel cmdline in redboot, in order to get a static ip ############# RedBoot> RedBoot> fconfig -l Network hardware address [MAC]: 0x00:0x15:0x6D:0xC5:0xC3:0xAB Run script at boot: true Boot script: .. load -v vlm-boards/19256/kernel -h 128.224.178.20 .. exec -c "console=ttyS0,115200 root=/dev/nfs rw nfsroot=128.224.178.20:/export/pxeboot/vlm-boards/19256/rootfs ip=128.224.178.128:128.224.178.20:128.224.178.1:255.255.254.0::eth0:off" Boot script timeout (1000ms resolution): 5 Use BOOTP for network configuration: false Gateway IP address: 128.224.178.1 Local IP address: 128.224.178.128 Local IP address mask: 255.255.254.0 Default server IP address: 128.224.178.20 Console baud rate: 115200 GDB connection port: 9000 Force console for special debug messages: false Network debug at boot time: false RedBoot> ############# but it is not available when boot up routerstation hardware with this kernel ############# root@routerstationpro:~# uname -a Linux routerstationpro 2.6.34.7-yocto-standard-00017-g2ec2eda #1 Sun Dec 19 05:46:34 PST 2010 mips GNU/Linux root@routerstationpro:~# root@routerstationpro:~# cat /proc/cmdline console=ttyS0,115200 root=/dev/nfs rw nfsroot=128.224.178.20:/export/pxeboot/vlm-boards/19255/rootfs ip=dhcp board=UBNT-RSPRO ############# more info: ############# readelf -x .init.data vmlinux-2.6.34+git0+50ccd2b3213b6a1bacb3f898c035119802dac420_0+2ec2edaf256dd8500ee3d4763fee6ca3ecd6da4b-r0-routerstationpro-20101219134731.bin |grep "vlm" 0x80466888 00000000 00000000 00000000 00000000 ................ 0x80466898 00000000 636f6e73 6f6c653d 74747953 ....console=ttyS 0x804668a8 302c3131 35323030 20726f6f 743d2f64 0,115200 root=/d 0x804668b8 65762f6e 66732072 77206e66 73726f6f ev/nfs rw nfsroo 0x804668c8 743d3132 382e3232 342e3137 382e3230 t=128.224.178.20 0x804668d8 3a2f6578 706f7274 2f707865 626f6f74 :/export/pxeboot 0x804668e8 2f766c6d 2d626f61 7264732f 31393235 /vlm-boards/1925 0x804668f8 352f726f 6f746673 2069703d 64686370 5/rootfs ip=dhcp 0x80466908 20626f61 72643d55 424e542d 52535052 board=UBNT-RSPR 0x80466918 4f000000 00000000 00000000 00000000 O............... ################ The kernel uses incorrect cmdline.
Same issue in nightly build 20101225: http://autobuilder.pokylinux.org/nightly/20101225-1/qemu/qemurouterstationpro/vmlinux-2.6.34+git0+50ccd2b3213b6a1bacb3f898c035119802dac420_0+2ec2edaf256dd8500ee3d4763fee6ca3ecd6da4b-r1-routerstationpro-20101226172534.bin
kernel config update to fix this. working on it.
This defect is fixed on http://autobuilder.pokylinux.org/nightly/20110114-1/machines/routerstationpro/mips/, gitinfo: commit d38ad3271829b2d282c973e69edd265ef52174c8 routerstationpro login: root login[253]: root login on `ttyS0' root@routerstationpro:~# uname -a Linux routerstationpro 2.6.37-yocto-standard-00332-g2ebf057 #1 Sat Jan 15 16:39:58 PST 2011 mips GNU/Linux root@routerstationpro:~# root@routerstationpro:~# cat /proc/cmdline console=ttyS0,115200 root=/dev/nfs rw nfsroot=128.224.178.20:/export/pxeboot/vlm-boards/19256/rootfs ip=128.224.178.128:128.224.178.20:128.224.178.1:255.255.254.0::eth0:off board=UBNT-RSPRO board=RouterStation PRO ethaddr=00.15.6d.c5.c3.ab
VERIFIED it.