[U-Boot] [PATCH][RFC] add pci bridge 64 bit prefechable mem support

2014-02-13 Thread fenghua
From: David Feng u-boot did not program the upper 32 bits of prefetchable base and limit in pci bridge config space. I think it's needed when 64 bit address space is used. Signed-off-by: David Feng --- drivers/pci/pci_auto.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) di

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

2014-02-13 Thread Masahiro Yamada
Hello Wolfgang, Albert, > Dear Masahiro Yamada, > > In message <20140213143212.97da.aa925...@jp.panasonic.com> you wrote: > > > > In the case of this patch, > > (I am not familiar with "ep8248" board, but I guess) > > ep8248 and ep8248E are different, but probably similar board. > > > > So we c

Re: [U-Boot] Secure booting

2014-02-13 Thread Heiko Schocher
Hello JYOTI, Am 13.02.2014 08:42, schrieb JYOTI DUBEY: Can I obtain information as how secure booting works.How the keys and certificates are generated and also encryption and decryption steps involved in the authentication process. i would like to know just the theory behind it not and commands

[U-Boot] how to get rid of "No base64 encoded MIME text parts"?

2014-02-13 Thread Yuantian Tang
Hi all, I keep receiving "Message rejected. No base64 encoded MIME text parts allowed." when I reply email. Could someone tell me how to find "base64 encoded MIME text" parts? Thanks, Yuantian ___ U-Boot mailing list U-Boot@lists.denx.de http://list

[U-Boot] [PATCH v2] part_efi: fix protective mbr struct allocation

2014-02-13 Thread Hector Palacios
The calloc() call was allocating space for the sizeof the struct pointer rather than for the struct contents. Besides, since this buffer is passed to mmc for writing and some platforms may use cache, the legacy_mbr struct should be cache-aligned. Signed-off-by: Hector Palacios --- Notes: Cha

Re: [U-Boot] [PATCH] arm: Remove unused !CONFIG_SPL_BUILD code in board_init_f()

2014-02-13 Thread Albert ARIBAUD
Hi Tom, On Wed, 27 Nov 2013 12:22:05 -0500, Tom Rini wrote: > Some code in board_init_f that dates back to the initial relocation > support had if/else for PRELOADER (which became SPL_BUILD) about setting > the stack pointer. But, board.c is never built for CONFIG_SPL_BUILD > now, so this reall

Re: [U-Boot] Chain loading an u-boot from an u-boot

2014-02-13 Thread Helmut Raiger
On 02/12/2014 11:45 AM, Andreas Bießmann wrote: Hi Helmut, On 02/12/2014 10:56 AM, Helmut Raiger wrote: I understand the first two points, but why do you store the kernel again with 1bit HW-ECC ? The second U-Boot is able to check with 4bit BCH and your NAND requires 4bit. This is mainly due t

[U-Boot] [PATCH][RFC v2] add pci 64 bit prefechable mem support

2014-02-13 Thread fenghua
From: David Feng u-boot did not program the upper 32 bits of prefetchable base and limit in pci bridge config space. I think it's needed when 64 bit address space is used. Changes for v1: - use lowest bit of prefechable base(or limit) to determine whether the bridge support 64 bit prefechab

Re: [U-Boot] [RESEND PATCH 2/2 v2] socfpga: Adding Scan Manager IOCSR handoff files

2014-02-13 Thread Albert ARIBAUD
Hi Chin, On Tue, 4 Feb 2014 13:15:48 -0600, Chin Liang See wrote: > The IOCSR handoff files will be consumed by Scan Manager driver. > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen > Cc: Wolfgang Denk > CC: Pavel Machek > Cc: Tom Rini > Cc: Albert Aribaud > > Signed-off-by: Chin Lian

Re: [U-Boot] [RESEND PATCH 1/2 v2] socfpga: Adding Scan Manager driver

2014-02-13 Thread Albert ARIBAUD
Hi Chin, On Tue, 4 Feb 2014 13:15:22 -0600, Chin Liang See wrote: > Scan Manager driver will be called to configure the IOCSR > scan chain. This configuration will setup the IO buffer settings > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen > Cc: Wolfgang Denk > CC: Pavel Machek > Cc: T

Re: [U-Boot] how to get rid of "No base64 encoded MIME text parts"?

2014-02-13 Thread Albert ARIBAUD
Hi Yuantian, On Thu, 13 Feb 2014 08:37:48 +, Yuantian Tang wrote: > Hi all, > > I keep receiving "Message rejected. No base64 encoded MIME text parts > allowed." when I reply email. > > > Could someone tell me how to find "base64 encoded MIME text" parts? Rather than find them, just don

Re: [U-Boot] [PATCH 1/3] drivers/smc911x: Add support for shifted register read/write

2014-02-13 Thread Albert ARIBAUD
Hi Roy, Re: the subject: please next time put the version in the subjetc line too. You may benefit from using patman, which helps managing patch series and handles such things as adding version in suject lines and Cc:ing people according to tags, etc. see tools/patman/README. Also: On Fri, 20 De

Re: [U-Boot] [PATCH 2/3] board/snowball: Add support for network boot

2014-02-13 Thread Albert ARIBAUD
Hi Roy, On Fri, 20 Dec 2013 13:32:35 +0100, Roy Spliet wrote: > Signed-off-by: Roy Spliet > --- > board/st-ericsson/snowball/snowball.c | 11 +++ > include/configs/snowball.h| 14 ++ > 2 files changed, 25 insertions(+) > > diff --git a/board/st-ericsson/snowbal

