Re: [U-Boot] [PATCH v4 4/6] omap_gpmc: change nandecc command

2013-04-05 Thread Thomas Weber
t; In order to switch between differnet ECC algorithms we need to change the > interface of omap_nand_switch_ecc() also. > > Signed-off-by: Andreas Bießmann > Cc: Tom Rini > Cc: Thomas Weber > --- > new in v2 > > since v2: > * use void omap_nand_switch_ecc(bool, uin

Re: [U-Boot] [PATCH v3 5/6] omap_gpmc: add support for hw assisted BCH8

2013-04-05 Thread Thomas Weber
Hello Andreas, On 04/03/2013 04:50 PM, Andreas Bießmann wrote: > The kernel states: > > ---8<--- > The OMAP3 GPMC hardware BCH engine computes remainder polynomials, it does not > provide automatic error location and correction: this step is implemented > using > the BCH library. > --->8--- > > A

Re: [U-Boot] [PATCH v3 5/6] omap_gpmc: add support for hw assisted BCH8

2013-04-05 Thread Thomas Weber
Hello Andreas, I have the following problem when switching from nandecc hw hamming to nandecc hw bch8. Thomas ---8<-- U-Boot 2013.04-rc2-6-g9abd2ec (Apr 05 2013 - 09:58:48) OMAP3530-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 600 mHz OMAP3 DevKit8000 + LPDDR/NAND I2C: ready D

[U-Boot] [RFC/PATCHv2] OMAP3: Remove unused PHYS_SDRAM_1_SIZE

2012-11-27 Thread Thomas Weber
Remove the unused PHYS_SDRAM_1_SIZE from OMAP3 config files. Signed-off-by: Thomas Weber --- Changelog: v2: - Correct name of define - Add commit message include/configs/cm_t35.h | 1 - include/configs/dig297.h | 1 - include/configs/igep00x0.h | 1

[U-Boot] [PATCH] Remove unused CONFIG_PHYS_SDRAM_1_SIZE

2012-11-27 Thread Thomas Weber
Signed-off-by: Thomas Weber --- include/configs/cm_t35.h | 1 - include/configs/dig297.h | 1 - include/configs/igep00x0.h | 1 - include/configs/mcx.h| 1 - include/configs/omap3_mvblx.h| 1 - include/configs/omap3_pandora.h | 1 - include/configs

Re: [U-Boot] [PATCH v2 2/2] OMAP3: drop CONFIG_SPL_OS_BOOT_KEY and use local define

2012-11-13 Thread Thomas Weber
On 11/13/2012 12:11 PM, Stefano Babic wrote: > CONFIG_SPL_OS_BOOT_KEY is used only in board files. It is > not required to have a general CONFIG_ option. Rename it and > define it in board directory. > > Signed-off-by: Stefano Babic > Tested on Devkit8000. Tested-by: Thom

Re: [U-Boot] [PATCH v2 1/2] Add README for the "Falcon" mode

2012-11-13 Thread Thomas Weber
Hello Stefano, there are some inconsistency for the writing of the Falcon mode: "Falcon" mode, Falcon mode, Falcon, falcon, "Falcon mode" On 11/13/2012 12:11 PM, Stefano Babic wrote: > Simple howto to add support to a board > for booting the kernel from SPL ("Falcon" mode). > > Signed-off-by: Ste

Re: [U-Boot] [PATCH] UBIFS: Improve error message when reading superblock failed

2012-05-15 Thread Thomas Weber
Ccing Albert Thomas On 04/02/2012 01:58 PM, Thomas Weber wrote: > From: Bernhard Walle > > In addition to the error message also display the error code. I had the > problem that my malloc memory was not enough (ENOMEM), and if u-boot > had displayed the error code immediately

[U-Boot] [PATCH] omap4/5: Use CPUDIR for .lds script

2012-05-14 Thread Thomas Weber
Signed-off-by: Thomas Weber --- include/configs/omap4_common.h |2 +- include/configs/omap5_evm.h|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h index a989721..390ee8a 100644 --- a/include/configs

Re: [U-Boot] [PATCH 2/2] ARM: omap3: Add CONFIG_SPL_BOARD_INIT for CONFIG_SPL_MMC_SUPPORT

2012-05-09 Thread Thomas Weber
ught the I2C to TWL4030 is initialized by the ROM code. And why can the SPL read the u-boot.img in the next step? Thomas Cc: Thomas Weber Cc: Steve Sakoman Original patch for Beagleboard is: Signed-off-by: Peter Meerwald Extended to cover all other boards: Signed-off-by: Tom Rini --- inc

[U-Boot] [PATCH 1/2] tricorder: Add UBIFS

2012-04-03 Thread Thomas Weber
From: Bernhard Walle Since kernel should be in a ubifs partition, we need UBIFS. The greater malloc size is needed for UBIFS. Signed-off-by: Bernhard Walle Squashed two commits (UBIFS enabled and malloc size increased) into one. Signed-off-by: Thomas Weber --- include/configs/tricorder.h

[U-Boot] [PATCH 2/2] tricorder: Load kernel from ubifs

2012-04-03 Thread Thomas Weber
From: Bernhard Walle Signed-off-by: Bernhard Walle --- include/configs/tricorder.h |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h index d826e19..801a24f 100644 --- a/include/configs/tricorder.h +++ b/inc

[U-Boot] [PATCH] UBIFS: Improve error message when reading superblock failed

2012-04-02 Thread Thomas Weber
instead of printf. Add "errno=%d" in output as suggested by Albert Aribaud. Signed-off-by: Thomas Weber --- fs/ubifs/super.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index 26b48f0..30ccd98 100644 --- a/fs/ubifs/super.c +++

[U-Boot] [PATCH] doc: Fix some typos in different files

2012-03-25 Thread Thomas Weber
adresses/addresses alernate/alternate asssuming/assuming calcualted/calculated enviroment/environment evalutation/evaluation falsh/flash labled/labeled paramaters/parameters Signed-off-by: Thomas Weber --- doc/README.AVR32-port-muxing |4 ++-- doc/README.SNTP |2 +- doc

Re: [U-Boot] SPL Linux Boot

2012-03-16 Thread Thomas Weber
subcommand support to bootm > [PATCH V14 13/13] cam_enc_4xx: Rename 'images' to 'imgs' > ___ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot It applies on TI-u-boot, but TI-u-boot is stil

Re: [U-Boot] [PATCH] Revert "nand: make 1-bit software ECC configurable"

2012-03-02 Thread Thomas Weber
Hello Tom, will you take this patch? Or should we add the CONFIG_MTD_ECC_SOFT to the boards? Regards, Thomas On 02/13/2012 10:55 PM, Scott Wood wrote: This reverts commit 4fee6c2f295f932b8febdc7ce8731ba045695fa5. It breaks boards that currently rely on soft-ecc, as pointed out here: http://

Re: [U-Boot] [PATCH v3 1/3] ARM: I2C: I2C Multi byte address support

2012-02-21 Thread Thomas Weber
Hello Tom, On 02/20/2012 11:23 PM, Tom Rini wrote: On Sun, Feb 19, 2012 at 10:44:52AM +0100, Thomas Weber wrote: Hello Tom, hello Rachna, I don't know if this is related to the i2c changes or mmc changes? When I boot from nand and then make "mmc rescan" the card is not detecte

Re: [U-Boot] [PATCH v3 1/3] ARM: I2C: I2C Multi byte address support

2012-02-19 Thread Thomas Weber
Hello Tom, hello Rachna, I don't know if this is related to the i2c changes or mmc changes? When I boot from nand and then make "mmc rescan" the card is not detected. When booting with boot_key on Devkit8000 directly from sd-card everything is okay. Thomas Log below: U-Boot SPL 2011.12-003

Re: [U-Boot] [PATCH V13 01/12] Add cmd_spl command

2012-02-18 Thread Thomas Weber
On 02/04/2012 11:22 AM, Stefano Babic wrote: From: Simon Schwarz This adds a spl command to the u-boot. Related config: CONFIG_CMD_CPL activate/deactivate the command CONFIG_CMD_SPL_NAND_OFS Offset in NAND to use Signed-off-by: Simon Schwarz CC: Tom Rini CC: Stefano Babic CC: W

Re: [U-Boot] [PATCH V13 04/12] devkit8000/spl: init GPMC for dm9000 in SPL

2012-02-18 Thread Thomas Weber
Hello Stefano, On 02/04/2012 11:22 AM, Stefano Babic wrote: From: Simon Schwarz Linux crashes if the GPMC isn't configured for the dm9000. Signed-off-by: Simon Schwarz CC: Tom Rini CC: Stefano Babic CC: Wolfgang Denk --- arch/arm/include/asm/omap_common.h |2 ++ board/timll/devkit8000/d

Re: [U-Boot] [PATCH v3 1/3] ARM: I2C: I2C Multi byte address support

2012-02-17 Thread Thomas Weber
Hello Rachna, On 17.02.2012 10:37, Patil, Rachna wrote: > Hi Thomas, > > On Fri, Feb 17, 2012 at 14:32:02, Thomas Weber wrote: >> Hello Rachna, >> >> I get multiple timeouts from wait_for_status_mask() during i2c_write(), >> line 481. >> >> The R

Re: [U-Boot] [PATCH v3 1/3] ARM: I2C: I2C Multi byte address support

2012-02-17 Thread Thomas Weber
Hello Rachna, I get multiple timeouts from wait_for_status_mask() during i2c_write(), line 481. The Result is 1410h und status_mask is 7h. I use a devkit8000, booting from sd-card. Regards, Thomas U-Boot SPL 2011.12-00323-g9a3aae2-dirty (Feb 17 2012 - 09:30:36) Texas Instruments Revision de

Re: [U-Boot] [PATCH v3 1/3] ARM: I2C: I2C Multi byte address support

2012-02-16 Thread Thomas Weber
Hello Rachna, On 01/23/2012 10:44 AM, Patil, Rachna wrote: Existing OMAP I2C driver does not support address length greater than one. Hence this patch is to add support for 2 byte address read/write. Signed-off-by: Philip, Avinash Signed-off-by: Hebbar, Gururaja Signed-off-by: Patil, Rachna ---

[U-Boot] [PATCH] Remove execute permissions from source files

2012-02-13 Thread Thomas Weber
Signed-off-by: Thomas Weber --- 0 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 arch/arm/cpu/armv7/imx-common/timer.c mode change 100755 => 100644 drivers/fpga/ivm_core.c mode change 100755 => 100644 include/lattice.h diff --git a/arch/arm/cpu/armv7/i

[U-Boot] [PATCH] OMAP3: Remove unused CONFIG_SYS_NAND_ECCSTEPS/TOTAL

2012-02-13 Thread Thomas Weber
Signed-off-by: Thomas Weber --- include/configs/mcx.h |5 - include/configs/omap3_overo.h |4 include/configs/tricorder.h |5 - 3 files changed, 0 insertions(+), 14 deletions(-) diff --git a/include/configs/mcx.h b/include/configs/mcx.h index 0940e86..f3d26ea

[U-Boot] [PATCH] Tricorder: Switch env to generic mmc driver

2012-02-13 Thread Thomas Weber
Because the tricorder uses the CONFIG_OMAP_HSMMC the initialization command is mmc rescan and not mmc init. Signed-off-by: Thomas Weber --- include/configs/tricorder.h |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/configs/tricorder.h b/include/configs

[U-Boot] [PATCH] Tricorder: Store ecc data on stack

2012-02-13 Thread Thomas Weber
This patch removes ONFIG_SYS_NAND_ECCSTEPS and CONFIG_SYS_NAND_ECCTOTAL from tricorder config. The ecc data are stored on stack after: commit 25efd99dbb1352314c9eacdfae42064c2ca15499 nand_spl: store ecc data on the stack Signed-off-by: Thomas Weber --- include/configs/tricorder.h |5

[U-Boot] [PATCH] Tricorder: Fix boot after making software ecc configurable

2012-02-13 Thread Thomas Weber
Adding CONFIG_MTD_ECC_SOFT to config file fixes this problem. Signed-off-by: Thomas Weber --- include/configs/tricorder.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h index f87696b..0e8003f 100644 --- a

[U-Boot] [PATCHv2] OMAP3: Add Corscience Tricorder board

2012-01-28 Thread Thomas Weber
From: Thomas Weber Tricorder is a board which is very similar to the Devkit8000. It is designed as a base platform for further medical devices. www.corscience.de/en/medical-engineering/products/multiparameter/mp10-board.html Signed-off-by: Thomas Weber --- Sorry for the long time between V1

Re: [U-Boot] [PATCH v4 1/5] ARM:AM33XX: Replace CONFIG_AM335X with CONFIG_AM33XX

2012-01-10 Thread Thomas Weber
Hello Chandan, On 10.01.2012 07:38, Chandan Nath wrote: > This patch is added to replace CONFIG_AM335X symbol > with CONFIG_AM333XX for AM33XX platforms. > One 3 in CONFIG_AM333XX too much, but only in description. It runs on the Beaglebone. Tested-by: Thomas Weber Thanks. Thomas >

[U-Boot] [PATCH] Remove execute permissions from source files

2012-01-06 Thread Thomas Weber
Signed-off-by: Thomas Weber --- 0 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 arch/arm/cpu/armv7/imx-common/timer.c mode change 100755 => 100644 drivers/fpga/ivm_core.c mode change 100755 => 100644 include/lattice.h diff --git a/arch/arm/cpu/armv7/i

[U-Boot] [PATCH resend] OMAP3: Remove unused define CONFIG_OMAP3_*_DDR

2012-01-02 Thread Thomas Weber
This patch removes the unused definitions: CONFIG_OMAP3_MICRON_DDR CONFIG_OMAP3_NUMONYX_DDR CONFIG_OMAP3_INFINEON_DDR Acked-by: Igor Grinberg Acked-by: Luca Ceresoli Signed-off-by: Thomas Weber --- Changes: Added received acked-by's include/configs/cm_t35.h|3 --- include/co

[U-Boot] [PATCH] OMAP3: Remove unused define CONFIG_OMAP3_*_DDR

2011-12-16 Thread Thomas Weber
This patch removes the unused definitions: CONFIG_OMAP3_MICRON_DDR CONFIG_OMAP3_NUMONYX_DDR CONFIG_OMAP3_INFINEON_DDR Signed-off-by: Thomas Weber --- include/configs/cm_t35.h|3 --- include/configs/dig297.h|3 --- include/configs/igep0020.h |3 --- include

[U-Boot] [PATCH] OMAP3: Add Corscience Tricorder board

2011-12-15 Thread Thomas Weber
Tricorder is a board which is very similar to the Devkit8000. It is designed as a base platform for further medical devices. www.corscience.de/en/medical-engineering/products/multiparameter/mp10-board.html Signed-off-by: Thomas Weber --- MAINTAINERS|1 + board

[U-Boot] [PATCH v2] Devkit8000: Switch over to enable_gpmc_cs_config

2011-12-13 Thread Thomas Weber
Use enable_gpmc_cs_config instead of local writing timing configuration for GPMC. Signed-off-by: Thomas Weber --- Changelog v2: Change gpmc_net_config[6] to 0, because it is calculated in enable_gpmc_cs_config board/timll/devkit8000/devkit8000.c | 19

Re: [U-Boot] [PATCH] Devkit8000: Switch over to enable_gpmc_cs_config

2011-12-12 Thread Thomas Weber
Hello Tom, On 07.12.2011 18:14, Tom Rini wrote: > On Wed, Dec 7, 2011 at 2:38 AM, Thomas Weber wrote: >> Use enable_gpmc_cs_config instead of local writing >> timing configuration for GPMC. >> >> Signed-off-by: Thomas Weber >> --- >> boa

[U-Boot] [PATCH] Devkit8000: Switch over to enable_gpmc_cs_config

2011-12-07 Thread Thomas Weber
Use enable_gpmc_cs_config instead of local writing timing configuration for GPMC. Signed-off-by: Thomas Weber --- board/timll/devkit8000/devkit8000.c | 19 --- 1 files changed, 12 insertions(+), 7 deletions(-) diff --git a/board/timll/devkit8000/devkit8000.c b/board/timll

Re: [U-Boot] [PATCH V2] devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss

2011-12-06 Thread Thomas Weber
AND_U_BOOT_OFFS 0x8 > #define CONFIG_SYS_NAND_U_BOOT_SIZE 0x20 > > -#define CONFIG_SYS_SPL_MALLOC_START 0x80108000 > +#define CONFIG_SYS_SPL_MALLOC_START 0x80208000 > #define CONFIG_SYS_SPL_MALLOC_SIZE 0x10/* 1 MB */ > > #endif /* __CONFIG_H */ Tested-by

[U-Boot] [PATCH v2] env_nand: Remove DEBUG definition

2011-12-06 Thread Thomas Weber
Signed-off-by: Thomas Weber --- Changelog: v2: Remove DEBUG definition instead of commenting common/env_nand.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/common/env_nand.c b/common/env_nand.c index ce13def..3cb75c8 100644 --- a/common/env_nand.c

Re: [U-Boot] [PATCH] devkit8000: Move CONFIG_SYS_TEXT_BASE out of bss

2011-12-01 Thread Thomas Weber
MALLOC_START 0x8020 > #define CONFIG_SYS_SPL_MALLOC_SIZE 0x10/* 1 MB */ > > #endif /* __CONFIG_H */ Tested-by: Thomas Weber boots from NAND and from MMC now, on both Devkit8000 versions (128 MiB and 256 MiB). Thomas ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] OMAP3: Change devkit8000 maintainer

2011-11-28 Thread Thomas Weber
Signed-off-by: Thomas Weber --- MAINTAINERS |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index f6f6b72..6ea465d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -696,10 +696,6 @@ Chander Kashyap Torsten Koschorrek scb9328

[U-Boot] [PATCHv3 3/3] ARM: OMAP: Remove STACKSIZE for IRQ and FIQ if unused

2011-11-26 Thread Thomas Weber
This patch removes the definition of stack sizes for irq and fiq if the CONFIG_USE_IRQ is undefined before. Acked-by: Enric Balletbo i Serra Acked-by: Tom Rini Acked-by: Igor Grinberg Signed-off-by: Thomas Weber --- include/configs/am3517_crane.h |4 include/configs/am3517_evm.h

[U-Boot] [PATCHv3 2/3] ARM: OMAP3: Remove unused define SDRC_R_C_B

2011-11-26 Thread Thomas Weber
This patch removes the unused definition of SDRC_R_C_B from the config files. Acked-by: Enric Balletbo i Serra Acked-by: Igor Grinberg Signed-off-by: Thomas Weber --- Changelog v2->v3 Remove comment and empty line around removed definition too include/configs/am3517_cran

[U-Boot] [PATCHv3 1/3] ARM: OMAP3: Remove unused define CONFIG_OMAP3430

2011-11-26 Thread Thomas Weber
This patch removes the CONFIG_OMAP3430, because it is unused. Acked-by: Enric Balletbo i Serra Acked-by: Tom Rini Acked-by: Igor Grinberg Signed-off-by: Thomas Weber --- include/configs/cm_t35.h |1 - include/configs/devkit8000.h |1 - include/configs/dig297.h

[U-Boot] [PATCHv3 0/3] Remove unused definitions from config files

2011-11-26 Thread Thomas Weber
This patchset removes some unused definitions from the config files. It is mostly omap3 centred. Changelog v1->v2 Cc:ed board maintainers v2->v3 Remove comment and empty line around removed definition Thomas Weber (3): ARM: OMAP3: Remove unused define CONFIG_OMAP3430

[U-Boot] [PATCH 2/3] ARM: OMAP3: Remove unused define SDRC_R_C_B

2011-11-22 Thread Thomas Weber
This patch removes the unused definition of SDRC_R_C_B from the config files. Acked-by: Igor Grinberg Signed-off-by: Thomas Weber --- Changelog v1->v2 Add maintainers of boards as suggested by Igor. Add Acked-by from Igor include/configs/am3517_crane.h |1 - incl

[U-Boot] [PATCH 1/3] ARM: OMAP3: Remove unused define CONFIG_OMAP3430

2011-11-22 Thread Thomas Weber
This patch removes the CONFIG_OMAP3430, because it is unused. Acked-by: Igor Grinberg Signed-off-by: Thomas Weber --- Changelog v1->v2 Add maintainers of boards as suggested by Igor. Add Acked-by from Igor include/configs/cm_t35.h |1 - include/configs/devkit8

[U-Boot] [PATCHv2 0/3] Remove unused definitions from config files

2011-11-22 Thread Thomas Weber
This patchset removes some unused definitions from the config files. It is mostly omap3 centred. Changelog v1->v2 Add maintainers of boards as suggested by Igor. Add Acked-by from Igor Thomas Weber (3): ARM: OMAP3: Remove unused define CONFIG_OMAP3430 ARM: OMAP3: Rem

[U-Boot] [PATCH 3/3] ARM: OMAP: Remove STACKSIZE for IRQ and FIQ if unused

2011-11-22 Thread Thomas Weber
This patch removes the definition of stack sizes for irq and fiq if the CONFIG_USE_IRQ is undefined before. Acked-by: Igor Grinberg Signed-off-by: Thomas Weber --- Changelog v1->v2 Add maintainers of boards as suggested by Igor. Add Acked-by from Igor include/conf

[U-Boot] [PATCH 3/3] ARM: OMAP: Remove STACKSIZE for IRQ and FIQ if unused

2011-11-18 Thread Thomas Weber
This patch removes the definition of stack sizes for irq and fiq if the CONFIG_USE_IRQ is undefined before. Signed-off-by: Thomas Weber --- include/configs/am3517_crane.h |4 include/configs/am3517_evm.h |4 include/configs/apollon.h |4 include

[U-Boot] [PATCH 0/3] Remove unused definitions from config files

2011-11-18 Thread Thomas Weber
This patchset removes some unused definitions from the config files. It is mostly omap3 centred. Thomas Weber (3): ARM: OMAP3: Remove unused define CONFIG_OMAP3430 ARM: OMAP3: Remove unused define SDRC_R_C_B ARM: OMAP: Remove STACKSIZE for IRQ and FIQ if unused include/configs

[U-Boot] [PATCH 1/3] ARM: OMAP3: Remove unused define CONFIG_OMAP3430

2011-11-18 Thread Thomas Weber
This patch removes the CONFIG_OMAP3430, because it is unused. Signed-off-by: Thomas Weber --- include/configs/cm_t35.h |1 - include/configs/devkit8000.h |1 - include/configs/dig297.h |1 - include/configs/igep0020.h |1 - include/configs

[U-Boot] [PATCH 2/3] ARM: OMAP3: Remove unused define SDRC_R_C_B

2011-11-18 Thread Thomas Weber
This patch removes the unused definition of SDRC_R_C_B from the config files. Signed-off-by: Thomas Weber --- include/configs/am3517_crane.h |1 - include/configs/am3517_evm.h |1 - include/configs/cm_t35.h |1 - include/configs/devkit8000.h |1

[U-Boot] ARM: OMAP: Problem when compiling with -DDEBUG and SPL_BUILD

2011-11-10 Thread Thomas Weber
Hello, I configured u-boot for devkit8000_config and enabled -DDEBUG in config.mk. I get the following error: lib/libgeneric.o: In function `panic': u-boot/lib/vsprintf.c:730: undefined reference to `do_reset' make[1]: *** [u-boot/spl/u-boot-spl] error 1 I think it is a problem with the CONFIG

[U-Boot] [PATCH] env_nand: Remove DEBUG definition

2011-11-10 Thread Thomas Weber
When compiling with -DDEBUG enabled this caused a warning about multiple definition of DEBUG. Signed-off-by: Thomas Weber --- common/env_nand.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/env_nand.c b/common/env_nand.c index 14446a6..e71a229 100644 --- a

Re: [U-Boot] [PATCH] devkit8000: Fix NAND SPL on boards with 256MB NAND

2011-11-09 Thread Thomas Weber
Hello Tom, Am 08.11.2011 21:53, schrieb Thomas Weber: > Am 26.10.2011 20:09, schrieb Tom Rini: >> The devkit8000 ships with either a 128MB or 256MB NAND chip. In >> order for SPL to work with 256MB NAND CONFIG_SYS_NAND_5_ADDR_CYCLE >> needs to be set. After talking with S

Re: [U-Boot] [PATCH] devkit8000: Fix NAND SPL on boards with 256MB NAND

2011-11-08 Thread Thomas Weber
SYS_NAND_PAGE_COUNT 64 > #define CONFIG_SYS_NAND_PAGE_SIZE2048 > #define CONFIG_SYS_NAND_OOBSIZE 64 Tested-by: Thomas Weber on Devkit8000 with 256 MB NAND. Tomorrow I will test it with a 128 MB NAND devkit8000. Thomas ___ U-Boo

Re: [U-Boot] uboot on devkit8000

2011-11-07 Thread Thomas Weber
Am 07.11.2011 14:18, schrieb Mariya Abdul Ghafoor: > > I configured Angstrom on DevKit8000 (clone > of Beagleboard) now the touch screen shows shell prompt i.e. > root@DevKit8000~# but there is no uboot console output...I need to port > Android on it and without the console output I have no id

[U-Boot] [PATCH] Devkit8000: Change console from ttyS2 to ttyO2

2011-09-19 Thread Thomas Weber
The omap serial names have changed from ttySx to ttyOx, so the console should be also changed to support this. Signed-off-by: Thomas Weber --- include/configs/devkit8000.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/devkit8000.h b/include/configs

Re: [U-Boot] [PATCH] omap3_beagle: Switch default console from ttyS2 to ttyO2

2011-03-02 Thread Thomas Weber
Hello Alexander, Am 02.03.2011 00:13, schrieb Jason Kridner: > On Fri, Feb 18, 2011 at 3:37 AM, Alexander Holler > wrote: >> Linux kernels >= 2.6.36 are using ttyOn instead ttySn for the >> serials on OMAPs. >> >> Signed-off-by: Alexander Holler > > Ack. > >> --- >> include/configs/omap3_beag

Re: [U-Boot] [PATCH v4] ARM: Avoid compiler optimization for readb, writeb and friends.

2011-01-12 Thread Thomas Weber
fine readw(c) ({ u16 __v = __arch_getw(c); __iormb(); __v; }) > +#define readl(c) ({ u32 __v = __arch_getl(c); __iormb(); __v; }) > > /* > * The compiler seems to be incapable of optimising constants Tested-by: Thomas Weber on Devkit8000 with codesourcery arm2010.09 (gcc4.5.1) and arm2010q1 (gcc 4.4.1) ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] armv7, timer: move static data to global_data struct

2010-11-30 Thread Thomas Weber
gd->timestamp += gd->lastdec - now; > else > - timestamp += lastdec + count_value - now; > + gd->timestamp += gd->lastdec + gd->count_value - now; > > - lastdec = now; > + gd->lastdec = now; > > - return t

Re: [U-Boot] [PATCH] OMAP-common/timer: Fix bss usage

2010-11-29 Thread Thomas Weber
Hello Heiko, On Mon, Nov 29, 2010 at 6:25 PM, Heiko Schocher wrote: > Hello Thomas, > > Thomas Weber wrote: >> This patch fixes the bss usage in ARMv7/omap-common/timer.c >> >> The .bss section cannot be used before the relocation, because this >> section i

[U-Boot] [PATCH] OMAP-common/timer: Fix bss usage

2010-11-29 Thread Thomas Weber
This patch fixes the bss usage in ARMv7/omap-common/timer.c The .bss section cannot be used before the relocation, because this section is overlayed with .rel.dyn section. Suggested-by: Andreas Biessmann Signed-off-by: Thomas Weber --- arch/arm/cpu/armv7/omap-common/timer.c |6 ++ 1

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

2010-11-27 Thread Thomas Weber
On Sat, Nov 27, 2010 at 7:50 PM, Wolfgang Denk wrote: > Dear Albert ARIBAUD, > > In message <4cf0ca18.1000...@free.fr> you wrote: >> >> Globally, this is expected and does not hit only ARMV7 but any ARM board >> -- I think on the whole MAKEALL arm, only 35 out of 168 boards build >> without errors

[U-Boot] [PATCHv2 2/3] gdsys: osd: Use return value of cmd_usage

2010-11-24 Thread Thomas Weber
Use the return value of cmd_usage instead of ignoring this and returning a 1. Signed-off-by: Thomas Weber --- board/gdsys/common/osd.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/board/gdsys/common/osd.c b/board/gdsys/common/osd.c index 05800ff..239c870 100644

[U-Boot] [PATCHv2 3/3] powerpc: cmd_ecctest: Use return value of cmd_usage

2010-11-24 Thread Thomas Weber
Use the return value of cmd_usage instead of ignoring this and returning a 1. Signed-off-by: Thomas Weber --- arch/powerpc/cpu/ppc4xx/cmd_ecctest.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/cpu/ppc4xx/cmd_ecctest.c b/arch/powerpc/cpu/ppc4xx

[U-Boot] [PATCHv2 1/3] common/cmd_nvedit: Use return value of cmd_usage

2010-11-24 Thread Thomas Weber
Use the return value of cmd_usage instead of ignoring this and returning a 1. Signed-off-by: Thomas Weber --- common/cmd_nvedit.c | 18 ++ 1 files changed, 6 insertions(+), 12 deletions(-) diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 3fd8abc..cd19cc6 100644

[U-Boot] [PATCHv2 0/3] Use return value of cmd_usage

2010-11-24 Thread Thomas Weber
cmd_usage returns 1, so its return value can be used as return value. Some functions ignore the return value of cmd_usage and return a "1" in the next line. These patches change these calls so that the return value of cmd_usage is used as return value. *** BLURB HERE *** Thoma

[U-Boot] [PATCH] cmd_usage: Use ignored return value

2010-11-24 Thread Thomas Weber
cmd_usage returns 1, so its return value can be used as return value. Some functions ignore the return value of cmd_usage and return a "1" in the next line. This patch changes these calls so that the return value of cmd_usage is used as return value. Signed-off-by: Thomas Weber

[U-Boot] [RFC/PATCHv2 1/2] Common/command: Guard strchr/strlen from NULL pointer

2010-11-24 Thread Thomas Weber
Guard strchr/strlen from being called with NULL pointer. This line is crashing when command "env" is called without subcommand. The cmd is NULL in this case because the calling function "do_env" decremented the argc without checking if there are still arguments available. S

[U-Boot] [RFC/PATCHv2 2/2] Common/cmd_nvedit: Check for env subcommand

2010-11-24 Thread Thomas Weber
The env command needs one subcommand. If this is not available print the usage help. Signed-off-by: Thomas Weber --- common/cmd_nvedit.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index 3fd8abc..52c5e7c 100644 --- a

[U-Boot] [RFC/PATCH] common/command.c: Guard strchr/strlen from NULL pointer

2010-11-24 Thread Thomas Weber
without checking if there are still arguments available. caller: static int do_env (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) ... /* drop initial "env" arg */ argc--; argv++; cp = find_cmd_tbl(argv[0], cmd_env_sub, ARRAY_SIZE(cmd_env_sub));

[U-Boot] [PATCH] Devkit8000: Fix build after introduction of GENERATED_GBL_DATA_SIZE

2010-11-17 Thread Thomas Weber
This patch fixes the issue by defining and using CONFIG_SYS_INIT_RAM_SIZE and CONFIG_SYS_INIT_RAM_ADDR. This patch adopts the commit 31bfcf1c5776df3d90286aa15104c45096d53dc6 from Steve Sakoman and Sandeep Paulraj on Devkit8000. Signed-off-by: Thomas Weber --- include/configs/devkit8000.h

[U-Boot] [PATCH] Devkit8000: Adapt changes to ARM relocation support

2010-10-18 Thread Thomas Weber
Fix compilation of Devkit8000 after introduction of ARM relocation support. Signed-off-by: Thomas Weber --- board/timll/devkit8000/config.mk |2 +- include/configs/devkit8000.h |3 +++ 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/board/timll/devkit8000/config.mk b

[U-Boot] [PATCH 1/2] ixp/npe: Remove duplicated comment

2010-09-28 Thread Thomas Weber
Signed-off-by: Thomas Weber --- arch/arm/cpu/ixp/npe/IxNpeDlNpeMgr.c |5 - 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/arch/arm/cpu/ixp/npe/IxNpeDlNpeMgr.c b/arch/arm/cpu/ixp/npe/IxNpeDlNpeMgr.c index f5a4c5f..a9ea8bc 100644 --- a/arch/arm/cpu/ixp/npe/IxNpeDlNpeMgr.c

[U-Boot] [PATCH 2/2] bmw: Remove duplicated include of header file

2010-09-28 Thread Thomas Weber
Signed-off-by: Thomas Weber --- board/bmw/bmw.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/board/bmw/bmw.c b/board/bmw/bmw.c index 4039145..5ba6c09 100644 --- a/board/bmw/bmw.c +++ b/board/bmw/bmw.c @@ -22,7 +22,6 @@ */ #include -#include #include #include

[U-Boot] [PATCH] README: Fix description of version numbering scheme

2010-09-27 Thread Thomas Weber
The version numbering scheme was changed in Oct, 2008. This patch brings the documentation to the actual level. The description is taken from: http://www.denx.de/wiki/U-Boot/ReleaseCycle Signed-off-by: Thomas Weber --- README | 18 ++ 1 files changed, 10 insertions(+), 8

Re: [U-Boot] [PATCH 0/5] Add support for Seagate FreeAgent DockStar

2010-09-27 Thread Thomas Weber
Am 07.09.2010 16:28, schrieb Eric Cooper: > This patch series adds support for the Seagate FreeAgent DockStar. > The DockStar is almost identical to the Marvell SheevaPlug, > but has 256M of NAND flash, 128M of SDRAM, and different LED pins. > > A new machine ID (2998) has already been registered

[U-Boot] [PATCH] ARM: Update ARM mach-types

2010-09-14 Thread Thomas Weber
This patch updates the mach-types.h based on the latest linux kernel Signed-off-by: Thomas Weber --- arch/arm/include/asm/mach-types.h | 1230 - 1 files changed, 1226 insertions(+), 4 deletions(-) diff --git a/arch/arm/include/asm/mach-types.h b/arch/arm

Re: [U-Boot] ARM mach-types.h (was: Re: [PATCH 1/5] add DOCKSTAR machine type)

2010-09-13 Thread Thomas Weber
Am 08.09.2010 22:05, schrieb Paulraj, Sandeep: > > >> Yes, I know. >> >> The problem we're discussing is that the version of mach-types.h as >> included in the mainline LInux kernel tree is relatively old when >> compared to the current state of the ARM machine registry. The >> question was if w

Re: [U-Boot] [PATCH] net: dm9000x: re-add casts to I/O pointers to fix gcc warnings

2010-07-06 Thread Thomas Weber
_inl(r) readl((volatile u32 *)(r)) > > #ifdef CONFIG_DM9000_DEBUG > static void Hello, tested on Devkit8000. Thomas Tested-by: Thomas Weber ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] u-boot 2010 - devkit8000 issue

2010-06-13 Thread Thomas Weber
Hello, the u-boot and the linux-kernel from the TimLL cd are patched with an unofficial machine identifier. They are not working with any other of your sources. You need to update both, u-boot and linux-kernel. Can you write me, which u-boot and linux-kernel version you are using? Thomas On Sat

Re: [U-Boot] [PATCH] arm:io.h: define __io() macro if not defined erlier

2010-05-19 Thread Thomas Weber
_io(p) for {in,out}[bwl] macros. This macro may be > + * defined in a machine specific io definition earlier. > + */ > +#ifndef __io > +#define __io(p) (p) > +#endif > > /* > * IO port access primitives I tested it on Devkit8000. Tested-by: Thomas Weber

Re: [U-Boot] [PATCH] ARM: add __aeabi_unwind_cpp_pr0() function to avoid linker complaints

2010-05-10 Thread Thomas Weber
> +void __aeabi_unwind_cpp_pr0(void) > +{ > +}; Thanks for the patch. Compiled for and tested on Devkit8000 Tested-by: Thomas Weber ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] Devkit8000: Fix compilation after changes in dm9000

