RE: [U-Boot-Users] Start up problem with PPCboot 1.2.0

Hi again, I solved the problem by flashing the two other boards with PPCboot 1.1.6 , now everything works fine.
After 1.1.6 I will go for the u-boot distribution.
Thanks // Matias
-------------------------------------------------------
-----Original Message----- From: Matias Sundman (TB/EAB) Sent: den 14 augusti 2003 13:58 To: u-boot-users Cc: 'matias.sundman@sundmangroup.com' Subject: [U-Boot-Users] Start up problem with PPCboot 1.2.0
Comrades, I have three BMW (WhiteKnight) boards from Broadcom.
In one of them PPCboot 1.1.6 is used and everything works fine, but on one of the others I have PPCboot 1.2.0 and I never get passed the ,
IP-Config: Incomplete network configuration information....
I thought the bootargs parameter should supply the Linux kernel with it's parameters,
bootargs=root=/dev/nfs rw nfsroot=130.100.50.56:/tftpboot/130.100.50.55 ip=130.1 00.50.55:130.100.50.56::255.255.255.0:::off
It seems to work on the 1.1.6 version though, can someone advice me what to try next?
Below you can see the start-up attempt and all the environment variables used/set.
Regards // Matias
----------------------------------------------------------------------------------
PPCBoot 1.2.0 (Feb 5 2003 - 17:02:59)
CPU: MPC8245 Revision 16.20 at 198 MHz: 16 kB I-Cache 16 kB D-Cache Board: BMW MPC8245/KAHLUA2 - CHRP (MAP B) Built: Feb 27 2003 at 14:29:08 Local Bus at 100 MHz DRAM: 64 MB FLASH: 1 MB DiskOnChip(TM): 32MB found at address 0xff000000 In: serial Out: serial Err: serial Hit any key to stop autoboot: 0
Broadcom BCM5703 1000Base-T: bus 0, device 13, function 0: MBAR=0x80100000 BCM570x PCI Memory base address @0x80100000 eth0: Broadcom BCM5703 1000Base-T @0x80100000,node addr 0010188201a1 eth0: BCM5700 with Broadcom BCM5703 Integrated Copper transceiver found eth0: 32-bit PCI 33MHz, MTU: 1500,Rx Checksum ON ARP broadcast 1 eth0:Broadcom BCM5703 1000Base-T: 10 Mbps half duplex link up, flow control OFF TFTP from server 130.100.50.56; our IP address is 130.100.50.55 Filename 'pSystem'. Load address: 0x400000 Loading: ################################################################# ################################################## done Bytes transferred = 584472 (8eb18 hex)
eth0:Broadcom BCM5703 1000Base-T,HALT,POWER DOWN,done - offline. ## Booting image at 00400000 ... Image Name: Linux-2.4.18_mvl30-lvl7 Created: 2003-07-18 9:29:45 UTC Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 584408 Bytes = 570 kB = 0 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb Linux version 2.4.18_mvl30-lvl7 (uabtrg@RedHatServer) (gcc version 3.2.1 2002093 0 (MontaVista)) #1 Fri Jul 18 11:24:13 CEST 2003 Broadcom BMW Fast Ethernet Routing Switch BMW port (C) 2003 LVL7 Systems, Inc. (linville@lvl7.com) On node 0 totalpages: 16384 zone(0): 16384 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: OpenPIC Version 1.2 (1 CPUs and 139 IRQ sources) at fc040000 time_init: decrementer frequency = 24.750000 MHz Calibrating delay loop... 131.89 BogoMIPS Memory: 63088k available (1008k kernel code, 328k data, 72k init, 0k highmem) Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes) Inode-cache hash table entries: 4096 (order: 3, 32768 bytes) Mount-cache hash table entries: 1024 (order: 1, 8192 bytes) Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes) Page-cache hash table entries: 16384 (order: 4, 65536 bytes) POSIX conformance testing by UNIFIX PCI: Probing PCI hardware Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Starting kswapd Disabling the Out Of Memory Killer Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI en abled ttyS00 at 0xfc004500 (irq = 137) is a ST16650 ttyS01 at 0xfc004600 (irq = 138) is a ST16650 block: 128 slots per queue, batch=32 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Universal TUN/TAP device driver 1.4 (C)1999-2001 Maxim Krasnyansky MTD driver for BMW. Written by John W. Linville linville@lvl7.com bmw: Probing for BMW flash configuration... bmw: Found no BMW compatible flash configuration... Macintosh non-volatile memory driver v1.0 Broadcom Gigabit Ethernet Driver bcm5700 ver. 3.0.7 (07/17/02) eth0: Broadcom BCM5703 1000Base-T found at mem bfff0000, IRQ 17, node addr 00101 88201a1 eth0: Broadcom BCM5703 Integrated Copper transceiver found eth0: Scatter-gather OFF, 64-bit DMA OFF, Tx Checksum ON, Rx Checksum ON NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 8192) IP-Config: Incomplete network configuration information. NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. Root-NFS: No NFS server available, giving up. VFS: Unable to mount root fs via NFS, trying floppy. VFS: Cannot open root device "" or 02:00 Please append a correct "root=" boot option Kernel panic: VFS: Unable to mount root fs on 02:00
=>printenv baudrate=9600 clocks_in_mhz=1 ethaddr=00:10:18:82:01:A1 lan_ifname=bcm0 lan_ifnames= lan_hwnames= lan_hwaddr= wan_ifname=eth0 wan_hwname= timer_interval=3600 ntp_server= log_level=0 time_zone=PST8PDT upnp_enable=0 os_server=http://router:kilroy@64.162.141.122 stats_server=http://router:kilroy@64.162.141.122/cgi-bin/stats.pl console_loglevel=7 lan_proto=dhcp lan_ipaddr=192.168.1.1 lan_netmask=255.255.255.0 lan_stp=0 wan_hostname= wan_domain= static_route= filter_ip= filter_tcp= filter_udp= filter_mac= forward_tcp= forward_udp= dmz_ipaddr= http_username=router http_passwd=kilroy http_wanport=8080 http_lanport=80 pppoe_ifname= pppoe_username= pppoe_passwd= pppoe_idletime=60 pppoe_keepalive=0 pppoe_demand=0 pppoe_mru=1500 pppoe_mtu=1500 wl_ssid=Broadcom wl_country=USA wl_closed=0 wl_wep=off wl_auth=0 wl_key=1 wl_key1= wl_key2= wl_key3= wl_key4= wl_mac= wl_macmode=allow d11b_channel=11 d11b_rate=0 d11b_rateset=default d11b_frag=2346 d11b_rts=2347 d11b_dtim=3 d11b_bcn=100 d11b_plcphdr=long d11a_channel=64 d11a_rate=0 d11a_rateset=default d11a_frag=2346 d11a_rts=2347 d11a_dtim=3 d11a_bcn=100 d11g_channel=11 d11g_rate=0 d11g_rateset=default d11g_frag=2346 d11g_rts=2347 d11g_dtim=3 d11g_bcn=100 restore_defaults=0 wan_dns=130.100.241.150 130.100.76.22 130.100.76.32 wan_wins=147.214.112.67 153.88.193.201 wan_lease=604800 wan_ipaddr=0.0.0.0 wan_netmask=0.0.0.0 wan_gateway=0.0.0.0 os_name=linux os_version=2.4.19-rc3 filesize=25994a dhcp_start=130.100.50.56 dhcp_end=130.100.50.56 gw=255.255.255.255 nfsroot=130.100.50.56:/tftpboot/130.100.50.55 root=/dev/nfs rw bootdelay=5 bootfile=pSystem netmask=255.255.255.0 ipaddr=130.100.50.55 serverip=130.100.50.56 rootpath=/tftpboot/130.100.50.55 bootcmd=tftpboot 00400000 ; bootm bootargs=root=/dev/nfs rw nfsroot=130.100.50.56:/tftpboot/130.100.50.55 ip=130.1 00.50.55:130.100.50.56::255.255.255.0:::off stdin=serial stdout=serial stderr=serial
Environment size: 1903/8172 bytes =>
------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users

