[U-Boot] [PATCH] Add board_mmc_init(...) function for init mmc1 only

2014-04-08 Thread Hannes Petermaier
Since BR boards uses only MMC-Controller #1, it only wastes time if we initialize #0 first to see that there is nothing. Cc: tr...@ti.com Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- board/BuR/common/common.c |7 +++ include/configs/kwb.h |2 +- include/configs/tseries.h

[U-Boot] Fwd: [Question] i.MX6 HIgh Assurance Boot (Secure Boot) support in U-Boot versions = 2013

2014-04-08 Thread Igor Bezukh
Nitin, Do you know if Freescale is intended to provide i.MX6 HAB support for Barebox ( U-Boot V2) ? BR, Igor -- Forwarded message -- From: Igor Bezukh i...@rtembedded.org Date: Sun, Apr 6, 2014 at 10:40 AM Subject: Re: [U-Boot] [Question] i.MX6 HIgh Assurance Boot (Secure Boot)

[U-Boot] Merge conflicts between ARM and mainline U-Boot trees

2014-04-08 Thread Albert ARIBAUD
Hello all, There are four merge conflicts currently between ARM and mainline. I have created a 'merged' branch on the ARM repository with what I think the resolutions should be. Some are trivial, others, less. Could commit authors and/or custodians (CC:ed) please confirm or indicate correct

[U-Boot] [half-OT] Re: Fwd: [Question] i.MX6 HIgh Assurance Boot (Secure Boot) support in U-Boot versions = 2013

2014-04-08 Thread Albert ARIBAUD
On Tue, 8 Apr 2014 10:46:24 +0300, Igor Bezukh i...@rtembedded.org wrote: Barebox ( U-Boot V2) Did I miss a news item? :) Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Merge conflicts between ARM and mainline U-Boot trees

2014-04-08 Thread Lukasz Majewski
Hi Albert, include/configs/trats.h: - commits fe601647 (Piotr) and 9960d9a8 (Lukasz) - note: I manually removed CONFIG_EFI_PARTITION and CONFIG_PARTITION_UUIDS which are already defined in include/configs/exynos4-dt.h I can confirm that Albert's

[U-Boot] Latest u-boot release on BeagleBone Black for FreeBSD

2014-04-08 Thread Xuebing Wang
Hi u-boot community, I am trying to port u-boot (release u-boot-2014.04-rc3.tar.bz2) to FreeBSD on BeagleBone Black. In FreeBSD, there is a u-boot loader (named ubldr), which can call u-boot API to get fdt (Flat Device Tree) data. I have to comment out below 3 lines, in order to get

Re: [U-Boot] Merge conflicts between ARM and mainline U-Boot trees

2014-04-08 Thread Piotr Wilczek
Hi Albert, include/configs/trats2.h: - commits 4d6c9671 (Piotr) and aafd2c5d (Przemyslaw) include/configs/trats.h: - commits fe601647 (Piotr) and 9960d9a8 (Lukasz) - note: I manually removed CONFIG_EFI_PARTITION and CONFIG_PARTITION_UUIDS

Re: [U-Boot] Merge conflicts between ARM and mainline U-Boot trees

2014-04-08 Thread Pantelis Antoniou
Hi Albert, On Apr 8, 2014, at 10:49 AM, Albert ARIBAUD wrote: Hello all, There are four merge conflicts currently between ARM and mainline. I have created a 'merged' branch on the ARM repository with what I think the resolutions should be. Some are trivial, others, less. Could commit

Re: [U-Boot] Merge conflicts between ARM and mainline U-Boot trees

2014-04-08 Thread Marek Vasut
On Tuesday, April 08, 2014 at 09:49:17 AM, Albert ARIBAUD wrote: Hello all, There are four merge conflicts currently between ARM and mainline. I have created a 'merged' branch on the ARM repository with what I think the resolutions should be. Some are trivial, others, less. Could commit