2010-05-10 Thread Thomas Weber
Hello Marek, On 05/11/10 04:25, Marek Vasut wrote: > Dne Út 11. května 2010 05:47:40 Marek Vasut napsal(a): >> Dne Út 11. května 2010 05:28:38 Marek Vasut napsal(a): >>> Dne Pá 7. května 2010 18:58:34 Thomas Weber napsal(a): >>>> On 07.05.2010 17:15, Wolfgang Denk

Re: [U-Boot] [PATCH] Devkit8000: Fix compilation after changes in dm9000

2010-05-07 Thread Thomas Weber
On 07.05.2010 17:15, Wolfgang Denk wrote: Dear Thomas Weber, In message <1273242366-6552-1-git-send-email-we...@corscience.de> <1273242366-6552-1-git-send-email-we...@corscience.de> you wrote: In commit a45dde2293c816138e53c26eca6fd0322583f9a6 the I/O accessor for the DM9000 is c

[U-Boot] [PATCH] Devkit8000: Fix compilation after changes in dm9000

2010-05-07 Thread Thomas Weber
In commit a45dde2293c816138e53c26eca6fd0322583f9a6 the I/O accessor for the DM9000 is changed. The definition of __io is required to use the standard I/O accessors from asm/io.h. Signed-off-by: Thomas Weber --- include/configs/devkit8000.h |2 ++ 1 files changed, 2 insertions(+), 0

