[PATCH 5/5] defaultenv-2: add login support

2013-09-16 Thread Jean-Christophe PLAGNIOL-VILLARD
request password to login is a timeout is specified and /env/etc/passwd present ensure we have not console access execpt when allowed Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- defaultenv-2/base/bin/init | 18 ++ 1 file changed, 18 insertions(+) diff --git a

Re: [PATCH 1/4] login: add globalvar timeout support

2013-09-16 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:02 Mon 16 Sep , Sascha Hauer wrote: > On Sun, Sep 15, 2013 at 01:30:51PM +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > > --- > > commands/login.c | 26 ++ > >

Re: [PATCH 2/4] login: disable input console if password wrong

2013-09-16 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:33 Mon 16 Sep , Sascha Hauer wrote: > On Sun, Sep 15, 2013 at 01:30:52PM +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > so we guarantee that barebox is secured again user interaction > > > > +static bool console_input_allow = false; > > + > >

Re: [RFC] [PATCH 0/2] fix barebox size when using a relocated pbl

2013-09-16 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:56 Mon 16 Sep , Sascha Hauer wrote: > On Sat, Sep 14, 2013 at 02:07:25PM +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > Hi, > > > > today if we use a relocatable pbl we have 0 at 0x2c on ARM > > as the linker script can not calculte the size

Re: [PATCH 1/1] genenv: ignore *.orig file too

2013-09-16 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:55 Mon 16 Sep , Sascha Hauer wrote: > On Sat, Sep 14, 2013 at 06:23:05PM +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > > --- > > scripts/genenv | 2 +- > > 1 file changed, 1 insertion(+), 1 del

[PATCH 3/4] login/passwd: add default password support

2013-09-15 Thread Jean-Christophe PLAGNIOL-VILLARD
even if the env is broken you will have a password Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- commands/passwd.c | 8 ++--- common/Kconfig | 5 +++ common/Makefile| 18 +++ common/password.c | 94 ++ include

[PATCH 2/4] login: disable input console if password wrong

2013-09-15 Thread Jean-Christophe PLAGNIOL-VILLARD
so we guarantee that barebox is secured again user interaction Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- commands/login.c| 6 +- common/console.c| 6 ++ common/console_common.c | 45 + common/console_simple.c | 9

[PATCH 4/4] defaultenv-2: add login support

2013-09-15 Thread Jean-Christophe PLAGNIOL-VILLARD
request password to login is a timeout is specified and /env/etc/passwd present ensure we have not console access execpt when allowed Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- defaultenv-2/base/bin/init | 16 1 file changed, 16 insertions(+) diff --git a/defaultenv

[PATCH 1/4] login: add globalvar timeout support

2013-09-15 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- commands/login.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/commands/login.c b/commands/login.c index fb6bb35..f5429bc 100644 --- a/commands/login.c +++ b/commands/login.c @@ -20,6 +20,10 @@ #include

[PATCH 0/2 v2] defaultenv-2: add login support

2013-09-15 Thread Jean-Christophe PLAGNIOL-VILLARD
HI, this will allow to request password when try to interrupt barebox auto boot This will also allow to set a default password if none in the env and if no /env/bin/init is present request a login Jean-Christophe PLAGNIOL-VILLARD (4): login: add globalvar

[PATCH 1/1] genenv: ignore *.orig file too

2013-09-14 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- scripts/genenv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/genenv b/scripts/genenv index 374db6d..02af767 100755 --- a/scripts/genenv +++ b/scripts/genenv @@ -24,7 +24,7 @@ for i in $*; do done ) -find

[PATCH 1/2] add fix size tools

2013-09-14 Thread Jean-Christophe PLAGNIOL-VILLARD
this will allow to write the size of barebox at an offset of the binary this is needed for ARM when using relocated binary Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- scripts/Makefile | 1 + scripts/fix_size.c | 81 ++ 2 files

[PATCH 2/2] ARM: PBL: fix binary size

2013-09-14 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/pbl/Makefile | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/pbl/Makefile b/arch/arm/pbl/Makefile index f4b3471..f89c56b 100644 --- a/arch/arm/pbl/Makefile +++ b/arch/arm/pbl/Makefile @@ -13,9 +13,17 @@ targets

[RFC] [PATCH 0/2] fix barebox size when using a relocated pbl

2013-09-14 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, today if we use a relocatable pbl we have 0 at 0x2c on ARM as the linker script can not calculte the size correctly so fix it post zbarebox.bin generation Jean-Christophe PLAGNIOL-VILLARD (2): add fix size tools ARM: PBL: fix binary size arch/arm/pbl

[PATCH 2/2] defaultenv-2: add login support

2013-09-04 Thread Jean-Christophe PLAGNIOL-VILLARD
request password to login is a timeout is specified and /env/etc/passwd present Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- defaultenv-2/base/bin/init | 9 + 1 file changed, 9 insertions(+) diff --git a/defaultenv-2/base/bin/init b/defaultenv-2/base/bin/init index ca02ba6

[PATCH 1/2] login: add globalvar timeout support

