
Sean Kelly has written this tutorial describing the process used to build an OpenWRT based video recording system:
An OpenWRT router can be used to capture video with a usb webcam in order to record movements in a room. The internal flash storage for the MR3020 is only 4 Mb which isn’t sufficient for storing video. So additional storage is required, which can be provided by a USB flash device. However the MR3020 Router only has a single USB port, so it needs to be expanded with a usb hub. The usb hub in the images below is small enough to fit inside the MR3020, and has a built in micro SD card reader. The SD card reader is essentially a usb SD card reader connected to the 4th USB port of the hub. Removing the casing and de-soldering the usb jacks are the first steps.

Actually the flash is 8 times larger, 4MiB. See http://wiki.openwrt.org/toh/tp-link/tl-mr3020