Re: [U-Boot] [PATCH] net: dm9000x: use standard I/O accessors

2010-05-07 Thread Thomas Weber
On 07.05.2010 15:37, Thomas Weber wrote: > On 04/26/10 04:51, Ben Warren wrote: > >> Mike, >> >> ApplOn 4/14/2010 1:29 PM, Mike Frysinger wrote: >> >>> The current dm9000x driver accesses its memory mapped registers directly >>> instead of u

Re: [U-Boot] [PATCH] net: dm9000x: use standard I/O accessors

2010-05-07 Thread Thomas Weber
On 04/26/10 04:51, Ben Warren wrote: > Mike, > > ApplOn 4/14/2010 1:29 PM, Mike Frysinger wrote: >> The current dm9000x driver accesses its memory mapped registers directly >> instead of using the standard I/O accessors. This can cause problems on >> Blackfin systems as the accesses can get out o

[U-Boot] [PATCH] mod change 755 => 644 for multiple files

2010-03-13 Thread Thomas Weber
I executed 'find . -name "*.[chS]" -perm 755 -exec chmod 644 {} \;' Signed-off-by: Thomas Weber --- 0 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 board/spear/common/spr_lowlevel_init.S mode change 100755 => 100644 board/spear/comm

[U-Boot] [PATCH v2] net: dm9000x: fix debug output

