Commit Graph

6 Commits (7dc189c5720337499566da2903c1e44643249de0)

Author SHA1 Message Date
Imre Kaloz b361a9d59a generic: allow ubi autoattach to run on NOR flash
Some devices out there only have a NOR flash to store the rootfs on.

While using UBI is arguable on this kind of flash, this is something that should
be supported.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44260
10 years ago
Hauke Mehrtens d9bb8326fa kernel: update bcma and ssb to wireless-testing master-2014-12-05
This brings ssb and bcma to wireless-testing tag master-2014-12-05

In addition it also adds the ARM-BCM5301X-Add-IRQs-to-Broadcom-s-bus-
axi-in-DTS-f.patch which adds the irq number in a way it is done in the
mainline kernel.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43544
10 years ago
John Crispin a21c9fd655 kernel: make the ubi attach patch check for a valid ubi magic rather than a tar magic
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43507
10 years ago
John Crispin a10a204aab kernel: make ubi auto-attach check for a tar file magic
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43506
10 years ago
Luka Perkov f45b1a671a kernel: update 3.14 to 3.14.7
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41150
10 years ago
John Crispin acbcd5f5b5 kernel: rootfs auto-mount on ubi
Similar to the rootfs hacks on NOR flash devices, this series
introduces support for auto-attaching (ubi device), auto-creating
(ubiblock device) and mounting the "rootfs" (ubifs or squashfs)
volume.
This is needed so OpenWrt can start without relying on the bootloader
to pass the ubi.mtd, ubi.block, rootfs and rootfstype parameters, but
instead auto-detect the root filesystem according to a simple convention.

OpenWrt-specific:
490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch
491-ubi-auto-create-ubiblock-device-for-rootfs.patch
492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch
493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch

sent upstream:
552-ubifs-respect-silent-mount-flag.patch
http://lists.infradead.org/pipermail/linux-mtd/2014-May/053893.html

v2: actually retry with MS_RDONLY when mounting read-only ubifs root

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41119
10 years ago