[U-Boot] [PATCH] powerpc/t1040qds: Add DDR Raw Timing support

2013-10-25 Thread Priyanka Jain
T1040QDS-D3 has dual-rank DDR: Micron, MT18KSF51272AZ-1G6 (4GB, x72, CL=10). Add Raw Timing structure for this DDR. Typically SPD method is used for getting DDR parameter and calculating values for various DDR controller registers. But somentimes it may happen that SPD present on DDR may

[U-Boot] [PATCH] powerpc/t1040qds: Correct Maintainer name in boards.cfg

2013-10-25 Thread Priyanka Jain
Update T1040QDS naem to Poonam Aggrwal. Signed-off-by: Priyanka Jain priyanka.j...@freescale.com --- Based on u-boot-mpc85xx/next branch. boards.cfg |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/boards.cfg b/boards.cfg index 5e10125..dfe1c59 100644 --- a/boards.cfg

[U-Boot] u-boot hw assisted BCH8 not compatible with am335x architecure

2013-10-25 Thread matti kaasinen
Hi! I have found that ubifs formatted on Linux (2.8.13) side is not compatible on u-boot side. Executing ubi part partition throws tons of ECC error messages and in fact this same ubifs partition will be found corrupted on Linux side immediately after this single operation. I have investigated

Re: [U-Boot] u-boot hw assisted BCH8 not compatible with am335x architecure

2013-10-25 Thread matti kaasinen
Editing those findings did not help. In fact I was referring a wrong file in my last message. File README.omap3 refers to is: arch/arm/include/asm/arch-omap3/omap_gpmc.h Whereas in my last message I was referring: arch/arm/include/asm/arch-am33x/omap_gpmc.h However, there was one mistake also in

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

2013-10-25 Thread Stephen Warren
On 10/20/2013 09:47 PM, Simon Glass wrote: Hi Stephen, On Wed, Jun 26, 2013 at 1:56 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 06/24/2013 02:46 PM, Simon Glass wrote: At present U-Boot environment variables, and thus scripts, are defined by CONFIG_EXTRA_ENV_SETTINGS. It is painful

Re: [U-Boot] check if board is in uboot / kernel via ethernet?

2013-10-25 Thread Abraham V.
One way is to run a service in one that is not present in the other. For example, try running an ssh or telnet server in your kernel, but not in uboot (To my knowledge neither is possible in the bootloader, but I may be wrong). That way, if you can connect to your board via ssh, then you know that

[U-Boot] boards/p2041rdb: U-Boot 2013.10 SD Card Booting Issue

2013-10-25 Thread Ryan Barnett
I was able to get SD Card booting for P2041RDB working correctly with U-Boot 2013.07. However, today I was attempting to move to 2013.10, and I'm having issues booting from the SD Card. Specifically issues with U-Boot not reading my FMan firmware binary file on the SD Card. NOTE: all of the

[U-Boot] MPC8641D stucks before relocation

2013-10-25 Thread Ashish Khetan
hii I am using MPC8641D based custom board for evaluation purpose. I am using minimal configuration for this board i.e. only FLASH and DDR initialisation. when I compiled U-boot in debug mode its printing addresses, i check for those addresses and found that it is unable to relocate itself to

Re: [U-Boot] u-boot and Linux hanle ubifs ecc in different way on beaglebon variant board