2013-09-04 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- commands/login.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/commands/login.c b/commands/login.c index fb6bb35..f5429bc 100644 --- a/commands/login.c +++ b/commands/login.c @@ -20,6 +20,10 @@ #include

[PATCH 0/2] defaultenv-2: add login support

2013-09-04 Thread Jean-Christophe PLAGNIOL-VILLARD
HI, this will allow to request password when try to interrupt barebox auto boot defaultenv-2: add login support (2013-09-04 17:55:11 +0800) Jean-Christophe PLAGNIOL-VILLARD (2): login: add globalvar timeout

Re: [PATCH] MIPS: qemu-malta: switch to devicetree

2013-09-04 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:30 Wed 04 Sep , Sascha Hauer wrote: > On Tue, Sep 03, 2013 at 01:21:56PM +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 08:41 Tue 03 Sep , Antony Pavlov wrote: > > > On Tue, 3 Sep 2013 08:33:33 +0400 > > > > -stati

Re: [PATCH 2/4] AT91: move have_intensity_bit into board setup

2013-09-03 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:34 Tue 03 Sep , Darren Garnier wrote: > > On Sep 3, 2013, at 7:39 AM, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > > On 22:22 Mon 02 Sep , Darren Garnier wrote: > >> Signed-off-by: Darren Garnier > > \why this is soc specific > > Yes, t

Re: [PATCH 4/4] ARM: support for CPO Science DataCollector II

2013-09-03 Thread Jean-Christophe PLAGNIOL-VILLARD
gt; + > >> + return 0; > >> +} > >> +device_initcall(cpodc2_devices_init); > >> + > >> +static int cpodc2_console_init(void) > >> +{ > >> + barebox_set_model("CPO Science DataCollector II"); > >> + barebox_set_hostname("cpo

Re: [PATCH 2/4] AT91: move have_intensity_bit into board setup

2013-09-03 Thread Jean-Christophe PLAGNIOL-VILLARD
On 22:22 Mon 02 Sep , Darren Garnier wrote: > Signed-off-by: Darren Garnier \why this is soc specific Best Regards, J. > --- > arch/arm/boards/at91sam9261ek/init.c | 2 ++ > arch/arm/mach-at91/at91sam9261_devices.c | 2 -- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a

Re: [PATCH 4/4] ARM: support for CPO Science DataCollector II

2013-09-03 Thread Jean-Christophe PLAGNIOL-VILLARD
; why this > + } else { > + devfs_add_partition("nand0", 0x0, SZ_128K, > DEVFS_PARTITION_FIXED, "bootstrap_raw"); > + dev_add_bb_dev("bootstrap_raw","bootstrap"); > +

Re: [PATCH] MIPS: qemu-malta: switch to devicetree

2013-09-03 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:41 Tue 03 Sep , Antony Pavlov wrote: > On Tue, 3 Sep 2013 08:33:33 +0400 > Antony Pavlov wrote: > > > Signed-off-by: Antony Pavlov > > --- > > arch/mips/boards/qemu-malta/init.c | 31 ++- > > arch/mips/configs/qemu-malta_defconfig | 1 + > > arch/mips

Re: [PATCH 1/1] arm: mmu: catch NULL pointer dereferences

2013-09-02 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:05 Mon 02 Sep , Sascha Hauer wrote: > On Sat, Aug 31, 2013 at 05:54:22PM +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > For high vectors if memory start at 0x0. We have to > > live without being able to catch NULL pointer dereferences. > > > >

[PATCH 1/1] bootm: add global bootm.{image/initrd}.loadaddr support

2013-08-31 Thread Jean-Christophe PLAGNIOL-VILLARD
To be able to pass the loadaddr of the image and the initrd. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- commands/bootm.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/commands/bootm.c b/commands/bootm.c index 6ce2ca9..60c2ece 100644 --- a

[PATCH 1/1] arm: mmu: catch NULL pointer dereferences

2013-08-31 Thread Jean-Christophe PLAGNIOL-VILLARD
For high vectors if memory start at 0x0. We have to live without being able to catch NULL pointer dereferences. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/cpu/mmu.c | 27 +-- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/arch/arm/cpu

Re: [SPAM] [PATCH 2/2] ARM: dts: imx53 qsb: remove wrong memory bank

2013-08-21 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:07 Tue 20 Aug , Sascha Hauer wrote: > The i.MX53 qsb has 1GiB of memory, but it's divided into two non > contigous banks. Remove the wrong memory node since it's overwritten > with the correct values during wuntime anyway. wuntime update is cool ;) > > Signed-off-by: Sascha Hauer > ---

Re: [PATCH v5] omap4-fb: add driver

2013-06-14 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:15 Fri 14 Jun , Christoph Fritz wrote: > This patch adds omap4 display controller support. > > Signed-off-by: Christoph Fritz > --- > changes since v2: > - use dev_request_mem_region_by_name() > changes since v3: > - remove register struct > - use uncached screen

Re: [PATCH v3] omap4-fb: add driver

2013-06-13 Thread Jean-Christophe PLAGNIOL-VILLARD
On Jun 12, 2013, at 10:45 PM, Christoph Fritz wrote: > This patch adds omap4 display controller support. > > Signed-off-by: Christoph Fritz > --- > changes since v2: > - use dev_request_mem_region_by_name() > --- > arch/arm/mach-omap/Makefile|1 + > arch/arm/mach-omap/

Re: [SPAM] [PATCH] scripts: genenv: remove empty files from tempdir

2013-05-28 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:45 Tue 28 May , Jan Luebbe wrote: > This allows leaving out default files from the environment by overriding > them with empty files in the board or BSP. > > Signed-off-by: Jan Luebbe > --- can we move it to the buildir and keep it and no need to have a uniq name everytime > scripts/g

Re: [RFC, PATCH v2 2/3] net: add ar231x-eth support

2013-05-24 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:09 Fri 24 May , Sascha Hauer wrote: > On Wed, May 22, 2013 at 09:49:48AM +0200, Oleksij Rempel wrote: > > This driver should work with some Atheros WiSoCs: > > - ar2312, ar2313 > > - ar2315, ar2316 ... > > > > Signed-off-by: Oleksij Rempel > > --- > > drivers/net/Kconfig | 7 + > >

Re: [PATCH v2] nand_base: sync flash detection functions with linux 3.9's code

2013-05-21 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:41 Tue 21 May , Sascha Hauer wrote: > On Fri, May 17, 2013 at 07:15:12PM +0800, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > HI, > > > > can we have stable release as this patch fix the band support as it's > > broken since > >

Re: [SPAM] [PATCH 3/5] i2c: Add support for dynamic i2c bus numbers

2013-05-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On 22:11 Mon 20 May , Sascha Hauer wrote: > Signed-off-by: Sascha Hauer > --- > drivers/i2c/i2c.c | 13 +++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > > diff --git a/drivers/i2c/i2c.c b/drivers/i2c/i2c.c > index 53a11fe..ddf0082 100644 > --- a/drivers/i2c/i2c.c > +++ b/dr

Re: [PATCH] at91: add Calao QIL-A9G20

2013-05-17 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:28 Fri 17 May , Gregory Hermant wrote: > > Signed-off-by: Gregory Hermant Acked-by: Jean-Christophe PLAGNIOL-VILLARD Best Regards, J. ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH v2] nand_base: sync flash detection functions with linux 3.9's code

