Hi all,

A new ROACH-1 board was working fine till yesterday night. In the morning I am trying to boot the board using autoboot mode following error has occurred. Where I could able to login into the solo boot sequence and trying to edit the /etc/network/interfaces file . But no such file is there . Should I create manually then I have to connect ?

The Board is new one came to replace old one which is not at all booting.


Experts please suggest how to go about this..

Bellow is the sequence of both auto boot mode and solo boot mode ....


++++++++++++++++++ auto boot sequence +++++++++++++++++++++++++++++++++++++

U-Boot 2008.10-svn3231 (Jul 15 2010 - 14:58:38)

CPU: AMCC PowerPC 440EPx Rev. A at 533.333 MHz (PLB=133, OPB=66, EBC=66 MHz)
       No Security/Kasumi support
       Bootstrap Option C - Boot ROM Location EBC (16 bits)
       32 kB I-Cache 32 kB D-Cache
Board: Roach
I2C:   ready
DTT:   1 is 24 C
DRAM:  (spd v1.3) dram: notice: ecc ignored
 1 GB
FLASH: 64 MB
USB:   Host(int phy) Device(ext phy)
Net:   ppc_4xx_eth0

Roach Information
Serial Number:    040524
Monitor Revision: 10.1.1843
CPLD Revision:    8.0.1588

type run netboot to boot via dhcp+tftp+nfs
type run soloboot to run from flash without network
type run mmcboot to boot using filesystem on mmc/sdcard
type run usbboot to boot using filesystem on usb
type run bit to run tests

Hit any key to stop autoboot:  0
WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at fc000000 ...
   Image Name:   Linux-2.6.25-svn2382-dirty3
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1399105 Bytes =  1.3 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
id mach(): done
MMU:enter
MMU:hw init
MMU:mapin
MMU:setio
MMU:exit
setup_arch: enter
setup_arch: bootmem
ocp: exit
arch: exit
Linux version 2.6.25-svn2382-dirty3 (marc@seif) (gcc version 4.0.0 (DENX ELDK 4.0 4.0.0)) #23 Tue Nov 10 15:30:48 SAST 2009
AMCC PowerPC 440EPx Roach Platform
Zone PFN ranges:
  DMA             0 ->   262143
  Normal     262143 ->   262143
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0:        0 ->   262143
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
Kernel command line: console=ttyS0,115200 mtdparts=physmap-flash.0:1792k(linux),256k@0x1c0000(fdt),8192k@0x200000(root),54656k@0xa00000(usr),256k@0x3f60000(env),384k@0x3fa0000(uboot)fdt_addr=0xfc1c0000 root=b301 rw rootdelay=1
PID hash table entries: 4096 (order: 12, 16384 bytes)
console [ttyS0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1036416k available (2092k kernel code, 728k data, 132k init, 0k highmem)
Mount-cache hash table entries: 512
BORPH version CVS-$Revision: 1.10 $ Initialized
net_namespace: 152 bytes
NET: Registered protocol family 16

PCI: Probing PCI hardware
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
hwrtype_roach version CVS-$Revision: 1.1 $ registered
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
io scheduler noop registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 0) is a 16550A
serial8250: ttyS1 at MMIO 0x0 (irq = 1) is a 16550A
serial8250: ttyS2 at MMIO 0x0 (irq = 35) is a 16550A
serial8250: ttyS3 at MMIO 0x0 (irq = 36) is a 16550A
brd: module loaded
PPC 4xx OCP EMAC driver, version 3.54
mal0: initialized, 2 TX channels, 2 RX channels
rgmii0: input 0 in RGMII mode
eth0: emac0, MAC 02:00:00:04:05:24
eth0: found Generic MII PHY (0x1e)
rgmii0: input 1 in RGMII mode
emac1: can't find PHY!
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
Driver 'sd' needs updating - please use bus_type methods
physmap platform flash device: 04000000 at fc000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.0: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
mtd: bad character after partition (f)
6 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 6 MTD partitions on "physmap-flash.0":
0x00000000-0x001c0000 : "linux"
0x001c0000-0x00200000 : "fdt"
0x00200000-0x00a00000 : "root"
0x00a00000-0x03f60000 : "usr"
0x03f60000-0x03fa0000 : "env"
0x03fa0000-0x04000000 : "uboot"
ppc-soc-ehci ppc-soc-ehci.0: PPC-SOC EHCI
ppc-soc-ehci ppc-soc-ehci.0: new USB bus registered, assigned bus number 1
ppc-soc-ehci ppc-soc-ehci.0: irq 26, io mem 0xe0000300
ppc-soc-ehci ppc-soc-ehci.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: PPC-SOC EHCI
usb usb1: Manufacturer: Linux 2.6.25-svn2382-dirty3 ehci_hcd
usb usb1: SerialNumber: PPC-SOC EHCI
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
i2c /dev entries driver
IBM IIC driver v2.1
ibm-iic0: using standard (100 kHz) mode
ibm-iic1: using standard (100 kHz) mode
rmon: found Roach Monitor - Rev 10.1.1843
rmon_sensors: initialized 23 sensors
rmon 0-000f: rtc core: registered rmon as rtc0
roach_mmc: Roach MMC/SD driver
rmmc: initialized mmc
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rmon 0-000f: setting system clock to 2075-02-17 04:52:22 UTC (3317604742)
Waiting 1sec before mounting root device...
VFS: Cannot open root device "b301" or unknown-block(179,1)
Please append a correct "root=" boot option; here are the available partitions:
0100       4096 ram0 (driver?)
0101       4096 ram1 (driver?)
0102       4096 ram2 (driver?)
0103       4096 ram3 (driver?)
0104       4096 ram4 (driver?)
0105       4096 ram5 (driver?)
0106       4096 ram6 (driver?)
0107       4096 ram7 (driver?)
0108       4096 ram8 (driver?)
0109       4096 ram9 (driver?)
010a       4096 ram10 (driver?)
010b       4096 ram11 (driver?)
010c       4096 ram12 (driver?)
010d       4096 ram13 (driver?)
010e       4096 ram14 (driver?)
010f       4096 ram15 (driver?)
1f00       1792 mtdblock0 (driver?)
1f01        256 mtdblock1 (driver?)
1f02       8192 mtdblock2 (driver?)
1f03      54656 mtdblock3 (driver?)
1f04        256 mtdblock4 (driver?)
1f05        384 mtdblock5 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,1)
Rebooting in 180 seconds..




