[U-Boot] [PATCH 0/3] i2c for R-mobile

2012-09-11 Thread Tetsuyuki Kobayashi
Hi, Iwamatsu-san I managed to work i2c on KZM-A9-GT board. Now i2c md and i2c mw for i2c channel 0 work properly. I think this modification is common for R-mobile, but I have SH73A0 document only. Iwamatu-san, plese review this. This patch set is based on arm/rmobile branch of u-boot-sh.git.

[U-Boot] [PATCH 2/3] i2c: sh_i2c.c: correct BUSY bit define in ICSR

2012-09-11 Thread Tetsuyuki Kobayashi
Correct BUSY bit define in ICSR from (13) to (14). Signed-off-by: Tetsuyuki Kobayashi k...@kmckk.co.jp --- Iwamatsu-san, I guess this was mistake. But I don't have technical document other than SH73A0. Could you verify? drivers/i2c/sh_i2c.c |2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH 3/3] i2c: sh_i2c.c: adjust for SH73A0

2012-09-11 Thread Tetsuyuki Kobayashi
Adjust i2c_raw_read() in sh_i2c.c to work for SH73A0. After this patch, i2c md and i2c mw command on U-Boot work properly on KZM-A9-GT board. Signed-off-by: Tetsuyuki Kobayashi k...@kmckk.co.jp --- drivers/i2c/sh_i2c.c|4 include/configs/kzm9g.h |2 +- 2 files changed, 5

[U-Boot] [PATCH 1/3] i2c: sh_i2c.c: support iccl and icch extension

2012-09-11 Thread Tetsuyuki Kobayashi
R-mobile SoC (at least SH73A0) has extension bits to store 8th bit of iccl and icch. This patch add support for the extentin bits. Signed-off-by: Tetsuyuki Kobayashi k...@kmckk.co.jp --- drivers/i2c/sh_i2c.c | 32 1 file changed, 24 insertions(+), 8

Re: [U-Boot] [PATCH] NAND: MXS: include common.h first so cache.h is included in correct order

2012-09-11 Thread Marek Vasut
Dear stefano babic, Am 10/09/2012 22:20, schrieb Tom Warren: Marek/Simon, Hi Tom, -Original Message- From: Marek Vasut [mailto:ma...@denx.de] Sent: Monday, September 10, 2012 9:19 AM To: Tom Warren; s...@chromium.org Cc: u-boot@lists.denx.de; scottw...@freescale.com; Tom

Re: [U-Boot] [PATCHv2] ARM: Add Altera SOCFPGA Cyclone5

2012-09-11 Thread Marek Vasut
Dear Pavel Machek, Hi! From: Dinh Nguyen dingu...@altera.com Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. Applied on top of trini/WIP/spl-improvements v6 [...] __noreturn attribute to reset_cpu() is still missing, but that's a minor thing. Plus,

Re: [U-Boot] [Patch] make reset_cpu nonreturn.

2012-09-11 Thread Marek Vasut
Dear Pavel Machek, Hi! From: Dinh Nguyen dingu...@altera.com Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. Applied on top of trini/WIP/spl-improvements v6 [...] __noreturn attribute to reset_cpu() is still missing, but that's a minor thing. Hmm, I

[U-Boot] U-boot support for TMS320C6678 Texas Instruments processor

2012-09-11 Thread Mahendravarman rajarao
Hi All I need to know will the latest u-boot supports TMS320C6678 TI processor? I have seen Linux support is available for the same processor. If u-boot support is not available , is there any method to extract the needed files from linux and apply to u-boot to support the processor Please

[U-Boot] [PATCH] snowball: Clear UART RX FIFO

2012-09-11 Thread Ramesh Chandrasekaran
Without usb-serial cable plugged at this stage, some garbage is seen in UART RX FIFO, which blocks autoboot progress. The fix makes sure to empty the RX FIFO, before we wait for user input to interrupt autoboot. Signed-off-by: Ramesh Chandrasekaran ramesh.chandraseka...@stericsson.com ---

[U-Boot] [Question] [ARM] global data array defined in board.c linkage problem : overlapping with relocation sections

