[OpenWrt-Devel] [PATCH] Ubnt EdgeRouter: Use mmcblk0p3 as ext4 rootfs for default ?

daniel daniel at dd-wrt.com
Wed Jan 20 11:15:37 EST 2016

The UBNT EdgeRouter has an internal mmc flash card.
(unlike the EdgeRouter Lite)

The factory mmc flash card layout is:

Device         Boot  Start     End Sectors  Size Id Type
/dev/mmcblk0p1 *        63   17135   17073  8.3M 83 Linux
/dev/mmcblk0p2       17199  149183  131985 64.5M 83 Linux
/dev/mmcblk0p3      149247 2246831 2097585    1G 83 Linux

This patch edits the kernel command line to use the the 3rd partition
as rootfs (ext4).
I think this makes sense for a default configuration when installing
openwrt on the mmc flash card of the EdgeRouter.

What do you think ?

Signed-off-by: Daniel Danzberger <daniel at dd-wrt.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ubnt-er-cmdline.patch
Type: text/x-patch
Size: 835 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20160120/fa39ca5e/attachment.bin>
-------------- next part --------------
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list