++++++++++++++++++++++++++++++ auto boot sequence ends ++++++++++++++++++++++++++++++



++++++++++++++++++++++++++++++ Solo boot sequence starts ++++++++++++++++++++++++++++++
U-Boot 2008.10-svn3231 (Jul 15 2010 - 14:58:38)

CPU: AMCC PowerPC 440EPx Rev. A at 533.333 MHz (PLB=133, OPB=66, EBC=66 MHz)
       No Security/Kasumi support
       Bootstrap Option C - Boot ROM Location EBC (16 bits)
       32 kB I-Cache 32 kB D-Cache
Board: Roach
I2C:   ready
DTT:   1 is 24 C
DRAM:  (spd v1.3) dram: notice: ecc ignored
 1 GB
FLASH: 64 MB
USB:   Host(int phy) Device(ext phy)
Net:   ppc_4xx_eth0

Roach Information
Serial Number:    040524
Monitor Revision: 10.1.1843
CPLD Revision:    8.0.1588

type run netboot to boot via dhcp+tftp+nfs
type run soloboot to run from flash without network
type run mmcboot to boot using filesystem on mmc/sdcard
type run usbboot to boot using filesystem on usb
type run bit to run tests

Hit any key to stop autoboot:  0
=> run soloboot
WARNING: adjusting available memory to 30000000
## Booting kernel from Legacy Image at fc000000 ...
   Image Name:   Linux-2.6.25-svn2382-dirty3
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1399105 Bytes =  1.3 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
id mach(): done
MMU:enter
MMU:hw init
MMU:mapin
MMU:setio
MMU:exit
setup_arch: enter
setup_arch: bootmem
ocp: exit
arch: exit
Linux version 2.6.25-svn2382-dirty3 (marc@seif) (gcc version 4.0.0 (DENX ELDK 4.0 4.0.0)) #23 Tue Nov 10 15:30:48 SAST 2009
AMCC PowerPC 440EPx Roach Platform
Zone PFN ranges:
  DMA             0 ->   262143
  Normal     262143 ->   262143
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0:        0 ->   262143
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
Kernel command line: console=ttyS0,115200 mtdparts=physmap-flash.0:1792k(linux),256k@0x1c0000(fdt),8192k@0x200000(root),54656k@0xa00000(usr),256k@0x3f60000(env),384k@0x3fa0000(uboot)fdt_addr=0xfc1c0000 root=/dev/mtdblock2
PID hash table entries: 4096 (order: 12, 16384 bytes)
console [ttyS0] enabled
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1036416k available (2092k kernel code, 728k data, 132k init, 0k highmem)
Mount-cache hash table entries: 512
BORPH version CVS-$Revision: 1.10 $ Initialized
net_namespace: 152 bytes
NET: Registered protocol family 16