2013-10-25 Thread Tim Harvey
On Thu, Oct 24, 2013 at 6:18 AM, matti kaasinen matti.kaasi...@gmail.com wrote: Hi! Im working on beaglebone variant board - basically the same as beaglebone but with NAND flash on board with am33x processor. Ubifs works fine when I access it purely from Linux (formatting, making ubifs

[U-Boot] [[PATCH]pandaboard: 0/1] Modification of Elpida DDR2 RAM for Pandaboard-ES Rev B3

2013-10-25 Thread Hardik
From: Hardik Patel hardik.pa...@volansystech.com This patch adds Elpida DDR2 RAM support for Pandaboard-ES Rev-B3 board.Enable automatic sdram detection in pandaboard defconfig, so that Elpida DDR2 RAM gets detected on Pandaboard-ES Rev-B3 board. We verified that u-boot works on Panadaboard-ES

[U-Boot] [[PATCH]pandaboard: 1/1] Modification of Elpida DDR2 RAM for Pandaboard-ES Rev B3

2013-10-25 Thread Hardik
From: Hardik Patel hardik.pa...@volansystech.com Signed-off-by: Hardik Patel hardik.pa...@volansystech.com --- include/configs/omap4_common.h |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h index

Re: [U-Boot] boards/p2041rdb: U-Boot 2013.10 SD Card Booting Issue

2013-10-25 Thread Ryan Barnett
All, This issue has since been resolved. I sent this email yesterday morning and since this was my first post to u-boot mailing list I needed moderator approval. This issues has since been resolved by applying Haijun Zhang's patch: [PATCH 1/2] esdhc: memset mmc struct before putting into use

Re: [U-Boot] [PATCH 1/2] esdhc: memset mmc struct before putting into use

2013-10-25 Thread Ryan Barnett
Haijun Zhang haijun.zh...@freescale.com wrote on 10/24/2013 08:54:42 PM: struct mmc should be clear to all '0' after malloc to avoid unexpect variable value. Like mmc-has_init = xxx. In this case mmcinfo will believe the card had been initialized before and skip the initialization. Test

Re: [U-Boot] MPC8641D stucks before relocation

2013-10-25 Thread York Sun
It is probably because your DDR wasn't initialized correctly. You can try to dump all DDR registers and check if anyone is suspicious. You can also override any register before enabling the controller. You may also add some memory test before relocation. York On 10/25/2013 06:38 AM, Ashish

Re: [U-Boot] Changing CONFIG_SYS_PROMPT on the fly

2013-10-25 Thread Laszlo Papp
Ping? On Thu, Oct 24, 2013 at 6:29 PM, Laszlo Papp lp...@kde.org wrote: Hi, is it possible from within a running u-boot session? The use case is that I would like to make a screenshot, but without the proprietary name people may have set ... Cheers, Laszlo

Re: [U-Boot] MPC8641D stucks before relocation

2013-10-25 Thread Ashish Khetan
Thanks For reply, i check DDR configuration using Code warrior, and successfully getting read/write from DDR. I use the following configuration in code warrior and same in u-boot... writemem.l 0xf8006000 0x001f # CS0_BNDS writemem.l 0xf8006080 0x80914102 # CS0_CONFIG writemem.l

Re: [U-Boot] [RESEND PATCH v3 1/2] ARM: IGEP0033: rename config file to am335x_igep0033.h

2013-10-25 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/24/2013 04:22 PM, Javier Martinez Canillas wrote: On Thu, Oct 17, 2013 at 6:30 AM, Javier Martinez Canillas jav...@dowhile0.org wrote: From: Javier Martinez Canillas jav...@dowhile0.org There seems to be a naming convention for the

Re: [U-Boot] Changing CONFIG_SYS_PROMPT on the fly

2013-10-25 Thread Simon Glass
Hi, On Fri, Oct 25, 2013 at 6:11 PM, Laszlo Papp lp...@kde.org wrote: Ping? On Thu, Oct 24, 2013 at 6:29 PM, Laszlo Papp lp...@kde.org wrote: Hi, is it possible from within a running u-boot session? The use case is that I would like to make a screenshot, but without the proprietary

[U-Boot] [PATCH v3 0/5] env: Add support for environment files

2013-10-25 Thread Simon Glass
(Note that Wolfgang is looking at a way of adjusting the environment within a U-Boot binary - this series could fit with that but aims to improve the creation of the initial default environment). At present U-Boot environment variables, and thus scripts, are defined by CONFIG_EXTRA_ENV_SETTINGS.

[U-Boot] [PATCH v3 2/5] Make 'run' use run_command_list() instead of run_command()

2013-10-25 Thread Simon Glass
In the case where an environment variable spans multiple lines, we should use run_command_list() so that all lines are executed. This shold be backwards compatible with existing behaviour for existing scripts. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: -

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

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

[U-Boot] [PATCH v3 5/5] RFC: tegra: Convert to using environment files

2013-10-25 Thread Simon Glass
This seems more intuitive that the current #define way of doing things. The resulting code is shorter, avoids the quoting and line continuation pain, and also improves the clumsy way that stdio variables are created: #ifdef CONFIG_VIDEO_TEGRA #define STDOUT_LCD ,lcd #else #define STDOUT_LCD

[U-Boot] [PATCH v3 1/5] sandbox: Support 'env import' and 'env export'

2013-10-25 Thread Simon Glass
Adjust the code for these commands so that they work on sandbox. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: - Add new patch to get 'env import/export' working on sandbox common/cmd_nvedit.c | 31 ++- 1 file changed, 18

[U-Boot] [PATCH v3 4/5] env: Allow environment files to use the C preprocessor

2013-10-25 Thread Simon Glass
In many cases environment variables need access to the U-Boot CONFIG variables to select different options. Enable this so that the environment scripts can be as useful as the ones currently in the board config files. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Define