Re: [U-Boot] uboot_porting_guide

2013-04-16 Thread Albert ARIBAUD
Hi Carmine, On Mon, 15 Apr 2013 13:16:24 +0200, Carmine Garripoli garripoli.carm...@gmail.com wrote: Hi everybody, I'm an electronics engineering student and i'm very passionated about embedded systems. I would like to design my own totally custom board. Supposing that i've already choosen

[U-Boot] [PATCH v3] powerpc/mpc85xx: set clock-frequency for T4/B4 clockgen node

2013-04-16 Thread Yuantian.Tang
From: Tang Yuantian yuantian.t...@freescale.com For T4/B4, the clockgen node compatible string is updated to version 2.0. Add clock-frequency setting for this new version. Signed-off-by: Tang Yuantian yuantian.t...@freescale.com --- v3: - update the compatible string from *-2 to *-2.0

[U-Boot] [PATCH 4/4 v2] mtd: mxs_nand: Add support for i.MX6

2013-04-16 Thread Stefan Roese
Signed-off-by: Stefan Roese s...@denx.de Acked-by: Scott Wood scottw...@freescale.com Cc: Stefano Babic sba...@denx.de Cc: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com --- v2: - Changed tab to space after #ifdef Scott, is it okay for you if Stefano pulls this patchset

[U-Boot] [PATCH v3] imx: Add titanium board support (i.MX6 based)

2013-04-16 Thread Stefan Roese
Titanium is a i.MX6 based board from ProjectionDesign / Barco. This patch adds support for this board with the newly introduced NAND support for i.MX6. Signed-off-by: Stefan Roese s...@denx.de Cc: Stefano Babic sba...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com --- v3: - Rebased on

Re: [U-Boot] [PATCH v3] imx: Add titanium board support (i.MX6 based)

2013-04-16 Thread Stefano Babic
On 16/04/2013 09:19, Stefan Roese wrote: Titanium is a i.MX6 based board from ProjectionDesign / Barco. This patch adds support for this board with the newly introduced NAND support for i.MX6. Hi Stefan. diff --git a/board/freescale/titanium/imximage.cfg

[U-Boot] [PATCH 1/5][v5] powerpc/mpc85xx:No NOR boot, do not compile IFC errata A003399

2013-04-16 Thread Prabhakar Kushwaha
IFC errata A003399 is valid for IFC NOR boot i.e.if no on-board NOR flash or no NOR boot, do not compile its workaround. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Based upon git://git.denx.de/u-boot.git branch master Changes for v2: - Add

[U-Boot] [PATCH 2/5][v5] powerpc/mpc85xx: new SPL support for IFC NAND

2013-04-16 Thread Prabhakar Kushwaha
Linker script is not able find start.o binary. So add its absolute path in u-boot-spl.lds. This change is similar to u-boot-nand.lds common/Makefile: Avoid compiling unnecssary files fsl_ifc_spl.c : It is is responsible for reading u-boot binary from NAND flash and copying into DDR. It also

[U-Boot] [v5] new SPL support for IFC based Feescale platforms

2013-04-16 Thread Prabhakar Kushwaha
This patch series ports existing Freescale's IFC based platforms/boards to new SPL based architecture. It is done to support NAND boot. It contains following patches: 1. powerpc/mpc85xx:No NOR boot,do not compile IFC errata A003399 2. powerpc/mpc85xx: new SPL support for IFC NAND 3.

[U-Boot] [PATCH 3/5][v5] board/p1010rdb:Add NAND boot support using new SPL format

2013-04-16 Thread Prabhakar Kushwaha
- defines contants - Add spl_minimal.c to initialise DDR - update TLB entries as per NAND boot - remove nand_spl support for P1010RDB Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Based upon git://git.denx.de/u-boot.git branch master Changes for v2: - Define

[U-Boot] [PATCH 4/5][v5] board/bsc9131rdb:Add NAND boot support using new SPL format

2013-04-16 Thread Prabhakar Kushwaha
- Add NAND boot target - defines contants - Add spl_minimal.c to initialise DDR - update TLB entries as per NAND boot Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Based upon git://git.denx.de/u-boot.git branch master Changes for v2: Sending as it is Changes for v3:

[U-Boot] [PATCH 5/5][v5] board/bsc9132qds:Add NAND boot support using new SPL format

2013-04-16 Thread Prabhakar Kushwaha
- Add NAND boot target - defines contants - Add spl_minimal.c to initialise DDR - update TLB, LAW entries as per NAND boot Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Based upon git://git.denx.de/u-boot.git branch master Changes for v2: Sending as it is Changes

Re: [U-Boot] [PATCH V8 4/9] EXYNOS5: DWMMC: Added FDT support for DWMMC

