* MPC7410 doesn't work with linux-2.4.20-denx
@ 2003-08-14 11:28 Christian Meyer
2003-08-15 8:42 ` Wolfgang Denk
0 siblings, 1 reply; 6+ messages in thread
From: Christian Meyer @ 2003-08-14 11:28 UTC (permalink / raw)
To: linuxppc-embedded
Hello!
I'm currently trying to get linux running on an embedded board:
* MPC7410 Rev.1.4
* PowerQUICC (MPC 8260)
* RAM: 128 MB
* Flash: 64 MB
* Kernel: 2.4.20-denx
For some reason, it doesn't boot properly. It says "Now booting Linux",
after that something triggers a hard reset. For the last 2 weeks I tried
to debug (using the hardware debugger BDI2000) the kernel and more or
less found out where the problem might be located.
start_here() (arch/ppc/kernel/head.S) calls call_setup_cpu()
(arch/ppc/kernel/misc.S), machine_init() (arch/ppc/kernel/setup.c),
MMU_init() (arch/ppc/mm/init.c) and load_up_mmu()
(arch/ppc/kernel/head.S). call_setup_cpu() and machine_init() seem to
be fine; MMU_init() calls MMU_init_hw() and mapin_ram(). As far as I
can tell, that's the point where the board initiates a hard reset. I
don't know why it does that and I also don't know any solution to solve
that problem. It seems like either the MMU isn't correctly initialized
or there's a problem with the L2 cache. Motorola says, that the MPC7410
is compatible to the MPC75x; regarding my current problem it looks like
that there's a difference somewhere.
Maybe you know a solution for the problem or have an idea how to find
out what's wrong.
Thanks in advance,
--
Christian Meyer
Technische Universität München
E-Mail: Christian.Meyer@cs.tum.edu
UIN: 72107443
AIM: chrisime
Jabber: chrisime@charente.de
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: MPC7410 doesn't work with linux-2.4.20-denx
2003-08-14 11:28 MPC7410 doesn't work with linux-2.4.20-denx Christian Meyer
@ 2003-08-15 8:42 ` Wolfgang Denk
2003-08-15 18:00 ` Ron Bianco
2003-08-19 11:24 ` problems on building linux kernel John Zhou
0 siblings, 2 replies; 6+ messages in thread
From: Wolfgang Denk @ 2003-08-15 8:42 UTC (permalink / raw)
To: Christian Meyer; +Cc: linuxppc-embedded
Dear Christian,
in message <200308141128.h7EBSnQ06089@mailgate5.cinetic.de> you wrote:
>
> I'm currently trying to get linux running on an embedded board:
> * MPC7410 Rev.1.4
> * PowerQUICC (MPC 8260)
> * RAM: 128 MB
> * Flash: 64 MB
> * Kernel: 2.4.20-denx
>
> For some reason, it doesn't boot properly. It says "Now booting Linux",
> after that something triggers a hard reset. For the last 2 weeks I tried
A couple of questions:
* Which bootloader are you using?
* Are you sure that the SDRAM initialization is correct?
* Are you sure the information passed from the bootloader to the Linux
kernel (memory size, clocks, ...) is correct?
* Finally: did you disable the software watchdog?
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
If you fail to plan, plan to fail.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: MPC7410 doesn't work with linux-2.4.20-denx
2003-08-15 8:42 ` Wolfgang Denk
@ 2003-08-15 18:00 ` Ron Bianco
2003-08-15 19:21 ` Wolfgang Denk
2003-08-19 11:24 ` problems on building linux kernel John Zhou
1 sibling, 1 reply; 6+ messages in thread
From: Ron Bianco @ 2003-08-15 18:00 UTC (permalink / raw)
To: linuxppc-embedded
I'm curious as to what an MPC8260 is doing on a board based on an MPC7410?
Is this a dual processor board?
Ron
>
> Dear Christian,
>
> in message <200308141128.h7EBSnQ06089@mailgate5.cinetic.de> you wrote:
> >
> > I'm currently trying to get linux running on an embedded board:
> > * MPC7410 Rev.1.4
> > * PowerQUICC (MPC 8260)
> > * RAM: 128 MB
> > * Flash: 64 MB
> > * Kernel: 2.4.20-denx
> >
> > For some reason, it doesn't boot properly. It says "Now booting Linux",
> > after that something triggers a hard reset. For the last 2 weeks I tried
>
> A couple of questions:
>
> * Which bootloader are you using?
> * Are you sure that the SDRAM initialization is correct?
> * Are you sure the information passed from the bootloader to the Linux
> kernel (memory size, clocks, ...) is correct?
> * Finally: did you disable the software watchdog?
>
>
> 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
> If you fail to plan, plan to fail.
>
>
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: MPC7410 doesn't work with linux-2.4.20-denx
2003-08-15 18:00 ` Ron Bianco
@ 2003-08-15 19:21 ` Wolfgang Denk
0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2003-08-15 19:21 UTC (permalink / raw)
To: Ron Bianco; +Cc: linuxppc-embedded
In message <000301c36357$240d93c0$4d00a8c0@warp-speed> you wrote:
>
> I'm curious as to what an MPC8260 is doing on a board based on an MPC7410?
> Is this a dual processor board?
I guess the CPU core of the 8260 is disabled, and they use it as I/O
processor only. It provides a lot of nice communication features ...
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
Pain is a thing of the mind. The mind can be controlled.
-- Spock, "Operation -- Annihilate!" stardate 3287.2
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* problems on building linux kernel
2003-08-15 8:42 ` Wolfgang Denk
2003-08-15 18:00 ` Ron Bianco
@ 2003-08-19 11:24 ` John Zhou
2003-08-19 11:55 ` Dan Kegel
1 sibling, 1 reply; 6+ messages in thread
From: John Zhou @ 2003-08-19 11:24 UTC (permalink / raw)
To: linuxppc-embedded
Dear All,
I met a problem as following when I'm building linux kernel image. Does anyboday give me some advics or comments?
Thanks in advance!
=========================================================================
root@localhost linux-2.4.1]# make vmmage
ppc-linux-gcc -D__KERNEL__ -I/opt/Embedix/home/abc/project/ppcTest/build/rpmdir/BUILD/linux-2.4.1/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -D__powerpc__ -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -Wa,-mppc64bridge -I/opt/Embedix/home/abc/project/ppcTest/build/rpmdir/BUILD/linux-2.4.1/include -I/opt/Embedix/home/abc/project/ppcTest/build/rpmdir/BUILD/linux-2.4.1/include/asm-ppc/ -I/opt/Embedix/home/abc/project/ppcTest/build/rpmdir/BUILD/linux-2.4.1/include/linux -c -o init/main.o init/main.c
Assembler messages:
Error: Internal assembler error for instruction bdnzlr-
Error: Internal assembler error for instruction bdnzlr+
Error: Internal assembler error for instruction bdnzlrl-
Error: Internal assembler error for instruction bdnzlrl+
Error: Internal assembler error for instruction bdzlr-
Error: Internal assembler error for instruction bnulrl+
Error: Internal assembler error for instruction btlr-
Error: Internal assembler error for instruction btlr+
Error: Internal assembler error for instruction btlrl-
Error: Internal assembler error for instruction btlrl+
Error: Internal assembler error for instruction bflr-
Error: Internal assembler error for instruction bflr+
Error: Internal assembler error for instruction bflrl-
Error: Internal assembler error for instruction bflrl+
Error: Internal assembler error for instruction bltctr-
Error: Internal assembler error for instruction bltctr+
Error: Internal assembler error for instruction bltctrl-
Error: Internal assembler error for instruction bltctrl+
Error: Internal assembler error for instruction bngctrl+
Error: Internal assembler error for instruction bnectr-
Error: Internal assembler error for instruction bfctrl-
Error: Internal assembler error for instruction bfctrl+
Internal error, aborting at ../../gas/config/tc-ppc.c line 1309 in md_begin
Please report this bug.
init/main.c:283: Internal compiler error:
init/main.c:283: output pipe has been closed
cpp0: output pipe has been closed
make: *** [init/main.o] Error 1
[root@localhost linux-2.4.1]#
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-08-19 11:55 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-14 11:28 MPC7410 doesn't work with linux-2.4.20-denx Christian Meyer
2003-08-15 8:42 ` Wolfgang Denk
2003-08-15 18:00 ` Ron Bianco
2003-08-15 19:21 ` Wolfgang Denk
2003-08-19 11:24 ` problems on building linux kernel John Zhou
2003-08-19 11:55 ` Dan Kegel
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).