Skip to contentSkip to conversation

Linux ppc newbie boot sequense

DISCUSSION Francois Guimond 3 participants 4 messages Nov 22, 1999 – Nov 23, 1999

lore
Share & tools
lore
#0 lore raw

Excuse me for de obivious question, but I am a newbie...

I am trying to install a linux kernel on MPC8240 cpu in a limited flash space.
(Motorola sandpoint evaluation platform 512kb flash 32MB ram and dink32 software)

I have got a PPC zImage compiled.

My question is what do I put at First Instruction? Do I need Lilo?
Where is the first instruction of the kernel in a zImage?

I want only serial console first.

Because there is no CPM in it, I wanted to postpone the networking features.
It means no root over nfs...

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

#1 lore raw
Quoted 4 lines · Francois Guimond

I am trying to install a linux kernel on MPC8240 cpu in a limited flash space.
(Motorola sandpoint evaluation platform 512kb flash 32MB ram and dink32 software)

OK, I guess it is time to post what I have. This is kinda, sorta running.

Quoted 1 line

I have got a PPC zImage compiled.

Unless you make a few changes in arch/ppc/kernel, including creating some 8240 specific start up functions, it won't matter where you place the First Instruction :-).

Quoted 3 lines

Because there is no CPM in it, I wanted to postpone the networking features.
It means no root over nfs...

No, this works fine with a PCI Ethernet card.

Since the 8240/Sandpoint has such a small flash rom, it is your only choice. There isn't room to store a Linux kernel or compressed ram disk. You have to download the kernel over the serial port and use diskless NFS. Even though it has a standard IDE and floppy interface, there are no provisions in Dink to load an image from these.......Guess it is time to write yet another Linux flash rom.

	-- Dan

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

#2 lore raw
Quoted 9 lines · Dan Malek
Quoted 4 lines · Francois Guimond

I am trying to install a linux kernel on MPC8240 cpu in a limited flash space.
(Motorola sandpoint evaluation platform 512kb flash 32MB ram and dink32 software)

OK, I guess it is time to post what I have. This is kinda, sorta running.

What have you got?

Thanks for the clues!

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

#3 lore raw
Quoted 1 line · Francois Guimond

What have you got?

An 8240/Sandpoint that will boot up using a PCI Ethernet card and will use an NFS root file system. The console doesn't work properly because I didn't finish the 8259 interrupt controller code. You can start up Apache, inetd, and do everything over the network.

I'll try to get it checked into the latest 2.3.xx source tree (it is based on 2.3.16) over our Thanksgiving holiday weekend.

	-- Dan

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