Re: [casper] Roach1 not working

2015-05-11 Thread Nishanth Shivashankaran
Hi David,

   It gives me this result.

/home/nfs/roach1/boot

192.168.70.0/24(rw,wdelay,no_root_squash,sec=sys,rw,no_root_squash,no_all_squash)

thanks
Nishanth


On Sun, May 10, 2015 at 7:59 PM, David MacMahon 
wrote:

> Hi, Nishanth,
>
> On May 10, 2015, at 11:41 AM, Nishanth Shivashankaran wrote:
>
> > IP-Config: Got DHCP answer from 192.168.70.1, my address is 192.168.70.9
> > IP-Config: Complete:
> >  device=eth0, addr=192.168.70.9, mask=255.255.255.0,
> gw=255.255.255.255,
> >  host=192.168.70.9, domain=, nis-domain=(none),
> >  bootserver=192.168.70.1, rootserver=192.168.70.1,
> rootpath=/home/nfs/roach1/current,nolock
> > Looking up port of RPC 13/2 on 192.168.70.1
> > Looking up port of RPC 15/1 on 192.168.70.1
> > Root-NFS: Server returned error -13 while mounting
> /home/nfs/roach1/current
>
> When you are logged into the 192.168.70.1 server, what does "sudo exportfs
> -v" show?
>
> Dave
>
>


-- 
Nishanth Shivashankaran
Arizona State University
Phone:-480-246-6866
Email:nshiv...@asu.edu


Re: [casper] Roach1 not working

2015-05-10 Thread David MacMahon
Hi, Nishanth,

On May 10, 2015, at 11:41 AM, Nishanth Shivashankaran wrote:

> IP-Config: Got DHCP answer from 192.168.70.1, my address is 192.168.70.9
> IP-Config: Complete:
>  device=eth0, addr=192.168.70.9, mask=255.255.255.0, gw=255.255.255.255,
>  host=192.168.70.9, domain=, nis-domain=(none),
>  bootserver=192.168.70.1, rootserver=192.168.70.1, 
> rootpath=/home/nfs/roach1/current,nolock
> Looking up port of RPC 13/2 on 192.168.70.1
> Looking up port of RPC 15/1 on 192.168.70.1
> Root-NFS: Server returned error -13 while mounting /home/nfs/roach1/current

When you are logged into the 192.168.70.1 server, what does "sudo exportfs -v" 
show?

Dave




Re: [casper] Roach1 not working

2015-05-10 Thread Nishanth Shivashankaran
Hi All,


   I set the link to 100MBPS as well as 10mbps and tried its giving me the
same result.

thanks.
Nishanth

Here is the screen shot



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 FAILED INIT
DRAM:  (spd v1.2) dram: notice: ecc ignored
 1 GB
FLASH: 64 MB
USB:   Host(int phy) Device(ext phy)
Net:   ppc_4xx_eth0

Roach Information
Serial Number:040114
Monitor Revision: 8.3.1698
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
Waiting for PHY auto negotiation to complete.. done
ENET Speed is 10 Mbps - FULL duplex connection (EMAC0)
BOOTP broadcast 1
*** Unhandled DHCP Option in OFFER/ACK: 28
*** Unhandled DHCP Option in OFFER/ACK: 28
DHCP client bound to address 192.168.70.9
Using ppc_4xx_eth0 device
TFTP from server 192.168.70.1; our IP address is 192.168.70.9
Filename 'uImage'.
Load address: 0x40
Loading: #
 ##
done
Bytes transferred = 1390149 (153645 hex)
WARNING: adjusting available memory to 3000
## Booting kernel from Legacy Image at 0040 ...
   Image Name:   Linux-2.6.25-svn3489
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:1390085 Bytes =  1.3 MB
   Load Address: 
   Entry Point:  
   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-svn3489 (dave@lapster) (gcc version 4.2.2) #6 Fri Aug
