Is Barebox list always living?

2012-05-29 Thread Lionel Fiat
Hi, I have been not receiving mails on barebox@lists.infradead.org since 2 months: Is Barebox list always living?? Regards, Lionel ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: Is Barebox list always living?

2012-05-29 Thread Alexander Shiyan
Hello. Tue, 29 May 2012 09:35:57 +0200 от Lionel Fiat lionel.f...@cloudseas.com: Hi, I have been not receiving mails on barebox@lists.infradead.org since 2 months: Is Barebox list always living?? Regards, LionelYes, you can view web archive for check this:

Re: Is Barebox list always living?

2012-05-29 Thread Eric Bénard
Hi Lionel, Le Tue, 29 May 2012 09:35:57 +0200, Lionel Fiat lionel.f...@cloudseas.com a écrit : I have been not receiving mails on barebox@lists.infradead.org since 2 months: Is Barebox list always living?? it is : http://lists.infradead.org/pipermail/barebox/2012-May/date.html Eric

Re: [PATCH v20120528 4/5] toshiba-ac100: add USB host support

2012-05-29 Thread Sascha Hauer
On Mon, May 28, 2012 at 12:12:35PM +0400, Antony Pavlov wrote: Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/arm/boards/toshiba-ac100/board.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boards/toshiba-ac100/board.c

Re: [PATCH 2/2] menu: add support for disable entry

2012-05-29 Thread Sascha Hauer
On Sun, May 27, 2012 at 03:57:13PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- .../arm/boards/at91sam9m10g45ek/env/bin/boot_board |2 + commands/menu.c| 15 +-

Re: magicvar breaks tftp (or ramfs)

2012-05-29 Thread Eric Bénard
Hi Sascha, Le Tue, 13 Dec 2011 20:26:06 +0100, Sascha Hauer s.ha...@pengutronix.de a écrit : On Tue, Dec 13, 2011 at 04:09:53PM +0100, Eric Bénard wrote: Hi Sascha, Le 13/12/2011 10:48, Sascha Hauer a écrit : Sometimes it helps to enable CONFIG_KALLSYMS CONFIG_ARM_UNWIND to

Re: Booting mx25 based device from SD and NOR

2012-05-29 Thread Roberto Nibali
Hi Eric http://git.pengutronix.de/?p=barebox.git;a=blob;f=arch/arm/boards/eukrea_cpuimx27/eukrea_cpuimx27.c;h=63e87c9551c440edab572f5252a503ba4d533161;hb=c48de4beee21c3a5573cec084123c33ae08f6f7a Now that piece certainly was missing, but how the heck did you find out those register

Re: Booting mx25 based device from SD and NOR

2012-05-29 Thread Sascha Hauer
On Tue, May 29, 2012 at 11:06:00AM +0200, Roberto Nibali wrote: Hi Eric http://git.pengutronix.de/?p=barebox.git;a=blob;f=arch/arm/boards/eukrea_cpuimx27/eukrea_cpuimx27.c;h=63e87c9551c440edab572f5252a503ba4d533161;hb=c48de4beee21c3a5573cec084123c33ae08f6f7a Now that piece

[BUG: barebox-git] failure at common/block.c:248/block_put()!

2012-05-29 Thread Roberto Nibali
Hi Barebox barfs if I try to copy a file inside a mounted MMC fat partition. Steps to reproduce: 1.) Load barebox (configured as internal boot MMC) as a second stage boot loader from uboot. 2.) Mount MMC fat partition 3.) Try to copy file to the same partition This results in this nice BUG():

Re: Booting mx25 based device from SD and NOR

2012-05-29 Thread Roberto Nibali
Hi Sascha you need the reference manual of the i.MX25 to know the meaning of these registers and the datasheet of your flash to know it's timings then you can calculate the value to put in the registers. I have found them in an old uboot tree a previous person patched to have

[PATCH v20120529 2/2] toshiba_ac100: add defconfig

2012-05-29 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/arm/configs/toshiba_ac100_defconfig | 39 ++ 1 file changed, 39 insertions(+) create mode 100644 arch/arm/configs/toshiba_ac100_defconfig diff --git a/arch/arm/configs/toshiba_ac100_defconfig

[PATCH v20120529 1/2] toshiba_ac100: add USB host support

