Re: [PATCH v2 1/3] state: copy backend of_path string

2016-09-21 Thread Sascha Hauer
On Fri, Sep 16, 2016 at 11:12:43AM +0300, Antony Pavlov wrote: > On Fri, 16 Sep 2016 08:43:38 +0200 > Michael Olbrich wrote: > > > Caching pointers to device tree nodes or names is not save. The barebox > safe? Fixed, thanks Sascha >

[PATCH 0/2] added support for renaming UBI volumes.

2016-09-21 Thread Giorgio Dal Molin
These two patches implement the ioctl UBI_IOCRNVOL for UBI devices and a new command, 'ubirename' that calls the ioctl from the shell to rename UBI volumes. The ioctl implementation was ported from the linux kernel v4.7.4, with minimal changes; a further change was needed for the function 'ubi_ren

[PATCH 2/2] commands: ubi: added the new command 'ubirename' to rename ubi volumes.

2016-09-21 Thread Giorgio Dal Molin
From: Giorgio Dal Molin The syntax was taken from the corresponding command of the 'mts-utils' userland package: # ubirename UBIDEV OLD_NAME NEW_NAME [OLD_NAME NEW_NAME ...] Signed-off-by: Giorgio Dal Molin --- commands/ubi.c | 87 ++ 1

Re: [PATCH] strings: new command

2016-09-21 Thread Sascha Hauer
On Sat, Sep 17, 2016 at 07:07:31PM +0200, Sam Ravnborg wrote: > From 724382cf9aa173b6ced9fd213bbb369d9a5e3739 Mon Sep 17 00:00:00 2001 > From: Sam Ravnborg > Date: Sat, 17 Sep 2016 19:01:15 +0200 > Subject: [PATCH 1/1] strings: new command > > Implement a simple version of strings that will print

Re: [PATCH 1/3] ARM: i.MX6: remove duplicate clock initialization

2016-09-21 Thread Sascha Hauer
On Tue, Sep 20, 2016 at 10:17:40AM +0200, Jan Luebbe wrote: > These registers are already set by imx6_ccm_probe (in clk-imx6.c) during > core_initcall, while imx6_init_lowlevel is only called during > postcore_initcall via imx_init in imx.c. > > Signed-off-by: Jan Luebbe > --- > arch/arm/mach-im

Re: [PATCH] Documentation: imd: fix sphinx warning

2016-09-21 Thread Sascha Hauer
On Tue, Sep 20, 2016 at 05:13:01PM +0300, Antony Pavlov wrote: > The patch fixes this sphinx warnings: > > barebox/Documentation/user/imd.rst:27: WARNING: Could not lex > literal_block as "c". Highlighting skipped. > > Signed-off-by: Antony Pavlov > Cc: Sascha Hauer > --- > Documentation/

Re: [PATCH 1/2] net: add linux.bootarg parameter from ifup call

2016-09-21 Thread Sascha Hauer
On Mon, Sep 19, 2016 at 06:03:48PM +0200, Enrico Jorns wrote: > This sets a `ip=dhcp` or > `ip=::` bootarg for > the network device upon execution of 'ifup'. This is the only point > where we can distinguish between a static ip and a dhcp-based network > setup and thus set a valid bootarg optio

How to port brcmnand Linux driver?

2016-09-21 Thread Eric Le Bihan
Hi! I'm trying to port the brcmnand driver for Broadcom NAND controller from Linux. This driver requires an update of the MTD headers in barebox, as they lack definitions for functions such as mtd_set_ooblayout(). What is the recommended strategy for this? Should I update the whole set of header

Re: How to port brcmnand Linux driver?

2016-09-21 Thread Sascha Hauer
On Wed, Sep 21, 2016 at 10:40:43AM +0200, Eric Le Bihan wrote: > Hi! > > I'm trying to port the brcmnand driver for Broadcom NAND controller from > Linux. > This driver requires an update of the MTD headers in barebox, as they lack > definitions for functions such as mtd_set_ooblayout(). > > Wh

Re: How to port brcmnand Linux driver?

2016-09-21 Thread Eric Le Bihan
> On Wed, Sep 21, 2016 at 10:40:43AM +0200, Eric Le Bihan wrote: > > > > I'm trying to port the brcmnand driver for Broadcom NAND controller > > from Linux. > > This driver requires an update of the MTD headers in barebox, as > > they lack > > definitions for functions such as mtd_set_ooblayout().

Re: [PATCH 2/2] ARM: Fix calling of arm_mem_barebox_image()

2016-09-21 Thread Trent Piepho
On Thu, 2016-09-15 at 09:10 +0200, Sascha Hauer wrote: > On Wed, Sep 14, 2016 at 06:27:04PM +, Trent Piepho wrote: > > On Wed, 2016-09-14 at 10:21 +0200, Sascha Hauer wrote: > > > arm_mem_barebox_image() is used to pick a suitable place where to > > > put the final image to. This is called from

[PATCH] environment: "wrong magic" give the impression of an error

2016-09-21 Thread Sam Ravnborg
>From 144e3252f9604e44c48f90735489611f636e3e36 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Thu, 22 Sep 2016 06:54:42 +0200 Subject: [PATCH 1/1] environment: "wrong magic" give the impression of an error Introduce a more soft wording when the magic of the superblock does not match. Include