Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-23 Thread Joakim Tjernlund
Andy Fleming aflem...@gmail.com wrote on 2012/08/22 23:08:45: On Mon, Jul 23, 2012 at 3:58 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: PowerPC mandates SP to be 16 bytes aligned. Furthermore, a stack frame is added, pointing to the reset vector which may in the way when gdb

[U-Boot] [PATCH 2/6] powerpc: Extract EPAPR_MAGIC constants into processor.h

2012-08-23 Thread Stefan Roese
By extracting these defines into a header, they can be re-used by other C sources as well. This will be done by the SPL framework OS boot support. Signed-off-by: Stefan Roese s...@denx.de --- arch/powerpc/include/asm/processor.h | 6 ++ arch/powerpc/lib/bootm.c | 6 -- 2

[U-Boot] [PATCH 0/6] SPL: Port SPL framework to powerpc

2012-08-23 Thread Stefan Roese
This patchset ports the SPL framework to powerpc. Its based on the SPL generalization lately done by Tom Rini. The patches can be applied on top of his 3rd version located here: http://github.com/trini/u-boot WIP/spl-improvements Additionally, a new MPC5200 board port is included, the a3m071

[U-Boot] [PATCH 1/6] SPL: Add NOR flash booting support

2012-08-23 Thread Stefan Roese
SPL NOR flash booting support is quite simple. Only copying of the images is needed. On MPC5xxx we need to make sure to only use the standard memcpy() implementation and not the MPC5xxx specific one. As the MPC5xxx version has some complexity which is not needed for this SPL booting.

