Re: [U-Boot] [PATCH v2 1/4] udoo: Add ethernet support (FEC + Micrel KSZ9031).

2013-11-19 Thread Giuseppe Pagano
On Mon, 2013-11-18 at 18:05 +0100, Giuseppe Pagano wrote: > > > > > > + ksz9031_phy_extended_write(phydev, 0x02, > > > +MII_KSZ9031_EXT_RGMII_CLOCK_SKEW, > > > +MII_KSZ9031_MOD_DATA_NO_POST_INC, 0x03FF); > > > I have september 2012 revision

Re: [U-Boot] u-boot gerrit server

2013-11-19 Thread Graeme Russ
Hi Vadim, On Wed, Nov 20, 2013 at 4:21 AM, Vadim Bendebury (вб) wrote: > e > > On Sun, Nov 17, 2013 at 11:31 AM, Wolfgang Denk wrote: > > Dear Wolfgang, > > > [snip..] > > Maybe I'm wrong, but my understanding was that we were not primarily > > interested in introducing better project managemen

Re: [U-Boot] [PATCH v8 0/5] mtd: nand: omap: optimize and clean-up of OMAP NAND driver

2013-11-19 Thread Gupta, Pekon
Hi Matti, > From: matti kaasinen [mailto:matti.kaasi...@gmail.com] > I try to use Angstrom distribution as a base for my design. Angstrom provides > 3.8.13 kernel for beaglebone. There drivers/mtd/nand/omap2.c seems pretty > demanding as far as changing chip->ecc.bytes configuration is concerne

Re: [U-Boot] [PATCH] cmd_test: fix a compile error on Blackfin

2013-11-19 Thread Masahiro Yamada
Hello Mans > > +/* > > + * Undef true and false here to avoid macro expansion by > > + */ > > +#undef true > > +#undef false > > This won't work if stdbool.h defines true/false as an enum. Some > versions of gcc did this. The correct fix is to change the code so it Thanks for your comments. T

[U-Boot] [PATCH] MAKEALL: add -b (--board) option

2013-11-19 Thread Masahiro Yamada
Some board have multiple configurations. For example, the board "m54455evb" has many configurations: M54455EVB, M54455EVB_a66, M54455EVB_i66, M54455EVB_intel, ... When we modify board-related files, we need to test all configurations based on such a board. In such a case, the new option -b is use

Re: [U-Boot] [PATCH v10 2/4] mtd: nand: omap: enable BCH ECC scheme using ELM for generic platform

2013-11-19 Thread Gupta, Pekon
> From: Scott Wood [mailto:scottw...@freescale.com] > On Mon, 2013-11-18 at 19:03 +0530, Pekon Gupta wrote: > > @@ -763,77 +903,47 @@ static void __maybe_unused > omap_free_bch(struct mtd_info *mtd) > > * @eccstrength- the number of bits that could be corrected > > *

[U-Boot] [PATCH v2] Makefile: descend into subdirectories only when CONFIG_API is defined

2013-11-19 Thread Masahiro Yamada
All objects under api/ and examples/api/ directories are selected by CONFIG_API. So we can move CONFIG_API switch to the top Makefile. In order to use CONFIG_API, the definition of SUBDIR_EXAMPLES-y must be moved after "sinlude $(obj)include/autoconf.mk". Signed-off-by: Masahiro Yamada --- Chan

[U-Boot] [PATCH] arm: atmel: sam9m10g45ek: let CONFIG_SYS_NO_FLASH at proper position

2013-11-19 Thread Bo Shen
In config_cmd_default.h, it will use CONFIG_SYS_NO_FLASH to decide whether include CONFIG_CMD_FLASH and CONFIG_CMD_IMLS. So, if the CONFIG_SYS_NO_FLASH defined later than include/config_cmd_default.h, These two commands will be included always. So move CONFIG_SYS_NO_FLASH definition to proper posi

Re: [U-Boot] [PATCH] Makefile: descend into subdirectories only when CONFIG_API is defined

2013-11-19 Thread Masahiro Yamada
> +obj-$(CONFIG_PPC) += api_platform-powerpc.c I made a mistake here. s/api_platform-powerpc.c/api_platform-powerpc.o/ I will post version 2. Best Regards Masahiro Yamada ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/li

Re: [U-Boot] [PATCH v10 2/4] mtd: nand: omap: enable BCH ECC scheme using ELM for generic platform

