[U-Boot] kwboot: Boot Marvell Kirkwood SoCs over a serial link.

2012-04-23 Thread Daniel Stodden
Hey. I wrote a utility to boot Marvell SoCs over serial. If that sounds generally useful, would you be so kind to merge git://github.com/dns42/u-boot.git at dns/kwboot-1 If it's missing sth for that to happen, lemme know. Cheers, Daniel PS: Sorry if you received this twice, first mail

[U-Boot] [PATCH] kwboot: Boot Marvell Kirkwood SoCs over a serial link.

2012-04-23 Thread Daniel Stodden
The kwboot program boots boards based on Marvell's Kirkwood platform via Xmodem over their integrated UART. Signed-off-by: Daniel Stodden daniel.stod...@googlemail.com --- doc/kwboot.1 | 84 +++ tools/Makefile |6 + tools/kwboot.c | 750

Re: [U-Boot] kwboot: Boot Marvell Kirkwood SoCs over a serial link.

2012-04-23 Thread Daniel Stodden
On Sun, 2012-04-22 at 11:46 -0700, Prafulla Wadaskar wrote: -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot- boun...@lists.denx.de] On Behalf Of Daniel Stodden Sent: 22 April 2012 11:56 To: u-boot@lists.denx.de Subject: [U-Boot] kwboot: Boot Marvell

Re: [U-Boot] usb showed wrong device count

2012-04-23 Thread Ludovic Courtès
Hi, Bob Liu lliu...@gmail.com skribis: After patch: usb: Add support for multiple-LUN mass storage devices The usb device count isn't correct. I don’t recall the details, but it worked for me on the GuruPlug. What device are you using? Thanks, Ludo’.

[U-Boot] Sandbox question

2012-04-23 Thread Wolfgang Denk
Hello, I have a few sandbox related questions (examples run on v2012.04) 1) Memory map - What is it supposed to look like? I get DRAM: 128 MiB, and =bdi boot_params = 0x DRAM bank = 0x - start= 0x - size =

