[OpenWrt-Devel] [PATCH] Ubnt EdgeRouter: Use mmcblk0p3 as ext4 rootfs for default ?
John Crispin
john at phrozen.org
Thu Jan 21 02:57:59 EST 2016
On 20/01/2016 17:15, daniel wrote:
> 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>
>
>
>
we use block2mtd so that sysupgrade works. your patch technically is
fine but will break at least sysupgrade on this target.
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list