public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Dmytro Bablinyuk <dmytro.bablinyuk@rftechnology.com.au>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: Low-boot configuration for MPC8272ADS
Date: Thu, 03 Nov 2005 10:43:16 +1100	[thread overview]
Message-ID: <43694F14.8040101@rftechnology.com.au> (raw)
In-Reply-To: <4369486B.6030500@smiths-aerospace.com>

> 
> Is this with an erased flash or with a flash with a HRCW programmed?
> 
This is with a flash with HRCW programmed. U-boot starts fine.
But BDI on 'load'
8272>load
Loading u-boot.bin , please wait ....
# PPC: timeout while waiting for freeze
*** TARGET: reset detected, restarting target
...

Here is the HRCW (from flash). 0x74 => ISB100 => IMMR=0xF000_0000

8272>md 0
00000000 : ff0e0e0e 0e0e0e0e 74747474 74747474  ........tttttttt
00000010 : b2b2b2b2 b2b2b2b2 0a0a0a0a 0a0a0a0a  ................

And BDI config (we use CLKIN 66MHz, but it is the same effect with CLKIN 
100MHz)

; bdiGDB configuration file for MPC8272ADS board
; ----------------------------------------------
;

[INIT]
; init core register
;WREG    MSR             0x00001002      ;MSR  : ME,RI
WM32	0xF0010004	0xFFFFFFC3	;SYPCR: disable watchdog
WM32	0xF00101A8	0x04700000	;IMMR : internal space @ 0x04700000
WM32	0x04710024	0x100C0000	;BCR  : Single PQ2, ..
WM32	0x04710c94	0x00000001	;RMR  : checkstop reset enable
;
; init memory controller
WM32	0x04710104	0xFF800876	;OR0: Flash 8MB, CS early negate, 11 w.s., 
Timing relax
WM32	0x04710100	0xFF801801	;BR0: Flash @0xFF800000, 32bit, no parity
WM32	0x0471010C	0xFFFF8010	;OR1: BCSR 32KB, all types access, 1 w.s.
WM32	0x04710108	0x04501801	;BR1: BCSR @0x04500000, 32bit, no parity
WM32	0x04710124	0xFFFF8866	;OR4: EEPROM 32KB, all types access, 6 w.s.
WM32	0x04710120	0xC2000801	;BR4: EEPROM @0xC2000000, 8bit, no parity
;
; init SDRAM Init (PPC bus)
WM16	0x04710184	0x2800	        ;MPTPR: Divide Bus clock by 41
WM8	0x0471019C	0x13	        ;PSRT : Divide MPTPR output by 20
WM32	0x04710114	0xfe002ec0	;OR2  : 32MB, 2 banks, row start at A9, 11 rows
WM32	0x04710110	0x00000041	;BR2  : SDRAM @0x00000000, 64bit, no parity
WM32	0x04710190	0x824b36a3	;PSDMR: Precharge all banks
WM32	0x04710190	0xaa4b36a3
WM8	0x00000000	0x00	        ;Access SDRAM
WM32	0x04710190	0x8a4b36a3	;PSDMR: CBR Refresh
WM8	0x00000000	0xFF	        ;Access SDRAM
WM8	0x00000000	0xFF	        ;Access SDRAM
WM8	0x00000000	0xFF	        ;Access SDRAM
WM8	0x00000000	0xFF	        ;Access SDRAM
WM8	0x00000000	0xFF	        ;Access SDRAM
WM8	0x00000000	0xFF	        ;Access SDRAM
WM8	0x00000000	0xFF	        ;Access SDRAM
WM8	0x00000000	0xFF	        ;Access SDRAM
WM32	0x04710190	0x9a4b36a3	;PSDMR: Mode Set
WM8	0x00000190	0x00	        ;Access SDRAM
WM32	0x04710190	0xc24b36a3	;PSDMR: enable refresh, normal operation
;

[TARGET]
CPUTYPE     8272        ;the CPU type
JTAGCLOCK   0           ;use 16 MHz JTAG clock
POWERUP     7000        ;start delay after power-up detected in ms
BOOTADDR    0xfff00100  ;boot address used for start-up break
WORKSPACE   0x04700000	;workspace in target RAM for fast download
;MEMDELAY    2000        ;additional memory access delay
MMU         XLAT        ; support virtual addresses (for Linux!)
BDIMODE     AGENT       ;the BDI working mode (LOADONLY | AGENT)
BREAKMODE   HARD        ;SOFT or HARD, HARD uses PPC hardware breakpoints
PTBASE      0x000000F0  ; ptr to page table pointers

[HOST]
IP          192.168.1.100
FILE        u-boot.bin
FORMAT      BIN
;FILE        E:\temp\test16k.bin
;FORMAT      BIN 0x04708000
LOAD        MANUAL      ;load code MANUAL or AUTO after reset
DEBUGPORT   2001
PROMPT      8272>	;new prompt for Telnet
DUMP        dump.bin

[FLASH]
CHIPTYPE    I28BX8     	; Flash type
CHIPSIZE    0x800000	; Single chip size (8 Mbyte)
BUSWIDTH    32		; total width for the whole SIMM
WORKSPACE   0x04700000	;workspace in target RAM for fast download
FILE        1MB_junk.bin
FORMAT      BIN 0xFF900000

ERASE       0xFF900000  ;erase sector  4 of flash SIMM
ERASE       0xFF940000  ;erase sector  5 of flash SIMM
ERASE       0xFF980000  ;erase sector  6 of flash SIMM
ERASE       0xFF9C0000  ;erase sector  7 of flash SIMM


[REGS]
DMM1        0x04700000
FILE        reg8272.def

  reply	other threads:[~2005-11-02 23:43 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-02  8:28 [U-Boot-Users] Re: Low-boot configuration for MPC8272ADS Bastos Fernandez Alexandre
2005-11-02  9:56 ` Dmytro Bablinyuk
2005-11-02 14:59   ` Alexandre BASTOS
     [not found]   ` <12783.4063292996$1130942654@news.gmane.org>
2005-11-02 21:55     ` Dmytro Bablinyuk
2005-11-02 22:20       ` Jerry Van Baren
2005-11-02 22:58         ` Dmytro Bablinyuk
2005-11-02 23:14           ` Jerry Van Baren
2005-11-02 23:43             ` Dmytro Bablinyuk [this message]
2005-11-02 23:33           ` Wolfgang Denk
2005-11-02 23:49             ` Dmytro Bablinyuk
2005-11-03  0:05               ` Wolfgang Denk
2005-11-03  0:22                 ` Dmytro Bablinyuk
2005-11-03  1:41                 ` Dmytro Bablinyuk
2005-11-02 22:20       ` Dan Malek
2005-11-04  3:39         ` [U-Boot-Users] Re : " Sam Song
2005-11-04 17:39           ` Dan Malek
2005-11-08  4:44             ` Sam Song
  -- strict thread matches above, loose matches on Subject: below --
2005-11-02  3:16 [U-Boot-Users] " Dmytro Bablinyuk
2005-11-02  5:39 ` [U-Boot-Users] " Dmytro Bablinyuk

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=43694F14.8040101@rftechnology.com.au \
    --to=dmytro.bablinyuk@rftechnology.com.au \
    --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