PCI: Probing PCI hardware
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
hwrtype_roach version CVS-$Revision: 1.1 $ registered
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
io scheduler noop registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 0) is a 16550A
serial8250: ttyS1 at MMIO 0x0 (irq = 1) is a 16550A
serial8250: ttyS2 at MMIO 0x0 (irq = 35) is a 16550A
serial8250: ttyS3 at MMIO 0x0 (irq = 36) is a 16550A
brd: module loaded
PPC 4xx OCP EMAC driver, version 3.54
mal0: initialized, 2 TX channels, 2 RX channels
rgmii0: input 0 in RGMII mode
eth0: emac0, MAC 02:00:00:04:05:24
eth0: found Generic MII PHY (0x1e)
rgmii0: input 1 in RGMII mode
emac1: can't find PHY!
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
Driver 'sd' needs updating - please use bus_type methods
physmap platform flash device: 04000000 at fc000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.0: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
mtd: bad character after partition (f)
6 cmdlinepart partitions found on MTD device physmap-flash.0
Creating 6 MTD partitions on "physmap-flash.0":
0x00000000-0x001c0000 : "linux"
0x001c0000-0x00200000 : "fdt"
0x00200000-0x00a00000 : "root"
0x00a00000-0x03f60000 : "usr"
0x03f60000-0x03fa0000 : "env"
0x03fa0000-0x04000000 : "uboot"
ppc-soc-ehci ppc-soc-ehci.0: PPC-SOC EHCI
ppc-soc-ehci ppc-soc-ehci.0: new USB bus registered, assigned bus number 1
ppc-soc-ehci ppc-soc-ehci.0: irq 26, io mem 0xe0000300
ppc-soc-ehci ppc-soc-ehci.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: PPC-SOC EHCI
usb usb1: Manufacturer: Linux 2.6.25-svn2382-dirty3 ehci_hcd
usb usb1: SerialNumber: PPC-SOC EHCI
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
i2c /dev entries driver
IBM IIC driver v2.1
ibm-iic0: using standard (100 kHz) mode
ibm-iic1: using standard (100 kHz) mode
rmon: found Roach Monitor - Rev 10.1.1843
rmon_sensors: initialized 23 sensors
rmon 0-000f: rtc core: registered rmon as rtc0
roach_mmc: Roach MMC/SD driver
rmmc: initialized mmc
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
rmon 0-000f: setting system clock to 2074-10-17 07:10:02 UTC (3306985802)
VFS: Mounted root (romfs filesystem) readonly.
Freeing unused kernel memory: 132k init
init started: BusyBox v1.10.1 (2009-01-16 09:31:43 SAST)
starting pid 173, tty '': '/etc/init.d/rcS'
mount: mounting /dev/sda1 on /mnt/disk failed: No such device or address
tcpborphserver: bof path:       /bof
tcpborphserver: dev path:       <not set>
tcpborphserver: fpga number:    0
tcpborphserver: listening port: 7147
rc: started borph server
rc: you can log in as root
rc:
roach login: root
login[186]: root login on 'ttyS0'
# ls
# cd //
# ls
bin   bof   dev   etc   lib   mnt   proc  root  sbin  sys   tmp usr   var
# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

# ifup eth0
-sh: ifup: not found
# ls
bin   bof   dev   etc   lib   mnt   proc  root  sbin  sys   tmp usr   var
# ifconfig
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



--
Thanks and regards
______________________
Indrajit Vittal Barve

Engineer,
Radio Astronomy Group,
Indian Institute of Astrophysics,
Gauribidanur.
Pin : 561210
Mobile : +91-9845432754.
Office : +91-8155291655.

Reply via email to