All of lore.kernel.org
 help / color / mirror / Atom feed
From: 배장식 <jsbae@imctech.co.kr>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [Q] mpc8245 PortX
Date: Thu, 31 Jul 2003 18:06:49 +0900	[thread overview]
Message-ID: <000701c35743$13a1ebf0$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  9:06 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='000701c35743$13a1ebf0$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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.