[U-Boot] [PATCH 1/2] Move #ifdef(CONFIG_DISPLAY_CPUINFO) from caller to callee

2014-02-13 Thread Masahiro Yamada
- When CONFIG_DISPLAY_CPUINFO is not enabled, print_cpuinfo() should be defined as an empty function in a header, include/common.h - Remove #ifdef CONFIG_DISPLAY_CPUINFO .. #endif from caller, common/board_f.c and arch/arm/lib/board.c - Remove redundant prototypes in arch/arm/lib/boar

[U-Boot] [PATCH 2/2] Move CONFIG_DISPLAY_CPUINFO to Makefile

2014-02-13 Thread Masahiro Yamada
If the whole code is surrounded by #ifdef(CONFIG_ ) .. #endif, it should be moved to Makefile. Signed-off-by: Masahiro Yamada --- arch/arm/cpu/arm926ejs/omap/Makefile | 3 ++- arch/arm/cpu/arm926ejs/omap/cpuinfo.c | 4 ++-- arch/arm/cpu/tegra-common/Makefile| 3 ++- arch/arm/cpu/tegra-comm

[U-Boot] [PATCH 0/2] Coding style to avoid #ifdef everywhere

2014-02-13 Thread Masahiro Yamada
I agree that many parts of U-Boot code are sprinkled with #ifdef. But I am opposed to adding a gimmick to conceal ugly code. (Rather, we should fix code correctly.) I guess most of U-Boot developers are working on Linux, too. But I am afraid U-Boot code is dirty compared with Kernel especially w

Re: [U-Boot] [PATCH] watchdog/denali: Adding DesignWare watchdog driver support

2014-02-13 Thread Albert ARIBAUD
Hi Chin, On Wed, 18 Dec 2013 16:23:35 -0600, Chin Liang See wrote: > To add the DesignWare watchdog driver support. It required > information such as register base address and clock info from > configuration header file within include/configs folder. > > Signed-off-by: Chin Liang See > Cc: An

Re: [U-Boot] how to get rid of "No base64 encoded MIME text parts"?

2014-02-13 Thread Albert ARIBAUD
Hi Yuantian, On Thu, 13 Feb 2014 09:20:12 +, Yuantian Tang wrote: > Thanks for your replay. > I use outlook client. I did set the text as "plain text". > But it doesn't work. Please do not reply above/before the text you are replying to; reply after/below it. I am sorry, but I don't use Ou

Re: [U-Boot] Chain loading an u-boot from an u-boot

2014-02-13 Thread Helmut Raiger
On 02/12/2014 10:59 PM, Scott Wood wrote: Most operations are read (we use a separate YAFFS partition for time predictable writes), so UBI will relocate read-only blocks anyway (due to read disturbances), I think the effect wont be too dramatic, but don't make me proof that ;-) This sounds like

Re: [U-Boot] [RESEND PATCH 1/2 v2] socfpga: Adding Scan Manager driver -- ROLLED BACK.

2014-02-13 Thread Albert ARIBAUD
Hi Albert, On Thu, 13 Feb 2014 10:09:15 +0100, Albert ARIBAUD wrote: > Hi Chin, > > On Tue, 4 Feb 2014 13:15:22 -0600, Chin Liang See > wrote: > > > Scan Manager driver will be called to configure the IOCSR > > scan chain. This configuration will setup the IO buffer settings > > > > Signed-o

[U-Boot] [ARM] Small rollback on u-boot-arm

2014-02-13 Thread Albert ARIBAUD
Hello all, If you have fetched the u-boot-arm repo within the last hour before this mail, then please re-fetch, as I have rolled back two patches for socfpga support. Apologies. Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH 1/2] socfpga: Adding Clock Manager driver

2014-02-13 Thread Albert ARIBAUD
Hi Chin, On Wed, 18 Dec 2013 17:54:33 -0600, Chin Liang See wrote: > Clock Manager driver will be called to reconfigure all the > clocks setting based on user input. The input are passed to > Preloader through handoff files Like the scan manager series, patch 1/2 will fail because it needs a ne

Re: [U-Boot] [RESEND PATCH 1/2 v2] socfpga: Adding Scan Manager driver -- ROLLED BACK.

2014-02-13 Thread Albert ARIBAUD
> Please re-send as a single patch, or in reversed order, so that build > works at each patch. Actually, reversing the order would yield a patch 1/2 which would just add a file and would thus be dead code. Please re-send as a single patch. Amicalement, -- Albert.

Re: [U-Boot] [PATCH v2 00/13] ARMv7: add PSCI support to u-boot

2014-02-13 Thread Albert ARIBAUD
Hi Marc, On Sat, 7 Dec 2013 11:19:05 +, Marc Zyngier wrote: > PSCI is an ARM standard that provides a generic interface that > supervisory software can use to manage power in the following > situations: > - Core idle management > - CPU hotplug > - big.LITTLE migration models > - System shut

Re: [U-Boot] [PATCH v2 00/13] ARMv7: add PSCI support to u-boot

2014-02-13 Thread Marc Zyngier
Hi Albert, On 13/02/14 10:11, Albert ARIBAUD wrote: > Hi Marc, > > On Sat, 7 Dec 2013 11:19:05 +, Marc Zyngier > wrote: > >> PSCI is an ARM standard that provides a generic interface that >> supervisory software can use to manage power in the following >> situations: >> - Core idle managem

[U-Boot] [PATCH 3/5] mmc: zynq: Add OF initialization support