2012-09-11 Thread Sun Eric
Hi all, Recently I tried to bring up a new platform with the latest U-Boot code (the git hash is e66443f). For recording some info before UART becomes functional, I added a circular array in arch/arm/lib/board.c, together with some printf like function which simply write the debug string to the

Re: [U-Boot] [PATCH] NAND: MXS: include common.h first so cache.h is included in correct order

2012-09-11 Thread Stefano Babic
On 11/09/2012 08:52, Marek Vasut wrote: There's some rework of MTD going on in the tegra tree, I'd say let it slide, it won't cause conflict. Ok, that is fine with me ;-) Regards, Stefano -- = DENX Software Engineering

[U-Boot] Nand Flash Programing and Board Bring Up

2012-09-11 Thread Manukumar
Dear All I am facing issue in Nand flash 2Gigabits(i.e 256MB)(MT29F2G08AABWP) Bring up After changing from 32MB(K9F5608U0d). To program nand flash we are using code warrior, here we dont have correct match of nand flash part number for 2Gbits and so we took nand flash part number where flash

Re: [U-Boot] Nand Flash Programing and Board Bring Up

2012-09-11 Thread Marek Vasut
Dear Manukumar, Dear All I am facing issue in Nand flash 2Gigabits(i.e 256MB)(MT29F2G08AABWP) Bring up After changing from 32MB(K9F5608U0d). What board is that? Please never leave these details out, we can't help you otherwise. To program nand flash we are using code warrior, here we

Re: [U-Boot] [PATCH] mx6qsabresd: Add basic support

2012-09-11 Thread Eric Nelson
On 09/10/2012 08:56 PM, Fabio Estevam wrote: Hi Stefano, On Thu, Apr 12, 2012 at 7:52 AM, Stefano Babicsba...@denx.de wrote: This file is identical to imximage.cfg for the mx6qsabrelite board. I can imagine this is derived board. Why cannot we implement it as a variant of the original one ?

Re: [U-Boot] [PATCH] mx6qsabresd: Add basic support

2012-09-11 Thread Otavio Salvador
On Tue, Sep 11, 2012 at 11:43 AM, Eric Nelson eric.nel...@boundarydevices.com wrote: On 09/10/2012 08:56 PM, Fabio Estevam wrote: We also need to add support for a board (our Nitrogen6x) which is a slight variation on Sabre Lite. We have been patching the board/freescale/mx6qsabrelite, and

Re: [U-Boot] [u-boot-release] [PATCH 4/5] powerpc/85xx: Add P5040 processor support