2012-05-29 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/arm/boards/toshiba-ac100/board.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boards/toshiba-ac100/board.c b/arch/arm/boards/toshiba-ac100/board.c index e3a5eba..f2b134c 100644 ---

Re: [BUG: barebox-git] failure at common/block.c:248/block_put()!

2012-05-29 Thread Sascha Hauer
On Tue, May 29, 2012 at 11:49:24AM +0200, Roberto Nibali wrote: Hi Barebox barfs if I try to copy a file inside a mounted MMC fat partition. Steps to reproduce: 1.) Load barebox (configured as internal boot MMC) as a second stage boot loader from uboot. 2.) Mount MMC fat partition 3.)

Re: [PATCH v20120528 4/5] toshiba-ac100: add USB host support

2012-05-29 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:30 Tue 29 May , Sascha Hauer wrote: On Mon, May 28, 2012 at 12:12:35PM +0400, Antony Pavlov wrote: Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/arm/boards/toshiba-ac100/board.c | 18 ++ 1 file changed, 18 insertions(+) diff --git

Re: [PATCH v20120528 4/5] toshiba-ac100: add USB host support

2012-05-29 Thread Sascha Hauer
On Tue, May 29, 2012 at 12:37:20PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: On 10:30 Tue 29 May , Sascha Hauer wrote: On Mon, May 28, 2012 at 12:12:35PM +0400, Antony Pavlov wrote: Signed-off-by: Antony Pavlov antonynpav...@gmail.com ---

Re: magicvar breaks tftp (or ramfs)

