Re: [PATCH v2 4/4] fastboot: Add a ARM Barebox filetype handler

2016-03-10 Thread Sascha Hauer
On Wed, Feb 17, 2016 at 12:28:20PM +0100, Markus Pargmann wrote: > + if (filetype_is_barebox_image(filetype)) { > + struct bbu_data data = { > + .devicefile = filename, > + .imagefile = FASTBOOT_TMPFILE, > + .flags = BBU_FL

Re: v2016.03.0

2016-03-10 Thread gianluca
On 03/10/2016 11:08 AM, Sascha Hauer wrote: barebox-2016.03.0 is out. It has been delayed by a few days because of the recently found bootm uImage issues. ARM uImage users should switch to this release as chances are good that with earlier releases the kernel overwrites the dtb and ends up non bo

v2016.03.0

2016-03-10 Thread Sascha Hauer
barebox-2016.03.0 is out. It has been delayed by a few days because of the recently found bootm uImage issues. ARM uImage users should switch to this release as chances are good that with earlier releases the kernel overwrites the dtb and ends up non bootable. Beginning with this release we support

Re: [PATCH 2/2] input: make the Input Core be the last in the poller queue

2016-03-10 Thread Sascha Hauer
On Mon, Mar 07, 2016 at 12:16:46PM +0300, Aleksey Kuleshov wrote: > >>  This function is ASYNC. All what you have to do is to make sure that > >>  this function gets called AFTER all input-driver-providers will be polled. > > > > I thought that aswell and thought I should have fixed this issue in m

Re: [PATCH v2] ehci-hcd: preserve DTC in QH for interrupt transactions

2016-03-10 Thread Sascha Hauer
On Wed, Mar 09, 2016 at 01:50:54PM +0300, Aleksey Kuleshov wrote: > In Linux ehci-q Data Toggle Control bit for interrupt transactions > is preserved in Queue Head (EHCI 3.6.2). So don't set 14's bit in > qh_endpt1 and don't manage toggle bit anywhere in int transactions. > > This fixes an idle is

Re: [PATCH v2] ehci-hcd: remove useless timeout

2016-03-10 Thread Sascha Hauer
On Wed, Mar 09, 2016 at 01:49:54PM +0300, Aleksey Kuleshov wrote: > This is just a regular iteration loop so no timeout needed > > Signed-off-by: Aleksey Kuleshov > --- > drivers/usb/host/ehci-hcd.c | 8 > 1 file changed, 8 deletions(-) Applied, thanks Sascha -- Pengutronix e.K.

Re: [PATCH v3 1/5] usb_kbd: remove unused fields

2016-03-10 Thread Sascha Hauer
On Wed, Mar 09, 2016 at 01:17:48PM +0300, Aleksey Kuleshov wrote: > Signed-off-by: Aleksey Kuleshov > --- > drivers/input/usb_kbd.c | 3 --- > 1 file changed, 3 deletions(-) Applied all, thanks Sascha -- Pengutronix e.K. | | Industrial Li

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

2016-03-10 Thread Sascha Hauer
On Wed, Mar 09, 2016 at 08:42:03AM +0100, Sascha Hauer wrote: > 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_v

Re: [PATCH 05/15] MIPS: add initial R4000-style cache support

2016-03-10 Thread Sascha Hauer
On Wed, Mar 09, 2016 at 07:12:01PM +0300, Antony Pavlov wrote: > On Wed, 9 Mar 2016 17:23:24 +0300 > Antony Pavlov wrote: > > > On Wed, 9 Mar 2016 14:28:14 +0100 > > Sascha Hauer wrote: > > > > > Hi Antony, > > > > > > On Mon, Mar 07, 2016 at 04:30:16PM +0300, Antony Pavlov wrote: > > > > Sign

[PATCH v2 4/8] ubi: Add helper to map a mtd device to a ubi number

2016-03-10 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 | 35 ++- include/mtd/ubi-user.h | 1 + 2 files changed, 27 insertions(+), 9 deletions(-

[PATCH v2 3/8] ubi: Add getter ubi_volume_get_cdev()

2016-03-10 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 v2 5/8] ubi: Helper to iterate over all ubi volumes

2016-03-10 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 v2 8/8] ubiformat: Cleanly umount and detach the ubi before formating

2016-03-10 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 v2 6/8] ubi: Add function to detach a UBI by using mtd_info

2016-03-10 Thread Markus Pargmann
We may don't know which UBI is attached on a given MTD device. This adds a function to detach a UBI given a MTD device. Signed-off-by: Markus Pargmann --- drivers/mtd/ubi/build.c | 21 + include/mtd/ubi-user.h | 1 + 2 files changed, 22 insertions(+) diff --git a/drivers/m

[PATCH v2 7/8] ubi: Let ubidetach umount all filesystems before detaching

2016-03-10 Thread Markus Pargmann
This patch iterates through all ubi volumes and umounts all filesystems that are mounted. Signed-off-by: Markus Pargmann --- drivers/mtd/ubi/build.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/mtd/ubi/build.c b/drivers/mtd/ubi/build.c index 7ee34bc6

[PATCH v2 2/8] fs: umount based on device path and mount path

2016-03-10 Thread Markus Pargmann
umount on Linux can be used on a mount pathes and device pathes. This patch adds this functionality to barebox. Signed-off-by: Markus Pargmann --- commands/umount.c | 2 +- fs/fs.c | 47 --- include/fs.h | 1 + 3 files changed, 46 inse

[PATCH v2 1/8] fs: Add for_each_fs_device_safe()

2016-03-10 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 9ac4552dbacc..6cae157b9df8 100644 --- a