[U-Boot] Standalone application issue.

2014-05-23 Thread mazen.e
Hi, I am trying to load and execute the hello world standalone app on the arndale exynos 5250. I created an image using the mkimage tool and then used the bootm to load and execute the image. However, the applications does not print anything on the terminal and all what I can see is the following

Re: [U-Boot] [PATCH v2] mmc: postponed needless timer initialization

2014-05-23 Thread Pantelis Antoniou
Hi Mateusz, On Apr 29, 2014, at 9:15 PM, Mateusz Zalega wrote: > mmc_init() doesn't call get_timer() anymore if MMC is already > initialized. > > Signed-off-by: Mateusz Zalega > Cc: Pantelis Antoniou > --- > Detached from earlier "DFU, MMC, Gadget, Goni, misc." series because of lack > of rele

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

2014-05-23 Thread Pantelis Antoniou
Hi Hannes, On Apr 8, 2014, at 9:39 AM, Hannes Petermaier wrote: > Since B&R boards uses only MMC-Controller #1, it only > wastes time if we initialize #0 first to see that there is nothing. > > Cc: > Signed-off-by: Hannes Petermaier > --- > board/BuR/common/common.c |7 +++ > include/co

Re: [U-Boot] [PATCH 1/1] Read mmc device memory capacity from EXT_CSD if memory is addressed by sector

2014-05-23 Thread Pantelis Antoniou
Hi Frank, On Apr 11, 2014, at 6:35 PM, Frank Bormann wrote: > Hi Pantos, hi Tom, > > I sent this a couple of months ago to the mailing list, never really received > a response. We are testing 2014.04-rc3 right now and the issue is still > there. Would you still consider bringing this fix in fo

Re: [U-Boot] [PATCH v2] mmc: Handle switch error status bit in MMC card status

2014-05-23 Thread Pantelis Antoniou
Hi Andrew, On Apr 3, 2014, at 12:34 PM, Andrew Gabbasov wrote: > MMC switch command for unsupported feature (e.g. bus width) sets a switch > error bit in card status. This bit should be checked, and, if it's set, > no access with new controller settings should be performed. > > Signed-off-by: An

Re: [U-Boot] [PATCH V5 1/3] eMMC: add support for operations in RPMB partition

2014-05-23 Thread Pantelis Antoniou
Hi Pierre, On Apr 24, 2014, at 11:30 AM, Pierre Aubert wrote: > This patch adds functions for read, write and authentication > key programming for the Replay Protected Memory Block partition > in the eMMC. > > Signed-off-by: Pierre Aubert > CC: Pantelis Antoniou > --- > Changes in V5: > - move

Re: [U-Boot] [PATCH V5 2/3] Add the function 'confirm_yesno' for interactive

2014-05-23 Thread Pantelis Antoniou
Hi Pierre, On Apr 24, 2014, at 11:30 AM, Pierre Aubert wrote: > User's confirmation is asked in different commands. This commit adds a > function for such confirmation. > > Signed-off-by: Pierre Aubert > --- > > V3, V4, V5: no changes > > Patch added in V2 > > common/cmd_fuse.c | 11 ++

Re: [U-Boot] [PATCH 1/4] cmd_part: fix type in part command help text

2014-05-23 Thread Pantelis Antoniou
Hi Stephen, On May 7, 2014, at 9:19 PM, Stephen Warren wrote: > From: Stephen Warren > > All the sub-commands start with the main command anme, but it was anme=name > missing from one of the help texts. > > Signed-off-by: Stephen Warren > --- > common/cmd_part.c | 2 +- > 1 file changed, 1 in

Re: [U-Boot] [PATCH 2/4] disk: support devices with HW partitions

2014-05-23 Thread Pantelis Antoniou
Hi Stephen, On May 7, 2014, at 9:19 PM, Stephen Warren wrote: > From: Stephen Warren > > Some device types (e.g. eMMC) have hardware-level partitions (for eMMC, > separate boot and user data partitions). This change allows the user to > specify the HW partition they wish to access when passing

Re: [U-Boot] [PATCH 3/4] mmc: provide a select_hwpart implementation for get_device()

2014-05-23 Thread Pantelis Antoniou
Hi Stephen, On May 7, 2014, at 9:19 PM, Stephen Warren wrote: > From: Stephen Warren > > This enables specifying which eMMC HW partition to target for any U-Boot > command that uses the generic get_partition() function to parse its > command-line arguments. > > Signed-off-by: Stephen Warren >

Re: [U-Boot] [PATCH 4/4] cmd_mmc: use new mmc_select_hwpart() function

2014-05-23 Thread Pantelis Antoniou
Hi Stephen, On May 7, 2014, at 9:19 PM, Stephen Warren wrote: > From: Stephen Warren > > The implementation of mmc_select_hwpart() was cribbed from do_mmcops(). > Update do_mmcops() to call mmc_select_hwpart() to avoid duplication. > > Signed-off-by: Stephen Warren > --- > common/cmd_mmc.c |

[U-Boot] Pull request: u-boot-mmc 23052014

