public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] BDI3000 and PPC460GT board
Date: Wed, 9 Jul 2008 20:40:10 +0200	[thread overview]
Message-ID: <200807092040.10748.sr@denx.de> (raw)
In-Reply-To: <f608b67d0807091037g754cda65y25dedc41b6ffdfbe@mail.gmail.com>

Hi Vadim,

On Wednesday 09 July 2008, vb wrote:
> I am trying to control the amcc glacier (evkit460gt) eval board with a
> BDI3000, using the config file from
> ftp://78.31.64.234/bdigdb/config/powerpc/ppc4xx/ppc440/evkit460gt.cfg
> (modulo my local IP/tftp configuration).

I attached my local version for you. Perhaps this works better. It works here 
fine on my Glacier.

> The problem is that the board fails to run under the BDI control, and
> runs just fine without it.
>
> When looking closer I see that the bdi resets the board properly and
> takes it all the way to the point where the TLBs are set and the rfi
> instruction is executed to jump out of the original 4k window. At this
> point a TLB exception is thrown, that is it loos like TLB programming
> 'did not take' while under BDI control. So, if I just reset the board
> and let it run, it keeps cycling through TLB error exception as no
> memory other than the top 4k bytes is accessible. Again, it works just
> fine without the BDI.
>
> Any hints and suggestions will be highly appreciated,

What command are you using to "control" the PPC? "reset halt" will run you 
initialization from the script and halt the PPC. "reset run" will skip this 
init and give just run the PPC (hopefully to the U-Boot prompt).

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================
-------------- next part --------------
; bdiGDB configuration file for AMCC 460GT Evaluation Kit "Glacier"
; -----------------------------------------------------------------
;
;
[INIT]
; Setup TLB
WTLB    0xF0000095  0x4F00003F  ;Boot Space 256MB
WTLB    0x00000094  0x0000003F  ;SDRAM 256MB @ 0x00000000
WTLB    0x90000095  0x4000003F  ;ISRAM/OCM

; Setup Peripheral Bus
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
WDCR    0x12    0x00000010      ;Select EBC0_B0AP
WDCR    0x13    0x10055e00
WDCR    0x12    0x00000000      ;Select EBC0_B0CR
WDCR    0x13    0xfc0da000      ; 64MByte

; OCM
;WDCR    0x20   0x40004580      ;16k


[TARGET]
JTAGCLOCK   1                   ;use 8 MHz JTAG clock
CPUTYPE     440  		;the used target CPU type
WAKEUP      500                 ;wakeup time after reset
BREAKMODE   HARD      	        ;SOFT or HARD, HARD uses PPC hardware breakpoint
STEPMODE    HWBP                ;JTAG or HWBP, HWBP uses one or two hardware breakpoints


[HOST]
IP          10.0.0.152
FILE        /tftpboot/glacier/u-boot.bin
FORMAT      BIN
DUMP        /tftpboot/glacier/dump.bin
PROMPT      460EX>


[FLASH]
;WORKSPACE   0xe3040000  ;workspace in OCM
;WORKSPACE   0x70000000  ;workspace in OCM
;WORKSPACE   0x90040000  ;workspace in OCM
CHIPTYPE    MIRRORX16            ;Flash type
CHIPSIZE    0x1000000    ;The size of one flash chip in bytes
BUSWIDTH    16          ;The width of the flash memory bus in bits (8 | 16 | 32)
FILE        /tftpboot/glacier/u-boot.bin
;FORMAT      BIN 0xFFF80000
FORMAT      BIN 0xFFFA0000
;ERASE       0xFFF80000  ;erase sector 4
ERASE       0xFFFA0000  ;erase sector 4
ERASE       0xFFFC0000  ;erase sector 4
ERASE       0xFFFE0000  ;erase sector 6


[REGS]
FILE    /tftpboot/BDI2000/reg460ex.def

  reply	other threads:[~2008-07-09 18:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-09 17:37 [U-Boot-Users] BDI3000 and PPC460GT board vb
2008-07-09 18:40 ` Stefan Roese [this message]
2008-07-09 19:13   ` vb

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=200807092040.10748.sr@denx.de \
    --to=sr@denx.de \
    --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