From: Vladimir Gurevich <vag@paulidav.org>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [OT] cs8900 in u-boot
Date: Mon, 07 Apr 2003 11:02:47 -0700 [thread overview]
Message-ID: <3E91BD47.10607@paulidav.org> (raw)
In-Reply-To: <20030407050056.GL10694@pengutronix.de>
Hi Robert,
Because cs8900 is mostly ISA-oriented design, its connection is always
a little cludgy and can be done in a number of different ways. I am
not familiar with CSB226, but if you have a relevant piece of its
schematics it could help. Also, the power-up configuration for cs8900
can be stored in serial EPROM. This includes the base address. Cirrus
Logic has a very good application note (AN83) describing all this.
Robert Schwebel wrote:
> 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..........
By default cs8900 powers up responding to IO accesses to port 0x300.
Thus, its real base address is probably 0x08000300 in your system.
IO port accesses are emulated by connecting your CS and WE to IOR and
IOW signals appropriately. Memory accesses may or maynot be possible
depending on the schematics.
Also, make sure you configure your CS2 as 16-bit port. Another thing
to watch for is byte swapping. What I saw when using cs8900 with
MC68EZ328 is that when you connect the data bus straight, then registers
are fine, but the buffer area bytes are swapped. We chose to do byte
swapping on the data bus, but had to modify the driver to byte-swap
register values.
Hope this helps a little.
You can point me to schematics, we could figure out a little bit more.
Best regards,
Vladimir
prev parent reply other threads:[~2003-04-07 18:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
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=3E91BD47.10607@paulidav.org \
--to=vag@paulidav.org \
--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