2013-04-16 Thread Amarendra Reddy
Hi Jaehoon, Please find my response below. Thanks Regards Amarendra Reddy On 12 April 2013 16:50, Jaehoon Chung jh80.ch...@samsung.com wrote: On 04/10/2013 03:13 PM, Amarendra Reddy wrote: Hi Jaehoon, Please find my responses below. Thanks Regards Amarendra Reddy On 9 April

[U-Boot] [PATCH] powerpc/85xx: Add P1023RDB board support

2013-04-16 Thread Chunhe Lan
P1023RDB Specification: --- Memory subsystem: 512MB DDR3 (Fixed DDR on board) 64MB NOR flash 128MB NAND flash Ethernet: eTSEC1: Connected to Atheros AR8035 GETH PHY eTSEC2: Connected to Atheros AR8035 GETH PHY PCIe: Three mini-PCIe slots USB: Two USB2.0

Re: [U-Boot] fatwrite problem

2013-04-16 Thread Ruud Commandeur
Hi Everyone, As far as I noticed, set_cluster can be called quite often with a size being zero. That can indeed be with a file that has a size being an exact multiple (including 0) of the clustersize, but also for files that are smaller than the size of one cluster. In that case, the 1st call

[U-Boot] [PATCH] patman: fix gitutil for decorations

2013-04-16 Thread Andreas Bießmann
The git config parameter log.decorate is quite useful when working with git. Patman, however can not handle the decorated output when parsing the commit. To prevent this use the '--no-decorate' switch for git-log. Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com Cc: Tom Rini

[U-Boot] [PATCH v2] patman: fix gitutil for decorations

2013-04-16 Thread Andreas Bießmann
The git config parameter log.decorate is quite useful when working with git. Patman, however can not handle the decorated output when parsing the commit. To prevent this use the '--no-decorate' switch for git-log. Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com --- Changes in v2: *

Re: [U-Boot] [PATCH v2] mx35 iomux: correct offsets of IOMUX registers

2013-04-16 Thread Stefano Babic
On 10/04/2013 00:44, Philip Paeps wrote: This makes mxc_iomux_set_input() work correctly. Previously, the incorrect offset of IOMUXSW_INPUT_CTL caused mxc_iomux_set_input() to write to the wrong register, possibly resulting in unexpected behaviour. Signed-off-by: Philip Paeps

Re: [U-Boot] [PATCH] mx28evk: add trimffs to nand command

2013-04-16 Thread Stefano Babic
On 08/04/2013 20:59, Eric Bénard wrote: this is usefull when writing an UBI image which contains and UBIFS volume (check README.nand and UBI FAQ for more details) Signed-off-by: Eric Bénard e...@eukrea.com --- Applied to u-boot-imx, -next branch, thanks. Best regards, Stefano Babic --

Re: [U-Boot] [PATCH] arm: imx: Change iomux functions to void type

2013-04-16 Thread Stefano Babic
On 11/04/2013 11:06, Stefan Roese wrote: They never return anything also than 0, so lets change the function to void instead. Signed-off-by: Stefan Roese s...@denx.de --- Applied to u-boot-imx, -next branch, thanks. Best regards, Stefano Babic --

[U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Andreas Bießmann
This patch also does some minor coding style cleanups. Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com --- arch/arm/lib/board.c|3 ++- arch/avr32/lib/board.c |3 ++- arch/blackfin/lib/board.c |3 ++- arch/m68k/lib/board.c |3 ++-

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Stefan Roese
Hi Andreas, On 16.04.2013 12:14, Andreas Bießmann wrote: This patch also does some minor coding style cleanups. Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com --- arch/arm/lib/board.c|3 ++- arch/avr32/lib/board.c |3 ++-

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Graeme Russ
Hi Andreas, On Tue, Apr 16, 2013 at 8:14 PM, Andreas Bießmann andreas.de...@googlemail.com wrote: This patch also does some minor coding style cleanups. Coding style cleanups belong in a separate patch - Rules are rules ;) Regards, Graeme ___

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Albert ARIBAUD
Hi Andreas, On Tue, 16 Apr 2013 12:14:09 +0200, Andreas Bießmann andreas.de...@googlemail.com wrote: This patch also does some minor coding style cleanups. Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com --- arch/arm/lib/board.c|3 ++-

Re: [U-Boot] [PATCH] powerpc/85xx: Add P1023RDB board support

2013-04-16 Thread Timur Tabi
On Tue, Apr 16, 2013 at 4:00 AM, Chunhe Lan chunhe@freescale.com wrote: +#define CONFIG_SYS_BAUDRATE_TABLE \ + {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 115200} It's amazing that Freescale is still producing board files that are missing 57,600 baud.

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Andreas Bießmann
Hi Albert, On 04/16/2013 01:36 PM, Albert ARIBAUD wrote: Hi Andreas, On Tue, 16 Apr 2013 12:14:09 +0200, Andreas Bießmann andreas.de...@googlemail.com wrote: This patch also does some minor coding style cleanups. Signed-off-by: Andreas Bießmann andreas.de...@googlemail.com ---