Re: [U-Boot] [Question] i.MX6 HIgh Assurance Boot (Secure Boot) support in U-Boot versions = 2013

2014-04-08 Thread Stefano Babic
Hi Igor, On 04/04/2014 13:26, Igor Bezukh wrote: Hi, I would like to know if i.MX6 High Assurance Boot feature is supported by U-Boot versions 2013 or higher? Support for HAB was added to mkimage some times ago. mkimage can fill the CSF fields in the i.MX header structure, setting the CSF

Re: [U-Boot] Different Port for TFTP communication

2014-04-08 Thread Wolfgang Denk
Dear Mario, In message 20140407165243.3b074380...@gemini.denx.de I wrote: As is, this cannot be changed. The TFTP port number is hard wired in the code - see net/tftp.c: ... 18 /* Well known TFTP port # */ 19 #define WELL_KNOWN_PORT 69 ... Actually this is not correct. There are

[U-Boot] Re

2014-04-08 Thread Frank Ihle
Hello Stefano Stefano Babic sba...@denx.de 07.04.14 18.07 Uhr Hi Frank, On 07/04/2014 15:49, Frank Ihle wrote: Hi U-Boot, you recently gave me the hint about the Falcon Mode for my Fast Booting investigations. But I think might got it wrong, could somebody correct me if so?: -

Re: [U-Boot] Antw: Re: [Question] How is the Falcon mode working

2014-04-08 Thread Stefano Babic
Hi Frank, please do not drop the ML from your replies, thanks. On 08/04/2014 12:44, Frank Ihle wrote: Hello Stefano Stefano Babic sba...@denx.de 07.04.14 18.07 Uhr Hi Frank, On 07/04/2014 15:49, Frank Ihle wrote: Hi U-Boot, you recently gave me the hint about the Falcon Mode for my

Re: [U-Boot] Merge conflicts between ARM and mainline U-Boot trees

2014-04-08 Thread Przemyslaw Marczak
Hi Albert, On 04/08/2014 09:49 AM, Albert ARIBAUD wrote: Hello all, There are four merge conflicts currently between ARM and mainline. I have created a 'merged' branch on the ARM repository with what I think the resolutions should be. Some are trivial, others, less. Could commit authors

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

2014-04-08 Thread Albert ARIBAUD
Hi Tom, The following changes since commit 04d2f0a9f33112bd70ce4d9c451fdca1682e3a59: Revert Start the deprecation process for generic board (2014-04-04 10:09:19 -0400) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes up to

Re: [U-Boot] CONFIG_SYS_XIP_BOOT for when it's a choice?

2014-04-08 Thread Wolfgang Denk
Dear Tom, In message 20140407195731.GL23803@bill-the-cat you wrote: Maybe, maybe not. But it's beside the point. The point is we have SoC init code that needs to be run once. Sometimes this is true when CONFIG_SPL_BUILD=y, sometimes this is true when other options are set instead. What

Re: [U-Boot] [PATCH] lib: Add CONFIG_FDT_IGNORE_FIXUP_MEMORY_NODE

2014-04-08 Thread Wolfgang Denk
Dear Nobuhiro, In message cabmqnv+k+rmx7e8o-nfbpyg5-nwrxi6oz_+bcys-vdndv_z...@mail.gmail.com you wrote: Please explain why you would want to do this. To me it makes no sense. Either U-Boot knows the correct memory size, then it should pass it to Linux. Or it does not, then U-Boot

[U-Boot] [PATCH 02/10][v2] powerpc/mpc85xx: Avoid hardcoding in SPL linker script

2014-04-08 Thread Prabhakar Kushwaha
SPL linker has fix location of bootpg and reset vector with respect to text base. It is not necessary to have fixed locations. Avoid such hardcoding. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Changes for v2: Sending as it is arch/powerpc/cpu/mpc85xx/u-boot-spl.lds |7

[U-Boot] [PATCH 0/0][v2] powerpc: Add support 2 stage boot loader for corenet platform

