Re: [PATCH 1/5] usb: gadget: fastboot: allow to build without BOOTM

2014-12-17 Thread Sascha Hauer
On Mon, Dec 15, 2014 at 12:35:16PM +0100, Lucas Stach wrote: Instead of the #ifdef can we do a: if (!IS_ENABLED(CONFIG_BOOTM)) { fastboot_tx_print(f_fb, FAILCommand not supported); return; } in cb_boot? Actually I like they way I did it in this

[PATCH 3/3] arm: do section garbage collection also with modules enabled

2014-12-17 Thread Lucas Stach
A lot of the arm build (especially PBL stuff) depends on section garbage collection to be enabled. If it is disabled a lot of targets fail to link properly. If module support is enabled garbage collection was disabled on the premise that we throw away too many function which may be needed in later

[PATCH 2/3] arm: edmqmx6: build entry in lwl target

2014-12-17 Thread Lucas Stach
Only build it at the correct obj or pbl stage where the entry is needed. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- arch/arm/boards/datamodul-edm-qmx6/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boards/datamodul-edm-qmx6/Makefile

[PATCH 1/3] arm: include relevant headers in barebox-arm

2014-12-17 Thread Lucas Stach
Provide the necessary types and defines used in this header. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- arch/arm/include/asm/barebox-arm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/barebox-arm.h b/arch/arm/include/asm/barebox-arm.h index

[PATCH v2] imd: provide dummy imd_command_setenv

2014-12-17 Thread Lucas Stach
If CONFIG_CMD_IMD is not set there is no imd_command_setenv in the barebox binary that can be linked to. Although the whole imd infrastructure will be removed by the linker later in the build process as soon as it figures out that nothing inside barebox is using it, we still have to provide a

Re: [PATCH 1/3] arm: include relevant headers in barebox-arm

2014-12-17 Thread Sascha Hauer
On Wed, Dec 17, 2014 at 11:58:19AM +0100, Lucas Stach wrote: Provide the necessary types and defines used in this header. Signed-off-by: Lucas Stach l.st...@pengutronix.de --- arch/arm/include/asm/barebox-arm.h | 2 ++ 1 file changed, 2 insertions(+) Applied all, thanks Sascha --

Re: [PATCH] i2c: omap: fix fclk_rate for ti,omap4-i2c

2014-12-17 Thread Jan Weitzel
On Thu, Dec 11, 2014 at 08:59:48AM +0100, Sascha Hauer wrote: On Wed, Dec 10, 2014 at 07:49:28AM +0100, Jan Weitzel wrote: ti,am33xx and ti,omap4 use ti,omap4-i2c with different fclk_rate. By now set it according to the used cpu compatible. Signed-off-by: Jan Weitzel j.weit...@phytec.de

[PATCH 2/3] netconsole: activate in set_active callback

2014-12-17 Thread Sascha Hauer
Activate the netconsole in the set_active callback. Add proper checks there for port and ip address, print an error when the network hasn't been configured and finally print when the netconsole has been enabled successfully. This makes using of the netconsole easier. Signed-off-by: Sascha Hauer

[PATCH 3/3] netconsole: fix Documentation

2014-12-17 Thread Sascha Hauer
From: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com since commit 8eacfa71abcba857ab9aa1dcad49e2ba7d83406b Refs: v2014.07.0-156-g8eacfa7 Author: Sascha Hauer s.ha...@pengutronix.de the netconsole device have a static device name 'netconsole' Signed-off-by: Jean-Christophe

[PATCH] partitions: dos: Fix support of extended partition type 0x05

2014-12-17 Thread victorien
--- common/partitions/dos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/partitions/dos.c b/common/partitions/dos.c index 37addfd..8a3c5c3 100644 --- a/common/partitions/dos.c +++ b/common/partitions/dos.c @@ -209,7 +209,7 @@ static void dos_partition(void *buf,

imx6: Nand flash BB erase issue/question...

2014-12-17 Thread Michael D. Burkey
I have run into an issue that I wonder if anyone else has seen. We have our kernel stored in NAND flash and have it partition and have the nand0.kernel and nand0.kernel.bb entries. As I understand it, the nand0.kernel.bb entry is the correct one to use for day to day operations as it handles bad