Re: [U-Boot] [PATCH v3] imx: Add titanium board support (i.MX6 based)

2013-04-16 Thread Stefan Roese
Hi Stefano, thanks for your review. I'll adress your comments in v4. Thanks, Stefan On 16.04.2013 09:50, Stefano Babic wrote: On 16/04/2013 09:19, Stefan Roese wrote: Titanium is a i.MX6 based board from ProjectionDesign / Barco. This patch adds support for this board with the newly

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Wolfgang Denk
Dear Andreas Bießmann, In message 516d39cf.9020...@gmail.com you wrote: Apart from Stefan's comments: considered standalone, doesn't this patch have zero effect? I suspect you intend to use this in a later patch, and if so, I would suggest grouping these in a series so that the

Re: [U-Boot] [PATCH] powerpc/85xx: Add P1023RDB board support

2013-04-16 Thread Tom Rini
On Tue, Apr 16, 2013 at 06:35:13AM -0500, Timur Tabi wrote: On Tue, Apr 16, 2013 at 4:00 AM, Chunhe Lan chunhe@freescale.com wrote: +#define CONFIG_SYS_BAUDRATE_TABLE \ + {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 115200} It's amazing that Freescale is still

[U-Boot] [PATCH v4] imx: Add titanium board support (i.MX6 based)