2014-02-13 Thread Michal Simek
Enable initialize sdhci from DTB. Signed-off-by: Michal Simek --- arch/arm/include/asm/arch-zynq/sys_proto.h | 1 + drivers/mmc/zynq_sdhci.c | 29 + 2 files changed, 30 insertions(+) diff --git a/arch/arm/include/asm/arch-zynq/sys_proto.h b/arch/

[U-Boot] [PATCH 1/5] net: emaclite: Fix OF initialization

2014-02-13 Thread Michal Simek
- Add xilinx_emaclite_of_init to netdev.h - Remove global data pointer from the driver - Add better handling for error state. Signed-off-by: Michal Simek --- drivers/net/xilinx_emaclite.c | 15 --- include/netdev.h | 1 + 2 files changed, 9 insertions(+), 7 deletions(-

[U-Boot] [PATCH 2/5] net: gem: Add OF initialization support

2014-02-13 Thread Michal Simek
Gem can be directly initialized from DTB. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 42 ++ include/netdev.h | 1 + 2 files changed, 43 insertions(+) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index 381bca4..9affebd

[U-Boot] [PATCH 4/5] zynq: Add OF ram initialization support

2014-02-13 Thread Michal Simek
Read ram size directly from DTB. Signed-off-by: Michal Simek --- board/xilinx/zynq/board.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c index 5a47149..b678a23 100644 --- a/board/xilinx/zynq/board

[U-Boot] [PATCH 5/5] serial: zynq: Add OF initialization support

2014-02-13 Thread Michal Simek
Add console selection from DTB which is enough to have OF driven solution. Signed-off-by: Michal Simek --- drivers/serial/serial_zynq.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/serial/serial_zynq.c b/drivers/serial/serial_zynq.c index ff28f3c..c5

Re: [U-Boot] [PATCH v5 2/3] arm: make _end compiler-generated

2014-02-13 Thread Albert ARIBAUD
Hi Benoît, On Thu, 30 Jan 2014 13:09:03 +0100 (CET), Benoît Thébaudeau wrote: > Hi Albert, > > On Thursday, January 30, 2014 11:02:46 AM, Albert ARIBAUD wrote: > > This prevents references to _end from generating absolute > > relocation records. > > > > This change is binary invariant for ARM

[U-Boot] [PATCH v6 1/3] cm_t335: fix linker file to produce full ELF

2014-02-13 Thread Albert ARIBAUD
Newly added cm_t335 was missed in commit 47ed5dd0 which made ARM targets produce full ELF files. Fix its linker script. This change is binary-invariant when only .dynsym, .dynstr, .dynamic, .plt, .interp and .gun sections are declared. Sections .hash, .got.plt, .dynbss and .ARM.exidx are also dec

[U-Boot] [PATCH v6 3/3] arm: remove unneeded symbol offsets and _TEXT_BASE

2014-02-13 Thread Albert ARIBAUD
Remove the last uses of symbol offsets in ARM U-Boot. Remove some needless uses of _TEXT_BASE. Remove all _TEXT_BASE definitions. Signed-off-by: Albert ARIBAUD --- Changes in v6: None Changes in v5: None Changes in v4: - removed mkexynosspl patch, already fixed in 0fcac1ab Changes in v3: None C

[U-Boot] [PATCH v6 2/3] arm: make _end compiler-generated

2014-02-13 Thread Albert ARIBAUD
This prevents references to _end from generating absolute relocation records. This change is binary invariant for ARM targets. Signed-off-by: Albert ARIBAUD --- Changes in v6: - Removed .hash and .got.plt from arch/arm/cpu/u-boot.lds Changes in v5: - Rebase onto u-boot-arm/master Changes in v

Re: [U-Boot] [PATCH V4 2/3] ARM: tegra: rework boot scripts

2014-02-13 Thread Dennis Gilmore
Hi Stephen, I noticed one issue On Wed, 5 Feb 2014 09:24:58 -0700 Stephen Warren wrote: > From: Stephen Warren > > Update the common Tegra boot scripts in the default environment to > > a) Make use of the new "test -e" shell command to avoid some error >messages. > > b) Allow booting u

Re: [U-Boot] [PATCH] arm: Handle .gnu.hash section in ldscripts

2014-02-13 Thread Albert ARIBAUD
Hi Andreas, On Mon, 27 Jan 2014 19:46:03 +0100, Andreas Färber wrote: > Hello, > > Am 27.01.2014 15:24, schrieb Wolfgang Denk: > > In message <1390798091-24747-1-git-send-email-afaer...@suse.de> you wrote: > >> Avoids "could not find output section .gnu.hash" ld.bfd errors on openSUSE. > >> > >

Re: [U-Boot] [PATCH 1/8] arm/km: drop unneeded define

2014-02-13 Thread Albert ARIBAUD
Hi Holger, For the whole series: shouldn't the keymile boards maintainer be CC:ed? On Mon, 27 Jan 2014 16:58:22 +0100, Holger Brunck wrote: > CONFIG_BOOTCOUNT_LIMIT is used on all boards from this board series. So > remove this unneeded define. What if a new board/config does not want to use a

Re: [U-Boot] [PATCH 1/8] arm/km: drop unneeded define

2014-02-13 Thread Holger Brunck
Hi Albert, On 02/13/2014 01:06 PM, Albert ARIBAUD wrote: > For the whole series: shouldn't the keymile boards maintainer be CC:ed? > > On Mon, 27 Jan 2014 16:58:22 +0100, Holger Brunck > wrote: > >> CONFIG_BOOTCOUNT_LIMIT is used on all boards from this board series. So >> remove this unneeded

