Re: [U-Boot] [PATCH v5 03/12] samsung: common: Add misc file and common function misc_init_r().

2014-01-14 Thread Przemyslaw Marczak
Hello, On 01/15/2014 08:35 AM, Minkyu Kang wrote: On 14/01/14 22:55, Przemyslaw Marczak wrote: Hello, In case of discussion with Piotr Wilczek maybe it is better to make some changes in this patch. On 01/10/2014 03:31 PM, Przemyslaw Marczak wrote: Config: CONFIG_MISC_INIT_R enables implement

[U-Boot] [PATCH 0/2] PPC: MPC82xx removal

2014-01-14 Thread Wolfgang Denk
This patch series removes support for the Freescale MPC82xx family of Power Architecture processors. They have been out of production for years. I did a full build test for all (remaining) Power Architecture boards, and sample builds for some ARM and MIPS boards. Due to it's size (2.3 MB) only t

[U-Boot] [PATCH 1/2] doc/README.scrapyard: update commit IDs, use TAB for indentation

2014-01-14 Thread Wolfgang Denk
To make adding new entries a bit easier, we reformat the file to use TABs for indentation. Also insert two now known commit IDs. Signed-off-by: Wolfgang Denk --- doc/README.scrapyard | 252 +++ 1 file changed, 154 insertions(+), 98 deletions(-) d

Re: [U-Boot] [PATCH v5 03/12] samsung: common: Add misc file and common function misc_init_r().

2014-01-14 Thread Minkyu Kang
On 14/01/14 22:55, Przemyslaw Marczak wrote: > Hello, > In case of discussion with Piotr Wilczek maybe it is better to make some > changes in this patch. > > On 01/10/2014 03:31 PM, Przemyslaw Marczak wrote: >> Config: CONFIG_MISC_INIT_R enables implementation of misc_init_r() >> in common file::

Re: [U-Boot] XHCI Issues

2014-01-14 Thread Aaron Williams
More info On 01/13/2014 08:28 PM, Aaron Williams wrote: On 01/13/2014 06:20 PM, Aaron Williams wrote: Hi all, I am bringing up XHCI support for our SOC and have run into several issues with U-Boot's XHCI code. 1. I need to use a wrapper I call xhci_readl/xhci_writel since all of our I/O is

Re: [U-Boot] [ANN] v2014.01-rc3

2014-01-14 Thread Przemyslaw Marczak
Dear all, On 01/15/2014 02:32 AM, Minkyu Kang wrote: On 14/01/14 22:12, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/13/2014 05:31 PM, Lukasz Majewski wrote: Hi Tom Hey all, I've put v2014.01-rc3 out and we should have a tarball soon. Here's where we're at, I feel.

Re: [U-Boot] [PATCH] spi: sh_qspi: Add header file that defines the address of registers

2014-01-14 Thread Nobuhiro Iwamatsu
2014/1/15 Jagan Teki : > On Wed, Jan 8, 2014 at 6:46 AM, Nobuhiro Iwamatsu > wrote: >> Signed-off-by: Nobuhiro Iwamatsu >> --- >> drivers/spi/sh_qspi.c | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/drivers/spi/sh_qspi.c b/drivers/spi/sh_qspi.c >> index edeb42d..77

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread Wolfgang Denk
Dear tiger...@viatech.com.cn, In message you wrote: > > CROSS_COMPILE=/home/lion/ARMv8/gcc-linaro-aarch64/bin/aarch64-linux-gnu- Side note: It is always wrong to use an absolute path name for CROSS_COMPILE. You should use "CROSS_COMPILE=aarch64-linux-gnu-" and make sure your PATH is set correc

Re: [U-Boot] [PATCH] net/bootp: add CONFIG_BOOTP_BOOTFILE

2014-01-14 Thread Wolfgang Denk
Dear Christian Gmeiner, In message <1389688171-31688-1-git-send-email-christian.gmei...@gmail.com> you wrote: > In some cases the TFTP server provides a bootfile name, which > does not expects our requirements. Make it possible to > not store the TFTP provided bootfile in the environment. There

Re: [U-Boot] [PATCH] nand: fix reading after switching ecc

2014-01-14 Thread Gupta, Pekon
>From: Jeroen Hofstee [mailto:jer...@myspectrum.nl] [...] > >The gpmc will fail in hw ecc mode when trying to do subpage reads. Pekon any >suggestion for the elm mode, or should this bit just be cleared >unconditionally? > There are two reasons for not supporting sub-page feature in OMAP platforms:

Re: [U-Boot] [PATCH v2] arm: exynos: change to use clrbits macro instead of readl/writel function

2014-01-14 Thread Jaehoon Chung
Acked-by: Jaehoon Chung Best Regards, Jaehoon Chung On 01/15/2014 02:27 PM, Inha Song wrote: > Use setbits/clrbits macro instead of readl/writel function > > Signed-off-by: Inha Song > Signed-off-by: Minkyu Kang > Tested-by: Przemyslaw Marczak > --- > Changes for v2: > - Coding Style cleanup

[U-Boot] [PATCH v2] arm: exynos: change to use clrbits macro instead of readl/writel function

2014-01-14 Thread Inha Song
Use setbits/clrbits macro instead of readl/writel function Signed-off-by: Inha Song Signed-off-by: Minkyu Kang Tested-by: Przemyslaw Marczak --- Changes for v2: - Coding Style cleanup - add signed-off-by arch/arm/cpu/armv7/exynos/clock.c | 82 + 1 file ch

Re: [U-Boot] [PATCH v1 0/2] mtd: nand: omap: booting from NAND using u-boot

