On Fri, 18 Apr 2008 10:04:05 +0800 (CST)
[EMAIL PROTECTED] wrote:

> Hi guys,
>

Hi LYS, just for curiosity, what is your full name?

Please be patient, don't send multiple mails for the same
question, answers will come as soon as we have some time :)

> Firstly, thanks for AO's great help!  AO help me some basic issue  'cause
> I'm a new guy to openEZX.  Now I'm moving forward.
> 
> After serverl day's study about NFSRoot, today I tried but failed to set up
> USBNET on my A1200. I got the below error information: 
> 

So you decided to use NFSroot rather than having your rootfs on MMC
card, ok, fine.

> usb 1-3: new full speed USB device using pxa27x-ohci and address 2
> usb 1-3: device descriptor read/64, error -62
> usb 1-3: device descriptor read/64, error -62

You can ignore these errors for now.

> Here is my step for setting up USBNet:
>

Keep in mind that setting up usbnet and setting up nfsroot can be done
in two separate steps. You want usbnet also if you do not use nfsroot :)

Let's look at usbnet first:

> 2) My cmdline : CONFIG_CMDLINE="console=tty1 root=/dev/nfs
> nfsroot=192.168.16.1:/root/nfs
> ip=192.168.16.2:192.168.16.1:192.168.16.1:255.255.255.0:ezx:usb0:off
> mem=32M@ 0xA0000000"
>

That looks ok.
Did you configure usb0 on the host system?
For example I have this on my desktop machine (debian sid)
in /etc/network/interfaces:

allow-hotplug usb0
iface usb0 inet static
  address 192.168.0.200
  netmask 255.255.255.0
  network 192.168.0.0
  post-up /sbin/route add -host 192.168.0.202/32 dev usb0
  post-up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
  post-up echo 1 > /proc/sys/net/ipv4/ip_forward
  post-up iptables -P FORWARD ACCEPT

iptables rules are to access the Internet from the phone,
yes, they could have been more strict, I know.

> 1) Add  Root file system on NFS support in kernel
> 

See also defconfig-a910 for that, I use nfsroot for a910.

> 3) Set NFS server in linux host PC ( add /root/nfs
> *(rw,no_root_squash,async) to /etc/exports and run 'exportfs -rv')
> 
> Any problem for my procedure of setting USBNET?
> 
> Highly look forward to your suggestion /advise!
> 

Check you host setup and let us know if you still have problems.

Bye,
   Antonio

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

  Web site: http://www.studenti.unina.it/~ospite
Public key: http://www.studenti.unina.it/~ospite/aopubkey.asc

Attachment: pgpLKXPJXnWuN.pgp
Description: PGP signature

Reply via email to