From: Alex BASTOS <alebas@televes.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Booting MPC8272ADS from flash base
Date: Tue, 18 Oct 2005 16:07:42 +0200 [thread overview]
Message-ID: <1129644462.435501aea9962@webmail.televes.com:443> (raw)
In-Reply-To: <20051018111844.35004545.ajz@cambridgebroadband.com>
> > >
> > > Index: board/mpc8260ads/config.mk
> > > =================================================================
> > > == RCS file: /newcvs/pq2-linux/u-boot/board/mpc8260ads/config.mk,v
> > > retrieving revision 1.1.1.1
> > > diff -u -r1.1.1.1 config.mk
> > > --- board/mpc8260ads/config.mk 24 Aug 2005 12:16:55 -0000 1.1.1.1
> > > +++ board/mpc8260ads/config.mk 14 Oct 2005 08:36:46 -0000
> > > @@ -29,4 +29,4 @@
> > > # MPC8260ADS, MPC8266ADS, and PQ2FADS-ZU/VR boards
> > > #
> > >
> > > -TEXT_BASE = 0xfff00000
> > > +TEXT_BASE = 0xff800000
> >
> > Are you sure you are using u-boot-1.1.3?
> > Patch from Jerry Van Baren already made some changes to this file
> > to allow the use of a different TEXT__BASE for lowboot in MPC8272ADS
> > selecting it from Makefile config target.
> > I have this changes already applied in 1.1.3.
> >
>
> I am using u-boot-1.1.3 from Denx ELDK 3.1.1. There is lowboot
> support in the top level Makefile - but not for any of the 82xx ADS
> platforms.
>
>
>
>
> > > Index: include/configs/MPC8260ADS.h
> > > =================================================================
> > > == RCS file:
> > > /newcvs/pq2-linux/u-boot/include/configs/MPC8260ADS.h,v retrieving
> > > revision 1.1.1.1 diff -u -r1.1.1.1 MPC8260ADS.h
> > > --- include/configs/MPC8260ADS.h 24 Aug 2005 12:17:01 -0000
> > > 1.1.1.1+++ include/configs/MPC8260ADS.h 14 Oct 2005 08:36:46 -0000
> > > @@ -294,13 +294,8 @@
> > > #define CFG_GBL_DATA_OFFSET (CFG_INIT_RAM_END - CFG_GBL_DATA_SIZE)
> > > #define CFG_INIT_SP_OFFSET CFG_GBL_DATA_OFFSET
> > >
> > > +#define CFG_HRCW_MASTER 0x0e72b605 /* like BCSR version, but
> > > with CIP=1, BMS=1 */
> >
> >
> > In order lowboot patch from Jerry to work (which has been applied to
> > u-boot source, so I recommned you to use) in MPC8272ADS, ISB must
> > also be ISB=100, not ISB=010 as in BCSR.
> >
>
> I think either are fine, as they result in an internal register space
> that doesn't conflict with the boot code (which is initially mapped by
> the CPU to 0x0...0x01ffffff). The startup assembly code remaps it
> anyway.
>
ISB=100 is needed when you use the MPC8272ADS_lowboot_config target
which is in the u-boot-1.1.3 branch at CVS. Jerry's patch has been
applied there and you can find many other differences.
When using this, it assumes as the initial IMMR 0xF0000000 (so ISB=100)
as this is the value expected by Linux kernel. When using BCSR, u-boot
has to change it from 0x0F000000 to 0xF0000000. So if we have the control
of HRCW, why don't do things in the simpliest way. :-)
See enclosed Jerry's patch applied 04-November-2004
Best regard,
Alex Bastos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: APPLIED_1.1.3-20041104_lowboot.patch
Type: text/x-diff
Size: 4830 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20051018/94cd97c5/attachment.patch
next prev parent reply other threads:[~2005-10-18 14:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <51DB8827D393D411BB69003048003F4601D96B83@tvesntr>
2005-10-17 10:29 ` [U-Boot-Users] Booting MPC8272ADS from flash base alebas at televes.com
2005-10-18 10:18 ` Alex Zeffertt
2005-10-18 14:07 ` Alex BASTOS [this message]
2005-10-13 11:24 Alex Zeffertt
2005-10-13 11:55 ` Jerry Van Baren
2005-10-13 14:12 ` Alex Zeffertt
2005-10-13 17:51 ` Yuli Barcohen
2005-10-14 8:42 ` Alex Zeffertt
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='1129644462.435501aea9962@webmail.televes.com:443' \
--to=alebas@televes.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