Re: [U-Boot] [PATCH 1/8] arm/km: drop unneeded define

2014-02-13 Thread Albert ARIBAUD
Hi Holger, On Thu, 13 Feb 2014 13:10:51 +0100, Holger Brunck wrote: > Hi Albert, > > On 02/13/2014 01:06 PM, Albert ARIBAUD wrote: > > For the whole series: shouldn't the keymile boards maintainer be CC:ed? > > > > On Mon, 27 Jan 2014 16:58:22 +0100, Holger Brunck > > wrote: > > > >> CONFIG_

Re: [U-Boot] [PATCH 1/8] arm/km: drop unneeded define

2014-02-13 Thread Holger Brunck
Hi Albert, On 02/13/2014 01:14 PM, Albert ARIBAUD wrote: > On Thu, 13 Feb 2014 13:10:51 +0100, Holger Brunck >>> >>> What if a new board/config does not want to use a bootcount limit? >>> >> >> all keymile boards use this and I don't see a usecase now and in the future >> that >> a board don't ne

[U-Boot] please pull u-boot-samsung master

2014-02-13 Thread Minkyu Kang
The following changes since commit e97f9d817e600cd6f43d1d0da76f5787e33a5c56: Merge branch 'u-boot-ti/master' into 'u-boot-arm/master' (2014-01-29 14:07:50 +0100) are available in the git repository at: git://git.denx.de/u-boot-samsung for you to fetch changes up to e25bfecf7ba54a5b56cf99

Re: [U-Boot] [PATCH v2] part_efi: fix protective mbr struct allocation

2014-02-13 Thread Lukasz Majewski
Hi Hector, > The calloc() call was allocating space for the sizeof the struct > pointer rather than for the struct contents. > Besides, since this buffer is passed to mmc for writing and some > platforms may use cache, the legacy_mbr struct should be > cache-aligned. Thanks for preparing v2. Ever

Re: [U-Boot] please pull u-boot-samsung master

2014-02-13 Thread Albert ARIBAUD
Hi Minkyu, On Thu, 13 Feb 2014 21:27:16 +0900, Minkyu Kang wrote: > The following changes since commit e97f9d817e600cd6f43d1d0da76f5787e33a5c56: > > Merge branch 'u-boot-ti/master' into 'u-boot-arm/master' (2014-01-29 > 14:07:50 +0100) > > are available in the git repository at: > > > g

Re: [U-Boot] [PATCH 1/10 V2] ARM: IXP: Remove actux1 board

2014-02-13 Thread Albert ARIBAUD
Hi Marek, On Tue, 28 Jan 2014 06:53:23 +0100, Marek Vasut wrote: > The board is unmaintained, just like the rest of the IXP. > > Signed-off-by: Marek Vasut > Cc: Albert Aribaud > Cc: Michael Schwingen > Cc: Tom Rini > --- > board/actux1/Makefile| 8 -- > board/actux1/actux1.c| 14

Re: [U-Boot] [PATCH] ARM: rpi_b: set $fdtfile in default environment

2014-02-13 Thread Albert ARIBAUD
Hi Stephen, On Tue, 28 Jan 2014 22:41:50 -0700, Stephen Warren wrote: > U-Boot names the Raspberry Pi board rpi_b. This means that the common > expression for DTB filename ${soc}-${board}.dtb expands to > bcm2835-rpi_b.dtb. However, the DTB generated by the Linux kernel is > bcm2835-rpi-b.dtb. S

Re: [U-Boot] [PATCH] ARM: bcm2835: config.mk isn't needed

2014-02-13 Thread Albert ARIBAUD
Hi Stephen, On Tue, 28 Jan 2014 22:42:06 -0700, Stephen Warren wrote: > The entries in config.mk were needed so that U-Boot could be built > with an old version of the Raspberry Pi Foundation's toolchain. Without > them, the build would error out with: > > ...-ld: error: .../libgcc.a(_bswapsi2.

[U-Boot] [PATCH V2 00/12] Exynos4: add support for device tree

2014-02-13 Thread Piotr Wilczek
This patch set enables support for device tree on all Exynos4 based boards. DT support is enabled on Exynos mipi dsim and sdhci drives. Common board.c file is reused for all functions common for Exynos4 boards. Board specific files are implemented in the board siles. Origen, Universal, Trats and T

[U-Boot] [PATCH V2 01/12] exynos4:pinmux:fdt: decode peripheral id

2014-02-13 Thread Piotr Wilczek
This patch adds api to decode peripheral id based in interrupt number. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Changes for v2: - removed incorrectly implemented check for invalid peripheral id; - removed unnecesary white space; arch/arm/cpu/armv7/exyno

[U-Boot] [PATCH V2 03/12] video:exynos_fb:fdt: add additional fdt data

2014-02-13 Thread Piotr Wilczek
This patch adds additional data parsing from DTB and adds the new exynos_lcd_panel_init() function for panel specific initialisation the from board file. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- Changes for v2: - removed duplicate DTB node parsing for panel

[U-Boot] [PATCH V2 02/12] video:mipidsim:fdt: Add DT support for mipi dsim driver

2014-02-13 Thread Piotr Wilczek
This patch enables parsing mipi data from device tree. Non device tree case is still supported. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- Changes for v2: - removed panel specific init function 's6e8ax0_init' to the board file; arch/arm/include/asm/arch-exy