Re: [U-Boot] [REFERENCE DON'T APPLY 1/3] dfu: Add default value for bwPollTimeout

2012-04-23 Thread Lukasz Majewski
Dear Marek, Stefan Dear Stefan Schmidt, Hello. On Fri, 2012-04-06 at 15:06, Marek Vasut wrote: On Thursday 05 April 2012 20:18:16 Marek Vasut wrote: What do you expect from me to tell you about this patch? Or do you expect someone else to comment on this? he

Re: [U-Boot] 'run' no longer aborts on an error, can someone please verify

2012-04-23 Thread Timo Ketola
Hi again, On 23.04.2012 08:43, Timo Ketola wrote: ... I took a quick glance over command/main.c common/main.c, of course 1341 rc = cmd_process(flag, argc, argv, repeatable); This might fix it: - rc = cmd_process(flag, argc, argv, repeatable); +

Re: [U-Boot] [PATCH V4 3/8] imx: fec: Resolve speed before configuring gasket

2012-04-23 Thread Stefano Babic
On 20/04/2012 10:54, Timo Ketola wrote: as far as I can see, there are some inconsistencies. All boards define CONFIG_MII, but they really need CONFIG_RMII, because only with my last patch I set the gasket for MII. The driver has always set in a fixed way the gasket for RMII, independently if

Re: [U-Boot] [PATCH V4 3/8] imx: fec: Resolve speed before configuring gasket

2012-04-23 Thread Timo Ketola
On 23.04.2012 10:55, Stefano Babic wrote: Instead of using CONFIG_MII or CONFIG_RMII, we can make use of CONFIG_FEC_XCV_TYPE, as it was already introduced, but making it consistent for all boards. Second for that. -- Timo ___ U-Boot mailing list

Re: [U-Boot] 'run' no longer aborts on an error, can someone please verify

2012-04-23 Thread Wolfgang Denk
Dear Gray Remlin, In message 4f932cec.30...@gmail.com you wrote: U-Boot v2012.04 Marvell setenv ipaddr '192.168.1.130' Marvell setenv ifhostisup 'ping 192.168.1.100' Marvell setenv saywearehappy 'echo We are happy!' Marvell run ifhostisup saywearehappy; Using egiga0 device ping failed;

[U-Boot] Sandbox cannot be built without HUSH

2012-04-23 Thread Wolfgang Denk
Dear Simon, disabling HUSH support in sandbox results in this: start.c: In function ‘sandbox_main_loop_init’: start.c:97:3: warning: implicit declaration of function ‘parse_string_outer’ [-Wimplicit-function-declaration] start.c:97:34: error: ‘FLAG_PARSE_SEMICOLON’ undeclared (first use in this

Re: [U-Boot] 'run' no longer aborts on an error, can someone please verify

2012-04-23 Thread Timo Ketola
On 23.04.2012 11:20, Wolfgang Denk wrote: I cannot confirm a problem with the run' command; tested with v2012.04 in sandbox : $ echo 'setenv fail printenv foo;setenv bug echo === BUG ===;run fail bug; reset' | ./u-boot I can confirm it: EXE4026 setenv

Re: [U-Boot] 'run' no longer aborts on an error, can someone please verify

2012-04-23 Thread Wolfgang Denk
Dear Gray, In message 20120423082005.8497f200...@gemini.denx.de I wrote: I cannot confirm a problem with the run' command; tested with ... [In both my tests the hush shell was used.] I confirm the problem for the old command line interpreter. Best regards, Wolfgang Denk -- DENX Software

Re: [U-Boot] 'run' no longer aborts on an error, can someone please verify

2012-04-23 Thread Wolfgang Denk
Dear Timo, In message 4f9506aa.4000...@exertus.fi you wrote: Hi again, On 23.04.2012 08:43, Timo Ketola wrote: ... I took a quick glance over command/main.c common/main.c, of course 1341 rc = cmd_process(flag, argc, argv, repeatable); This might fix it: -

Re: [U-Boot] [PATCH 2/2] EXYNOS: draw 32bpp bitmap TIZEN logo

2012-04-23 Thread Minkyu Kang
On 23 April 2012 10:47, Donghwa Lee dh09@samsung.com wrote: This patches support drawing 32bpp bitmap TIZEN logo in exynos fb. asm/arch/trats_logo.h data is compressed by zip and decomressed at the exynos fb driver. And vl_bpix of vidinfo_t is changed proper value for u-boot.

Re: [U-Boot] [PATCH 2/2] EXYNOS: draw 32bpp bitmap TIZEN logo

2012-04-23 Thread Wolfgang Denk
Dear Donghwa Lee, In message 4f94b49e.5020...@samsung.com you wrote: This patches support drawing 32bpp bitmap TIZEN logo in exynos fb. asm/arch/trats_logo.h data is compressed by zip and decomressed at the exynos fb driver. And vl_bpix of vidinfo_t is changed proper value for u-boot.

[U-Boot] (no subject)

2012-04-23 Thread mohamed.haneef
The patch for msm7630 was released to the u-boot community on 16-feb-2-2012 can this be mainlined in v2012.07 release.The Patches contain the following support * low speed uart for msm7630 * interprocessor communication * qc_mmc microcontroller * msm7630 soc

[U-Boot] msm7630 mainline request

2012-04-23 Thread mohamed.haneef
The patch for msm7630 was released to the u-boot community on 16-feb-2-2012 can this be mainlined in v2012.07 release.The Patches contain the following support * low speed uart for msm7630 * interprocessor communication * qc_mmc microcontroller * msm7630 soc

Re: [U-Boot] [REFERENCE DON'T APPLY 1/3] dfu: Add default value for bwPollTimeout

2012-04-23 Thread Marek Vasut
Dear Lukasz Majewski, Dear Marek, Stefan Dear Stefan Schmidt, Hello. On Fri, 2012-04-06 at 15:06, Marek Vasut wrote: On Thursday 05 April 2012 20:18:16 Marek Vasut wrote: What do you expect from me to tell you about this patch? Or do you expect someone else to

Re: [U-Boot] [PATCH] mx6qsabrelite: No need to set the direction for GPIO3_23 again

2012-04-23 Thread Stefano Babic
On 11/04/2012 22:22, Fabio Estevam wrote: There is a 'gpio_direction_output(87, 0);' call previously, so the GPIO direction is already established. Use gpio_set_value() for changing the GPIO output then. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to

Re: [U-Boot] [PATCH] i.MX6: Add ANATOP regulator init

2012-04-23 Thread Stefano Babic
On 13/04/2012 10:00, Dirk Behme wrote: Init the core regulator voltage to 1.2V. This is required for the correct functioning of the GPU and when the ARM LDO is set to 1.225V. This is a workaround to fix some memory clock jitter. Note: This should be but can't be done in the DCD. The

[U-Boot] [PATCH] Fix the behaviour of the 'run' command

2012-04-23 Thread Timo Ketola
If one command fails, 'run' command should terminate and not execute any remaining variables. Signed-off-by: Timo Ketola t...@exertus.fi --- This is based on u-boot-imx.git next. I hope that doesn't cause too much trouble. common/main.c |3 ++- 1 files changed, 2 insertions(+), 1

Re: [U-Boot] [PATCH] Fix the behaviour of the 'run' command

2012-04-23 Thread Wolfgang Denk
Dear Timo Ketola, In message 1335175047-30984-1-git-send-email-t...@exertus.fi you wrote: If one command fails, 'run' command should terminate and not execute any remaining variables. Signed-off-by: Timo Ketola t...@exertus.fi --- This is based on u-boot-imx.git next. I hope that doesn't

Re: [U-Boot] [PATCH 2/2] EXYNOS: draw 32bpp bitmap TIZEN logo

2012-04-23 Thread Donghwa Lee
Thank you for your comment. On 23 April 2012 18:00, Minkyu Kang wrote: On 23 April 2012 10:47, Donghwa Lee dh09@samsung.com wrote: This patches support drawing 32bpp bitmap TIZEN logo in exynos fb. asm/arch/trats_logo.h data is compressed by zip and decomressed at the exynos fb driver.

Re: [U-Boot] [PATCH] i.MX6: Add ANATOP regulator init

2012-04-23 Thread Dirk Behme
Hi Stefano, On 23.04.2012 11:55, Stefano Babic wrote: On 13/04/2012 10:00, Dirk Behme wrote: Init the core regulator voltage to 1.2V. This is required for the correct functioning of the GPU and when the ARM LDO is set to 1.225V. This is a workaround to fix some memory clock jitter. Note: This

Re: [U-Boot] [PATCH] i.MX6: Add ANATOP regulator init

2012-04-23 Thread Stefano Babic
On 23/04/2012 11:55, Stefano Babic wrote: +static void init_anatop_reg(void) +{ +struct anatop_regs *anatop = (struct anatop_regs *)ANATOP_BASE_ADDR; +int reg = readl(anatop-reg_core); + +/* + * Increase the VDDSOC to 1.2V + * Mask out the REG_CORE[22:18] bits

Re: [U-Boot] [PATCH 2/2] EXYNOS: draw 32bpp bitmap TIZEN logo

2012-04-23 Thread Minkyu Kang
On 23 April 2012 19:16, Donghwa Lee dh09@samsung.com wrote: Thank you for your comment. On 23 April 2012 18:00, Minkyu Kang wrote: On 23 April 2012 10:47, Donghwa Lee dh09@samsung.com wrote: This patches support drawing 32bpp bitmap TIZEN logo in exynos fb. asm/arch/trats_logo.h

Re: [U-Boot] [STATUS] v2012.04 released, Merge Window is OPEN

2012-04-23 Thread Albert ARIBAUD
Le 21/04/2012 22:51, Wolfgang Denk a écrit : Hello all, U-Boot v2012.04 has been released and is available from the git repository and the FTP server. The Merge Window for the next release (v2012.07) is open until Sat May 12, 2012, 23:59:59 CEST = 21 days remaining. Release v2012.07 is

Re: [U-Boot] 'run' no longer aborts on an error, can someone please verify

2012-04-23 Thread Simon Glass
Hi Timo, On Apr 23, 2012 5:43 PM, Timo Ketola t...@exertus.fi wrote: Dear Gray, Jason, Heiko, Simon, I added you, Jason, Heiko and Simon, into the CC-list because there is your commits in the history which seems somewhere to change the behaviour below: On 22.04.2012 00:55, Gray Remlin

Re: [U-Boot] 'run' no longer aborts on an error, can someone please verify

2012-04-23 Thread Wolfgang Denk
Dear Simon, In message capnjgz2vkx3tp6wmswixeys1q3xm+6wjoiyxwc23jpfim_0...@mail.gmail.com you wrote: Thanks for the detailed information. This might be the problem Wolfgang mentioned at the time...will take a look tomorrow. Could you please try and look into this ASAP? I consider this a

[U-Boot] [RESEND PATCH v6 0/4] mmc: support sdhci instead of s5p_mmc

2012-04-23 Thread Jaehoon Chung
This patchset is supported the sdhci controller for Samsung-SoC. In mmc driver, already implemented the generic sdhci. There is no reason that didn't use sdhci.c. So, use the sdhci instead of s5p_mmc. Changelog-v6: - Fix typo - Code clean for #define Changelog-v5: -

[U-Boot] [RESEND PATCH v6 1/4] mmc: sdhci: add the quirk for broken r1b response

2012-04-23 Thread Jaehoon Chung
When response type is R1b, mask value is added the SDHCI_INT_DAT_END. but in while(), didn't check that flag. So sdhci controller didn't work fine. CMD6 didn't always complete. So add the quirks for broken r1b response and add the timeout value to prevent the infinite loop. Signed-off-by:

[U-Boot] [RESEND PATCH v6 2/4] mmc: add the quirk to use the sdhci for samsung-soc

2012-04-23 Thread Jaehoon Chung
To support the Samsung-SoC, added the basically functions. Samsung-SoC didn't used the SDHCI_CTRL_HISPD. And added set_control_reg callback for s3c64xx. Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Lei Wenlei...@marvell.com

[U-Boot] [RESEND PATCH v6 4/4] ARM: SAMSUNG: support sdhci controller

2012-04-23 Thread Jaehoon Chung
To support sdhci controller, remove the CONFIG_S5P_MMC.. Instead, use the CONFIG_S5P_SDHCI/CONFIG_SDHCI. Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Lei Wenlei...@marvell.com Acked-by: Minkyu Kang mk7.k...@samsung.com ---

[U-Boot] [RESEND PATCH v6 3/4] mmc: support the sdhci instead of s5p_mmc for samsung-soc

2012-04-23 Thread Jaehoon Chung
In driver mmc, generic s5p_sdhci code is implemented. s5p_mmc file is dupulicated. we are good that use the generic sdhci. This patch supported the sdhci for Samsung-SoC. Signed-off-by: Jaehoon Chung jh80.ch...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Acked-by: Lei

[U-Boot] [PATCH] spi: mxs: Allow other chip selects to work

2012-04-23 Thread Fabio Estevam
MXS SSP controller may have up to three chip selects per port: SS0, SS1 and SS2. Currently only SS0 is supported in the mxs_spi driver. Allow all the three chip select to work by selecting the desired one in bits 20 and 21 of the HW_SSP_CTRL0 register. Signed-off-by: Fabio Estevam

Re: [U-Boot] [PATCH] spi: mxs: Allow other chip selects to work

2012-04-23 Thread Marek Vasut
Dear Fabio Estevam, MXS SSP controller may have up to three chip selects per port: SS0, SS1 and SS2. Currently only SS0 is supported in the mxs_spi driver. Allow all the three chip select to work by selecting the desired one in bits 20 and 21 of the HW_SSP_CTRL0 register.

Re: [U-Boot] [RFC] Preventing overriding of serverip when set in environment by user

2012-04-23 Thread Maupin, Chase
-Original Message- From: Stefano Babic [mailto:sba...@denx.de] Sent: Thursday, April 19, 2012 4:14 AM To: Peter Barada Cc: u-boot@lists.denx.de; Maupin, Chase Subject: Re: [U-Boot] [RFC] Preventing overriding of serverip when set in environment by user On 18/04/2012 17:46, Peter

Re: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

2012-04-23 Thread Ilya Averyanov
Dear Marek Vasut, Would you please explain, why do you want to initialize the sdram has been in C code. If for provide this feature should be written assembly code. And it would sometimes even harder than the initialization code sdram? 2012/4/21 Marek Vasut ma...@denx.de Dear Ilya Averyanov,

Re: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

2012-04-23 Thread Marek Vasut
Dear Ilya Averyanov, Dear Marek Vasut, Would you please explain, why do you want to initialize the sdram has been in C code. Ok, no problem: - You'll be able to call get_ram_size() to scan for ram size as any other board - SDRAM driver will fit properly into the driver model once it's in

[U-Boot] Booting a dt zImage kernel

2012-04-23 Thread Fabio Estevam
Hi, I am able to successfully boot a zImage kernel with latest 2012.04 U-boot on mx28evk. Now I want to boot a dt zImage version. These are the steps I am doing: make menuconfig and select [*] Support MXS platforms from device tree make imx28-evk.dtb make cat arch/arm/boot/imx28-evk.dtb

Re: [U-Boot] Booting a dt zImage kernel

2012-04-23 Thread Marek Vasut
Dear Fabio Estevam, Hi, I am able to successfully boot a zImage kernel with latest 2012.04 U-boot on mx28evk. Oh I'm so dead :-( Now I want to boot a dt zImage version. These are the steps I am doing: make menuconfig and select [*] Support MXS platforms from device tree make

Re: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

2012-04-23 Thread Ilya Averyanov
2012/4/23 Marek Vasut ma...@denx.de Dear Ilya Averyanov, Dear Marek Vasut, Would you please explain, why do you want to initialize the sdram has been in C code. Ok, no problem: - You'll be able to call get_ram_size() to scan for ram size as any other board - SDRAM driver will fit

Re: [U-Boot] Booting a dt zImage kernel

2012-04-23 Thread Shawn Guo
On 23 April 2012 22:13, Fabio Estevam feste...@gmail.com wrote: Hi, I am able to successfully boot a zImage kernel with latest 2012.04 U-boot on mx28evk. Now I want to boot a dt zImage version. Why do you need to do that at all? Turn on CONFIG_OF_LIBFDT, and you will be able to boot an DT

Re: [U-Boot] [PATCH] cm-t35: add I2C multi-bus support

2012-04-23 Thread Tom Rini
On 04/21/2012 11:09 PM, Igor Grinberg wrote: Hi Tom, On 04/20/12 20:27, Tom Rini wrote: On Mon, Apr 2, 2012 at 5:29 AM, Igor Grinberggrinb...@compulab.co.il wrote: From: Nikita Kiryanovnik...@compulab.co.il Enable I2C multi-bus support and config I2C muxes for I2C2 and I2C3. Signed-off-by:

Re: [U-Boot] [Yaffs] yaffs2 u-boot patching support

2012-04-23 Thread Tom Rini
On 04/22/2012 01:23 PM, Charles Manning wrote: On Friday 20 April 2012 09:40:50 Tom Rini wrote: On Mon, Apr 16, 2012 at 04:32:07PM +1200, Charles Manning wrote: Hello ubooters and yaffsers I was commissioned to refresh yaffs2 in u-boot and add a mechanism to support dynamic yaffs partition

Re: [U-Boot] Booting a dt zImage kernel

2012-04-23 Thread Stefano Babic
On 23/04/2012 16:13, Fabio Estevam wrote: Hi, Hi Fabio, I am able to successfully boot a zImage kernel with latest 2012.04 U-boot on mx28evk. Now I want to boot a dt zImage version. These are the steps I am doing: make menuconfig and select [*] Support MXS platforms from device

Re: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

2012-04-23 Thread Marek Vasut
Dear Ilya Averyanov, 2012/4/23 Marek Vasut ma...@denx.de Dear Ilya Averyanov, Dear Marek Vasut, Would you please explain, why do you want to initialize the sdram has been in C code. Ok, no problem: - You'll be able to call get_ram_size() to scan for ram size as

Re: [U-Boot] Booting a dt zImage kernel

2012-04-23 Thread Fabio Estevam
On Mon, Apr 23, 2012 at 11:50 AM, Shawn Guo shawn@linaro.org wrote: Why do you need to do that at all?  Turn on CONFIG_OF_LIBFDT, and you will be able to boot an DT kernel (without dtb append) in the following command. tftpboot 4200 uImage; tftpboot 4280 imx28-evk.dtb; bootm

Re: [U-Boot] Sandbox question

2012-04-23 Thread Mike Frysinger
On Monday 23 April 2012 02:41:08 Wolfgang Denk wrote: =md 0x100 0100:Segmentation fault yes, this is because the code to make this work was reverted because of ppc oddity. i haven't reviewed that yet to see why, but it seems to me that the ppc code is not quite right. 2)

Re: [U-Boot] Booting a dt zImage kernel

2012-04-23 Thread Stephen Warren
On 04/23/2012 09:29 AM, Fabio Estevam wrote: On Mon, Apr 23, 2012 at 11:50 AM, Shawn Guo shawn@linaro.org wrote: Why do you need to do that at all? Turn on CONFIG_OF_LIBFDT, and you will be able to boot an DT kernel (without dtb append) in the following command. tftpboot 4200

Re: [U-Boot] [STATUS] v2012.04 released, Merge Window is OPEN

2012-04-23 Thread Stephen Warren
On 04/21/2012 02:51 PM, Wolfgang Denk wrote: Hello all, U-Boot v2012.04 has been released and is available from the git repository and the FTP server. The following didn't get merged: http://lists.denx.de/pipermail/u-boot/2012-April/122781.html which means nobody can pass a device tree to

Re: [U-Boot] Booting a dt zImage kernel

2012-04-23 Thread Fabio Estevam
Hi Stephen, On Mon, Apr 23, 2012 at 12:41 PM, Stephen Warren swar...@wwwdotorg.org wrote: There could well be many additional reasons, but it's probably due to http://lists.denx.de/pipermail/u-boot/2012-April/122781.html Yes, that fixes the boot :-) I saw your patch earlier, but I thought it

[U-Boot] [PATCH 1/2] mx28evk: Allow to booting a dt kernel

2012-04-23 Thread Fabio Estevam
Allow to booting a dt kernel. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- The following patch is required to get dt booting to work: http://lists.denx.de/pipermail/u-boot/2012-April/122781.html include/configs/mx28evk.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-)

[U-Boot] [PATCH 2/2] m28evk: Allow to booting a dt kernel

2012-04-23 Thread Fabio Estevam
Allow to booting a dt kernel. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/m28evk.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h index 012381a..39d6a07 100644 ---

Re: [U-Boot] [PATCH] arm: Tegra2: Add a useful default boot env

2012-04-23 Thread Tom Warren
Stephen, On Fri, Apr 20, 2012 at 2:40 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 04/20/2012 01:50 PM, Tom Warren wrote: This set of boot cmds from Stephen Warren provides a simple default for booting a linux kernel and DT from mmc (eMMC or SD-Card, in that order). Tested on Seaboard

[U-Boot] [PATCH 1/4] mx28evk: Allow booting a zImage kernel

2012-04-23 Thread Fabio Estevam
Allow booting a zImage kernel. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/mx28evk.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h index cb4ff37..31dc718 100644 ---

[U-Boot] [PATCH 2/4] mx6qsabrelite: Allow booting a zImage kernel

2012-04-23 Thread Fabio Estevam
Allow booting a zImage kernel. Cc: Jason Liu r64...@freescale.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/mx6qsabrelite.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/mx6qsabrelite.h

[U-Boot] [PATCH 3/4] mx6qarm2: Allow booting a zImage kernel

2012-04-23 Thread Fabio Estevam
Allow booting a zImage kernel. Cc: Jason Liu r64...@freescale.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/mx6qarm2.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/mx6qarm2.h b/include/configs/mx6qarm2.h index

[U-Boot] [PATCH 4/4] mx31pdk: Allow booting a zImage kernel

2012-04-23 Thread Fabio Estevam
Allow booting a zImage kernel. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/mx31pdk.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.h index 49d440b..6ce97bc 100644 ---

Re: [U-Boot] [PATCH] arm: Tegra2: Add a useful default boot env

2012-04-23 Thread Stephen Warren
On 04/23/2012 10:22 AM, Tom Warren wrote: Stephen, On Fri, Apr 20, 2012 at 2:40 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 04/20/2012 01:50 PM, Tom Warren wrote: This set of boot cmds from Stephen Warren provides a simple default for booting a linux kernel and DT from mmc (eMMC or

[U-Boot] [PATCH V2] arm: Tegra2: Add a useful default boot env

2012-04-23 Thread Tom Warren
This set of boot cmds from Stephen Warren provides a simple default for booting a linux kernel and DT from mmc (eMMC or SD-Card, in that order). Tested on Seaboard w/an SD card. Signed-off-by: Tom Warren twar...@nvidia.com --- V2: Use /boot.scr instead of boot.scr.uimg

Re: [U-Boot] [PATCH] arm: Tegra2: Add a useful default boot env

2012-04-23 Thread Tom Rini
On Mon, Apr 23, 2012 at 09:22:22AM -0700, Tom Warren wrote: Stephen, On Fri, Apr 20, 2012 at 2:40 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 04/20/2012 01:50 PM, Tom Warren wrote: This set of boot cmds from Stephen Warren provides a simple default for booting a linux kernel and

Re: [U-Boot] [PATCH] arm: Tegra2: Add a useful default boot env

2012-04-23 Thread Tom Rini
On Mon, Apr 23, 2012 at 10:36:37AM -0600, Stephen Warren wrote: On 04/23/2012 10:22 AM, Tom Warren wrote: [snip] Distros certainly can't customize the U-Boot environment for themselves, since there's no generally applicable way of doing so. That's exactly That is (very recently) no longer

[U-Boot] Please pull u-boot-ti/master

2012-04-23 Thread Tom Rini
Hello, The following changes since commit 5697158fd27c9cc938eb3e3308e3c1483a2a1ef8: Tom Rini (1): include/configs: Remove CONFIG_SYS_64BIT_STRTOUL are available in the git repository at: git://git.denx.de/u-boot-ti master Nikita Kiryanov (1): cm-t35: add I2C multi-bus support

Re: [U-Boot] [PATCH] Add support s3c2440 NAND controller

2012-04-23 Thread Marek Vasut
Dear Ilya Averyanov, please always Cc the mainline list. Also, I'm now s3c2440 person, I have no relationship with this chip at all ... arch/arm/include/asm/arch-s3c24x0/s3c2410.h |4 +- arch/arm/include/asm/arch-s3c24x0/s3c2440.h |4 +- arch/arm/include/asm/arch-s3c24x0/s3c24x0.h |

Re: [U-Boot] Sandbox question

2012-04-23 Thread Matthias Weisser
Am 23.04.2012 17:41, schrieb Mike Frysinger: On Monday 23 April 2012 02:41:08 Wolfgang Denk wrote: =md 0x100 0100:Segmentation fault yes, this is because the code to make this work was reverted because of ppc oddity. i haven't reviewed that yet to see why, but it seems to me

Re: [U-Boot] [PATCH] arm: Tegra2: Add a useful default boot env

2012-04-23 Thread Stephen Warren
On 04/23/2012 11:14 AM, Tom Rini wrote: On Mon, Apr 23, 2012 at 09:22:22AM -0700, Tom Warren wrote: Stephen, On Fri, Apr 20, 2012 at 2:40 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 04/20/2012 01:50 PM, Tom Warren wrote: This set of boot cmds from Stephen Warren provides a simple

Re: [U-Boot] Sandbox question

2012-04-23 Thread Wolfgang Denk
Dear Matthias Weisser, In message 4f959235.1070...@arcor.de you wrote: On Monday 23 April 2012 02:41:08 Wolfgang Denk wrote: =md 0x100 0100:Segmentation fault yes, this is because the code to make this work was reverted because of ppc oddity. i haven't reviewed

Re: [U-Boot] [PATCH] spi: mxs: Allow other chip selects to work

2012-04-23 Thread Mike Frysinger
On Monday 23 April 2012 08:43:12 Fabio Estevam wrote: --- a/drivers/spi/mxs_spi.c +++ b/drivers/spi/mxs_spi.c @@ -56,12 +58,19 @@ struct spi_slave *spi_setup_slave(unsigned int bus, if (bus 3) { printf(MXS SPI: Max bus number is 3\n); return NULL;

Re: [U-Boot] [PATCH] arm: Tegra2: Add a useful default boot env

2012-04-23 Thread Tom Rini
On Mon, Apr 23, 2012 at 11:39:30AM -0600, Stephen Warren wrote: [snip] TomR, is there a reason OMAP3 uses FAT for /boot rather than ext2? Perhaps it's due to the need to load intermediate boot loaders from the filesystem, and that code needs FAT? On Tegra, we jump straight to U-Boot from the

Re: [U-Boot] Sandbox question

2012-04-23 Thread Matthias Weisser
Am 23.04.2012 19:39, schrieb Wolfgang Denk: I suggested another solution: http://patchwork.ozlabs.org/patch/123074/ This has the disadvantage, as discussed in the thread, that the address passed to mmap is not guaranteed to be returned. I don't see why this would be needed. Because you

Re: [U-Boot] Sandbox question

2012-04-23 Thread Simon Glass
Hi Wolfgang, On Tue, Apr 24, 2012 at 3:41 AM, Mike Frysinger vap...@gentoo.org wrote: On Monday 23 April 2012 02:41:08 Wolfgang Denk wrote:       =md 0x100       0100:Segmentation fault yes, this is because the code to make this work was reverted because of ppc oddity.  i haven't

Re: [U-Boot] Sandbox cannot be built without HUSH

2012-04-23 Thread Simon Glass
Hi Wolfgang, On Mon, Apr 23, 2012 at 8:28 PM, Wolfgang Denk w...@denx.de wrote: Dear Simon, disabling HUSH support in sandbox results in this: start.c: In function ‘sandbox_main_loop_init’: start.c:97:3: warning: implicit declaration of function ‘parse_string_outer’

Re: [U-Boot] Sandbox question

2012-04-23 Thread Wolfgang Denk
Dear Matthias, In message 4f959612.7040...@arcor.de you wrote: Because you will have the same address for physical memory in all instances of sandbox u-boot. This could simplify test scripts a bit. Imagine testing tftp downloads to memory where DRAM bank- start is different for every program

[U-Boot] [PATCH v2 2/2] spi: mxs: Allow other chip selects to work

2012-04-23 Thread Fabio Estevam
MXS SSP controller may have up to three chip selects per port: SS0, SS1 and SS2. Currently only SS0 is supported in the mxs_spi driver. Allow all the three chip select to work by selecting the desired one in bits 20 and 21 of the HW_SSP_CTRL0 register. Signed-off-by: Fabio Estevam

[U-Boot] [PATCH v2 1/2] spi: mxs: Introduce spi_cs_is_valid()

2012-04-23 Thread Fabio Estevam
Introduce spi_cs_is_valid() for validating spi bus and chip select numbers. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Changes since v1: - Newly introduced in v2 drivers/spi/mxs_spi.c | 13 +++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] Sandbox question

2012-04-23 Thread Wolfgang Denk
Dear Simon, In message capnjgz1av723lzf1vnmoarix6dnxfho-962y8wqij5-g462...@mail.gmail.com you wrote: I did try to start a discussion on the list about how to deal with this. One idea was to add a translation function in the md command (and potentially then in other code) that converts an

Re: [U-Boot] [STATUS] v2012.04 released, Merge Window is OPEN

2012-04-23 Thread Dirk Behme
On 23.04.2012 17:45, Stephen Warren wrote: On 04/21/2012 02:51 PM, Wolfgang Denk wrote: Hello all, U-Boot v2012.04 has been released and is available from the git repository and the FTP server. The following didn't get merged: http://lists.denx.de/pipermail/u-boot/2012-April/122781.html

Re: [U-Boot] Sandbox question

2012-04-23 Thread Mike Frysinger
On Monday 23 April 2012 14:39:59 Wolfgang Denk wrote: Simon wrote: I did try to start a discussion on the list about how to deal with this. One idea was to add a translation function in the md command (and potentially then in other code) that converts an effective address as seen by

Re: [U-Boot] Sandbox question

2012-04-23 Thread Mike Frysinger
On Monday 23 April 2012 14:39:59 Wolfgang Denk wrote: Simon wrote: currently as designed -- this is how the hardware works after all. it keeps polling stdin forever and there is no concept of EOF in a serial port. the reads are also non-blocking, so i'm not sure it's possible to

Re: [U-Boot] 'run' no longer aborts on an error, can someone please verify

2012-04-23 Thread Simon Glass
Hi Wolfgang, On Mon, Apr 23, 2012 at 11:16 PM, Wolfgang Denk w...@denx.de wrote: Dear Simon, In message capnjgz2vkx3tp6wmswixeys1q3xm+6wjoiyxwc23jpfim_0...@mail.gmail.com you wrote: Thanks for the detailed information. This might be the problem Wolfgang mentioned at the time...will take

Re: [U-Boot] Sandbox question

2012-04-23 Thread Wolfgang Denk
Dear Mike Frysinger, In message 201204231503.08835.vap...@gentoo.org you wrote: I don't see why we cannot simply read from stdin (or rathr from file descriptor 0) as usual? the usual method of reading from stdin involves the tty doing buffering and the application only seeing fully

Re: [U-Boot] [PATCH] Fix the behaviour of the 'run' command

2012-04-23 Thread Simon Glass
Hi Timo, On Mon, Apr 23, 2012 at 9:57 PM, Timo Ketola t...@exertus.fi wrote: If one command fails, 'run' command should terminate and not execute any remaining variables. Signed-off-by: Timo Ketola t...@exertus.fi Tested on sandbox after a bit of investigation. Tested-by: Simon Glass

Re: [U-Boot] [PATCH] Fix the behaviour of the 'run' command

2012-04-23 Thread Wolfgang Denk
Dear Timo Ketola, In message 1335175047-30984-1-git-send-email-t...@exertus.fi you wrote: If one command fails, 'run' command should terminate and not execute any remaining variables. Signed-off-by: Timo Ketola t...@exertus.fi --- This is based on u-boot-imx.git next. I hope that doesn't

Re: [U-Boot] [STATUS] v2012.04 released, Merge Window is OPEN

2012-04-23 Thread Wolfgang Denk
Dear Stephen Warren, In message 4f957907.4070...@wwwdotorg.org you wrote: U-Boot v2012.04 has been released and is available from the git repository and the FTP server. The following didn't get merged: http://lists.denx.de/pipermail/u-boot/2012-April/122781.html which means nobody

Re: [U-Boot] [PATCH V2 1/2] arm: fix bootm with device tree

2012-04-23 Thread Wolfgang Denk
Dear Stephen Warren, In message 1334871241-11932-1-git-send-email-swar...@wwwdotorg.org you wrote: From: Stephen Warren swar...@nvidia.com Commit 0a672d4 arm: Add Prep subcommand support to bootm re-organized do_bootm_linux() for ARM. During the re-organization, the code to pass the device

Re: [U-Boot] 'run' no longer aborts on an error, can someone please verify

2012-04-23 Thread Simon Glass
Hi Wolfgang, On Mon, Apr 23, 2012 at 11:16 PM, Wolfgang Denk w...@denx.de wrote: Dear Simon, In message capnjgz2vkx3tp6wmswixeys1q3xm+6wjoiyxwc23jpfim_0...@mail.gmail.com you wrote: Thanks for the detailed information. This might be the problem Wolfgang mentioned at the time...will take

Re: [U-Boot] [STATUS] v2012.04 released, Merge Window is OPEN

2012-04-23 Thread Stephen Warren
On 04/23/2012 02:08 PM, Wolfgang Denk wrote: Dear Stephen Warren, In message 4f957907.4070...@wwwdotorg.org you wrote: U-Boot v2012.04 has been released and is available from the git repository and the FTP server. The following didn't get merged:

[U-Boot] [STATUS] v2012.04.1 bug fix release

2012-04-23 Thread Wolfgang Denk
Hi all, it seems that at least two critical commits have not been included in the v2012.04 release. To fix the serious bugs caused by this I want to push out a v2012.04.1 maintenance release as soon as possible. For now I have included the following commits: commit

Re: [U-Boot] [STATUS] v2012.04 released, Merge Window is OPEN

2012-04-23 Thread Tom Rini
On Mon, Apr 23, 2012 at 10:08:35PM +0200, Wolfgang Denk wrote: Dear Stephen Warren, In message 4f957907.4070...@wwwdotorg.org you wrote: U-Boot v2012.04 has been released and is available from the git repository and the FTP server. The following didn't get merged:

Re: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

2012-04-23 Thread Wolfgang Denk
Dear Ilya Averyanov, In message CABi8O6aBPyYFPbzJETJFyx4fL4y1EHYpWJx8Ew4Ki-AHpLA=m...@mail.gmail.com you wrote: Why do you insist on sdram initialization code in C? If you simply do as done in the other boards on this architecture? We want to simplify code by usiing the same approach

Re: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

2012-04-23 Thread Wolfgang Denk
Dear Vasily Khoruzhick, In message CA+E=qVdyJB3R8vwwFmZsU-0Yh1ah+ZyherrHnN3jx=xTY=t...@mail.gmail.com you wrote: Btw, using cache for stack looks like awful hack to me. No, why? Cache is pretty fast RAM, so why not use it as such? Hey, there are people who boot the whole Linux system

Re: [U-Boot] [PATCH v3] Add support for MINI2440 (s3c2440). Documentation about the product can be found on: http://www.friendlyarm.net/products/mini2440

2012-04-23 Thread Wolfgang Denk
Dear Vasily Khoruzhick, In message CA+E=qvexe0wutn4nb6k-zah7uqvf4j0umd33+gxkqb3ypvt...@mail.gmail.com you wrote: Doing SDRAM init very early (even in assembly code) is obvious and simple. Just few simple writes into RAM controller registers. This is a misconception. Experience on this very

Re: [U-Boot] [PATCH 2/2 v4] Add support for MINI2440 (s3c2440).

2012-04-23 Thread Wolfgang Denk
Dear Gabriel Huau, In message 1335083622-8284-3-git-send-email-cont...@huau-gabriel.fr you wrote: --- Please add some explanations what MINI2440 is, where to find documentation, etc. board/friendlyarm/mini2440/Makefile | 44 +++ board/friendlyarm/mini2440/mini2440.c | 121

Re: [U-Boot] [PATCH v3 3/4] sandbox: Use the new run_command()

2012-04-23 Thread Wolfgang Denk
Dear Simon Glass, In message 1333179058-19598-3-git-send-email-...@chromium.org you wrote: Now that run_command() handles both parsers, clean up sandbox to use it. This fixes a build error. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Add new patch to clean up

Re: [U-Boot] Sandbox question

2012-04-23 Thread Mike Frysinger
On Monday 23 April 2012 15:33:42 Wolfgang Denk wrote: Mike Frysinger wrote: I don't see why we cannot simply read from stdin (or rathr from file descriptor 0) as usual? the usual method of reading from stdin involves the tty doing buffering and the application only seeing fully

Re: [U-Boot] [PATCH v4 05/10] tegra: Add keyboard support to funcmux

2012-04-23 Thread Stephen Warren
On 04/17/2012 01:01 PM, Simon Glass wrote: Add funcmux support for the default keyboard mapping. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Stephen Warren swar...@wwwdotorg.org ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] kwboot: Boot Marvell Kirkwood SoCs over a serial link.

2012-04-23 Thread Wolfgang Denk
Dear Daniel Stodden, In message 1335075976.10449.13.camel@ramone you wrote: I wrote a utility to boot Marvell SoCs over serial. If that sounds generally useful, would you be so kind to merge Please see http://www.denx.de/wiki/U-Boot/Patches and post proper patch(es). Thanks. Best

Re: [U-Boot] [PATCH v4 06/10] tegra: fdt: Add keyboard controller definition

2012-04-23 Thread Stephen Warren
On 04/17/2012 01:01 PM, Simon Glass wrote: From: Anton Staff robot...@chromium.org The Tegra keyboard controller provides a simple interface to a matrix keyboard. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Stephen Warren swar...@wwwdotorg.org

  1   2   >