2014-04-08 Thread Prabhakar Kushwaha
Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Add support of 2 stage boot loader in cornet platforms using SPL framework. B4860QDS: NAND boot T1040RDB: NAND, SD, SPI boot T1042RDB_PI: NAND, SD, SPI boot In current secenrio size of u-boot can become =512KB. So This patch set will

[U-Boot] [PATCH 01/10][v2] powerpc/mpc85xx: Move LAW_EN define outside of config

2014-04-08 Thread Prabhakar Kushwaha
LAW_EN is only defined if CONFIG_SYS_CCSRBAR_DEFAULT is not equal to CONFIG_SYS_CCSRBAR_PHYS. in SPL framework CCSRBAR is not relocated hence both are same. This cause compilation error. So LAW_EN define outside of configs Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Changes

[U-Boot] [PATCH 05/10][v2] driver/ifc: define nand_spl_load_image() for SPL

2014-04-08 Thread Prabhakar Kushwaha
nand_spl_load_image() can also be used for non TPL framework. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Changes for v2: - Made nand_spl_load_image as default declaration drivers/mtd/nand/fsl_ifc_spl.c | 13 - 1 file changed, 13 deletions(-) diff --git

[U-Boot] [PATCH 03/10][v2] powerpc:Add support of SPL non-relocation

2014-04-08 Thread Prabhakar Kushwaha
Current SPL code base has BSS section placed after reset_vector. This means they have to relocate to use the global variables. This put an implicit requirement of having SPL size = Memory/2. To avoid relocation: - Move bss_section within SPL range - Modify relocate_code()

[U-Boot] [PATCH 06/10][v2] driver/mtd/spi:Read 8KB data chunk during u-boot load in SPL

2014-04-08 Thread Prabhakar Kushwaha
SPI driver perform its operation(read/write) on 64KB buffer chunk for data greater than 64KB. This buffer chunk is allocated from system heap. During SPL boot, 768KB of data is read from SPI flash. Here, heap size may not be sufficient enough to full-fill 64KB buffer requirement of SPI driver. So

[U-Boot] [PATCH 04/10][v2] powerpc/mpc85xx:Disable non DDR LAWs before init_law

2014-04-08 Thread Prabhakar Kushwaha
Before parsing LAW table i.e. init_law, boot loader should disable all previous LAWs except DDR LAWs which has been created by previous pre boot loader during DDR initialization. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Changes for v2: Sending as it is

[U-Boot] [PATCH 08/10][v2] Makefile: Add support of CONFIG_SPL_FSL_PBL

2014-04-08 Thread Prabhakar Kushwaha
Objective of this target to have concatenate binary having - SPL binary in PBL command format - U-boot binary Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Changes for v2: - rename CONFIG_RAMBOOT_PBLSPL to CONFIG_SPL_FSL_PBL Makefile | 19 +++ README |

[U-Boot] [PATCH 07/10][v2] driver: Add support of image load for MMC SPI in SPL

2014-04-08 Thread Prabhakar Kushwaha
Add support of loading image, binary for MMC and SPI during SPL boot. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Changes for v2: new patch drivers/mmc/fsl_esdhc_spl.c| 26 ++ drivers/mtd/spi/fsl_espi_spl.c | 14 ++

[U-Boot] [PATCH 10/10][v2] board/t104xrdb: Add support of NAND, SD, SPI boot for T104xRDB

2014-04-08 Thread Prabhakar Kushwaha
Add support of 2 stage NAND, SD, SPI boot loader using SPL framework. here, PBL initialise the internal SRAM and copy SPL(160KB). This further initialise DDR using SPD and environment and copy u-boot(768 KB) from NAND to DDR. Finally SPL transer control to u-boot. Initialise/create followings

[U-Boot] [PATCH 09/10][v2] board/b4qds:Add support of 2 stage NAND boot-loader