2013-11-19 Thread Scott Wood
On Mon, 2013-11-18 at 19:03 +0530, Pekon Gupta wrote: > @@ -763,77 +903,47 @@ static void __maybe_unused omap_free_bch(struct > mtd_info *mtd) > * @eccstrength - the number of bits that could be corrected > * (1 - hamming, 4 - BCH4, 8 - BCH8, 16 - BCH16) > */

Re: [U-Boot] [U-Boot, v2, 2/3] mtd: nand: omap: add support for BCH16_ECC - NAND driver updates

2013-11-19 Thread Scott Wood
On Tue, 2013-11-19 at 13:21 +, Gupta, Pekon wrote: > > From: Scott Wood [mailto:scottw...@freescale.com] > > > On Tue, Sep 10, 2013 at 12:55:07PM +0530, pekon gupta wrote: > > > With increase in NAND flash densities occurence of bit-flips has > > > increased. > > > Thus stronger ECC schemes ar

Re: [U-Boot] [NAND] fsl_elbc_nand and subpage access

2013-11-19 Thread Scott Wood
On Tue, 2013-11-19 at 17:01 +0100, Valentin Longchamp wrote: > Hello Scott, > > For the kmp204x boards, UBI is used to take care of the volumes created and > deleted on our NAND Flash. I am currently using a 3.10 kernel and when UBI > attaches mtd0, this works fine: > > > UBI: attaching mtd0 to u

Re: [U-Boot] arm: U-Boot API - clang support broke ABI

2013-11-19 Thread Jeroen Hofstee
Hi Leif, On 11/18/2013 12:26 PM, Leif Lindholm wrote: Commit fe1378a - "ARM: use r9 for gd" - broke the ABI for users of the U-Boot API on ARM. Users I am aware of are GRUB and the FreeBSD loader. Since I only spotted this on Saturday, this code is well and truly in the wild, so any users of the

Re: [U-Boot] [PATCH v10 0/4] mtd: nand: omap: optimize and clean-up of OMAP NAND driver

2013-11-19 Thread Meier, Roger
> -Original Message- > From: Pekon Gupta [mailto:pe...@ti.com] [...] > > Pekon Gupta (4): > mtd: nand: omap: make am33xx/elm.c as common driver for all OMAPx and > AM platforms > mtd: nand: omap: enable BCH ECC scheme using ELM for generic platform > mtd: nand: omap: add CONF

Re: [U-Boot] [PATCH] pcm051: Support for revision 3

2013-11-19 Thread Tom Rini
On Tue, Nov 19, 2013 at 11:22:18AM +0100, Lars Poeschel wrote: > From: Lars Poeschel > > Phytec sells revision or version 3 of pcm051. It is labeled 1358.3 on > the board. The difference for u-boot is that is has other DDR3 RAM on it: > 1 x MT41K256M16HA125E instead of 2 x MT41J256M8HX15E on rev

Re: [U-Boot] arm: U-Boot API - clang support broke ABI

2013-11-19 Thread Tom Rini
On Tue, Nov 19, 2013 at 10:09:44AM +0100, Michal Simek wrote: > Hi Albert, > > I have just bisect why on the latest kernel hello world example doesn't work > and I have end up in this patch too. After reverting hello world example > is working. > > Also I would like to know if we have still bootm

Re: [U-Boot] [PATCH v8 0/5] mtd: nand: omap: optimize and clean-up of OMAP NAND driver

2013-11-19 Thread matti kaasinen
Hi Pekon, Thank you for you advices. http://processors.wiki.ti.com/index.php/AM35x-OMAP35x-PSP_04.02.00.07_UserGuide#Selecting_NAND_ECC_scheme_for_Linux_Kernelacvices selecting "Selecting NAND ECC scheme for Linux Kernel" by editing: arch/arm/mach-omap2/board-flash.c and drivers/mtd/nand/omap2.c I

Re: [U-Boot] [U-Boot, v2, 2/3] mtd: nand: omap: add support for BCH16_ECC - NAND driver updates

2013-11-19 Thread Scott Wood
On Tue, 2013-11-19 at 13:21 +, Gupta, Pekon wrote: > > From: Scott Wood [mailto:scottw...@freescale.com] > > > On Tue, Sep 10, 2013 at 12:55:07PM +0530, pekon gupta wrote: > > > With increase in NAND flash densities occurence of bit-flips has > > > increased. > > > Thus stronger ECC schemes ar

Re: [U-Boot] u-boot gerrit server

