Hi,
I'm trying to recompile my Pogoplug Pro's kernel (2.6.31.6_SMP_820) to enable PPP Filtering (required in order to setup a PPTP VPN).
I have succeeded compiling a new kernel (downloaded from http://download.pogoplug.com/opensource/pro/pogopro-linux-2.6.31.6-r2.tar.bz2) and its modules, however I'm stuck on how to deploy it.
Is it enough to put it in my HDD's /boot? Or do I need to reflash the NAND as done in oxnas-install.sh (code below)?
$this->bbcode_second_pass_code('', '
echo "## FLASHING NAND & UBOOT VARS"
echo "# backing up mtd1"
/usr/sbin/nanddump -o -f mtd1.dump /dev/mtd1
echo "# Erasing mtd1 @ 0x500000 for 17 erase blocks (kernel location)"
/usr/sbin/flash_erase /dev/mtd1 0x500000 17
echo "# Erasing mtd1 @ 0xB00000 for 17 erase blocks (2nd kernel location)"
/usr/sbin/flash_erase /dev/mtd1 0xB00000 17
########
## flash kernel
########
echo "# Flashing Kernel..."
if [ $PCI = 1 ]
then
echo "# - @ 0x500000"
/usr/sbin/nandwrite -p -s 0x500000 /dev/mtd1 /tmp/usb/boot/uImage.pci
echo "# - @ 0xB00000"
/usr/sbin/nandwrite -p -s 0xB00000 /dev/mtd1 /tmp/usb/boot/uImage.pci
')
I don't understand how uBoot works so I'm afraid of bricking my pogo.
Thanks!