Dear Matias,
in message 76E5F712842F5F49A35738622BAA0F4FDC4393@ESEALNT442.al.sw.ericsson.se you wrote:
I solved the problem by flashing the two other boards with PPCboot 1.1.6 , now everything works fine.
Argh... that was NOT necessary.
Sorry that I didn;t find the time to reply earlier.
After 1.1.6 I will go for the u-boot distribution.
You should do that anyway.
But it is even more important that you understand that it was a user error that prevented your board from booting as expected:
I thought the bootargs parameter should supply the Linux kernel with it's parameters,
bootargs=root=/dev/nfs rw nfsroot=130.100.50.56:/tftpboot/130.100.50.55 ip=130.1 00.50.55:130.100.50.56::255.255.255.0:::off
I doubt that this was the actual setting of the "bootargs" variable:
Linux version 2.4.18_mvl30-lvl7 (uabtrg@RedHatServer) (gcc version 3.2.1 2002093 0 (MontaVista)) #1 Fri Jul 18 11:24:13 CEST 2003 Broadcom BMW Fast Ethernet Routing Switch BMW port (C) 2003 LVL7 Systems, Inc. (linville@lvl7.com) On node 0 totalpages: 16384 zone(0): 16384 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Here you can see that ABSOLUTELY NO arguments were passed to the Linux kernel. This makes me believe that you did NOT set "bootargs" at all.
...
=>printenv baudrate=9600 clocks_in_mhz=1 ethaddr=00:10:18:82:01:A1 lan_ifname=bcm0 lan_ifnames=
Such a setting "cannot happen". If you attemot to set a variable to an empty string this means the variable is deleted from the environment.
lan_hwnames= lan_hwaddr= wan_ifname=eth0 wan_hwname= timer_interval=3600 ntp_server= log_level=0 time_zone=PST8PDT upnp_enable=0 os_server=http://router:kilroy@64.162.141.122 stats_server=http://router:kilroy@64.162.141.122/cgi-bin/stats.pl console_loglevel=7 lan_proto=dhcp lan_ipaddr=192.168.1.1 lan_netmask=255.255.255.0 lan_stp=0 wan_hostname= wan_domain= static_route= filter_ip= filter_tcp= filter_udp= filter_mac= forward_tcp= forward_udp= dmz_ipaddr= http_username=router http_passwd=kilroy http_wanport=8080 http_lanport=80 pppoe_ifname= pppoe_username= pppoe_passwd= pppoe_idletime=60 pppoe_keepalive=0 pppoe_demand=0 pppoe_mru=1500 pppoe_mtu=1500 wl_ssid=Broadcom wl_country=USA wl_closed=0 wl_wep=off wl_auth=0 wl_key=1 wl_key1= wl_key2= wl_key3= wl_key4= wl_mac= wl_macmode=allow d11b_channel=11 d11b_rate=0 d11b_rateset=default d11b_frag=2346 d11b_rts=2347 d11b_dtim=3 d11b_bcn=100 d11b_plcphdr=long d11a_channel=64 d11a_rate=0 d11a_rateset=default d11a_frag=2346 d11a_rts=2347 d11a_dtim=3 d11a_bcn=100 d11g_channel=11 d11g_rate=0 d11g_rateset=default d11g_frag=2346 d11g_rts=2347 d11g_dtim=3 d11g_bcn=100 restore_defaults=0 wan_dns=130.100.241.150 130.100.76.22 130.100.76.32 wan_wins=147.214.112.67 153.88.193.201 wan_lease=604800 wan_ipaddr=0.0.0.0 wan_netmask=0.0.0.0 wan_gateway=0.0.0.0 os_name=linux os_version=2.4.19-rc3 filesize=25994a dhcp_start=130.100.50.56 dhcp_end=130.100.50.56 gw=255.255.255.255 nfsroot=130.100.50.56:/tftpboot/130.100.50.55 root=/dev/nfs rw bootdelay=5 bootfile=pSystem netmask=255.255.255.0 ipaddr=130.100.50.55 serverip=130.100.50.56 rootpath=/tftpboot/130.100.50.55 bootcmd=tftpboot 00400000 ; bootm bootargs=root=/dev/nfs rw nfsroot=130.100.50.56:/tftpboot/130.100.50.55 ip=130.1 00.50.55:130.100.50.56::255.255.255.0:::off stdin=serial stdout=serial stderr=serial
Environment size: 1903/8172 bytes =>
All these empty variable values are "impossible". The only way such a thing can happen is that there are some unprintable characters (like terminal escape sequences) embedded.
I can only speculate, but I am 99.99% sure that you used (or tried to use) cursor keys etc. when entering the environment, therefore entering a lot of invalid characters.
The same must be the case for the bootargs variable - I bet there are some unprintable characters embedded in the vaiable name, so it does not get recognized when booting the Linux kernel. You can verify this by typing "printenv bootargs" - I bet a case of beer that the variable will not be found. Or somebody meddled badly with the envrionemtn processing code.
Best regards,
Wolfgang Denk
participants (2)
-
Matias Sundman (TB/EAB)
-
Wolfgang Denk