VGA and USB status report

Matan Ziv-Av
Tue Jun 29 12:00:27 CEST 2004

Newest patch is at:

My sourceforge user name is matanz, but I'd rather not commit to CVS 
yet, so I'll be happy if someone else will commit whatever part of my 
patches that they like.

sa1101fb works as a module (no rmmod support), and uses ioremap, instead 
of a fixed memory map. Still no support for changing modes, selecting 
modes by kernel parameters, or using shared frame buffer with LCD.

usb can now recognise devices inserted, and usbnet even manages to send 
one packet correctly, before a kernel panic. hid panics immediately when 
a mouse is present. See example session:

/ # insmod usbcore
Using /lib/modules/2.4.19-rmk6-pxa1-hh36/kernel/drivers/usb/usbcore.o
usb.c: registered new driver hub
/ # insmod usb-ohci
Using /lib/modules/2.4.19-rmk6-pxa1-hh36/kernel/drivers/usb/usb-ohci.o
/ # insmod usb-ohci-sa1101
usb-ohci.c: USB OHCI at membase 0x0, IRQ 101
hc_alloc_ohci: dev=457 mem_base=00000000 dev_is_h5400=0
hcca=c1af0000  hcca_dma=c0046000
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 1 port detected
/ # hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: USB device 2 (vend/prod 0x67b/0x0) is not claimed by any active driver.

/ # insmod usbnet
Using /lib/modules/2.4.19-rmk6-pxa1-hh36/kernel/drivers/usb/usbnet.o
usb.c: registered new driver usbnet
usb0: register usbnet 001/002, Prolific PL-2301/PL-2302
/ # ifconfig
/ # ifconfig  usb0
usb0      Link encap:Ethernet  HWaddr 1C:34:CC:D1:B4:68
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

/ # ifconfig  usb0
/ # ping
PING panic: td_fill: A20 = 1: c0958cc2

In interrupt handler - not syncing
  ( 56 data bytes
<0>Kernel panic: td_fill: A20 = 1: c0932000

In interrupt handler - not syncing

Matan Ziv-Av.               

More information about the Jornada820 mailing list