2014-04-08 Thread Prabhakar Kushwaha
Add support of 2 stage NAND boot loader using SPL framework. here, PBL initialise the internal SRAM and copy SPL(160KB). This further initialise DDR using SPD and environment and copy u-boot(768 KB) from NAND to DDR. Finally SPL transer control to u-boot. Initialise/create followings required

Re: [U-Boot] [PATCH 6/7] omap3: zoom1: enable bootz

2014-04-08 Thread Nishanth Menon
On Mon, Apr 7, 2014 at 9:29 AM, Tom Rini tr...@ti.com wrote: On Thu, Apr 03, 2014 at 06:19:25PM -0500, Nishanth Menon wrote: Boot from zImage and fdt_file if uImage is not available to maintain the legacy behavior. [snip] #define CONFIG_EXTRA_ENV_SETTINGS \ loadaddr=0x8200\0 \ +

[U-Boot] [PATCH V2 8/8] omap3: zoom1: switch to generic ti_omap3_common config header

2014-04-08 Thread Nishanth Menon
ti_omap3_common contains a lot of common header definitions that help reduce the size of the zoom1 config file. So, use the generic header and customize as needed for the platform (example: no spl). Signed-off-by: Nishanth Menon n...@ti.com --- board/logicpd/zoom1/config.mk |1 -

[U-Boot] [PATCH V2 2/8] OMAP3: zoom1: Configure GPMC for Ethernet

2014-04-08 Thread Nishanth Menon
zoom1 uses LAN9211 configured over GPMC Chip Select 1. Signed-off-by: Nishanth Menon n...@ti.com --- board/logicpd/zoom1/zoom1.c | 18 ++ board/logicpd/zoom1/zoom1.h | 19 +-- 2 files changed, 31 insertions(+), 6 deletions(-) diff --git

[U-Boot] [PATCH V2 6/8] omap3: zoom1: enable bootz

2014-04-08 Thread Nishanth Menon
Boot from zImage and fdt_file if uImage is not available to maintain the legacy behavior. Signed-off-by: Nishanth Menon n...@ti.com --- include/configs/omap3_zoom1.h | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/include/configs/omap3_zoom1.h

[U-Boot] [PATCH V2 1/8] omap3: zoom1: enable CONFIG_SYS_GENERIC_BOARD

2014-04-08 Thread Nishanth Menon
CONFIG_SYS_GENERIC_BOARD should now be enabled for generic functionality Further information in doc/README.generic-board Signed-off-by: Nishanth Menon n...@ti.com --- include/configs/omap3_zoom1.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/omap3_zoom1.h

[U-Boot] [PATCH V2 4/8] omap3: zoom1: enable common network commands

2014-04-08 Thread Nishanth Menon
Basic networking commands for usability. Signed-off-by: Nishanth Menon n...@ti.com --- include/configs/omap3_zoom1.h |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/configs/omap3_zoom1.h b/include/configs/omap3_zoom1.h index 4a4dfd9..4fb3628 100644 ---

[U-Boot] [PATCH V2 5/8] omap3: zoom1: disable JFFS2 and enable FS_GENERIC

2014-04-08 Thread Nishanth Menon
This is more in line with commits 664979a2a9f764b63b8094458b87247d254b0cc1(omap3_beagle: remove JFFS2 support.) and 102ce9ea7afdda80fe25aa786975e1722196bdb9 (omap3_beagle: enable CMD_FS_GENERIC and simplify load of image/ramdisk) CMD_FS_GENERIC allows us to simplify where we load up our image

[U-Boot] [PATCH V2 3/8] OMAP3: zoom1: enable LAN9211

2014-04-08 Thread Nishanth Menon
Zoom1 was wrongly setup for LAN91C96. Fix it by enabling LAN9211. Signed-off-by: Nishanth Menon n...@ti.com --- board/logicpd/zoom1/zoom1.c | 20 ++-- include/configs/omap3_zoom1.h | 10 +- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH V2 7/8] omap3: zoom1: fix default console

