Plan du KiWi
Si vous n'avez pas trouvé votre bonheur dans les liens plus haut, le plan vous montrera les quelques pages “cachées” de ce kiwi !
Credits go to: Andrea Conti, David Goodenough and the friendly and helpful yaffs2 development community.
Checkout the code of Backfire ( svn://svn.openwrt.org/openwrt/branches/backfire/ ), then build it selecting the RB1xx model and the ADM5210 since its our proc. The toolchain is embedded in the svn, don't worry about that.
Search the image format as you'll need a netboot image. You will need to build the kernel and a rootfs in tgz format.
Erase everything on your router to get some space. You will need a serial cable to do that. During boot, you have 2s to press a key to enter the bootloader menu of your RouterBoard. Press e to format your nand.
Then press o and then e to boot from BootP protocol instead of the nand.
To do that, you'll need a tftp server and a bootp server. I recommend you to use the ptftpd suite made by Maxime Petazzoni.
It will be really easy to use, plug an ethernet cable between your router and machine.
Start bootpd :
bootpd eth0 -g 192.168.0.1 netboot-kernel
Then in another terminal, start tftpd :
ptftpd /path/to/kernel
Your router will boot from your new kernel, yeah !
For this part, you'll need a webserver, if you don't have one already, use woof, it's a pretty script that will allow you to create a webserver to transfer a file one or multiple time.
Your router must be able to ping your machine !
mount /dev/mtdblock2 /mnt cd /mnt wget http://your.machine.ip:8080/ mv index.html kernel
cd / umount /mnt mount /dev/mtdblock3 /mnt cd /mnt wget http://your.machine.ip:8080/ mv index.html rootfs.tgz gzip -d rootfs.tgz tar xvf rootfs.tar rm rootfs.tar cd / umount /mnt sync reboot
Then press a key to enter the bootloader menu and press o and then o to select nand as your boot device.
Then you're set ! OpenWRT Backfire is live on your device, enjoy !