Re: [RE: [iPAQ] USB for SA11x0]

From: Brad Morrey <cbmorrey.a.t.netscape.net>
Date: Fri Oct 06 2000 - 19:25:27 EDT

This works great. I got the usb client and host working. I used both a test8
kernel and test5 kernel on the host side to test it out. Seems to be quite
buggy. pings worked, sometimes. rlogin to the ipaq failed 2 of 3 times.
debugging errors were very verbose. I can forward on the errors to interested
parties. But definitely not ready for prime time. I would recommend that
charlie flynn take a look at it and compare it to what he's done/taken over to
see if there's overlap and how to proceed so as to not duplicate effort.
Great work brad parker and Nicolas! Almost there!

-brad

Nicolas Pitre <nico@cam.org> wrote:

On 5 Oct 2000, Brad Morrey wrote:

> Second I went out to kernel.org and got the 2.4.0-test8 kernel source, and
> then applied the rmk5 patch from the ARM site, then applied nic's diff.
This
> works perfectly. I can then make menuconfig to my heart's content. (No
MTD
> problems here.) I made a kernel with a fair amount of stuff compiled in to
> try and get this working. Unfortunately, my 550K kernel wouldn't flash
> because the space allocated in flash for kernels is smaller than that.
>
> I paired down the kernel significantly, keeping cramfs, ext2, and ramfs
> support compiled into the kernel. (I've included my .config for reference.)

> When I flashed this kernel, it boots, but then kernel panics trying to
mount
> the root filesystem. The precise error is:
>
> wrong magic
> Kernel panic: VFS: Unable to mount root fs on 3c:04

Try copying drivers/block/flash-mem.h from the handhelds.org tree over the
one in my patch.

> Now the server portion is another matter. Again, taking the test8 kernel,
and
> patching the rmk5 patch, I get a menuconfig that doesn't have the
usb-net-host
> code. So, I apply the np1 patch, and get the net-host code, but a pile of
ARM
> additions that make it impossible to compile the kernel for x86.

Take a fresh 2.4.0-test9 tree and copy drivers/usb/usb-net-host.c from
the patched tree to the unpatched one. Next edit drivers/usb/Config.in
and drivers/usb/Makefile to add the single line dealing with
CONFIG_USB_NET_HOST to reflect the patched tree. Then you should be able
to build yourself a 2.4.0-test9 tree with usb-net-host module for your PC.

Nicolas

> ---------------------------------------------
> Attachment: .config
> MIME Type: APPLICATION/OCTET-STREAM
> ---------------------------------------------

Computer Science PhD Student
University of Colorado, Boulder
(Anti-spam account)

____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at http://home.netscape.com/webmail
Received on Fri Oct 6 16:20:53 2000

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:43 EDT