2014-05-23 Thread Pantelis Antoniou
Hi Tom, The following changes since commit d7782d06534fe4fa47a49fa7c106de5ba85a9687: Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx (2014-05-16 18:30:33 -0400) are available in the git repository at: git://git.denx.de/u-boot-mmc.git master for you to fetch changes up to df348d

[U-Boot] Uboot-standalone-kernel.

2014-05-23 Thread mazen.e
Is it possible to load a bare-metal standalone application by using uboot, and let the standalone app load a kernel and FS, could you please propose a hint on how to it? Many thanks. -- View this message in context: http://u-boot.10912.n7.nabble.com/Uboot-standalone-kernel-tp180527.html Se

Re: [U-Boot] [PATCH v3] arm: Add support for semihosting for armv8 fastmodel targets.

2014-05-23 Thread bhupesh.sha...@freescale.com
Hi Darwin, > -Original Message- > From: Darwin Rambo [mailto:dra...@broadcom.com] > Sent: Tuesday, March 25, 2014 12:46 AM > To: u-boot@lists.denx.de > Cc: Darwin Rambo; Albert Aribaud; Tom Rini; feng...@phytium.com.cn; > Sharma Bhupesh-B45370 > Subject: [PATCH v3] arm: Add support for sem

Re: [U-Boot] Standalone application issue.

2014-05-23 Thread Wolfgang Denk
Dear "mazen.e", In message <1400831110428-180515.p...@n7.nabble.com> you wrote: > > I am trying to load and execute the hello world standalone app on the > arndale exynos 5250. I created an image using the mkimage tool and then used > the bootm to load and execute the image. However, the applicat

[U-Boot] [PATCH] esdhc/usdhc: Fix warning when CONFIG_SYS_FSL_ESDHC_USE_PIO is not set

2014-05-23 Thread Tom Rini
In 7168977 we made calls to check_and_invalidate_dcache_range() conditional on !CONFIG_SYS_FSL_ESDHC_USE_PIO. Only define this function in this case as well. Signed-off-by: Tom Rini --- drivers/mmc/fsl_esdhc.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mmc/fsl_esdhc.c b/d

Re: [U-Boot] [PATCH] esdhc/usdhc: Fix warning when CONFIG_SYS_FSL_ESDHC_USE_PIO is not set

2014-05-23 Thread Tom Rini
On Fri, May 23, 2014 at 09:20:53AM -0400, Tom Rini wrote: > In 7168977 we made calls to check_and_invalidate_dcache_range() > conditional on !CONFIG_SYS_FSL_ESDHC_USE_PIO. Only define this function > in this case as well. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] Pull request: u-boot-mmc 23052014

2014-05-23 Thread Tom Rini
On Fri, May 23, 2014 at 12:37:06PM +0300, Pantelis Antoniou wrote: > Hi Tom, > > The following changes since commit d7782d06534fe4fa47a49fa7c106de5ba85a9687: > > Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx (2014-05-16 > 18:30:33 -0400) > > are available in the git repository at

Re: [U-Boot] [PATCH 3/4] mmc: provide a select_hwpart implementation for get_device()

2014-05-23 Thread Stephen Warren
On 05/23/2014 03:21 AM, Pantelis Antoniou wrote: > Hi Stephen, > > On May 7, 2014, at 9:19 PM, Stephen Warren wrote: >> This enables specifying which eMMC HW partition to target for any U-Boot >> command that uses the generic get_partition() function to parse its >> command-line arguments. > Appl

Re: [U-Boot] [PATCH 3/4] mmc: provide a select_hwpart implementation for get_device()

2014-05-23 Thread Pantelis Antoniou
Hi Stephen, On May 23, 2014, at 6:58 PM, Stephen Warren wrote: > On 05/23/2014 03:21 AM, Pantelis Antoniou wrote: >> Hi Stephen, >> >> On May 7, 2014, at 9:19 PM, Stephen Warren wrote: >>> This enables specifying which eMMC HW partition to target for any U-Boot >>> command that uses the generic

Re: [U-Boot] [PATCH v2] spi: soft_spi: Support NULL din/dout buffers

2014-05-23 Thread Jagan Teki
On Fri, Apr 25, 2014 at 12:09 AM, Andrew Ruder wrote: > This mirrors the conventions used in other SPI drivers (kirkwood, > davinci, atmel, et al) where the din/dout buffer can be NULL when the > received/transmitted data isn't important. This reduces the need for > allocating additional buffers

Re: [U-Boot] [PATCH] sf: params: Added support for Spansion S25FL512S_512K

2014-05-23 Thread Jagan Teki
> On Tue, May 6, 2014 at 5:10 PM, Michal Simek wrote: >> Hi Jagan, >> >> On 04/25/2014 03:47 PM, Michal Simek wrote: >>> From: Siva Durga Prasad Paladugu >>> >>> Added support for Spansion chip "S25FL512S_512K". >>> >>> Signed-off-by: Siva Durga Prasad Paladugu >>> Signed-off-by: Michal Simek >

Re: [U-Boot] [PATCH 4/4] cmd_mmc: use new mmc_select_hwpart() function

2014-05-23 Thread Stephen Warren
On 05/23/2014 03:24 AM, Pantelis Antoniou wrote: > Hi Stephen, > > On May 7, 2014, at 9:19 PM, Stephen Warren wrote: > >> From: Stephen Warren >> >> The implementation of mmc_select_hwpart() was cribbed from do_mmcops(). >> Update do_mmcops() to call mmc_select_hwpart() to avoid duplication. >

