my goal is to eventually replace kernel and rootfs of my GuruPlug.
I started with what seemed to be the the easiest step: building a (not so) custom kernel.
So, I got the kernel sources from the GuruPlug download area at this site (http://plugcomputer.org/index.php/us/resources/downloads?func=fileinfo&id=75
). Next I copied /proc/config.gz from the plug to my workstation and rebuilt the kernel:
$ make ARCH=arm CROSS_COMPILE=arm-unknown-linux-gnueabi- uImage
The resulting uImage should be the same as the same the GuruPlug was shipped with.
However, I cannot boot my build via tftp:
> setenv ipaddr 192.168.1.3
> setenv serverip 192.168.1.1
> setenv arcNumber 2659
I got this from grepping GURUPLUG arch/arm/tools/mach-types
> setenv mainlineLinux yes
> tftpboot 0x2000000 uImage-mine
> setenv bootargs console=ttyS0,115200 root=dev/ram rw
> bootm 0x2000000
u-boot tells me:
Uncompressing kernel... done, booting kernel.
Afterwards I get no more output.
This posting (http://plugcomputer.org/plugforum/index.php?topic=1547.msg10065#msg10065
) suggests that u-boot may be incompatible with mainline kernels, BUT:
* I grabbed the kernel code from this very website
* the patch from 188.8.131.52 to the kernel tree posted there doesn't show any diverging architecture numbers
The u-boot environment that the GuruPlug comes up doesn't contain the arcNumber setting.
Interestingly, the kernel tree posted here is not the same as the one that was used to build the uImage that GuruPlug is shipped with.
So extra question: where do I get the kernel tree that corresponds to the build on the plug?
Hints please? I guess I could try flashing u-boot, but I'd rather not
(FWIW, the kernel config that was posted along with the kernel tree looks sane. I enabled the GuruPlug-specific setup code, there's serial drivers enabled etc.)