[U-Boot] [RESEND PATCH v2 07/20] sf: probe: Add support for W25* flash parts

2013-08-06 Thread Jagannadha Sutradharudu Teki
Added W25* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - Enable CONFIG_SPI_FLASH_

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Dennis Gilmore
On Tue, 06 Aug 2013 13:37:51 +0200 Wolfgang Denk wrote: > Dear Rob Herring, > > In message > > you wrote: > > > > > Why would you ever want to compile this into U-Boot at all? Then > > > any changes you need to make mean compiling and installing a new > > > U-Boot, which is something you norma

[U-Boot] [RESEND PATCH v2 09/20] sf: probe: Add support for SST25* flash parts

2013-08-06 Thread Jagannadha Sutradharudu Teki
Added SST25* parts are which are avilable in spi_flash_probe_legacy.c. Updated the sector_size attributes as per the flash parts. Looks fine for with this sector_size for computing the size of flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - Enable CONFIG_SPI_FLAS

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Otavio Salvador
On Tue, Aug 6, 2013 at 1:22 PM, Dennis Gilmore wrote: ... > My issue with this is, we produce a unified image, it could be an > installer image or a installed disk image. it has a unified kernel in > it and can run on any number of soc's but we also need to provide > tooling that will setup the u-

Re: [U-Boot] [PATCH 3/4] ARM: OMAP4470: Add Elpida EDB8164B3PF memory configuration

2013-08-06 Thread Lokesh Vutla
Hi, On Tuesday 06 August 2013 09:27 PM, Taras Kondratiuk wrote: > On 08/06/2013 05:21 PM, Lokesh Vutla wrote: >> Hi Taras, >> On Tuesday 06 August 2013 05:48 PM, Taras Kondratiuk wrote: >>> From: Lubomir Popov >>> >>> OMAP4470 SDP SoM has EDB8164B3PF PoP memory on board. >>> This memory has 4Gb x

[U-Boot] [RESEND PATCH v2 16/20] sf: probe: Move BAR config to spi_flash_validate_ids

2013-08-06 Thread Jagannadha Sutradharudu Teki
Moved BAR config to spi_flash_validate_ids, so its better to have all flash initalization at once. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none drivers/mtd/spi/spi_flash_internal.h | 5 - drivers/mtd/spi/spi_flash_probe.c| 24 +++-

[U-Boot] [RESEND PATCH v2 20/20] sf: probe: Add support for EN25Q64

2013-08-06 Thread Jagannadha Sutradharudu Teki
Add support for EON EN25Q64 SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none drivers/mtd/spi/spi_flash_probe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/spi_flash_probe.c b/drivers/mtd/spi/spi_flash_probe.c index 86cb881..de4ba

[U-Boot] [RESEND PATCH v2 13/20] sf: probe: Add support to clear flash BP# bits

2013-08-06 Thread Jagannadha Sutradharudu Teki
Few of the flashes(Atmel, Macronix and SST) require to clear BP# bits in flash power ups. So clear these BP# bits at probe time, so-that the flash is ready for user operations. Signed-off-by: Jagannadha Sutradharudu Teki --- Changes for v2: - none drivers/mtd/spi/spi_flash_probe.c | 6

[U-Boot] [RESEND PATCH v2 01/20] sf: Divide spi_flash into multiple parts

2013-08-06 Thread Jagannadha Sutradharudu Teki
Divided the spi_flash framework into mutiple parts for - spi_flash.c: spi flash core file, interaction for spi/qspi driver to spi_flash framework. - spi_flash_ops.c spi flash preffered operations, erase,write and read. - spi_flash_probe.c spi flash probing, easy to e

[U-Boot] [PATCH] mmc: Initialize mmc_devices list statically

2013-08-06 Thread Taras Kondratiuk
Currently mmc_device list is initialized from mmc_initialize() function. So crash happens if any function which use mmc_devices list (find_mmc_device, print_mmc_devices, etc.) is called before mmc_initialize(). Fix this by initializing mmc_devices list statically. Signed-off-by: Taras Kondratiuk

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Stephen Warren
On 08/06/2013 10:18 AM, Otavio Salvador wrote: > On Tue, Aug 6, 2013 at 12:50 PM, Stephen Warren wrote: >> On 08/06/2013 05:37 AM, Wolfgang Denk wrote: >>> Dear Rob Herring, >>> >>> In message >>> you >>> wrote: > Why would you ever want to compile this into U-Boot at all? Then any >>

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Otavio Salvador
On Tue, Aug 6, 2013 at 1:54 PM, Stephen Warren wrote: >> How can someone 'overwrite' the default environment from system or >> when generating a FIT image? > > If U-Boot is running, you can get back to the default environment by > running exactly the commands you wrote below. > > If you're flashin

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Stephen Warren
On 08/06/2013 10:58 AM, Otavio Salvador wrote: > On Tue, Aug 6, 2013 at 1:54 PM, Stephen Warren wrote: >>> How can someone 'overwrite' the default environment from system or >>> when generating a FIT image? >> >> If U-Boot is running, you can get back to the default environment by >> running exact

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Otavio Salvador
On Tue, Aug 6, 2013 at 2:12 PM, Stephen Warren wrote: > On 08/06/2013 10:58 AM, Otavio Salvador wrote: >> On Tue, Aug 6, 2013 at 1:54 PM, Stephen Warren wrote: How can someone 'overwrite' the default environment from system or when generating a FIT image? >>> >>> If U-Boot is running, y

Re: [U-Boot] [PATCH 02/10] am33xx: CONFIG_DMA_COHERENT defines are unused, remove

2013-08-06 Thread Dan Murphy
On 08/02/2013 03:26 PM, Tom Rini wrote: > Signed-off-by: Tom Rini > --- > include/configs/igep0033.h |4 > include/configs/pcm051.h |3 --- > include/configs/ti814x_evm.h |3 --- > 3 files changed, 10 deletions(-) > > diff --git a/include/configs/igep0033.h b/include/config

Re: [U-Boot] [PATCH v3 2/2] cmd_sf: let "sf update" preserve the final part of the last sector

2013-08-06 Thread Jagan Teki
On Fri, Jul 5, 2013 at 1:01 PM, Gerlando Falauto wrote: > Hi Jagan, > > > On 07/04/2013 06:26 PM, Jagan Teki wrote: >> >> On Thu, Jul 4, 2013 at 12:03 AM, Gerlando Falauto >> wrote: >>> >>> Since "sf update" erases the last block as a whole, but only rewrites >>> the meaningful initial part of it

Re: [U-Boot] [PATCH 05/10] arm: spl: For Falcon Mode, set a default machid of ~0

2013-08-06 Thread Dan Murphy
On 08/02/2013 03:26 PM, Tom Rini wrote: > With device trees, boards do not always set CONFIG_MACH_TYPE now, so we > must not rely on this define being set. The kernel uses ~0 to see if we > have a valid machine number or not, so set that as the default, invalid > machine, id and only fix if CONFIG

Re: [U-Boot] [PATCH 07/10] TI:am33xx: Create common config files for TI ARMv7 platforms, and AM33xx

2013-08-06 Thread Dan Murphy
On 08/02/2013 03:26 PM, Tom Rini wrote: > We create two new files, include/configs/ti_armv7_common.h for all of > the common IP blocks and related features / commands we share in > virtually all of our platforms. We then create > include/configs/ti_am335x_common.h for everything common to the am33

Re: [U-Boot] [PATCH 10/10] TI:armv7: Enable CONFIG_CMD_GPIO

2013-08-06 Thread Dan Murphy
On 08/02/2013 03:26 PM, Tom Rini wrote: > Add the generic "poke a GPIO" command, with the GPIO related defines. > > Signed-off-by: Tom Rini > --- > include/configs/ti_armv7_common.h |1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/ti_armv7_common.h > b/include/configs/

Re: [U-Boot] [PATCH 09/10] TI:armv7: Enable CONFIG_CMD_SPI

2013-08-06 Thread Dan Murphy
On 08/02/2013 03:26 PM, Tom Rini wrote: > Add the generic "poke the SPI bus" command, with the SPI related > defines. > > Signed-off-by: Tom Rini > --- > include/configs/ti_armv7_common.h |1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/ti_armv7_common.h > b/include/co

Re: [U-Boot] [PATCH 08/10] TI:omap5: Convert to ti_armv7_common.h

