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

2013-04-11 Thread Albert ARIBAUD
Hi Benoît, On Thu, 11 Apr 2013 01:20:44 +0200 (CEST), Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: Hi Albert, On Thursday, April 11, 2013 1:12:17 AM, Albert ARIBAUD wrote: Hello, The following changes since commit 009d75ccc11d27b9a083375a88bb93cb746b4800: Merge

Re: [U-Boot] [PATCH v3 1/1] ARM: Add support for Seagate GoFlexHome

2013-04-11 Thread Albert ARIBAUD
Hi Suriyan, On Wed, 10 Apr 2013 17:04:33 -0700, Suriyan Ramasami suriya...@gmail.com wrote: This is yet another attempt with patch v3. Thanks to Wolfgang, Prafulla and Albert for comments, corrections, and suggestions. Comments on the files: MAINTAINERS: Add maintainer entry for the

Re: [U-Boot] [U-Boot, v6, 4/9] nand: Extend nand_(read|write)_skip_bad with *actual and limit parameters

2013-04-11 Thread Igor Grinberg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/10/13 16:08, Tom Rini wrote: On Thu, Mar 14, 2013 at 05:32:50AM -, Tom Rini wrote: We make these two functions take a size_t pointer to how much space was used on NAND to read or write the buffer (when reads/writes happen) so that bad

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

2013-04-11 Thread Albert ARIBAUD
Hi Tom, On Thu, 11 Apr 2013 01:12:17 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: The following changes since commit 009d75ccc11d27b9a083375a88bb93cb746b4800: Merge branch 'u-boot/master' into 'u-boot-arm/master' (2013-03-28 18:50:01 +0100) are available in the git repository at:

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

2013-04-11 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 1/5][v3] powerpc/mpc85xx:No NOR boot, do not compile IFC errata A003399

2013-04-11 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][v3] powerpc/mpc85xx: new SPL support for IFC NAND

2013-04-11 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] [PATCH 3/5][v3] board/p1010rdb:Add NAND boot support using new SPL format

2013-04-11 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][v3] board/bsc9131rdb:Add NAND boot support using new SPL format

2013-04-11 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

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

2013-04-11 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 v3 1/1] ARM: Add support for Seagate GoFlexHome

2013-04-11 Thread Wolfgang Denk
Dear Suriyan Ramasami, In message 1365638673-7815-1-git-send-email-suriya...@gmail.com you wrote: This is yet another attempt with patch v3. Thanks to Wolfgang, Prafulla and Albert for comments, corrections, and suggestions. On addition to the comments already made about how the commit

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

