public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: 배장식 <jsbae@imctech.co.kr>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [Q]MPC8245 Extended Rom Setting
Date: Thu, 31 Jul 2003 16:11:02 +0900	[thread overview]
Message-ID: <000f01c35732$e7132a00$240110ac@jsbae> (raw)



i want to access extended rom area (0x70000000) in mpc8245 sandpoint board (ARTis Microsystems A-3000)
i tried to reallocate BAT1(initial stack area ) 0x40000000 to 0x70000000 but board was hang...
i wrote BAT1 reallocation function and call BAT1 reallocation function in board.c ( board_init_r () )

 void move_bat1 (void)
    {
    mtspr (IBAT1L, (0x70000000 | BATL_PP_10 | BATL_CACHEINHIBIT));
    mtspr (IBAT1U, (0x70000000 | BATU_BL_256M | BATU_VS | BATU_VP));

    mtspr (DBAT1L, (0x70000000 | BATL_PP_10 | BATL_CACHEINHIBIT));
    mtspr (DBAT1U, (0x70000000 | BATU_BL_256M | BATU_VS | BATU_VP));
    __asm__ __volatile__("eieio");
    __asm__ __volatile__("isync");
    __asm__ __volatile__("sync");

}

i think ram use stack at this function so 0x40000000 nerver accessed 

what's wrong... :-((

^^ best regard~~

                 reply	other threads:[~2003-07-31  7:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='000f01c35732$e7132a00$240110ac@jsbae' \
    --to=jsbae@imctech.co.kr \
    --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