* [U-Boot-Users] MPC8245 custom board, Linux kernel hangs after uncompressing
@ 2005-04-19 23:46 Kishore Devireddy
2005-04-20 0:01 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: Kishore Devireddy @ 2005-04-19 23:46 UTC (permalink / raw)
To: u-boot
Hi
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
linux hangs after uncompressing
U-Boot 1.1.2 (Apr 14 2005 - 00:02:29)
CPU: MPC8245 Revision 1.2 at 249.999 MHz: 16 kB I-Cache 16 kB D-Cache
Board: A3000 Local Bus at 99.999 MHz
I2C: ready
DRAM: 16 MB
FLASH: Get flash bank 0 @ 0xffc00000
Manuf. ID @ 0xff800000: 0x00000089
Device ID @ 0xff800001: 0x00000016
## Flash bank 0 at 0xffc00000 sizes: 0x00400000
protect monitor fff00000 @ 40000
protect environtment fffc0000 @ 20000
## Final Flash bank sizes: 00400000
4 MB
00 13 100b 0020 0200 ff
In: serial
Out: serial
Err: serial
Net: natsemi: EEPROM contents:
ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff
dp83815#0
Warning: dp83815#0 MAC addresses don't match:
Address in SROM is FF:FF:FF:FF:FF:FF
Address in environment is 00:40:05:B0:F1:BA
A3000> tftpboot 400000 uImage.eldk
Using dp83815#0 device
TFTP from server 192.168.1.124; our IP address is 192.168.1.54
Filename 'uImage.eldk'.
Load address: 0x400000
Loading: #################################################################
#################################################################
###################
done
Bytes transferred = 757926 (b90a6 hex)
A3000> bootm
## Booting image at 00400000 ...
Image Name: Linux-2.4.25
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 757862 Bytes = 740.1 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
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.
Could you please let me know what should I do next?
Thanks
Kishore
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] MPC8245 custom board, Linux kernel hangs after uncompressing
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
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2005-04-20 0:01 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] MPC8245 custom board, Linux kernel hangs after uncompressing
2005-04-20 0:01 ` Wolfgang Denk
@ 2005-04-21 0:54 ` Kishore Devireddy
2005-04-21 9:04 ` Daniel Ann
0 siblings, 1 reply; 5+ messages in thread
From: Kishore Devireddy @ 2005-04-21 0:54 UTC (permalink / raw)
To: u-boot
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
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] MPC8245 custom board, Linux kernel hangs after uncompressing
@ 2005-04-21 7:45 Sam Song
0 siblings, 0 replies; 5+ messages in thread
From: Sam Song @ 2005-04-21 7:45 UTC (permalink / raw)
To: u-boot
Kishore Devireddy <kishorekrd@gmail.com> wrote:
[snip]
> load linux on to it. I compiled ELDK 3.0 verison.
A wild guess. Do u mean ELDK 3.0 here as denx linux
2.4.24???
> and compiled it. As I mentioned I did all the 3
> steps mentioned in FAQ
> for "linux hangs after uncompressing" problem.
Except FAQ, still something else you need to fix.
Anyway, custom board linux porting isn't so easy
sometimes.
> BDI>go 0xffc00000
> - TARGET: target has entered debug mode
Ummmm, a fatal operation, I am afraid. Linux kernel
couldn't be booted in this way. "go" is not for linux.
Go back to use bootm in u-boot console. Still, one
tip for you. Pls check your cmdline transfered by
u-boot. Well, u can try debugging the kernel with
BDI2000. You have such a nice debug tool at hand:)
Hope this helps,
Sam
_________________________________________________________
Do You Yahoo!?
150??MP3????????????
http://cn.rd.yahoo.com/mail_cn/tag/yisou/music/*http://music.yisou.com/
???????????????????
http://cn.rd.yahoo.com/mail_cn/tag/yisou/image/*http://image.yisou.com
1G??1000???????????
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot-Users] MPC8245 custom board, Linux kernel hangs after uncompressing
2005-04-21 0:54 ` Kishore Devireddy
@ 2005-04-21 9:04 ` Daniel Ann
0 siblings, 0 replies; 5+ messages in thread
From: Daniel Ann @ 2005-04-21 9:04 UTC (permalink / raw)
To: u-boot
On 4/21/05, Kishore Devireddy <kishorekrd@gmail.com> wrote:
> 3. Is there any embedded linux available for the artis A3000 type of board?
You're keep referring to A3000, I'm just wondering why. A3000 is a
reference board from Artis Micro. Its referencing MPC8245. But artis
have stopped rolling out this model for something like 2 years now.
And trying to find linux ported for this model would be quite hard.
Alternative is to use Sandpoint8245.
After using A3000 myself, it worked well with the custom image
(ppcboot 1.1.6) but putting on no customized version of u-boot
(latest), it failed short in many aspect. So, my guess is that, even
if your board is one off A3000, you still have to do some hard work to
port for your board.
Alternatively, you could try getting answers from GDA Technologies
(www.gdatech.com). They did the porting for A3000 model. I tried
getting answers from Artis Micro Systems, and got no helpful answer
but "we have stopped supporting this model" reply. :P
--
Daniel
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-04-21 9:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2005-04-21 9:04 ` Daniel Ann
-- strict thread matches above, loose matches on Subject: below --
2005-04-21 7:45 Sam Song
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox