From: S. Egbert <s.egbert@sbcglobal.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Sequence of Xilinx ML403/PPC
Date: Fri, 27 Jan 2006 01:06:51 -0800 [thread overview]
Message-ID: <43D9E2AB.5020108@sbcglobal.net> (raw)
Awesome... Got U-boot 1.1.4 working on a Xilinx ML403 (PPC 405)
evaluation board with our custom core.
Next for this planning stage, I'm trying to juggle 'leap-frogging'
memory mapping between the first-loader (Xilinx SREC bootloader in
firmware), second loader (U-boot 1.1.4) and Linux 2.4 OS.
Firstly, we started with Xilinx's SREC (bootloader.c) bootloader (I
know, I know, SREC is space consuming) and plan to replace this first
bootloader with an ELF or pseudo-binary version later after
everything-else is checked out.
Planning-wise, I envisioned that such a bring-up memory overlaying
sequence would be something like this:
1. Xilinx bootloader.c reads SREC from 16-bit flash and
decode/verify/copies to lowest RAM (0000_0000). Then transfers control
to 0000_0100.
2. U-boot starts up and relocate itself to MONITOR region which is in
the highest RAM region of 01F0_0000.
3. U-boot Scripting occurs which copies Linux OS from flash into where?
Next highest or lowest portion of RAM? Is it dependent on whether
dual-stage vmlinux.initrd or single-stage vmlinux is used or not?
At power-up, with U-Boot 1.1.4 being unusually low-RAM-based before
starting up (instead of executing straight out of ROM), I noticed that
despite being relocated to MONITOR (higher RAM) region, the PIT
exception vector appears to be active in 0000_10c0-ish.
Despite this RAM-to-RAM relocation, this "mtest" clobbering of the
0000_10C0 region caused Machine Exception error whenever I attempt to
perform memory test over this supposedly former exception vector region.
I thought that the objective during U-boot relocation was to ensure a
completely discontinued RAM region (formerly occupied by U-boot
ROM-based session).
A hard and easy questions to the esteemed and avid readers of
u-boot-users mailing list...
1. Where do I go from there with regard to the 0000_1000
(PIT_EXCEPTION). Isn't the PIT specific to Motorola 8xx-series (this
here is a PPC 405). What exception did the lib_ppc/start.S/trap_init()
exactly skipped? Skipped an exception mentioned vaguely in this source
code vaguely. Do I need to tweak the trap_init() some more to relocate
these untransfered exception vectors into the high MONITOR region?
2. And lastly, do I go high or low for Linux OS?
Thank you,
S. Egbert
next reply other threads:[~2006-01-27 9:06 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-27 9:06 S. Egbert [this message]
2006-01-27 10:13 ` [U-Boot-Users] Sequence of Xilinx ML403/PPC Wolfgang Denk
2006-01-31 6:10 ` Peter Ryser
2006-02-01 1:15 ` S. Egbert
2006-02-01 6:36 ` [U-Boot-Users] XUARTLITE/PPC405/Linux after UBOOT S. Egbert
2006-02-09 3:09 ` [U-Boot-Users] Xilinx ML403/PPC U-Boot support bbosch at iphase.com
2006-02-09 4:15 ` [U-Boot-Users] " Peter Ryser
2006-02-10 3:17 ` bbosch at iphase.com
2006-03-07 11:20 ` [U-Boot-Users] " Paula S
2006-05-29 16:25 ` [U-Boot-Users] " Filippo Capurso - DAVE srl
2006-02-09 5:42 ` [U-Boot-Users] " S. Egbert
2006-02-09 6:10 ` Peter Ryser
2006-02-09 8:35 ` S. Egbert
2006-12-28 9:22 ` yogir
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=43D9E2AB.5020108@sbcglobal.net \
--to=s.egbert@sbcglobal.net \
--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