On 05/21/2010 02:38 AM, Daniel Kahn Gillmor wrote: > I'm in the process of re-building the 2.6.32-13 package for kirkwood on > the guruplug itself -- hopefully i can sort out how to boot from it soon > (pointers welcome).
So i built the kernel package from 2.6.32-13 like this as a regular user: mkdir ~/src/linux cd ~/src/linux apt-get source linux-2.6/unstable cd linux-2.6-2.6.32/ make -f debian/rules source fakeroot make -f debian/rules.gen binary-arch_armel_none_kirkwood Then i installed the resulting package as the superuser: aptitude install initramfs-tools linux-base dpkg --install linux-image-2.6.32-5-kirkwood_2.6.32-13_armel.deb aptitude -f install and generated a uBoot-friendly kernel and initramfs (thanks to Clint Adams for helping me cargo-cult this): cd /boot mkimage -A arm -O linux -T kernel -C none -a 0x00008000 \ -e 0x00008000 -n Linux-2.6.32-2 -d vmlinuz-2.6.32-5-kirkwood uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 \ -e 0x00000000 -n initramfs -d initrd.img-2.6.32-5-kirkwood uInitrd Then i stuck those on a local tftp server and tried booting it that way, via the Marvell>> prompt for the bootloader: setenv serverip 10.156.156.1 setenv ipaddr 10.156.156.34 tftpboot 0x8000000 guru/uInitrd tftpboot 0x2000000 guru/uImage bootm 0x2000000 0x8000000 and i get the following output: > Marvell>> bootm 0x2000000 0x8000000 > ## Booting kernel from Legacy Image at 02000000 ... > Image Name: Linux-2.6.32-2 > Image Type: ARM Linux Kernel Image (uncompressed) > Data Size: 1444316 Bytes = 1.4 MB > Load Address: 00008000 > Entry Point: 00008000 > Verifying Checksum ... OK > ## Loading init Ramdisk from Legacy Image at 08000000 ... > Image Name: initramfs > Image Type: ARM Linux RAMDisk Image (gzip compressed) > Data Size: 6722508 Bytes = 6.4 MB > Load Address: 00000000 > Entry Point: 00000000 > Verifying Checksum ... OK > Loading Kernel Image ... OK > OK > > Starting kernel ... > > Uncompressing Linux... done, booting the kernel. > > Error: unrecognized/unsupported machine ID (r1 = 0x00000a29). > > Available machine support: > > ID (hex) NAME > 00000690 Marvell DB-88F6281-BP Development Board > 00000691 Marvell RD-88F6192-NAS Development Board > 00000692 Marvell RD-88F6281 Reference Board > 00000a76 Marvell eSATA SheevaPlug Reference Board > 00000831 Marvell SheevaPlug Reference Board > 00000a63 Marvell GuruPlug Reference Board > 0000085b QNAP TS-119/TS-219 > 000009c6 QNAP TS-41x > 00000915 Marvell OpenRD Base Board > 00000939 Marvell OpenRD Client Board > > Please check your kernel config and/or bootloader. So maybe the machine identifier in the guruplug patches is somehow wrong, or doesn't account for the current system? More notes on the way when i sort anything else out. --dkg
signature.asc
Description: OpenPGP digital signature