All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kishore Devireddy <kishorekrd@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] MPC8245 custom board, Linux kernel hangs after uncompressing
Date: Wed, 20 Apr 2005 17:54:37 -0700	[thread overview]
Message-ID: <2cf2641f050420175428db18b7@mail.gmail.com> (raw)
In-Reply-To: <20050420000143.67D86C1784@atlas.denx.de>

Hi 

Thanks for your reply. U-boot is working very well on the custom
mpc8245 board. I did some changes in the A3000.h file to make it work.
All most all the features of u-boot are working. Problem comes when I
load linux on to it. I compiled ELDK 3.0 verison. Since ELDK 3.0 does
not have A3000 configuration I modified Sandpoint8245 configuration
and compiled it. As I mentioned I did all the 3 steps mentioned in FAQ
for "linux hangs after uncompressing" problem.

1. I configured linux kernel Sandpoint8245 .config file with flash and
network drivers needed for my board. Is there any thing I need to do
for SDRAM?
2. When I tried to run vmlinux using BDI2000 (with out u-boot) I got
the following output

BDI>prog 0xffc00000 vmlinux.eldk bin
Programming vmlinux.eldk , please wait ....
Programming flash passed
BDI>go 0xffc00000
- TARGET: target has entered debug mode
BDI>info
    Target CPU        : MPC82xx (G2H4)
    Target state      : debug mode
    Debug entry cause : FPU unavailable exception
    Current PC        : 0x00000000
    Current CR        : 0x20000000
    Current MSR       : 0x00000000
    Current LR        : 0xffd7ee18

Is there any thing I need to do to fix this. 

3. Is there any embedded linux available for the artis A3000 type of board?

Thanks
Kishore

On 4/19/05, Wolfgang Denk <wd@denx.de> wrote:
> In message <2cf2641f0504191646536d2ad5@mail.gmail.com> you wrote:
> >
> > I am trying to run Embedded linux (ELDK) on a custom powerpc board,
> > which is similar to Artis A3000 board. This board has
> > mpc8245(XPC8245LZY266B), natsemi 83815 ethernet, 4MB intel e28f320
> > flash, 16MB winbond w986432DH-6 SDRAM. So I configured and compiled
> > U-boot for A3000 borad. U-boot worked on my board also. Next I
> > compiled ELDK 3.0 for Sandpoint 8245 board and copied to flash. But
> 
> I don't think that you compiled the _ELDK_!
> 
> > linux hangs after uncompressing
> ...
> > nothing happens after this until I reboot the board. I read u-boot FAQ
> > and configured bd_info structure same for both u-boot and Linux. I
> > found that CFG_IMMR is not applicable to MPC8245. I also used
> > clocks_in_mhz variable also before loading Linux. I am stuck here.
> 
> I hope with "used" you mean that you made sure it is NOT set.
> 
> > Could you please let me know what should I do next?
> 
> You make a fundamental error. You're using  an  U-Boot  configuration
> which has not been correctly ported and configured to your board, and
> you're  using  a Linux kernel which has not been correctly ported and
> configured to your board.
> 
> This cannot work. Go back to square 1.
> 
> Best regards,
> 
> Wolfgang Denk
> 
> --
> Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> If A equals success, then the formula is A = X + Y + Z. X is work.  Y
> is play. Z is keep your mouth shut.                 - Albert Einstein
>

  reply	other threads:[~2005-04-21  0:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-19 23:46 [U-Boot-Users] MPC8245 custom board, Linux kernel hangs after uncompressing Kishore Devireddy
2005-04-20  0:01 ` Wolfgang Denk
2005-04-21  0:54   ` Kishore Devireddy [this message]
2005-04-21  9:04     ` Daniel Ann
  -- strict thread matches above, loose matches on Subject: below --
2005-04-21  7:45 Sam Song

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=2cf2641f050420175428db18b7@mail.gmail.com \
    --to=kishorekrd@gmail.com \
    --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.