[U-Boot] [PATCH V2 04/12] drivers:mmc:sdhci: enable support for DT

2014-02-13 Thread Piotr Wilczek
This patch enables support for device tree for sdhci driver. Non DT case is still supported. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- Changes for v2: - fixed checking for SDMMC boundary; - fiex debug message; - fixed comment to 'pwr_gpio' struct filed;

[U-Boot] [PATCH V2 05/12] board:samsung:common: remove unused max77686 init function

2014-02-13 Thread Piotr Wilczek
This patch removes currently unused max77686_init function. Despite being not used, it's implementation is board specific. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park Cc: Rajeshwari S Shinde Cc: Minkyu Kang --- Changes for v2: - new patch board/samsung/common/board.c | 120 --

[U-Boot] [PATCH V2 06/12] board:samsung: move checkboard to common file

2014-02-13 Thread Piotr Wilczek
The checkboard function's implementation is common for all DT supporting boards and should be placed in the board common file. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park Cc: Chander Kashyap Cc: Rajeshwari S Shinde Cc: Amar --- Changes for v2: - new patch board/samsung/common

Re: [U-Boot] [PATCH] Added 64-bit MMIO accessors for ARMv8

2014-02-13 Thread Albert ARIBAUD
Hi J., On Mon, 3 Feb 2014 17:59:26 -0600, "J. German Rivera" wrote: > From: "J. German Rivera" > > This is needed for accessing peripherals with 64-bit MMIO registers, > from ARMv8 processors. > > Change-Id: I685b96f708fa07e9098547f8e594ded084a044cb > Signed-off-by: J. German Rivera > --- >

[U-Boot] [PATCH V2 10/12] board:universal: Enable device tree on Universal

2014-02-13 Thread Piotr Wilczek
This patch enables to run Universal board on device tree. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park Cc: Przemyslaw Marczak Cc: Minkyu Kang --- Changes for v2: - no changes; board/samsung/dts/exynos4210-universal_c210.dts | 83 + board/samsung/universal_c210/univers

[U-Boot] [PATCH V2 09/12] board:origen: Enable device tree on Origen

2014-02-13 Thread Piotr Wilczek
This patch enables to run Origen board on device tree. Uart, DRAM and MMC init functions are removed as their generic replacements form the common board file are used. The config file is modified to contain only board specific options. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park

[U-Boot] [PATCH V2 08/12] arm:exynos: enble sdhci and misc_init to common board

2014-02-13 Thread Piotr Wilczek
This patch enables sdhci initialistion and misc_init_r in common board file for all exynos 4 based boards. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- Changes for v2: - new patch; board/samsung/common/board.c | 30 ++ 1 file cha

[U-Boot] [PATCH V2 11/12] board:trats: Enable device tree on Trats

2014-02-13 Thread Piotr Wilczek
This patch enables to run Trats board on device tree. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang CC: Lukasz Majewski --- Changes for v2: - no changes; board/samsung/dts/exynos4210-trats.dts | 120 ++ board/samsung/trats/trats.c| 2

[U-Boot] [PATCH V2 12/12] board:trats2: Enable device tree on Trats2

2014-02-13 Thread Piotr Wilczek
This patch enables to run Trats2 board on device tree. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Changes for v2: - fixed mmc2 addres in DT; board/samsung/dts/exynos4412-trats2.dts | 434 +++ board/samsung/trats2/trats2.c

[U-Boot] [PATCH V2 07/12] arm:exynos: add common DTS file for exynos 4

2014-02-13 Thread Piotr Wilczek
This patch adds common dtsi file and config header for all Exynos 4 based boards. Patch additionally adds board specific (weak) functions for board_early_init_f and board_power_init functions. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- Changes for v2: - reus

[U-Boot] [PATCH v2 0/6] Add target board MS7206SE

2014-02-13 Thread Yoshinori Sato
Hi. I updated MS7206SE support. Please review and comment Changes v2 cleanup for checkpatch.pl Yoshinori Sato (6): Add MS7206SE support Add MS7206SE ethernet support Add SH7206 support SH2A cache support Module enabler cleanup Various update arch/sh/config.mk |

[U-Boot] [PATCH v2 2/6] Add MS7206SE ethernet support

2014-02-13 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- drivers/net/smc9.h | 31 ++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/drivers/net/smc9.h b/drivers/net/smc9.h index 9deee9b..24b2b51 100644 --- a/drivers/net/smc9.h +++ b/drivers/net/smc9.h @@ -

[U-Boot] [PATCH v2 1/6] Add MS7206SE support

2014-02-13 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- board/renesas/ms7206se/Makefile| 10 +++ board/renesas/ms7206se/lowlevel_init.S | 124 + board/renesas/ms7206se/ms7206se.c | 43 boards.cfg | 1 + include/configs/ms7206se.h

[U-Boot] [PATCH v2 3/6] Add SH7206 support

2014-02-13 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/include/asm/cpu_sh2.h| 2 ++ arch/sh/include/asm/cpu_sh7206.h | 75 2 files changed, 77 insertions(+) create mode 100644 arch/sh/include/asm/cpu_sh7206.h diff --git a/arch/sh/include/asm/cpu_sh2.h b/arch/sh/

[U-Boot] [PATCH v2 4/6] SH2A cache support

