[U-Boot-Users] Booting MPC8272ADS from flash base
Alex Zeffertt
ajz at cambridgebroadband.com
Fri Oct 14 10:42:28 CEST 2005
On Thu, 13 Oct 2005 19:51:29 +0200
Yuli Barcohen <yuli at arabellasw.com> wrote:
>
> Alex> 2. Set TEXT_BASE in config.mk to 0x0
>
> This is wrong. You have to set TEXT_BASE to the address at which you
> will burn the U-Boot image to flash. If you're going to burn U-Boot to
> the first flash sector, TEXT_BASE must be equal to CFG_FLASH_BASE.
>
Yippee! I've finally done it. Thanks Yuli - your advice was what I was
missing.
For the record here is the change I needed to make to u-boot-1.1.3.
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
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 */
-/* 0x0EA28205 */
-#define CFG_HRCW_MASTER ( ( HRCW_BPS11 | HRCW_CIP ) |\
- ( HRCW_L2CPC10 | HRCW_DPPC10 | HRCW_ISB010 ) |\
- ( HRCW_BMS | HRCW_APPC10 ) |\
- ( HRCW_MODCK_H0101 ) \
- )
/* no slaves */
#define CFG_HRCW_SLAVE1 0
#define CFG_HRCW_SLAVE2 0
Thanks again,
Alex
More information about the U-Boot
mailing list