4
« on: February 03, 2008, 05:21:07 pm »
this is a list of the patches that angstrom appears to apply to the kernel. the openswan patch didn't quite apply correctly so i chose not to apply it in my instructions below.
the touchscreen still doesn't work after applying all these patches. either i am leaving something out of the kernel config or there is some other patch that pdaxrom uses that i don't have... this fixed the right arrow bug, though
who knows what else fails to work in this kernel. i haven't done much testing.
all of these patches are in an attachment to this post along with the kernel config file i used.
cacko.patch
unb0rk-rightarrow.patch
unb0rk-apm.patch
battery.patch
bluetooth-2.4.18-mh15.patch
iw_handlers.w13-5.diff
iw_handlers.w14-5.diff
iw240_we15-6.diff
iw249_we16-6.diff
iw249_we17-13.diff
iw240_we18-5.diff
idecs.patch
logo.patch
initsh.patch
keymap-more-sane.patch
mkdep.patch
disable-pcmcia-probe.patch
linux-2.4.18-list_move.patch
openswan-2.2.0-kernel-2.4-klips.patch.gz
1764-1.patch
module_licence.patch
ir240_sys_max_tx-2.diff
ir241_qos_param-2.diff
put the contents of the cross sdk under /usr/local/arm (see my first post for a link to the sdk).
the compiler binaries should wind up in /usr/local/arm/2.95.3/bin once you uncompress the cross sdk tarball.
iirc, there are some hardwired paths in the cross compiler that require it to be in that directory.
create a directory to work in.
put the bziped kernel tarball (my first post links to it), the kernel.config file and all patches in this directory.
cd into the directory.
tar -xvjf linux-sl5500-20030509-rom3_10.tar.bz2
ln -s linux linux-2.4.18
ln -s linux linux-2.6-bkpxa
patch -p0 < cacko.patch
patch -p0 < unb0rk-rightarrow.patch
patch -p0 < unb0rk-apm.patch
patch -p0 < battery.patch
patch -p0 < bluetooth-2.4.18-mh15.patch
patch -p0 < iw_handlers.w13-5.diff
patch -p0 < iw_handlers.w14-5.diff
patch -p0 < iw240_we15-6.diff
patch -p0 < iw249_we16-6.diff
patch -p0 < iw249_we17-13.diff
patch -p0 < iw240_we18-5.diff
patch -p0 < idecs.patch
patch -p0 < logo.patch
patch -p0 < initsh.patch
patch -p0 < keymap-more-sane.patch
patch -p0 < mkdep.patch
patch -p0 < disable-pcmcia-probe.patch
patch -p0 < linux-2.4.18-list_move.patch
patch -p0 < 1764-1.patch
patch -p0 < module_licence.patch
patch -p0 < ir240_sys_max_tx-2.diff
patch -p0 < ir241_qos_param-2.diff
cp kernel.config linux/.config
cd linux
export PATH=$PATH:/usr/local/arm/2.95.3/bin/
for some reason, i need to do a make menuconfig and then immediately exit choosing to save my kernel config at this point. otherwise, the kernel will fail to compile. dunno why.
make menuconfig
select "Exit"
select "Yes" at the prompt
make dep && make bzImage
copy the newly created zImage from arch/arm/boot/ to your cf card along with the pdaxrom beta1 initrd.bin
reflash.
you might try leaving out the logo.patch if you don't like the openzaurus logo appearing at the top of the screen. lol.