12 09:36:28 SAST 2011
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@0x1c(fdtp
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 (2084k kernel code, 720k 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:01:14
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 
Driver 'sd' needs updating - please use bus_type methods
physmap platform flash device: 0400 at fc00
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":
0x-0x001c : "linux"
0x001c-0x0020 : "fdt"
0x0020-0x00a0 : "root"
0x00a0-0x03f6 : "usr"
0x03f6-0x03fa : "env"
0x03fa-0x0400 : "uboot"
ppc-soc-ohci ppc-soc-ohci.0: USB Host Controller
ppc-soc-ohci ppc-soc-ohci.0: new USB bus registered, assigned bus number 1
ppc-soc-ohci ppc-soc-oh

Re: [casper] Roach1 not working

2015-05-08 Thread 李健
!?!?
--
这是通过Aico Mail手机客户端发送的邮件。Aico Mail旨在丰富人们的沟通与生活,提供全新的移动办公体验。

John Ford 写到:

Hi. error 13 is permission denied. Probably your exports file isn't quite 
right. Note that you have to allow root permission on the mount. Something like 
this should be in /etc/exports: /home/nfs/roach1/current 
192.168.40.0/24(sync,rw,no_root_squash) John > Hi All, > > I used the usb 
wriggler and ito load the bootloader and now I am seeing > data comming out of 
the serial terminal as before. > But the roach is still not booting properly. I 
am trying to boot the roach > through nfs boot and I am seeing this at the 
terminal. Please can any tell > me how to fix this error. > > Thanks > Nishanth 
> > 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 FAILED INIT 
> DRAM: (spd v1.2) dram: notice: ecc ignored > 1 GB > FLASH: 64 MB > USB: 
Host(int phy) Device(ext phy) > Net: ppc_4xx_eth0 > > Roach Information > 
Serial Number: 040114 > Monitor Revision: 8.3.1698 > 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 > Waiting for PHY auto negotiation to 
complete done > ENET Speed is 1000 Mbps - FULL duplex connection (EMAC0) > 
BOOTP broadcast 1 > *** Unhandled DHCP Option in OFFER/ACK: 28 > *** Unhandled 
DHCP Option in OFFER/ACK: 28 > DHCP client bound to address 192.168.40.8 > 
Using ppc_4xx_eth0 device > TFTP from server 192.168.40.1; our IP address is 
192.168.40.8 > Filename 'uImage'. > Load address: 0x40 > Loading: 
# > 
## > done > Bytes transferred = 1390149 (153645 
hex) > WARNING: adjusting available memory to 3000 > ## Booting kernel from 
Legacy Image at 0040 ... > Image Name: Linux-2.6.25-svn3489 > Image Type: 
PowerPC Linux Kernel Image (gzip compressed) > Data Size: 1390085 Bytes = 1.3 
MB > Load Address:  > Entry Point:  > 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-svn3489 (dave@lapster) (gcc 
version 4.2.2) #6 Fri Aug > 12 09:36:28 SAST 2011 > 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@0x1c(fdt),8192k@0x20 > 
(root),p > 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 (2084k kernel code, 720k 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:01:14 > 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 > Driver 'sd' needs updating - please use 
bus_type methods > physmap platform flash device: 0400 at fc00 > 
p

Re: [casper] Roach1 not working

2015-05-08 Thread G Jones
Note that for recursive, you need -R not -r

On Fri, May 8, 2015 at 3:55 PM, Nishanth Shivashankaran 
wrote:

> Hi All,
>
>Thanks for the reply. I have the exports set to
>
> /home/nfs/roach1/current   192.168.70.0/24(sync,rw,no_root_squash)
>
> and it did not work. I changed the permissions of all the files in the
> boot and current to chmod -r 777 and it still gives me the same error.
>
> thanks and regards,
> Nishanth
>
>
>
>
>
> On Fri, May 8, 2015 at 6:18 AM, John Ford  wrote:
>
>> Hi.
>>
>> error 13 is permission denied.  Probably your exports file isn't quite
>> right.  Note that you have to allow root permission on the mount.
>> Something like this should be in /etc/exports:
>>
>> /home/nfs/roach1/current 192.168.40.0/24(sync,rw,no_root_squash)
>>
>> John
>>
>>
>> > Hi All,
>> >
>> >I used the usb wriggler and ito load the bootloader and now I am
>> seeing
>> > data comming out of the serial terminal as before.
>> > But the roach is still not booting properly. I am trying to boot the
>> roach
>> > through nfs boot and I am seeing this at the terminal. Please can any
>> tell
>> > me how to fix this error.
>> >
>> > Thanks
>> > Nishanth
>> >
>> > 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 FAILED INIT
>> > DRAM:  (spd v1.2) dram: notice: ecc ignored
>> >  1 GB
>> > FLASH: 64 MB
>> > USB:   Host(int phy) Device(ext phy)
>> > Net:   ppc_4xx_eth0
>> >
>> > Roach Information
>> > Serial Number:040114
>> > Monitor Revision: 8.3.1698
>> > 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
>> > Waiting for PHY auto negotiation to complete done
>> > ENET Speed is 1000 Mbps - FULL duplex connection (EMAC0)
>> > BOOTP broadcast 1
>> > *** Unhandled DHCP Option in OFFER/ACK: 28
>> > *** Unhandled DHCP Option in OFFER/ACK: 28
>> > DHCP client bound to address 192.168.40.8
>> > Using ppc_4xx_eth0 device
>> > TFTP from server 192.168.40.1; our IP address is 192.168.40.8
>> > Filename 'uImage'.
>> > Load address: 0x40
>> > Loading:
>> #
>> >  ##
>> > done
>> > Bytes transferred = 1390149 (153645 hex)
>> > WARNING: adjusting available memory to 3000
>> > ## Booting kernel from Legacy Image at 0040 ...
>> >Image Name:   Linux-2.6.25-svn3489
>> >Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>> >Data Size:1390085 Bytes =  1.3 MB
>> >Load Address: 
>> >Entry Point:  
>> >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-svn3489 (dave@lapster) (gcc version 4.2.2) #6 Fri
>> Aug
>> > 12 09:36:28 SAST 2011
>> > 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@0x1c(fdt),8192k@0x20
>> > (root),p
>> > 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 (2084k kernel code, 720k 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

Re: [casper] Roach1 not working

2015-05-08 Thread Nishanth Shivashankaran
Hi All,

   Thanks for the reply. I have the exports set to

/home/nfs/roach1/current   192.168.70.0/24(sync,rw,no_root_squash)

and it did not work. I changed the permissions of all the files in the boot
and current to chmod -r 777 and it still gives me the same error.

thanks and regards,
Nishanth





On Fri, May 8, 2015 at 6:18 AM, John Ford  wrote:

> Hi.
>
> error 13 is permission denied.  Probably your exports file isn't quite
> right.  Note that you have to allow root permission on the mount.
> Something like this should be in /etc/exports:
>
> /home/nfs/roach1/current 192.168.40.0/24(sync,rw,no_root_squash)
>
> John
>
>
> > Hi All,
> >
> >I used the usb wriggler and ito load the bootloader and now I am
> seeing
> > data comming out of the serial terminal as before.
> > But the roach is still not booting properly. I am trying to boot the
> roach
> > through nfs boot and I am seeing this at the terminal. Please can any
> tell
> > me how to fix this error.
> >
> > Thanks
> > Nishanth
> >
> > 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 FAILED INIT
> > DRAM:  (spd v1.2) dram: notice: ecc ignored
> >  1 GB
> > FLASH: 64 MB
> > USB:   Host(int phy) Device(ext phy)
> > Net:   ppc_4xx_eth0
> >
> > Roach Information
> > Serial Number:040114
> > Monitor Revision: 8.3.1698
> > 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
> > Waiting for PHY auto negotiation to complete done
> > ENET Speed is 1000 Mbps - FULL duplex connection (EMAC0)
> > BOOTP broadcast 1
> > *** Unhandled DHCP Option in OFFER/ACK: 28
> > *** Unhandled DHCP Option in OFFER/ACK: 28
> > DHCP client bound to address 192.168.40.8
> > Using ppc_4xx_eth0 device
> > TFTP from server 192.168.40.1; our IP address is 192.168.40.8
> > Filename 'uImage'.
> > Load address: 0x40
> > Loading:
> #
> >  ##
> > done
> > Bytes transferred = 1390149 (153645 hex)
> > WARNING: adjusting available memory to 3000
> > ## Booting kernel from Legacy Image at 0040 ...
> >Image Name:   Linux-2.6.25-svn3489
> >Image Type:   PowerPC Linux Kernel Image (gzip compressed)
> >Data Size:1390085 Bytes =  1.3 MB
> >Load Address: 
> >Entry Point:  
> >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-svn3489 (dave@lapster) (gcc version 4.2.2) #6 Fri
> Aug
> > 12 09:36:28 SAST 2011
> > 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@0x1c(fdt),8192k@0x20
> > (root),p
> > 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 (2084k kernel code, 720k 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) i

Re: [casper] Roach1 not working

2015-05-08 Thread John Ford
Hi.

error 13 is permission denied.  Probably your exports file isn't quite
right.  Note that you have to allow root permission on the mount.
Something like this should be in /etc/exports:

/home/nfs/roach1/current 192.168.40.0/24(sync,rw,no_root_squash)

John


> Hi All,
>
>I used the usb wriggler and ito load the bootloader and now I am seeing
> data comming out of the serial terminal as before.
> But the roach is still not booting properly. I am trying to boot the roach
> through nfs boot and I am seeing this at the terminal. Please can any tell
> me how to fix this error.
>
> Thanks
> Nishanth
>
> 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 FAILED INIT
> DRAM:  (spd v1.2) dram: notice: ecc ignored
>  1 GB
> FLASH: 64 MB
> USB:   Host(int phy) Device(ext phy)
> Net:   ppc_4xx_eth0
>
> Roach Information
> Serial Number:040114
> Monitor Revision: 8.3.1698
> 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
> Waiting for PHY auto negotiation to complete done
> ENET Speed is 1000 Mbps - FULL duplex connection (EMAC0)
> BOOTP broadcast 1
> *** Unhandled DHCP Option in OFFER/ACK: 28
> *** Unhandled DHCP Option in OFFER/ACK: 28
> DHCP client bound to address 192.168.40.8
> Using ppc_4xx_eth0 device
> TFTP from server 192.168.40.1; our IP address is 192.168.40.8
> Filename 'uImage'.
> Load address: 0x40
> Loading: #
>  ##
> done
> Bytes transferred = 1390149 (153645 hex)
> WARNING: adjusting available memory to 3000
> ## Booting kernel from Legacy Image at 0040 ...
>Image Name:   Linux-2.6.25-svn3489
>Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>Data Size:1390085 Bytes =  1.3 MB
>Load Address: 
>Entry Point:  
>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-svn3489 (dave@lapster) (gcc version 4.2.2) #6 Fri Aug
> 12 09:36:28 SAST 2011
> 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@0x1c(fdt),8192k@0x20
> (root),p
> 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 (2084k kernel code, 720k 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:01:14
> 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 
> Driver 'sd' needs updating - please use bus_type methods
> physmap platform flash device: 0400 at fc00
> physmap-flash.0: Fou

Re: [casper] Roach1 not working

2015-05-08 Thread David MacMahon
Hi, Nishanth,

On May 7, 2015, at 8:23 PM, Nishanth Shivashankaran wrote:

> ENET Speed is 1000 Mbps - FULL duplex connection (EMAC0)

I don't know whether this is causing your problem, but I believe the ROACH1 
ethernet port is not reliable at 1 Gbps.  I think you somehow need to limit it 
to 100 Mbps (e.g. use a switch/hub that only supports 100 Mbps or use the 
mii-tool program on the server for direct connections).

HTH,
Dave




Re: [casper] Roach1 not working

2015-05-08 Thread Marc Welz
Well, then you are almost there: Note that the NFS server somehow isn't
happy:

> Root-NFS: Server returned error -13 while mounting
/home/nfs/roach1/current

regards

marc


Re: [casper] Roach1 not working

2015-05-07 Thread Nishanth Shivashankaran
Hi All,

   I used the usb wriggler and ito load the bootloader and now I am seeing
data comming out of the serial terminal as before.
But the roach is still not booting properly. I am trying to boot the roach
through nfs boot and I am seeing this at the terminal. Please can any tell
me how to fix this error.

Thanks
Nishanth

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 FAILED INIT
DRAM:  (spd v1.2) dram: notice: ecc ignored
 1 GB
FLASH: 64 MB
USB:   Host(int phy) Device(ext phy)
Net:   ppc_4xx_eth0

Roach Information
Serial Number:040114
Monitor Revision: 8.3.1698
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
Waiting for PHY auto negotiation to complete done
ENET Speed is 1000 Mbps - FULL duplex connection (EMAC0)
BOOTP broadcast 1
*** Unhandled DHCP Option in OFFER/ACK: 28
*** Unhandled DHCP Option in OFFER/ACK: 28
DHCP client bound to address 192.168.40.8
Using ppc_4xx_eth0 device
TFTP from server 192.168.40.1; our IP address is 192.168.40.8
Filename 'uImage'.
Load address: 0x40
Loading: #
 ##
done
Bytes transferred = 1390149 (153645 hex)
WARNING: adjusting available memory to 3000
## Booting kernel from Legacy Image at 0040 ...
   Image Name:   Linux-2.6.25-svn3489
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:1390085 Bytes =  1.3 MB
   Load Address: 
   Entry Point:  
   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-svn3489 (dave@lapster) (gcc version 4.2.2) #6 Fri Aug
12 09:36:28 SAST 2011
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@0x1c(fdt),8192k@0x20
(root),p
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 (2084k kernel code, 720k 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:01:14
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 
Driver 'sd' needs updating - please use bus_type methods
physmap platform flash device: 0400 at fc00
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":
0x-0x001c : "linux"
0x001c-0x0020 : "fdt"
0x0020-0x00a0 : "root"
0x00a0-0x03f6

Re: [casper] Roach1 not working

2015-05-05 Thread Nishanth Shivashankaran
HI Marc,
 Thank you for the reply, I am not seeing anything on the serial
terminal. I have ordered a macraigor wiggler, I will try using that and see
if the roach starts working.

Thanks and regards,
Nishanth

On Mon, May 4, 2015 at 12:28 AM, Marc Welz  wrote:

>
>
> On Wed, Apr 29, 2015 at 10:49 PM, Nishanth Shivashankaran <
> nshiv...@asu.edu> wrote:
>
>> Hi All,
>>
>> We bought a new desktop and I tried installing nfs boot on to the new
>> computer to boot the roach1 and  was trying to bring the roach1 up. But I
>> think I messed up installing something somewhere and the roach 1 is not
>> returning anything to the minicom terminal at all.
>>
>> I am sure it is connected to the right port because I can see it on the
>> terminal using dmesg command.
>>
>
> If you can see serial text output, then chances are very good that your
> bootloader
> is still working. Have you tried pressing any key during bootup, to see if
> you can reach the
> bootloader prompt - if you can type "printenv" then uboot is still
> functional, and there is
> no need to resort to jtag
>
> regards
>
> marc
>



-- 
Nishanth Shivashankaran
Arizona State University
Phone:-480-246-6866
Email:nshiv...@asu.edu


Re: [casper] Roach1 not working

2015-05-04 Thread Marc Welz
On Wed, Apr 29, 2015 at 10:49 PM, Nishanth Shivashankaran 
wrote:

> Hi All,
>
> We bought a new desktop and I tried installing nfs boot on to the new
> computer to boot the roach1 and  was trying to bring the roach1 up. But I
> think I messed up installing something somewhere and the roach 1 is not
> returning anything to the minicom terminal at all.
>
> I am sure it is connected to the right port because I can see it on the
> terminal using dmesg command.
>

If you can see serial text output, then chances are very good that your
bootloader
is still working. Have you tried pressing any key during bootup, to see if
you can reach the
bootloader prompt - if you can type "printenv" then uboot is still
functional, and there is
no need to resort to jtag

regards

marc


Re: [casper] Roach1 not working

2015-04-30 Thread Nishanth Shivashankaran
Thank you John for replying,

 I saw this wiki page before. The Jtag suggested in this website is no
longer available. I was wondering you can suggest me a cheaper Jtag that is
compatible with the micro processor on the roach board.

Thanks and regards,
Nishanth

On Thu, Apr 30, 2015 at 7:56 AM, John Ford  wrote:

> Hi.  I think maybe you have "bricked" your ROACH, i.e. the bootloader is
> messed up.  You'll possibly need a jtag pod and software to reload it.
> See:
>
> https://casper.berkeley.edu/wiki/ROACH_Debricking
>
> John
>
>
> > Hi All,
> >
> > We bought a new desktop and I tried installing nfs boot on to the new
> > computer to boot the roach1 and  was trying to bring the roach1 up. But I
> > think I messed up installing something somewhere and the roach 1 is not
> > returning anything to the minicom terminal at all.
> >
> > I am sure it is connected to the right port because I can see it on the
> > terminal using dmesg command.
> >
> > I tried using different client like cutecom and putty and it still does
> > not
> > work. I did a basic loop back test to minicom terminal all the characters
> > are showing up properly.
> >
> > I switched back everything to the old computer where it used to work
> > before
> > and it does not work there too. I really dont know if the flash
> bootloader
> > is messed up. Is there a way to check if i have done something wrong or
> > reset the whole machine. I did reset the whole machine using the reset
> > switch in front of the roach. Before it stopped returning characters to
> > the
> > minicom terminal I was getting error messages like kernel panic etc. now
> > even that is not showing up.
> >
> > Can someone help me in this regard.
> >
> > Warm regards,
> > Nishanth Shivashankaran
> > Arizona State University
> > Email:nshiv...@asu.edu
> >
>
>
>


-- 
Nishanth Shivashankaran
Arizona State University
Phone:-480-246-6866
Email:nshiv...@asu.edu


Re: [casper] Roach1 not working

2015-04-30 Thread John Ford
Hi.  I think maybe you have "bricked" your ROACH, i.e. the bootloader is
messed up.  You'll possibly need a jtag pod and software to reload it. 
See:

https://casper.berkeley.edu/wiki/ROACH_Debricking

John


> Hi All,
>
> We bought a new desktop and I tried installing nfs boot on to the new
> computer to boot the roach1 and  was trying to bring the roach1 up. But I
> think I messed up installing something somewhere and the roach 1 is not
> returning anything to the minicom terminal at all.
>
> I am sure it is connected to the right port because I can see it on the
> terminal using dmesg command.
>
> I tried using different client like cutecom and putty and it still does
> not
> work. I did a basic loop back test to minicom terminal all the characters
> are showing up properly.
>
> I switched back everything to the old computer where it used to work
> before
> and it does not work there too. I really dont know if the flash bootloader
> is messed up. Is there a way to check if i have done something wrong or
> reset the whole machine. I did reset the whole machine using the reset
> switch in front of the roach. Before it stopped returning characters to
> the
> minicom terminal I was getting error messages like kernel panic etc. now
> even that is not showing up.
>
> Can someone help me in this regard.
>
> Warm regards,
> Nishanth Shivashankaran
> Arizona State University
> Email:nshiv...@asu.edu
>