diff options
author | INAGAKI Hiroshi <musashino.open@gmail.com> | 2019-01-01 09:15:34 +0900 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-01-01 16:38:20 +0100 |
commit | 7e9b93fb1b9d1f04df905b77d79ef8a182b2fb83 (patch) | |
tree | e6685deb40efde5b4185f8a75693864c12e0d88d /LICENSE | |
parent | 250f5ec1397b795e7bdf27dc616842f1ed5cf2ee (diff) | |
download | upstream-7e9b93fb1b9d1f04df905b77d79ef8a182b2fb83.tar.gz upstream-7e9b93fb1b9d1f04df905b77d79ef8a182b2fb83.tar.bz2 upstream-7e9b93fb1b9d1f04df905b77d79ef8a182b2fb83.zip |
base-files: allow non-standard rootfs volume name in UBI in sysupgrade
This commit allows to use non-standard UBI volume name as the rootfs
volume in sysupgrade.
ex.:
The U-Boot on Buffalo WXR-2533DHP checks existence and checksum of
"ubi_rootfs" volume when booting, so this name is required.
OpenWrt currently provides several patches:
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
to facilitate ubi rootfs automount. However the upstream kernel
also supports the means of booting from a fully custom ubi
partition name and ubi volume name via bootargs/kernel's cmdline
parameters:
ubi.mtd=mtd_partition_name
ubi.block=rootfs_volume_name
root=/dev/ubiblock$X_$Y
For more information and examples visit the wiki over at linux-mtd:
<http://www.linux-mtd.infradead.org/faq/ubifs.html>
<http://www.linux-mtd.infradead.org/doc/ubi.html>
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [reworded commit]
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions