* Booting the kernel
@ 2000-12-19 16:57 Rabeeh Khoury
0 siblings, 0 replies; 3+ messages in thread
From: Rabeeh Khoury @ 2000-12-19 16:57 UTC (permalink / raw)
To: linuxppc-embedded
Hi All,
I'v developed a network loader for our embedded systems that downloads a
kernel through network. Before branching to the kernel entry point
(logical address 0x0) I have I/D BAT2 already mapping 0xc0000000 to
0x00000000 . The problem is that the kernel hangs in lots of places in
arch/ppc/kernel/head.S file . For example all the mmu_off stuff ,
changing the BATs etc...
The question is what is the idial situation that the kernel will most
like ? What should be the situation of the BATs / MMU ?
What is initrd_start / end ? and what should I put in r4 / r5 ?
Any other piece of information provided might help bringing the boot
puzzle up !
Regards,
Rabeeh
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Booting the kernel
@ 2003-02-18 13:05 linuxuser
0 siblings, 0 replies; 3+ messages in thread
From: linuxuser @ 2003-02-18 13:05 UTC (permalink / raw)
To: linuxppc-embedded
Hi
I am trying to port linux (ELDK 1.0.1) on custom
MPC860 target board and new to this work. I am facing
problems at particular stage.
On hyperterminal I could see the message "Now booting
the kernel..."
and the target is getting hanged due to panic
condition.When debugged it is found that console
driver is not getting initialized. To overcome this in
init/main.c file , I called the console_init
subroutine before printk(linux_banner). still the same
problem persists.. Is this problem is due to MMU
initialization ??
On target board we have 2MB Flash memory( addr
0x2800000-29FFFFF)and 32 MB SD RAM with starting
address 0x0000000.
I followed the following steps to compile and using
SDS debugger
make menuconfig,make dep, make zImage
If any one have solution kindly reply ..
shekar
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Booting the kernel
@ 2003-02-18 13:31 Philip.Lougher
0 siblings, 0 replies; 3+ messages in thread
From: Philip.Lougher @ 2003-02-18 13:31 UTC (permalink / raw)
To: linuxuser; +Cc: linuxppc-embedded
>On hyperterminal I could see the message "Now booting
>the kernel..."
>
>and the target is getting hanged due to panic
>condition.When debugged it is found that console
>driver is not getting initialized. To overcome this in
>init/main.c file , I called the console_init
>subroutine before printk(linux_banner). still the same
>problem persists..
Initialising the console before the Linux kernel does it, is generally not
a good idea. The Linux kernel initialises it when it does, because things
are not sufficiently setup to do it before hand.
If you send a dump of the kernel output and the kernel panic, you should
get more help. Without any output it's pure guess work.
Regards
Phillip Lougher
linuxuser
<rlinuxuser@yahoo.com> To: linuxppc-embedded@lists.linuxppc.org
Sent by: cc:
owner-linuxppc-embedded@lists.l Subject: Booting the kernel
inuxppc.org
18-Feb-2003 01:05 PM
Hi
I am trying to port linux (ELDK 1.0.1) on custom
MPC860 target board and new to this work. I am facing
problems at particular stage.
On hyperterminal I could see the message "Now booting
the kernel..."
and the target is getting hanged due to panic
condition.When debugged it is found that console
driver is not getting initialized. To overcome this in
init/main.c file , I called the console_init
subroutine before printk(linux_banner). still the same
problem persists.. Is this problem is due to MMU
initialization ??
On target board we have 2MB Flash memory( addr
0x2800000-29FFFFF)and 32 MB SD RAM with starting
address 0x0000000.
I followed the following steps to compile and using
SDS debugger
make menuconfig,make dep, make zImage
If any one have solution kindly reply ..
shekar
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-02-18 13:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-18 13:05 Booting the kernel linuxuser
-- strict thread matches above, loose matches on Subject: below --
2003-02-18 13:31 Philip.Lougher
2000-12-19 16:57 Rabeeh Khoury
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).