2013-08-06 Thread Dan Murphy
On 08/02/2013 03:26 PM, Tom Rini wrote: > Update omap5_common.h to use ti_armv7_common.h, and in turn update > dra7xx_evm.h and omap5_uevm.h slightly. The biggest changes here are The commit headline does not indicate anything about dra7xx. So dra7xx dev's might over look this change. > that I

Re: [U-Boot] [PATCH 08/10] TI:omap5: Convert to ti_armv7_common.h

2013-08-06 Thread Dan Murphy
On 08/02/2013 03:26 PM, Tom Rini wrote: > Update omap5_common.h to use ti_armv7_common.h, and in turn update > dra7xx_evm.h and omap5_uevm.h slightly. The biggest changes here are The commit headline does not indicate anything about dra7xx. So dra7xx dev's might over look this change. > that I

Re: [U-Boot] [PATCH 3/3] spi: mpc8xxx_spi: Use DIV_ROUND_UP instead of open-coded

2013-08-06 Thread Jagan Teki
On 12-07-2013 15:12, Axel Lin wrote: Use DIV_ROUND_UP to simplify the code. Signed-off-by: Axel Lin --- drivers/spi/mpc8xxx_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/mpc8xxx_spi.c b/drivers/spi/mpc8xxx_spi.c index 6b0e3b4..c90c0ce 100644 --- a/driv

Re: [U-Boot] [PATCH 2/3] spi: fsl_espi: Use DIV_ROUND_UP instead of open-coded

2013-08-06 Thread Jagan Teki
On 12-07-2013 15:11, Axel Lin wrote: Use DIV_ROUND_UP to simplify the code. Signed-off-by: Axel Lin --- drivers/spi/fsl_espi.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/spi/fsl_espi.c b/drivers/spi/fsl_espi.c index 28609ee..e20ab9f 100644 --- a/drivers

Re: [U-Boot] [PATCH 09/10] TI:armv7: Enable CONFIG_CMD_SPI

2013-08-06 Thread Jagan Teki
On 07-08-2013 00:04, Dan Murphy wrote: On 08/02/2013 03:26 PM, Tom Rini wrote: Add the generic "poke the SPI bus" command, with the SPI related defines. Signed-off-by: Tom Rini --- include/configs/ti_armv7_common.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/ti_ar

Re: [U-Boot] [PATCH 3/3] spi: mpc8xxx_spi: Use DIV_ROUND_UP instead of open-coded

2013-08-06 Thread Jagan Teki
On 07-08-2013 00:19, Jagan Teki wrote: On 12-07-2013 15:12, Axel Lin wrote: Use DIV_ROUND_UP to simplify the code. Signed-off-by: Axel Lin --- drivers/spi/mpc8xxx_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/mpc8xxx_spi.c b/drivers/spi/mpc8xxx_spi.c

Re: [U-Boot] [PATCH 09/10] TI:armv7: Enable CONFIG_CMD_SPI

2013-08-06 Thread Jagan Teki
On 07-08-2013 00:20, Jagan Teki wrote: On 07-08-2013 00:04, Dan Murphy wrote: On 08/02/2013 03:26 PM, Tom Rini wrote: Add the generic "poke the SPI bus" command, with the SPI related defines. Signed-off-by: Tom Rini --- include/configs/ti_armv7_common.h |1 + 1 file changed, 1 insertio

Re: [U-Boot] [PATCH v3 1/2] cmd_sf: let "sf update" erase last sector as a whole

2013-08-06 Thread Jagan Teki
On 04-07-2013 00:03, Gerlando Falauto wrote: make "sf update" work with unaligned `len' parameter, by deleting the whole last sector before writing, so to allow for: sf update ${load_addr_r} 0 ${filesize} Signed-off-by: Gerlando Falauto Cc: Valentin Longchamp Cc: Holger Brunck Acked-by: Si

Re: [U-Boot] [RESEND PATCH v2 0/6] sf: Code cleanup patch set

2013-08-06 Thread Jagan Teki
On 04-08-2013 11:18, Jagannadha Sutradharudu Teki wrote: This patch set consist of code clean-up on sf. Thanks, Jagan. Jagannadha Sutradharudu Teki (6): sf: eon|spansion|ramtron: Fix code cleanup sf: sst: Fix code cleanup sf: stmicro: Fix code cleanup sf: Fix code cleanup cmd_sf|

Re: [U-Boot] [PATCH v3 1/2] cmd_sf: let "sf update" erase last sector as a whole

2013-08-06 Thread Jagan Teki
On 07-08-2013 00:27, Jagan Teki wrote: On 04-07-2013 00:03, Gerlando Falauto wrote: make "sf update" work with unaligned `len' parameter, by deleting the whole last sector before writing, so to allow for: sf update ${load_addr_r} 0 ${filesize} Signed-off-by: Gerlando Falauto Cc: Valentin Lo