2014-04-08 Thread Nishanth Menon
We do not use ttyS2 anymore in Linux, it changed to ttyO2 a few years back. never too late to update. Signed-off-by: Nishanth Menon n...@ti.com --- include/configs/omap3_zoom1.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/omap3_zoom1.h

[U-Boot] [PATCH V2 0/8] omap3: zoom1: long pending cleanups :(

2014-04-08 Thread Nishanth Menon
V1: http://lists.denx.de/pipermail/u-boot/2014-April/176867.html changes since v1: - use ti_omap3_common config header - fix typo in commit message - drop fdt_high test log: http://hastebin.com/moqewevulu.xml Nishanth Menon (8): omap3: zoom1: enable

Re: [U-Boot] [PATCH 0/7] omap3: zoom1: long pending cleanups :(

2014-04-08 Thread Nishanth Menon
On Mon, Apr 7, 2014 at 9:25 AM, Tom Rini tr...@ti.com wrote: On Thu, Apr 03, 2014 at 06:19:19PM -0500, Nishanth Menon wrote: A series of patches to add in ethernet and bootz support. baseline: v2014.04-rc3 Nishanth Menon (7): omap3: zoom1: enable CONFIG_SYS_GENERIC_BOARD OMAP3:

Re: [U-Boot] Latest u-boot release on BeagleBone Black for FreeBSD

2014-04-08 Thread Ian Lepore
On Mon, 2014-04-07 at 15:16 +0800, Xuebing Wang wrote: Hi u-boot community, I am trying to port u-boot (release u-boot-2014.04-rc3.tar.bz2) to FreeBSD on BeagleBone Black. In FreeBSD, there is a u-boot loader (named ubldr), which can call u-boot API to get fdt (Flat Device Tree) data.

Re: [U-Boot] How to disable MAC address for usb_ether

2014-04-08 Thread Tom Rini
On Tue, Apr 08, 2014 at 11:13:04AM +0800, Xuebing Wang wrote: Hi, My board has one Ethernet, one USB Host and one USB Slave. Command bdinfo shows below: eth0name= cpsw ethaddr = 90:59:af:54:1a:28 eth1name= usb_ether eth1addr= 90:59:af:54:1a:2a current eth = cpsw

Re: [U-Boot] [PATCH] lib: Add CONFIG_FDT_IGNORE_FIXUP_MEMORY_NODE

2014-04-08 Thread Tom Rini
On Tue, Apr 08, 2014 at 03:05:36PM +0200, Wolfgang Denk wrote: Dear Nobuhiro, In message cabmqnv+k+rmx7e8o-nfbpyg5-nwrxi6oz_+bcys-vdndv_z...@mail.gmail.com you wrote: Please explain why you would want to do this. To me it makes no sense. Either U-Boot knows the correct memory

Re: [U-Boot] [PATCH 6/7] omap3: zoom1: enable bootz

2014-04-08 Thread Tom Rini
On Tue, Apr 08, 2014 at 09:35:29AM -0500, Nishanth Menon wrote: On Mon, Apr 7, 2014 at 9:29 AM, Tom Rini tr...@ti.com wrote: On Thu, Apr 03, 2014 at 06:19:25PM -0500, Nishanth Menon wrote: Boot from zImage and fdt_file if uImage is not available to maintain the legacy behavior. [snip]

Re: [U-Boot] [PATCH 6/7] omap3: zoom1: enable bootz

2014-04-08 Thread Nishanth Menon
On Tue, Apr 8, 2014 at 11:22 AM, Tom Rini tr...@ti.com wrote: On Tue, Apr 08, 2014 at 09:35:29AM -0500, Nishanth Menon wrote: On Mon, Apr 7, 2014 at 9:29 AM, Tom Rini tr...@ti.com wrote: On Thu, Apr 03, 2014 at 06:19:25PM -0500, Nishanth Menon wrote: Boot from zImage and fdt_file if uImage

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

2014-04-08 Thread Tom Rini
On Tue, Apr 08, 2014 at 01:40:10PM +0200, Albert ARIBAUD wrote: Hi Tom, The following changes since commit 04d2f0a9f33112bd70ce4d9c451fdca1682e3a59: Revert Start the deprecation process for generic board (2014-04-04 10:09:19 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH] lib: Add CONFIG_FDT_IGNORE_FIXUP_MEMORY_NODE

2014-04-08 Thread thomas.langer
Hello Tom, Note that ARM provides arch_fixup_memory_node to make sure we have all of the bank information populated and then calls fdt_fixup_memory_banks, while PowerPC just calls fdt_fixup_memory which calls banks with a '1' for number of banks. MIPS (and everyone else) isn't doing anything

Re: [U-Boot] CONFIG_SYS_XIP_BOOT for when it's a choice?

2014-04-08 Thread Tom Rini
On Tue, Apr 08, 2014 at 03:02:44PM +0200, Wolfgang Denk wrote: Dear Tom, In message 20140407195731.GL23803@bill-the-cat you wrote: Maybe, maybe not. But it's beside the point. The point is we have SoC init code that needs to be run once. Sometimes this is true when

Re: [U-Boot] CONFIG_SYS_XIP_BOOT for when it's a choice?

2014-04-08 Thread Albert ARIBAUD
Hi Tom, On Tue, 8 Apr 2014 14:00:29 -0400, Tom Rini tr...@ti.com wrote: Maybe talking about this in patches will be clearer. To us people, possibly. To Patchwork, possibly not. :) http://patchwork.ozlabs.org/patch/337713/ Amicalement, -- Albert.

Re: [U-Boot] [RFC PATCH] MIPS: incaip: move board specific code out of generic code

2014-04-08 Thread Wolfgang Denk
Dear Daniel, In message 1396908893-12011-1-git-send-email-daniel.schwierz...@gmail.com you wrote: This is required to switch MIPS platform to generic board. Cc: Wolfgang Denk w...@denx.de Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- Wolfgang, I would rather remove

[U-Boot] U-Boot Loop

2014-04-08 Thread Tran, Dang
Hi, I'm running a PowerPC board that uses U-Boot and I get into this loop (see terminal output below). It doesn't matter how I get into this loop. What I really care about is how to break out of it without manually resetting the board. Is there a way to break out of this loop and reset the

Re: [U-Boot] [PATCH] buildman: make output dir configurable

2014-04-08 Thread Simon Glass
Hi Daniel, On 28 March 2014 14:46, Daniel Schwierzeck daniel.schwierz...@gmail.comwrote: Add an option to specify the output directory to override the default path '../'. This is useful for building in a ramdisk. Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com Cc: Simon Glass

Re: [U-Boot] CONFIG_SYS_XIP_BOOT for when it's a choice?

2014-04-08 Thread Wolfgang Denk
Dear Tom, In message 20140408180029.GR23803@bill-the-cat you wrote: Maybe talking about this in patches will be clearer. If instead of adding a new CONFIG option, I use CONFIG_SKIP_LOWLEVEL_INIT like this! I like this, too :-) Pasting it out, I like using CONFIG_SKIP_LOWLEVEL_INIT more to