2014-01-14 Thread Gupta, Pekon
Hi Brian, >From: Enric Balletbo Serra [mailto:eballe...@gmail.com] >>2014/1/6 Stefan Roese : ... As there were parallel set of patches running between u-boot and kernel. hence, some patch-sets caused regression for OMAP3x platforms when booting using u-boot specifically for ecc-sche

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread FengHua
> -Original Messages- > From: tiger...@viatech.com.cn > Sent Time: 2014-01-15 08:45:16 (Wednesday) > To: scottw...@freescale.com, bhupesh.sha...@freescale.com > Cc: feng...@phytium.com.cn, tr...@ti.com, u-boot@lists.denx.de > Subject: Re: [U-Boot] how to get u-boot code with arm64: core su

[U-Boot] [PATCH v3 2/2] boards.cfg: Delete the equivalent entries

2014-01-14 Thread Masahiro Yamada
There are some entries which produce the same binaries: - ep8248E is equivalent to ep8248 - MPC8360ERDK_66is equivalent to MPC8360ERDK - Adder87x/AdderUSB is equivalent to Adder - EVB64260_750CXis equivalent to EVB64260 I also notice - Lite5200 is equivalent to ice

Re: [U-Boot] [PATCH] spi: sh_qspi: Add header file that defines the address of registers

2014-01-14 Thread Jagan Teki
On Wed, Jan 8, 2014 at 6:46 AM, Nobuhiro Iwamatsu wrote: > Signed-off-by: Nobuhiro Iwamatsu > --- > drivers/spi/sh_qspi.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/spi/sh_qspi.c b/drivers/spi/sh_qspi.c > index edeb42d..77ede6b 100644 > --- a/drivers/spi/s

[U-Boot] [PATCH] sandbox: fix the return type of os_free() function

2014-01-14 Thread Masahiro Yamada
The function os_free() returns nothing. Its return type should be "void" rather than "void *". Signed-off-by: Masahiro Yamada --- Simon, This commit fixes a warning: u-boot/include/os.h: In function ‘os_free’: arch/sandbox/cpu/os.c:153:1: warning: control reaches end of non-void function [-Wr

Re: [U-Boot] [PATCH v4 32/37] Makefile: refactor tools-all targets

2014-01-14 Thread Masahiro Yamada
Hello Gerhard. > > There is another issue for those who do > > make HOSTCC=${CROSS_COMPILE}gcc env > (needs a HOSTSTRIP spec as well in recent mainline sources) > > to get an fw_printenv(1) binary that runs on the target (in > contrast to the build machine). Some yocto recipes do this, to

Re: [U-Boot] [PATCH] ARM: merge commonly-defined PLATFORM_RELFLAGS

2014-01-14 Thread Masahiro Yamada
Hello Albert, > > All arch/arm/cpu/${CPU}/config.mk had the same > > PLATFORM_RELFLAGS definitions. > > This commit merges them into arch/arm/config.mk. > > > > Signed-off-by: Masahiro Yamada > > --- > > This does not apply cleanly on ARM tree. Can you please rebase and > submit v2? I poste

[U-Boot] [PATCH v2] ARM: merge commonly-defined PLATFORM_RELFLAGS

2014-01-14 Thread Masahiro Yamada
Before this commit, all arch/arm/cpu/${CPU}/config.mk except ARMv8 had the same option: $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) This commit moves it into arch/arm/config.mk. If the compiler does not support the option, it is ignored by $(call cc-option,...). So t

[U-Boot] A list of dead email addresses of board maintainers

2014-01-14 Thread Masahiro Yamada
Hello. When I CC board maintainers, it sometimes results in bounce mails. How should we modify boards.cfg? Delete the email? Or just mark as "dead address" ? I noticed at least the following email addresses are dead: The folloings are the snippet of returned mail notifier.

Re: [U-Boot] [ANN] v2014.01-rc3

2014-01-14 Thread Minkyu Kang
On 14/01/14 22:12, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 01/13/2014 05:31 PM, Lukasz Majewski wrote: >> Hi Tom >> >>> Hey all, >>> >>> I've put v2014.01-rc3 out and we should have a tarball soon. >>> >>> Here's where we're at, I feel. We got some big changes in,

[U-Boot] [PATCH] powerpc: mpc85xx: move CONFIG_MPC85xx definition to CPU config.mk

2014-01-14 Thread Masahiro Yamada
Define CONFIG_MPC85xx in arch/powerpc/cpu/mpc85xx/config.mk because all target boards with mpc85xx cpu define it. Signed-off-by: Masahiro Yamada --- arch/powerpc/cpu/mpc85xx/config.mk | 2 +- include/configs/B4860QDS.h | 1 - include/configs/BSC9131RDB.h| 1 - include/configs/

[U-Boot] [PATCH] powerpc: mpc86xx: move CONFIG_MPC86xx definition to CPU config.mk

2014-01-14 Thread Masahiro Yamada
Define CONFIG_MPC86xx in arch/powerpc/cpu/mpc86xx/config.mk because all target boards with mpc86xx cpu define it. Signed-off-by: Masahiro Yamada --- arch/powerpc/cpu/mpc86xx/config.mk | 2 +- include/configs/MPC8610HPCD.h | 1 - include/configs/MPC8641HPCN.h | 1 - include/configs/sbc

[U-Boot] [PATCH] powerpc: mpc824x: remove redundant CONFIG_MPC824X definition

2014-01-14 Thread Masahiro Yamada
We do not have to define CONFIG_MPC824X in board config headers because it is defined in arch/powerpc/cpu/mpc824x/config.mk. Signed-off-by: Masahiro Yamada --- include/configs/A3000.h | 1 - include/configs/CPC45.h | 1 - include/configs/CU824.h | 1 - include/configs/HI