Re: [U-Boot] [UBOOT][PATCH] mtd: spi: fix quad bit set path

2014-05-23 Thread Jagan Teki
On Wed, Apr 23, 2014 at 6:57 PM, Sourav Poddar wrote: > Currently, flash quad bit is set in "spi_flash_validate_params" and later > at the end in the same api, we write 0 to status register for few flashes, > thereby overriding the quad bit set. This fix moves the quad bit setting > outside this a

Re: [U-Boot] [PATCH v3] arm: Add support for semihosting for armv8 fastmodel targets.

2014-05-23 Thread Darwin Rambo
Hi Bhupesh, I believe that this patch is now stale, because other changes to boards.cfg and vexpress_aemv8a.h were done after this patch was submitted. So it doesn't apply cleanly anymore and needs to be regenerated. In the meantime can you remove this patch from your world since I believe th

[U-Boot] [PATCH] mmc: return meaningful error codes from mmc_select_hwpart

2014-05-23 Thread Stephen Warren
From: Stephen Warren Rather than just returning -1 everywhere, try to return something meaningful from mmc_select_hwpart(). Note that most other MMC functions don't do this, including functions called from mmc_select_hwpart(), so I'm not sure how effective this will be. Still, it's one less place

[U-Boot] [PATCH 2/2] disk: default to HW partition 0 if not specified

2014-05-23 Thread Stephen Warren
From: Stephen Warren Currently, get_device()/get_dev_hwpart() for MMC devices does not select an explicit HW partition unless the user explicitly requests one, i.e. by requesting device "mmc 0.0" rather than just "mmc 0". I think it makes more sense if the default is to select HW partition 0 (mai

[U-Boot] [PATCH 1/2] cmd_mmc: default to HW partition 0 if not specified

2014-05-23 Thread Stephen Warren
From: Stephen Warren Currently, "mmc dev 0" does not change the selected HW partition. I think it makes more sense if "mmc dev 0" is an alias for "mmc dev 0 0", i.e. that HW partition 0 (main data area) is always selected by default if the user didn't request a specific partition. Otherwise, the

Re: [U-Boot] [PATCH V2] cmd_mmc.c: check mmc_init() during mmc dev

2014-05-23 Thread Stephen Warren
On 05/20/2014 10:57 AM, Stephen Warren wrote: > From: Bryan Wu > > mmc dev ${devnum} will return 0 as success even if there is no card > inserted. Booting script like tegra-common-post.h will call mmc dev > ${devnum} to check the mmc device status, it always return 0 even if > mmc_init() fails. >

[U-Boot] [PATCH 3/3] cmd_mmc: make mmc dev always re-probe the HW

2014-05-23 Thread Stephen Warren
From: Stephen Warren Currently, U-Boot behaves as follows: - Begin with no SD card inserted in "mmc 1" - Execute: mmc dev 1 - This fails, since there is no card - User plugs in an SD card - Execute: mmc dev 1 - This still fails, since the HW isn't reprobed. With this change, U-Boot behaves as f

[U-Boot] [PATCH 1/3] cmd_mmc: add force_init parameter to init_mmc_device()

2014-05-23 Thread Stephen Warren
From: Stephen Warren This allows callers to inject mmc->has_init = 0 between finding the MMC device, and calling mmc_init(), which forces mmc_init() to rescan the HW. Future changes will use this feature. Signed-off-by: Stephen Warren --- common/cmd_mmc.c | 26 ++ 1 fi

[U-Boot] [PATCH 2/3] cmd_mmc: Use init_mmc_device() from do_mmc_rescan()

2014-05-23 Thread Stephen Warren
From: Stephen Warren The body of init_mmc_device() is now identical to that of do_mmc_rescan() except for the error codes returned. Modify do_mmc_rescan() to simply call init_mmc_device() and convert the error codes, to avoid code duplication. Signed-off-by: Stephen Warren --- common/cmd_mmc.c

[U-Boot] [Patch v2] powerpc/mpc85xx: Add workaround for DDR erratum A004508

2014-05-23 Thread York Sun
When the DDR controller is initialized below a junction temperature of 0°C and then operated above a junction temperature of 65°C, the DDR controller may cause receive data errors, resulting ECC errors and/or corrupted data. This erratum applies to the following SoCs and their variants: MPC8536, MP

Re: [U-Boot] Add myself as maintainer for chromebook-x86

2014-05-23 Thread Tom Rini
On Thu, May 15, 2014 at 02:42:11PM -0600, Simon Glass wrote: > This is currently the only x86 board. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boo

Re: [U-Boot] doc:git-mailrc: Add entry for dfu subsystem

2014-05-23 Thread Tom Rini
On Thu, May 22, 2014 at 03:26:55PM +0200, Łukasz Majewski wrote: > Entry for dfu subsystem have been added to doc/git-mailrc file > > Signed-off-by: Lukasz Majewski Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v3] examples: select libgcc for non-default architecture