2014-02-13 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/cpu/sh2/Makefile | 6 ++ arch/sh/cpu/sh2/cache-sh2a.c | 145 ++ arch/sh/cpu/sh2/cpu.c | 31 - arch/sh/cpu/sh2/nocache.c | 36 +++ arch/sh/include/asm/cpu_sh2.h | 10 --- 5 file

[U-Boot] [PATCH v2 5/6] Module enabler cleanup

2014-02-13 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/cpu/sh2/cpu.c | 27 --- arch/sh/include/asm/cpu_sh2.h | 3 +++ arch/sh/include/asm/cpu_sh2a.h | 16 3 files changed, 31 insertions(+), 15 deletions(-) create mode 100644 arch/sh/include/asm/cpu_sh2a.h

[U-Boot] [PATCH v2 6/6] Various update

2014-02-13 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/config.mk | 3 +++ arch/sh/cpu/sh2/config.mk | 4 +++- arch/sh/cpu/sh2/start.S | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/sh/config.mk b/arch/sh/config.mk index 758c070..abd419a 100644 --- a/arch/sh/config.mk +++

Re: [U-Boot] [PATCH] relocate-rela: replace a magic number with sizeof(Elf64_Rela)

2014-02-13 Thread Albert ARIBAUD
Hi Masahiro, On Tue, 4 Feb 2014 10:58:31 +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > Cc: Scott Wood > Cc: David Feng > --- > tools/relocate-rela.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/relocate-rela.c b/tools/relocate-rela.c > i

Re: [U-Boot] [PATCH] zynq: Use full tftpboot command instead of shortcut tftp

2014-02-13 Thread Albert ARIBAUD
Hi Michal, On Wed, 5 Feb 2014 07:56:07 +0100, Michal Simek wrote: > The reason is enabling tftpput command where > tftp shorcut stops to work for tftpboot. > > Signed-off-by: Michal Simek > --- > > include/configs/zynq-common.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > di

Re: [U-Boot] [PATCH v2] zynq: Fix elf header generation

2014-02-13 Thread Albert ARIBAUD
Hi Michal, On Wed, 5 Feb 2014 08:06:29 +0100, Michal Simek wrote: > This patch is here because of: > "arm: keep all sections in ELF file" > (sha1: 47ed5dd031d7d2c587e6afd386e79ccec1a1b7f7) > > Our tools expect to have elf with only LOAD header. > Without this fix also PHDR, INTERP and DYNAMIC

Re: [U-Boot] [PATCH v2] zynq: Update CLK in bdinfo

2014-02-13 Thread Albert ARIBAUD
Hi Michal, On Wed, 5 Feb 2014 08:18:35 +0100, Michal Simek wrote: > ARM has specific clk entries which should be also setup. > > Signed-off-by: Michal Simek > --- > > Changes in v2: > - Freq is expected to be in MHz > - Use different DDR clock input > > arch/arm/cpu/armv7/zynq/clk.c | 5 ++

Re: [U-Boot] NAND bad block Query

2014-02-13 Thread Gray Remlin
On 12/02/14 21:47, Scott Wood wrote: > On Wed, 2014-02-12 at 21:04 +, Gray Remlin wrote: >> Example taken from include/configs/sheevaplug.h >> >> #ifdef CONFIG_CMD_NAND >> #define CONFIG_ENV_IS_IN_NAND 1 >> #define CONFIG_ENV_SECT_SIZE0x2 /* 128K */ >> #else >> #define

Re: [U-Boot] [PATCH 1/8] arm/km: drop unneeded define

2014-02-13 Thread Valentin Longchamp
On 02/13/2014 01:19 PM, Holger Brunck wrote: > Hi Albert, > > On 02/13/2014 01:14 PM, Albert ARIBAUD wrote: >> On Thu, 13 Feb 2014 13:10:51 +0100, Holger Brunck What if a new board/config does not want to use a bootcount limit? >>> >>> all keymile boards use this and I don't see a u

Re: [U-Boot] [GIT PULL] Zynq patches

2014-02-13 Thread Albert ARIBAUD
Hi Michal, On Mon, 10 Feb 2014 10:25:19 +0100, Michal Simek wrote: > Hi Albert, > > here are all patches which I have in my queue for Xilinx Zynq. > > clk changes depends on clk command which has been added recently. > (common/cmd_clk.c) that's why this tree is based on 3 days old > Tom's tree

Re: [U-Boot] [PATCH v2] zynq: Update CLK in bdinfo

2014-02-13 Thread Michal Simek
On 02/13/2014 03:52 PM, Albert ARIBAUD wrote: > Hi Michal, > > On Wed, 5 Feb 2014 08:18:35 +0100, Michal Simek > wrote: > >> ARM has specific clk entries which should be also setup. >> >> Signed-off-by: Michal Simek >> --- >> >> Changes in v2: >> - Freq is expected to be in MHz >> - Use differ

Re: [U-Boot] [PATCH 8/8] arm/km: introduce kmsugp1 target

2014-02-13 Thread Albert ARIBAUD
Hi Holger, On Mon, 27 Jan 2014 16:58:29 +0100, Holger Brunck wrote: > From: Gerlando Falauto > > KMSUGP1 is from a u-boot perspective (almost) identical to KMNUSA. > The only difference is that the PCIe reset is connected to Kirkwood pin > MPP7_PEX_RST_OUTn, we use a dedicated config flag KM_P

Re: [U-Boot] [GIT PULL] Zynq patches