[U-Boot] [PATCH] powerpc: mpc5xx: remove redundant CONFIG_5xx definition

2014-01-14 Thread Masahiro Yamada
We do not have to define CONFIG_5xx in a source file because it is defined in arch/powerpc/cpu/mpc5xx/config.mk. Signed-off-by: Masahiro Yamada --- arch/powerpc/cpu/mpc5xx/start.S | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/cpu/mpc5xx/start.S b/arch/powerpc/cpu/mpc5xx/star

[U-Boot] [PATCH] powerpc: mpc512x: remove redundant CONFIG_MPC512X definition

2014-01-14 Thread Masahiro Yamada
We do not have to define CONFIG_MPC512X in board config headers because it is defined in arch/powerpc/cpu/mpc512x/config.mk. Signed-off-by: Masahiro Yamada --- include/configs/ac14xx.h | 1 - include/configs/aria.h | 1 - include/configs/mecp5123.h | 1 - include/configs/mpc5121ads.

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread TigerLiu
Hi, Scott: >You need to use u-boot.elf, not the unrelocated u-boot. Thanks a lot! After changing to u-boot.elf, it could be run in FVP model. Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] mxc_i2c driver

2014-01-14 Thread Troy Kisky
On 1/14/2014 2:26 PM, York Sun wrote: Troy, I am trying to use mxc_i2c driver with multiple buses. I didn't figure out how the bases are set. Can you shed some light on this? Thanks, York see board/boundary/nitrogen6x/nitrogen6x.c It calls setup_i2c(0, CONFIG_SYS_I2C_SPEED, 0x7f, &i

Re: [U-Boot] [PATCH] spi: sh_qspi: Add header file that defines the address of registers

2014-01-14 Thread Nobuhiro Iwamatsu
Hi, Jagan. 2014/1/14 Jagan Teki : > Hi Nobuhiro, > > On Tue, Jan 14, 2014 at 5:42 AM, Nobuhiro Iwamatsu > wrote: >> Hi, >> >> 2014/1/14 Nobuhiro Iwamatsu : >>> Hi, Jagan. >>> >>> 2014/1/9 Jagan Teki : Hi Nobuhiro, On Thu, Jan 9, 2014 at 9:49 AM, Nobuhiro Iwamatsu wrote: >

Re: [U-Boot] mxc_i2c driver

2014-01-14 Thread York Sun
On 01/14/2014 03:25 PM, Troy Kisky wrote: > On 1/14/2014 2:26 PM, York Sun wrote: >> Troy, >> >> I am trying to use mxc_i2c driver with multiple buses. I didn't figure out >> how >> the bases are set. Can you shed some light on this? >> >> Thanks, >> >> York >> > see board/boundary/nitrogen6x/nitr

[U-Boot] mxc_i2c driver

2014-01-14 Thread York Sun
Troy, I am trying to use mxc_i2c driver with multiple buses. I didn't figure out how the bases are set. Can you shed some light on this? Thanks, York ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] nand: fix reading after switching ecc

2014-01-14 Thread Jeroen Hofstee
On 01/14/2014 10:05 PM, Scott Wood wrote: I meant a function that resets everything that might have been set automatically by the previous nand_scan_tail(), not just one flag. Well I am talking about a single bit bricking my board. Not causing a problem otherwise, besides you falling about i

Re: [U-Boot] [PATCH] nand: fix reading after switching ecc

2014-01-14 Thread Scott Wood
On Tue, 2014-01-14 at 22:15 +0100, Jeroen Hofstee wrote: > On 01/14/2014 10:05 PM, Scott Wood wrote: > > > > I meant a function that resets everything that might have been set > > automatically by the previous nand_scan_tail(), not just one flag. > > > > > > Well I am talking about a single bit br

Re: [U-Boot] [PATCH] nand: fix reading after switching ecc

2014-01-14 Thread Scott Wood
On Tue, 2014-01-14 at 21:56 +0100, Jeroen Hofstee wrote: > On 01/14/2014 09:41 PM, Scott Wood wrote: > > On Tue, 2014-01-14 at 21:38 +0100, Jeroen Hofstee wrote: > >> On 01/14/2014 09:21 PM, Scott Wood wrote: > >>> All the other cleanup required to change ECC modes is handled by the > >>> OMAP driv

Re: [U-Boot] [U-Boot, v2] fuelgauge: max17042: fix i2c read issue which causes infinity loop.

2014-01-14 Thread Tom Rini
On Mon, Dec 30, 2013 at 11:24:32AM +0100, Przemyslaw Marczak wrote: > Issues: > - reading i2c data by passing u16 pointer causes errors in read data. > - max17042 status register fields have not only Power On Reset meaning > so using proper mask is required. > > Changes: > - read i2c data to ty

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

2014-01-14 Thread Tom Rini
On Tue, Jan 14, 2014 at 02:04:08PM +0100, Albert ARIBAUD wrote: > Hello Tom, > > The following changes since commit > 4efd69250f6118ebd783867b3809001a1886ce9e: > > ARM: pxa: Fix OneNAND window access on VPAC270 (2014-01-13 12:39:10 > +0100) > > are available in the git repository at: > >

Re: [U-Boot] command.c: Fix auto-completion for the full commands list case

2014-01-14 Thread Tom Rini
On Fri, Dec 27, 2013 at 10:05:14AM -0600, Andrew Gabbasov wrote: > Compiling of full list of commands does not advance the counter, > so it always results in an empty list. > This seems to be (inadvertently?) introduced by commit > 6c7c946cadfafdea80eb930e3181085b907a0362. > > Signed-off-by: Andr

