[OLPC-devel] some usb status

Ronald G Minnich rminnich at lanl.gov
Tue Jun 6 22:43:43 EDT 2006


with my 2.6.14 tiny kernel, which is the only one that seems to fit 
inflash with usb in, I see this:

Linux version 2.6.14-tiny1y (rminnich at q.ccstar.lanl.gov) (gcc version 
4.0.2 20051125 (Red Hat 4.0.2-8)) #13 Tue 6
BIOS-provided physical RAM map:
  BIOS-e820: 0000000000000000 - 0000000000000728 (reserved)
  BIOS-e820: 0000000000000728 - 00000000000a0000 (usable)
  BIOS-e820: 00000000000f0000 - 00000000000f0400 (reserved)
  BIOS-e820: 0000000000100000 - 0000000007700000 (usable)
119MB LOWMEM available.
Allocating PCI resources starting at 10000000 (gap: 07700000:f8900000)
Built 1 zonelists
Kernel command line: root=/dev/ram0 console=ttyS0,115200
Initializing CPU#0
PID hash table entries: 512 (order: 9, 8192 bytes)
Using pit for high-res timesource
Console: colour dummy device 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 119448k/121856k available (8k kernel code, 1916k reserved, 662k 
data, 80k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Mount-cache hash table entries: 512
CPU: Geode by NSC Geode(TM) Integrated Processor by National Semi 
stepping 02
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
Linux NoNET1.0 for Linux 2.6
PCI: Using configuration type 1
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
i8042.c: No controller found.
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
io scheduler noop registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
usbcore: registered new driver ub
Using IPI Shortcut mode
Freeing unused kernel memory: 80k freed


I have a usb mass store plugged into the usb near the audio jacks. I am 
wondering what else I need to config to make this go. My config looks 
like this:

#
# USB support
#
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB_ARCH_HAS_OHCI=y
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

Anything else I should turn on? I have put this in the 
drivers/block/Makefile:
CONFIG_BLK_DEV_UB=y

since there is no way to do it via any config tool -- is this the right 
thing to do?

What would it take to make a usb store come up when the kernel comes up? 
I'd really like to make usb work from linuxbios-started kernels.

thanks

ron



More information about the Devel mailing list