2014-02-13 Thread Michal Simek
On 02/13/2014 04:12 PM, Albert ARIBAUD wrote: > Hi Michal, > > On Mon, 10 Feb 2014 10:25:19 +0100, Michal Simek > wrote: > >> Hi Albert, >> >> here are all patches which I have in my queue for Xilinx Zynq. >> >> clk changes depends on clk command which has been added recently. >> (common/cmd_clk

[U-Boot] [PATCH 8/8 v2] arm/km: introduce kmsugp1 target

2014-02-13 Thread Holger Brunck
From: Gerlando Falauto KMSUGP1 is from a u-boot perspective (almost) identical to KMNUSA. The only difference is that the PCIe reset is connected to Kirkwood pin MPP7_PEX_RST_OUTn, we use a dedicated config flag KM_PCIE_RESET_MPP7. Such pin should theoretically be handled by the PCIe subsystem au

Re: [U-Boot] [PATCH][RFC v2] add pci 64 bit prefechable mem support

2014-02-13 Thread Wolfgang Denk
Dear feng...@phytium.com.cn, In message <1392282108-56485-1-git-send-email-feng...@phytium.com.cn> you wrote: > From: David Feng > > u-boot did not program the upper 32 bits of prefetchable base and limit > in pci bridge config space. I think it's needed when 64 bit address space > is used. You

Re: [U-Boot] [GIT PULL] Zynq patches

2014-02-13 Thread Albert ARIBAUD
Hi Michal, On Thu, 13 Feb 2014 16:30:37 +0100, Michal Simek wrote: > On 02/13/2014 04:12 PM, Albert ARIBAUD wrote: > > Hi Michal, > > > > On Mon, 10 Feb 2014 10:25:19 +0100, Michal Simek > > wrote: > > > >> Hi Albert, > >> > >> here are all patches which I have in my queue for Xilinx Zynq. >

Re: [U-Boot] [PATCH V4 2/3] ARM: tegra: rework boot scripts

2014-02-13 Thread Stephen Warren
On 02/13/2014 04:13 AM, Dennis Gilmore wrote: > Hi Stephen, > > I noticed one issue > > On Wed, 5 Feb 2014 09:24:58 -0700 > Stephen Warren wrote: > >> From: Stephen Warren >> >> Update the common Tegra boot scripts in the default environment to >> >> a) Make use of the new "test -e" shell com

Re: [U-Boot] [PATCH 8/8 v2] arm/km: introduce kmsugp1 target

2014-02-13 Thread Albert ARIBAUD
Hi Holger, On Thu, 13 Feb 2014 16:43:00 +0100, Holger Brunck wrote: > From: Gerlando Falauto > > KMSUGP1 is from a u-boot perspective (almost) identical to KMNUSA. > The only difference is that the PCIe reset is connected to Kirkwood pin > MPP7_PEX_RST_OUTn, we use a dedicated config flag KM_P

Re: [U-Boot] [RFC v2] Fix memory commands for 64-bit platforms

2014-02-13 Thread York Sun
On 02/12/2014 11:16 PM, Wolfgang Denk wrote: > Dear York Sun, > > In message <1392249335-29538-1-git-send-email-york...@freescale.com> you > wrote: >> For aarch64, unsigned long is 64-bit data. Memory commands should be fixed >> with u32 for 32-bit address access. To be clear, ushort is replace w

Re: [U-Boot] [PATCH V4 2/3] ARM: tegra: rework boot scripts

2014-02-13 Thread Dennis Gilmore
On Thu, 13 Feb 2014 09:39:41 -0700 Stephen Warren wrote: > On 02/13/2014 04:13 AM, Dennis Gilmore wrote: > > Hi Stephen, > > > > I noticed one issue > > > > On Wed, 5 Feb 2014 09:24:58 -0700 > > Stephen Warren wrote: > > > >> From: Stephen Warren > >> > >> Update the common Tegra boot scrip

Re: [U-Boot] [RFC v2] Fix memory commands for 64-bit platforms

2014-02-13 Thread Wolfgang Denk
Dear York, In message <52fcf971.7070...@freescale.com> you wrote: > > > > Can you please submit another patch adding the 64 bit support again? > > I agree with Albert's comment that it makes sense to implement it such > > that it is automatically active on 64 bit systems, but can optionally > > a

Re: [U-Boot] [PATCH 3/3] armv8/cache: Change cache invalidate and flush function

2014-02-13 Thread York Sun
On 02/12/2014 08:04 PM, FengHua wrote: > > > >> -Original Messages- >> From: "York Sun" >> Sent Time: 2014-02-11 05:55:54 (Tuesday) >> To: albert.u.b...@aribaud.net >> Cc: scottw...@freescale.com, "York Sun" , "David >> Feng" >> Subject: [PATCH 3/3] armv8/cache: Change cache invalidat

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

2014-02-13 Thread Albert ARIBAUD
Hi Tom, The following changes since commit 0876703cf2ee107372b56037d4eeeb7604c56796: boards.cfg: Keep the entries sorted (2014-01-27 08:28:35 -0500) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes up to 9c134e189a95c976dab94d4f28444a5398

[U-Boot] [PATCH] usb: tegra: Fix PHY configuration for Tegra 3

2014-02-13 Thread Stefan Agner
On Tegra 3, the PTS (parallel transceiver select) and STS (serial transceiver select) are part of the HOSTPC1_DEVLC_0 register rather than PORTSC1_0 register. Since the reset configuration usually matches the configured registers, this error did not show up on Tegra 3 devices. Also clear the force

Re: [U-Boot] [PATCH] usb: tegra: Fix PHY configuration for Tegra 3