2013-05-17 Thread Jean-Christophe PLAGNIOL-VILLARD
On 19:15 Fri 17 May , Jean-Christophe PLAGNIOL-VILLARD wrote: > HI, > > can we have stable release as this patch fix the band support as it's > broken since > 4c2bdc8728016b3412523e3264651651fe752860 If check corretly the v2013.05.0 have the non

Re: [PATCH v2] nand_base: sync flash detection functions with linux 3.9's code

2013-05-17 Thread Jean-Christophe PLAGNIOL-VILLARD
HI, can we have stable release as this patch fix the band support as it's broken since 4c2bdc8728016b3412523e3264651651fe752860 Best Regards, J. On May 17, 2013, at 1:43 PM, Sascha Hauer wrote: > On Wed, May 15, 2013 at 09:43:29AM +0200, Eric Bénard wrote: >> this fix the probl

Re: [PATCH 1/5] ARM: at91: dt: use #include for all device trees

2013-05-15 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:59 Wed 15 May , Jean-Christophe PLAGNIOL-VILLARD wrote: > to prepare the switch to the macro. sorry wrong ML > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD ___ barebox mailing list barebox@lists.infradead.org http://lists.infr

[PATCH 5/5] ARM: at91: dt: switch to standard IRQ flag defines

2013-05-15 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/boot/dts/at91rm9200.dtsi | 45 +++- arch/arm/boot/dts/at91sam9260.dtsi | 49 -- arch/arm/boot/dts/at91sam9263.dtsi | 43 ++-- arch/arm/boot/dts/at91sam9g45.dtsi | 49

[PATCH 1/5] ARM: at91: dt: use #include for all device trees

2013-05-15 Thread Jean-Christophe PLAGNIOL-VILLARD
to prepare the switch to the macro. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/boot/dts/aks-cdu.dts |2 +- arch/arm/boot/dts/animeo_ip.dts |2 +- arch/arm/boot/dts/at91-ariag25.dts |2 +- arch/arm/boot/dts/at91rm9200.dtsi

[PATCH 2/5] ARM: at91: dt: switch to standard GPIO flag defines.

2013-05-15 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/boot/dts/aks-cdu.dts | 10 - arch/arm/boot/dts/animeo_ip.dts | 16 +++--- arch/arm/boot/dts/at91-ariag25.dts |4 ++-- arch/arm/boot/dts/at91rm9200.dtsi |9

[PATCH 3/5] ARM: at91: dt: add pinctrl pre-processor define

2013-05-15 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- include/dt-bindings/pinctrl/at91.h | 35 +++ 1 file changed, 35 insertions(+) create mode 100644 include/dt-bindings/pinctrl/at91.h diff --git a/include/dt-bindings/pinctrl/at91.h b/include/dt-bindings

Re: [PATCH] gpio: fix typos