[U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-23 Thread Stefan Roese
This patch enables the SPL framework to be used on powerpc platforms and not only ARM. Signed-off-by: Stefan Roese s...@denx.de --- common/spl/spl.c | 45 ++--- 1 file changed, 42 insertions(+), 3 deletions(-) diff --git a/common/spl/spl.c

[U-Boot] [PATCH 5/6] mpc5200: Add SPL support

2012-08-23 Thread Stefan Roese
This patch adds SPL booting support (NOR flash) for the MPC5200 platforms. Signed-off-by: Stefan Roese s...@denx.de --- arch/powerpc/cpu/mpc5xxx/Makefile | 4 +++ arch/powerpc/cpu/mpc5xxx/spl_boot.c | 62 + arch/powerpc/cpu/mpc5xxx/start.S| 22

[U-Boot] [PATCH 4/6] env: Extract getenv_f() into separate source file

2012-08-23 Thread Stefan Roese
By extracting getenv_f and envmatch() from cmd_nvedit.c into a separate file, getenv_f() can be included easily into the SPL binary. With this, SPL boards can now use getenv_f() to read environment variables (e.g. to detect if the OS or U-Boot shall be executed). In the approach this is done for

[U-Boot] [PATCH 6/6] mpc5200: Add a3m071 board support

2012-08-23 Thread Stefan Roese
This patch adds support for the a3m071 board based on the MPC5200. Signed-off-by: Stefan Roese s...@denx.de --- MAINTAINERS | 2 + board/a3m071/Makefile| 36 board/a3m071/a3m071.c| 335 + board/a3m071/mt46v16m16-75.h |

[U-Boot] CAN support?

2012-08-23 Thread lists2k12
Hi, I've seen some attempts ([1],[2]) to add support for CAN (Controller Area Network) interfaces. But it seems that none of these attempts has made it into mainline U-Boot. What's the status of the CAN support? Is anyone actively working on this? We're looking for a possibility to output

[U-Boot] U-Boot API Problem

2012-08-23 Thread Priebe, Sebastian
Hello, we recently switched to the OSELAS Toolchain for ARM1136 processors and faced a problem considering the u-boot API. If compiling the API demo with -Os (as default in u-boot) the demo does not run anymore. If activating -fno-relocate-functions in the used cflags the demo runs as before

[U-Boot] U-Boot API Demo Problem

2012-08-23 Thread Priebe, Sebastian
Hello, we recently switched to the OSELAS Toolchain for ARM1136 processors and faced a problem considering the u-boot API. If compiling the API demo with -Os (as default in u-boot) the demo does not run anymore. If activating -fno-relocate-functions in the used cflags the demo runs as before

[U-Boot] Add a new protocol

2012-08-23 Thread EVS Hardware Dpt
Hi, I want to add a new network protocol to u-boot. However it seems that the most straightforward way to add a new protocol is to add it to NetLoop's supported protocols. Of course, I would create a .c/.h pair of files to manage the protocol and use CONFIG_XXX to ensure it doesn't add

[U-Boot] [PATCH] fsl_pci: use 'Header Type' field to judge PCIE mode

2012-08-23 Thread Minghuan Lian
The original code uses 'Programming Interface' field to judge if PCIE is EP or RC mode, however, T4240 does not support this functionality. According to PCIE specification, 'Header Type' offset 0x0e is used to indicate header type, so for PCIE controller, the patch changes code to use 'Header

Re: [U-Boot] [PATCH 3/5] Add fuse API and commands

2012-08-23 Thread Dirk Behme
On 22.08.2012 13:11, Benoît Thébaudeau wrote: Hi Dirk, On Wednesday, August 22, 2012 12:43:05 PM, Dirk Behme wrote: On 14.08.2012 14:52, Benoît Thébaudeau wrote: This can be useful for fuse-like hardware, OTP SoC options, etc. For i.MX6, I have a port of the OTP support from Freescale's

Re: [U-Boot] [PATCH 3/6] net: asix: split out basic reset function

2012-08-23 Thread Lucas Stach
Hi Mike, Am Mittwoch, den 22.08.2012, 23:01 -0400 schrieb Mike Frysinger: On Wednesday 22 August 2012 06:09:04 Lucas Stach wrote: The basic device reset ensures that the device is ready to service commands and does not need to get redone before each network operation. Split out the

[U-Boot] [PATCH] SPL: do not use fix value for u-boot size

2012-08-23 Thread Stefano Babic
If an u-boot image is not found, SPL thinks to load a bare u-boot.bin image with a maximum size of 200KB. Use CONFIG_SYS_MONITOR_LEN instead. Signed-off-by: Stefano Babic sba...@denx.de CC: Tom Rini tr...@ti.com --- Note: this is based on Tom's series ARM: SPL: Make more generic, merge

Re: [U-Boot] [PATCH] SPL: do not use fix value for u-boot size

2012-08-23 Thread Stefan Roese
On 08/23/2012 10:40 AM, Stefano Babic wrote: If an u-boot image is not found, SPL thinks to load a bare u-boot.bin image with a maximum size of 200KB. Use CONFIG_SYS_MONITOR_LEN instead. Signed-off-by: Stefano Babic sba...@denx.de CC: Tom Rini tr...@ti.com --- Note: this is based on

Re: [U-Boot] [PATCH v2 1/3] mx53loco: Use IMX_GPIO_NR macro

2012-08-23 Thread Stefano Babic
On 21/08/2012 22:01, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Use IMX_GPIO_NR macro. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Changes since v1: - Remove unnecessary comment board/freescale/mx53loco/mx53loco.c |2 +- 1 file changed, 1

Re: [U-Boot] [PATCH 3/6] mx35: Fix broken pin definitions

2012-08-23 Thread Stefano Babic
On 14/08/2012 21:39, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX

Re: [U-Boot] [PATCH 1/7] mx35: Move clock enums to clock.h

2012-08-23 Thread Stefano Babic
On 14/08/2012 22:32, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX

Re: [U-Boot] [PATCH 3/6] mx35: Fix broken pin definitions

2012-08-23 Thread Stefano Babic
On 14/08/2012 21:39, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX

Re: [U-Boot] [PATCH 4/6] mx35: Remove declaration of non-existing function

2012-08-23 Thread Stefano Babic
On 14/08/2012 21:40, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- .../arch/arm/include/asm/arch-mx35/sys_proto.h |1 - 1 file changed, 1 deletion(-) diff --git

Re: [U-Boot] [PATCH 01/10] mx5: Undeclare imx_decode_pll()

2012-08-23 Thread Stefano Babic
On 14/08/2012 20:06, Benoît Thébaudeau wrote: The imx_decode_pll() function does not exist for mx5, so remove its declaration. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com Cc: Stefano Babic sba...@denx.de --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic

Re: [U-Boot] [PATCH V2 1/1] mx31/mx35/mx51/mx53/mx6: add watchdog

2012-08-23 Thread Stefano Babic
On 22/08/2012 20:30, Troy Kisky wrote: On 8/22/2012 12:22 AM, Stefano Babic wrote: On 21/08/2012 19:51, Troy Kisky wrote: On 8/20/2012 11:11 PM, Stefano Babic wrote: On 21/08/2012 01:03, Troy Kisky wrote: Hi Troy, So, you are saying CONFIG_ options don't belong in imx-regs.h, or you

Re: [U-Boot] [PATCH] SPL: do not use fix value for u-boot size

2012-08-23 Thread Stefano Babic
On 23/08/2012 10:51, Stefan Roese wrote: On 08/23/2012 10:40 AM, Stefano Babic wrote: If an u-boot image is not found, SPL thinks to load a bare u-boot.bin image with a maximum size of 200KB. Use CONFIG_SYS_MONITOR_LEN instead. Signed-off-by: Stefano Babic sba...@denx.de CC: Tom Rini

Re: [U-Boot] [PATCH] SPL: do not use fix value for u-boot size

2012-08-23 Thread Stefan Roese
Hi Stefano, On 08/23/2012 11:23 AM, Stefano Babic wrote: diff --git a/common/spl/spl.c b/common/spl/spl.c index 7d15460..827ff1c 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -100,7 +100,11 @@ void spl_parse_image_header(const struct image_header *header)

Re: [U-Boot] [PATCH] SPL: do not use fix value for u-boot size

2012-08-23 Thread Stefano Babic
On 23/08/2012 11:28, Stefan Roese wrote: Hi Stefano, On 08/23/2012 11:23 AM, Stefano Babic wrote: diff --git a/common/spl/spl.c b/common/spl/spl.c index 7d15460..827ff1c 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -100,7 +100,11 @@ void spl_parse_image_header(const struct

[U-Boot] [PATCH] atmel: sam9g10: correct the text base and move into config.mk

2012-08-23 Thread Bo Shen
This patch correct the text base for at91sam9g10ek board Move the text base define to config.mk Signed-off-by: Bo Shen voice.s...@atmel.com --- board/atmel/at91sam9261ek/config.mk |1 + include/configs/at91sam9261ek.h |1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode

Re: [U-Boot] [PATCH v2] mx5: add iomux-mx51.h include

2012-08-23 Thread Stefano Babic
On 22/08/2012 21:24, Matt Sealey wrote: Allow usage of the imx-common/iomux-v3.h framework by including pad settings for the i.MX51. The content of the file is taken from Linux kernel at commit 5d23b39 plus the required changes to make it work in U-Boot. The contained pad settings are the

Re: [U-Boot] [PATCH v2 1/4] efikamx: move and rename Efika MX directories and config files to prepare for new boards

2012-08-23 Thread Stefano Babic
On 22/08/2012 21:25, Matt Sealey wrote: * Move Efika MX Smarttop and Smartbook boards into a genesi vendor directory * Rename efikamx - mx51_efikamx since there is an mx53_efikamx and mx6_efikamx to come Signed-off-by: Matt Sealey m...@genesi-usa.com --- board/{efikamx =

[U-Boot] [PATCH v3 0/5] at91: 9x5: Enable PMECC(Programmable Multibit ECC controller) support

2012-08-23 Thread Josh Wu
This patch series will add PMECC support for atmel at91sam9x5ek in u-boot. The NAND flash driver patch is ported from kernel patch. The main different from kernel patch is the modification about registers access part. in this version it via a register structure to access. It is tested in

[U-Boot] [PATCH v3 1/5] at91: atmel_nand: extract HWECC initialization code into one function: atmel_hw_nand_init_param().

2012-08-23 Thread Josh Wu
This patch 1. extract the hwecc initialization code into one function. It is a preparation for adding atmel PMECC support. 2. enable CONFIG_SYS_NAND_SELF_INIT. Which make us can configurate the ecc parameters between nand_scan_ident() and nand_scan_tail(). Signed-off-by: Josh Wu

[U-Boot] [PATCH v3 4/5] at91: 9x5: change SMC config timing that both works for PMECC non-PMECC.

2012-08-23 Thread Josh Wu
Signed-off-by: Josh Wu josh...@atmel.com --- board/atmel/at91sam9x5ek/at91sam9x5ek.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/board/atmel/at91sam9x5ek/at91sam9x5ek.c b/board/atmel/at91sam9x5ek/at91sam9x5ek.c index 88b3478..ae408bc 100644 ---

[U-Boot] [PATCH v3 2/5] at91: atmel_nand: remove unused variables.

2012-08-23 Thread Josh Wu
Signed-off-by: Josh Wu josh...@atmel.com Acked-by: Scott Wood scottw...@freescale.com --- drivers/mtd/nand/atmel_nand.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 21dc4f5..05a6317 100644 ---

[U-Boot] [PATCH v3 3/5] at91: atmel_nand: Update driver to support Programmable Multibit ECC controller

2012-08-23 Thread Josh Wu
The Programmable Multibit ECC (PMECC) controller is a programmable binary BCH(Bose, Chaudhuri and Hocquenghem) encoder and decoder. This controller can be used to support both SLC and MLC NAND Flash devices. It supports to generate ECC to correct 2, 4, 8, 12 or 24 bits of error per sector of data.

[U-Boot] [PATCH v3 5/5] at91: 9x5: Enable PMECC for 5series ek board.

2012-08-23 Thread Josh Wu
Signed-off-by: Josh Wu josh...@atmel.com --- include/configs/at91sam9x5ek.h |7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h index 82f6b48..3a5a7e6 100644 --- a/include/configs/at91sam9x5ek.h +++

Re: [U-Boot] [PATCH] mxs: Convert timeout parameter to 'unsigned int'

2012-08-23 Thread Stefano Babic
On 22/08/2012 22:10, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com For representing a timeout value, it makes more sense to pass it as 'unsigned int'. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- arch/arm/cpu/arm926ejs/mxs/mxs.c |6

Re: [U-Boot] [PATCH 2/4] efikamx: remove drive strength function and roll its functionality into the DCD

2012-08-23 Thread Stefano Babic
On 22/08/2012 21:25, Matt Sealey wrote: Efika MX boards configure their DDR pad settings twice, one in the DCD generated from imximage_*.cfg and again in init_drive_strength called before relocation. Rather than doing this, roll the changes it makes into the DCD so DDR is set up before a

Re: [U-Boot] [PATCH 3/4] efikamx: configure Smarttop PCBID and LED pads in DCD for convenience

2012-08-23 Thread Stefano Babic
On 22/08/2012 21:25, Matt Sealey wrote: PCBID pads seem to need time to settle due to external pulldowns, otherwise we are reading floating GPIO pins with implicit pad pullups and get the wrong data. However we can't wait at the time we need them before relocation, since timers are not

Re: [U-Boot] [PATCH v2 1/4] efikamx: move and rename Efika MX directories and config files to prepare for new boards

2012-08-23 Thread Stefano Babic
On 22/08/2012 21:25, Matt Sealey wrote: * Move Efika MX Smarttop and Smartbook boards into a genesi vendor directory * Rename efikamx - mx51_efikamx since there is an mx53_efikamx and mx6_efikamx to come Signed-off-by: Matt Sealey m...@genesi-usa.com --- board/{efikamx =

Re: [U-Boot] [PATCH 4/4] efikamx: update to Efika MX Smarttop and Smartbook boards

2012-08-23 Thread Stefano Babic
On 22/08/2012 21:25, Matt Sealey wrote: This is a rework of a previously submitted patchset and bundles the main board support and USB support into a single commit. It requires the patch mx5: add iomux-mx51.h include * Use iomux-mx51.h include to simplify board configuration. * Simplify

Re: [U-Boot] [PATCH 3/5] Add fuse API and commands

2012-08-23 Thread Stefano Babic
On 22/08/2012 12:43, Dirk Behme wrote: On 14.08.2012 14:52, Benoît Thébaudeau wrote: This can be useful for fuse-like hardware, OTP SoC options, etc. For i.MX6, I have a port of the OTP support from Freescale's U-Boot to our mainline U-Boot in the queue [1]. As I don't have the overview

Re: [U-Boot] [PATCH] atmel: sam9g10: correct the text base and move into config.mk

2012-08-23 Thread Andreas Bießmann
Dear Bo Shen, On 23.08.2012 11:34, Bo Shen wrote: This patch correct the text base for at91sam9g10ek board Move the text base define to config.mk Signed-off-by: Bo Shen voice.s...@atmel.com --- board/atmel/at91sam9261ek/config.mk |1 + include/configs/at91sam9261ek.h |1 - 2

Re: [U-Boot] [PATCHv1] ARM: Add Altera SOCFPGA Cyclone5

2012-08-23 Thread Pavel Machek
Hi! diff --git a/Makefile b/Makefile index 5ce5cc3..12aa372 100644 --- a/Makefile +++ b/Makefile @@ -369,7 +369,7 @@ BOARD_SIZE_CHECK = endif # Always append ALL so that arch config.mk's can add custom ones -ALL-y += $(obj)u-boot.srec $(obj)u-boot.bin

[U-Boot] [PATCH V2] SPL: do not use fix value for u-boot size

2012-08-23 Thread Stefano Babic
If an u-boot image is not found, SPL thinks to load a bare u-boot.bin image with a maximum size of 200KB. Use CONFIG_SYS_MONITOR_LEN instead. Signed-off-by: Stefano Babic sba...@denx.de CC: Tom Rini tr...@ti.com CC: Stefan Roese stefan.ro...@gmail.com --- Changes: - move the #ifdef out of the C

Re: [U-Boot] [PATCHv1] ARM: Add Altera SOCFPGA Cyclone5

2012-08-23 Thread Pavel Machek
Hi! +/* + * Release peripherals from reset based on handoff + */ +void reset_deassert_peripherals_handoff(void) +{ + unsigned int val = 0; + writel(val, reset_manager_base-per_mod_reset); writel(0, ... Ok. +int dram_init(void) +{ + gd-ram_size = get_ram_size((long

Re: [U-Boot] [PATCHv1] ARM: Add Altera SOCFPGA Cyclone5

2012-08-23 Thread Pavel Machek
On Wed 2012-08-22 18:13:53, Tom Rini wrote: On Thu, Aug 23, 2012 at 12:26:53AM +0200, Marek Vasut wrote: Dear dingu...@altera.com, From: Dinh Nguyen dingu...@altera.com Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. Signed-off-by: Dinh Nguyen

Re: [U-Boot] [PATCHv1] ARM: Add Altera SOCFPGA Cyclone5

2012-08-23 Thread Stefan Roese
Hi Pavel, On 08/23/2012 12:43 PM, Pavel Machek wrote: +static unsigned long spl_parse_image_header(const struct image_header *header) +{ + /* checking for mkimage signature */ + if (__be32_to_cpu(header-ih_magic) == IH_MAGIC) { + /* Valid image. Extract information out of header

Re: [U-Boot] [PATCH V2] SPL: do not use fix value for u-boot size

2012-08-23 Thread Stefan Roese
On 08/23/2012 12:46 PM, Stefano Babic wrote: If an u-boot image is not found, SPL thinks to load a bare u-boot.bin image with a maximum size of 200KB. Use CONFIG_SYS_MONITOR_LEN instead. Signed-off-by: Stefano Babic sba...@denx.de CC: Tom Rini tr...@ti.com CC: Stefan Roese

Re: [U-Boot] [PATCH v3 0/19] ARM: SPL: Make more generic, merge DaVinci and OMAP

2012-08-23 Thread Stefan Roese
Hi Tom, On 08/23/2012 01:19 AM, Tom Rini wrote: The following patch series merges the davinci and omap-common SPL frameworks into a single framework, CONFIG_SPL_FRAMEWORK along with a few small cleanups to the code to make it a little smaller and more flexible. The end result is that davinci

[U-Boot] [PATCH 0/6 v2] Code cleaup for trats and universal

2012-08-23 Thread Piotr Wilczek
This patch fixes SDRAM configuration and size visibility fot Trats board. Code for MMC initialisation is moved from board file to pinmux. MMC0 and MMC2 are supported. Both tested on Trats and Universal C210 boards. MMC initialisation for boards Trats and Universal C210 is done using pinmux. Low

[U-Boot] [PATCH 1/6 v2] arm:exynos4:trats: Correct SDRAM configuration for trats

2012-08-23 Thread Piotr Wilczek
SDRAM setup alike to ORIGEN Dev board. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com --- Changes for v2: - no changes include/configs/trats.h | 17 +++-- 1 files changed, 11

[U-Boot] [PATCH 2/6 v2] arm:exynos4:trats: Fix SDRAM size

2012-08-23 Thread Piotr Wilczek
Full 1GiB is visible Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com --- Changes for v2: - no chages board/samsung/trats/trats.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff

[U-Boot] [PATCH 3/6 v2] arm:exynos4:pinmux: Modify the gpio function for mmc

2012-08-23 Thread Piotr Wilczek
This patch add pinmux settings for Exynos4 for mmc0 and mmc2 Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com --- Changes for v2: - mmc initialisation code moved to pinmux instead of creating a new

[U-Boot] [PATCH 5/6 v2] arm:exynos4:universal: Use pinmux for mmc configuration

2012-08-23 Thread Piotr Wilczek
This patch use the pinmux for mmc configuration for Universal C210 Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com --- Changes for v2: - mmc initialisation using pinmux

[U-Boot] [PATCH 4/6 v2] arm:exynos4:trats: Use pinmux for mmc configuration

2012-08-23 Thread Piotr Wilczek
This patch use the pinmux for mmc configuration for Trats Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com --- Chaneges for v2: - mmc iniatialisation using pinmux board/samsung/trats/trats.c | 62

[U-Boot] [PATCH 6/6 v2] arm:exynos4:universal: Eliminated low level init

2012-08-23 Thread Piotr Wilczek
Low level initialisation is done by another bootloader Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com --- Changes for v2: - no changes board/samsung/universal_c210/Makefile|1 -

Re: [U-Boot] [PATCH v3 0/19] ARM: SPL: Make more generic, merge DaVinci and OMAP

2012-08-23 Thread Stefano Babic
On 23/08/2012 01:19, Tom Rini wrote: Hey all, The following patch series merges the davinci and omap-common SPL frameworks into a single framework, CONFIG_SPL_FRAMEWORK along with a few small cleanups to the code to make it a little smaller and more flexible. The end result is that davinci

Re: [U-Boot] [PATCH v3 0/19] ARM: SPL: Make more generic, merge DaVinci and OMAP

2012-08-23 Thread Christian Riesch
Hi Tom, On Thu, Aug 23, 2012 at 1:19 AM, Tom Rini tr...@ti.com wrote: Hey all, The following patch series merges the davinci and omap-common SPL frameworks into a single framework, CONFIG_SPL_FRAMEWORK along with a few small cleanups to the code to make it a little smaller and more

Re: [U-Boot] [PATCH v3 17/19] da850: Add README.da850

2012-08-23 Thread Christian Riesch
Hi Tom, On Thu, Aug 23, 2012 at 1:19 AM, Tom Rini tr...@ti.com wrote: This file documents when to build for da850evm and when to build for da850_am18xxevm. It also documents how to write the u-boot.ais file to persistent storage (such as SPI), in some cases as well as how to write a recovery

Re: [U-Boot] [PATCH v3 16/19] ARM: SPL: Convert davinci to CONFIG_SPL_FRAMEWORK

2012-08-23 Thread Christian Riesch
Hi Tom, On Thu, Aug 23, 2012 at 1:19 AM, Tom Rini tr...@ti.com wrote: - Convert the non-relocation part of board_init_f to spl_board_init, turn on CONFIG_SPL_BOARD_INIT in the configs. - Remove duplicated code. - Add spl_boot_device() that returns the statically chosen boot device.

Re: [U-Boot] [PATCH 3/5] Add fuse API and commands

2012-08-23 Thread Eric Nelson
On 08/23/2012 03:31 AM, Stefano Babic wrote: On 22/08/2012 12:43, Dirk Behme wrote: On 14.08.2012 14:52, Benoît Thébaudeau wrote: This can be useful for fuse-like hardware, OTP SoC options, etc. For i.MX6, I have a port of the OTP support from Freescale's U-Boot to our mainline U-Boot in the

Re: [U-Boot] [Patch V3 1/4] [MIPS] Add support for MIPS64 cpus

2012-08-23 Thread Zhi-zhou Zhang
On Thu, Aug 23, 2012 at 11:07 AM, Mike Frysinger vap...@gentoo.org wrote: On Monday 20 August 2012 10:22:23 Zhizhou Zhang wrote: +void __weak _machine_restart(void) +{ +} this should be: void __noreturn __weak _machine_restart(void) { while (1); } there should also be a

Re: [U-Boot] [PATCH] mxc: Make gpio_get_value() use PSR

2012-08-23 Thread Stefano Babic
On 20/08/2012 22:55, Benoît Thébaudeau wrote: gpio_get_value() should use PSR like Linux, not DR, because DR does not always reflect the pin state, while PSR does. This is especially useful to detect a short circuit on a GPIO pin configured as output, or to read the level of a pin controlled

Re: [U-Boot] [PATCH v3 16/19] ARM: SPL: Convert davinci to CONFIG_SPL_FRAMEWORK

2012-08-23 Thread Tom Rini
On 08/23/2012 06:14 AM, Christian Riesch wrote: Hi Tom, On Thu, Aug 23, 2012 at 1:19 AM, Tom Rini tr...@ti.com wrote: - Convert the non-relocation part of board_init_f to spl_board_init, turn on CONFIG_SPL_BOARD_INIT in the configs. - Remove duplicated code. - Add spl_boot_device() that

Re: [U-Boot] [Patch V3 0/4] add mips64 cpu support

2012-08-23 Thread Zhi-zhou Zhang
On Thu, Aug 23, 2012 at 11:04 AM, Mike Frysinger vap...@gentoo.org wrote: On Monday 20 August 2012 10:22:22 Zhizhou Zhang wrote: This patch add mips64 cpu support. Changes in V3: - merge related files into one patch, no longer one file one patch. - add detailed commit message. -

Re: [U-Boot] [PATCH 1/2] gpio: add gpio api support to mx27 (v2)

2012-08-23 Thread Stefano Babic
On 06/08/2012 17:29, Philippe Reynes wrote: There is a little change on gpio_get_value because on mx27 the register to read is ssr and not dr. Signed-off-by: Philippe Reynes trem...@yahoo.fr --- Hi Philippe, arch/arm/cpu/arm926ejs/mx27/generic.c | 11 +++---

[U-Boot] [PATCH] Add U_BOOT_TIMESTAMP definition

2012-08-23 Thread Matt Sealey
This gives us a string like 20120822150855 which encodes the build time. This allows automated version checking and flashing of U-Boot to be performed, for example, in boot.scr files (or scripting in general). Signed-off-by: Matt Sealey m...@genesi-usa.com Cc: Stefano Babic sba...@denx.de Cc:

Re: [U-Boot] [PATCH] Add U_BOOT_TIMESTAMP definition

2012-08-23 Thread Stefano Babic
On 23/08/2012 16:44, Matt Sealey wrote: This gives us a string like 20120822150855 which encodes the build time. This allows automated version checking and flashing of U-Boot to be performed, for example, in boot.scr files (or scripting in general). Signed-off-by: Matt Sealey

[U-Boot] [PATCH 1/2] efikamx: refine USB support

2012-08-23 Thread Matt Sealey
Because of the way USB pad settings are handled it doesn't make sense to be able to build the Efika MX board support without CONFIG_CMD_USB turned on. So, we change the build to always compile in USB support. We do not need to check for CONFIG_CMD_USB like we do with CONFIG_MXC_SPI since the USB

[U-Boot] [PATCH 2/2] efikamx: update and clean up configuration

2012-08-23 Thread Matt Sealey
Rewrite and refine the configuration for the Efika MX to support the board features effectively. In summary: * Reorder configuration so it is more readable * Bring the configuration up to a production-compatible boot process by implementing scanning of bootable partitions on MMC and ATA

[U-Boot] [PATCH] efikamx: update MAINTAINERS for Genesi Efika MX systems

2012-08-23 Thread Matt Sealey
Update maintainer for efikamx and efikasb to myself. Signed-off-by: Matt Sealey m...@genesi-usa.com Cc: Stefano Babic sba...@denx.de Cc: Marek Vasut ma...@denx.de --- MAINTAINERS |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index

Re: [U-Boot] [PATCH] Add U_BOOT_TIMESTAMP definition

2012-08-23 Thread Matt Sealey
On Thu, Aug 23, 2012 at 9:49 AM, Stefano Babic sba...@denx.de wrote: On 23/08/2012 16:44, Matt Sealey wrote: This gives us a string like 20120822150855 which encodes the build time. This allows automated version checking and flashing of U-Boot to be performed, for example, in boot.scr files

Re: [U-Boot] [PATCH 1/6] SPL: Add NOR flash booting support

2012-08-23 Thread Tom Rini
On 08/23/2012 01:12 AM, Stefan Roese wrote: SPL NOR flash booting support is quite simple. Only copying of the images is needed. On MPC5xxx we need to make sure to only use the standard memcpy() implementation and not the MPC5xxx specific one. As the MPC5xxx version has some complexity

Re: [U-Boot] [PATCH 1/6] SPL: Add NOR flash booting support

2012-08-23 Thread Stefan Roese
On 08/23/2012 05:07 PM, Tom Rini wrote: On 08/23/2012 01:12 AM, Stefan Roese wrote: SPL NOR flash booting support is quite simple. Only copying of the images is needed. On MPC5xxx we need to make sure to only use the standard memcpy() implementation and not the MPC5xxx specific one. As the

Re: [U-Boot] [PATCH 1/3] nand: Add support for unlock.invert

2012-08-23 Thread Joe Hershberger
Hi Scott, On Wed, Aug 22, 2012 at 8:38 PM, Scott Wood scottw...@freescale.com wrote: On 08/22/2012 03:34 PM, Joe Hershberger wrote: Hi Scott, On Fri, Aug 17, 2012 at 3:53 PM, Scott Wood scottw...@freescale.com wrote: On 08/17/2012 03:31 PM, Joe Hershberger wrote: NAND unlock command allows

Re: [U-Boot] [PATCH 01/12] tools/env: Use a board-specific default env

2012-08-23 Thread Joe Hershberger
Hi Mike, On Wed, Aug 22, 2012 at 10:17 PM, Mike Frysinger vap...@gentoo.org wrote: On Friday 17 August 2012 16:49:35 Joe Hershberger wrote: */ #define CONFIG_FILE /etc/fw_env.config +#ifndef CONFIG_FILE this doesn't make any sense. CONFIG_FILE is defined literally right above

Re: [U-Boot] [U-Boot-DM] dwc_ahsata vs ahci

2012-08-23 Thread Marek Vasut
Dear Lv Terry-R65388, Hi Pavel, The ahci.c is a ahci driver using pci interface, while dwc_asata is not. u-boot don't have a pure ahci driver now, thus we have to reuse some ahci parts from ahci.c in dwc_asata.c. Ok, I think we can unify that eventually. [...]

[U-Boot] [PATCH] mx6qarm2:Use IMX_GPIO_NR macro

2012-08-23 Thread Ashok
From 0a92ab264ca7f87f198afe401bc552000fe2bd12 Mon Sep 17 00:00:00 2001 From: Ashok Kumar Reddy ashokkourla2...@gmail.com Date: Thu, 23 Aug 2012 21:01:34 +0530 Subject: [PATCH] mx6qarm2:Use IMX_GPIO_NR macro Signed-off-by: Ashok Kumar Reddy ashokkourla2...@gmail.com ---

Re: [U-Boot] [PATCH v3 17/19] da850: Add README.da850

2012-08-23 Thread Tom Rini
On 08/23/2012 05:52 AM, Christian Riesch wrote: Hi Tom, On Thu, Aug 23, 2012 at 1:19 AM, Tom Rini tr...@ti.com wrote: This file documents when to build for da850evm and when to build for da850_am18xxevm. It also documents how to write the u-boot.ais file to persistent storage (such as

Re: [U-Boot] [PATCH 04/12] tools/env: Reduce the impact on real-time processes

2012-08-23 Thread Joe Hershberger
Hi Mike, On Wed, Aug 22, 2012 at 10:30 PM, Mike Frysinger vap...@gentoo.org wrote: On Friday 17 August 2012 16:49:38 Joe Hershberger wrote: + * Break reads up into very small chunks so fw_printenv doesn't + * block the kernel long enough to starve other kernel tasks.

[U-Boot] ubifsload does not support relative symbolic link

2012-08-23 Thread Dev Ma
Hi, I found ubifsload does not support relative symbolic link. A patch in 2009 said that it could resolve relative symlink. It has already been merged into fs/ubifs/ubifs.c. But it does not work today. Direct symlink, i.e. to_target or /path/to_target, works. But relative symlink, i.e.

Re: [U-Boot] [PATCH] mx6qarm2:Use IMX_GPIO_NR macro

2012-08-23 Thread Fabio Estevam
On Thu, Aug 23, 2012 at 1:11 PM, Ashok ashokkourla2...@gmail.com wrote: From 0a92ab264ca7f87f198afe401bc552000fe2bd12 Mon Sep 17 00:00:00 2001 From: Ashok Kumar Reddy ashokkourla2...@gmail.com Date: Thu, 23 Aug 2012 21:01:34 +0530 Subject: [PATCH] mx6qarm2:Use IMX_GPIO_NR macro

Re: [U-Boot] [PATCH] mx6qarm2:Use IMX_GPIO_NR macro

2012-08-23 Thread Stefano Babic
On 23/08/2012 18:11, Ashok wrote: From 0a92ab264ca7f87f198afe401bc552000fe2bd12 Mon Sep 17 00:00:00 2001 From: Ashok Kumar Reddy ashokkourla2...@gmail.com Date: Thu, 23 Aug 2012 21:01:34 +0530 Subject: [PATCH] mx6qarm2:Use IMX_GPIO_NR macro Signed-off-by: Ashok Kumar Reddy

[U-Boot] [PATCH] mx5:Use IMX_GPIO_NR macro

2012-08-23 Thread Ashok
From 9f76cd6a79c6595fc058e9103d9d4eebd138a2af Mon Sep 17 00:00:00 2001 From: Ashok Kumar Reddy ashokkourla2...@gmail.com Date: Thu, 23 Aug 2012 21:24:53 +0530 Subject: [PATCH] mx5:Use IMX_GPIO_NR macro Signed-off-by: Ashok Kumar Reddy ashokkourla2...@gmail.com ---

Re: [U-Boot] [PATCH] mx5:Use IMX_GPIO_NR macro

2012-08-23 Thread Fabio Estevam
On Thu, Aug 23, 2012 at 1:43 PM, Ashok ashokkourla2...@gmail.com wrote: From 9f76cd6a79c6595fc058e9103d9d4eebd138a2af Mon Sep 17 00:00:00 2001 From: Ashok Kumar Reddy ashokkourla2...@gmail.com Date: Thu, 23 Aug 2012 21:24:53 +0530 Subject: [PATCH] mx5:Use IMX_GPIO_NR macro Signed-off-by:

Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-23 Thread Scott Wood
On 08/23/2012 02:21 AM, Joakim Tjernlund wrote: Andy Fleming aflem...@gmail.com wrote on 2012/08/22 23:08:45: On Mon, Jul 23, 2012 at 3:58 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: PowerPC mandates SP to be 16 bytes aligned. Furthermore, a stack frame is added, pointing to

Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-23 Thread Tom Rini
On 08/23/2012 01:12 AM, Stefan Roese wrote: This patch enables the SPL framework to be used on powerpc platforms and not only ARM. [snip] +#ifdef CONFIG_ARM /* Define global data structure pointer to it*/ gd_t gdata __attribute__ ((section(.data))); +#endif So you handle cleaning up the

Re: [U-Boot] [PATCH] powerpc: Fix declaration type for I/O functions

2012-08-23 Thread Andy Fleming
This patch (commit 20959471b5d07fdeb8603b918d80385aa2954711), strangely, causes the error below to happen when I build P1010RDB_36BIT_NAND: Configuring for P1010RDB_36BIT_NAND - Board: P1010RDB, Options: P1010RDB,36BIT,N AND make[1]: *** [/local/afleming/u-boot/nand_spl/u-boot-spl] Error 1 make:

Re: [U-Boot] [PATCH] powerpc: Fix declaration type for I/O functions

2012-08-23 Thread Prabhakar Kushwaha
On 08/23/2012 10:54 PM, Andy Fleming wrote: This patch (commit 20959471b5d07fdeb8603b918d80385aa2954711), strangely, causes the error below to happen when I build P1010RDB_36BIT_NAND: Configuring for P1010RDB_36BIT_NAND - Board: P1010RDB, Options: P1010RDB,36BIT,N AND make[1]: ***

Re: [U-Boot] [PATCH] powerpc: Fix declaration type for I/O functions

2012-08-23 Thread Scott Wood
On 08/23/2012 12:24 PM, Andy Fleming wrote: This patch (commit 20959471b5d07fdeb8603b918d80385aa2954711), strangely, causes the error below to happen when I build P1010RDB_36BIT_NAND: Configuring for P1010RDB_36BIT_NAND - Board: P1010RDB, Options: P1010RDB,36BIT,N AND make[1]: ***

Re: [U-Boot] [PATCH] powerpc: Fix declaration type for I/O functions

2012-08-23 Thread Andy Fleming
Very top of Wolfgang's master branch. On Thu, Aug 23, 2012 at 12:57 PM, Scott Wood scottw...@freescale.com wrote: On 08/23/2012 12:24 PM, Andy Fleming wrote: This patch (commit 20959471b5d07fdeb8603b918d80385aa2954711), strangely, causes the error below to happen when I build

Re: [U-Boot] [PATCH] powerpc: Fix declaration type for I/O functions

2012-08-23 Thread Tabi Timur-B04825
On Thu, Aug 23, 2012 at 12:24 PM, Andy Fleming aflem...@gmail.com wrote: I'm guessing this change increased the amount of inlining. Sadly, the subsequent patches, which were intended to shrink the SPL build, were not enough to fix this problem. Maybe there are places where we can use raw I/O

Re: [U-Boot] [PATCH] powerpc: Fix declaration type for I/O functions

2012-08-23 Thread Scott Wood
On 08/23/2012 01:03 PM, Andy Fleming wrote: On Thu, Aug 23, 2012 at 12:57 PM, Scott Wood scottw...@freescale.com wrote: On 08/23/2012 12:24 PM, Andy Fleming wrote: This patch (commit 20959471b5d07fdeb8603b918d80385aa2954711), strangely, causes the error below to happen when I build

Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-23 Thread Stefan Roese
On 08/23/2012 07:10 PM, Tom Rini wrote: +#ifdef CONFIG_ARM /* Define global data structure pointer to it*/ gd_t gdata __attribute__ ((section(.data))); +#endif So you handle cleaning up the BSS differently, interesting. I'm going to see if that would work for ARM too.. Yes. Might be

Re: [U-Boot] [PATCH v2 0/5] Tegra 2 USB ULPI series

2012-08-23 Thread Stephen Warren
On 08/21/2012 02:18 PM, Lucas Stach wrote: With this series we are able to initialize USB controllers using an external ULPI phy AKA USB2 on Tegra 2 devices. This was tested to work on a Toradex Colibri T20 board, where USB2 is used to access the ASIX ethernet chipset. Testing was done with

Re: [U-Boot] [PATCHv2 1/2] mpc85xx: Initial SP alignment is wrong.

2012-08-23 Thread Joakim Tjernlund
Scott Wood scottw...@freescale.com wrote on 2012/08/23 18:53:14: On 08/23/2012 02:21 AM, Joakim Tjernlund wrote: Andy Fleming aflem...@gmail.com wrote on 2012/08/22 23:08:45: On Mon, Jul 23, 2012 at 3:58 PM, Joakim Tjernlund joakim.tjernl...@transmode.se wrote: PowerPC mandates SP to

Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-23 Thread Tom Rini
On 08/23/2012 11:16 AM, Stefan Roese wrote: On 08/23/2012 07:10 PM, Tom Rini wrote: +#ifdef CONFIG_ARM /* Define global data structure pointer to it*/ gd_t gdata __attribute__ ((section(.data))); +#endif So you handle cleaning up the BSS differently, interesting. I'm going to see if

[U-Boot] [PATCH] efikamx: sync Smartbook DDR settings in DCD with those found in Genesi's production U-Boot

2012-08-23 Thread Matt Sealey
We have no idea where the DCD was derived from for Smartbook support, but they differ from the Smarttop settings, MX51EVK settings and certainly don't correspond to any shipped or development version of U-Boot that Genesi has ever had on any Smartbook. So, copy the calibrated, verified settings

Re: [U-Boot] [PATCH 04/12] tools/env: Reduce the impact on real-time processes

2012-08-23 Thread Mike Frysinger
On Thursday 23 August 2012 12:26:08 Joe Hershberger wrote: On Wed, Aug 22, 2012 at 10:30 PM, Mike Frysinger wrote: On Friday 17 August 2012 16:49:38 Joe Hershberger wrote: + * Break reads up into very small chunks so fw_printenv doesn't + * block the kernel long enough to starve other

  1   2   >