Re: [U-Boot] [PATCH] buildman: make output dir configurable

2014-04-08 Thread Daniel Schwierzeck
2014-04-08 21:35 GMT+02:00 Simon Glass s...@chromium.org: Hi Daniel, On 28 March 2014 14:46, Daniel Schwierzeck daniel.schwierz...@gmail.com wrote: Add an option to specify the output directory to override the default path '../'. This is useful for building in a ramdisk. Signed-off-by:

Re: [U-Boot] [RFC PATCH] MIPS: incaip: move board specific code out of generic code

2014-04-08 Thread Daniel Schwierzeck
2014-04-08 21:39 GMT+02:00 Wolfgang Denk w...@denx.de: Dear Daniel, In message 1396908893-12011-1-git-send-email-daniel.schwierz...@gmail.com you wrote: This is required to switch MIPS platform to generic board. Cc: Wolfgang Denk w...@denx.de Signed-off-by: Daniel Schwierzeck

[U-Boot] mmc changes in v2014.04-rc3 cause problems when using mmc in SPL

2014-04-08 Thread Hans de Goede
Hi, While merging v2014.04-rc3 into our sunxi u-boot branch, I hit a problem where mmc would no longer work in the SPL. The problem is that the new mmc_create call forces use of HEAP memory, while in the SPL there may be no HEAP. For now I've created a small 2048 bytes HEAP in our SPL, but if