2013-04-11 Thread Stefan Roese
Hi Wolfgang, On 10.04.2013 14:13, Wolfgang Denk wrote: +int board_mmc_init(bd_t *bis) +{ +s32 status = 0; +u32 index = 0; + +usdhc_cfg[0].sdhc_clk = mxc_get_clock(MXC_ESDHC3_CLK); + +for (index = 0; index CONFIG_SYS_FSL_USDHC_NUM; ++index) { +switch (index) {

[U-Boot] [PATCH v2] blackfin: Move blackfin watchdog driver out of the blackfin arch folder.

2013-04-11 Thread Sonic Zhang
From: Sonic Zhang sonic.zh...@analog.com Signed-off-by: Sonic Zhang sonic.zh...@analog.com --- Changes in v2: - Disable hardware watchdog before changing the timeout MMR. Changes in v1: - Enable hw_watchdog_init() in watchdog.h if CONFIG_HW_WATCHDOG is defined. - Move blackfin hw watchdog driver

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

2013-04-11 Thread Holger Brunck
Hi Albert, Tom, On 04/04/2013 10:20 AM, Albert ARIBAUD wrote: Mainly I am waiting for Vincent's V10 to be tested a bit, and also I am going to post the fix for the __bss_end mixup. Anything else for 2013.04 ARM still missing, people please yell at me. I only want to drop a note that there

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

2013-04-11 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 --- v2: - Fixed comment

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

2013-04-11 Thread Stefan Roese
They never return anything also than 0, so lets change the function to void instead. Signed-off-by: Stefan Roese s...@denx.de --- arch/arm/imx-common/iomux-v3.c | 18 +- arch/arm/include/asm/imx-common/iomux-v3.h | 4 ++-- 2 files changed, 7 insertions(+), 15

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

2013-04-11 Thread Albert ARIBAUD
Hi Holger, On Thu, 11 Apr 2013 10:34:09 +0200, Holger Brunck holger.bru...@keymile.com wrote: Hi Albert, Tom, On 04/04/2013 10:20 AM, Albert ARIBAUD wrote: Mainly I am waiting for Vincent's V10 to be tested a bit, and also I am going to post the fix for the __bss_end mixup. Anything

Re: [U-Boot] [PATCH 0/4] imx: Add iMX6 NAND support

2013-04-11 Thread Stefan Roese
Hi Marek, On 10.04.2013 10:21, Marek Vasut wrote: To support NAND on the iMX6 this patch moves some headers into i.MX common locations. Instead of creating new files in the imx6 include directory containing nearly the same content. Here the diffstat: They look reasonable, can you give

[U-Boot] [PATCH] arm: imx: Codingstyle enhancement of include/asm/arch-mx6/crm_regs.h

2013-04-11 Thread Stefan Roese
Add spaces before and after . Please note that I intentionally didn't wrap the 80 lines for the sake of better readability. Signed-off-by: Stefan Roese s...@denx.de --- arch/arm/include/asm/arch-mx6/crm_regs.h | 172 +++ 1 file changed, 86 insertions(+), 86

[U-Boot] [PATCH v3] blackfin: Move blackfin watchdog driver out of the blackfin arch folder.

2013-04-11 Thread Sonic Zhang
From: Sonic Zhang sonic.zh...@analog.com Signed-off-by: Sonic Zhang sonic.zh...@analog.com --- Changes in v3: - Make sure the write operations to watchdog timeout and enable MMRs are done before executing other instructions. Changes in v2: - Disable hardware watchdog before changing the timeout

Re: [U-Boot] [PATCH v3] BUGFIX: arm: data abort in get_bad_stack_swi

2013-04-11 Thread Tetsuyuki Kobayashi
Hello Albert How about this patch? (04/05/2013 07:12 PM), Tetsuyuki Kobayashi wrote: When swi instruction is executed, it is expected to get message software interrupt in console and dump registers and reboot, as do_software_interrupt() in arch/arm/lib/interrupts.c. But, actually it causes

[U-Boot] [PATCH v1] blackfin: Add comments for watchdog event initialization.

2013-04-11 Thread Sonic Zhang
From: Sonic Zhang sonic.zh...@analog.com - Add comments for watchdog event initialization. - Make sure the writting operation to MMRs are finished. Signed-off-by: Sonic Zhang sonic.zh...@analog.com --- arch/blackfin/cpu/initcode.c | 12 ++-- 1 files changed, 10 insertions(+), 2

[U-Boot] Build failure on am335x_evm

2013-04-11 Thread Mark Jackson
On the current git master, I get the following build failure:- $ make am335x_evm common/libcommon.o: In function `do_fat_fsinfo': /home/mpfj/u-boot/u-boot/common/cmd_fat.c:87: undefined reference to `fat_set_blk_dev' /home/mpfj/u-boot/u-boot/common/cmd_fat.c:92: undefined reference to

[U-Boot] [PATCH v3] OMAP5: USB: hsusbtll_clkctrl has to be in hw_auto for USB to work

2013-04-11 Thread Lubomir Popov
USB TLL clocks do not support 'explicit_en', only 'hw_auto' control (R. Sricharan). cm_l3init_hsusbtll_clkctrl has to be moved to the clk_modules_hw_auto_essential[] array in order to make the clock work. This fix is needed (but not sufficient) for USB EHCI operation in U-Boot. Signed-off-by:

[U-Boot] [PATCH] tpm: add AUTH1 cmds for LoadKey2 and GetPubKey

2013-04-11 Thread Reinhard Pfau
This patch requires Che-Liang Chious TPM library patch to be applied first. (published 2013-02-28 on ML as [PATCH v3] tpm: Add TPM command library) Extend the tpm library with support for single authorized (AUTH1) commands as specified in the TCG Main Specification 1.2. (The internally used

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

2013-04-11 Thread Xie Xiaobo
TWR-P1025 Specification: --- Memory subsystem: 512MB DDR3 (on board DDR) 64Mbyte 16bit NOR flash One microSD Card slot Ethernet: eTSEC1: Connected to Atheros AR8035 GETH PHY eTSEC3: Connected to Atheros AR8035 GETH PHY UART: Two UARTs are routed to the FDTI

Re: [U-Boot] [v3] command/cache: Add flush command

2013-04-11 Thread Wolfgang Denk
Dear Scott, In message 1365634846.8381.24@snotra you wrote: Do you have any real technical arguments? I'm done arguing and have already recommended we just keep this patch in our local tree. We do not have unlimited time to spend messing around with other arch code to produce a result

Re: [U-Boot] [U-Boot, v6, 4/9] nand: Extend nand_(read|write)_skip_bad with *actual and limit parameters

2013-04-11 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/11/2013 02:37 AM, Igor Grinberg wrote: On 04/10/13 16:08, Tom Rini wrote: On Thu, Mar 14, 2013 at 05:32:50AM -, Tom Rini wrote: We make these two functions take a size_t pointer to how much space was used on NAND to read or write the

Re: [U-Boot] freescale i.MX28 mxsboot NAND booting on mx28evk bad blocks

2013-04-11 Thread Trent Piepho
I don't think the image u-boot mxsboot generates includes any OOB data. For me, it made an image which is *exactly* 24 blocks of 128 kiB each. If the FCB blocks had OOB data then there would need to be some multiple of 64 OBB bytes in the image (16 kiB I would think). I think maybe this is

Re: [U-Boot] [PATCH v2 8/8] ARM: Present a menu of bootable options on boot

2013-04-11 Thread Mike Dunn
On 04/10/2013 06:43 PM, Rob Herring wrote: On Wed, Apr 10, 2013 at 8:12 AM, Suriyan Ramasami suriya...@gmail.com wrote: Initialize usb and ide. Scan through the usb for storage and boot capable partitions. Scan through the ide interface for boot capable partitions. Present such bootable

Re: [U-Boot] Build failure on am335x_evm

2013-04-11 Thread Tom Rini
On Thu, Apr 11, 2013 at 10:58:19AM +0100, Mark Jackson wrote: On the current git master, I get the following build failure:- $ make am335x_evm common/libcommon.o: In function `do_fat_fsinfo': /home/mpfj/u-boot/u-boot/common/cmd_fat.c:87: undefined reference to `fat_set_blk_dev'

Re: [U-Boot] Build failure on am335x_evm

2013-04-11 Thread Mark Jackson
On 11/04/13 14:13, Tom Rini wrote: On Thu, Apr 11, 2013 at 10:58:19AM +0100, Mark Jackson wrote: On the current git master, I get the following build failure:- snip What rev are you on? 98f9200 should have fixed this issue. Fixed ... I needed to do a make distclean when I switched compiling

Re: [U-Boot] [PATCH v2 4/4] ARM: fix CONFIG_SPL_MAX_SIZE semantics

2013-04-11 Thread Albert ARIBAUD
Hi Stephen, On Wed, 10 Apr 2013 17:09:45 -0600, Stephen Warren swar...@wwwdotorg.org wrote: On 04/10/2013 04:50 PM, Albert ARIBAUD wrote: On Wed, 10 Apr 2013 16:21:54 -0600, Stephen Warren wrote: On 04/09/2013 05:14 PM, Albert ARIBAUD wrote: ... This still seems to have separate defines

Re: [U-Boot] [PATCH v2 4/4] ARM: fix CONFIG_SPL_MAX_SIZE semantics

2013-04-11 Thread Albert ARIBAUD
Hi Stephen, On Wed, 10 Apr 2013 17:16:49 -0600, Stephen Warren swar...@wwwdotorg.org wrote: On 04/10/2013 05:09 PM, Albert ARIBAUD wrote: On Thu, 11 Apr 2013 00:50:01 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: What we could do, though, is subdivide testing based on the

[U-Boot] [PATCH] omap5_common: Add optargs variable for kernel command line args

2013-04-11 Thread Tom Rini
Add 'optargs' variable to be set to additional kernel arguments, similar to omap3*/am3* usage. Cc: Sricharan R r.sricha...@ti.com Signed-off-by: Tom Rini tr...@ti.com --- include/configs/omap5_common.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/omap5_common.h

[U-Boot] [ARM] Rollback *again* -- 5 patches

2013-04-11 Thread Albert ARIBAUD
Hello, Older toolchain and PPC incompatibilities appeared in the last two additions to ToT ARM. To avoid non-bisectability, ToT has been rolled back from abbecf4c87 to ae74b65987. This removes abbecf4 ARM: Fix __bss_start and __bss_end in linker scripts (HIDDEN not known by most binutils 2.22

Re: [U-Boot] [PATCH] ARM: Fix __bss_start and __bss_end in linker scripts

2013-04-11 Thread Albert ARIBAUD
On Fri, 5 Apr 2013 00:13:53 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Commit 3ebd1cbc introduced compiler-generated __bss_start and __bss_end__ and commit c23561e7 rewrote all __bss_end__ as __bss_end. Their merge caused silent and harmless but potentially bug-inducing clashes

[U-Boot] [PATCH V2] ARM: Fix __bss_start and __bss_end in linker scripts

2013-04-11 Thread Albert ARIBAUD
Commit 3ebd1cbc introduced compiler-generated __bss_start and __bss_end__ and commit c23561e7 rewrote all __bss_end__ as __bss_end. Their merge caused silent and harmless but potentially bug-inducing clashes between compiler- and linker- enerated __bss_end symbols. Make __bss_end and __bss_start

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

2013-04-11 Thread Fabio Estevam
Hi Stefan, On Wed, Apr 10, 2013 at 4:17 AM, Stefan Roese s...@denx.de wrote: +u32 get_board_rev(void) +{ + return get_cpu_rev(); +} You can drop this, since I recently sent a patch that places it on a common location. +/* Physical Memory Map */ +#define CONFIG_NR_DRAM_BANKS

Re: [U-Boot] [ARM] Rollback *again* -- 5 patches

2013-04-11 Thread Stephen Warren
On 04/11/2013 09:25 AM, Albert ARIBAUD wrote: Hello, Older toolchain and PPC incompatibilities appeared in the last two additions to ToT ARM. To avoid non-bisectability, ToT has been rolled back from abbecf4c87 to ae74b65987. This removes abbecf4 ARM: Fix __bss_start and __bss_end in

Re: [U-Boot] [PATCH v2 4/4] ARM: fix CONFIG_SPL_MAX_SIZE semantics

2013-04-11 Thread Tom Rini
On Thu, Apr 11, 2013 at 04:32:53PM +0200, Albert ARIBAUD wrote: Hi Stephen, On Wed, 10 Apr 2013 17:16:49 -0600, Stephen Warren swar...@wwwdotorg.org wrote: On 04/10/2013 05:09 PM, Albert ARIBAUD wrote: On Thu, 11 Apr 2013 00:50:01 +0200, Albert ARIBAUD albert.u.b...@aribaud.net

Re: [U-Boot] [PATCH v2 4/4] ARM: fix CONFIG_SPL_MAX_SIZE semantics

2013-04-11 Thread Stephen Warren
On 04/11/2013 10:08 AM, Tom Rini wrote: ... To be clear, I think the fake partitioning scheme we use when the case is we care about text/data/rodata/bss fitting in $X is not optimal, but it covers all of the cases without adding more complexity / another way to achieve the same ends. But it

Re: [U-Boot] [ARM] Rollback *again* -- 5 patches PLUS 31 patches...

2013-04-11 Thread Albert ARIBAUD
Hi Albert, On Thu, 11 Apr 2013 17:25:34 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hello, Older toolchain and PPC incompatibilities appeared in the last two additions to ToT ARM. To avoid non-bisectability, ToT has been rolled back from abbecf4c87 to ae74b65987. This removes

Re: [U-Boot] [ARM] Rollback *again* -- 5 patches

2013-04-11 Thread Albert ARIBAUD
Hi Stephen, On Thu, 11 Apr 2013 09:49:45 -0600, Stephen Warren swar...@wwwdotorg.org wrote: On 04/11/2013 09:25 AM, Albert ARIBAUD wrote: Hello, Older toolchain and PPC incompatibilities appeared in the last two additions to ToT ARM. To avoid non-bisectability, ToT has been rolled

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

2013-04-11 Thread Stefan Roese
Hi Fabio, On 11.04.2013 17:48, Fabio Estevam wrote: +u32 get_board_rev(void) +{ + return get_cpu_rev(); +} You can drop this, since I recently sent a patch that places it on a common location. Hmmm, removing this function results in this error: $ ./MAKEALL titanium Configuring for

Re: [U-Boot] [ARM] Rollback *again* -- 5 patches PLUS 31 patches...

2013-04-11 Thread Benoît Thébaudeau
Hi Albert, On Thursday, April 11, 2013 6:30:58 PM, Albert ARIBAUD wrote: Hi Albert, On Thu, 11 Apr 2013 17:25:34 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hello, Older toolchain and PPC incompatibilities appeared in the last two additions to ToT ARM. To avoid

Re: [U-Boot] [ARM] Rollback *again* -- 5 patches PLUS 31 patches...

2013-04-11 Thread Albert ARIBAUD
Hi Benoît, On Thu, 11 Apr 2013 18:33:35 +0200 (CEST), Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: Hi Albert, On Thursday, April 11, 2013 6:30:58 PM, Albert ARIBAUD wrote: Hi Albert, On Thu, 11 Apr 2013 17:25:34 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote:

Re: [U-Boot] [ARM] Rollback *again* -- 5 patches PLUS 31 patches...

2013-04-11 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/11/2013 12:33 PM, Benoît Thébaudeau wrote: Hi Albert, On Thursday, April 11, 2013 6:30:58 PM, Albert ARIBAUD wrote: Hi Albert, On Thu, 11 Apr 2013 17:25:34 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hello, Older

Re: [U-Boot] [PATCH v2 4/4] ARM: fix CONFIG_SPL_MAX_SIZE semantics

2013-04-11 Thread Albert ARIBAUD
Hi Stephen, On Wed, 10 Apr 2013 17:09:45 -0600, Stephen Warren swar...@wwwdotorg.org wrote: On 04/10/2013 04:50 PM, Albert ARIBAUD wrote: On Wed, 10 Apr 2013 16:21:54 -0600, Stephen Warren wrote: On 04/09/2013 05:14 PM, Albert ARIBAUD wrote: ... This still seems to have separate defines

Re: [U-Boot] [PATCH v2 0/4] Homogeneize semantics of CONFIG_SPL_MAX_SIZE

2013-04-11 Thread Albert ARIBAUD
On Thu, 11 Apr 2013 01:10:17 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: On Wed, 10 Apr 2013 01:14:51 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: CONFIG_SPL_MAX_SIZE and CONFIG_SPL_BSS_MAX_SIZE did not have constant semantics across all of U-boot. This patch series

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

2013-04-11 Thread Fabio Estevam
On Thu, Apr 11, 2013 at 1:39 PM, Stefan Roese s...@denx.de wrote: Hi Fabio, On 11.04.2013 17:48, Fabio Estevam wrote: +u32 get_board_rev(void) +{ + return get_cpu_rev(); +} You can drop this, since I recently sent a patch that places it on a common location. Hmmm, removing this

Re: [U-Boot] [ARM] Rollback *again* -- 5 patches PLUS 31 patches...

2013-04-11 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/11/2013 12:48 PM, Albert ARIBAUD wrote: Hi Benoît, On Thu, 11 Apr 2013 18:33:35 +0200 (CEST), Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: [snip] - if all other arches have been build-tested in order to avoid new issues

[U-Boot] [PATCH v4 1/1] ARM: Add Seagate GoFlex Home support

2013-04-11 Thread Suriyan Ramasami
Add Seagate GoFlex Home support Start with dockstar configuration define support for RTC, DATE, SATA and EXT4FS Signed-off-by: Suriyan Ramasami suriya...@gmail.com --- Changes in v4: Remove board/Seagate/goflexhome/goflexhome.h from patch and merge it in

Re: [U-Boot] [PATCH] ARM: Fix __bss_start and __bss_end in linker scripts

2013-04-11 Thread Tom Warren
Albert, -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Friday, April 05, 2013 8:59 AM To: Tom Rini Cc: Albert ARIBAUD; Scott Wood; u-boot@lists.denx.de; step...@theia.denx.de; Tom Warren; Simon Glass; Allen Martin Subject: Re: [U-Boot] [PATCH] ARM: Fix

Re: [U-Boot] [ARM] Rollback *again* -- 5 patches

2013-04-11 Thread Tom Warren
Albert, -Original Message- From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] Sent: Thursday, April 11, 2013 9:38 AM To: Stephen Warren Cc: U-Boot; Prafulla Wadaskar; Tom Rini; Tom Warren Subject: Re: [ARM] Rollback *again* -- 5 patches Hi Stephen, On Thu, 11 Apr 2013

Re: [U-Boot] [PATCH] ARM: Fix __bss_start and __bss_end in linker scripts

2013-04-11 Thread Albert ARIBAUD
Hi Tom, On Thu, 11 Apr 2013 10:52:08 -0700, Tom Warren twar...@nvidia.com wrote: Albert, -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Friday, April 05, 2013 8:59 AM To: Tom Rini Cc: Albert ARIBAUD; Scott Wood; u-boot@lists.denx.de;

Re: [U-Boot] [ARM] Rollback *again* -- 5 patches

2013-04-11 Thread Albert ARIBAUD
Hi Tom, On Thu, 11 Apr 2013 10:59:29 -0700, Tom Warren twar...@nvidia.com wrote: Albert, -Original Message- From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] Sent: Thursday, April 11, 2013 9:38 AM To: Stephen Warren Cc: U-Boot; Prafulla Wadaskar; Tom Rini; Tom Warren

[U-Boot] [PATCH] omap5_common.h: Switch to ext4

2013-04-11 Thread Tom Rini
ext3 should not be used on SD cards, so use ext4 instead. Cc: Sricharan R r.sricha...@ti.com Signed-off-by: Tom Rini tr...@ti.com --- include/configs/omap5_common.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/omap5_common.h

Re: [U-Boot] [ARM] Rollback *again* -- 5 patches

2013-04-11 Thread Tom Warren
Albert, On Thu, Apr 11, 2013 at 11:01 AM, Albert ARIBAUD albert.u.b...@aribaud.netwrote: Hi Tom, On Thu, 11 Apr 2013 10:59:29 -0700, Tom Warren twar...@nvidia.com wrote: Albert, -Original Message- From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] Sent: Thursday,

Re: [U-Boot] [PATCH] ARM: Fix __bss_start and __bss_end in linker scripts

2013-04-11 Thread Tom Warren
Albert, On Thu, Apr 11, 2013 at 10:59 AM, Albert ARIBAUD albert.u.b...@aribaud.netwrote: Hi Tom, On Thu, 11 Apr 2013 10:52:08 -0700, Tom Warren twar...@nvidia.com wrote: Albert, -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Friday, April

Re: [U-Boot] [ARM] Rollback *again* -- 5 patches

2013-04-11 Thread Albert ARIBAUD
Hi Tom, On Thu, 11 Apr 2013 11:04:44 -0700, Tom Warren twarren.nvi...@gmail.com wrote: Albert, On Thu, Apr 11, 2013 at 11:01 AM, Albert ARIBAUD albert.u.b...@aribaud.netwrote: Hi Tom, On Thu, 11 Apr 2013 10:59:29 -0700, Tom Warren twar...@nvidia.com wrote: Albert,

Re: [U-Boot] freescale i.MX28 mxsboot NAND booting on mx28evk bad blocks

2013-04-11 Thread Paul B. Henson
On 4/11/2013 5:03 AM, Trent Piepho wrote: I'm talking about the image file as generated by mxsimage. If I hex dump that, it's clearly written entirely with 2048 byte pages. If you hexdump your image are the FCB blocks exactly 128k apart? Hmm, I don't have one in front of me to conveniently

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

2013-04-11 Thread Tom Rini
On Thu, Apr 11, 2013 at 08:45:30AM +0200, Albert ARIBAUD wrote: Hi Tom, On Thu, 11 Apr 2013 01:12:17 +0200, Albert ARIBAUD albert.u.b...@aribaud.net wrote: The following changes since commit 009d75ccc11d27b9a083375a88bb93cb746b4800: Merge branch 'u-boot/master' into

Re: [U-Boot] [PATCH] integrator: enable device tree

2013-04-11 Thread Linus Walleij
On Thu, Apr 4, 2013 at 7:19 AM, Linus Walleij linus.wall...@linaro.org wrote: This enables the device tree library on the Integrator platforms so we can pass a device tree when booting. Signed-off-by: Linus Walleij linus.wall...@linaro.org Tom, is this patch OK, if so coul you perhaps pick

[U-Boot] [PATCH v12 01/30] mtd: nand: Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT

2013-04-11 Thread Benoît Thébaudeau
From: Fabio Estevam fabio.este...@freescale.com Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT option so that other NAND controller drivers could use it when a 16-bit NAND is deployed. drivers/mtd/nand/ndfc has CONFIG_SYS_NDFC_16BIT, so just rename it, so that other NAND drivers could reuse the same

[U-Boot] [PATCH v12 02/30] mtd: nand: mxc_nand: Fix is_16bit_nand()

2013-04-11 Thread Benoît Thébaudeau
From: Fabio Estevam fabio.este...@freescale.com Currently is_16bit_nand() is a per SoC function and it decides the bus nand width by reading some boot related registers. This method works when NAND is the boot medium, but does not work if another boot medium is used. For example: booting from a

[U-Boot] [PATCH v12 05/30] imx: mx5: lowlevel_init: Simplify code

2013-04-11 Thread Benoît Thébaudeau
Don't use several instructions to build constant values. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Acked-by: Stefano Babic sba...@denx.de --- Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in

[U-Boot] [PATCH v12 06/30] imx: mx53ard: Add support for NAND Flash

2013-04-11 Thread Benoît Thébaudeau
Add support for the Samsung K9LAG08U0M NAND Flash (2-GiB MLC NAND Flash, 2-kiB pages, 256-kiB blocks, 30-ns R/W cycles, 1 CS) on mx53ard. eNFC_CLK_ROOT is set up with a cycle time of 37.5 ns (400 MHz / 3 / 5) for this board, which satisfies the 30-ns NF R/W cycle requirement. Signed-off-by:

[U-Boot] [PATCH v12 03/30] nand: mxc: Prepare to add support for i.MX5

2013-04-11 Thread Benoît Thébaudeau
Add some abstraction to NFC definitions so that some parts of the current code can also be used for future i.MX5 code. Clean up a few things by the way. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Acked-by: Scott Wood scottw...@freescale.com Tested-by: Fabio Estevam

[U-Boot] [PATCH v12 09/30] arm: start.S: Fix _TEXT_BASE for SPL

2013-04-11 Thread Benoît Thébaudeau
_TEXT_BASE must be set to CONFIG_SPL_TEXT_BASE for generic SPL, and to CONFIG_SYS_TEXT_BASE for non-SPL builds. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Reviewed-by: Tom Rini tr...@ti.com --- Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None

[U-Boot] [PATCH v12 11/30] arm1136: Remove redundant relocate_code() return

2013-04-11 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - New patch, extracted from nand: mxc: Switch NAND SPL to generic SPL. Changes in v5: None

[U-Boot] [PATCH v12 07/30] nand: mxc: Fix debug trace in mxc_nand_read_oob_syndrome()

2013-04-11 Thread Benoît Thébaudeau
The page number indicated in the debug trace of mxc_nand_read_oob_syndrome() did not match the page being worked on. By the way, replace the GCC-specific __FUNCTION__ with __func__. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Acked-by: Scott Wood scottw...@freescale.com ---

[U-Boot] [PATCH v12 10/30] arm: relocate_code() is no longer noreturn

2013-04-11 Thread Benoît Thébaudeau
Commit e05e5de7fae5bec79617e113916dac6631251156 made ARM's relocate_code() return to its caller, but it did not update its declaration accordingly. Fixing this function declaration fixes dropped C code following calls to relocate_code(). Signed-off-by: Benoît Thébaudeau

[U-Boot] [PATCH v12 08/30] nand: mxc: Use appropriate page number in syndrome functions

2013-04-11 Thread Benoît Thébaudeau
The syndrome functions should use the page number passed as argument instead of the page number saved upon NAND_CMD_READ0. This does not make any difference if the NAND_NO_AUTOINCR option is set, but otherwise this fixes accesses to the wrong pages. Signed-off-by: Benoît Thébaudeau

[U-Boot] [PATCH v12 04/30] nand: mxc: Add support for i.MX5

2013-04-11 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Acked-by: Scott Wood scottw...@freescale.com Tested-by: Fabio Estevam fabio.este...@freescale.com --- Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: - Drop the now unused SRC register definitions.

[U-Boot] [PATCH v12 14/30] arm: crt0.S: Remove bogus .globl

2013-04-11 Thread Benoît Thébaudeau
The purpose of .globl is to export symbols for ld, not to declare external symbols. By the way, use the ENTRY() and ENDPROC() macros to define functions rather than using .global directly. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v12: None Changes in v11:

[U-Boot] [PATCH v12 16/30] Makefile: Change CONFIG_SPL_PAD_TO to image offset

2013-04-11 Thread Benoît Thébaudeau
Change CONFIG_SPL_PAD_TO from a link address to an image offset since this is more handy and closer to the purpose of this config. Automatically define CONFIG_SPL_PAD_TO to CONFIG_SPL_MAX_SIZE (or 0 without CONFIG_SPL_MAX_SIZE). Test that CONFIG_SPL_PAD_TO = CONFIG_SPL_MAX_SIZE if

[U-Boot] [PATCH v12 12/30] arm: relocate_code(): Remove useless relocation offset computation

2013-04-11 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: - Make sure that r9 is initialized in all cases because it may be used after relocate_code(). Changes in v7: None Changes in

[U-Boot] [PATCH v12 17/30] imx: Fix automatic make targets for imx images

2013-04-11 Thread Benoît Thébaudeau
Automatically build the 'u-boot.imx' (i.e. imx header + u-boot.bin) and 'SPL' (i.e. imx header + u-boot-spl.bin) make targets for all imx processors supporting this header, so for arm926ejs, arm1136 and armv7. Some combinations were missing. At the same time, fix the build of SPL targets not

[U-Boot] [PATCH v12 13/30] arm: relocate_code(): Use __image_copy_end for end of relocation

2013-04-11 Thread Benoît Thébaudeau
Use __image_copy_end instead of __bss_start for the end of the image to relocate. This is the same as commit 033ca72, but applied to all ARM start.S. This is a more appropriate symbol naming for an image copy relocate feature, and this also saves a useless copy of data put between

[U-Boot] [PATCH v12 15/30] autoconfig.mk: Make it possible to define configs from other configs

2013-04-11 Thread Benoît Thébaudeau
Give more flexibility to define configs that can be interpreted by make, e.g. to define fallback values of configs like in the example below. Before this change, the config lines: #define CONFIG_SPL_MAX_SIZE2048 #define CONFIG_SPL_PAD_TO CONFIG_SPL_MAX_SIZE would have been changed in

[U-Boot] [PATCH v12 19/30] arm926ejs: Remove deprecated and now unused NAND SPL

2013-04-11 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v12: None Changes in v11: None Changes in v10: - Rebase on current u-boot-arm/master. Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - New patch. Changes in v5: None Changes in v4: None

[U-Boot] [PATCH v12 23/30] imx: Add u-boot-with-spl.imx make target

2013-04-11 Thread Benoît Thébaudeau
This image combines the SPL with the i.MX header and U-Boot. This is a convenient way of having a single image to program on some boot devices. The i.MX header has to be added to the SPL before appending U-Boot, so that the boot ROM loads only the SPL. Signed-off-by: Benoît Thébaudeau

[U-Boot] [PATCH v12 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-11 Thread Benoît Thébaudeau
This also fixes support for mx31pdk and tx25, which had been broken by commit e05e5de7fae5bec79617e113916dac6631251156. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Acked-by: Scott Wood scottw...@freescale.com Tested-by: Fabio Estevam fabio.este...@freescale.com --- Changes in

[U-Boot] [PATCH v12 22/30] .gitignore: Add /SPL

2013-04-11 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: - New patch. Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2:

[U-Boot] [PATCH v12 21/30] Makefile: Move SHELL setup to config.mk

2013-04-11 Thread Benoît Thébaudeau
make never uses the SHELL variable from the environment. Instead, it uses /bin/sh, or the value assigned to the SHELL variable by the Makefile. This makes the export of the SHELL variable useless for sub-makes (but still useful for the environment of recipes). However, we want all makes to use the

[U-Boot] [PATCH v12 20/30] arm: Remove unused relocate_code() parameters

2013-04-11 Thread Benoît Thébaudeau
Commit e05e5de7fae5bec79617e113916dac6631251156 made the 2 1st parameters of ARM's relocate_code() useless since it moved the code handling them to crt0.S. So, drop these parameters. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v12: None Changes in v11: None

[U-Boot] [PATCH v12 24/30] imx: Add u-boot-with-nand-spl.imx make target

2013-04-11 Thread Benoît Thébaudeau
This image combines the SPL with the i.MX header, the FCB and U-Boot. For i.MX25/35/51, the FCB is ignored by the boot ROM, so this image is just useful because it can be programmed on a NAND Flash page boundary. For i.MX53, the FCB is required by the boot ROM. This does not support i.MX6 so

[U-Boot] [PATCH v12 26/30] Revert mkconfig: start deprecating Makefile config targets

2013-04-11 Thread Benoît Thébaudeau
This reverts commit 1285a2808a254f3d1a809c1a541f0c0f746e03d7 since the migration of boards from Makefile to boards.cfg is now complete. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in

[U-Boot] [PATCH v12 28/30] arm: Remove deprecated and now unused NAND SPL

2013-04-11 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v12: None Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: - New patch. Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2:

[U-Boot] [PATCH v12 29/30] arm1176: Remove unused MMU setup from start.S

2013-04-11 Thread Benoît Thébaudeau
Following the removal of the smdk6400 board, the MMU setup code in arm1176/start.S becomes unused, so remove it. It will still be possible to restore it later from the Git history if necessary, in which case it should be moved out of the relocate_code() function. Signed-off-by: Benoît Thébaudeau

[U-Boot] [PATCH v12 30/30] arm: Make all linker scripts compatible with per-symbol sections

2013-04-11 Thread Benoît Thébaudeau
Let all ARM linker scripts handle properly -ffunction-sections and -fdata-sections. This will be useful for future changes in order to create symbol-specific sections in common .S files. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v12: None Changes in v11: None

[U-Boot] [PATCH v12 25/30] arm: Remove support for smdk6400

2013-04-11 Thread Benoît Thébaudeau
The migration of boards from Makefile to boards.cfg was due for v2012.03, but smdk6400 did not follow, and it does not build, so move it to scrapyard. It will still be possible to restore it from the Git history before fixing it. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com ---

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

2013-04-11 Thread Scott Wood
On 04/11/2013 02:25:09 AM, Prabhakar Kushwaha wrote: 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

Re: [U-Boot] [PATCH] Do not call board_early_init_f() twice

2013-04-11 Thread Tom Rini
On Tue, Apr 09, 2013 at 05:06:51PM -0700, Vadim Bendebury wrote: Apparently due to a missed rebase conflict resolution board_early_init_f() is included twice in the list of initialization functions. Leave only the first occurrence. . built and boot an Exynos 5250 target

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

2013-04-11 Thread Scott Wood
On 04/11/2013 02:25:22 AM, Prabhakar Kushwaha wrote: diff --git a/include/configs/P1010RDB.h b/include/configs/P1010RDB.h index 437ee6e..a6ef276 100644 --- a/include/configs/P1010RDB.h +++ b/include/configs/P1010RDB.h @@ -33,6 +33,8 @@ #ifdef CONFIG_P1010RDB #define CONFIG_P1010 +#define

Re: [U-Boot] [PATCH v12 01/30] mtd: nand: Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT

2013-04-11 Thread Benoît Thébaudeau
On Thursday, April 11, 2013 9:35:34 PM, Benoît Thébaudeau wrote: From: Fabio Estevam fabio.este...@freescale.com Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT option so that other NAND controller drivers could use it when a 16-bit NAND is deployed. drivers/mtd/nand/ndfc has

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

2013-04-11 Thread Scott Wood
On 04/11/2013 05:30:07 AM, Xie Xiaobo wrote: +int checkboard(void) +{ + ccsr_gur_t *gur = (void __iomem *)(CONFIG_SYS_MPC85xx_GUTS_ADDR); + u8 boot_status; + + printf(Board: %s\n, CONFIG_BOARDNAME); + +#ifdef CONFIG_PHYS_64BIT + puts((36-bit addrmap) ); +#endif Is there

Re: [U-Boot] [PATCH v2 8/8] ARM: Present a menu of bootable options on boot

2013-04-11 Thread Suriyan Ramasami
Sounds good to me. I shall attempt a generic version and call it cmd_bootscan.c in the common directory. - Suriyan On Thu, Apr 11, 2013 at 6:02 AM, Mike Dunn miked...@newsguy.com wrote: On 04/10/2013 06:43 PM, Rob Herring wrote: On Wed, Apr 10, 2013 at 8:12 AM, Suriyan Ramasami

Re: [U-Boot] [PATCH v2 6/7] mtd: nand: add driver for diskonchip g4 nand flash

2013-04-11 Thread Scott Wood
On 04/10/2013 07:45:27 PM, Mike Dunn wrote: This patch adds a driver for the diskonchip G4 nand flash device. It is based on the driver from the linux kernel. This also includes a separate SPL driver. A separate SPL driver is used because the device operates in a different mode (reliable

  1   2   >