Arco
2006-05-27 15:59:10 UTC
I'm a bit afraid of diffs I have to admit:
kernel-decompose is the isl-flavour?
+ needs to be added
- is removed (so has to be a check so the original can stay)
what do I do with the "Only in kernel-decompose" parts?
Arco
#------8<-----------------------------
put this script and diff-uclinux-2.4.19-uc1-to-intersil.diff in a temp directory, now we have about 92 parts 8-)
# cat split.sh
mkdir -p output
rm output/*.diff 2>/dev/null
awk 'BEGIN {file="start.diff"; }
/^diff/ {file=$4;
gsub(/\//,"_",file);
gsub(/\./,"_",file);
gsub(/__/,"",file);
gsub(/$/,".diff",file);
gsub(/^/,"output/",file);
}
// { print >> file }
' diff-uclinux-2.4.19-uc1-to-intersil.diff
#------8<-----------------------------
Erich Schubert wrote ..
kernel-decompose is the isl-flavour?
+ needs to be added
- is removed (so has to be a check so the original can stay)
what do I do with the "Only in kernel-decompose" parts?
Arco
#------8<-----------------------------
put this script and diff-uclinux-2.4.19-uc1-to-intersil.diff in a temp directory, now we have about 92 parts 8-)
# cat split.sh
mkdir -p output
rm output/*.diff 2>/dev/null
awk 'BEGIN {file="start.diff"; }
/^diff/ {file=$4;
gsub(/\//,"_",file);
gsub(/\./,"_",file);
gsub(/__/,"",file);
gsub(/$/,".diff",file);
gsub(/^/,"output/",file);
}
// { print >> file }
' diff-uclinux-2.4.19-uc1-to-intersil.diff
#------8<-----------------------------
Erich Schubert wrote ..
I don't think it's that bad, actually. I once found out which uclinux
kernel
they used as a base and ran a diff against that, which was just 180k.
http://isl3893.sourceforge.net/download/patches/diff-uclinux-2.4.19-uc1-to-intersil.diff
If you want to port that to a newer kernel, leave all the MPU stuff away
at first... you can run it with the MPU disabled, and it will still
work, you just won't have the little bit of memory-protection the MPU
can do.
It's just that someone needs to actually DO it. Split that diff into
separate chunks and apply them to a current uclinux branch.
kernel
they used as a base and ran a diff against that, which was just 180k.
http://isl3893.sourceforge.net/download/patches/diff-uclinux-2.4.19-uc1-to-intersil.diff
If you want to port that to a newer kernel, leave all the MPU stuff away
at first... you can run it with the MPU disabled, and it will still
work, you just won't have the little bit of memory-protection the MPU
can do.
It's just that someone needs to actually DO it. Split that diff into
separate chunks and apply them to a current uclinux branch.