Re: [U-Boot] Different Port for TFTP communication

2014-04-08 Thread Nikolay Dimitrov
Hi Mario, You need to define CONFIG_TFTP_PORT in your board config file. Then you can use the env-vars tftpdstp and tftpsrcp for source/destination TFTP ports. You can check the source code at: net/tftp.c:798 Kind regards, Nikolay On 4/8/2014 1:00 PM, u-boot-requ...@lists.denx.de wrote: Hi,

Re: [U-Boot] [PATCH 5/10] common/env: Point default environment for GD

2014-04-08 Thread Scott Wood
On Mon, 2014-04-07 at 12:10 +0530, Prabhakar Kushwaha wrote: On 4/5/2014 5:21 AM, Scott Wood wrote: That doesn't really answer my question of how it gets initialized for NOR flash. What line in what file does the initialization? It looks like the answer is env_init() -- so it doesn't

Re: [U-Boot] mmc changes in v2014.04-rc3 cause problems when using mmc in SPL

2014-04-08 Thread Tom Rini
On Wed, Apr 09, 2014 at 12:05:04AM +0200, Hans de Goede wrote: Hi, While merging v2014.04-rc3 into our sunxi u-boot branch, I hit a problem where mmc would no longer work in the SPL. The problem is that the new mmc_create call forces use of HEAP memory, while in the SPL there may be no

[U-Boot] [PATCH 1/9] arm: rmobile: Add define of SCIF register for R8A7790 and R8A7791

2014-04-08 Thread Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- arch/arm/include/asm/arch-rmobile/rcar-base.h | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/include/asm/arch-rmobile/rcar-base.h b/arch/arm/include/asm/arch-rmobile/rcar-base.h index 4331d31..41240f3

[U-Boot] [PATCH 3/9] arm: rmobile: koelsch: Remove CONFIG_USE_ARCH_MEMSET and MEMCPY

2014-04-08 Thread Nobuhiro Iwamatsu
Because do not need these feature to koelsch board, this delete it. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- include/configs/koelsch.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/koelsch.h b/include/configs/koelsch.h index 2e81d29..ad6eecd

[U-Boot] [PATCH 2/9] arm: rmobile: koelsch: Remove define of SCIF register

2014-04-08 Thread Nobuhiro Iwamatsu
The define of SCIF register was already defined in rcar-base.h. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- include/configs/koelsch.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/koelsch.h b/include/configs/koelsch.h index 1a93d17..2e81d29 100644

[U-Boot] [PATCH 4/9] arm: rmobile: koelsch: Enable optimization of thumb

2014-04-08 Thread Nobuhiro Iwamatsu
This adds CONFIG_SYS_THUMB_BUILD to config, in order to enable optimization of thumb. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- include/configs/koelsch.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/koelsch.h b/include/configs/koelsch.h index

[U-Boot] [PATCH 6/9] arm: rmobile: lager: Remove CONFIG_USE_ARCH_MEMSET and MEMCPY

2014-04-08 Thread Nobuhiro Iwamatsu
Because do not need these feature to lager board, this delete it. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- include/configs/lager.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/lager.h b/include/configs/lager.h index 085fa77..3bc494f 100644 ---

