[PATCH 05/10] mtd: utils: apply macros for message printouts

2012-12-10 Thread Wolfram Sang
mtd-utils have a few macros for printouts. Provide the wrappers to make it easier to import them. Signed-off-by: Wolfram Sang w.s...@pengutronix.de --- include/mtd/utils.h | 27 +++ 1 file changed, 27 insertions(+) diff --git a/include/mtd/utils.h b/include/mtd/utils.h

[PATCH 00/10] add ubiformat command

2012-12-10 Thread Wolfram Sang
Hi, here is the ubiformat series rebased against v2012.12.0. All comments I have received have been addressed. The command has been tested on a MX35 based board. Please help testing. Regards, Wolfram Sang Wolfram Sang (10): mtd: move is_power_of_2() to a public place ubi: consolidate

[PATCH 03/10] ubi: bump ubi-media.h to newest version

2012-12-10 Thread Wolfram Sang
Needed for ubiformat, we are interested in image_seq especially. Signed-off-by: Wolfram Sang w.s...@pengutronix.de --- include/mtd/ubi-media.h | 57 +++ 1 file changed, 33 insertions(+), 24 deletions(-) diff --git a/include/mtd/ubi-media.h

[PATCH 01/10] mtd: move is_power_of_2() to a public place

2012-12-10 Thread Wolfram Sang
Will need this later for ubiformat. Signed-off-by: Wolfram Sang w.s...@pengutronix.de --- drivers/mtd/ubi/ubi-barebox.h |5 + include/mtd/utils.h | 25 + 2 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 include/mtd/utils.h diff

[PATCH 04/10] devfs mtd: add MEMERASE ioctl support

2012-12-10 Thread Wolfram Sang
To make that, we need to shift mtd_erase before mtd_ioctl. ubi-utils need that, especially ubiformat. Signed-off-by: Wolfram Sang w.s...@pengutronix.de --- drivers/mtd/core.c | 68 +++- fs/devfs-core.c|3 ++- 2 files changed, 37

[PATCH 08/10] lib: add libubigen

2012-12-10 Thread Wolfram Sang
Imported from mtd-utils and stripped down to needed functionality. Signed-off-by: Wolfram Sang w.s...@pengutronix.de --- include/mtd/libubigen.h | 186 lib/Kconfig |3 + lib/Makefile|1 + lib/libubigen.c | 316

[PATCH 06/10] lib: add ubiutils-common

2012-12-10 Thread Wolfram Sang
Imported from mtd-utils and stripped down to needed functionality for ubiformat. Signed-off-by: Wolfram Sang w.s...@pengutronix.de --- include/mtd/ubiutils-common.h | 26 + lib/Kconfig |3 + lib/Makefile |1 + lib/ubiutils-common.c |

[PATCH 07/10] lib: add libscan

2012-12-10 Thread Wolfram Sang
Imported from mtd-utils and stripped down to needed functionality. Add prefix to functions so we have a clean namespace. Signed-off-by: Wolfram Sang w.s...@pengutronix.de --- include/mtd/libscan.h | 105 +++ lib/Kconfig |3 + lib/Makefile |1 +

[PATCH 09/10] lib: add barebox version of libmtd

2012-12-10 Thread Wolfram Sang
Based on mtd-utils and stripped down to needed functionality and reworked to barebox interfaces. Signed-off-by: Wolfram Sang w.s...@pengutronix.de --- include/mtd/libmtd.h | 154 + lib/Kconfig |3 + lib/Makefile |1 + lib/libmtd.c | 371

[PATCH 02/10] ubi: consolidate ubi-media.h

2012-12-10 Thread Wolfram Sang
We have two versions in the tree. Use the newer one, and put it into the mtd directory while we are at it. Signed-off-by: Wolfram Sang w.s...@pengutronix.de --- commands/ubi.c |2 +- drivers/mtd/ubi/ubi.h|3 +- {drivers/mtd/ubi =

[PATCH 10/10] commands: add ubiformat

2012-12-10 Thread Wolfram Sang
Imported from mtd-utils and stripped down to needed functionality. Based on an older version (1.4.5.) since the newer do use MEMWRITE interfaces which we don't have in barebox (yet). Signed-off-by: Wolfram Sang w.s...@pengutronix.de --- commands/Kconfig |9 + commands/Makefile|1

Re: v2012.12.0

2012-12-10 Thread Jean-Christophe PLAGNIOL-VILLARD
On 22:54 Sat 08 Dec , Thomas Petazzoni wrote: Hello, On Fri, 7 Dec 2012 08:49:25 +0100, Sascha Hauer wrote: We have a december release. In number of patches this is the biggest Release we ever had: 275 non merge patches have gone into this release. Here's some statisitics over the

Re: [PATCH] net: add multiple nameserver support

2012-12-10 Thread Christoph Fritz
On Sun, 2012-09-23 at 15:57 +0200, Christoph Fritz wrote: On Sun, 2012-09-23 at 15:29 +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: On 14:11 Sun 23 Sep , Christoph Fritz wrote: Today limit it to 2 Update dhcp support as option 6 allow to get n nameserver If more than 2

ethernet doesn't work after update to v2012.12.0

2012-12-10 Thread Wjatscheslaw Stoljarski (Slawa)
Hi All, after updating to the version 2012.12.0 ethernet doesn't work anymore. My system is iMX53, ethernet Interface: MII100. What could be the cause? devinfo output: ... ` imx_iim0 ` 0x-0x001f: /dev/imx_iim_bank0 ` 0x-0x001f: /dev/imx_iim_bank1

Re: ethernet doesn't work after update to v2012.12.0

2012-12-10 Thread Sascha Hauer
On Mon, Dec 10, 2012 at 05:44:21PM +0100, Wjatscheslaw Stoljarski (Slawa) wrote: Hi All, after updating to the version 2012.12.0 ethernet doesn't work anymore. My system is iMX53, ethernet Interface: MII100. What could be the cause? Sorry, networking in the v2012.12.0 Release is broken

[PATCH] esdctl: fix reset default bug on i.MX27/31

2012-12-10 Thread Sascha Hauer
The i.MX27/31 have the second chip select enabled by reset default. This can be considered as a hardware bug, because even boards which need this settings cannot work out of reset because of the missing initialization sequence. Detect this reset default setting and disable this chipselect then to