2014-05-23 Thread Tom Rini
On Fri, May 16, 2014 at 12:54:17PM +0400, Alexey Brodkin wrote: > In case of multilib-enabled toolchains if default architecture differ from > the one examples are being built for linker will fail to link example object > files with libgcc of another (non-compatible) architecture. > > Interesting

Re: [U-Boot] [RFC, PATCH v2 1/4] dm: rename device struct to udevice

2014-05-23 Thread Simon Glass
Hi Heiko, On 22 May 2014 17:56, Heiko Schocher wrote: > Hello Simon, > > Am 22.05.2014 22:34, schrieb Simon Glass: > >> +Tom >> >> Hi Heiko, >> >> On 22 May 2014 00:43, Heiko Schocher wrote: >>> >>> using UBI and DM together leads in compiler error, as >>> both define a "struct device", so renam

Re: [U-Boot] [PATCH v2 1/2] Exynos5420: Introduce support for the Peach-Pit board

2014-05-23 Thread Simon Glass
Hi Akshay, On 21 May 2014 23:23, Akshay Saraswat wrote: > While the Exynos5420 chip is used in both Smdk5420 and in the Peach-Pit > line of devices, there could be other boards using the same chip, so a > common configuration file is being added (exynos5420.h) as well > as two common device tree

Re: [U-Boot] [PATCH v2 0/2] Introduction of new board Peach-Pit

2014-05-23 Thread Simon Glass
Hi Akshay, On 21 May 2014 23:23, Akshay Saraswat wrote: > This board is based on Exynos5420 and is similar to SMDK5420 board. > Adding new and refactoring existing DT and config files to support > both SMDK5420 and Peach-Pit. > > Changes since v1: > - Added "Acked-by". One more thing I

Re: [U-Boot] [PATCH 1/4] Exynos5: DMC: Modify the definition of ddr3_mem_ctrl_init

2014-05-23 Thread Simon Glass
Hi Akshay, On 21 May 2014 23:32, Akshay Saraswat wrote: > Passing fewer arguments is better and mem_iv_size is never > used. Let's keep only one argument and make it cleaner. I agree with removing mem_iv_size as it is not used. But all you are doing with the other parameter is making the called

Re: [U-Boot] [PATCH 2/4] Exynos5420: Remove code for enabling read leveling

2014-05-23 Thread Simon Glass
Hi Akshay, On 21 May 2014 23:33, Akshay Saraswat wrote: > This patch intends to remove all code which enables hardware read > leveling. All characterization environments may not cope up with > h/w read leveling enabled, hence, we need to disable this. > Also, disabling h/w read leveling improves

Re: [U-Boot] [PATCH 3/4] DMC: exynos5420: Gate CLKM to when reading PHY_CON13

2014-05-23 Thread Simon Glass
On 21 May 2014 23:33, Akshay Saraswat wrote: > From: Doug Anderson > > From experiments it appears that PHY_CON13 is glitchy if we sample it > when CLKM is running. If we stop CLKM when sampling it the glitches > all go away, so we'll do that. > > We also check the "is it locked" bits of PHY_CON

Re: [U-Boot] [PATCH 4/4] Exynos5420: DMC: Add software read leveling

2014-05-23 Thread Simon Glass
Hi Akshay, On 21 May 2014 23:33, Akshay Saraswat wrote: > Sometimes Read DQ and DQS are not in phase. Since, this > phase shift differs from board to board, we need to > calibrate it at DRAM init phase, that's read DQ calibration. > This patch adds SW Read DQ calibration routine to compensate > t

[U-Boot] [PATCH v4] arm: Add support for semihosting for armv8 fastmodel targets.

2014-05-23 Thread Darwin Rambo
The reason for this change is to be able to use the ARM Trusted Firmware (ATF) to load the various ATF images, plus u-boot, which can then load the kernel/ramdisk/dtb with calls to an external host from a standard fastmodel armv8 board file using semihosting, and then launch the kernel without a bo

Re: [U-Boot] [U-Boot, 1/3] cm-t54: add EEPROM support and MAC address handling

2014-05-23 Thread Tom Rini
On Sun, Apr 27, 2014 at 01:18:46PM +0300, Dmitry Lifshitz wrote: > cm-t54 Eth MAC address is stored in onboard EEPROM. > Add EEPROM support and setup stored Eth MAC address. > > If EEPROM does not contain a valid MAC, then generate it from the > processor ID code (reference code is taken from OMA

Re: [U-Boot] [U-Boot, v1, 1/3] ARM: omap4: add platform specific info for GPMC and ELM controllers

2014-05-23 Thread Tom Rini
On Thu, May 08, 2014 at 09:43:45PM +0530, pekon gupta wrote: > This patch moves platform specific information for GPMC and ELM controller > into separate header files, so that any derivative devices do not mess other > header files. > > Platform specific information added into arch-xx/../hardware

Re: [U-Boot] [U-Boot, 3/3] cm-t54: add environment partition runtime detection

2014-05-23 Thread Tom Rini
On Sun, Apr 27, 2014 at 01:18:48PM +0300, Dmitry Lifshitz wrote: > Add environment partition runtime detection callback. > > Signed-off-by: Dmitry Lifshitz > Acked-by: Igor Grinberg Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, U-Boot, 1/5] ARM: DRA72x: Add Silicon ID support

