Skip to contentSkip to conversation

Problem booting Linux on MPC8XXFADS

DISCUSSION Sven Boehringer 3 participants 3 messages Mar 25, 2002 – Mar 26, 2002

lore
Share & tools
lore
#0 lore raw

Hi all,

i read the lists and some manuals but i can't find any solution that fit to my problem.
I use ppcboot-1.1.4 (yes i know, there is a newer one :-) an the kernel-sources 2.4.17 (from ftp.kernel.org). As HW i use a MPX8xxFADS with an 855T on it:

-PPCBoot 1.1.4 (Mar 25 2002 - 11:33:16)

-CPU: XPC860xxZPnnD3 at 49.800 MHz: 4 kB I-Cache 4 kB D-Cache FEC
present
-Board: FADS with db MPC821, MPC860 / MPC860SAR / MPC860T rev ENG or PILOT
-DRAM: (4 MB SDRAM) 12 MB
-FLASH: 2 MB

-In:    serial
-Out:   serial
-Err:   serial

The boot messages looking like this:

=>bootm 0200000
## Booting image at 00200000 ...

   Image Name:   2.4.17 Ver.0.2
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    475397 Bytes = 464 kB = 0 MB

Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK

An then no further output :-(
I also tried, that with 2.4.4-Sources from ftp.denx.de (linux-2.4.4-2002-03-21.tar.bz2) but still the same problem. And i also downloaded the kernel image to 02840000 which ist the base adress of my flash memory, looks the same.

And i also checked the following sentences in the README:
<snip>
Just make sure your machine specific header file (for instance include/asm-ppc/tqm8xx.h) includes the same definition of the Board Information structure as we define in include/ppcboot.h, and make sure that your definition of IMAP_ADDR uses the same value as your PPCBoot configuration in CFG_IMMR.
<snip>

But i have still problems at this point.

can somebody help me? Sorry if that is a newbie question..

thanks in advance,

Sven

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

i read the lists and some manuals but i can't find any solution that fit to my problem.

One possible solution: get yourself a debugger...

Quoted 6 lines

Verifying Checksum ... OK
Uncompressing Kernel Image ... OK

An then no further output :-(
I also tried, that with 2.4.4-Sources from ftp.denx.de (linux-2.4.4-2002-03-21.tar.bz2) but still the same problem. And i also

...

Quoted 1 line

can somebody help me? Sorry if that is a newbie question..

Check that you have configured the console on the correct port; you should be able to get a good configuration with

	$ make FADS860_config
	$ make oldconfig
	$ make dep
	$ make pImage

If it still hangs, try a post-mortem dump of the log_buf area (grep the address from the System.map file for your kernel, subtract 0xC0000000 to get the physical address, and use the "md" command in PPCBoot to dump that area).

But you should be aware - your chances to succesfully run Linux on a FADS rev ENG or PILOT board are pretty limted anyway.

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] Testing can show the presense of bugs, but not their absence.
-- Edsger Dijkstra

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw
In reply to Sven Boehringer
Quoted 9 lines · Sven Boehringer

And i also checked the following sentences in the README:
<snip>
Just make sure your machine specific header file (for instance include/asm-ppc/tqm8xx.h) includes the same definition of the Board Information structure as we define in include/ppcboot.h, and make sure that your definition of IMAP_ADDR uses the same value as your PPCBoot configuration in CFG_IMMR.
<snip>

You also have to compare the configuration of the ppcboot header file config_FADS860.h and the mpc8xx 'make menuconfig'-configuration of the kernel. The SMCs and SCCs are easily misconfigured.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/