2013-05-12 Thread Jean-Christophe PLAGNIOL-VILLARD
this is not typos it's coding style Best Regards, J. On 10:57 Sun 12 May , Antony Pavlov wrote: > Signed-off-by: Antony Pavlov > --- > include/asm-generic/gpio.h |1 - > include/gpio.h |2 +- > 2 files changed, 1 insertion(+), 2 deletions(-) > > diff --git a/include/asm-

Re: [PATCH v2 1/2] tegra20: add pinctrl driver

2013-05-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:17 Sat 11 May , Sascha Hauer wrote: > On Fri, May 10, 2013 at 09:03:10PM +0200, Alexander Aring wrote: > > Hi Lucas, > > > > On Fri, May 10, 2013 at 08:28:57PM +0200, Lucas Stach wrote: > > > This adds a pinctrl driver for the Tegra 20 line of SoCs. It only > > > supports the three basic

Re: [PATCH] GPIO: Add gpio_to_desc helper

2013-05-11 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:46 Sat 11 May , Alexander Shiyan wrote: > > > > > > On 18:04 Fri 10 May , Alexander Shiyan wrote: > > > > > > > Patch adds gpio_to_desc helper for validate GPIO. > > > > > > > A bit optimization is performed (about -250 bytes on ARM). > > > > > > > > > > > > > > Signed-off-by: Alexan

Re: [PATCH] GPIO: Add gpio_to_desc helper

2013-05-11 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:05 Sat 11 May , Alexander Shiyan wrote: > > > > On 18:04 Fri 10 May , Alexander Shiyan wrote: > > > > > Patch adds gpio_to_desc helper for validate GPIO. > > > > > A bit optimization is performed (about -250 bytes on ARM). > > > > > > > > > > Signed-off-by: Alexander Shiyan > > > >

Re: [PATCH] GPIO: Add gpio_to_desc helper

2013-05-11 Thread Jean-Christophe PLAGNIOL-VILLARD
On 14:54 Sat 11 May , Alexander Shiyan wrote: > > On 18:04 Fri 10 May , Alexander Shiyan wrote: > > > Patch adds gpio_to_desc helper for validate GPIO. > > > A bit optimization is performed (about -250 bytes on ARM). > > > > > > Signed-off-by: Alexander Shiyan > > > --- > > > drivers/gpi

Re: [PATCH] GPIO: Add gpio_to_desc helper

2013-05-10 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:04 Fri 10 May , Alexander Shiyan wrote: > Patch adds gpio_to_desc helper for validate GPIO. > A bit optimization is performed (about -250 bytes on ARM). > > Signed-off-by: Alexander Shiyan > --- > drivers/gpio/gpiolib.c | 97 > ++ > 1 fi

Re: [PATCH 1/2] GPIO: Check for "gpio_is_valid" first

2013-05-10 Thread Jean-Christophe PLAGNIOL-VILLARD
HI, do as in linux introduce static struct gpio_desc *gpio_to_desc(unsigned gpio) and we need to check the gpio is valid before calling _free/ser/get etc.. On 11:27 Fri 10 May , Alexander Shiyan wrote: > > Signed-off-by: Alexander Shiyan > --- > d

Re: [PATCH 1/2] GPIO: Check for "gpio_is_valid" first

2013-05-10 Thread Jean-Christophe PLAGNIOL-VILLARD
no the current code is more clean just move gi = &gpio_desc[gpio]; chip = gi->chip after the current check; On 11:27 Fri 10 May , Alexander Shiyan wrote: > > Signed-off-by: Alexander Shiyan > --- > drivers/gpio/gpiolib.c | 181 > ++--- > 1 fil

Re: Installing barebox for karo-tx53 in nand-flash

2013-05-10 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:53 Fri 10 May , Sascha Hauer wrote: > On Fri, May 10, 2013 at 09:20:50AM +, Dr. Patrick Langfeld wrote: > > Thanks Sascha, > > building barebox results in two .bin files: barebox.bin and > > zbarebox.bin. > > Is zbarebox.bin a compressed version of barebox.bin? > > Which one should I

[PATCH 1/1] login: disable input console if password wrong

2013-05-09 Thread Jean-Christophe PLAGNIOL-VILLARD
so we garantie that barebox is secured again user interaction Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- commands/login.c|5 - common/console.c|6 ++ common/console_common.c | 13 + common/console_simple.c |9 - include

Re: [PATCH v3] nand_base: sync flash detection functions with linux 3.9's code

2013-05-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On May 9, 2013, at 2:20 AM, Eric Bénard wrote: > Le Wed, 8 May 2013 19:45:41 +0200, > Jean-Christophe PLAGNIOL-VILLARD a écrit : > >> one small issue >> >> /opt/work/barebox/drivers/mtd/nand/nand_base.c: In function >> 'nand_get_flash_type': >&g

Re: [PATCH v3] nand_base: sync flash detection functions with linux 3.9's code

2013-05-08 Thread Jean-Christophe PLAGNIOL-VILLARD
0x26ef (size 10 MiB) running /env/bin/init... Hit any key to stop autoboot: 3 barebox@Atmel at91sam9x5-ek:/ # Tested-by: Jean-Christophe PLAGNIOL-VILLARD On 19:39 Wed 08 May , Eric Bénard wrote: > Signed-off-by: Eric Bénard > --- > dr