2012-05-29 Thread Eric Bénard
Le Tue, 29 May 2012 10:48:44 +0200, Eric Bénard e...@eukrea.com a écrit : here is the full trace. There is something strange as it seems a wrong value gets loaded into R3 leading to the error. and to be complete : commenting out printf(%c\b, spinchr[spin++ % (sizeof(spinchr)

Re: [PATCH 2/2] menu: add support for disable entry

2012-05-29 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:35 Tue 29 May , Sascha Hauer wrote: On Sun, May 27, 2012 at 03:57:13PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- .../arm/boards/at91sam9m10g45ek/env/bin/boot_board |2 + commands/menu.c

Re: [BUG: barebox-git] failure at common/block.c:248/block_put()!

2012-05-29 Thread Roberto Nibali
G'day sid1-noah:/ mount /dev/disk0.0 fat /mnt block_cache: blk-ops-read returned 0 sid1-noah:/ cp /mnt/coblock_cache: blk-ops-read returned 0 nsole_image.jffs2 /mnt/console_image.jffs2-backup block_cache: blk-ops-read returned 0 block_cache: blk-ops-read returned 0 block_cache:

[PATCH v20120529.1 1/2] toshiba_ac100: add USB host support

2012-05-29 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/arm/boards/toshiba-ac100/board.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boards/toshiba-ac100/board.c b/arch/arm/boards/toshiba-ac100/board.c index e3a5eba..d933146 100644 ---

Imx28 sdram initialisation?

2012-05-29 Thread Robin van der Gracht
Hello, Currently i'm working on our new board, equipped with a imx287 processor, using the 'karo-tx28' and 'freescale-mx28-evk' bsp as reference for our own bsp. But I can't find sdram initialisation, lowlevel routines, or dcd support for imx28. So i'm wondering how and where this is done

Re: [BUG: barebox-git] failure at common/block.c:248/block_put()!

2012-05-29 Thread Roberto Nibali
More information ... I am pretty sure we need to switch to 1BIT transfer and/or using the SDHCI_BROKEN_TIMEOUT_VAL quirk. I'll try to find out if I can add this functionality to barebox, unless you believe there's something else which causes this behaviour. I'll keep investigating ...

Re: [PATCH v20120529 1/2] toshiba_ac100: add USB host support

2012-05-29 Thread Sascha Hauer
On Tue, May 29, 2012 at 02:11:34PM +0400, Antony Pavlov wrote: Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- arch/arm/boards/toshiba-ac100/board.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boards/toshiba-ac100/board.c

Re: [PATCH v20120528 4/5] toshiba-ac100: add USB host support

2012-05-29 Thread Jean-Christophe PLAGNIOL-VILLARD
On 12:42 Tue 29 May , Sascha Hauer wrote: On Tue, May 29, 2012 at 12:37:20PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: On 10:30 Tue 29 May , Sascha Hauer wrote: On Mon, May 28, 2012 at 12:12:35PM +0400, Antony Pavlov wrote: Signed-off-by: Antony Pavlov

Re: [PATCH v20120528 4/5] toshiba-ac100: add USB host support

2012-05-29 Thread Sascha Hauer
On Tue, May 29, 2012 at 05:52:36PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: btw I think we need to change the auto allocated dev_id to -2 so -1 one have the same meanning as in the kernel I think we still have hardcoded -1 around. I check normally no Just grep for

Re: magicvar breaks tftp (or ramfs)

2012-05-29 Thread Sascha Hauer
On Tue, May 29, 2012 at 10:48:44AM +0200, Eric Bénard wrote: Hi Sascha, I really want to believe this, but I wouldn't be so sure. I think it's more likely that you found a bug in barebox that your new toolchain happens to trigger. Could you provide the objdump of show_progress along

check if RGMII works

2012-05-29 Thread Maxim Gorbachyov
Hello. I'm trying to use barebox (current git version) with a Freescale i.MX6q based board. The board is similar to Armadillo 2, but it comes with another Ethernet PHY. Barebox starts on the board, and there is a fec_imx0: barebox@Freescale i.MX6q myboard:/ devinfo fec_imx0 resources: num : 0

[PATCH] video/s3c24xx.c: fix doxygen comment for s3cfb_activate_var()

2012-05-29 Thread Antony Pavlov
Signed-off-by: Antony Pavlov antonynpav...@gmail.com --- drivers/video/s3c24xx.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/s3c24xx.c b/drivers/video/s3c24xx.c index 564ccbd..5d5d8f6 100644 --- a/drivers/video/s3c24xx.c +++ b/drivers/video/s3c24xx.c @@ -193,7 +193,6 @@

Re: [BUG: barebox-git] failure at common/block.c:248/block_put()!

2012-05-29 Thread Sascha Hauer
On Tue, May 29, 2012 at 01:47:36PM +0200, Roberto Nibali wrote: G'day Data Write Failed in PIO Mode.imx-esdhc@imx-esdhc0: timeout 2 imx-esdhc@imx-esdhc0: timeout 1 imx-esdhc@imx-esdhc0: timeout 1 imx-esdhc@imx-esdhc0: timeout 1 block_cache: blk-ops-read returned -110 Ok, so your

[PATCH 2/2] block: do not BUG() on failed block_get

2012-05-29 Thread Sascha Hauer
It does not necessarily means a bug when block_get fails here, this can also be a failure on the underlying device. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- common/block.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/block.c b/common/block.c index

[PATCH 1/2] block: propagate error code from block_get

2012-05-29 Thread Sascha Hauer
Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- common/block.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/common/block.c b/common/block.c index 4253fc4..437dc95 100644 --- a/common/block.c +++ b/common/block.c @@ -161,7 +161,7 @@

Re: [BUG: barebox-git] failure at common/block.c:248/block_put()!

2012-05-29 Thread Sascha Hauer
On Tue, May 29, 2012 at 09:57:38PM +0200, Roberto Nibali wrote: Hi Data Write Failed in PIO Mode.imx-esdhc@imx-esdhc0: timeout 2 imx-esdhc@imx-esdhc0: timeout 1 imx-esdhc@imx-esdhc0: timeout 1 imx-esdhc@imx-esdhc0: timeout 1 block_cache: blk-ops-read returned -110 Ok, so your

Re: Booting mx25 based device from SD and NOR

2012-05-29 Thread Sascha Hauer
On Tue, May 29, 2012 at 12:14:52PM +0200, Roberto Nibali wrote: ADDENDUM: diff --git a/arch/arm/boards/fq-sid1-mx25-noah/Makefile b/arch/arm/boards/fq-sid1-mx25-noah/Makefile new file mode 100644 index 000..1e9cd54 --- /dev/null +++ b/arch/arm/boards/fq-sid1-mx25-noah/Makefile @@

Re: check if RGMII works

2012-05-29 Thread Sascha Hauer
On Tue, May 29, 2012 at 07:37:47PM +0300, Maxim Gorbachyov wrote: Hello. I'm trying to use barebox (current git version) with a Freescale i.MX6q based board. The board is similar to Armadillo 2, but it comes with another Ethernet PHY. Barebox starts on the board, and there is a fec_imx0: