public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Robert Schwebel <robert@schwebel.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [OT] cs8900 in u-boot
Date: Mon, 7 Apr 2003 07:00:56 +0200	[thread overview]
Message-ID: <20030407050056.GL10694@pengutronix.de> (raw)

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

             reply	other threads:[~2003-04-07  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-07  5:00 Robert Schwebel [this message]
2003-04-07  7:52 ` [U-Boot-Users] [OT] cs8900 in u-boot Erwin Rol
2003-04-07 16:16 ` Wolfgang Denk
2003-04-07 18:02 ` Vladimir Gurevich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030407050056.GL10694@pengutronix.de \
    --to=robert@schwebel.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox