[U-Boot] [PATCH] p1020rdb-pd: platform support

2013-04-28 Thread Haijun . Zhang
From: Haijun.Zhang haijun.zh...@freescale.com Add platform support for p1020rdb-pd Signed-off-by: Jerry Huang chang-ming.hu...@freescale.com Signed-off-by: Haijun Zhang haijun.zh...@freescale.com CC: Sun Yusong-R58495 york...@freescale.com CC: u-boot@lists.denx.de ---

Re: [U-Boot] [PATCH] env: don't add an empty key to the env hashtable

2013-04-28 Thread Wolfgang Denk
Dear Lucian Cojocar, In message 517c5a5a.2010...@gmail.com you wrote: I had an error (typo) in my predefined environment. Basically I had this: #define CONFIG_EXTRA_ENV_SETTINGS \ key \0 =value \0 It would be nice if U-Boot told me that there was something wrong with my

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-28 Thread Stefano Babic
On 26/04/2013 18:01, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com commit 5c2f444c9 (mxs: Reset the EMI block on mx23) changed the DDR voltage level, which causes mx23evk to fail to load a kernel. Put back the original values, so that mx23evk can boot a kernel

Re: [U-Boot] [PATCH v4 01/10] imx: Homogenize and fix fuse register definitions

2013-04-28 Thread Stefano Babic
On 23/04/2013 22:17, Benoît Thébaudeau wrote: IIM: - Homogenize prg_p naming (the reference manuals are not always self-consistent for that). - Add missing SCSx and bank registers. - Fix the number of banks on i.MX53. OCOTP: - Rename iim to ocotp in order to avoid confusion. -

Re: [U-Boot] [PATCH v4 02/10] imx: Add useful fuse definitions

2013-04-28 Thread Stefano Babic
On 23/04/2013 22:17, Benoît Thébaudeau wrote: Define the UID (SoC unique ID) fuses, and the fuses available for the user. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic --

Re: [U-Boot] [PATCH v4 03/10] Add fuse API and commands

2013-04-28 Thread Stefano Babic
On 23/04/2013 22:17, Benoît Thébaudeau wrote: This can be useful for fuse-like hardware, OTP SoC options, etc. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic --

Re: [U-Boot] [PATCH v4 10/10] imx: Document fuse assignments for MAC addresses

2013-04-28 Thread Stefano Babic
On 23/04/2013 22:17, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD:

Re: [U-Boot] [PATCH v4 04/10] Add fsl_iim driver

2013-04-28 Thread Stefano Babic
On 23/04/2013 22:17, Benoît Thébaudeau wrote: Add a fsl_iim driver common to i.MX and MPC. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Changes in v4: - Remove the bit interface. - Fix the checkpatch warning about the usage of volatile. - Remove useless quotes in

Re: [U-Boot] [PATCH v4 06/10] mx51evk: Enable support for iim

2013-04-28 Thread Stefano Babic
On 23/04/2013 22:17, Benoît Thébaudeau wrote: This allows to test the iim driver in the mainline tree. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic --

Re: [U-Boot] [PATCH v4 05/10] mpc: iim: Switch to common fsl_iim

2013-04-28 Thread Stefano Babic
On 23/04/2013 22:17, Benoît Thébaudeau wrote: Make all mpc512x code point to the new common fsl_iim driver, and remove the former mpc512x-specific iim driver. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic --

Re: [U-Boot] [PATCH v4 07/10] Add mxc_ocotp driver

2013-04-28 Thread Stefano Babic
On 23/04/2013 22:17, Benoît Thébaudeau wrote: Add an mxc_ocotp driver for i.MX6. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX

Re: [U-Boot] [PATCH v4 08/10] mx6qsabrelite: Enable support for ocotp

2013-04-28 Thread Stefano Babic
On 23/04/2013 22:17, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD:

Re: [U-Boot] [PATCH v4 09/10] nitrogen6x: Enable support for ocotp

2013-04-28 Thread Stefano Babic
On 23/04/2013 22:17, Benoît Thébaudeau wrote: Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD:

Re: [U-Boot] [PATCH 1/2] tools: arm: imx: Implement BOOT_OFFSET command for imximage

2013-04-28 Thread Stefano Babic
On 25/04/2013 22:16, Marek Vasut wrote: Implement BOOT_OFFSET command for imximage. This command is parallel to current BOOT_FROM command, but allows more flexibility in configuring arbitrary image header offset. Also add an imximage.cfg with default offset values into arm/arch/imx-common/ so

Re: [U-Boot] [PATCH 1/4] imx: iomux-v3: Fix common pad control definitions

2013-04-28 Thread Stefano Babic
On 26/04/2013 13:34, Benoît Thébaudeau wrote: Commit dc88403 iomux-v3: Place pad control definitions into common file broke mx51_efikamx because it made i.MX6's pad control definitions conflict with i.MX51's. i.MX51's pad control definitions are actually common to some other i.MX

Re: [U-Boot] [PATCH 2/4] imx: iomux-v3: cosmetic: Reorganize definitions

2013-04-28 Thread Stefano Babic
On 26/04/2013 13:34, Benoît Thébaudeau wrote: Keep pad control definitions together, and organize definitions in a more legible way. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- arch/arm/include/asm/imx-common/iomux-v3.h | 33 1 file

Re: [U-Boot] [PATCH 3/4] imx: iomux-v3: Restore Linux's NEW_PAD_CTRL() macro

2013-04-28 Thread Stefano Babic
On 26/04/2013 13:34, Benoît Thébaudeau wrote: This macro will be useful for future changes. Signed-off-by: Benoît Thébaudeau benoit.thebaud...@advansee.com --- arch/arm/include/asm/imx-common/iomux-v3.h |3 +++ 1 file changed, 3 insertions(+) Applied to u-boot-imx, thanks. Best

Re: [U-Boot] [PATCH 4/4] imx: iomux-v3: Include PKE and PUE to pad control pull definitions

2013-04-28 Thread Stefano Babic
On 26/04/2013 13:34, Benoît Thébaudeau wrote: PUE requires PKE to mean something, as do pull values with PUE, so do not compell users to explicitly use PKE and PUE everywhere. This is also what is done on Linux and what has already been done for i.MX51. By the way, remove some unused pad

Re: [U-Boot] [PATCH 0/5] vybrid: Add vybrid CPU and vf600 tower board support

2013-04-28 Thread Wang Huan-B18965
On 12/04/2013 08:53, Alison Wang wrote: This series contains the support for vybrid CPU and vf600 tower board. The Vybrid devices are a family of Freescale's latest Dual Single Core offering with ARM Cortex A5 and CM4 based processors for Advanced Connected Radio, Entry Infotainment,

[U-Boot] [PATCH] ARM: cfi_flash: Avoid generation of unaligned accesses

2013-04-28 Thread Andrew Gabbasov
Packed structure cfi_qry contains unaligned 16- and 32-bits members, accessing which causes problems when cfi_flash driver is compiled with -munaligned-access option: flash initialization hangs, probably due to data error. Since fixing the code to use some other way of accessing those fields

Re: [U-Boot] [PATCH 2/5] vybrid: add Freescale vybrid vf600 tower board support

2013-04-28 Thread Wang Huan-B18965
On 12/04/2013 08:53, Alison Wang wrote: This patch adds Freescale vybrid vf600 tower board support. Signed-off-by: TsiChung Liew tsicl...@gmail.com Signed-off-by: Jason Jin jason@freescale.com Signed-off-by: Alison Wang b18...@freescale.com --- Hi Alison.

Re: [U-Boot] [PATCH 1/5] vybrid: add vybrid CPU support

2013-04-28 Thread Stefano Babic
On 28/04/2013 12:36, Wang Huan-B18965 wrote: I would like to understand there common code should be put. As you can see, for i.MX there is a imx_common directory that is valid across ARM-Core. [Alison Wang] I'm trying to align the soc with i.mx platform and will use i.MX's imx_common

Re: [U-Boot] [PATCH 3/5] vybrid: add uart driver support

2013-04-28 Thread Wang Huan-B18965
On 12/04/2013 08:53, Alison Wang wrote: This patch adds uart driver support for vybrid platform. Signed-off-by: TsiChung Liew tsicl...@gmail.com Signed-off-by: Jason Jin jason@freescale.com Signed-off-by: Alison Wang b18...@freescale.com --- Hi Alison diff --git

Re: [U-Boot] [PATCH 4/5] vybrid: add eSDHC driver support

2013-04-28 Thread Wang Huan-B18965
On 12/04/2013 08:53, Alison Wang wrote: This patch adds eSDHC driver support for vybrid platform. Signed-off-by: TsiChung Liew tsicl...@gmail.com Signed-off-by: Jason Jin jason@freescale.com Signed-off-by: Alison Wang b18...@freescale.com --- drivers/mmc/fsl_esdhc.c | 4 ++--

Re: [U-Boot] Displaying characters on the display in u-boot