2014-02-13 Thread Tom Warren
Adding Jim Lin (NV USB expert) to the review > -Original Message- > From: Stefan Agner [mailto:ste...@agner.ch] > Sent: Thursday, February 13, 2014 12:21 PM > To: u-boot@lists.denx.de; swar...@wwwdotorg.org; Tom Warren; > s...@chromium.org; d...@lynxeye.de > Cc: ste...@agner.ch > Subject:

Re: [U-Boot] [PATCH] usb: create common header virtual root hub descriptors

2014-02-13 Thread Marek Vasut
On Thursday, February 13, 2014 at 06:42:18 AM, Stephen Warren wrote: > Many USB host controller drivers contain almost identical copies of the > same virtual root hub descriptors. Put these into a common file to avoid > duplication. > > Note that there were some very minor differences between the

Re: [U-Boot] [PATCH 2/7] fdt: add "fdt sign" command

2014-02-13 Thread Marek Vasut
On Wednesday, February 12, 2014 at 04:31:50 PM, Heiko Schocher wrote: > Hello Marek, > > Am 12.02.2014 11:46, schrieb Marek Vasut: > > On Monday, February 10, 2014 at 07:15:09 AM, Heiko Schocher wrote: > >> Hello Marek, > >> > >> Am 08.02.2014 15:09, schrieb Marek Vasut: > >>> On Saturday, Januar

Re: [U-Boot] tlb15_entry is set wrong in the 4K code when the MPC8572DS boots from nand flash

2014-02-13 Thread Scott Wood
On Thu, 2014-02-13 at 17:22 +0100, Y fan wrote: > Hello, > > > >I don't know what you mean by "the fifth bit of the tlb1_entry 15 > value". > > > From the file CodeWarrior version10.x.pdf (see in the attatchment), > the fifth bit of the TLB1_entry indicates the AS. > > > >What makes you say i

Re: [U-Boot] NAND bad block Query

2014-02-13 Thread Scott Wood
On Thu, 2014-02-13 at 14:59 +, Gray Remlin wrote: > On 12/02/14 21:47, Scott Wood wrote: > > On Wed, 2014-02-12 at 21:04 +, Gray Remlin wrote: > >> Example taken from include/configs/sheevaplug.h > >> > >> #ifdef CONFIG_CMD_NAND > >> #define CONFIG_ENV_IS_IN_NAND 1 > >> #define CO

Re: [U-Boot] [PATCH v3] spi/cadence: Adding Cadence SPI driver support for SOCFPGA

2014-02-13 Thread Gerhard Sittig
Yes, I'm late to respond. :( On Fri, Jan 10, 2014 at 11:39 -0600, Chin Liang See wrote: > > To add the Cadence SPI driver support for Altera SOCFPGA. It > required information such as clocks and timing from platform's > configuration header file within include/configs folder s/To add/Add/? s/It

Re: [U-Boot] [PATCH V4 2/3] ARM: tegra: rework boot scripts

2014-02-13 Thread Stephen Warren
On 02/13/2014 10:16 AM, Dennis Gilmore wrote: > On Thu, 13 Feb 2014 09:39:41 -0700 > Stephen Warren wrote: > >> On 02/13/2014 04:13 AM, Dennis Gilmore wrote: >>> Hi Stephen, >>> >>> I noticed one issue >>> >>> On Wed, 5 Feb 2014 09:24:58 -0700 >>> Stephen Warren wrote: >>> From: Stephen Wa

[U-Boot] [PATCH V5] ARM: tegra: rework boot scripts

2014-02-13 Thread Stephen Warren
From: Stephen Warren Update the common Tegra boot scripts in the default environment to a) Make use of the new "test -e" shell command to avoid some error messages. b) Allow booting using the sysboot command and extlinux.conf. This allows easy creation of boot menus, and provides a simple

Re: [U-Boot] [PATCH][RFC v2] add pci 64 bit prefechable mem support

2014-02-13 Thread FengHua
> -Original Messages- > From: "Wolfgang Denk" > Sent Time: 2014-02-14 00:30:24 (Friday) > To: feng...@phytium.com.cn > Cc: u-boot@lists.denx.de, tr...@ti.com, albert.u.b...@aribaud.net > Subject: Re: [PATCH][RFC v2] add pci 64 bit prefechable mem support > > Dear feng...@phytium.com.cn

Re: [U-Boot] how to get rid of "No base64 encoded MIME text parts"?

2014-02-13 Thread shengzhou....@freescale.com
When replying the original email, outlook added automatically underline at some strings with @, such as "u-boot@lists.denx.de". You can try to remove the underline. Regards, Shengzhou > -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] > On B

[U-Boot] [PATCH V3 4/4] ARM: rpi_b: rework boot scripts, enable sysboot

2014-02-13 Thread Stephen Warren
Rework rpi_b's bootcmd (and sub-commands) to match Tegra's bootcmd as much as possible. This will aid in a future patch which will create a common header e.g. config_distro_bootcmd.h. While at it, enable booting from extlinux.conf using the sysboot command. The iteration and componentization curr

Re: [U-Boot] [PATCH] usb: create common header virtual root hub descriptors

2014-02-13 Thread Stephen Warren
On 02/13/2014 01:44 PM, Marek Vasut wrote: > On Thursday, February 13, 2014 at 06:42:18 AM, Stephen Warren wrote: >> Many USB host controller drivers contain almost identical copies of the >> same virtual root hub descriptors. Put these into a common file to avoid >> duplication. >> >> Note that th

  1   2   >