[U-Boot-Users] MPC8266ADS patch
Wolfgang Denk
wd at denx.de
Thu Sep 11 13:40:01 CEST 2003
Dear Aleen,
in message <5.2.1.1.2.20030910173720.0275bce0 at 192.168.1.10> you wrote:
> Here is a patch to get a 8266 booting with the default board configuration.
This is not a patch, this is crap.
Please see the README for instructions how to create a patch. The use
of CONTEXT or (better) UNIFIED diffs is mandatory. Plain diffs as
yours are useless.
Also make sure that your mailer does not reformat the patch. If
necessary, use an attachment instead of inline text.
> Notes:
> 1. The patch to examples/Makefile should be included as a comment. People
> with MontaVista 2.0 (possibly other versions too) need this change.
...
> < $(OBJCOPY) -O binary $< $@ 2>/dev/null
> ---
> > $(OBJCOPY) -O ppcboot $< $@ 2>/dev/null
Please explain why. Does the MontaVista version of the binutils doe
not understand "binary" output format any longer?
> 2. This assumes that you have the small flash module. (should work fine
> with larger modules)
> 3. I followed some of the messages regarding booting the 8266. None of them
> appeared to address the address differences for the BCSR and PCI interrupt
> controller. (include/configs/MPC8266ADS.h)
>
> Index: board/mpc8266ads/config.mk
> ==================================================================
> RCS file: /cvsroot/u-boot/u-boot/board/mpc8266ads/config.mk,v
> retrieving revision 1.2
> diff -r1.2 config.mk
> 30c30
> < TEXT_BASE = 0xfe000000
> ---
> > TEXT_BASE = 0xfff00000
Please explain why you think this is necessary.
> diff -r1.4 MPC8266ADS.h
> 236,237c236,237
> < #define CFG_FLASH_BASE 0xFE000000
> < #define FLASH_BASE 0xFE000000
> ---
> > #define CFG_FLASH_BASE 0xFF800000
> > #define FLASH_BASE 0xFF800000
> 252,253c252,253
> < #define CFG_BCSR 0xF8000000
> < #define CFG_PCI_INT 0xF8200000 /* PCI interrupt controller
> */
> ---
> > #define CFG_BCSR 0x04500000
> > #define CFG_PCI_INT 0x04730000 /* PCI interrupt
> controller */
Please explain why you think this is necessary.
Actually I think it is a bug to map the BCSR at a low address like
0x04500000. Are you really, really sure that this will work with
Linux?
Patch rejected.
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
"In Christianity neither morality nor religion come into contact with
reality at any point." - Friedrich Nietzsche
More information about the U-Boot
mailing list