2013-04-28 Thread Anatolij Gustschin
Hi, On Fri, 19 Apr 2013 21:29:33 +0530 Bhargav A K bhargav...@sasken.com wrote: Hi All, I have enabled the following configurations. in my board's config header #define CONFIG_VGA_AS_SINGLE_DEVICE #define CONFIG_VIDEO #define CONFIG_CFB_CONSOLE video_hw_init() returns a pointer to

[U-Boot] mx28evk spi boot

2013-04-28 Thread smithknown
I populated N25M256A spi norflash chip into freescale mx28evk board. include/configs/mx28evk.h /* SPI Flash */ #define CONFIG_SPI_FLASH #define CONFIG_SF_DEFAULT_BUS 2 #define CONFIG_SF_DEFAULT_CS0 /* this may vary and depends on the installed chip */ #define CONFIG_SPI_FLASH_STMICRO

[U-Boot] [PATCH] arm: mxs: Preprocess u-boot.bd so they contain full path

2013-04-28 Thread Marek Vasut
The u-boot-imx23.bd and u-boot-imx28.bd need to be preprocessed, otherwise they have issues with out-of-tree build where elftosb tool couldn't sometimes find the u-boot.bin and spl/u-boot-spl.bin . Preprocess these .bd files with sed and insert full path to u-boot.bin and spl/u-boot-spl.bin to

Re: [U-Boot] How to make DocBook

2013-04-28 Thread Marek Vasut
Dear tiger...@viatech.com.cn, Hi, experts: How to make doc/DocBook? I tried to execute make htmldocs, it tips: u-boot/doc/DocBook/fs.xml not found Bad, bad Simon broke it :b Easiest fix is to edit doc/DocBook/Makefile and remove fs.xml from DOCBOOKS= . Simon, can you commit the missing

Re: [U-Boot] [PATCH] ARM: cfi_flash: Avoid generation of unaligned accesses

2013-04-28 Thread Marek Vasut
Dear Andrew Gabbasov, Packed structure cfi_qry contains unaligned 16- and 32-bits members, accessing which causes problems when cfi_flash driver is compiled with -munaligned-access option: flash initialization hangs, probably due to data error. Since fixing the code to use some other way

[U-Boot] [PATCH 1/4] arm: mxs: Add LCDIF clock configuration function

2013-04-28 Thread Marek Vasut
This function turns on the LCDIF clock and configures it's frequency. The dividers settings are calculated within the function and the current implementation should be fast and accurate. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Otavio Salvador

[U-Boot] [PATCH 2/4] arm: mxs: Add LCDIF registers for i.MX233

2013-04-28 Thread Marek Vasut
Extend the regs-lcdif.h with registers for i.MX233. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Otavio Salvador ota...@ossystems.com.br Cc: Stefano Babic sba...@denx.de --- arch/arm/include/asm/arch-mxs/regs-lcdif.h | 36

[U-Boot] [PATCH 3/4] arm: mxs: Add MXS LCDIF driver

2013-04-28 Thread Marek Vasut
Add basic LCD driver for i.MX233 and i.MX28. This driver allows framebuffer console and framebuffer logo. Signed-off-by: Marek Vasut ma...@denx.de Cc: Anatolij Gustschin ag...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Otavio Salvador ota...@ossystems.com.br Cc: Stefano Babic

[U-Boot] [PATCH 4/4] arm: mxs: video: Enable MXS LCDIF on M28EVK

2013-04-28 Thread Marek Vasut
Enable LCD output support on M28EVK. Signed-off-by: Marek Vasut ma...@denx.de Cc: Anatolij Gustschin ag...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Otavio Salvador ota...@ossystems.com.br Cc: Stefano Babic sba...@denx.de --- include/configs/m28evk.h | 19 +++ 1

Re: [U-Boot] [PATCH] arm: mxs: Preprocess u-boot.bd so they contain full path

2013-04-28 Thread Otavio Salvador
On Sun, Apr 28, 2013 at 3:39 PM, Marek Vasut ma...@denx.de wrote: The u-boot-imx23.bd and u-boot-imx28.bd need to be preprocessed, otherwise they have issues with out-of-tree build where elftosb tool couldn't sometimes find the u-boot.bin and spl/u-boot-spl.bin . Preprocess these .bd files

[U-Boot] [PATCH v2] env: throw an error when an empty key is used

2013-04-28 Thread Lucian Cojocar
If the environment contains an entry like =value \0 we should throw an error when parsing the environment. Otherwise, U-Boot will enter in an infinite loop. Signed-off-by: Lucian Cojocar cojo...@gmail.com --- Changes for v2: - Throw an error instead of silently skip the empty key

Re: [U-Boot] [PATCH] arm: mxs: Preprocess u-boot.bd so they contain full path

2013-04-28 Thread Marek Vasut
Dear Otavio Salvador, On Sun, Apr 28, 2013 at 3:39 PM, Marek Vasut ma...@denx.de wrote: The u-boot-imx23.bd and u-boot-imx28.bd need to be preprocessed, otherwise they have issues with out-of-tree build where elftosb tool couldn't sometimes find the u-boot.bin and spl/u-boot-spl.bin .

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-28 Thread Marek Vasut
Dear Fabio Estevam, From: Fabio Estevam fabio.este...@freescale.com commit 5c2f444c9 (mxs: Reset the EMI block on mx23) changed the DDR voltage level, which causes mx23evk to fail to load a kernel. Put back the original values, so that mx23evk can boot a kernel again. Signed-off-by:

Re: [U-Boot] [PATCH] arm: mxs: Preprocess u-boot.bd so they contain full path

2013-04-28 Thread Otavio Salvador
On Sun, Apr 28, 2013 at 8:02 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, On Sun, Apr 28, 2013 at 3:39 PM, Marek Vasut ma...@denx.de wrote: The u-boot-imx23.bd and u-boot-imx28.bd need to be preprocessed, otherwise they have issues with out-of-tree build where elftosb tool

Re: [U-Boot] [PATCH] arm: mxs: Preprocess u-boot.bd so they contain full path

2013-04-28 Thread Marek Vasut
Dear Otavio Salvador, On Sun, Apr 28, 2013 at 8:02 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, On Sun, Apr 28, 2013 at 3:39 PM, Marek Vasut ma...@denx.de wrote: The u-boot-imx23.bd and u-boot-imx28.bd need to be preprocessed, otherwise they have issues with

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-28 Thread Marek Vasut
Dear Fabio Estevam, From: Fabio Estevam fabio.este...@freescale.com commit 5c2f444c9 (mxs: Reset the EMI block on mx23) changed the DDR voltage level, which causes mx23evk to fail to load a kernel. Put back the original values, so that mx23evk can boot a kernel again.

Re: [U-Boot] [PATCH] arm: mxs: Preprocess u-boot.bd so they contain full path

2013-04-28 Thread Otavio Salvador
On Sun, Apr 28, 2013 at 8:13 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, On Sun, Apr 28, 2013 at 8:02 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, On Sun, Apr 28, 2013 at 3:39 PM, Marek Vasut ma...@denx.de wrote: The u-boot-imx23.bd and u-boot-imx28.bd need

[U-Boot] [PATCH] arm: mx23: Fix VDDMEM misconfiguration

2013-04-28 Thread Marek Vasut
The VDDMEM ramped up in very weird way as it was horribly misconfigured. Instead of setting up VDDMEM in one swipe, let it rise slowly the same way as VDDD and VDDA in spl_power_init.c and then only clear ILIMIT before memory gets inited. This makes sure the VDDMEM rises sanely, not jumps up and

[U-Boot] [PATCH V2] arm: mxs: Preprocess u-boot.bd so they contain full path

2013-04-28 Thread Marek Vasut
The u-boot-imx23.bd and u-boot-imx28.bd need to be preprocessed, otherwise they have issues with out-of-tree build where elftosb tool couldn't sometimes find the u-boot.bin and spl/u-boot-spl.bin . Preprocess these .bd files with sed and insert full path to u-boot.bin and spl/u-boot-spl.bin to

Re: [U-Boot] [PATCH V2] arm: mxs: Preprocess u-boot.bd so they contain full path

2013-04-28 Thread Otavio Salvador
On Sun, Apr 28, 2013 at 9:18 PM, Marek Vasut ma...@denx.de wrote: The u-boot-imx23.bd and u-boot-imx28.bd need to be preprocessed, otherwise they have issues with out-of-tree build where elftosb tool couldn't sometimes find the u-boot.bin and spl/u-boot-spl.bin . Preprocess these .bd files

Re: [U-Boot] [PATCH] cmd_boot: cleanup for 'go' command

2013-04-28 Thread Kuo-Jung Su
2013/4/26 Wolfgang Denk w...@denx.de: Dear Kuo-Jung Su, In message 1366963312-2901-1-git-send-email-dant...@gmail.com you wrote: From: Kuo-Jung Su dant...@faraday-tech.com With MMU/D-Cache enabled, data might be retained at cache rather than at DRAM when we execute 'go' command, and some

