--- Quote Start ---
originally posted by jdhar@Apr 11 2006, 11:05 AM
hippo,
do you have a patch for 2.6.12? i'm going to take a shot at looking at the differences between .11 and .12. 2.6.11 was put out by microtronix, right? i'm worried that maybe they stuck in some specific hacks to get it working that weren't carried over to any other versions. if i can get up to .12, i will compare .11 and .12 to see if i can spot anything.
j
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=14213)
--- quote end ---
--- Quote End ---
Yes, please find,
http://forum.niosforum.com/forum/index.php...ype=post&id=138 (
http://forum.niosforum.com/forum/index.php?act=attach&type=post&id=138)
cd~/download
wget -N http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.11.tar.bz2
wget -N http://www.uclinux.org/pub/uClinux/uClinux-2.6.x/linux-2.6.11-uc0.patch.gz
wget -N http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.12.tar.bz2
wget -N http://www.uclinux.org/pub/uClinux/uClinux-2.6.x/linux-2.6.12-uc0.patch.gz
cd ~
tar jxf ~/download/linux-2.6.11.tar.bz2
cd ~/linux-2.6.11
zcat ~/download/linux-2.6.11-uc0.patch.gz | patch -p1
patch -p0 <~/download/linux-2.6.11-nios2-01.diff
cd ~
tar jxf ~/download/linux-2.6.12.tar.bz2
cd ~/linux-2.6.12
zcat ~/download/linux-2.6.12-uc0.patch.gz | patch -p1
patch -p0 <~/download/linux-2.6.11-nios2-01.diff
patch -p0 <~/download/linux-2.6.12-nios2-02.diff
The first patch , linux-2.6.11-nios2-01.diff , come from 2.6.x , is believed to be clean, with only uart and altcf driver.
The next patch, linux-2.6.12-nios2-02.diff, is the minimal changes that is required to compile 2.6.12.
The linux-2.6.11 passed the tests, but linux-2.6.12 failed on one of my board.