2013-11-19 Thread Heiko Schocher
Hello Tom, Am 19.11.2013 16:10, schrieb Tom Rini: On Tue, Nov 19, 2013 at 05:29:49AM +0100, Heiko Schocher wrote: Hello Tom, Am 18.11.2013 17:00, schrieb Tom Rini: On Mon, Nov 18, 2013 at 11:07:59AM +1100, Graeme Russ wrote: Hi All, You do all realise that we are going about this, to use so

Re: [U-Boot] u-boot gerrit server

2013-11-19 Thread Heiko Schocher
Hello Wolfgang, Am 19.11.2013 08:12, schrieb Wolfgang Denk: Dear Heiko, In message<528ae93d.2080...@denx.de> you wrote: - Maybe a cmdline interface to change the state of a patch, so I do not need to open a webbrowser (not necessary, would just nice ;-) This can be done using existing

Re: [U-Boot] [PATCH][v2] powerpc/T1040EMU: Add T1040 emulator support

2013-11-19 Thread York Sun
On 11/10/2013 09:25 PM, Jain Priyanka-B32167 wrote: > Hi, > > Dependency of below patch marked under --- > [U-Boot] powerpc/t1040qds: Add DDR Raw Timing support > http://patchwork.ozlabs.org/patch/286112/ > no longer holds true as thi patch has been deferred. > > But below emulator patch

[U-Boot] Strange UBI problems

2013-11-19 Thread Gary Thomas
I'm building U-Boot from the FSLC (repo/fork) on an i.MX6 U-Boot 2013.10-00012-g5bc3118-dirty (Nov 19 2013 - 09:17:18) CPU: Freescale i.MX6SOLO rev1.1 at 792 MHz After I made a small change today in the NAND FLASH layout, I can no longer use UBI from U-Boot. Here's what I see today: MyBoa

Re: [U-Boot] i2c issues with efikamx and mainline uboot

2013-11-19 Thread Fabio Estevam
On Tue, Nov 19, 2013 at 11:17 AM, Konstantinos Margaritis wrote: > (Disclaimer: u-boot newbie) > > Hi all, > > With Marek's huge help (thanks Marek!) I've tried to merge his tree [1] > that provides lcd support for the efikamx/efikasb with recent mainline > uboot. It boots, but I've hit some wall

Re: [U-Boot] i2c issues with efikamx and mainline uboot

2013-11-19 Thread Benoît Thébaudeau
Dear Marek Vasut, On Tuesday, November 19, 2013 4:37:00 PM, Marek Vasut wrote: > Dear Konstantinos Margaritis, > > > (Disclaimer: u-boot newbie) > > > > Hi all, > > > > With Marek's huge help (thanks Marek!) I've tried to merge his tree [1] > > that provides lcd support for the efikamx/efikasb

Re: [U-Boot] sending data from ram to host machin in u-boot

2013-11-19 Thread Wolfgang Denk
Dear tvpatel12, In message <1384859139104-167976.p...@n7.nabble.com> you wrote: > > I can have Ethernet connection. Can you elaborate how could i do that using > Ethernet only on uboot mode? Enable CONFIG_CMD_TFTPPUT in your board config, and use the tftpput command. Best regards, Wolfgang Den

[U-Boot] [NAND] fsl_elbc_nand and subpage access