Re: [PATCH v2] nand_base: fix to test for JCPV problem

2013-05-08 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, same barebox 2013.05.0-00119-g57955f2 #613 Thu May 9 01:12:00 CST 2013 Board: Atmel at91sam9x5-ek AT91: Detected soc type: at91sam9x5 AT91: Detected soc subtype: at91sam9x25 Clocks: CPU 400 MHz, master 133 MHz, main 12.000 MHz netconsole: registered as cs2 CM: SAM9X25-CM [B2] from R

Re: [PATCH] nand_base: fix to test for JCPV problem

2013-05-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:20 Wed 08 May , Eric Bénard wrote: > Signed-off-by: Eric Bénard better but an other BUG Board: Atmel at91sam9x5-ek AT91: Detected soc type: at91sam9x5 AT91: Detected soc subtype: at91sam9x25 Clocks: CPU 400 MHz, master 133 MHz, main 12.000 MHz netconsole: registered as cs2 CM: SAM9X25-

Re: [PATCH 1/1] Revert "nand_base: detect more ONFI flash"

2013-05-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:25 Wed 08 May , Eric Bénard wrote: > Hi Jean-Christophe, > > Le Wed, 8 May 2013 15:30:24 +0800, > Jean-Christophe PLAGNIOL-VILLARD a écrit : > > > > > On May 8, 2013, at 1:11 PM, Sascha Hauer wrote: > > > > > On Tue, May 07, 2013 at 10:21:3

Re: [PATCH 1/1] Revert "nand_base: detect more ONFI flash"

2013-05-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On May 8, 2013, at 1:11 PM, Sascha Hauer wrote: > On Tue, May 07, 2013 at 10:21:39PM +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: >> this brake the nand support on at91sam9x5ek >> where we have a non compliant ONFI nand >> NAND device: Manufacturer ID: 0xad, C

[PATCH 1/1] Revert "nand_base: detect more ONFI flash"

2013-05-07 Thread Jean-Christophe PLAGNIOL-VILLARD
-Christophe PLAGNIOL-VILLARD --- drivers/mtd/nand/nand_base.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index e8103cf..67e913a 100644 --- a/drivers/mtd/nand/nand_base.c +++ b/drivers/mtd/nand/nand_base.c

[PATCH 1/1] qt1070: drop non used buf

2013-05-07 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/input/qt1070.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/qt1070.c b/drivers/input/qt1070.c index 7f51da0..ada330a 100644 --- a/drivers/input/qt1070.c +++ b/drivers/input/qt1070.c @@ -215,7 +215,6 @@ static int

[PATCH 1/1] commands/mem.c: drop non used DEVMEM

2013-05-07 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- commands/mem.c |2 -- 1 file changed, 2 deletions(-) diff --git a/commands/mem.c b/commands/mem.c index 7eb60af..568050d 100644 --- a/commands/mem.c +++ b/commands/mem.c @@ -41,8 +41,6 @@ char *mem_rw_buf; -static char *DEVMEM = "

Re: [PATCH 2/2] ARM: i.MX: ccxmx51: detect SDRAM size by board id

