public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andrew Dyer <amdyer@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] RFC: U-Boot Environment support in SystemAce Compact FLASH
Date: Mon, 22 Aug 2005 18:43:15 -0500	[thread overview]
Message-ID: <c166aa9f050822164314e8aaa4@mail.gmail.com> (raw)
In-Reply-To: <20050822205623.BD248353D18@atlas.denx.de>

On 8/22/05, Wolfgang Denk <wd@denx.de> wrote:
> In message <OF8ADB0661.25EF292C-ON07257065.00568E7A-07257065.00576B05@mck.us.ray.com> you wrote:
> >
> > I have completed the initial port of U-Boot to a custom PPC405/VirtexII
> > Pro FPGA board and I am starting to look at ways to store the U-Boot
> > environment in the CF card used for FPGA configuration by the Xilinx
> > SystemAce.
> 
> Please re-read the archives why this is not as trivial as it may seem.
> 
> > I am leaning toward the approach of adding DOS FAT write support and
> > adjusting the initial U-Boot environment to provide sufficient stack space
> 
> This won't help you much. In the first step, you would have to modify
> the whole CF and DOS FAT code such that it works while  running  from
> flash.  This is a non-trivial task, and I don't intend to accept such
> modifications for inclusion in the publich tree.
> 

Does a system ace CF card have a partition table?  Maybe you could make a
special partition on the CF for this type of info.  You would need a sector read
routine and code to parse the partition table to index into the
environment sectors.
You would probably need some ram available (or at least a bunch of registers)
to pull this off.

Another option might be to store the environment stuff as data to be loaded into
an accessible block ram on fpga power-up.  I haven't looked at how system ace
handles this sort of thing.  Are the block ram contents stored in
separate files on
the CF?

-- 
Hardware, n.:
        The parts of a computer system that can be kicked.

  reply	other threads:[~2005-08-22 23:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-22 15:54 [U-Boot-Users] RFC: U-Boot Environment support in SystemAce Compact FLASH Keith J Outwater
2005-08-22 20:56 ` Wolfgang Denk
2005-08-22 23:43   ` Andrew Dyer [this message]
2005-08-23 16:20     ` Keith J Outwater
2005-08-23 16:39   ` Keith J Outwater
2005-08-23 20:46     ` Wolfgang Denk

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=c166aa9f050822164314e8aaa4@mail.gmail.com \
    --to=amdyer@gmail.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