* kernel 2.4 smc1 problems ... advice please ...
@ 2002-12-14 19:37 James Don
2002-12-14 21:13 ` Wolfgang Denk
2002-12-16 12:28 ` Leonardo Pereira Santos
0 siblings, 2 replies; 4+ messages in thread
From: James Don @ 2002-12-14 19:37 UTC (permalink / raw)
To: 'linuxppc-embedded@lists.linuxppc.org'
Hello,
I am cuurently trying to boot up the linux kernel using ppcboot 1.16 and the
2.4 kernel with only smc1 uart support as a start on an MPC860 FADS derived
board.
So far I have:
- ppcboot running great
- tftpboot graps my kernel puts in RAM
- bootm starts my kernel ... BUT no serial activity ...
I am using the vision ICE currently to debug the kernel start up but it has
a problem stepping through the 'rfi' etc when memory protection is running.
So currently I can only really peek at the PC and see that I am indeed
excuting kernel code.
I believe my memory map is ok:
MEM VIRT PHYS
RAM 0xc0000000 0x00000000
IMMR 0xff000000 0xff000000
My pc seems to get beyond start_kernel ... but I don't see the kernel banner
printed or anything ... with an ocillioscope I don't see any serial activity
at all after I exit ppcboot ...
I have check the following so far to the best of my abilities (until I get a
BDI 2000) ... and the MMU looks ok ... and my SMC port B settings are ok as
well.
Does anyone have any tips that could help me out? For some reason I think
either my MMU is not set to what I think it is ... or my SMC config has
tanked ...
Regards,
Jim
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: kernel 2.4 smc1 problems ... advice please ...
@ 2002-12-14 21:08 James Don
0 siblings, 0 replies; 4+ messages in thread
From: James Don @ 2002-12-14 21:08 UTC (permalink / raw)
To: James Don, 'linuxppc-embedded@lists.linuxppc.org'
Fixed ... after I changed the immr to 0xff000000 from 0x02200000 I left a
for(;;); in start_kernel ... sorry for the uneccessary post ...
Jim
-----Original Message-----
From: James Don [mailto:JDon@spacebridge.com]
Sent: Saturday, December 14, 2002 2:37 PM
To: 'linuxppc-embedded@lists.linuxppc.org'
Subject: kernel 2.4 smc1 problems ... advice please ...
Hello,
I am cuurently trying to boot up the linux kernel using ppcboot 1.16 and the
2.4 kernel with only smc1 uart support as a start on an MPC860 FADS derived
board.
So far I have:
- ppcboot running great
- tftpboot graps my kernel puts in RAM
- bootm starts my kernel ... BUT no serial activity ...
I am using the vision ICE currently to debug the kernel start up but it has
a problem stepping through the 'rfi' etc when memory protection is running.
So currently I can only really peek at the PC and see that I am indeed
excuting kernel code.
I believe my memory map is ok:
MEM VIRT PHYS
RAM 0xc0000000 0x00000000
IMMR 0xff000000 0xff000000
My pc seems to get beyond start_kernel ... but I don't see the kernel banner
printed or anything ... with an ocillioscope I don't see any serial activity
at all after I exit ppcboot ...
I have check the following so far to the best of my abilities (until I get a
BDI 2000) ... and the MMU looks ok ... and my SMC port B settings are ok as
well.
Does anyone have any tips that could help me out? For some reason I think
either my MMU is not set to what I think it is ... or my SMC config has
tanked ...
Regards,
Jim
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: kernel 2.4 smc1 problems ... advice please ...
2002-12-14 19:37 kernel 2.4 smc1 problems ... advice please James Don
@ 2002-12-14 21:13 ` Wolfgang Denk
2002-12-16 12:28 ` Leonardo Pereira Santos
1 sibling, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2002-12-14 21:13 UTC (permalink / raw)
To: James Don; +Cc: 'linuxppc-embedded@lists.linuxppc.org'
In message <DB0585C9F6F9D411BE8F00D0B7896A4CC05F11@SNCMAIL> you wrote:
>
> I am cuurently trying to boot up the linux kernel using ppcboot 1.16 and the
> 2.4 kernel with only smc1 uart support as a start on an MPC860 FADS derived
> board.
Which 2.4 kernel? Please be precise.
> So far I have:
> - ppcboot running great
> - tftpboot graps my kernel puts in RAM
> - bootm starts my kernel ... BUT no serial activity ...
This is a FAQ. See the Q&A section in http://www.denx.de/re/DPLG.html
Either you're passing a wrong bd_info structure, or a wrong clock
frequency (see also the PPCBoot README about the "clocks_in_mhz"
stuff.)
> I am using the vision ICE currently to debug the kernel start up but it has
> a problem stepping through the 'rfi' etc when memory protection is running.
You cannot step through rfi, not with any BDM debugger.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
I paid too much for it, but its worth it.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: kernel 2.4 smc1 problems ... advice please ...
2002-12-14 19:37 kernel 2.4 smc1 problems ... advice please James Don
2002-12-14 21:13 ` Wolfgang Denk
@ 2002-12-16 12:28 ` Leonardo Pereira Santos
1 sibling, 0 replies; 4+ messages in thread
From: Leonardo Pereira Santos @ 2002-12-16 12:28 UTC (permalink / raw)
To: James Don, linuxppc-embedded
Well we managed to make a MPC850 FADS work. But we haven't got any
problems with the console, but with the ethernet. My guess is that you have
a kernel configuration problem, problably at the MPC8xx CPM Options. There,
the only two selected options are the very first one, CPM SCC Ethernet, and
the the second one, SCC2 used of the ethernet. All the other options aren't
selected. After that, if you find out that the kernel is not initializing
the ethernet too (it'll complain that it can't mount the root FS if you're
using NFS), then you'll vahe to copy some definitions for the EPLD's
registers for the FADS boards. The kernel's one are outdated, I think. But
PPCBoot, as you already noticed, are correct, so edit asm-ppc/fads.h our
platforms/fads.h and change the BCSRs definitions found that for the
PPCBoot's ones. That solved our problems.
Cheers.
----- Original Message -----
From: "James Don" <JDon@spacebridge.com>
To: <linuxppc-embedded@lists.linuxppc.org>
Sent: Saturday, December 14, 2002 5:37 PM
Subject: kernel 2.4 smc1 problems ... advice please ...
>
> Hello,
>
> I am cuurently trying to boot up the linux kernel using ppcboot 1.16 and
the
> 2.4 kernel with only smc1 uart support as a start on an MPC860 FADS
derived
> board.
>
> So far I have:
> - ppcboot running great
> - tftpboot graps my kernel puts in RAM
> - bootm starts my kernel ... BUT no serial activity ...
>
> I am using the vision ICE currently to debug the kernel start up but it
has
> a problem stepping through the 'rfi' etc when memory protection is
running.
>
> So currently I can only really peek at the PC and see that I am indeed
> excuting kernel code.
>
> I believe my memory map is ok:
> MEM VIRT PHYS
> RAM 0xc0000000 0x00000000
> IMMR 0xff000000 0xff000000
>
> My pc seems to get beyond start_kernel ... but I don't see the kernel
banner
> printed or anything ... with an ocillioscope I don't see any serial
activity
> at all after I exit ppcboot ...
>
> I have check the following so far to the best of my abilities (until I get
a
> BDI 2000) ... and the MMU looks ok ... and my SMC port B settings are ok
as
> well.
>
> Does anyone have any tips that could help me out? For some reason I think
> either my MMU is not set to what I think it is ... or my SMC config has
> tanked ...
>
> Regards,
> Jim
>
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-12-16 12:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-14 19:37 kernel 2.4 smc1 problems ... advice please James Don
2002-12-14 21:13 ` Wolfgang Denk
2002-12-16 12:28 ` Leonardo Pereira Santos
-- strict thread matches above, loose matches on Subject: below --
2002-12-14 21:08 James Don
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).