2014-05-23 Thread Tom Rini
On Thu, May 15, 2014 at 11:08:38AM +0530, Lokesh Vutla wrote: > Add silicon ID code for DRA722 silicon. > > Signed-off-by: Lokesh Vutla > Acked-by: Tom Rini Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] arm, am33xx: Enable CONFIG_SYS_GENERIC_BOARD for siemens boards

2014-05-23 Thread Tom Rini
On Wed, May 14, 2014 at 12:40:27PM +0200, Heiko Schocher wrote: > Signed-off-by: Heiko Schocher > Cc: Tom Rini > Cc: Samuel Egli > Cc: Roger Meier > Tested-by: Samuel Egli Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, v1, 2/3] ARM: omap5: add platform specific info for GPMC and ELM controllers

2014-05-23 Thread Tom Rini
On Thu, May 08, 2014 at 09:43:46PM +0530, pekon gupta wrote: > This patch moves platform specific information for GPMC and ELM controller > into separate header files, so that any derivative devices do not mess other > header files. > > Platform specific information added into arch-xx/../hardware

Re: [U-Boot] ARM: OMAP: Fix omap_sdram_size calculation

2014-05-23 Thread Tom Rini
On Mon, May 12, 2014 at 01:49:33PM +0530, Lokesh Vutla wrote: > Last section of DMM is used for trapping tiler unmapped sections. > Corresponding trap_size should be deducted from total SDRAM size > only if trap section is overlapping with available SDRAM > based on DMM sections. Fixing the same.

Re: [U-Boot] [U-Boot, U-Boot, 2/5] ARM: DRA72x: volt: Update the pmic offsets

2014-05-23 Thread Tom Rini
On Thu, May 15, 2014 at 11:08:39AM +0530, Lokesh Vutla wrote: > From: Keerthy > > TPS65917 is used in DRA722 evm. Update the address offsets accordingly. > > Signed-off-by: Lokesh Vutla > Signed-off-by: Keerthy > Acked-by: Tom Rini Applied to u-boot-ti/master, thanks! -- Tom signature.a

Re: [U-Boot] [U-Boot, U-Boot, 3/5] ARM: DRA72x: clocks: Update the hwdata

2014-05-23 Thread Tom Rini
On Thu, May 15, 2014 at 11:08:40AM +0530, Lokesh Vutla wrote: > Adding the prcm, dplls, control module hooks for DRA72x. > > Signed-off-by: Lokesh Vutla > Acked-by: Tom Rini Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, U-Boot, 5/5] ARM: DRA7xx: ctrl: Fix efuse register addresses

2014-05-23 Thread Tom Rini
On Thu, May 15, 2014 at 11:08:42AM +0530, Lokesh Vutla wrote: > Efuse register addresses are wrongly programmed. > Fixing the same. > > Signed-off-by: Lokesh Vutla > Acked-by: Tom Rini Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,U-Boot,4/5] ARM: DRA72x: Update EMIF data

2014-05-23 Thread Tom Rini
On Thu, May 15, 2014 at 11:08:41AM +0530, Lokesh Vutla wrote: > DRA72 has 1GB connected to EMIF1 only. Updating the details. > And also enable WA for BUG0039 only if corresponding EMIF is present. > > Signed-off-by: Lokesh Vutla > Acked-by: Tom Rini Applied to u-boot-ti/master, thanks! -- To

Re: [U-Boot] [U-Boot,v2,4/4] cm-t54: add cm-t54 board support

2014-05-23 Thread Tom Rini
On Mon, May 19, 2014 at 12:50:54PM +0300, Dmitry Lifshitz wrote: > Add cm-t54 board directory, config file. Enable build. > > Basic support includes: > > Serial console > SD/MMC > eMMC > USB > Ethernet > > Signed-off-by: Dmitry Lifshitz > Acked-by: Igor Grinberg Applied to u-boot-ti/master,

Re: [U-Boot] compulab: eeprom: add default eeprom address

2014-05-23 Thread Tom Rini
On Thu, May 15, 2014 at 11:25:09AM +0300, Igor Grinberg wrote: > Add default eeprom address setting. > > Signed-off-by: Igor Grinberg Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] armv7:TI: Add and migrate omap_hw_init_context

2014-05-23 Thread Tom Rini
On Fri, May 16, 2014 at 01:02:24PM -0400, Tom Rini wrote: > The omap_hw_init_context function (and assorted helpers) is the same for > all OMAP-derived parts as when CHSETTINGS are used, that's the same and > our DDR base is also always the same. In order to make this common we > simply need to u

Re: [U-Boot] [U-Boot, v2, 1/9] omap: overo: allow the use of a plain text env file instead boot scripts

2014-05-23 Thread Tom Rini
On Wed, May 21, 2014 at 02:04:47PM -0700, Ash Charles wrote: > Adapted from d70f5480 described below. > > commit d70f54808dfa83b574e1239c3eccbcf3317343e1 > Author: Javier Martinez Canillas > Date: Mon Jan 7 03:51:20 2013 + > > omap4: allow the use of a plain text env file

Re: [U-Boot] [U-Boot, v2, 2/9] OMAP3: overo: add command support for mtd and ubi