2009-12-09 Thread Thomas Weber
commit 60f61e6d7655400bb785a2ef637581679941f6d1 breaks compile with gcc by introducing __func__ instead of constant string "func" in the macro call but missed to change the macro. Signed-off-by: Thomas Weber --- drivers/net/dm9000x.c |2 +- 1 files changed, 1 insertions(+), 1

Re: [U-Boot] [PATCH] Fix debug output.

2009-12-08 Thread Thomas Weber
Wolfgang Denk schrieb: > Dear Thomas Weber, > > In message <4b1cfef3.7080...@corscience.de> you wrote: > >>> Which problem is this supposed to fix? >>> > ... > >> In commit 60f61e6d7655400bb785a2ef637581679941f6d1 the following calls &

Re: [U-Boot] [PATCH] Fix debug output.

2009-12-07 Thread Thomas Weber
Wolfgang Denk schrieb: > Dear Thomas Weber, > > In message <1260177679-18337-1-git-send-email-we...@corscience.de> you wrote: > >> Signed-off-by: Thomas Weber >> --- >> drivers/net/dm9000x.c |4 ++-- >> 1 files changed, 2 insertions(+), 2 d

Re: [U-Boot] [PATCH] Fix debug output.

2009-12-07 Thread Thomas Weber
Mike Frysinger schrieb: > your subject line really needs a prefix to narrow down where exactly your fix > is going. it also should not have a period. > > net: dm9000x: fix debug output > -mike > Hello, should i resend the patch with the corrected subject line? Thomas signature.asc Descrip

[U-Boot] [PATCH] Fix debug output.

2009-12-07 Thread Thomas Weber
Signed-off-by: Thomas Weber --- drivers/net/dm9000x.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/dm9000x.c b/drivers/net/dm9000x.c index 73dd335..08bd794 100644 --- a/drivers/net/dm9000x.c +++ b/drivers/net/dm9000x.c @@ -74,8 +74,8 @@ TODO: external