status report 01022004

Oleg Gusev oleg@usm.uni-muenchen.de
Sun Feb 1 19:53:35 CET 2004


 Hi guys,

 the driver for sa1100 /proc/cpu/registers/* is found 
 and compiled into the kernel. Now one can see the
 register contents with a simple 'cat'. The problem with 'orinoco_cs'
 is resolved too, it was my fault in 'make menuconfig'.
 The gps card is visible after manual 'mknod',
 but 'stty' is missing together with other useful things like 'gpsd'
 (while httpd is in!!!). The backlight switches off after 10 minutes,
 so some primitive PM is still functioning.
 Now to the problems. 
- There are two /proc/cpu entries with the same inode number!?
- Note the zero entry for SA1101, since it is requested without
 setting .start and .end :
 # cat /proc/iomem
00000000-00000000 : SA1101
18161000-181611ff : irqs
181e0000-181e01ff : PCMCIA
20000000-2fffffff : PCMCIA
30000000-3fffffff : PCMCIA
80010000-80010023 : serial_sa1100
80050000-80050023 : serial_sa1100
80070060-80070077 : SSP
90050000-9005ffff : irqs
c0000000-c0ffffff : System RAM
  c021a000-c034bc4f : Kernel code
  c034bc50-c0393c87 : Kernel data

I have added .start and .end, so now it looks better
# cat /proc/iomem
18000000-18400000 : SA1101
  18161000-181611ff : irqs
  181e0000-181e01ff : PCMCIA
20000000-2fffffff : PCMCIA
30000000-3fffffff : PCMCIA
80010000-80010023 : serial_sa1100
80050000-80050023 : serial_sa1100
80070060-80070077 : SSP
90050000-9005ffff : irqs
c0000000-c0ffffff : System RAM
  c021a000-c034bc6f : Kernel code
  c034bc70-c0393c87 : Kernel data

BTW, why SA1101 has 0x00800000 length in map_io 
and where should the sa1101 "video" memory appear on the bus ??
My manual says the registers take 0x00400000 
or do i misread something?
Now we need to make sa1101 control registers visible in /proc...
Something is still f*cked up with pcmcia irq handling, but
taking the network card out and reinserting it helps.
It seems that with some more effort soon we will have j820
functioning properly :)

 Oleg.


More information about the Jornada820 mailing list