[U-Boot] [PATCH 8/9] gpio: r8a7791-gpio: Fix typo in macro

2014-04-08 Thread Nobuhiro Iwamatsu
Fix typo from __ASM_R8A7791_H__ to __ASM_R8A7791_GPIO_H__. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- arch/arm/include/asm/arch-rmobile/r8a7791-gpio.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH 7/9] arm: rmobile: lager: Enable optimization of thumb

2014-04-08 Thread Nobuhiro Iwamatsu
This adds CONFIG_SYS_THUMB_BUILD to config, in order to enable optimization of thumb. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- include/configs/lager.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/lager.h b/include/configs/lager.h index

[U-Boot] [PATCH 5/9] arm: rmobile: lager: Remove define of SCIF register

2014-04-08 Thread Nobuhiro Iwamatsu
The define of SCIF register was already defined in rcar-base.h. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- include/configs/lager.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/lager.h b/include/configs/lager.h index ac31128..085fa77 100644 ---

[U-Boot] [PATCH 9/9] gpio: r8a7790-gpio: Fix typo in macro

2014-04-08 Thread Nobuhiro Iwamatsu
Fix typo from __ASM_R8A7790_H__ to __ASM_R8A7790_GPIO_H__. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- arch/arm/include/asm/arch-rmobile/r8a7790-gpio.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [U-Boot] [PATCH V2] mmc:eSDHC: Workaround for data timeout issue on Txxx SoC

2014-04-08 Thread Zhang Haijun
Thanks a lot. BTW, how about other patches? I saw there are patches conflict with mine now. Regards Thanks -- Haijun On 04/02/2014 06:27 PM, Pantelis Antoniou wrote: Hi Haijun, The patch looks good but it doesn't apply after the mmc changes I've made I've reworked and applied it; On Mar

Re: [U-Boot] [PATCH] build:arm: Remove setting of CROSS_COMPILE environment variable

2014-04-08 Thread Masahiro Yamada
Hi Albert, Applied to u-boot-arm/master, thanks! BTW, you failed to rephrase the commit message. Anyway it's too late and OK for me. -- 8 -- For building u-boot on ARM the CROSS_COMPILE environment variable, when not defined, was set to default value (prefix arm-linux-). Since not all

Re: [U-Boot] [PATCH v2 2/2] mx6: add example DTB for mx6qsabreauto

2014-04-08 Thread Masahiro Yamada
Hi Stefano, On Mon, 31 Mar 2014 09:50:36 +0200 Stefano Babic sba...@denx.de wrote: Signed-off-by: Stefano Babic sba...@denx.de CC: Fabio Estevam fabio.este...@freescale.com --- Changes in v2: - Use the same dts name as in kernel: imx6q-sabreauto.dts (Fabio Estevam, Lars Steubesand)

Re: [U-Boot] Bug in buildsystem for SPL LDSCRIPT

2014-04-08 Thread Masahiro Yamada
Hi Andreas, On Mon, 07 Apr 2014 11:35:07 +0200 Andreas Biesmann andreas.de...@googlemail.com wrote: and also to the list ... sorry for the noise On 04/07/2014 11:27 AM, Andreas Biesmann wrote: Hi Masahiro, a late bug report ;) changing my board config file will not regenerate the

Re: [U-Boot] [PATCH] lib: Add CONFIG_FDT_IGNORE_FIXUP_MEMORY_NODE

2014-04-08 Thread Masahiro Yamada
Hi Nobuhiro, Tom, diff --git a/arch/arm/lib/bootm-fdt.c b/arch/arm/lib/bootm-fdt.c index e40691d..8da9dac 100644 --- a/arch/arm/lib/bootm-fdt.c +++ b/arch/arm/lib/bootm-fdt.c @@ -18,6 +18,7 @@ #include common.h #include fdt_support.h +#ifndef CONFIG_FDT_IGNORE_FIXUP_MEMORY_NODE