2014-05-23 Thread Tom Rini
On Wed, May 21, 2014 at 02:04:48PM -0700, Ash Charles wrote: > The NAND linux partition format default was changed from jffs2 to ubi in > 254973e6df0e48f1a72b67905185c774dcd9f394 but the corresponding commands were > not enabled. > > Signed-off-by: Peter A. Bigot > Tested-by: Ash Charles Appli

Re: [U-Boot] [U-Boot, v2, 4/9] OMAP3: overo: eliminate hard-coded partition offsets

2014-05-23 Thread Tom Rini
On Wed, May 21, 2014 at 02:04:50PM -0700, Ash Charles wrote: > The linux kernel is at nand0,3 using the current layout, but is best > accessed through the partition label "linux". Since CONFIG_CMD_MTDPARTS is > defined the CONFIG_JFFS2 settings are unreferenced; use "setenv partition > rootfs" to

Re: [U-Boot] [U-Boot, v2, 5/9] arm: omap3: Fix omap3_overo SPL boot hangup

2014-05-23 Thread Tom Rini
On Wed, May 21, 2014 at 02:04:51PM -0700, Ash Charles wrote: > Patch f33b9bd3 > [arm: omap3: Enable clocks for peripherals only if they are used] > breaks SPL booting on Overo. Since some gpio inputs are > read to detect the board revision. But with this patch above, the > clocks to the GPIO subsy

Re: [U-Boot] [U-Boot, v2, 3/9] OMAP3: overo: increase linux partition to 8 MiB

2014-05-23 Thread Tom Rini
On Wed, May 21, 2014 at 02:04:49PM -0700, Ash Charles wrote: > From: "Peter A. Bigot" > > Linux kernel at version 3.5 is about 3.5 MiB; test kernels for 3.10 exceed 4 > MiB. Prepare for future upgrades by increasing the NAND partition now. > > Signed-off-by: Peter A. Bigot > Tested-by: Ash Ch

Re: [U-Boot] [U-Boot, v2, 8/9, omap3, overo] Allow overo to boot with device tree

2014-05-23 Thread Tom Rini
On Wed, May 21, 2014 at 02:04:54PM -0700, Ash Charles wrote: > Update the board configuration for Gumstix Overo. In particular, > add support for zImage and DTB files on boot. > > Signed-off-by: Ash Charles Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signa

Re: [U-Boot] [U-Boot, v2, 6/9, omap3, overo] Add Board Revision for Wireless chip

2014-05-23 Thread Tom Rini
On Wed, May 21, 2014 at 02:04:52PM -0700, Ash Charles wrote: > Gumstix Overo COMs with board revision 0x4 use a different Wifi and > Bluetooth module: Wi2Wi's W2CBW0015. No other code changes are required > in u-boot---just handling of this particular board revision. > > Signed-off-by: Ash Charl

Re: [U-Boot] [U-Boot, v2, 7/9] OMAP3: overo: add some Gumstix expansion boards

2014-05-23 Thread Tom Rini
On Wed, May 21, 2014 at 02:04:53PM -0700, Ash Charles wrote: > Add EEPROM ID switches for Alto35, Arbor43C, Stagecoach, Thumbo, and > Turtlecore Gumstix Overo expansion boards. > > Signed-off-by: Ash Charles Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital sign

Re: [U-Boot] [U-Boot, v2, 9/9] omap3: overo: Use common configurations for Overo

2014-05-23 Thread Tom Rini
On Wed, May 21, 2014 at 02:04:55PM -0700, Ash Charles wrote: > Clean-up the board configuration file for the Gumstix Overo board by > including common omap3 definitions from ti_omap3_common.h as suggested > here [1]. > > [1] http://permalink.gmane.org/gmane.comp.boot-loaders.u-boot/185960 > > Si

Re: [U-Boot] [U-Boot, 1/1] am33xx: report silicon revision instead of code

2014-05-23 Thread Tom Rini
On Thu, May 22, 2014 at 11:56:03AM +0400, Sergey Alyoshin wrote: > As revision code 1 is for silicon revision 2.0, it is easily confused with > silicon revision 1.0. > > Device type report also reworked in same style. > > Signed-off-by: Sergey Alyoshin Applied to u-boot-ti/master, thanks! --

Re: [U-Boot] compulab: eeprom: enable any i2c driver

2014-05-23 Thread Tom Rini
On Wed, Apr 16, 2014 at 01:48:26PM +0300, Ilya Ledvich wrote: > Make the common eeprom library available for any I2C driver. > > Signed-off-by: Ilya Ledvich > Signed-off-by: Igor Grinberg Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v3] omap4: duovero: Add Gumstix DuoVero machine.

2014-05-23 Thread Tom Rini
On Wed, May 14, 2014 at 08:34:34AM -0700, Ash Charles wrote: > This adds the Gumstix DuoVero machine [1]. This is a OMAP4430-based > computer-on-module (COM aka SOM) that can be mounted on various > expansion boards with different peripherals. > > [1] https://store.gumstix.com/index.php/category

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

2014-05-23 Thread Tom Rini
Hello, The following changes since commit 05d134b084590684bcf4d832c0035952727b7cd9: Merge remote-tracking branch 'u-boot/master' (2014-05-20 10:05:42 +0200) are available in the git repository at: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to 39338a30fab2ce7d80dfe0

