public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [OT] cs8900 in u-boot
@ 2003-04-07  5:00 Robert Schwebel
  2003-04-07  7:52 ` Erwin Rol
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Robert Schwebel @ 2003-04-07  5:00 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-04-07 18:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-07  5:00 [U-Boot-Users] [OT] cs8900 in u-boot Robert Schwebel
2003-04-07  7:52 ` Erwin Rol
2003-04-07 16:16 ` Wolfgang Denk
2003-04-07 18:02 ` Vladimir Gurevich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox