* Problem bringing up Linux on Custom MPC852 Board
@ 2004-11-13 11:54 Chris Down
2004-11-13 19:27 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: Chris Down @ 2004-11-13 11:54 UTC (permalink / raw)
To: linuxppc-embedded
Oops typo in the original subject line :-)
I am trying to bring up Linux (latest linuxppc-2.4 tree) on a custom =
MPC852
Board. The board has 8MByte SDRAM and 8MByte Flash.=20
I have ported u-boot, modified Linux to add a new board config and added =
the
board specific definitions in arch/ppc/platforms.=20
U-Boot and Linux were built using the ppc_8xx compiler from ELDK 3.0.
When I boot Linux I get the following:-
## Booting image at 00100000 ...
Image Name: Linux-2.4.28-pre3-cdd1
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 664920 Bytes =3D 649.3 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.28-pre3-cdd1 (chris@alioth) (gcc version 3.2.2 =
20030217 (Yello
w Dog Linux 3.0 3.2.2-2a_1)) #3 Fri Nov 12 09:46:59 GMT 2004 On node 0
totalpages: 2048
zone(0): 2048 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line:
Decrementer Frequency =3D 187500000/60
Calibrating delay loop... 49.76 BogoMIPS
Memory: 6508k available (1176k kernel code, 344k data, 56k init, 0k =
highmem)=20
Dentry cache hash table entries: 1024 (order: 1, 8192 bytes)=20
Inode cache hash table entries: 512 (order: 0, 4096 bytes)=20
Mount cache hash table entries: 512 (order: 0, 4096 bytes)=20
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)=20
Page-cache hash table entries: 2048 (order: 1, 8192 bytes) POSIX =
conformance
testing by UNIFIX
At this point it stops executing in arch_kernel_thread.
As I am new to this I could do with some pointers as to what to do next. =
Any
help would be gratefully appreciated.
Regards
Chris Down
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem bringing up Linux on Custom MPC852 Board
2004-11-13 11:54 Problem bringing up Linux on Custom MPC852 Board Chris Down
@ 2004-11-13 19:27 ` Wolfgang Denk
2004-11-13 21:11 ` Chris Down
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2004-11-13 19:27 UTC (permalink / raw)
To: Chris Down; +Cc: linuxppc-embedded
In message <000d01c4c977$8951b0e0$0101a8c0@alcor1> you wrote:
>
> I have ported u-boot, modified Linux to add a new board config and added the
> board specific definitions in arch/ppc/platforms.
...
> When I boot Linux I get the following:-
...
> At this point it stops executing in arch_kernel_thread.
I bet some beer that this is actually a FAQ - see
http://www.denx.de/twiki/bin/view/DULG/LinuxCrashesRandomly
This phenomenon is typical for a novice's port of U-Boot.
Best regards,
Wolfgang Denk
--
See us @ Embedded/Electronica Munich, Nov 09 - 12, Hall A.6 Booth 513
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
"There are things that are so serious that you can only joke about
them" - Heisenberg
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Problem bringing up Linux on Custom MPC852 Board
2004-11-13 19:27 ` Wolfgang Denk
@ 2004-11-13 21:11 ` Chris Down
2004-11-19 12:43 ` Chris Down
0 siblings, 1 reply; 5+ messages in thread
From: Chris Down @ 2004-11-13 21:11 UTC (permalink / raw)
To: wd; +Cc: linuxppc-embedded
> ...
> > At this point it stops executing in arch_kernel_thread.
>
> I bet some beer that this is actually a FAQ - see
> http://www.denx.de/twiki/bin/view/DULG/LinuxCrashesRandomly
>
> This phenomenon is typical for a novice's port of U-Boot.
>
Wolfgang, thanks for your reply. I will re-check the SDRAM initialisation and
UPM programming.
Regards
Chris Down
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Problem bringing up Linux on Custom MPC852 Board
2004-11-13 21:11 ` Chris Down
@ 2004-11-19 12:43 ` Chris Down
2004-11-19 13:36 ` Wolfgang Denk
0 siblings, 1 reply; 5+ messages in thread
From: Chris Down @ 2004-11-19 12:43 UTC (permalink / raw)
To: wd; +Cc: linuxppc-embedded
.
> > > At this point it stops executing in arch_kernel_thread.
> >=20
> > I bet some beer that this is actually a FAQ - see
> > http://www.denx.de/twiki/bin/view/DULG/LinuxCrashesRandomly
> >=20
> > This phenomenon is typical for a novice's port of U-Boot.
> >=20
>=20
> Wolfgang, thanks for your reply. I will re-check the SDRAM=20
> initialisation and UPM programming.
>=20
Wolfgang,
The solution was a lot simpler, there was no problem with the SDRAM
initialisation. The cause was due to the fact that I had a BDI2000 =
connected and
the SYSIE bit was enabled in the DER for flash programming. Clearing =
this bit
solved the problem, probably a typical novice error :-)
Regards
Chris Down
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Problem bringing up Linux on Custom MPC852 Board
2004-11-19 12:43 ` Chris Down
@ 2004-11-19 13:36 ` Wolfgang Denk
0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2004-11-19 13:36 UTC (permalink / raw)
To: Chris Down; +Cc: linuxppc-embedded
In message <000001c4ce35$6194b260$0101a8c0@alcor1> you wrote:
>
> The solution was a lot simpler, there was no problem with the SDRAM
> initialisation. The cause was due to the fact that I had a BDI2000
> connected and
> the SYSIE bit was enabled in the DER for flash programming. Clearing
There is no need to set SYSIE.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
We want to create puppets that pull their own strings. - Ann Marion
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-11-19 13:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-13 11:54 Problem bringing up Linux on Custom MPC852 Board Chris Down
2004-11-13 19:27 ` Wolfgang Denk
2004-11-13 21:11 ` Chris Down
2004-11-19 12:43 ` Chris Down
2004-11-19 13:36 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).