2012-09-11 Thread Kim Phillips
On Mon, 10 Sep 2012 18:30:33 -0500 Tabi Timur-B04825 b04...@freescale.com wrote: Kim Phillips wrote: +struct liodn_id_table sec_liodn_tbl[] = { + SET_SEC_JR_LIODN_ENTRY(0, 129, 130), + SET_SEC_JR_LIODN_ENTRY(1, 131, 132), + SET_SEC_JR_LIODN_ENTRY(2, 133, 134), +

Re: [U-Boot] [u-boot-release] [PATCH 4/5] powerpc/85xx: Add P5040 processor support

2012-09-11 Thread Timur Tabi
Kim Phillips wrote: no, my patch to add the two extra DECOs was rejected because the values chosen were based on those in this patch, which were deemed incorrect by people familiar with LIODN assignment expertise (not me - I've just identified these values equal to those that were identified

[U-Boot] More problems booting an i.MX6 from NOR flash

2012-09-11 Thread Carolyn Smith
Thanks to Dirk for your previous advice. We had a pullup on one of the reserved BOOT_CFG pins that caused problems accessing NOR flash. Now I can put code in the NOR flash. If the code is incorrect in some way (not sure how yet), I end up with a board that I can't get control of with the BDI. I

[U-Boot] [PATCH 2/2] mx6: Add basic support for mx6qsabresd board.

2012-09-11 Thread Fabio Estevam
mx6qsabresd is a board based on mx6q SoC with the following features: - 1GB of DDR3 - 1 USB OTG port - 1 HDMI output port - SPI NOR - LVDS panel - Gigabit Ethernet - Camera Connector - eMMC and SD card slot - Audio Add very basic support for it. Signed-off-by: Fabio Estevam

[U-Boot] [PATCH 1/2] mx6q: Factor out common DDR3 init code

2012-09-11 Thread Fabio Estevam
Factor out common DDR3 initialization code, allowing easier maintainance of such scripts. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- .../arm/imx-common/ddr/mx6q_ddr3.cfg |0 board/freescale/mx6qarm2/imximage.cfg | 173

[U-Boot] [PATCH] mmc: Fix mmc_spi error on cmd-flags field

2012-09-11 Thread Marek Vasut
The recent removal of the cmd-flags field caused error in the debuging code of mmc_spi. Fix this: mmc_spi.c: In function 'mmc_spi_request': mmc_spi.c:179:2: error: 'struct mmc_cmd' has no member named 'flags' Signed-off-by: Marek Vasut ma...@denx.de Cc: Andy Fleming aflem...@freescale.com ---

[U-Boot] [PATCH 2/2] bfin: Fix warning in bfin_mac

2012-09-11 Thread Marek Vasut
The buf variable in bfin_mac.c is not used and produces warning, fix it. bfin_mac.c: In function 'bfin_EMAC_send': bfin_mac.c:125:16: warning: variable 'buf' set but not used [-Wunused-but-set-variable] Signed-off-by: Marek Vasut ma...@denx.de Cc: Mike Frysinger vap...@gentoo.org ---

[U-Boot] [PATCH 1/2] bfin: Disable -fstack-usage

2012-09-11 Thread Marek Vasut
The GCC does not support this on blackfin, disable it. Signed-off-by: Marek Vasut ma...@denx.de Cc: Mike Frysinger vap...@gentoo.org --- config.mk |2 ++ 1 file changed, 2 insertions(+) diff --git a/config.mk b/config.mk index c3822a2..d39355f 100644 --- a/config.mk +++ b/config.mk @@

Re: [U-Boot] More problems booting an i.MX6 from NOR flash

2012-09-11 Thread Dirk Behme
On 11.09.2012 18:32, Carolyn Smith wrote: Thanks to Dirk for your previous advice. We had a pullup on one of the reserved BOOT_CFG pins that caused problems accessing NOR flash. Now I can put code in the NOR flash. If the code is incorrect in some way (not sure how yet), I end up with a board

[U-Boot] using initrd with U-boot on the imx28evk

2012-09-11 Thread Bill
Has anyone used U-boot on the imx28evk with initrd to setup a small rootfs in RAM? I need the ability to do have a small temp rootfs to assist in mounting a full rootfs from a USB for field upgrade purposes. Thanks, Bill ___ U-Boot mailing list

[U-Boot] [PATCH] Quietly ignore DHCP Option 28 (Broadcast Address)

2012-09-11 Thread Brian Rzycki
Some DHCP servers (notably dnsmasq) always transmit DHCP Option 28, Broadcast Address as specified in RFC 2132. Without this patch u-boot displays the warning: *** Unhandled DHCP Option in OFFER/ACK: 28 The patch suppresses the warning and ignores DHCP Option 28. There is no environment

Re: [U-Boot] [PATCH] mx6qsabresd: Add basic support

2012-09-11 Thread stefano babic
Am 11/09/2012 16:43, schrieb Eric Nelson: On 09/10/2012 08:56 PM, Fabio Estevam wrote: Hi Stefano, On Thu, Apr 12, 2012 at 7:52 AM, Stefano Babicsba...@denx.de wrote: This file is identical to imximage.cfg for the mx6qsabrelite board. I can imagine this is derived board. Why cannot we

Re: [U-Boot] [PATCH V2 4/4] cmd_part: add partition-related command

2012-09-11 Thread Stephen Warren
On 09/05/2012 05:58 PM, Tom Rini wrote: On Wed, Sep 05, 2012 at 06:51:58PM -0500, Rob Herring wrote: On 09/05/2012 05:03 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com This implements the following: part uuid mmc 0:1 - print partition UUID part uuid mmc 0:1 uuid -

Re: [U-Boot] A little introduction

2012-09-11 Thread Graeme Russ
Hi Henrik, On Sat, Sep 8, 2012 at 1:24 AM, Henrik Nordström hen...@henriknordstrom.net wrote: A little introduction to let you know who I am and why I am here. Welcome, nice to see you pop up here :) I am maintaining u-boot support for Allwinner A1x class CPUs, and ARM Cortex A8 class SoC by

Re: [U-Boot] [PATCH 2/3] i2c: sh_i2c.c: correct BUSY bit define in ICSR

2012-09-11 Thread Nobuhiro Iwamatsu
Hi, I add Heiko Schocher h...@denx.de to Cc: Heiko is I2C maintainer. On Tue, Sep 11, 2012 at 2:58 PM, Tetsuyuki Kobayashi k...@kmckk.co.jp wrote: Correct BUSY bit define in ICSR from (13) to (14). Signed-off-by: Tetsuyuki Kobayashi k...@kmckk.co.jp --- Iwamatsu-san, I guess this was

Re: [U-Boot] [PATCH 1/3] i2c: sh_i2c.c: support iccl and icch extension

2012-09-11 Thread Nobuhiro Iwamatsu
Hi, I add Heiko Schocher h...@denx.de to Cc: Heiko is I2C maintainer. On Tue, Sep 11, 2012 at 2:58 PM, Tetsuyuki Kobayashi k...@kmckk.co.jp wrote: R-mobile SoC (at least SH73A0) has extension bits to store 8th bit of iccl and icch. This patch add support for the extentin bits.

Re: [U-Boot] [PATCH 3/3] i2c: sh_i2c.c: adjust for SH73A0

2012-09-11 Thread Nobuhiro Iwamatsu
Hi, I add Heiko Schocher h...@denx.de to Cc: Heiko is I2C maintainer. On Tue, Sep 11, 2012 at 2:58 PM, Tetsuyuki Kobayashi k...@kmckk.co.jp wrote: Adjust i2c_raw_read() in sh_i2c.c to work for SH73A0. After this patch, i2c md and i2c mw command on U-Boot work properly on KZM-A9-GT board.

Re: [U-Boot] [PATCH 1/2] mx6q: Factor out common DDR3 init code

2012-09-11 Thread Liu Hui-R64343
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Fabio Estevam Sent: Wednesday, September 12, 2012 2:33 AM To: sba...@denx.de Cc: Estevam Fabio-R49496; u-boot@lists.denx.de Subject: [U-Boot] [PATCH 1/2] mx6q: Factor out common DDR3

Re: [U-Boot] [PATCH 1/2] mx6q: Factor out common DDR3 init code

2012-09-11 Thread Fabio Estevam
On Tue, Sep 11, 2012 at 11:26 PM, Liu Hui-R64343 r64...@freescale.com wrote: -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Fabio Estevam Sent: Wednesday, September 12, 2012 2:33 AM To: sba...@denx.de Cc: Estevam Fabio-R49496;

Re: [U-Boot] [PATCH 1/2] mx6q: Factor out common DDR3 init code

2012-09-11 Thread Fabio Estevam
On Tue, Sep 11, 2012 at 11:42 PM, Liu Hui-R64343 r64...@freescale.com wrote: mtest is not enough, you need run FSL DDR stress test tool. I will be glad to test it, if you port it to U-boot ;-) ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 1/2] bfin: Disable -fstack-usage

2012-09-11 Thread Mike Frysinger
On Tue, Sep 11, 2012 at 3:08 PM, Marek Vasut wrote: The GCC does not support this on blackfin, disable it. err, no, you're probably using gcc-4.5.x which didn't support -fstack-usage. that is not specific to Blackfin as gcc didn't add it until 4.6.x. why doesn't the cc-option check work ?

Re: [U-Boot] [PATCH 2/2] bfin: Fix warning in bfin_mac

2012-09-11 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -mike ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot