From: Peter Ryser <Peter.Ryser@xilinx.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] for Xilinx's ml300 board
Date: Wed, 30 Jun 2004 07:30:56 -0700 [thread overview]
Message-ID: <40E2CEA0.8080103@xilinx.com> (raw)
In-Reply-To: <20040629183141.GA28357@acmay.homeip.net>
>The whole xparameters.h file is really annoying. It makes the IPIF code
>impossible to use on more than one board type without a recompile. That
>may be OK for U-boot but it is horrible in the Linux kernel.
>
Unfortunately, we have not yet found a good way to store the hardware
information (let's call it CROM) as part of the bitstream in a way that
it becomes easily available to the software. The hardware system is very
flexible, i.e. the location where such information is stored may be
different for various boards (bitstreams).
One solution might be to pass the location of the CROM as part of the
boot parameters to the Linux kernel or even go one step further and pass
the whole HW configuration as a boot parameter to the Linux kernel. A
similar technique might be doable for u-boot.
Another solution might be that we define were CROM is located in the
address space. It could be in the DCR address space to not fragment the
PLB address space. However, since even the DCR address space can be
defined by the user it might be difficult to reserve a location for CROM.
A problem is the association with the processor in a multi-processor
system. Let's assume you have a chip with two PPCs on the same PLB and
one uses some peripherals were the other uses the other peripherals.
xparameters.h resolves the association at compile time whereas CROM
would need to contain information about which peripherals are used by
which processor.
I'm interested in discussing suggestions on how to solve this problem so
that SW application do not need to be recompiled and can gather HW
information from CROM (or maybe something else) at run time.
- Peter
next prev parent reply other threads:[~2004-06-30 14:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-29 16:06 [U-Boot-Users] [PATCH] for Xilinx's ml300 board Sean Chang
2004-06-29 18:31 ` Andrew May
2004-06-30 0:41 ` sean chang
2004-06-30 14:30 ` Peter Ryser [this message]
2004-06-30 17:50 ` Andrew May
2004-07-11 16:26 ` Wolfgang Denk
2004-07-13 20:05 ` Andrew May
2004-07-13 21:12 ` Sean Chang
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=40E2CEA0.8080103@xilinx.com \
--to=peter.ryser@xilinx.com \
--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