[U-Boot-Users] [OT] cs8900 in u-boot

Robert Schwebel robert at schwebel.de
Mon Apr 7 07:00:56 CEST 2003


Hi, 

this is somewhat offtopic, but I know no better place to ask. I'm trying
to make the cs8900 ethernet chip on the Cogent CSB226 work with u-boot
and Linux. The chip is mapped to 0x08000000 / CS2 and it is connected in
I/O mapped mode. 

However, I do not see anything usefull in u-boot. This is how the port
area looks after power on: 

uboot> md.w 0x08000000 10          (1)  (2)  (3)
08000000: 0000 a1ff 0000 a1ff 0009 a1ff 0000 a1ff    ................
08000010: 0000 a1ff 3136 a1ff 00d6 a1ff 00d6 a1ff    ....61..........

I would have expected the cs8900's magic number (0x0e62 00[03|05]) in
the data registers (2),(3). However, when I write 0 to the Packet Page
Pointer Port (1) to select register 0: 

uboot> md.w 0x08000000 10
08000000: 0000 a1ff 0000 a1ff 3109 a1ff 0000 a1ff    .........1......
08000010: 0000 a1ff 3136 a1ff 00d6 a1ff 00d6 a1ff    ....61..........

this is still not what I would have expected. It's especially strange
that every second register contains 0xa1ff. 

Did anybody else see something different? Is the u-boot driver working
for anyone?

Cheers,
Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Braunschweiger Str. 79,  31134 Hildesheim, Germany
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4

    Visit us at the Hannovermesse 2003 (07.-12.04.)!
                   Hall 6, Booth K11




More information about the U-Boot mailing list