Re: [U-Boot] [PATCH 09/10] TI:armv7: Enable CONFIG_CMD_SPI

2013-08-06 Thread Tom Rini
On Wed, Aug 07, 2013 at 12:25:25AM +0530, Jagan Teki wrote: > On 07-08-2013 00:20, Jagan Teki wrote: > >On 07-08-2013 00:04, Dan Murphy wrote: > >>On 08/02/2013 03:26 PM, Tom Rini wrote: > >>>Add the generic "poke the SPI bus" command, with the SPI related > >>>defines. > >>> > >>>Signed-off-by: To

Re: [U-Boot] [PATCH 2/3] spi: fsl_espi: Use DIV_ROUND_UP instead of open-coded

2013-08-06 Thread Jagan Teki
On 07-08-2013 00:19, Jagan Teki wrote: On 12-07-2013 15:11, Axel Lin wrote: Use DIV_ROUND_UP to simplify the code. Signed-off-by: Axel Lin --- drivers/spi/fsl_espi.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/spi/fsl_espi.c b/drivers/spi/fsl_espi.c ind

Re: [U-Boot] [PATCH 05/10] arm: spl: For Falcon Mode, set a default machid of ~0

2013-08-06 Thread Tom Rini
On Tue, Aug 06, 2013 at 01:28:53PM -0500, Dan Murphy wrote: > On 08/02/2013 03:26 PM, Tom Rini wrote: > > With device trees, boards do not always set CONFIG_MACH_TYPE now, so we > > must not rely on this define being set. The kernel uses ~0 to see if we > > have a valid machine number or not, so s

Re: [U-Boot] [PATCH 07/10] TI:am33xx: Create common config files for TI ARMv7 platforms, and AM33xx

2013-08-06 Thread Tom Rini
On Tue, Aug 06, 2013 at 01:33:35PM -0500, Dan Murphy wrote: > On 08/02/2013 03:26 PM, Tom Rini wrote: > > We create two new files, include/configs/ti_armv7_common.h for all of > > the common IP blocks and related features / commands we share in > > virtually all of our platforms. We then create >

Re: [U-Boot] [PATCH 08/10] TI:omap5: Convert to ti_armv7_common.h

2013-08-06 Thread Tom Rini
On Tue, Aug 06, 2013 at 01:37:34PM -0500, Dan Murphy wrote: > On 08/02/2013 03:26 PM, Tom Rini wrote: > > Update omap5_common.h to use ti_armv7_common.h, and in turn update > > dra7xx_evm.h and omap5_uevm.h slightly. The biggest changes here are > > The commit headline does not indicate anything

Re: [U-Boot] [PATCH 09/10] TI:armv7: Enable CONFIG_CMD_SPI

2013-08-06 Thread Jagan Teki
On Wed, Aug 7, 2013 at 12:33 AM, Tom Rini wrote: > On Wed, Aug 07, 2013 at 12:25:25AM +0530, Jagan Teki wrote: >> On 07-08-2013 00:20, Jagan Teki wrote: >> >On 07-08-2013 00:04, Dan Murphy wrote: >> >>On 08/02/2013 03:26 PM, Tom Rini wrote: >> >>>Add the generic "poke the SPI bus" command, with th

Re: [U-Boot] [RFC PATCH 0/2] Moving ARM DCC from stdio to serial

2013-08-06 Thread Michal Simek
Hi Wolfgang, On 08/06/2013 06:02 PM, Wolfgang Denk wrote: > Dear Michal Simek, > > In message you wrote: >> >> I am not sure about this change but it seems to me >> there shouldn't be any problem to remove stdio >> support because it can be simple another serial driver >> which can use serial mu

Re: [U-Boot] [PATCH 08/10] TI:omap5: Convert to ti_armv7_common.h