Re: [U-Boot] common/image.c: move VxWorks header string out of CONFIG_CMD_ELF

2014-01-14 Thread Tom Rini
On Fri, Dec 27, 2013 at 04:01:50PM +0800, miao@windriver.com wrote: > Otherwise, when booting VxWorks kernel, the incorrect message will > be seen: > > ARM Unknown OS Kernel Image (uncompressed) > > Signed-off-by: Miao Yan Applied to u-boot/master, thanks! -- Tom signature.asc Desc

Re: [U-Boot] lzma: fix buffer bound check error

2014-01-14 Thread Tom Rini
On Tue, Dec 31, 2013 at 02:57:01AM +0100, Antonios Vamporakis wrote: > Variable uncompressedSize references the space available, while outSizeFull is > the actual expected uncompressed size. Using the wrong value causes LzmaDecode > to return SZ_ERROR_INPUT_EOF. Problem was introduced in commit af

Re: [U-Boot] [U-Boot, v2] bootm: Reinstate special case for standalone images

2014-01-14 Thread Tom Rini
On Thu, Dec 26, 2013 at 04:26:24PM -0700, Simon Glass wrote: > For standalone images, bootm had a special case where the OS boot function > was NULL but did actually exist. It was just called manually. > > This was removed by commit 35fc84fa which checks for the non-existence of > this function b

Re: [U-Boot] board: nios2: Add CONFIG_CFI_FLASH_MTD guard to flash.h header include

2014-01-14 Thread Tom Rini
On Fri, Dec 20, 2013 at 06:34:53PM -0300, Ezequiel Garcia wrote: > Signed-off-by: Ezequiel Garcia Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

Re: [U-Boot] common, env: optimize boottime

2014-01-14 Thread Tom Rini
On Thu, Dec 19, 2013 at 01:45:04PM +0100, Heiko Schocher wrote: > when creating the hashtable, for each environmentvariable > getenv(ENV_CALLBACK_VAR) and getenv(ENV_FLAGS_VAR) is called, > which costs at this point a lot of time. So call this two > getenv() calls only once. > > Boottime on the i

Re: [U-Boot] Pull request: u-boot-net.git master

2014-01-14 Thread Tom Rini
On Tue, Jan 14, 2014 at 01:12:23PM -0600, Joe Hershberger wrote: > The following changes since commit cddb6b8304bfbc34f43920051256de7fe6c4c0ab: > > Prepare v2014.01-rc3 (2014-01-13 14:36:17 -0500) > > are available in the git repository at: > > git://git.denx.de/u-boot-net.git master > > f

Re: [U-Boot] [PATCH] mmc: dwmmc: mode change to 0644

2014-01-14 Thread Tom Rini
On Tue, Jan 14, 2014 at 06:00:51PM +0900, Minkyu Kang wrote: > Don't know why but, file permission was changed > > Signed-off-by: Minkyu Kang Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing

Re: [U-Boot] [PATCH] nand: fix reading after switching ecc

2014-01-14 Thread Jeroen Hofstee
On 01/14/2014 09:41 PM, Scott Wood wrote: On Tue, 2014-01-14 at 21:38 +0100, Jeroen Hofstee wrote: On 01/14/2014 09:21 PM, Scott Wood wrote: All the other cleanup required to change ECC modes is handled by the OMAP driver; why shouldn't this be as well? If there are more architectures, who th

Re: [U-Boot] [PATCH] nand: fix reading after switching ecc

2014-01-14 Thread Scott Wood
On Tue, 2014-01-14 at 21:38 +0100, Jeroen Hofstee wrote: > On 01/14/2014 09:21 PM, Scott Wood wrote: > > All the other cleanup required to change ECC modes is handled by the > > OMAP driver; why shouldn't this be as well? > > > If there are more architectures, who think it is brilliant to switch

Re: [U-Boot] [PATCH] nand: fix reading after switching ecc

2014-01-14 Thread Jeroen Hofstee
On 01/14/2014 09:21 PM, Scott Wood wrote: On Tue, 2014-01-14 at 21:11 +0100, Jeroen Hofstee wrote: Hello Scott, Pekon, On 01/13/2014 07:18 PM, Scott Wood wrote: The omap_gpmc allows switching ecc at runtime. Since the NAND_SUBPAGE_READ flag is only set, it is kept when switching to hw ecc, whi

Re: [U-Boot] [PATCH] nand: fix reading after switching ecc

2014-01-14 Thread Scott Wood
On Tue, 2014-01-14 at 21:11 +0100, Jeroen Hofstee wrote: > Hello Scott, Pekon, > > On 01/13/2014 07:18 PM, Scott Wood wrote: > > > >> > >>> The omap_gpmc allows switching ecc at runtime. Since > >>> the NAND_SUBPAGE_READ flag is only set, it is kept when > >>> switching to hw ecc, which is not cor

Re: [U-Boot] [PATCH] nand: fix reading after switching ecc

2014-01-14 Thread Jeroen Hofstee
Hello Scott, Pekon, On 01/13/2014 07:18 PM, Scott Wood wrote: The omap_gpmc allows switching ecc at runtime. Since the NAND_SUBPAGE_READ flag is only set, it is kept when switching to hw ecc, which is not correct. This leads to calling chip->ecc.read_subpage which is not a valid pointer. The

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread Scott Wood
On Tue, 2014-01-14 at 05:23 -0600, Sharma Bhupesh-B45370 wrote: > Not the u-boot.bin, only u-boot: > > ./Foundation_v8 --image ./u-boot --cores=4 --no-secure-memory You need to use u-boot.elf, not the unrelocated u-boot. -Scott ___ U-Boot mailing lis