2013-04-16 Thread Stefan Roese
Titanium is a i.MX6 based board from ProjectionDesign / Barco. This patch adds support for this board with the newly introduced NAND support for i.MX6. Signed-off-by: Stefan Roese s...@denx.de Cc: Stefano Babic sba...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com --- v4: - Use register

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Andreas Bießmann
Dear Wolfgang Denk, On 04/16/2013 02:22 PM, Wolfgang Denk wrote: Dear Andreas Bießmann, In message 516d39cf.9020...@gmail.com you wrote: Apart from Stefan's comments: considered standalone, doesn't this patch have zero effect? I suspect you intend to use this in a later patch, and if so,

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Wolfgang Denk
Dear Andreas, In message 516d4b00.9030...@gmail.com you wrote: So it is dead code in mainline, and we will not add it. Well, I don't think it is dead code cause the hang() is called in some ways. This patch opens just the possibility to specialize the hang() by for example a specific

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Andreas Bießmann
Dear Wolfgang, On 04/16/2013 03:05 PM, Wolfgang Denk wrote: Dear Andreas, In message 516d4b00.9030...@gmail.com you wrote: So it is dead code in mainline, and we will not add it. Well, I don't think it is dead code cause the hang() is called in some ways. This patch opens just the

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Graeme Russ
Hi Andreas, On Tue, Apr 16, 2013 at 11:32 PM, Andreas Bießmann andreas.de...@googlemail.com wrote: Dear Wolfgang, On 04/16/2013 03:05 PM, Wolfgang Denk wrote: Dear Andreas, In message 516d4b00.9030...@gmail.com you wrote: So it is dead code in mainline, and we will not add it.

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Andreas Bießmann
Hi Graeme, On 04/16/2013 03:35 PM, Graeme Russ wrote: Hi Andreas, On Tue, Apr 16, 2013 at 11:32 PM, Andreas Bießmann andreas.de...@googlemail.com mailto:andreas.de...@googlemail.com wrote: Dear Wolfgang, On 04/16/2013 03:05 PM, Wolfgang Denk wrote: Dear Andreas, In message

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Wolfgang Denk
Dear Andreas, In message 516d52ee.1040...@gmail.com you wrote: Yes it is independent (or should at least). But there are still slightly different versions: Yes, I know :-( ---8--- arch/powerpc/lib/board.c:void __hang(void) arch/powerpc/lib/board.c-{ arch/powerpc/lib/board.c-

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Graeme Russ
Hi Andreas, On Wed, Apr 17, 2013 at 12:15 AM, Andreas Bießmann andreas.de...@googlemail.com wrote: Hi Graeme, On 04/16/2013 03:35 PM, Graeme Russ wrote: Hi Andreas, On Tue, Apr 16, 2013 at 11:32 PM, Andreas Bießmann andreas.de...@googlemail.com mailto:andreas.de...@googlemail.com

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Wolfgang Denk
Dear Andreas, In message 516d5d0a.20...@gmail.com you wrote: In my opinion it makes sense to panic(). In my special case I also need to hang() when panic(). The next question is then how to visualize the (end-)user of that device that we hang(). The intention behind hang() is to stop doing

Re: [U-Boot] [PATCH] powerpc/85xx: Add P1023RDB board support

2013-04-16 Thread Sinan Akman
Chunhe Lan wrote: P1023RDB Specification: --- Memory subsystem: 512MB DDR3 (Fixed DDR on board) 64MB NOR flash 128MB NAND flash Chunhe, what is the orderable part number of this board, I don't see anything on the FSL web page with the description above.

[U-Boot] [PATCH] Add NanoBone board support

2013-04-16 Thread Mark Jackson
NanoBone Specification: --- Memory: 256MB DDR3 64MB NOR flash 256MB NAND flash 128KB FRAM Ethernet: 2 x 10/100 connected to SMSC LAN8710 PHY USB: 1 x USB2.0 Type A I2C: 2Kbit EEPROM (Microchip 24AA02) RTC (Maxim DS1338) GPIO Expander (Microchip MCP23017)

Re: [U-Boot] [PATCH] ARM: mx6: define CONFIG_ARM_ERRATA_742230

2013-04-16 Thread Stefano Babic
On 16/04/2013 16:58, Shawn Guo wrote: The ARM errata 742230 - ARM errata: DMB operation may be faulty is claimed for Cortex-A9 (r1p0..r2p2). Though i.MX6 uses a newer revision than r2p2, we are seeing a reboot failure on i.MX6 SMP build that can be fixed by applying the workaround for this

[U-Boot] [PATCH] ARM: mx6: define CONFIG_ARM_ERRATA_742230

2013-04-16 Thread Shawn Guo
The ARM errata 742230 - ARM errata: DMB operation may be faulty is claimed for Cortex-A9 (r1p0..r2p2). Though i.MX6 uses a newer revision than r2p2, we are seeing a reboot failure on i.MX6 SMP build that can be fixed by applying the workaround for this errata. So for safety, let's define

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Andreas Bießmann
Dear Wolfgang, On 04/16/2013 04:23 PM, Wolfgang Denk wrote: Dear Andreas, In message 516d5d0a.20...@gmail.com you wrote: In my opinion it makes sense to panic(). In my special case I also need to hang() when panic(). The next question is then how to visualize the (end-)user of that device

[U-Boot] Bug in fdt_fixup_fman_firmware

2013-04-16 Thread Николай Пузанов
Hello! In my opinion I found a bug in the function 'fdt_fixup_fman_firmware' (arch/powerpc/cpu/mpc85xx/fdt.c): on line 495 function 'simple_strtul' takes an hex number without the prefix '0x' and considers it a decimal. Here are two variants for correcting this bug, but I do not know what will be

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Wolfgang Denk
Dear Andreas, In message 516d62e1.7090...@gmail.com you wrote: But how about other places in u-boot hang()ing the device? How can we tell the user that state without a terminal? If one plugs a uart cable he might see some cause of the hang() but this is not acceptable for some groups of

Re: [U-Boot] [PATCH] ARM: mx6: define CONFIG_ARM_ERRATA_742230

2013-04-16 Thread Shawn Guo
On Tue, Apr 16, 2013 at 05:05:30PM +0200, Stefano Babic wrote: This is a fix, but the release is coming (end of the week). What do you think if I push this to -next ? No pressure on this, so -next is fine. Thanks, Stefano. Shawn ___ U-Boot mailing

[U-Boot] [PATCH v4] add support for the palm treo 680 board

2013-04-16 Thread Mike Dunn
A quick overview of u-boot implementation on the treo 680... The treo 680 has a Diskonchip G4 nand flash chip. This device has a 2k region that maps to the system bus at the reset vector in a NOR-like fashion so that it can be used as the boot device. The phone is shipped with this 2k region

Re: [U-Boot] [PATCH] Add NanoBone board support

2013-04-16 Thread Tom Rini
On Tue, Apr 16, 2013 at 04:02:34PM +0100, Mark Jackson wrote: [snip] +static struct emif_regs ddr3_emif_reg_data = { + .sdram_config = MT41J128MJT125_EMIF_SDCFG, + .ref_ctrl = MT41J128MJT125_EMIF_SDREF, + .sdram_tim1 = MT41J128MJT125_EMIF_TIM1, + .sdram_tim2 =

Re: [U-Boot] [PATCH v2] patman: fix gitutil for decorations

2013-04-16 Thread Simon Glass
On Tue, Apr 16, 2013 at 2:52 AM, Andreas Bießmann andreas.de...@googlemail.com wrote: The git config parameter log.decorate is quite useful when working with git. Patman, however can not handle the decorated output when parsing the commit. To prevent this use the '--no-decorate' switch for

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Andreas Bießmann
Dear Wolfgang, On 04/16/2013 05:14 PM, Wolfgang Denk wrote: Dear Andreas, In message 516d62e1.7090...@gmail.com you wrote: But how about other places in u-boot hang()ing the device? How can we tell the user that state without a terminal? If one plugs a uart cable he might see some cause

Re: [U-Boot] Bug in fdt_fixup_fman_firmware

2013-04-16 Thread Wolfgang Denk
Dear Николай Пузанов, In message cakj6i9ipzbmugxmyfghsquaoy3yz6pntd6ijxgpk-1ps3ok...@mail.gmail.com you wrote: In my opinion I found a bug in the function 'fdt_fixup_fman_firmware' (arch/powerpc/cpu/mpc85xx/fdt.c): on line 495 function 'simple_strtul' takes an hex number without the prefix

Re: [U-Boot] Pull request: u-boot-arm/master

2013-04-16 Thread Tom Rini
On Mon, Apr 15, 2013 at 09:36:37PM +0200, Albert ARIBAUD wrote: Hi Tom, The following changes since commit 8960af8ba9488fc54e2e4733cbada26d3cece225: cosmetic: fix CONFIG_SPL_BSS_MAX_SIZE typo in README (2013-04-14 17:04:43 +0200) are available in the git repository at:

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Wolfgang Denk
Dear Andreas, In message 516d6f71.8090...@gmail.com you wrote: You say (or at least I understand you so), that I have to hack all these places with some application specific stuff to inform the user of the device that we will stop processing now. Why don't we add an interface to easily

Re: [U-Boot] [PATCH] make hang() a weak function

2013-04-16 Thread Andreas Bießmann
Dear Wolfgang, On 16.04.13 18:00, Wolfgang Denk wrote: Dear Andreas, In message 516d6f71.8090...@gmail.com you wrote: Also, as done in arch/powerpc/lib/board.c we usually print an error message on the console device, and we can call bootstage_error(), which could initialte such actions.

Re: [U-Boot] [PATCH 1/5][v4] powerpc/mpc85xx:No NOR boot, do not compile IFC errata A003399

2013-04-16 Thread Scott Wood
On 04/15/2013 11:19:55 PM, Prabhakar Kushwaha wrote: On 04/16/2013 03:11 AM, Scott Wood wrote: On 04/15/2013 05:12:48 AM, Prabhakar Kushwaha wrote: diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init_early.c b/arch/powerpc/cpu/mpc85xx/cpu_init_early.c index dacfdd1..439a873 100644 ---

Re: [U-Boot] pull request for u-boot-tegra/master into ARM/master

2013-04-16 Thread Albert ARIBAUD
Hi Tom, On Mon, 15 Apr 2013 16:28:20 -0700, Tom Warren twarren.nvi...@gmail.com wrote: Albert, Please pull u-boot-tegra/master into ARM/master. Thanks! ./MAKEALL for all the Tegra boards is OK, running a ./MAKEALL -a arm now. tools/checkpatch.pl is clean. The following changes since

Re: [U-Boot] [PATCH v3 8/8] palmtreo680: add utility that writes u-boot to flash

2013-04-16 Thread Mike Dunn
Thanks again Marek. A question below... On 04/14/2013 10:38 AM, Marek Vasut wrote: [...] + +if (argc != 3) { +printf(usage: %s image file mtd dev node\n, argv[0]); +exit(-1); Use proper errno and return as you're returning from main() anyway. Agreed

Re: [U-Boot] [PATCH v3 8/8] palmtreo680: add utility that writes u-boot to flash

2013-04-16 Thread Marek Vasut
Dear Mike Dunn, Thanks again Marek. A question below... On 04/14/2013 10:38 AM, Marek Vasut wrote: [...] + + if (argc != 3) { + printf(usage: %s image file mtd dev node\n, argv[0]); + exit(-1); Use proper errno and return as you're returning from

Re: [U-Boot] [PATCH] Add NanoBone board support

2013-04-16 Thread Mark Jackson
On 16/04/13 16:48, Tom Rini wrote: On Tue, Apr 16, 2013 at 04:02:34PM +0100, Mark Jackson wrote: [snip] +static struct emif_regs ddr3_emif_reg_data = { + .sdram_config = MT41J128MJT125_EMIF_SDCFG, + .ref_ctrl = MT41J128MJT125_EMIF_SDREF, + .sdram_tim1 =

[U-Boot] Please pull u-boot-x86.git

2013-04-16 Thread Simon Glass
Hi Tom, [sorry, take 2] Unfortunately I found some problems in x86 that I had not picked up on earlier. The following changes since commit cba6494f24d711ba63afb22b1ee691a41fee121c: Prepare v2013.04-rc3 (2013-04-15 11:47:10 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH] Add NanoBone board support

2013-04-16 Thread Tom Rini
On Tue, Apr 16, 2013 at 08:14:13PM +0100, Mark Jackson wrote: On 16/04/13 16:48, Tom Rini wrote: On Tue, Apr 16, 2013 at 04:02:34PM +0100, Mark Jackson wrote: [snip] +static int do_switch_ecc(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[]) Why are we bringing this in?

Re: [U-Boot] [PATCH] Add NanoBone board support

2013-04-16 Thread Mark Jackson
On 16/04/13 20:14, Mark Jackson wrote: On 16/04/13 16:48, Tom Rini wrote: On Tue, Apr 16, 2013 at 04:02:34PM +0100, Mark Jackson wrote: snip +#defineCONFIG_SYS_NAND_ECCTOTAL(CONFIG_SYS_NAND_ECCBYTES * \ +CONFIG_SYS_NAND_ECCSTEPS) + +#define

Re: [U-Boot] [PATCH] Add NanoBone board support

2013-04-16 Thread Tom Rini
On Tue, Apr 16, 2013 at 08:25:17PM +0100, Mark Jackson wrote: On 16/04/13 20:14, Mark Jackson wrote: On 16/04/13 16:48, Tom Rini wrote: On Tue, Apr 16, 2013 at 04:02:34PM +0100, Mark Jackson wrote: snip +#defineCONFIG_SYS_NAND_ECCTOTAL(CONFIG_SYS_NAND_ECCBYTES * \ +

Re: [U-Boot] [PATCH] Add NanoBone board support

2013-04-16 Thread Mark Jackson
On 16/04/13 20:27, Tom Rini wrote: On Tue, Apr 16, 2013 at 08:25:17PM +0100, Mark Jackson wrote: On 16/04/13 20:14, Mark Jackson wrote: On 16/04/13 16:48, Tom Rini wrote: On Tue, Apr 16, 2013 at 04:02:34PM +0100, Mark Jackson wrote: snip +#defineCONFIG_SYS_NAND_ECCTOTAL

Re: [U-Boot] Please pull u-boot-x86.git

2013-04-16 Thread Tom Rini
On Tue, Apr 16, 2013 at 12:15:36PM -0700, Simon Glass wrote: Vladimir '?-coder/phcoder' Serbinenko (1): x86: Fix wrong 4G filtering Two problems. First, this is missing a signed-off-by line. Second, nicnames in the author field are frowned upon to not allowed here. Thanks! -- Tom

Re: [U-Boot] pull request for u-boot-tegra/master into ARM/master

2013-04-16 Thread Stephen Warren
On 04/16/2013 11:17 AM, Albert ARIBAUD wrote: Hi Tom, On Mon, 15 Apr 2013 16:28:20 -0700, Tom Warren twarren.nvi...@gmail.com wrote: Albert, Please pull u-boot-tegra/master into ARM/master. Thanks! ./MAKEALL for all the Tegra boards is OK, running a ./MAKEALL -a arm now.

Re: [U-Boot] pull request for u-boot-tegra/master into ARM/master

2013-04-16 Thread Tom Warren
Thanks, Stephen. -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Tuesday, April 16, 2013 12:56 PM To: Albert ARIBAUD Cc: Tom Warren; m...@theia.denx.de; Jimmy Zhang; u-boot@lists.denx.de; Tom Warren; Tom Rini; Stephen Warren Subject: Re: [U-Boot] pull

Re: [U-Boot] [PATCH] Fix wrong 4G filtering

2013-04-16 Thread Simon Glass
+Tom Hi Vladimir, On Mon, Apr 15, 2013 at 4:51 PM, Simon Glass s...@chromium.org wrote: On Sun, Apr 7, 2013 at 8:33 AM, Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com wrote: Filtering of 4G chunks is wrong and one of such chunks can be improperly declared as usable ram top after

Re: [U-Boot] Please pull u-boot-x86.git

2013-04-16 Thread Simon Glass
Hi Tom, [Trying again with the offending patch removed for now] The following changes since commit cba6494f24d711ba63afb22b1ee691a41fee121c: Prepare v2013.04-rc3 (2013-04-15 11:47:10 -0400) are available in the git repository at: git://git.denx.de/u-boot-x86.git master for you to fetch

[U-Boot] [PATCH v4] palmtreo680: add utility that writes u-boot to flash

2013-04-16 Thread Mike Dunn
This adds a userspace linux utility that writes the u-boot image to an mtd partition on the docg4 nand flash. A special utility is required to do this because u-boot is partially loaded by an initial program loader (IPL) that is permanently programmed to the boot region of the flash. This IPL

Re: [U-Boot] Please pull u-boot-x86.git

2013-04-16 Thread Tom Rini
On Tue, Apr 16, 2013 at 01:07:33PM -0700, Simon Glass wrote: Hi Tom, [Trying again with the offending patch removed for now] The following changes since commit cba6494f24d711ba63afb22b1ee691a41fee121c: Prepare v2013.04-rc3 (2013-04-15 11:47:10 -0400) are available in the git

[U-Boot] [PATCH] beagleboard: Update comment in get_board_rev()

2013-04-16 Thread Tom Rini
We are able to tell the difference between xM Rev Ax/Bx and xM Rev Cx, and have been for some time. The comment above the function however did not list this, so update. Signed-off-by: Tom Rini tr...@ti.com --- board/ti/beagle/beagle.c |5 +++-- 1 file changed, 3 insertions(+), 2

Re: [U-Boot] [PATCH v4 7/7] cros: enable cros-ec for smdk5250

2013-04-16 Thread Simon Glass
Hi Minkyu, On Thu, Apr 4, 2013 at 1:17 PM, Simon Glass s...@chromium.org wrote: On Tue, Apr 2, 2013 at 3:01 AM, Hung-ying Tyan ty...@chromium.org wrote: This patch initiates cros-ec in board_init() to enable it for smdk5250. Signed-off-by: Simon Glass s...@chromium.org Signed-off-by:

Re: [U-Boot] pull request for u-boot-tegra/master into ARM/master

2013-04-16 Thread Albert ARIBAUD
Hi Tom, On Mon, 15 Apr 2013 16:28:20 -0700, Tom Warren twarren.nvi...@gmail.com wrote: Albert, Please pull u-boot-tegra/master into ARM/master. Thanks! ./MAKEALL for all the Tegra boards is OK, running a ./MAKEALL -a arm now. tools/checkpatch.pl is clean. The following changes since

Re: [U-Boot] [PATCH] crc32: Correct endianness of crc32 result

2013-04-16 Thread Simon Glass
Hi Wolfgang, On Sat, Apr 6, 2013 at 12:04 AM, Wolfgang Denk w...@denx.de wrote: Dear Simon Glass, In message 1365203470-9099-1-git-send-email-...@chromium.org you wrote: When crc32 is handled by the hash library, it requires the data to be in big-endian format, since it reads it byte-wise.

Re: [U-Boot] [PATCH v2] patman: fix gitutil for decorations

2013-04-16 Thread Simon Glass
+Tom On Tue, Apr 16, 2013 at 8:48 AM, Simon Glass s...@chromium.org wrote: On Tue, Apr 16, 2013 at 2:52 AM, Andreas Bießmann andreas.de...@googlemail.com wrote: The git config parameter log.decorate is quite useful when working with git. Patman, however can not handle the decorated output

Re: [U-Boot] [PATCH] crc32: Correct endianness of crc32 result

2013-04-16 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/16/2013 05:57 PM, Simon Glass wrote: Hi Wolfgang, On Sat, Apr 6, 2013 at 12:04 AM, Wolfgang Denk w...@denx.de wrote: Dear Simon Glass, In message 1365203470-9099-1-git-send-email-...@chromium.org you wrote: When crc32 is handled by the

Re: [U-Boot] [PATCH] crc32: Correct endianness of crc32 result

2013-04-16 Thread Simon Glass
Hi Tom, On Tue, Apr 16, 2013 at 4:00 PM, Tom Rini tr...@ti.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/16/2013 05:57 PM, Simon Glass wrote: Hi Wolfgang, On Sat, Apr 6, 2013 at 12:04 AM, Wolfgang Denk w...@denx.de wrote: Dear Simon Glass, In message

Re: [U-Boot] [PATCH] powerpc/85xx: Add P1023RDB board support

2013-04-16 Thread Scott Wood
On 04/16/2013 04:00:46 AM, Chunhe Lan wrote: +struct fsl_e_tlb_entry tlb_table[] = { + /* TLB 0 - for temp stack in cache */ + SET_TLB_ENTRY(0, CONFIG_SYS_INIT_RAM_ADDR, CONFIG_SYS_INIT_RAM_ADDR, + MAS3_SX|MAS3_SW|MAS3_SR, 0, + 0, 0,

[U-Boot] [PATCH] Allow U-Boot scripts to be placed in a .env file

2013-04-16 Thread Simon Glass
At present U-Boot environment variables, and thus scripts, are defined by CONFIG_EXTRA_ENV_SETTINGS. It is painful to add large amounts of text to this file and dealing with quoting and newlines is harder than it should be. It would be better if we could just type the script into a text file and

Re: [U-Boot] [PATCH] Exynos5: Add support for USB download boot mode

2013-04-16 Thread Minkyu Kang
On 15/04/13 14:36, Vivek Gautam wrote: Hi, On Sat, Apr 13, 2013 at 7:50 PM, Simon Glass s...@chromium.org wrote: Hi, On Tue, Feb 5, 2013 at 9:04 PM, Vivek Gautam gautamvivek1...@gmail.com wrote: Hi Simon, On Tue, Feb 5, 2013 at 2:56 AM, Simon Glass s...@chromium.org wrote: Hi, On

Re: [U-Boot] [PATCH 1/2] exynos: Correct use of 64-bit division

2013-04-16 Thread Minkyu Kang
On 13/04/13 23:26, Simon Glass wrote: The current code is causing errors like this on my toolchains: /usr/x86_64-pc-linux-gnu/armv7a-cros-linux-gnueabi/binutils-bin/2.22/ ld.bfd.real: failed to merge target specific data of file /usr/lib/gcc/

Re: [U-Boot] [PATCH 2/2] exynos: fdt: Add TMU node for snow

2013-04-16 Thread Minkyu Kang
On 13/04/13 23:26, Simon Glass wrote: Snow is missing a TMU node, and with TMU support this is not allowed, so it fails to boot. Add it. Signed-off-by: Simon Glass s...@chromium.org --- board/samsung/dts/exynos5250-snow.dts | 14 ++ 1 file changed, 14 insertions(+) diff

[U-Boot] please pull u-boot-samsung master

2013-04-16 Thread Minkyu Kang
Dear Albert, The following changes since commit 601795462a4e7ede97b64dc306de1002e688eef6: Tegra: T30: Beaver board support. (2013-04-15 16:13:51 -0700) are available in the git repository at: git://git.denx.de/u-boot-samsung master for you to fetch changes up to

Re: [U-Boot] [STATUS] v2013.04-rc3 released

2013-04-16 Thread Minkyu Kang
On 16/04/13 08:12, Simon Glass wrote: +Minkyu, Hi Tom, On Mon, Apr 15, 2013 at 8:57 AM, Tom Rini tr...@ti.com wrote: Hey all, I was hoping to release v2013.04 today, but that's not happening. The good news is that there were some issues in the ARM tree that got sorted out and things

Re: [U-Boot] [PATCH] fdt: Ensure that libfdt_env.h comes from U-Boot

2013-04-16 Thread Jerry Van Baren
Hi Simon, On 04/12/2013 04:24 PM, Simon Glass wrote: Hi Tom / Jerry, [snip] Another way to fix this is to use -nostdinc and -idirafter to ensure that system includes are included after U-Boot ones. Unfortunately this means that U-Boot's errno.h gets included instead of the system one. This

Re: [U-Boot] [PATCH 1/3 V5] EXYNOS5: Add gpio pin numbering feature

2013-04-16 Thread Rajeshwari Birje
Hi Minkyu Kang, Please do let me know if any comments on these patchset. Regards, Rajeshwari Shinde On Wed, Apr 3, 2013 at 5:24 PM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch adds support for gpio pin numbering support on EXYNOS5250 To have consistent 0..n-1 GPIO numbering

Re: [U-Boot] [PATCH] powerpc/85xx: Add P1023RDB board support

2013-04-16 Thread Chunhe Lan
On 04/16/2013 09:57 PM, Sinan Akman wrote: Chunhe Lan wrote: P1023RDB Specification: --- Memory subsystem: 512MB DDR3 (Fixed DDR on board) 64MB NOR flash 128MB NAND flash Chunhe, what is the orderable part number of this board, I don't see anything on the FSL web

Re: [U-Boot] [PATCH] Add NanoBone board support

2013-04-16 Thread Hebbar, Gururaja
Mark, On Tue, Apr 16, 2013 at 20:32:34, Mark Jackson wrote: NanoBone Specification: --- Memory: 256MB DDR3 64MB NOR flash 256MB NAND flash 128KB FRAM Ethernet: 2 x 10/100 connected to SMSC LAN8710 PHY USB: 1 x USB2.0 Type A I2C: 2Kbit EEPROM

Re: [U-Boot] [PATCH] crc32: Correct endianness of crc32 result

2013-04-16 Thread Wolfgang Denk
Dear Simon Glass, In message capnjgz2jrvpq56_epvkumh8e1l2lj0hgzncs-grn9bxfosx...@mail.gmail.com you wrote: +#ifdef USE_HOSTCC + crc = htobe32(crc); memcpy(output, crc, sizeof(crc)); +#else + put_unaligned_be32(crc, output); +#endif Why is this depending on

Re: [U-Boot] [PATCH] Allow U-Boot scripts to be placed in a .env file

2013-04-16 Thread Wolfgang Denk
Dear Simon Glass, In message 1366155414-6525-1-git-send-email-...@chromium.org you wrote: At present U-Boot environment variables, and thus scripts, are defined by CONFIG_EXTRA_ENV_SETTINGS. It is painful to add large amounts of text to this file and dealing with quoting and newlines is harder