Re: Fwd: Micrel KSZ9031RN PHY problem

2016-04-26 Thread Sascha Hauer
On Tue, Apr 26, 2016 at 11:55:29AM +0200, Guillermo Rodriguez Garcia wrote: > Hello, > > 2016-04-21 9:32 GMT+02:00 Sascha Hauer : > > On Wed, Apr 20, 2016 at 05:58:40PM +0200, Guillermo Rodriguez Garcia wrote: > >> Hello, > >> > >> 2016-04-19 9:11 GMT+02:00 Sascha Hauer : > >> > Hi Guillermo, > >>

Building on PC-BSD 10.3

2016-04-26 Thread Russell Haley
Hello, Just for a hoot I thought I'd build barebox on PC-BSD 10.3. I followed these directions: https://github.com/jcobham/i.MX53-kernel-images/wiki/How-To:-Build-Barebox-for-IMX53 and replaced "make" with "gmake". Here is the output: http://pastebin.com/AawYq4bR It seems to be missing endian.

Re: Barebox on small memory systems

2016-04-26 Thread Trent Piepho
On Tue, 2016-04-12 at 20:35 -0700, Andrey Smirnov wrote: > > In order to get an image file out of flash and programmed into the FPGA, > > it's useful to have a number of barebox drivers, like the MCI system, > > partition table parsing, FAT filesystem, etc. Basically getting the > > full barebox (

[PATCH] of: fix of_tree_for_each_node_from() macro

2016-04-26 Thread Boris Brezillon
of_tree_for_each_node_from() is supposed to iterate over all DT nodes after the one pointed by the from parameter, but with the current of_next_node() implementation we cannot access the root node. Patch of_next_node() to point to root_node when from is NULL. Doing that also simplifies users of o

Re: [PATCH] globalvar: Create Kconfig symbol for NVVAR

2016-04-26 Thread Trent Piepho
On Tue, 2016-04-26 at 11:30 +0200, Sascha Hauer wrote: > nvvar support not only needs globalvar, but also persistent > environment storage. Add a separate default-y option which > depends on ENV_HANDLING for this case. It seems like other commands, defaultenv, saveenv, loadenv, will select ENV_HAN

[PATCH] images: Makefile.socfpga: fix typo

2016-04-26 Thread Ulrich Ölmann
Signed-off-by: Ulrich Ölmann --- images/Makefile.socfpga | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/Makefile.socfpga b/images/Makefile.socfpga index d52b909ff354..7e642c06c995 100644 --- a/images/Makefile.socfpga +++ b/images/Makefile.socfpga @@ -2,7 +2,7 @@ # bar

Re: [PATCH v2] ARM: i.MX: increase barebox partition sizes

2016-04-26 Thread Fabio Estevam
Hi Sascha, On Tue, Apr 26, 2016 at 3:44 AM, Sascha Hauer wrote: > diff --git a/arch/arm/dts/imx25-karo-tx25.dts > b/arch/arm/dts/imx25-karo-tx25.dts > index 8d79471..76847ff 100644 > --- a/arch/arm/dts/imx25-karo-tx25.dts > +++ b/arch/arm/dts/imx25-karo-tx25.dts > @@ -123,12 +123,12 @@ > >

Re: [PATCH] ARM: dts: Fix partition names

2016-04-26 Thread Fabio Estevam
On Tue, Apr 26, 2016 at 3:34 AM, Sascha Hauer wrote: > Partition names shouldn't be continuously numbered, instead the part > behind the '@' should match the reg property. Fix this for all ARM > device trees. > > Signed-off-by: Sascha Hauer Reviewed-by: Fabio Estevam __

Re: Fwd: Micrel KSZ9031RN PHY problem

2016-04-26 Thread Guillermo Rodriguez Garcia
2016-04-26 11:55 GMT+02:00 Guillermo Rodriguez Garcia : > Hello, > > 2016-04-21 9:32 GMT+02:00 Sascha Hauer : >> On Wed, Apr 20, 2016 at 05:58:40PM +0200, Guillermo Rodriguez Garcia wrote: >>> Hello, >>> >>> 2016-04-19 9:11 GMT+02:00 Sascha Hauer : >>> > Hi Guillermo, >>> > >>> > +Cc Philipp Zabel

[PATCH 2/2] state: Fix Kconfig dependencies

2016-04-26 Thread Sascha Hauer
State support does not need OF_BAREBOX_DRIVERS and never did, so drop the dependency there. It's the state driver which needs of_find_path(), since this symbol now is always enabled when OF is enabled, we don't have to add the dependency to the state driver, but instead can depend on OFDEVICE. We c

[PATCH 1/2] drivers/of: Always compile of_path.c with OF support

2016-04-26 Thread Sascha Hauer
of_find_path() is a OF specific library function, so always compile it when OF support is enabled. Signed-off-by: Sascha Hauer --- drivers/of/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/of/Makefile b/drivers/of/Makefile index 0dc2f8d..773548e 100644 -

Re: Fwd: Micrel KSZ9031RN PHY problem

2016-04-26 Thread Guillermo Rodriguez Garcia
Hello, 2016-04-21 9:32 GMT+02:00 Sascha Hauer : > On Wed, Apr 20, 2016 at 05:58:40PM +0200, Guillermo Rodriguez Garcia wrote: >> Hello, >> >> 2016-04-19 9:11 GMT+02:00 Sascha Hauer : >> > Hi Guillermo, >> > >> > +Cc Philipp Zabel who ported the patch to barebox >> > >> > On Mon, Apr 18, 2016 at 04

[PATCH] globalvar: Create Kconfig symbol for NVVAR

2016-04-26 Thread Sascha Hauer
nvvar support not only needs globalvar, but also persistent environment storage. Add a separate default-y option which depends on ENV_HANDLING for this case. Signed-off-by: Sascha Hauer --- commands/Kconfig | 2 +- common/Kconfig | 6 ++ common/globalvar.c | 18 -- 3

[PATCH] serial_auart: make dt aware

2016-04-26 Thread Uwe Kleine-König
This allows to instantiate devices from an oftree and so allows to select the console using /chosen/stdout-path. Signed-off-by: Uwe Kleine-König --- drivers/serial/serial_auart.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/serial/serial_auart.c b/drivers/serial/serial_au