Thanks for the pointer, cbxbiker.
Looking at the README for that kernel (http://sheeva.with-linux.com/sheeva/README-184.108.40.206
) it looks like I can pretty much just download the kernel and modules to the plug and nandwrite the image, all directly within the running plug rather than using JTAG, correct?
Are there detailed instructions for doing this kind of kernel upgrade anywhere? There are a few things in the README that I am unclear about:
# This is a mainline Linux Kernel and you must setAre the setenv/saveenv commands supposed to be run in the plug's running bash shell or in a boot-loader console?
# the mainlineLinux and arcNumber env variables in U-Boot
# and change the bootargs for a successful boot.
# setenv mainlineLinux yes
# setenv arcNumber 2097
####### change bootargs, replace nand_mtd with orion_nand and add rootfstype=jffs2
# setenv bootargs rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=192.168.1.9:192.168.1.4:192.168.1.4:255.255.255.0:DB88FXX81:eth0:none
Should the be run before or after the nandwrite?
Due to changes in vm security a change must be made in /etc/sysctl.d/10-process-security.conf.If I'm reading this correcty, I should be able to make this config change before doing the nandwrite. Correct?
vm.mmap_min_addr should be set to 32768 (This change is safe for any kernel version).
If this is not done it is likely that you will not be able to login remotely.
Although you should still be able to login as root on the main console.
So, as I understand the README, the steps to upgrade from the default kernel on a new plug are as follows:
Please let me know if this looks correct or if I have any of this wrong or out of order. Alternatively, please point me to step by step instructions that people have actually tried. I'd prefer not to brick my plug right off the bat if I can help it. As well, this way of updating the kernel seems a heck of a lot easier than setting up cross-compilers and the rest of it. If the documentation doesn't exist and I can get this working, I'd be happy to compile this into a more comprehensive wiki-page.