[U-Boot] Pull request: u-boot-net.git master

2014-01-14 Thread Joe Hershberger
The following changes since commit cddb6b8304bfbc34f43920051256de7fe6c4c0ab: Prepare v2014.01-rc3 (2014-01-13 14:36:17 -0500) are available in the git repository at: git://git.denx.de/u-boot-net.git master for you to fetch changes up to f66e3ded61aeafc67f3ebb6ab0302b455f102ce3: net: phy:

Re: [U-Boot] [PATCH v2 3/3] net: phy: atheros: Fix the masks for AR8031/8035

2014-01-14 Thread Joe Hershberger
On Tue, Jan 14, 2014 at 8:13 AM, Fabio Estevam wrote: > Hi Joe, > > On Fri, Jan 3, 2014 at 3:55 PM, Fabio Estevam wrote: >> From: Fabio Estevam >> >> Use the same masks as used in the kernel: >> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/net/phy/at803x.c?id

Re: [U-Boot] [PATCH v2 3/3] net: phy: atheros: Fix the masks for AR8031/8035

2014-01-14 Thread Stefano Babic
Hi Joe, On 14/01/2014 20:03, Joe Hershberger wrote: On Tue, Jan 14, 2014 at 8:13 AM, Fabio Estevam wrote: Hi Joe, On Fri, Jan 3, 2014 at 3:55 PM, Fabio Estevam wrote: From: Fabio Estevam Use the same masks as used in the kernel: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-st

Re: [U-Boot] [PATCH] DRA7: add ABB setup for MPU voltage domain

2014-01-14 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/14/2014 01:27 PM, Nishanth Menon wrote: > Patch adds modification to shared omap5 abb_setup() function, and > proper registers definitions needed for ABB setup sequence. ABB is > initialized for MPU voltage domain at OPP_NOM. > > Signed-off-by

[U-Boot] [PATCH] DRA7: add ABB setup for MPU voltage domain

2014-01-14 Thread Nishanth Menon
Patch adds modification to shared omap5 abb_setup() function, and proper registers definitions needed for ABB setup sequence. ABB is initialized for MPU voltage domain at OPP_NOM. Signed-off-by: Nishanth Menon --- arch/arm/cpu/armv7/omap5/abb.c | 13 ++--- arch/arm/cpu/armv7/o

Re: [U-Boot] Bug in TOP860 code with gcc 4.8.1

2014-01-14 Thread Jeroen Hofstee
Hello Reinhard, On 01/14/2014 12:33 PM, Reinhard Meyer wrote: Dear Wolfgang, Dear Reinhard, attempting to build the TOP860 code with a GCC 4.8.1 based tool chain (say ELDK v5.5 or Yocto 1.5) gives the following errors: -> ./MAKEALL TOP860 Configuring for TOP860 board... textdata b

[U-Boot] [PATCH v2] powerpc: mpc8xx: remove redundant CONFIG_8xx definition

2014-01-14 Thread Masahiro Yamada
We do not have to define CONFIG_8xx in source files because it is defined in arch/powerpc/cpu/mpc8xx/config.mk Signed-off-by: Masahiro Yamada --- Changes in v2: - Fix a typo in the subject: s/redandant/redundant/ arch/powerpc/cpu/mpc8xx/kgdb.S | 2 -- arch/powerpc/cpu/mpc8xx/start.S | 2 --

[U-Boot] [PATCH] board: tec-ng: Do not make directories in a board Makefile

2014-01-14 Thread Masahiro Yamada
Commit e5c5301f refactored the build system not to make directories in board makefiles. But commit 8f380381 create directories again in board/avionic-design/tec-ng/Makefile. Signed-off-by: Masahiro Yamada Cc: Alban Bedel --- board/avionic-design/tec-ng/Makefile | 2 -- 1 file changed, 2 deletio

Re: [U-Boot] Compiling fw_printenv tool

2014-01-14 Thread Masahiro Yamada
Hello Detlev > > How do I cross compile it for my embedded system? Do I just set the > > HOSTCC environment variable in the Makefile? > > No changes in any makefiles are needed, just do > > make HOSTCC=arm-none-linuex-gnueabi-gcc env It looks weird to me. I think HOSTCC should be always "gcc"

[U-Boot] [PATCH v2] powerpc: ppc4xx: remove redundant CONFIG_4xx definition

2014-01-14 Thread Masahiro Yamada
We do not have to define CONFIG_4xx in board config headers because it is defined in arch/powerpc/cpu/ppc4xx/config.mk. include/configs/JSE.h defines "CONFIG_4x", not "CONFIG_4xx". I believe it is a typo because "CONFIG_4x" is not used at all in other files. So, I also deleted "CONFIG_4x" in inclu

[U-Boot] [PATCH v2] powerpc: mpc5xxx: remove redundant CONFIG_MPC5xxx definition

2014-01-14 Thread Masahiro Yamada
We do not have to define CONFIG_MPC5xxx in board config headers (and start.S) because it is defined in arch/powerpc/cpu/mpc5xxx/config.mk. Signed-off-by: Masahiro Yamada --- Changes in v2: - Fix a typo in the subject: s/redandant/redundant/ arch/powerpc/cpu/mpc5xxx/start.S | 2 --

[U-Boot] [PATCH] .gitignore: ignore u-boot.elf and tools/relocate-rela

2014-01-14 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- .gitignore | 1 + tools/.gitignore | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 3b14c25..97f7db0 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,7 @@ /SPL /System.map /u-boot +/u-boot.elf /u-boot.hex /u-boo

[U-Boot] [PATCH v2] powerpc: mpc83xx: remove redundant CONFIG_MPC83xx definition