2013-08-06 Thread Dan Murphy
Tom On 08/06/2013 02:13 PM, Tom Rini wrote: > On Tue, Aug 06, 2013 at 01:37:34PM -0500, Dan Murphy wrote: >> On 08/02/2013 03:26 PM, Tom Rini wrote: >>> Update omap5_common.h to use ti_armv7_common.h, and in turn update >>> dra7xx_evm.h and omap5_uevm.h slightly. The biggest changes here are >> Th

[U-Boot] [PATCH v2 0/3] spi: Add zynq spi controller

2013-08-06 Thread Jagannadha Sutradharudu Teki
This is a v2 for previous series with same cover head. This small series patchset will add suuport for zynq spi controller, tested on sst flash. -- Thanks, Jagan. Jagannadha Sutradharudu Teki (3): spi: Add zynq spi controller driver sf: sst: Add support for SST25WF080 zynq: Enable CONFIG_Z

[U-Boot] [PATCH v2 1/3] spi: Add zynq spi controller driver

2013-08-06 Thread Jagannadha Sutradharudu Teki
Zynq spi controller driver supports 2 buses and 3 chipselects on each bus. Signed-off-by: Jagannadha Sutradharudu Teki Acked-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- Changes for v2: - Added "Zynq" string on license notes - Fix coding stlye arch/arm/includ

[U-Boot] [PATCH v2 2/3] sf: sst: Add support for SST25WF080

2013-08-06 Thread Jagannadha Sutradharudu Teki
Add support for SST25WF080 SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki Signed-off-by: Michal Simek --- Changes for v2: - none drivers/mtd/spi/sst.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/mtd/spi/sst.c b/drivers/mtd/spi/sst.c index c9dec3c52..256867

[U-Boot] [PATCH v2 3/3] zynq: Enable CONFIG_ZYNQ_SPI

2013-08-06 Thread Jagannadha Sutradharudu Teki
Tested spi on zynq board with sst flash by enabling CONFIG_ZYNQ_SPI. sf probe 1:1 0 0 SF: Detected SST25WF080 with page size 4 KiB, total 1 MiB Signed-off-by: Jagannadha Sutradharudu Teki Acked-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- Changes for v2: - CONFIG_CMD_

Re: [U-Boot] [RESEND PATCH v2 08/20] sf: probe: Add support for S25FL* flash parts

2013-08-06 Thread Wolfgang Denk
Dear Jagannadha Sutradharudu Teki, In message <90b1d9f1-4c63-43c6-989f-55a657168...@tx2ehsmhs011.ehs.local> you wrote: > Added S25FL* parts are which are avilable in spi_flash_probe_legacy.c. > > Updated the sector_size attributes as per the flash parts. > Looks fine for with this sector_size fo

Re: [U-Boot] [RESEND PATCH v2 08/20] sf: probe: Add support for S25FL* flash parts

2013-08-06 Thread Jagan Teki
Hi Wolfgang Denk, On Wed, Aug 7, 2013 at 1:19 AM, Wolfgang Denk wrote: > Dear Jagannadha Sutradharudu Teki, > > In message <90b1d9f1-4c63-43c6-989f-55a657168...@tx2ehsmhs011.ehs.local> you > wrote: >> Added S25FL* parts are which are avilable in spi_flash_probe_legacy.c. >> >> Updated the sector

Re: [U-Boot] [PATCH 05/10] arm: spl: For Falcon Mode, set a default machid of ~0

2013-08-06 Thread Dan Murphy
Tom On 08/06/2013 02:10 PM, Tom Rini wrote: > On Tue, Aug 06, 2013 at 01:28:53PM -0500, Dan Murphy wrote: >> On 08/02/2013 03:26 PM, Tom Rini wrote: >>> With device trees, boards do not always set CONFIG_MACH_TYPE now, so we >>> must not rely on this define being set. The kernel uses ~0 to see if

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Stephen Warren
On 08/06/2013 10:22 AM, Dennis Gilmore wrote: ... > some variables that would need to be compiled in > > fdt_addr > fdt_addr_r > kernel_addr_r > ramdisk_addr_r Those all look standard, and are documented in U-Boot's README. > pxefile_addr_r > scr_addr_r > uenv_addr_r But none of those are, the

Re: [U-Boot] [RESEND PATCH v2 08/20] sf: probe: Add support for S25FL* flash parts

2013-08-06 Thread Wolfgang Denk
Dear Jagan, In message <64c2a6cb-98f6-4cde-a615-ecd37a96b...@db8ehsmhs012.ehs.local> you wrote: > > > Checkpatch reports: > > > > WARNING: quoted string split across lines > > #194: FILE: drivers/mtd/spi/spi_flash_probe.c:155: > > + printf("SF: Unsupported flash ID: manuf %02x, jede

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Tom Rini
On Tue, Aug 06, 2013 at 01:58:22PM -0300, Otavio Salvador wrote: > On Tue, Aug 6, 2013 at 1:54 PM, Stephen Warren wrote: > >> How can someone 'overwrite' the default environment from system or > >> when generating a FIT image? > > > > If U-Boot is running, you can get back to the default environme

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Tom Rini
On Tue, Aug 06, 2013 at 11:22:22AM -0500, Dennis Gilmore wrote: [snip] > The only way I could see having us write a file to disk with the > environment working is if all boards implement standard variable to > define the memory locations and that is compiled into the u-boot binary. > > some varia

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Otavio Salvador
On Tue, Aug 6, 2013 at 6:37 PM, Tom Rini wrote: > On Tue, Aug 06, 2013 at 01:58:22PM -0300, Otavio Salvador wrote: >> On Tue, Aug 6, 2013 at 1:54 PM, Stephen Warren wrote: >> >> How can someone 'overwrite' the default environment from system or >> >> when generating a FIT image? >> > >> > If U-Bo

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Otavio Salvador
On Tue, Aug 6, 2013 at 6:37 PM, Tom Rini wrote: > On Tue, Aug 06, 2013 at 01:58:22PM -0300, Otavio Salvador wrote: >> On Tue, Aug 6, 2013 at 1:54 PM, Stephen Warren wrote: >> >> How can someone 'overwrite' the default environment from system or >> >> when generating a FIT image? >> > >> > If U-Bo

Re: [U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

2013-08-06 Thread Dennis Gilmore
On Tue, 6 Aug 2013 17:42:31 -0400 Tom Rini wrote: > On Tue, Aug 06, 2013 at 11:22:22AM -0500, Dennis Gilmore wrote: > > [snip] > > The only way I could see having us write a file to disk with the > > environment working is if all boards implement standard variable to > > define the memory locati

[U-Boot] setenv only works in command line. Not working when called in the code

2013-08-06 Thread Julyberry
Hello, I am adding a new library which is being called in common/main.c. In that library, I am updating U-Boot environment variables which are accessed from Linux as well. While getenv() always works fine, but setenv() does not work. The value is not updated. setenv works correctly if I use it

[U-Boot] u-boot.2013.07 build fails: serial_puts() undefined.

2013-08-06 Thread Randy Graham
Hello, I am building u-boot.2013.07 for the mx28evk board. After I insert a few 'serial_puts()' calls for debugging, the build fails and complains that serial_puts() is undefined. I did not have this problem with u-boot.2013.01. Do I need to add a specific #define to include serial_puts() ? I t

Re: [U-Boot] u-boot.2013.07 build fails: serial_puts() undefined.

2013-08-06 Thread Fabio Estevam
On Tue, Aug 6, 2013 at 8:18 PM, Randy Graham wrote: > Hello, > > I am building u-boot.2013.07 for the mx28evk board. > > After I insert a few 'serial_puts()' calls for debugging, the build fails > and complains that serial_puts() is undefined. Just add this include: #include ___

[U-Boot] [PATCH] RFC: tegra: Avoid using I2C prior to relocation

2013-08-06 Thread Simon Glass
Tegra recently moved to the new I2C framework, which sets up I2C prior to relocation, and prior to calling i2c_init_board(). This causes a crash on Tegra boards. note: There are many ways to fix this. I believe this is one. It disables i2c_init() until relocation is complete. I have been unable t

Re: [U-Boot] [PATCHv2 5/8] drivers: mtd: spi: Modify read/write command for sfl256s flash.

2013-08-06 Thread Sourav Poddar
Hi Jagan, On Wednesday 31 July 2013 12:23 PM, Sourav Poddar wrote: Hi Jagan, On Tuesday 23 July 2013 07:53 PM, Sourav Poddar wrote: + jagan, On Tuesday 23 July 2013 02:29 PM, Sourav Poddar wrote: Reading using the already supported read command is causing regression after 4k bytes, as a result

<    1   2