I don't think you want to use this patch. OpenWrt uses custom drivers and a differnet configuration than Fonera's firmware (yes it's built on OpenWrt, but it's been customized and is no longer compatible with trunk).
It's probably just a matter of using the correct configuration (or creating one) for your generic router. Instead of using the generic kernel and squashfs rootfs, try using one of the combined images... which will have the mtd partitions setup for the respective router. If you have 8MB flash, try the fonera 2.0n image, if you have 4MB flash, try the dir-300 image. If you get it working, you may want to adjust the configuration slightly to match your generic router (gpios, etc). See linux/target/ramips/filese/arch/mips/ralink/rt305x/. Regards, Layne On Fri, 3 Jun 2011 10:30:57 +0530, harish badrinath wrote: >> What board/router are you using? > Its a unbranded chinese Ralink SOC RT3052 > >> What image did you flash? > I checked out trunk, built it on a local machine and then flahsed openwrt-ramips-rt305x-uImage.bin and openwrt-ramips-rt305x-root.squashfs. The patches in question can be found at (a)http://gitorious.org/wive-rtnl-ralink-rt305x-routers-firmware/wive-rtnl-ralink-rt305x-routers-firmware/blobs/51578b4f4efe8fba3eefec0a8e8aae4e6be7a404/linux-2.6.21.x/drivers/mtd/maps/ralink-flash.c [1] (b)http://svn.fonosfera.org/fon-ng/trunk/openwrt/target/linux/fonera2n/patches-2.6.21/301-mtd.patch [2] I am quiet new to openwrt (and the embedded world in general) any help would be appreciated. Regrds, Harish Badrinath _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org [3] https://lists.openwrt.org/mailman/listinfo/openwrt-devel [4] Links: ------ [1] http://gitorious.org/wive-rtnl-ralink-rt305x-routers-firmware/wive-rtnl-ralink-rt305x-routers-firmware/blobs/51578b4f4efe8fba3eefec0a8e8aae4e6be7a404/linux-2.6.21.x/drivers/mtd/maps/ralink-flash.c [2] http://svn.fonosfera.org/fon-ng/trunk/openwrt/target/linux/fonera2n/patches-2.6.21/301-mtd.patch [3] mailto:openwrt-devel@lists.openwrt.org [4] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel