RE: [iPAQ] USB for SA11x0

From: Nicolas Pitre <nico.a.t.cam.org>
Date: Fri Oct 06 2000 - 10:15:57 EDT

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

Received on Fri Oct 6 07:09:52 2000

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