2014-01-14 Thread Masahiro Yamada
We do not have to define CONFIG_MPC83xx in board config headers because it is defined in arch/powerpc/cpu/mpc83xx/config.mk. Signed-off-by: Masahiro Yamada --- Changes in v2: - Fix a typo in the subject: s/redandant/redundant/ include/configs/MERGERBOX.h| 1 - include/configs/MPC830

[U-Boot] [PATCH] DRA7: Add support for ES1.1 silicon ID code

2014-01-14 Thread Nishanth Menon
ES1.1 silicon is a very minor variant of ES1.0. Add priliminary support for ES1.1 IDCODE change. Signed-off-by: Nishanth Menon Reviewed-by: Tom Rini --- arch/arm/cpu/armv7/omap-common/clocks-common.c |2 +- arch/arm/cpu/armv7/omap-common/emif-common.c |5 ++--- arch/arm/cpu/armv7/oma

Re: [U-Boot] BCH8 support when we do not have ELM h/w engine.

2014-01-14 Thread Enric Balletbo Serra
Hi Pekon, 2014/1/13 Gupta, Pekon : > Hi Enric, > >> >>Hi Pekon, >> >>2013/12/10 Gupta, Pekon : >>> Hi Enric, >>> >>> Sorry I missed your earlier mail, so din't check this.. >>> From: Enric Balletbo Serra [mailto:eballe...@gmail.com] > > I saw that the OOB layout is not the same when I

Re: [U-Boot] [PATCH v2 3/3] net: phy: atheros: Fix the masks for AR8031/8035

2014-01-14 Thread Fabio Estevam
Hi Joe, On Fri, Jan 3, 2014 at 3:55 PM, Fabio Estevam wrote: > From: Fabio Estevam > > Use the same masks as used in the kernel: > https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/drivers/net/phy/at803x.c?id=refs/tags/v3.12.6 > > With such changes Ethernet is functional

Re: [U-Boot] [PATCH v5 03/12] samsung: common: Add misc file and common function misc_init_r().

2014-01-14 Thread Przemyslaw Marczak
Hello, In case of discussion with Piotr Wilczek maybe it is better to make some changes in this patch. On 01/10/2014 03:31 PM, Przemyslaw Marczak wrote: Config: CONFIG_MISC_INIT_R enables implementation of misc_init_r() in common file:: - board/samsung/common/misc.c Signed-off-by: Przemyslaw

Re: [U-Boot] [PATCH 5/7] board:samsung:universal: add env variables describing platform

2014-01-14 Thread Przemyslaw Marczak
Hello Piotr, On 01/14/2014 01:33 PM, Piotr Wilczek wrote: Hi Przemyslaw, -Original Message- From: Przemyslaw Marczak [mailto:p.marc...@samsung.com] Sent: Tuesday, January 14, 2014 11:10 AM To: u-boot@lists.denx.de Cc: Piotr Wilczek; 'Minkyu Kang'; 'Kyungmin Park'; Lukasz Majewski Subje

Re: [U-Boot] [ANN] v2014.01-rc3

2014-01-14 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/13/2014 05:31 PM, Lukasz Majewski wrote: > Hi Tom > >> Hey all, >> >> I've put v2014.01-rc3 out and we should have a tarball soon. >> >> Here's where we're at, I feel. We got some big changes in, which >> had been due for a while, on Friday.

[U-Boot] Pull request: u-boot-arm/master

2014-01-14 Thread Albert ARIBAUD
Hello Tom, The following changes since commit 4efd69250f6118ebd783867b3809001a1886ce9e: ARM: pxa: Fix OneNAND window access on VPAC270 (2014-01-13 12:39:10 +0100) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes up to 6ba2bc8fa9be4bd09e

Re: [U-Boot] [PULL] : Please pull u-boot-imx

