[Peeweelinux] Newbie question: vmlinux or zImage instead of bzImage?

C Nagappa [email protected]
Thu, 28 Nov 2002 14:29:51 -0800


This is a multi-part message in MIME format.

--Boundary_(ID_W9agGyBezoStpAMTk6Yu2Q)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT

OK, I got it to work.  Here's how:

1. I ran ./pwlconfig to create and extract a linux filesystem onto a CF card on my SanDisk SDDR-75 CF reader (I chose the target configuration option which extracts the whole file system)
2. Then I took the config file from peeweelinux "kernelbuild/usr/src/linux/config" directory which I copied to /usr/src/linux-2.4  on my Desktop (I am using RH7.3) 
3. I then ran make xconfig, loaded the config file from step 2, added spcefic changes for my processor (NS Geode 233MHz, which uses the x586 processor type)
4. Then ran make clean, make dep and make bzImage
5. I then copied the created "vmlinux" file onto the CF card. Also copiled /lib/modules/2.4.18.x directory to the CF card (/mnt/flash/lib/modules/2.4.18.x)
6. Then configured the built-in boot loader via the BIOS on my Netvista Thin Client to use the vmlinux file (the boot loader is built into the flash of this machine and lilo will not work)
7. Installed the CF card into the CF slot of the Thin Client, and voila - it worked! (I had to make minor changes to /etc/inittab.)

(Note: I had problems when I tried to buid the kernel from the peeweelinux/kernelbuild/usr/src/linux directory. It compiled, but complained at the end and did not create the kernel images. This is why I decided to build the kernel under the RH7.3 Desktop /usr/src/linux-2.4 directory)

Surprisingly, the kernel 2.4.18.x seems to run OK (so far) with the 2.2.x peeweelinux-created filesystem on the CF card. 

Cheers,
C Nagappa


>Hi all,
>Is there an easy way to get an uncompressed kernel output (vmlinux or zImage) 
>instead of bzImage from pwlconfig?
>
>I am running an IBM Netvista 2200 Thin Client which runs a Geode processor. 
>Apparently, it cannot boot from bzImage.
>
>Thanks,
>C Nagappa


--Boundary_(ID_W9agGyBezoStpAMTk6Yu2Q)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: 7BIT

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial>OK, I got it to work.&nbsp; Here's how:</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>1. I ran ./pwlconfig to create and extract a linux 
filesystem onto a CF card on my SanDisk SDDR-75 CF reader (I chose the target 
configuration option which extracts the whole file system)</FONT></DIV>
<DIV><FONT face=Arial>2. Then </FONT><FONT face=Arial>I&nbsp;took the config 
file from peeweelinux "kernelbuild/usr/src/linux/config" directory which I 
copied to /usr/src/linux-2.4&nbsp; on my Desktop (I am using RH7.3) 
</FONT></DIV>
<DIV><FONT face=Arial>3. I then ran make xconfig, loaded the config file from 
step 2, added spcefic changes for my processor (NS Geode 233MHz, which uses the 
x586 processor type)</FONT></DIV>
<DIV><FONT face=Arial>4. Then ran make clean, make dep and make 
bzImage</FONT></DIV>
<DIV><FONT face=Arial>5. I then copied the created "vmlinux" file onto the CF 
card. Also copiled /lib/modules/2.4.18.x directory to the CF card 
(/mnt/flash/lib/modules/2.4.18.x)</FONT></DIV>
<DIV><FONT face=Arial>6. Then configured the built-in boot loader via the BIOS 
on my Netvista Thin Client&nbsp;to use the vmlinux file (the boot loader is 
built into the flash of this machine and lilo will not work)</FONT></DIV>
<DIV><FONT face=Arial>7. Installed the CF card into the CF slot of the Thin 
Client, and voila - it worked! (I had to make minor changes to 
/etc/inittab.)</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>
<DIV><FONT face=Arial>(Note: I had problems when I tried to buid the kernel from 
the peeweelinux/kernelbuild/usr/src/linux directory. It compiled, but complained 
at the end and did not create the kernel images. This is why&nbsp;I decided 
to&nbsp;build the kernel&nbsp;under the RH7.3 Desktop /usr/src/linux-2.4 
directory)</FONT></DIV></FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Surprisingly, the kernel 2.4.18.x seems to run OK (so far) 
with the&nbsp;2.2.x&nbsp;peeweelinux-created filesystem on the CF card. 
</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>Cheers,</FONT></DIV>
<DIV><FONT face=Arial>C Nagappa</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>&gt;Hi all,<BR>&gt;I</FONT><FONT face=Arial>s there an 
easy way to get an uncompressed kernel output (vmlinux or zImage) 
<BR>&gt;instead of bzImage from pwlconfig?<BR><FONT 
size=2>&gt;</FONT><BR></FONT><FONT face=Arial>&gt;I am running an IBM Netvista 
2200 Thin Client which runs a Geode processor. <BR></FONT><FONT 
face=Arial>&gt;Apparently, it cannot boot from bzImage.<BR><FONT 
size=2>&gt;</FONT><BR></FONT><FONT face=Arial>&gt;Thanks,<BR>&gt;C 
Nagappa<BR></DIV></FONT></BODY></HTML>

--Boundary_(ID_W9agGyBezoStpAMTk6Yu2Q)--