Re: [U-Boot] [U-Boot, v1, 3/3] ARM: omap: merge GPMC initialization code for all platform

2014-05-23 Thread Tom Rini
On Thu, May 08, 2014 at 09:43:47PM +0530, pekon gupta wrote: > GPMC controller on TI's OMAP SoC is general purpose controller to interface > with different types of external devices like; > - parallel NOR flash > - parallel NAND flash > - OneNand flash > - SDR RAM > - Ethernet Devices like LA

Re: [U-Boot] [PATCH v4 1/4] bootm: make use of legacy image format configurable

2014-05-23 Thread Simon Glass
Hi Heiko, On 19 May 2014 20:49, Heiko Schocher wrote: > make the use of legacy image format configurable through > the config define CONFIG_IMAGE_FORMAT_LEGACY. > > When relying on signed FIT images with required signature check > the legacy image format should be disabled. Therefore introduce >

Re: [U-Boot] Unable to boot the new FIT image

2014-05-23 Thread Simon Glass
Hi, On 21 May 2014 15:12, Simon Glass wrote: > Hi Harsha, > > On 21 May 2014 06:46, Harsha Kiran wrote: >> Hi Simon, >> >> I have added the next patch in the series i.e., (../339610/) But the >> result is still the same. This particular patch just created a device tree >> In the arch/arm/dts

Re: [U-Boot] [PATCH v3 3/4] lib, fdt: move fdtdec_get_int() out of lib/fdtdec.c

2014-05-23 Thread Simon Glass
Hi Heiko, On 18 May 2014 19:10, Heiko Schocher wrote: > move fdtdec_get_int() out of lib/fdtdec.c into lib/fdtdec_common.c > as this function is also used, if CONFIG_OF_CONTROL is not > used. Poped up on the ids8313 board using signed FIT images, > and activating CONFIG_SYS_GENERIC_BOARD. Without

Re: [U-Boot] [PATCH] Exynos: Make sure ps_hold gets set in the SPL

2014-05-23 Thread Simon Glass
On 22 May 2014 01:53, Akshay Saraswat wrote: > From: Doug Anderson > > Setting ps_hold ought to be one of the first things we do when we > first boot up. If we wait until the main u-boot runs we won't set it > in time and the PMIC may power us back off. > > Moving ps_hold setup into the generic p

Re: [U-Boot] [PATCH] test:dfu: Add test script for testing DFU regression

2014-05-23 Thread Simon Glass
Hi Lukasz, On 22 May 2014 00:43, Lukasz Majewski wrote: > This commit adds test script for testing if any commit has introduced > regression to the DFU. > > It uses md5 to test if sent and received file is correct. > The test detailed description is available at DESCRIPTION.TXT file. > > Signed-o

Re: [U-Boot] [PATCH v2 1/9] fdt_support: delete unnecessary DECLARE_GLOBAL_DATA_PTR

2014-05-23 Thread Simon Glass
On 17 April 2014 22:40, Masahiro Yamada wrote: > gd->bd is not used in fdt_support.c. > > Signed-off-by: Masahiro Yamada Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 2/9] fdt_support: refactor with fdt_find_or_add_subnode helper func

2014-05-23 Thread Simon Glass
Hi Masahiro, On 17 April 2014 22:40, Masahiro Yamada wrote: > Some functions in fdt_support.c do the same routine: > search a node with a given name ("chosen", "memory", etc.) > or newly create it if it does not exist. > > So this commit makes that routine to a helper function. > > Signed-off-by:

Re: [U-Boot] [PATCH v2 3/9] fdt_support: delete force argument of fdt_initrd()

2014-05-23 Thread Simon Glass
On 17 April 2014 22:40, Masahiro Yamada wrote: > After all, we have realized "force" argument is completely > useless. fdt_initrd() was always called with force = 1. > > We should always want to do the same thing > (set appropriate value to the property) > even if the property already exists. > >

Re: [U-Boot] [PATCH v2 4/9] fdt_support: delete force argument of fdt_chosen()

2014-05-23 Thread Simon Glass
On 17 April 2014 22:41, Masahiro Yamada wrote: > After all, we have realized "force" argument is completely > useless. fdt_chosen() was always called with force = 1. > > We should always want to do the same thing > (set appropriate value to the property) > even if the property already exists. > >

Re: [U-Boot] [PATCH v2 5/9] fdt_support: refactor fdt_fixup_stdout() function

2014-05-23 Thread Simon Glass
On 17 April 2014 22:41, Masahiro Yamada wrote: > - Do not use a deep indentation. We have only 80-character >on each line and 1 indentation consumes 8 spaces. Before the >code moves far to the right, you should consider to >fix your code. See Linux Documentation/CodingStyle. > > - Ad

Re: [U-Boot] [PATCH v2 6/9] fdt_support: add 'const' qualifier for unchanged argument

2014-05-23 Thread Simon Glass
On 17 April 2014 22:41, Masahiro Yamada wrote: > In the next commit, I will add a new function, fdt_pack_reg() > which uses get_cells_len(). > > Beforehand, this commit adds 'const' qualifier to get_cells_len(). > Otherwise, a warning message will appear: > warning: passing argument 1 of 'get_cel

Re: [U-Boot] [PATCH v2 7/9] fdt_support: fix an endian bug of fdt_fixup_memory_banks

2014-05-23 Thread Simon Glass
On 17 April 2014 22:41, Masahiro Yamada wrote: > Data written to DTB must be converted to big endian order. > It is usually done by using cpu_to_fdt32(), cpu_to_fdt64(), etc. > > fdt_fixup_memory_banks() invoked write_cell(), which always > swaps byte order. > It means the function only worked on

Re: [U-Boot] [PATCH v2 8/9] fdt_support: fix an endian bug of fdt_initrd()

2014-05-23 Thread Simon Glass
On 17 April 2014 22:41, Masahiro Yamada wrote: > Data written to DTB must be converted to big endian order. > It is usually done by using cpu_to_fdt32(), cpu_to_fdt64(), etc. > > fdt_initrd() invoked write_cell(), which always swaps byte order. > It means the function only worked on little endian

Re: [U-Boot] [PATCH v2 9/9] fdt_support: correct the return condition of fdt_initrd()

2014-05-23 Thread Simon Glass
On 17 April 2014 22:41, Masahiro Yamada wrote: > Before this commit, fdt_initrd() just returned if initrd > start address is zero. > But it is possible if the RAM is located at address 0. > > This commit makes the return condition more reasonable: > Just return if the size of initrd is zero. > > S

Re: [U-Boot] idirafter causes host sha256.h to be included

2014-05-23 Thread Simon Glass
+Masahiro Hi Jeroen, On 9 May 2014 12:31, Jeroen Hofstee wrote: > Hello, > > tools/Makefile uses the following substitution > > HOST_EXTRACFLAGS += -include $(srctree)/include/libfdt_env.h \ > $(patsubst -I%,-idirafter%, $(UBOOTINCLUDE)) \ > ... > > Which adds -id

Re: [U-Boot] [RFC PATCH v2 03/13] sandbox: Support iotrace feature

2014-05-23 Thread Simon Glass
Hi Rommel, On 12 May 2014 18:46, Rommel G Custodio wrote: > Dear Simon Glass, > > Simon Glass chromium.org> writes: > >> >> Support the iotrace feature for sandbox, and enable it, using some dummy >> I/O access methods. >> >> Signed-off-by: Simon Glass chromium.org> >> --- > > > >> >> diff --g

Re: [U-Boot] [RFC] Extend 'bootm' to support Linux kernel generated images

2014-05-23 Thread Simon Glass
Hi Tom, On 21 May 2014 10:46, Tom Rini wrote: > On Wed, May 21, 2014 at 10:10:50PM +0200, Wolfgang Denk wrote: >> Dear Tom Rini, >> >> In message <20140521195824.GE1752@bill-the-cat> you wrote: >> > >> > Something that Rob mentioned to me at ELC, and others have mentioned >> > before is that it w

Re: [U-Boot] mkimage: path behavior for FIT images

2014-05-23 Thread Simon Glass
Hi Yegor, On 20 May 2014 20:59, Yegor Yefremov wrote: > I have following folder structure: > > board/kernel_fdt.its > output/images/zImage > > The kernel.its has following path for the zImage: > > data = /incbin/("output/images/zImage"); > > When I invoke mkimage like this, it complains, that > "

[U-Boot] [PATCH 0/4] Fix a few problems with the command parsers

2014-05-23 Thread Simon Glass
In a few cases the behaviour of both the hush and built-in parsers seems incorrect. One such case was exposed by commit 1992dbf which attempted to execute a simple command using hush and get the correct return value. Further digging exposed the other problems. Simon Glass (4): Add final result

[U-Boot] [PATCH 1/4] Add final result tests for run_command_list()

2014-05-23 Thread Simon Glass
run_command_list() is supposed to return a return code of 0 for success and 1 for failure. Add a few simple tests that confirm this. These tests work both with the built-in parser and hush. Signed-off-by: Simon Glass --- test/command_ut.c | 5 + 1 file changed, 5 insertions(+) diff --git a

[U-Boot] [PATCH 4/4] Correct return code from builtin_run_command_list()

2014-05-23 Thread Simon Glass
The return code is not consistent with builtin_run_command_list(). For the last command in a sequence, the return code is actually inverted. Fix it. Signed-off-by: Simon Glass --- common/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/main.c b/common/main.c ind

[U-Boot] [PATCH 3/4] Fix hush to give the correct return code for a simple command

2014-05-23 Thread Simon Glass
When a simple command like 'false' is provided, hush should return the result of that command. However, hush only does this if the FLAG_EXIT_FROM_LOOP flag is provided. Without this flag, hush will happily execute the empty string command immediate after 'false' and then return a success code. Thi

[U-Boot] [PATCH 2/4] Fix itest mask overflow

2014-05-23 Thread Simon Glass
The mask value used in itest overflows and therefore it can return an incorrect result for something like 'itest 0 == 1'. Fix it. Signed-off-by: Simon Glass --- common/cmd_itest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cmd_itest.c b/common/cmd_itest.c index a