[U-Boot] [PATCH 0/7] arm: add runtime envs describing build configuration

2014-01-14 Thread Piotr Wilczek
This patchset adds runtime variables for Samsung boards that describe build configuration (arch, soc, board, vendor). Additionally, more envs describing platform (soc and board revision) are added to Samsung common code. For boards Trats and Trats2, based on the added envs, 'fdtaddr' env is set a

[U-Boot] [PATCH 1/7] arm:exynos: add cpu revision

2014-01-14 Thread Piotr Wilczek
This patch enables to read cpu revision on Exynos CPU. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park --- arch/arm/include/asm/arch-exynos/cpu.h |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/arch/arm/include/a

[U-Boot] [PATCH 6/7] board:samsung:trats: enable boot with appended and separated DTB

2014-01-14 Thread Piotr Wilczek
This patch adds variables describing platform (soc, board, vendor) to default environment and Samsung's common misc initialisation to provide additional board information in envs. This patch modifies envs to enable dual kernel boot - with separated DTB if the DTB file is loaded successfully; - w

[U-Boot] [PATCH 3/7] board:samsung:common: set envs with board unified information

2014-01-14 Thread Piotr Wilczek
This patch enables to set envs that describe board information. The following envs are set (but not saved): soc_id, soc_rev, board_rev. Based on this information, 'fdtaddr' env is set (not saved) as: fdtaddr=${soc_family}${soc_id}-${board}.dtb Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin

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

2014-01-14 Thread Piotr Wilczek
This patch adds variables describing platform (soc, board, vendor) to default environment. Samsung's common misc imitialisation is enabled to provide additional board information in envs. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park Cc: Przemyslaw Marczak --- include/configs/s5pc

[U-Boot] [PATCH 7/7] board:samsung:trats2: enable boot with appended and separated DTB

2014-01-14 Thread Piotr Wilczek
This patch adds variables describing platform (soc, board, vendor) to default environment and Samsung's common misc initialisation to provide additional board information in envs. This patch modifies envs to enable dual kernel boot - with separated DTB if the DTB file is loaded successfully; - wit

[U-Boot] [PATCH 2/7] arm:s5pc110: add cpu revision

2014-01-14 Thread Piotr Wilczek
This patch adds s5p_cpu_rev. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park --- arch/arm/include/asm/arch-s5pc1xx/cpu.h |7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/include/asm/arch-s5pc1xx/cpu.h b/arch/arm/include/asm/arch-s5pc1xx/cpu.h index 4fc5a0c..5ae5

[U-Boot] [PATCH 4/7] board:samsung:goni: add env variables describing platform

2014-01-14 Thread Piotr Wilczek
This patch adds variables describing platform (soc, board, vendor) to default environment. Samsung's common misc imitialisation is enabled to provide additional board information in envs. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park Cc: Mateusz Zalega --- board/samsung/goni/goni.

Re: [U-Boot] [PATCH v5 04/12] samsung: misc: move display logo function to misc.c file.

2014-01-14 Thread Przemyslaw Marczak
Hello Jaehoon, On 01/14/2014 04:41 AM, Jaehoon Chung wrote: Dear Przemyslaw, On 01/10/2014 11:31 PM, Przemyslaw Marczak wrote: board/samsung/common/misc.c: - move draw_logo() function from exynos_fb.c - add get_tizen_logo_info() function call removed from board files boards: - update board fi

Re: [U-Boot] [PATCH 1/2] mini2440: remove board support

2014-01-14 Thread Albert ARIBAUD
Hi Minkyu, On Tue, 14 Jan 2014 09:51:48 +0900, Minkyu Kang wrote: > On 14/01/14 05:06, Albert ARIBAUD wrote: > > Signed-off-by: Albert ARIBAUD > > --- > > board/friendlyarm/mini2440/Makefile | 8 -- > > board/friendlyarm/mini2440/mini2440.c | 118 > > board/fri

Re: [U-Boot] [PATCH 2/2] mx1ads: remove board support

2014-01-14 Thread Albert ARIBAUD
Hi Stefano, On Mon, 13 Jan 2014 23:15:48 +0100, Stefano Babic wrote: > > > On 13/01/2014 21:06, Albert ARIBAUD wrote: > > Signed-off-by: Albert ARIBAUD > > --- > > board/mx1ads/Makefile| 16 --- > > board/mx1ads/lowlevel_init.S | 68 -- > > board/mx1ads/mx1ads.c|

Re: [U-Boot] [PATCH] board:universal: fix i2c adapter

2014-01-14 Thread Przemyslaw Marczak
Hi, On 01/14/2014 08:15 AM, Piotr Wilczek wrote: Universal uses only one adapter I2C_0. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park --- board/samsung/universal_c210/universal.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/samsung/universal_c210

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

2014-01-14 Thread Christian Gmeiner
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. Signed-off-by: Christian Gmeiner --- README |4 net/bootp.c |2 ++ 2 files changed, 6 insertions(+) dif

Re: [U-Boot] [PATCH 1/9] kmp204x: support for QRIO1 bootcounter

2014-01-14 Thread Valentin Longchamp
Hi Stefan, On 01/14/2014 07:58 AM, Stefan Roese wrote: > Hi Valentin, > > On 13.01.2014 17:29, Valentin Longchamp wrote: >> From: Rainer Boschung >> >> - make use of the QRIO1 32bit register at 0x20 as bootcounter register >> - check for BOOTCOUNT_MAGIC pattern when before bootcounter value is r

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 08:59 AM, Piotr Wilczek wrote: This patch adds variables describing platform (soc, board, vendor) to default environment. Samsung's common misc imitialisation is enabled to provide additional board information in envs. Signed-off-by: Piotr Wilczek Signed-off-by: Kyu

Re: [U-Boot] [PATCH v5 04/12] samsung: misc: move display logo function to misc.c file.

2014-01-14 Thread Minkyu Kang
Dear Przemyslaw Marczak, On 14/01/14 17:02, Przemyslaw Marczak wrote: > Hello Jaehoon, > > On 01/14/2014 04:41 AM, Jaehoon Chung wrote: >> Dear Przemyslaw, >> >> On 01/10/2014 11:31 PM, Przemyslaw Marczak wrote: >>> board/samsung/common/misc.c: >>> - move draw_logo() function from exynos_fb.c >>>

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

2014-01-14 Thread Minkyu Kang
Don't know why but, file permission was changed Signed-off-by: Minkyu Kang --- 0 files changed mode change 100755 => 100644 drivers/mmc/dw_mmc.c diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c old mode 100755 new mode 100644 -- 1.7.9.5 -- Thanks, Minkyu Kang. ___

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-

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

[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 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

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 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 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 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] 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] 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] 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] [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] [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] 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] 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] 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 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: >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
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: >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] [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] 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] 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

[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] [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

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 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] [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

[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] [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.

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] [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 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] 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

[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

[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] .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: 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 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

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] 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

[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 --

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] 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] [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

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 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

[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] 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

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] [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
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: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: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] 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] 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] 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] 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] [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] [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] 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] [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] [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 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

[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] 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

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 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] 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

[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.

[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: 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: 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: 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/

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] 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.

[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

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

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

  1   2   >