Is there a way that I can compile orion v2.6.31.1, from a usb drive, onto the nand?
Or am I going about this the wrong way?
Hello Doose,
Why not try writing your compiled uImage directly into the NAND partition of the sheevaplug? If you already have your compiled uImage, put it in your USB thumbdrive then do a nandwrite.
See below:
root@ubuntu:/mnt# ls
uImage
root@ubuntu:/mnt# cat /proc/mtd
dev: size erasesize name
mtd0: 00400000 00020000 "uImage"
mtd1: 1fb00000 00020000 "rootfs"
root@ubuntu:/mnt# flash_eraseall /dev/mtd0
Erasing 128 Kibyte @ 3e0000 -- 96 % complete.
root@ubuntu:/mnt# nandwrite -p /dev/mtd0 uImage
Writing data to block 0
Writing data to block 20000
Writing data to block 40000
Writing data to block 60000
Writing data to block 80000
Writing data to block a0000
Writing data to block c0000
Writing data to block e0000
Writing data to block 100000
Writing data to block 120000
Writing data to block 140000
Writing data to block 160000
Writing data to block 180000
Writing data to block 1a0000
Writing data to block 1c0000
Writing data to block 1e0000
Writing data to block 200000
Writing data to block 220000
Writing data to block 240000
Writing data to block 260000
Writing data to block 280000
root@ubuntu:/mnt#
Just ensure that you are modifying the nand partition for the kernel. After that perform a reboot.
Hope this helps.