[U-Boot] [PATCH v2] cmd_boot: cleanup for 'go' command

2013-04-28 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com With MMU/D-Cache enabled, data might be retained at d-cache rather than at DRAM when we execute 'go' command, and some of the bare-metal softwares would always invalidate the entire data cache at start-up, and then leads to a data lost issue.

Re: [U-Boot] [PATCH] arm: mx23: Fix VDDMEM misconfiguration

2013-04-28 Thread Marek Vasut
Dear Marek Vasut, The VDDMEM ramped up in very weird way as it was horribly misconfigured. Instead of setting up VDDMEM in one swipe, let it rise slowly the same way as VDDD and VDDA in spl_power_init.c and then only clear ILIMIT before memory gets inited. This makes sure the VDDMEM rises

Re: [U-Boot] [PATCH v3 08/11] usb: ehci: add Faraday USB 2.0 EHCI support

2013-04-28 Thread Kuo-Jung Su
2013/4/26 Marek Vasut ma...@denx.de: Dear Kuo-Jung Su, From: Kuo-Jung Su dant...@faraday-tech.com This patch add supports to both Faraday FUSBH200 and FOTG210, these controllers slightly differ from standard EHCI specification. How do they differ? 1. The reserved registers (0x1C - 0x3F)

Re: [U-Boot] [PATCH v3 09/11] usb: gadget: add Faraday FOTG210 USB gadget support

2013-04-28 Thread Kuo-Jung Su
2013/4/26 Marek Vasut ma...@denx.de: Dear Kuo-Jung Su, From: Kuo-Jung Su dant...@faraday-tech.com The Faraday FOTG210 is an OTG chip which could operate as either an EHCI Host or a USB Device as a time. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com CC: Marek Vasut ma...@denx.de

Re: [U-Boot] [PATCH v3 07/11] mtd: nand: add Faraday FTNANDC021 NAND controller support

2013-04-28 Thread Kuo-Jung Su
2013/4/27 Scott Wood scottw...@freescale.com: On 04/26/2013 03:02:36 AM, Kuo-Jung Su wrote: From: Kuo-Jung Su dant...@faraday-tech.com Faraday FTNANDC021 is a integrated NAND flash controller. It use a build-in command table to abstract the underlying NAND flash control logic. For

Re: [U-Boot] mx28evk spi boot

2013-04-28 Thread smithknown
Currently I am booting from MMC/SD. mx28 SPI2 and MMC/SD are using same port, can not be used together? Thanks, Smith -- View this message in context: http://u-boot.10912.n7.nabble.com/mx28evk-spi-boot-tp153575p153600.html Sent from the U-Boot mailing list archive at Nabble.com.

Re: [U-Boot] [PATCH v3 04/11] i2c: add Faraday FTI2C010 I2C controller support

2013-04-28 Thread Heiko Schocher
Hello Su, On 26.04.2013 10:02, Kuo-Jung Su wrote: From: Kuo-Jung Su dant...@faraday-tech.com Faraday FTI2C010 is a multi-function I2C controller which supports both master and slave mode. This patch simplily implements the master mode only. Signed-off-by: Kuo-Jung Su

Re: [U-Boot] [PATCH v2 14/15] i2c: zynq: Add support for Xilinx Zynq

2013-04-28 Thread Heiko Schocher
Hello Michal, AOn 23.04.2013 12:46, Michal Simek wrote: Support Xilinx Zynq i2c controller. Signed-off-by: Joe Hershberger joe.hershber...@ni.com Signed-off-by: Michal Simek michal.si...@xilinx.com CC: Heiko Schocher h...@denx.de --- Changes in v2: - Remove CONFIG_ prefix from non

[U-Boot] u-boot UBI support

2013-04-28 Thread Paul B. Henson
I'm trying to get u-boot to read from a ubifs volume on an mx28evk board, and failing :(. I've got the nand partitioned: MX28EVK U-Boot mtdparts device nand0 gpmi-nand, # parts = 3 #: namesizeoffset mask_flags 0: bootloader 0x0030

Re: [U-Boot] [PATCH v2] mmc: Split device init to decouple OCR-polling delay

2013-04-28 Thread Jaehoon Chung
Hi all Just replied to remind this patch. Best Regards, Jaehoon Chung On 04/04/2013 03:49 AM, Simon Glass wrote: Hi Andy, On Sat, Mar 16, 2013 at 1:35 PM, Simon Glass s...@chromium.org wrote: Hi Andy, On Tue, Feb 12, 2013 at 7:14 PM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi