Posts Tagged openwrt

OpenWRT patch for Edimax BR6104KP with USB rootfs

The Edimax BR6104KP router (also available as Omnima Embedded Controller from Omnima with JTAG and serial already soldered in) has only 2MB onboard flash, which is too small for any usable Linux setup.

The board has also two USB1.1 interfaces, and this patch introduces a new profile that builds two images: the flash image containing the LZMA loader and the kernel (less than 900KB), and a tar.gz archive of the root filesystem. The kernel looks to mount the rootfs as ext3 or ext2 on /dev/sda1.

The patches for include/image.mk and include/kernel-defaults.mk extend the existing functionality and should not hurt any existing profile.

To use the new profile, choose in menuconfig:

  • Target System: Infineon/ADMtek ADM5120 [2.6]
  • Target Profile: Edimax BR-6104KP (USB Root FS)

The patch was tested, and by default it supports the onboard switch and the USB storage. Other kernel modules should function as well.

The next step will be to utilize the unused space in the onboard flash to store the persistent configuration, so that updating the rootfs would not hurt it.

A copy of the patch is available here. It should work against the SVN trunk at revision 13018

Advertisements

, , , ,

Leave a comment