2013-11-19 Thread Valentin Longchamp
Hello Scott, For the kmp204x boards, UBI is used to take care of the volumes created and deleted on our NAND Flash. I am currently using a 3.10 kernel and when UBI attaches mtd0, this works fine: > UBI: attaching mtd0 to ubi0 > UBI: scanning is finished > UBI: attached mtd0 (name "ubi0", size 128

Re: [U-Boot] [PATCH] cmd_test: fix a compile error on Blackfin

2013-11-19 Thread Måns Rullgård
Masahiro Yamada writes: > Before this commit, common/cmd_test.c defined > _STDBOOL_H in order to avoid including . > But this work-around is not a good idea. > > Blackfin header file > arch/blackfin/include/asm/blackfin_local.h > uses bool type here: > extern bool bfin_os_log_check(void); > > T

Re: [U-Boot] i2c issues with efikamx and mainline uboot

2013-11-19 Thread Marek Vasut
Dear Konstantinos Margaritis, > (Disclaimer: u-boot newbie) > > Hi all, > > With Marek's huge help (thanks Marek!) I've tried to merge his tree [1] > that provides lcd support for the efikamx/efikasb with recent mainline > uboot. It boots, but I've hit some wall now and couldn't get passed it, >

Re: [U-Boot] u-boot gerrit server

2013-11-19 Thread Tom Rini
On Tue, Nov 19, 2013 at 05:29:49AM +0100, Heiko Schocher wrote: > Hello Tom, > > Am 18.11.2013 17:00, schrieb Tom Rini: > >On Mon, Nov 18, 2013 at 11:07:59AM +1100, Graeme Russ wrote: > >>Hi All, > >> > >>You do all realise that we are going about this, to use some British > >>vernacular, arse-abo

Re: [U-Boot] [U-Boot, v2, 2/3] mtd: nand: omap: add support for BCH16_ECC - NAND driver updates

2013-11-19 Thread Gupta, Pekon
> From: Scott Wood [mailto:scottw...@freescale.com] > > On Tue, Sep 10, 2013 at 12:55:07PM +0530, pekon gupta wrote: > > With increase in NAND flash densities occurence of bit-flips has increased. > > Thus stronger ECC schemes are required for detecting and correcting > multiple > > simultaneous bi

Re: [U-Boot] [PATCH v9 0/4] mtd: nand: omap: optimize OMAP NAND driver

2013-11-19 Thread Ezequiel Garcia
On Tue, Nov 19, 2013 at 11:02:14AM +0530, Pekon Gupta wrote: > > OMAP NAND drivers support various ecc-schemes like (HAM1, BCH4, BCH8..) > And, each ecc-scheme usually has 2 implementations > - HAM1_HW or BCHx_HW (using in-build h/w engine for all computation) > - HAM1_SW or BCHx_HW_DETECTION_S

Re: [U-Boot] [PATCH v10 0/4] mtd: nand: omap: optimize and clean-up of OMAP NAND driver

2013-11-19 Thread Ezequiel Garcia
On Mon, Nov 18, 2013 at 07:02:58PM +0530, Pekon Gupta wrote: [..] > > Pekon Gupta (4): > mtd: nand: omap: make am33xx/elm.c as common driver for all OMAPx and > AM platforms > mtd: nand: omap: enable BCH ECC scheme using ELM for generic platform > mtd: nand: omap: add CONFIG_NAND_OMA

Re: [U-Boot] [PATCH v9 0/4] mtd: nand: omap: optimize OMAP NAND driver

2013-11-19 Thread Gupta, Pekon
Hi, > From: Abraham V. [abraham.varric...@vvdntech.com] > > Pekon Gupta wrote: > > OMAP NAND drivers support various ecc-schemes like (HAM1, BCH4, BCH8..) > > And, each ecc-scheme usually has 2 implementations > > - HAM1_HW or BCHx_HW (using in-build h/w engine for all computation) > > - HAM1_S

Re: [U-Boot] [PATCH] arm: omap3: Enable clocks for peripherals only if they are used

2013-11-19 Thread Michael Trimarchi
Hi On Tue, Nov 19, 2013 at 12:10 PM, Igor Grinberg wrote: > Hi Michael, > > On 11/19/13 10:59, Michael Trimarchi wrote: >> Hi Igor >> >> On Tue, Nov 19, 2013 at 9:49 AM, Michael Trimarchi >> wrote: >>> Hi Igor >>> >>> On Tue, Nov 19, 2013 at 9:24 AM, Igor Grinberg >>> wrote: Hi Michael, >

Re: [U-Boot] sending data from ram to host machin in u-boot

2013-11-19 Thread James W.
Sorry sir .i got it. 在 2013-11-19 PM6:52,"Wolfgang Denk" 写道: > Dear "James W.", > > In message o0mcs4kbu9q0awwpmbyycgg-1z+tg...@mail.gmail.com> you wrote: > > > > You need to code a serial driver protocol. At pc end .you using putty > > Why would he? > > > > I am working with Uboot only. there is

Re: [U-Boot] [PATCH v9 0/4] mtd: nand: omap: optimize OMAP NAND driver

2013-11-19 Thread Abraham V.
On Tue, Nov 19, 2013 at 11:02 AM, Pekon Gupta wrote: > > OMAP NAND drivers support various ecc-schemes like (HAM1, BCH4, BCH8..) > And, each ecc-scheme usually has 2 implementations > - HAM1_HW or BCHx_HW (using in-build h/w engine for all computation) > - HAM1_SW or BCHx_HW_DETECTION_SW) (usin

Re: [U-Boot] [PATCH] arm: omap3: Enable clocks for peripherals only if they are used

2013-11-19 Thread Igor Grinberg
Hi Michael, On 11/19/13 10:59, Michael Trimarchi wrote: > Hi Igor > > On Tue, Nov 19, 2013 at 9:49 AM, Michael Trimarchi > wrote: >> Hi Igor >> >> On Tue, Nov 19, 2013 at 9:24 AM, Igor Grinberg >> wrote: >>> Hi Michael, >>> >>> On 11/18/13 16:10, Michael Trimarchi wrote: Enable clocks for

Re: [U-Boot] sending data from ram to host machin in u-boot

2013-11-19 Thread tvpatel12
HI Wolfgang Denk , Thanks. I can have Ethernet connection. Can you elaborate how could i do that using Ethernet only on uboot mode? -- View this message in context: http://u-boot.10912.n7.nabble.com/sending-data-from-ram-to-host-machin-in-u-boot-tp167954p167976.html Sent from the U-Boot maili

Re: [U-Boot] sending data from ram to host machin in u-boot

2013-11-19 Thread Wolfgang Denk
Dear "James W.", In message you wrote: > > You need to code a serial driver protocol. At pc end .you using putty Why would he? > > I am working with Uboot only. there is no any kernel or OS. I am running > > program only dependent on U-boot. It stores result in RAM. Now, i want to > > transfer

[U-Boot] [PATCH] pcm051: Support for revision 3

2013-11-19 Thread Lars Poeschel
From: Lars Poeschel Phytec sells revision or version 3 of pcm051. It is labeled 1358.3 on the board. The difference for u-boot is that is has other DDR3 RAM on it: 1 x MT41K256M16HA125E instead of 2 x MT41J256M8HX15E on revisions 1 and 2. Both configurations are 512 MiB. Configure your u-boot bui

Re: [U-Boot] arm: U-Boot API - clang support broke ABI

2013-11-19 Thread Michal Simek
Hi Albert, I have just bisect why on the latest kernel hello world example doesn't work and I have end up in this patch too. After reverting hello world example is working. Also I would like to know if we have still bootm support for standlone http://www.denx.de/wiki/view/DULG/UBootStandalone#Sec

Re: [U-Boot] [PATCH V3 1/5] i.MX5x: define cpu_type() to return processor portion of cpu rev.

2013-11-19 Thread Stefano Babic
Hi Eric, On 19/11/2013 04:25, Eric Nelson wrote: > I still question the fact that we have two header files for i.MX5x > and i.MX6x declaring the returns implemented there. Good point. > > It seems that we should have a single header for routines > implemented there. > > Perhaps arch/arm/inclu

Re: [U-Boot] [PATCH 3/5] i.MX6: nitrogen6x/sabrelite: override set_board_name()

2013-11-19 Thread Stefano Babic
Hi Eric, On 19/11/2013 04:40, Eric Nelson wrote: >> I have a major question: if it is possible to detect at runtime, as you >> have already implemented, which is the board where code is running, why >> is it possible to override it for the operator ? >> > First off, I want to clarify things. Ther

Re: [U-Boot] [PATCH] arm: omap3: Enable clocks for peripherals only if they are used

2013-11-19 Thread Michael Trimarchi
Hi Igor On Tue, Nov 19, 2013 at 9:49 AM, Michael Trimarchi wrote: > Hi Igor > > On Tue, Nov 19, 2013 at 9:24 AM, Igor Grinberg > wrote: >> Hi Michael, >> >> On 11/18/13 16:10, Michael Trimarchi wrote: >>> Enable clocks for the peripherals only if they are used >>> >>> Signed-off-by: Michael Tri

Re: [U-Boot] [PATCH] arm: omap3: Enable clocks for peripherals only if they are used

2013-11-19 Thread Michael Trimarchi
Hi Igor On Tue, Nov 19, 2013 at 9:24 AM, Igor Grinberg wrote: > Hi Michael, > > On 11/18/13 16:10, Michael Trimarchi wrote: >> Enable clocks for the peripherals only if they are used >> >> Signed-off-by: Michael Trimarchi >> --- >> arch/arm/cpu/armv7/omap3/clock.c| 2 -- >> arch/arm/inc

Re: [U-Boot] [PATCH] arm: omap3: Enable clocks for peripherals only if they are used

2013-11-19 Thread Igor Grinberg
Hi Michael, On 11/18/13 16:10, Michael Trimarchi wrote: > Enable clocks for the peripherals only if they are used > > Signed-off-by: Michael Trimarchi > --- > arch/arm/cpu/armv7/omap3/clock.c| 2 -- > arch/arm/include/asm/arch-omap3/clock.h | 2 -- > 2 files changed, 4 deletions(-) > >