Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

Linux Kernel 3.6.11 Kirkwood package (Non Flatten Device Tree) (no replies)

$
0
0
I have uploaded a Debian kernel package for 3.6.11-kirkwood which I've built with a collection of patches for GoFlex Home/Net, Pogoplug E02/Mobile/V4, iConnect, Dockstar, Sheevaplug and a few other Kirkwood plugs are already in the mainline. Since we don't have all Kirkwood FDT board files available yet (mainline has GoFlex Net and iConnect), I thought it would be useful for users who are looking to run kernel 3.6.x on Kirkwood boxes and can't wait for their board files to be submitted. This patched kernel basically de-selected FDT option in kernel config, and also has changed some FDT-only initialization code to remove compile problem. With this kernel we can run the Kirkwood boxes with arcNumber (i.e. mach-types implementation) like we've been doing.


Download at Dropbox:
linux-3.6.11-kirkwood-bodhi.tar.bz2
MD5:
f11c9d4a0df55bed38f5bfee2d5081a1

To install:

- Backup your current uImage and uInitrd. In the /boot directory, these are files for your current kernel (xx.xx.xx is the version number):
uInitrd
uImage
initrd.img-xx.xx.xx-kirkwood
System.map-xx.xx.xx-kirkwood
vmlinuz-xx.xx.xx-kirkwood
config-xx.xx.xx-kirkwood

- Extract the kernel in the archive and install it
tar -xjf linux-3.6.11-kirkwood-bodhi.tar.bz2
dpkg -i linux-image-3.6.11-kirkwood-tld_1.0_armel.deb


- Ignore the error messages about can't not flash-kernel, and create the uImage and uInitrd manually
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-3.6.11-kirkwood-tld -d /boot/vmlinuz-3.6.11-kirkwood-tld /boot/uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-3.6.11-kirkwood-tld  -d /boot/initrd.img-3.6.11-kirkwood-tld /boot/uInitrd

- The new uImage and uInitrd files should be created in /boot directory now. You're ready to reboot the system
sync
shutdown -r now

Note:
For completeness, create symlinks for the kernel in your / directory (in case the rootfs is ever used with different bootloader). But it is not necessary to do this for uBoot.
cd /
ln -s boot/vmlinuz-3.6.11-kirkwood-tld vmlinuz
ln -s boot/initrd.img-3.6.11-kirkwood-tld initrd.img


Enjoy! and let me know if there is any problem. When I got the consolidated patch I will post it here, along with the kernel config file for anybody wants to build their own kernel.

Viewing all articles
Browse latest Browse all 3247

Trending Articles