[PATCH] drivers: clk: clk-imx6.c: Don't gate LDB and IPUs

2017-03-02 Thread David Jander
Depending on CONFIG_DRIVER_VIDEO_IMX_IPUV3 to decide whether to gate IPU clocks or not is rather fragile. Any inadvertent dependency on the IPU (like setting the NoC AQoS registers for i.MX6QP) will result in a freeze if CONFIG_DRIVER_VIDEO_IMX_IPUV3 is disabled. Signed-off-by: David Jander ---

Re: [PATCH v2] scripts: imx imx-usb-loader: add usb path support

2017-03-02 Thread Sascha Hauer
On Thu, Mar 02, 2017 at 03:43:12PM +0100, Oleksij Rempel wrote: > In some cases we need to work with more than one device attached > to one host. For this situation we need path filter to make sure > we talk with proper device. > > Signed-off-by: Oleksij Rempel > --- > changes v1: > - move loc

Re: [PATCH] tftp: trivial code simplification

2017-03-02 Thread Sascha Hauer
On Thu, Mar 02, 2017 at 05:01:36PM +0100, Uwe Kleine-König wrote: > Signed-off-by: Uwe Kleine-König > --- > fs/tftp.c | 10 -- > 1 file changed, 4 insertions(+), 6 deletions(-) Applied, thanks Sascha > > diff --git a/fs/tftp.c b/fs/tftp.c > index 272a7106eb51..bc3580289286 100644 > --

Re: [PATCH] tftp: implement forward seeking

2017-03-02 Thread Sascha Hauer
On Thu, Mar 02, 2017 at 04:55:28PM +0100, Uwe Kleine-König wrote: > Just abuse tftp_read to step forward. > > Signed-off-by: Uwe Kleine-König > --- > fs/tftp.c | 25 +++-- > 1 file changed, 23 insertions(+), 2 deletions(-) > > diff --git a/fs/tftp.c b/fs/tftp.c > index 56d43

Re: [PATCH] lseek: tighten error checking and allow negative offsets for SEEK_END

2017-03-02 Thread Sascha Hauer
On Thu, Mar 02, 2017 at 03:37:03PM +0100, Uwe Kleine-König wrote: > Signed-off-by: Uwe Kleine-König > --- > fs/fs.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) Applied, thanks Sascha > > diff --git a/fs/fs.c b/fs/fs.c > index e7b696591433..1901c94ad1ea 100644 > --- a/fs/fs.c

Re: [PATCH 1/3] ARM: align exception vectors to 32 byte

2017-03-02 Thread Sascha Hauer
On Wed, Mar 01, 2017 at 03:26:39PM +0100, Lucas Stach wrote: > On ARMv7 the exception vectors inside the barebox binary are used directly > by remapping the vectors base through the VBAR register. While VBAR allows > to remap the exception vectors freely, it still imposes a minimum alignment > of 3

Re: [PATCH 2/3] ARM: correctly identify ARMv6 K/Z

2017-03-02 Thread Sascha Hauer
On Thu, Mar 02, 2017 at 11:42:48AM +0100, Lucas Stach wrote: > Am Mittwoch, den 01.03.2017, 18:55 +0100 schrieb Jean-Christophe > PLAGNIOL-VILLARD: > > On 15:26 Wed 01 Mar , Lucas Stach wrote: > > > The ARMv6 K/Z derivatives have a v7 compatible MMU, but all other > > > parts > > > (including t

[PATCH] tftp: trivial code simplification

2017-03-02 Thread Uwe Kleine-König
Signed-off-by: Uwe Kleine-König --- fs/tftp.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/fs/tftp.c b/fs/tftp.c index 272a7106eb51..bc3580289286 100644 --- a/fs/tftp.c +++ b/fs/tftp.c @@ -568,13 +568,11 @@ static int tftp_read(struct device_d *dev, FILE *f, void

[PATCH] tftp: implement forward seeking

2017-03-02 Thread Uwe Kleine-König
Just abuse tftp_read to step forward. Signed-off-by: Uwe Kleine-König --- fs/tftp.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/fs/tftp.c b/fs/tftp.c index 56d4365d773a..272a7106eb51 100644 --- a/fs/tftp.c +++ b/fs/tftp.c @@ -591,8 +591,29 @@ st

[PATCH v2] scripts: imx imx-usb-loader: add usb path support

2017-03-02 Thread Oleksij Rempel
In some cases we need to work with more than one device attached to one host. For this situation we need path filter to make sure we talk with proper device. Signed-off-by: Oleksij Rempel --- changes v1: - move loc before first if - fix comment style scripts/imx/imx-usb-loader.c | 99 +++

[PATCH] scripts: imx imx-usb-loader: add usb path support

2017-03-02 Thread Oleksij Rempel
In some cases we need to work with more then one device attached to one host. For this situation we need path filter to make sure we talk with proper device. Signed-off-by: Oleksij Rempel --- scripts/imx/imx-usb-loader.c | 97 ++-- 1 file changed, 84 inser

[PATCH] lseek: tighten error checking and allow negative offsets for SEEK_END

2017-03-02 Thread Uwe Kleine-König
Signed-off-by: Uwe Kleine-König --- fs/fs.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fs/fs.c b/fs/fs.c index e7b696591433..1901c94ad1ea 100644 --- a/fs/fs.c +++ b/fs/fs.c @@ -910,6 +910,8 @@ loff_t lseek(int fildes, loff_t offset, int whence) case SEEK_SET

Re: i.MX28 evk compile error

2017-03-02 Thread Sascha Hauer
On Thu, Mar 02, 2017 at 08:45:49PM +0800, DU HUANPENG wrote: > > Hi, I have one i.MX283 and one i.MX280 board, and I want to try barebox > on these boards. > I encounter a compile error using the config file > freescale-mx28-evk_defconfig > (It seems a host program compile error.) Please retry

i.MX28 evk compile error

2017-03-02 Thread DU HUANPENG
Hi, I have one i.MX283 and one i.MX280 board, and I want to try barebox on these boards. I encounter a compile error using the config file freescale-mx28-evk_defconfig (It seems a host program compile error.) my host gcc is: --

Re: [PATCH 2/3] ARM: correctly identify ARMv6 K/Z

2017-03-02 Thread Lucas Stach
Am Mittwoch, den 01.03.2017, 18:55 +0100 schrieb Jean-Christophe PLAGNIOL-VILLARD: > On 15:26 Wed 01 Mar , Lucas Stach wrote: > > The ARMv6 K/Z derivatives have a v7 compatible MMU, but all other > > parts > > (including the cache handling) is still at v6. As we don't make use > > of > > the mo

Re: [PATCH 1/9] ARM: rpi: move model initialisation to rpi-common

2017-03-02 Thread Sascha Hauer
On Wed, Mar 01, 2017 at 03:31:29PM +0100, Lucas Stach wrote: > From: Enrico Joerns > > The Raspberry PIs use different versions schemes for the older and newer > variants. The decoding arrays for these schemes were split up in rpi.c > and rpi2.c. This is not required, as the appropriate versionin

Re: [PATCH 1/3] ARM: align exception vectors to 32 byte

2017-03-02 Thread Uwe Kleine-König
Hello Lucas, On Wed, Mar 01, 2017 at 03:26:39PM +0100, Lucas Stach wrote: > On ARMv7 the exception vectors inside the barebox binary are used directly > by remapping the vectors base through the VBAR register. While VBAR allows > to remap the exception vectors freely, it still imposes a minimum al