Gentoo Archives: gentoo-embedded

From: "Marcel S." <sm@××××××××××.de>
To: gentoo-embedded@l.g.o
Subject: [gentoo-embedded] Problems getting started with MPC860 PPC
Date: Tue, 11 Sep 2007 11:51:50
Message-Id: 46E67F3A.7010703@kleinreich.de
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Hello @all,
5 I'm new to this List and at the Moment I have some starting Problems.
6 But first where I am:
7 Hardware is:
8 MPC860 (PPC) on a MBX860 (2x4MB Flash, 76MB Dram,Qspan PCI,...)
9 I already build a powerpc-softfloat-linux-uclibc-Chain (gcc 4.1.2)
10 with crossdev under my be-loved Gentoo.
11 The Firmware on MBX is EPPC-Bug, but I compiled some other, f.e.
12 Redboot,U-Boot all are in one slotted Flash.
13 Now I try to boot a Kernel, I managed to compile a 2.4.35 and 2.6.22
14 with (I think) correct options for MBX, but now the Problem is, I
15 can't boot my new Kernel and I don't see any output as soon the
16 KERNEL/arch/ppc/boot/simple/*-routines are finished.
17 I already tried different console= Parameter, ttyCPM0,ttyS0,..., but
18 ttyS0 should be correct,
19 since Dbox2 uses same CPM-Serial Driver where console is on ttyS0.
20 It seems, that the Kernel is hanging somewhere in start_kernel()
21 before console_init().
22 Any Ideas how to find/debug problematic section?
23 Under EPPC-Bug, the Kernel is restarting the Box after some time (
24 2-3min ),
25 which lets me to the assumtion that the Kernel is not just hanging.
26
27 I'm thankfull for every hint you have for me.
28
29 Best regards,
30 Marcel Schmedes
31
32 Below 2 Bootlogs ( EPPC, U-Boot ):
33 EPPC:
34 EPPC-Bug>pl 20 0
35 Network Booting from: MPC860, Controller 20, Device 0
36 Loading: /embed/boot/zImage.elf
37
38 Client IP Address = 192.168.10.111
39 Server IP Address = 192.168.10.150
40 Gateway IP Address = 192.168.10.150
41 Subnet IP Address Mask = 255.255.255.0
42 Boot File Name = /embed/boot/zImage.elf
43 Argument File Name =
44
45 Bytes Received =&870812, Bytes Loaded =&870812
46 Bytes/Second =&435406, Elapsed Time =2 Second(s)
47
48 loaded at: 00014000 000B84C8
49 relocated to: 00400000 004A44C8
50 board data at: 043F4570 043F45A4
51 relocated to: 0040504C 00405080
52 zimage at: 00405F34 004A1CCE
53 avail ram: 004A5000 04400000
54
55 Linux/PPC load: console=ttyS0,9600
56 Uncompressing Linux...done.
57 Now booting the kernel
58
59 U-Boot:
60 CPU: XPC86xxxZPnnC1 at 40 MHz: 4 kB I-Cache 4 kB D-Cache
61 Board: MBX860EN(01-W3269F22D)
62 *** Warning: Low Battery Status - On-Board Battery ***
63 DRAM: 76 MB
64 FLASH: 4 MB
65 In: serial
66 Out: serial
67 Err: serial
68 Net: SCC ETHERNET
69 PCMCIA: No Card found
70 => bootp
71 BOOTP broadcast 1
72 Using SCC ETHERNET device
73 TFTP from server 192.168.10.150; our IP address is 192.168.10.111
74 Filename '/embed/boot/uImage'.
75 Load address: 0x100000
76 Loading: #################################################################
77 ############################################################
78 done
79 Bytes transferred = 638426 (9bdda hex)
80
81 => bootm 100000
82 ## Booting image at 00100000 ...
83 Image Name: Linux-2.6.22.6
84 Image Type: PowerPC Linux Kernel Image (gzip compressed)
85 Data Size: 638362 Bytes = 623.4 kB
86 Load Address: 00000000
87 Entry Point: 00000000
88 Verifying Checksum ... OK
89 Uncompressing Kernel Image ... OK
90
91 - --
92 "How should I know if it works? That's what beta testers are for. I
93 only coded it." (Attributed to Linus Torvalds, somewhere in a posting)
94 -----BEGIN PGP SIGNATURE-----
95 Version: GnuPG v1.4.7 (GNU/Linux)
96
97 iD8DBQFG5n85NazgWqTpLEMRAqIPAJwN35noWbMcO6pp8O9Um/YdJbhh+wCeOEyQ
98 xmSCFdJfsgAUuJddKCa2Qpc=
99 =+phw
100 -----END PGP SIGNATURE-----

Attachments

File name MIME type
0xA4E92C43.asc application/pgp-keys

Replies

Subject Author
Re: [gentoo-embedded] Problems getting started with MPC860 PPC Peter Stuge <peter@×××××.se>