2014-01-14 Thread Albert ARIBAUD
Hi Stefano, On Tue, 14 Jan 2014 10:34:19 +0100, Stefano Babic wrote: > Hi Albert, > > please pull from u-boot-imx, thanks. > > The following changes since commit 4b0561d84198f8d696fd51cfc27aeac8c7482a8c: > > Merge branch 'u-boot-samsung/master' into 'u-boot-arm/master' > (2014-01-06 09:32:4

Re: [U-Boot] [PATCH v1 0/24] Zynq DT changes

2014-01-14 Thread Michal Simek
Hi Albert, On 01/14/2014 01:08 PM, Albert ARIBAUD wrote: > Hi Michal, > > On Fri, 3 Jan 2014 11:10:45 +0100, Michal Simek > wrote: > >> Hi, >> >> this is respin of Jagan v3 series sent here >> http://lists.denx.de/pipermail/u-boot/2013-December/169617.html >> + 2 patches v4 >> http://lists.den

Re: [U-Boot] [PATCH 5/7] board:samsung:universal: add env variables describing platform

2014-01-14 Thread Piotr Wilczek
Hi Przemyslaw, > -Original Message- > From: Przemyslaw Marczak [mailto:p.marc...@samsung.com] > Sent: Tuesday, January 14, 2014 11:10 AM > To: u-boot@lists.denx.de > Cc: Piotr Wilczek; 'Minkyu Kang'; 'Kyungmin Park'; Lukasz Majewski > Subject: Re: [PATCH 5/7] board:samsung:universal: add e

Re: [U-Boot] [PATCH v1 0/24] Zynq DT changes

2014-01-14 Thread Albert ARIBAUD
Hi Michal, On Fri, 3 Jan 2014 11:10:45 +0100, Michal Simek wrote: > Hi, > > this is respin of Jagan v3 series sent here > http://lists.denx.de/pipermail/u-boot/2013-December/169617.html > + 2 patches v4 > http://lists.denx.de/pipermail/u-boot/2013-December/169753.html > http://lists.denx.de/pi

[U-Boot] [PATCH] mx6: Distinguish mx6dual from mx6quad

2014-01-14 Thread Fabio Estevam
From: Fabio Estevam Currently when we boot a mx6dual U-boot reports that it is a mx6quad. Report it as MX6D instead: CPU: Freescale i.MX6D rev1.2 at 792 MHz Signed-off-by: Fabio Estevam Tested-by: Otavio Salvador --- arch/arm/cpu/armv7/mx6/soc.c | 14 +++--- arch/arm/

Re: [U-Boot] Bug in TOP860 code with gcc 4.8.1

2014-01-14 Thread Reinhard Meyer
Dear Wolfgang, Dear Reinhard, attempting to build the TOP860 code with a GCC 4.8.1 based tool chain (say ELDK v5.5 or Yocto 1.5) gives the following errors: -> ./MAKEALL TOP860 Configuring for TOP860 board... textdata bss dec hex filename 165471 21020 17316 203807 3

Re: [U-Boot] Compiling fw_printenv tool

2014-01-14 Thread Alexey Smishlayev
Hello Detlev, On 2014.01.14. 12:54, Detlev Zundel wrote: Hi Alexey, Dear Detlev, I ran $ make HOSTCC=arm-none-linux-gnueabi-gcc env and got the tools/env/fw_printenv executable. But the Make command returned error: strip: Unable to recognise the format of the input file `fw_printenv' make[1]:

Re: [U-Boot] [PATCH] arm: use canonical sub mnemonic

2014-01-14 Thread Albert ARIBAUD
Hi Andreas, On Wed, 27 Nov 2013 16:09:29 +0100, Andreas Bießmann wrote: > Building some arm boards with older binutils may produce errors like this: > > ---8<--- > crt0.S: Assembler messages: > crt0.S:70: Error: register expected, not '#(184)' -- `sub sp,#(184)' > --->8--- > > Use canonical ve

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread TigerLiu
Hi, sharma: >Not the u-boot.bin, only u-boot: >./Foundation_v8 --image ./u-boot --cores=4 --no-secure-memory FVP model print: Simulation is started Then not run further. Based on arm open source firmware doc, should use Foundation_v8 as below format: ./Foundation_v8 \ -

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread bhupesh.sha...@freescale.com
Not the u-boot.bin, only u-boot: ./Foundation_v8 --image ./u-boot --cores=4 --no-secure-memory Regards, Bhupesh > -Original Message- > From: tiger...@viatech.com.cn [mailto:tiger...@viatech.com.cn] > Sent: Tuesday, January 14, 2014 4:52 PM > To: Sharma Bhupesh-B45370; feng...@phytium.co

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread TigerLiu
Hi,Sharma: >Can you try this command: >./Foundation_v8 --image ./u-boot --cores=4 --no-secure-memory Error: terminal_1: Listening for serial connection on port 5000 terminal_2: Listening for serial connection on port 5001 terminal_0: Listening for serial connection on port 5002 terminal_3: Listeni

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread bhupesh.sha...@freescale.com
> -Original Message- > From: tiger...@viatech.com.cn [mailto:tiger...@viatech.com.cn] > Sent: Tuesday, January 14, 2014 4:40 PM > To: Sharma Bhupesh-B45370; feng...@phytium.com.cn > Cc: tr...@ti.com; u-boot@lists.denx.de; Wood Scott-B07421 > Subject: Re: Re: [U-Boot] how to get u-boot code

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread TigerLiu
Hi, sharma: > ./Foundation_v8 --cores=4 --no-secure-memory --visualization --data="./bl1.bin"@0x0 --data="./u-boot.bin"@0x800 Is the TEXT_BASE right? Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-b

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread TigerLiu
Hi, sharma: >Which ARMv8 foundation model version you are using. I one I have doesn't support >GiCv3. UEFI supports both GiCv3 and v2 whereas I believe uboot is only tested >for GiCv2. I download FVP from ARM Ltd website: http://www.arm.com/products/tools/models/fast-models/foundation-model.ph p h

Re: [U-Boot] Compiling fw_printenv tool

2014-01-14 Thread Detlev Zundel
Hi Alexey, > Dear Detlev, > > I ran > $ make HOSTCC=arm-none-linux-gnueabi-gcc env > and got the tools/env/fw_printenv executable. But the Make command > returned error: > strip: Unable to recognise the format of the input file `fw_printenv' > make[1]: *** [fw_printenv] Error 1 > > I guess, HOSTST

Re: [U-Boot] [PATCH 8/9] ums: always initialize mmc before ums_disk_init()

2014-01-14 Thread Mateusz Zalega
On 01/14/14 01:49, Minkyu Kang wrote: > On 09/01/14 23:31, Mateusz Zalega wrote: >> In some cases MMC was still uninitialized while media capacity check, >> leading to broken ums command. >> >> Change-Id: I4b86c2c59e430fb8b55272ea14f00316d8cb3dca >> Signed-off-by: Mateusz Zalega >> Cc: Lukasz Maje

Re: [U-Boot] [PATCH v3] arm: put .hash, .got.plt and .machine_param back in binaries

2014-01-14 Thread Albert ARIBAUD
On Mon, 13 Jan 2014 14:57:05 +0100, Albert ARIBAUD wrote: > Some targets will build fine but not boot if sections .hash and > .got.plt are not present in the binary. Add them back. > > Also, Exynos machines require .machine_param section in SPL. > Add it. > > Signed-off-by: Albert ARIBAUD > --

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread bhupesh.sha...@freescale.com
> -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] > On Behalf Of tiger...@viatech.com.cn > Sent: Tuesday, January 14, 2014 4:13 PM > To: feng...@phytium.com.cn > Cc: tr...@ti.com; u-boot@lists.denx.de; Wood Scott-B07421 > Subject: Re: [U-Boot]

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread TigerLiu
Hi, experts: I have tried to boot uefi bootloader with FVP model,it is ok! ./Foundation_v8 --cores=4 --no-secure-memory --visualization --gicv3 --data="./bl1.bin"@0x0 --data="./uefi.fd"@0x800 BL1-->BL2-->...>uefi.fd But booting uboot.bin, it still failed. Best wishes, ___

Re: [U-Boot] [PATCH] board: tec-ng: Do not make directories in a board Makefile

2014-01-14 Thread Alban Bedel
On Tue, 14 Jan 2014 10:55:02 +0900 Masahiro Yamada wrote: > Commit e5c5301f refactored the build system not to make > directories in board makefiles. > But commit 8f380381 create directories again in > board/avionic-design/tec-ng/Makefile. > > Signed-off-by: Masahiro Yamada > Cc: Alban Bedel

Re: [U-Boot] [PATCH v4 0/8] Provide a mechanism to avoid using #ifdef everywhere

2014-01-14 Thread Detlev Zundel
Hi Simon, as I don't see any follow-up, allow me to jump in here even that late :) > Hi Wolfgang, > > On Wed, Nov 6, 2013 at 1:24 AM, Wolfgang Denk wrote: >> Dear Simon Glass, >> >> In message <1382800457-26608-1-git-send-email-...@chromium.org> you wrote: >>> Many parts of the U-Boot code base

Re: [U-Boot] [PATCH 5/7] board:samsung:universal: add env variables describing platform

2014-01-14 Thread Przemyslaw Marczak
Hello Piotr, On 01/14/2014 10:37 AM, Piotr Wilczek wrote: Hi Przemyslaw, -Original Message- From: Przemyslaw Marczak [mailto:p.marc...@samsung.com] Sent: Tuesday, January 14, 2014 9:48 AM To: u-boot@lists.denx.de Cc: Piotr Wilczek; Minkyu Kang; Kyungmin Park; Lukasz Majewski Subject: R

Re: [U-Boot] [PATCH 3/3] config: Update envs for trats and trats2 - Disable L2 cache

2014-01-14 Thread Minkyu Kang
On 14/01/14 16:02, Lukasz Majewski wrote: > Disable L2 caches for Trats and Trats2 devices. > > It turns out that for data downloading with thordown command L2 cache > disablement brings a significant speed improvement. > > rootfs - 400 MiB: > - L2 cache enabled: 2.69 MiB/s > -

Re: [U-Boot] [PATCH 1/3] config: Update envs for trats and trats2 - new entries for new partitions

2014-01-14 Thread Minkyu Kang
On 14/01/14 16:02, Lukasz Majewski wrote: > This patch adds extra dfu_alt_info entries to support storing the whole BOOT > , DATA and UMS partitions. > This allows upgrade of uImage and device tree blob (dtb) files at once. > > Now it is also possible to store ext4 rootfs prepared with well establ

Re: [U-Boot] [PATCH 2/3] ARM: trats2: dfu: Enable default Poll Timeout for Trats2 board

2014-01-14 Thread Minkyu Kang
On 14/01/14 16:02, Lukasz Majewski wrote: > Provide default Poll Timeout value for Trats2 board. > > Signed-off-by: Lukasz Majewski > > --- > Changes for v2: > - None > Change-Id: I06ee5c228fa4f92ab445333cbdb12464944daa35 > --- > include/configs/trats2.h |1 + > 1 file changed, 1 insertion(

Re: [U-Boot] [PATCH 5/7] board:samsung:universal: add env variables describing platform

2014-01-14 Thread Piotr Wilczek
Hi Przemyslaw, > -Original Message- > From: Przemyslaw Marczak [mailto:p.marc...@samsung.com] > Sent: Tuesday, January 14, 2014 9:48 AM > To: u-boot@lists.denx.de > Cc: Piotr Wilczek; Minkyu Kang; Kyungmin Park; Lukasz Majewski > Subject: Re: [PATCH 5/7] board:samsung:universal: add env va

[U-Boot] [PULL] : Please pull u-boot-imx

2014-01-14 Thread Stefano Babic
Hi Albert, please pull from u-boot-imx, thanks. The following changes since commit 4b0561d84198f8d696fd51cfc27aeac8c7482a8c: Merge branch 'u-boot-samsung/master' into 'u-boot-arm/master' (2014-01-06 09:32:42 +0100) are available in the git repository at: git://www.denx.de/git/u-boot-imx.g

Re: [U-Boot] [PATCH] arm: exynos: change to use clrbits macro instead of readl/writel function

2014-01-14 Thread Przemyslaw Marczak
Hello Inha, On 01/14/2014 05:01 AM, Inha Song wrote: Use setbits/clrbits macro instead of readl/writel function Signed-off-by: Inha Song --- arch/arm/cpu/armv7/exynos/clock.c | 87 +++-- 1 file changed, 25 insertions(+), 62 deletions(-) diff --git a/arch/a

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-14 Thread TigerLiu
Hi, Fenghua: > Albert has merged arm64 patch set. I have tested and it works fine on >Foundation Model. I have downloaded the latest u-boot source code. And compiled it with linaro released gcc: export ARCH=aarch64 export CROSS_COMPILE=/home/lion/ARMv8/gcc-linaro-aarch64/bin/aarch64-linux-gnu-

  1   2   >