2013-05-07 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:46 Tue 07 May , Alexander Shiyan wrote: > ... > > > void __naked barebox_arm_reset_vector(void) > > > { > > > arm_cpu_lowlevel_init(); > > > - imx51_barebox_entry(0); > > > + barebox_arm_entry(MX51_CSD0_BASE_ADDR, SZ_128M, 0); > > > > can we fix the ddr ctrl here by detecting the hw

Re: [PATCH 2/2] ARM: i.MX: ccxmx51: detect SDRAM size by board id

2013-05-07 Thread Jean-Christophe PLAGNIOL-VILLARD
> static int ccxmx51_devices_init(void) > { > u8 hwid[6]; > @@ -367,6 +380,8 @@ static int ccxmx51_devices_init(void) > break; > } > printf("Module Serial : %c%d\n", manloc, ((hwid[2] & 0x3f) << > 24) | (hwid[3] << 16) | (hwid[4] << 8) | hw

Re: [PATCH 2/7] scripts: new kwbimage manipulation tool for Marvell SoC boot images

2013-05-07 Thread Jean-Christophe PLAGNIOL-VILLARD
On 23:03 Mon 06 May , Thomas Petazzoni wrote: > Dear Sascha Hauer, > > On Mon, 6 May 2013 22:56:31 +0200, Sascha Hauer wrote: > > > > > Barebox update will generate the correct image for the storagemedia at > > > > runtime > > > > > > What is "Barebox update" ? > > > > barebox_update is a c

Re: [PATCH 1/2] tegra20: add pinctrl driver

2013-05-06 Thread Jean-Christophe PLAGNIOL-VILLARD
On 21:59 Mon 06 May , Sascha Hauer wrote: > On Mon, May 06, 2013 at 05:27:25PM +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > > + > > > +static struct pinctrl_ops pinctrl_tegra20_ops = { > > > + .set_state = pinctrl_tegra20_set_state, &g

Re: [PATCH 2/7] scripts: new kwbimage manipulation tool for Marvell SoC boot images

2013-05-06 Thread Jean-Christophe PLAGNIOL-VILLARD
On 22:21 Mon 06 May , Thomas Petazzoni wrote: > Hello, > > On Mon, 6 May 2013 21:53:59 +0200, Willy Tarreau wrote: > > > > And it's does not require you to generate the image before flashing. > > > And request the blob by XMODEM will NEVER work to update at runtime > > > as can not discuss wi

Re: [PATCH 2/7] scripts: new kwbimage manipulation tool for Marvell SoC boot images

2013-05-06 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:21 Mon 06 May , Jason Cooper wrote: > On Mon, May 06, 2013 at 04:04:39PM +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 16:06 Mon 06 May , Thomas Petazzoni wrote: > > > Dear Jean-Christophe PLAGNIOL-VILLARD, > > > > > > On Mon, 6 M

Re: [PATCH 2/7] scripts: new kwbimage manipulation tool for Marvell SoC boot images

2013-05-06 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:31 Mon 06 May , Willy Tarreau wrote: > Jean-Christophe, > > On Mon, May 06, 2013 at 04:14:47PM +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > > 2) Because it's useful to extract the binary blob needed to configure > > > the DDR3 ti

Re: [PATCH 1/2] tegra20: add pinctrl driver

2013-05-06 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:56 Mon 06 May , Lucas Stach wrote: > This adds a pinctrl driver for the Tegra 20 line of SoCs. It only > supports the three basic pinconfiguration settings function mux, > tristate control and pullup/down control. > > The driver understands the same devicetree bindings as the Linux one,

Re: [PATCH 2/7] scripts: new kwbimage manipulation tool for Marvell SoC boot images

2013-05-06 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:13 Mon 06 May , Thomas Petazzoni wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > On Mon, 6 May 2013 16:04:39 +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > > > > > Could you please adopt a nicer language? You are very aggressive... > >

Re: [PATCH 4/7] arm: initial support for Marvell Armada 370/XP SoCs

2013-05-06 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:09 Mon 06 May , Thomas Petazzoni wrote: > Sascha, Jean-Christophe, > > I have one question below regarding the SoC code. > > On Fri, 3 May 2013 18:51:08 +0200, Thomas Petazzoni wrote: > > +static inline void mvebu_memory_find(unsigned long *phys_base, > > +

Re: [PATCH 2/7] scripts: new kwbimage manipulation tool for Marvell SoC boot images

2013-05-06 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:06 Mon 06 May , Thomas Petazzoni wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > On Mon, 6 May 2013 15:54:35 +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > > > Could you please adopt a nicer language? You are very aggressive... and > > > at th

Re: [PATCH 2/7] scripts: new kwbimage manipulation tool for Marvell SoC boot images

2013-05-06 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:53 Mon 06 May , Thomas Petazzoni wrote: > Dear Jean-Christophe PLAGNIOL-VILLARD, > > On Sun, 5 May 2013 13:19:27 +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > > > > > This patch adds a tool that allows to extract the components and > > > &g

Re: [PATCH 2/7] scripts: new kwbimage manipulation tool for Marvell SoC boot images

2013-05-05 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:32 Sat 04 May , Jason Cooper wrote: > On Sat, May 04, 2013 at 09:51:25PM +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 18:51 Fri 03 May , Thomas Petazzoni wrote: > > > The Marvell EBU SoCs (Kirkwood, Armada 370, Armada XP) have a BootROM > > &

Re: [PATCH 2/7] scripts: new kwbimage manipulation tool for Marvell SoC boot images

2013-05-04 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:51 Fri 03 May , Thomas Petazzoni wrote: > The Marvell EBU SoCs (Kirkwood, Armada 370, Armada XP) have a BootROM > that understand a specific image format, composed of a main header, > several extension headers and a paylod. This image can be booted from > NAND, SPI, SATA, UART, NOR, etc.

Re: [PATCH 2/9] ARM: at91 gpio: Fix possible null pointer dereference

2013-04-26 Thread Jean-Christophe PLAGNIOL-VILLARD
On 20:41 Fri 26 Apr , Alexander Shiyan wrote: > > Signed-off-by: Alexander Shiyan > --- > arch/arm/mach-at91/gpio.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/mach-at91/gpio.c b/arch/arm/mach-at91/gpio.c > index c2618c7..0e39a52 100644 > --- a/arc

Re: [PATCH 3/9] ARM: at91 smc: Fix possible uninitialized variable

2013-04-26 Thread Jean-Christophe PLAGNIOL-VILLARD
On 20:41 Fri 26 Apr , Alexander Shiyan wrote: > > Signed-off-by: Alexander Shiyan > --- > arch/arm/mach-at91/sam9_smc.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/arch/arm/mach-at91/sam9_smc.c b/arch/arm/mach-at91/sam9_smc.c > index b48275e..a137da4 100

Re: [PATCH 1/1] mci: add Secure Digital Host Controller Interface support

2013-04-24 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:54 Wed 24 Apr , Sascha Hauer wrote: > On Wed, Apr 24, 2013 at 11:09:07AM +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > as today more and more hw use it so import a sdhci implemetation based on > > linux. > > Problem is that the Linux implementation sucks

[PATCH 1/1] mci: add Secure Digital Host Controller Interface support

2013-04-24 Thread Jean-Christophe PLAGNIOL-VILLARD
as today more and more hw use it so import a sdhci implemetation based on linux. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/mci/Kconfig | 12 + drivers/mci/Makefile |1 + drivers/mci/sdhci.c | 829 ++ drivers/mci/sdhci.h

Re: [PATCH] Added sd driver for bcm2835 (Raspberry PI)

2013-04-24 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:35 Wed 24 Apr , Sascha Hauer wrote: > > On Tue, Apr 23, 2013 at 03:41:45PM +0200, wilhelm wrote: > > --- > > arch/arm/mach-bcm2835/core.c | 1 + > > drivers/mci/Kconfig | 5 + > > drivers/mci/Makefile | 1 + > > drivers/mci/mci-bcm2835.c| 551 > >

Re: [PATCH] Added sd driver for bcm2835 (Raspberry PI)

2013-04-23 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:41 Tue 23 Apr , wilhelm wrote: > --- > arch/arm/mach-bcm2835/core.c | 1 + > drivers/mci/Kconfig | 5 + > drivers/mci/Makefile | 1 + > drivers/mci/mci-bcm2835.c| 551 > +++ > drivers/mci/mci-bcm2835.h| 126 +

Re: [PATCH] clocksource: Add pointer to clocksource structure in read function

2013-04-22 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:19 Mon 22 Apr , Alexander Shiyan wrote: > > On 13:13 Mon 22 Apr , Alexander Shiyan wrote: > > > > On 10:35 Sat 20 Apr , Alexander Shiyan wrote: > > > > > > > > > > This patch adds pointer to clocksource structure in read function. > > > > > For avoid name collisions, clocksource

Re: [PATCH] clocksource: Add pointer to clocksource structure in read function

2013-04-22 Thread Jean-Christophe PLAGNIOL-VILLARD
On 13:13 Mon 22 Apr , Alexander Shiyan wrote: > > On 10:35 Sat 20 Apr , Alexander Shiyan wrote: > > > > > > This patch adds pointer to clocksource structure in read function. > > > For avoid name collisions, clocksource names for all drivers was > > > changed to be unique. > > why? > > >

Re: [PATCH 4/5] GPIO: i.MX: Cleanup driver code

2013-04-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On 08:18 Sat 20 Apr , Alexander Shiyan wrote: > This patch provides only cleanup for i.MX GPIO driver. > Indentation, reduced licence text etc. no please drop it this is just noise on the history when doing blame > > Signed-off-by: Alexander Shiyan > --- > drivers/gpio/gpio-imx.c | 34 ++

Re: [PATCH] clocksource: Add pointer to clocksource structure in read function

2013-04-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:35 Sat 20 Apr , Alexander Shiyan wrote: > > This patch adds pointer to clocksource structure in read function. > For avoid name collisions, clocksource names for all drivers was > changed to be unique. why? no need the clocksource is hot path don't touch it and we do not need the struct

Re: [PATCH 1/2] common/filetype: move partition-table detection into own function

2013-04-19 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:46 Fri 19 Apr , Hubert Feurstein wrote: > Signed-off-by: Hubert Feurstein > --- > common/filetype.c | 41 - > include/filetype.h | 1 + > 2 files changed, 25 insertions(+), 17 deletions(-) > > diff --git a/common/filetype.c b/common/filetype.c

Re: [PATCH] environment: support redundant environments

2013-04-18 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:16 Wed 17 Apr , Jan Luebbe wrote: > Signed-off-by: Jan Luebbe this need more explaination how it supposed to work > --- > arch/arm/mach-omap/omap_generic.c | 14 +++-- you mix gerenic code and mach code split > commands/loadenv.c| 23 ++--- > co

Re: [PATCH] mx6-sabrelite: Setup CCM_CCOSR register

2013-04-18 Thread Jean-Christophe PLAGNIOL-VILLARD
On 15:35 Wed 17 Apr , Fabio Estevam wrote: > From: Fabio Estevam > > Setup CCM_CCOSR register to provide a CKO1 clock frequency of 16.5 MHz. > > CKO1 drives sgtl5000 codec clock on mx6qsabrelite and doing this setup in the > bootloader will allow us to remove a lot of code in > arch/arm/ma

Re: [For-master critical fix PATCH 1/1] login: disable input console if password wrong

2013-04-16 Thread Jean-Christophe PLAGNIOL-VILLARD
On 14:41 Tue 16 Apr , Sascha Hauer wrote: > On Sun, Apr 14, 2013 at 01:58:24PM +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > so we garantie that barebox is secured again user interaction > > > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD >

[PATCH 1/1] at91sam9m10g45ek: add spi dataflash supprt

2013-04-15 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arch/arm/boards/at91sam9m10g45ek/init.c | 18 ++ arch/arm/configs/at91sam9m10g45ek_defconfig |4 +++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/arch/arm/boards/at91sam9m10g45ek/init.c b/arch/arm

[PATCH 1/1] atmel_mci: add write protect detection support

2013-04-14 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/mci/atmel_mci.c | 42 +- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/drivers/mci/atmel_mci.c b/drivers/mci/atmel_mci.c index f032403..4e8b86e 100644 --- a/drivers/mci

Re: [PATCH] ARM: Support for IXP4xx CPU.

2013-04-14 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:30 Sun 14 Apr , Krzysztof Halasa wrote: > Jean-Christophe PLAGNIOL-VILLARD writes: > > >> +static int ixp4xx_console_init(void) > >> +{ > >> + /* Register the serial port */ > >> + add_ns16550_device(0, (u32)IXP4XX_UART1_BASE, 1024, >

[For-master critical fix PATCH 1/1] login: disable input console if password wrong

2013-04-14 Thread Jean-Christophe PLAGNIOL-VILLARD
so we garantie that barebox is secured again user interaction Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- commands/Kconfig|1 + commands/login.c|5 - common/Kconfig |3 +++ common/console.c|6 ++ common/console_common.c | 15

Re: [PATCH 1/2] mx53-loco: provide the right header for serial downloader

2013-04-10 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:10 Wed 10 Apr , Eric Bénard wrote: > this patch allows barebox to run when loaded on the iMX53QSB > using the serial downloader. > > Signed-off-by: Eric Bénard > --- > arch/arm/boards/freescale-mx53-loco/flash_header.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/ar

Re: [PATCH v2] omap4-fb: add driver

2013-04-09 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:16 Tue 09 Apr , Sascha Hauer wrote: > On Mon, Apr 08, 2013 at 09:17:15AM +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > On 00:15 Mon 08 Apr , Christoph Fritz wrote: > > > This patch adds omap4 display controller support. > > > > > &g

Re: [PATCH] ARM: Support for IXP4xx hardware Queue Manager.

2013-04-08 Thread Jean-Christophe PLAGNIOL-VILLARD
same here no printf use dev_dbg or pr_debug On 21:55 Sun 07 Apr , Krzysztof Halasa wrote: > Signed-off-by: Krzysztof Hałasa > > diff --git a/arch/arm/mach-ixp4xx/Kconfig b/arch/arm/mach-ixp4xx/Kconfig > index e69de29..9244be9 100644 > --- a/arch/arm/mach-ixp4xx/Kconfig > +++ b/arch/arm/mach-

Re: [PATCH] ARM: Support for IXP4xx Network Processor Engines (NPEs).

2013-04-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 21:57 Sun 07 Apr , Krzysztof Halasa wrote: > Signed-off-by: Krzysztof Hałasa > > diff --git a/arch/arm/mach-ixp4xx/Kconfig b/arch/arm/mach-ixp4xx/Kconfig > index 9244be9..33e8bb3 100644 > --- a/arch/arm/mach-ixp4xx/Kconfig > +++ b/arch/arm/mach-ixp4xx/Kconfig > @@ -6,4 +6,10 @@ config IXP4

Re: [PATCH] ARM: Support for IXP4xx built-in Ethernet interfaces.

2013-04-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 21:58 Sun 07 Apr , Krzysztof Halasa wrote: > Signed-off-by: Krzysztof Hałasa > > diff --git a/arch/arm/mach-ixp4xx/include/mach/platform.h > b/arch/arm/mach-ixp4xx/include/mach/platform.h > new file mode 100644 > index 000..1df4aa4 > --- /dev/null > +++ b/arch/arm/mach-ixp4xx/include/

Re: [PATCH] ARM: Support for IXP4xx CPU.

2013-04-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 21:54 Sun 07 Apr , Krzysztof Halasa wrote: > Signed-off-by: Krzysztof Hałasa > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index bb9b47b..2a775d5 100644 > --- a/arch/arm/Kconfig > +++ b/arch/arm/Kconfig > @@ -79,6 +79,12 @@ config ARCH_IMX > select WATCHDOG_IMX_RESET_SOURCE

Re: [PATCH v2] omap4-fb: add driver

2013-04-08 Thread Jean-Christophe PLAGNIOL-VILLARD
On 00:15 Mon 08 Apr , Christoph Fritz wrote: > This patch adds omap4 display controller support. > > Signed-off-by: Christoph Fritz > --- > arch/arm/mach-omap/Makefile|1 + > arch/arm/mach-omap/include/mach/omap4-fb.h | 52 +++ > arch/arm/mach-omap/omap4_fb.c

[PATCH 1/1] highbank: switch to defaultenv-2

2013-04-06 Thread Jean-Christophe PLAGNIOL-VILLARD
this will allow to have boot sequence and later to use PXE Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Cc: Rob Herring --- arch/arm/boards/highbank/env/boot.d/010-ahci-boot |1 + arch/arm/boards/highbank/env/boot.d/011-ahci |1 + arch/arm/boards/highbank/env/boot.d/020-mmc

<    2   3   4   5   6   7   8   9   10   11   >