Re: [PATCH 5/5] ubiformat: Cleanly umount and detach the ubi before formating

2016-03-08 Thread Sascha Hauer
Hi Markus, On Tue, Mar 08, 2016 at 11:56:09AM +0100, Markus Pargmann wrote: > This was an open fixme for some time. ubiformat does not care about used > ubi volumes or attached ubis. > > This patch adds functionality that umounts all filesystems that are > mounted from this nand device. After tha

Re: Linux does not boot, unrecognized/unsupported machine ID (r1 = 0x00000000).

2016-03-08 Thread Sascha Hauer
Hi, On Tue, Mar 08, 2016 at 10:18:07AM +0100, gianluca wrote: > Hello list, > here I am (again!) ;-) > > Now I have downloaded the linux 4.5-rc6 (because I would like to use etnaviv > gpu driver), configured as imx_v6_v7_defconfig, added the DEBUG_LL stuff for > uart3 and added in the Makefile fo

Re: [PATCH 00/15] MIPS: ar9331: use cache and fix gpio

2016-03-08 Thread Sascha Hauer
Hi Antony, On Mon, Mar 07, 2016 at 04:30:11PM +0300, Antony Pavlov wrote: > This patchseries introduces initial MIPS cache support. > Though the cache code is usable for many MIPS-based chips > at the moment the code is tested mostly on AR9331 SoC. > So I have decided to submit only AR9331-related

[PATCH 5/5] ubiformat: Cleanly umount and detach the ubi before formating

2016-03-08 Thread Markus Pargmann
This was an open fixme for some time. ubiformat does not care about used ubi volumes or attached ubis. This patch adds functionality that umounts all filesystems that are mounted from this nand device. After that the ubi is detached. Then the normal ubiformat code reformats the ubi. If a ubi was d

[PATCH 2/5] ubi: Add getter ubi_volume_get_cdev()

2016-03-08 Thread Markus Pargmann
cdev is used in a future commit to find the mounted filesystems. Signed-off-by: Markus Pargmann --- drivers/mtd/ubi/kapi.c | 5 + include/linux/mtd/ubi.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/drivers/mtd/ubi/kapi.c b/drivers/mtd/ubi/kapi.c index 7fc1aa8d70cc..c2e58e865753 1

[PATCH 4/5] ubi: Helper to iterate over all ubi volumes

2016-03-08 Thread Markus Pargmann
To find all the ubi volume ids on a given UBI, we need a helper. The added functions allow to use ubi_volume_for_each() to get each volume id of a UBI. Signed-off-by: Markus Pargmann --- drivers/mtd/ubi/kapi.c | 42 ++ include/linux/mtd/ubi.h | 11 +++

[PATCH 3/5] ubi: Add helper to map a mtd device to a ubi number

2016-03-08 Thread Markus Pargmann
ubi_num_get_by_mtd() searches for attached ubi devices for the given mtd and returns the number of the ubi device. Signed-off-by: Markus Pargmann --- drivers/mtd/ubi/build.c | 30 +- include/mtd/ubi-user.h | 1 + 2 files changed, 22 insertions(+), 9 deletions(-) di

[PATCH 1/5] fs: Add for_each_fs_device_safe()

2016-03-08 Thread Markus Pargmann
We need to be able to umount specific filesystems while iterating all of them. This helper gives us a safe macro to do so. Signed-off-by: Markus Pargmann --- include/fs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/fs.h b/include/fs.h index ee7e48b0f968..3157a482d71a 100644 --- a

Linux does not boot, unrecognized/unsupported machine ID (r1 = 0x00000000).

2016-03-08 Thread gianluca
Hello list, here I am (again!) ;-) Now I have downloaded the linux 4.5-rc6 (because I would like to use etnaviv gpu driver), configured as imx_v6_v7_defconfig, added the DEBUG_LL stuff for uart3 and added in the Makefile for dts my dts (more or less like Barebox one [in attachment] ), but here