uCdot
search uCdot:
 
Embedded Linux and uClinux Developer Forum
 
uCdot
- FAQ
- Dev Boards
- Submit Story
- Submit FAQ
- Submit Dev Board
- Topics
- Authors
- About

- Preferences
- Older Stuff
- Past Polls
- Discussions
- Journals
- Messages

Embedded Linux
Mailing Lists
uClinux-dev (search)
Coldfire (search)
MTD
Microblaze (search)
ELUG
BDM-devel
Blackfin

Embedded Linux
Sites
uClinux.org
uClinux-Dist
uClibc
uClinux Directory
LinuxDevices
ARMulator
uClinux-elf-tools
Colilo
Kernel Archives
H8-uClinux
TLDP
Microblaze uClinux
BDM Tools
SkyEye (emulator)
LOM
SETR live CD
Blackfin uClinux

Embedded Linux
Companies
SecureComputing
SDCS
CodePoet
Arcturus
Cadenux
ARMtwister
uClinux.net
Xiptech
senTec
embedded^cl
Cwlinux
emlix
TimeSys
eSpark Infotech
SSV Embedded Systems
Embedded Minds
PeerSec Networks
Vortech Consulting
swissEmbedded
Synertronixx
Mbedthis Software
.vantronix
Aday
GraceLabs
Pengutronix
metux ITS
Codito Technologies
Firmix Software
PetaLogix
NuDesign
Merritt Technologies
WindRiver
OpenGear
Rubico
Analog Devices
Artila Electronics
Vyatta
Embest Info&Tech
Katalix Systems
WorkWare Systems
Kdev
Intellimetrix
Virtual Cogs
SYSGO
coresystems
ExactCODE
KOAN

 
Adding a new/different kernel to the uClinux-dist
FAQ Whether tracking 2.6 development, wanting to use an updated uClinux-dist with and older kernel or perhaps slot a vendor kernel into the uClinux-dist, here are two simple options to make it easier. This example will demonstrate adding a new kernel patched kernel into the uClinux-dist.
Replace existing.

cd uClinux-dist
mv linux-2.6.x linux-2.6.x.orig
tar xvzf linux-2.6.18.tar.gz
cd linux-2.6.18
gunzip < linux-2.6.18-uc0.patch.gz | patch -p1
cd ..
mv linux-2.6.18 linux-2.6.x

then run make config etc to select the kernel and build the platform.

Add another kernel to the build options

cd uClinux-dist
tar xvzf linux-2.6.18.tar.gz
cd linux-2.6.18
gunzip < linux-2.6.18-uc0.patch.gz | patch -p1
cd ..
mv linux-2.6.18 linux-2.6.18.x
cd ../vendors/MYVENDOR/MYPRODUCT
cp config.linux-2.6.x config.linux-2.6.18.x
cp config.vendor-2.6.x config.vendor-2.6.18.x
cd ../../..

then run make config etc to select the new kernel options and build the platform.

This can be done with 2.0/2.4 and 2.6 kernels, actually, any directory named linux-blah.x will become a kernel option.

uClinux-2.6.18-uc0 released | Samba on uClinux  >

 

 
uCdot Login
Nickname:

Password:

[ Create a new account ]

Related Links
  • Linux
  • uClinux
  • More on FAQ
  • Also by davidm
  • This discussion has been archived. No new comments can be posted.
    Adding a new/different kernel to the uClinux-dist | Login/Create an Account | Top | Search Discussion
    Threshold:
    The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.

    The Embedded Linux and uClinux Developer Forum is hosted by: SnapGear Charm is a way of getting the answer "Yes" -- without having asked any clear question.

    [ home | contribute story | older articles | past polls | faq | authors | preferences ]