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

2014-02-14 Thread Albert ARIBAUD
Hi Rajeshwari, On Fri, 14 Feb 2014 12:58:58 +0530, Rajeshwari Birje rajeshwari.bi...@gmail.com wrote: Hi All, For exynos5250 board we use CONFIG_SKIP_LOWLEVEL_INIT, hence change in board/samsung/smdk5250/lowlevel_init.S should not effect. Infact I feel that file can be removed. If so then

[U-Boot] [PATCH] Exynos5250: Remove lowlevelinit

2014-02-14 Thread Rajeshwari Shinde
From: Rajeshwari S Shinde rajeshwar...@samsung.com Since we use CONFIG_SKIP_LOWLEVEL_INIT for Exynos baords, we dont need to a lowlevel_init.S file. Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com --- board/samsung/smdk5250/lowlevel_init.S | 82 -- 1

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

2014-02-14 Thread Rajeshwari Birje
Hi Albert, On Fri, Feb 14, 2014 at 1:38 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Rajeshwari, On Fri, 14 Feb 2014 12:58:58 +0530, Rajeshwari Birje rajeshwari.bi...@gmail.com wrote: Hi All, For exynos5250 board we use CONFIG_SKIP_LOWLEVEL_INIT, hence change in

[U-Boot] [PATCH] arm: omap3: Fix tao3530/omap3_ha SPL boot hangup (GPIO clocks not enabled)

2014-02-14 Thread Stefan Roese
Patch f33b9bd3 [arm: omap3: Enable clocks for peripherals only if they are used] breaks SPL booting on tao3530. Since some gpio input's are read to detect the board revision. But with this patch above, the clocks to the GPIO subsystems are not enabled per default any more. The GPIO banks need to

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

2014-02-14 Thread Przemyslaw Marczak
Hello Piotr, On 02/13/2014 03:10 PM, Piotr Wilczek wrote: This patch enables to run Universal board on device tree. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Przemyslaw Marczak p.marc...@samsung.com Cc: Minkyu Kang

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

2014-02-14 Thread Marek Vasut
On Friday, February 14, 2014 at 05:16:58 AM, Stephen Warren wrote: 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

Re: [U-Boot] [PATCH] Exynos5250: Remove lowlevelinit

2014-02-14 Thread Albert ARIBAUD
Hi Rajeshwari, On Fri, 14 Feb 2014 13:52:48 +0530, Rajeshwari Shinde rajeshwar...@samsung.com wrote: From: Rajeshwari S Shinde rajeshwar...@samsung.com Since we use CONFIG_SKIP_LOWLEVEL_INIT for Exynos baords, we dont need to a lowlevel_init.S file. Signed-off-by: Rajeshwari S Shinde

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

2014-02-14 Thread Piotr Wilczek
Hi Rajeshwari, -Original Message- From: Rajeshwari Birje [mailto:rajeshwari.bi...@gmail.com] Sent: Friday, February 14, 2014 6:32 AM To: Piotr Wilczek Cc: u-boot@lists.denx.de; Jaehoon Chung; Kyungmin Park; Rajeshwari S Shinde Subject: Re: [U-Boot] [PATCH V2 05/12]

[U-Boot] net: tsec: Pending patches

2014-02-14 Thread Claudiu Manoil
Hello, Would you please consider applying these two net tree patches? http://patchwork.ozlabs.org/patch/299620/ (net: Merge asm/fsl_enet.h into fsl_mdio.h) http://patchwork.ozlabs.org/patch/299447/ (net: tsec: Fix NULL access in case init_phy() fails) Thanks, Claudiu

Re: [U-Boot] T1040 booting from NOR Flash

2014-02-14 Thread Franck Jullien
2014-02-13 1:56 GMT+01:00 Rommel G Custodio sessyargc+u-b...@gmail.com: Dear Franck Jullien, Franck Jullien franck.jullien at gmail.com writes: Hi, I'd like to know if I have understood it correctly. When first time booting from NOR, the RCW and PBI must be written using the JTAG. The

[U-Boot] U-Boot XML support

2014-02-14 Thread Hannes Petermaier
Hi folks, In future i have the need to fetch some settings (display timings, mac-addresses) from an XML file stored in some flash. This is necessary for having only one configuration space for the bootloader and the OS. The OS is VxWorks which uses this information too. So my question, is there

Re: [U-Boot] U-Boot XML support

2014-02-14 Thread Albert ARIBAUD
Hi Hannes, On Fri, 14 Feb 2014 10:25:00 - (UTC), Hannes Petermaier han...@petermaier.org wrote: Hi folks, In future i have the need to fetch some settings (display timings, mac-addresses) from an XML file stored in some flash. This is necessary for having only one configuration space

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

2014-02-14 Thread Jim Lin
On Fri, 2014-02-14 at 03:21 +0800, Stefan Agner wrote: 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

Re: [U-Boot] [PATCH] arm: omap3: Fix tao3530/omap3_ha SPL boot hangup (GPIO clocks not enabled)

2014-02-14 Thread Stefano Babic
Hi Stefan, On 14/02/2014 09:47, Stefan Roese wrote: Patch f33b9bd3 [arm: omap3: Enable clocks for peripherals only if they are used] breaks SPL booting on tao3530. Since some gpio input's are read to detect the board revision. But with this patch above, the clocks to the GPIO subsystems are

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

2014-02-14 Thread Rajeshwari Birje
Hi Piotr, On Fri, Feb 14, 2014 at 3:18 PM, Piotr Wilczek p.wilc...@samsung.com wrote: Hi Rajeshwari, -Original Message- From: Rajeshwari Birje [mailto:rajeshwari.bi...@gmail.com] Sent: Friday, February 14, 2014 6:32 AM To: Piotr Wilczek Cc: u-boot@lists.denx.de; Jaehoon Chung;

[U-Boot] [PATCH v1 3/3] OMAP3: fix default environment for mcx board

2014-02-14 Thread Stefano Babic
Patch allows to load a script at the startup from MMC. Signed-off-by: Stefano Babic sba...@denx.de --- include/configs/mcx.h |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/configs/mcx.h b/include/configs/mcx.h index 209c2bb..7c5c2f4 100644 ---

[U-Boot] [PATCH v1 2/3] omap3: fix pinmux for mcx board

2014-02-14 Thread Stefano Babic
New hardware version cannot recognize the SD-Card because the SYS_NRESWARM, set as GPIO, does not guarantee the required reset time. Change the pin function back to enable the SYS_NRESWARM signal driven by the SOC. Signed-off-by: Stefano Babic sba...@denx.de --- board/htkw/mcx/mcx.h |2 --

[U-Boot] [PATCH v1 1/3] OMAP3: add missing gpio clock init and fix NAND SPL for mcx board

2014-02-14 Thread Stefano Babic
Patch contains the same fixes as commit 4b9b2c300a23ca4a85811918dc92e822a9571a87 (missing CONFIG_OMAP3_GPIO_2) and commit f9095aac793aa8917ab9b915c5d449e6dc8d3d30 (missing CONFIG_SPL_NAND_SOFTECC). Same issues are relevant for the mcx board, too. Signed-off-by: Stefano Babic sba...@denx.de ---

Re: [U-Boot] [PATCH] Exynos5250: Remove lowlevelinit

2014-02-14 Thread Rajeshwari Birje
Hi Albert, On Fri, Feb 14, 2014 at 3:11 PM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Rajeshwari, On Fri, 14 Feb 2014 13:52:48 +0530, Rajeshwari Shinde rajeshwar...@samsung.com wrote: From: Rajeshwari S Shinde rajeshwar...@samsung.com Since we use CONFIG_SKIP_LOWLEVEL_INIT for

[U-Boot] [PATCH 5/9] fdt_support: refactor fdt_fixup_stdout() function

2014-02-14 Thread Masahiro Yamada
- Do not use a deep indentation. We have only 80-character on each line and 1 indentation consumes 8 spaces. Before the code moves far to the right, you should consider to fix your code. See Linux Documentation/CodingStyle. - Add CONFIG_OF_STDOUT_VIA_ALIAS and OF_STDOUT_PATH macros

[U-Boot] [PATCH 6/9] fdt_support: add 'const' qualifier for unchanged argument.

2014-02-14 Thread Masahiro Yamada
In the next commit, I will add a new function, fdt_pack_reg() which uses get_cells_len(). Beforehand, this commit adds 'const' qualifier to get_cells_len(). Otherwise, a warning message will appear: warning: passing argument 1 of 'get_cells_len' discards 'const' qualifier from pointer target

[U-Boot] [PATCH 7/9] fdt_support: fix an endian bug of fdt_fixup_memory_banks

2014-02-14 Thread Masahiro Yamada
Data written to DTB must be converted to big endian order. It is usually done by using cpu_to_fdt32(), cpu_to_fdt64(), etc. fdt_fixup_memory_banks() invoked write_cell(), which always swaps byte order. It means the function only worked on little endian architectures. This commit adds and uses a

[U-Boot] [PATCH 2/9] fdt_support: refactor with fdt_find_or_add_subnode helper func

2014-02-14 Thread Masahiro Yamada
Some functions in fdt_support.c do the same routine: search a node with a given name (chosen, memory, etc.) or newly create it if it does not exist. So this commit makes that routine to a helper function. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- common/fdt_support.c | 71

[U-Boot] [PATCH 3/9] fdt_support: delete force argument of fdt_initrd()

2014-02-14 Thread Masahiro Yamada
After all, we have realized force argument is completely useless. fdt_initrd() was always called with force = 1. We should always want to do the same thing (set appropriate value to the property) even if the property already exists. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com ---

[U-Boot] [PATCH 9/9] fdt_support: correct the return condition of fdt_initrd()

2014-02-14 Thread Masahiro Yamada
Before this commit, fdt_initrd() just returned if initrd start address is zero. But it is possible if the RAM is located at address 0. This commit makes the return condition more reasonable: Just return if the size of initrd is zero. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com ---

[U-Boot] [PATCH 0/9] Refactoring and Endian bug fixes of fdt_support

2014-02-14 Thread Masahiro Yamada
Masahiro Yamada (9): fdt_support: delete unnecessary DECLARE_GLOBAL_DATA_PTR fdt_support: refactor with fdt_find_or_add_subnode helper func fdt_support: delete force argument of fdt_initrd() fdt_support: delete force argument of fdt_chosen() fdt_support: refactor fdt_fixup_stdout()

[U-Boot] [PATCH 8/9] fdt_support: fix an endian bug of fdt_initrd()

2014-02-14 Thread Masahiro Yamada
Data written to DTB must be converted to big endian order. It is usually done by using cpu_to_fdt32(), cpu_to_fdt64(), etc. fdt_initrd() invoked write_cell(), which always swaps byte order. It means the function only worked on little endian architectures. (On big endian architectures, the byte

[U-Boot] [PATCH 4/9] fdt_support: delete force argument of fdt_chosen()

2014-02-14 Thread Masahiro Yamada
After all, we have realized force argument is completely useless. fdt_chosen() was always called with force = 1. We should always want to do the same thing (set appropriate value to the property) even if the property already exists. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com ---

[U-Boot] [PATCH 1/9] fdt_support: delete unnecessary DECLARE_GLOBAL_DATA_PTR

2014-02-14 Thread Masahiro Yamada
gd-bd is not used in fdt_support.c. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- common/fdt_support.c | 5 - 1 file changed, 5 deletions(-) diff --git a/common/fdt_support.c b/common/fdt_support.c index f9f358e..2464847 100644 --- a/common/fdt_support.c +++

[U-Boot] [PATCH] Fix build of sx151x gpio driver

2014-02-14 Thread Viktar Palstsiuk
Signed-off-by: Viktar Palstsiuk viktar.palsts...@promwad.com --- drivers/gpio/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile index b903c45..1d365dd 100644 --- a/drivers/gpio/Makefile +++ b/drivers/gpio/Makefile @@ -30,4

[U-Boot] [RFC] try to merge different i.MX environment

2014-02-14 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de CC: Fabio Estevam fabio.este...@freescale.com CC: Otavio Salvador ota...@ossystems.com.br CC: Marek Vasut ma...@denx.de CC: Leo Sartre lsar...@adeneo-embedded.com CC: Jon Nettleton jon.nettle...@gmail.com CC: Eric Nelson eric.nel...@boundarydevices.com

Re: [U-Boot] [RFC] try to merge different i.MX environment

2014-02-14 Thread Otavio Salvador
Hello Stefano, before anything I'd like to thank you for this as it does need to be improved and it needs to be shared to avoid same fix to be done everywhere. On Fri, Feb 14, 2014 at 1:06 PM, Stefano Babic sba...@denx.de wrote: Signed-off-by: Stefano Babic sba...@denx.de CC: Fabio Estevam

Re: [U-Boot] [RFC] try to merge different i.MX environment

2014-02-14 Thread Dennis Gilmore
On Fri, 14 Feb 2014 16:06:55 +0100 Stefano Babic sba...@denx.de wrote: Signed-off-by: Stefano Babic sba...@denx.de CC: Fabio Estevam fabio.este...@freescale.com CC: Otavio Salvador ota...@ossystems.com.br CC: Marek Vasut ma...@denx.de CC: Leo Sartre lsar...@adeneo-embedded.com CC: Jon

Re: [U-Boot] [PATCH v2 2/8] fdt: add fdt checksign command

2014-02-14 Thread Simon Glass
On 8 February 2014 22:34, Heiko Schocher h...@denx.de wrote: check if a fdt is correct signed pass an optional addr value. Contains the addr of the key blob Signed-off-by: Heiko Schocher h...@denx.de Cc: Simon Glass s...@chromium.org Acked-by: Simon Glass s...@chromium.org

Re: [U-Boot] [PATCH] Exynos5250: Remove lowlevelinit

2014-02-14 Thread Simon Glass
On 14 February 2014 01:22, Rajeshwari Shinde rajeshwar...@samsung.com wrote: From: Rajeshwari S Shinde rajeshwar...@samsung.com Since we use CONFIG_SKIP_LOWLEVEL_INIT for Exynos baords, we dont need to a lowlevel_init.S file. Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com

[U-Boot] [PATCH] MIPS: keep all sections in u-boot ELF binary.

2014-02-14 Thread Daniel Schwierzeck
The current MIPS linker script discards all unneeded sections in the link stage. For diagnostic tools like readelf it is better to keep all sections in the ELF binary and only remove them when creating the final binary. Move all unneeded sections after _end to avoid allocating space in the final

Re: [U-Boot] [RFC] try to merge different i.MX environment

2014-02-14 Thread Wolfgang Denk
Dear Stefano Babic, In message 1392390415-25620-1-git-send-email-sba...@denx.de you wrote: +#define CONFIG_PREFIX_IMAGE z +#define CONFIG_MMCROOT /dev/mmcblk0p1 +#define CONFIG_CONSOLE_DEV ttymxc1 + +#define CONFIG_BOARD_EXTRA_ENV_SETTINGS \ Please keep in mind that all new CONFIG_

[U-Boot] [PATCH v2 3/3] mtd: nand: omap: fix ecclayout to be in sync with u-boot NAND driver

2014-02-14 Thread Pekon Gupta
Fixes: commit a919e51161b58ed7e6e663daba99ab7d558808f3 mtd: nand: omap2: clean-up BCHx_HW and BCHx_SW ECC configurations in device_probe Fixes ecclayout mismatch introduced in above commit for following ecc-schemes: - OMAP_ECC_BCH4_CODE_HW_DETECTION_SW -

[U-Boot] [PATCH v2 2/3] mtd: nand: omap: fix ecclayout-oobfree-length

2014-02-14 Thread Pekon Gupta
ECC layout of some ecc-schemes expect a 'reserve-marker' as specific byte-position in OOB. But current calculation of oobfree-length does not consider that for all ecc-schemes. But in general, for all ecc-schems, OOB bytes from oobfree-offset till end of OOB region are unused. So this patch fixes

[U-Boot] [PATCH v2 0/3] mtd: nand: omap: fix ecc-layout

2014-02-14 Thread Pekon Gupta
*changes v1 - v2* [PATCH 1/3] fix oobfree-offset calculation + adjust for reserved-marker of last sector [PATCH 2/3] new patch [PATCH 3/3] refactor code as suggested by Brian Norris computersforpe...@gmail.com *original v1* [PATCH 1/2]

[U-Boot] [PATCH v2 1/3] mtd: nand: omap: fix ecclayout-oobfree-offset

2014-02-14 Thread Pekon Gupta
1) In current implementation, ecclayout-oobfree-offset is calculated with respect to ecclayout-eccpos[0] which is incorrect because ECC bytes may not be stored contiguously in OOB. So, this patch calculates ecclayout-oobfree-offset with respect to last ECC byte-position

Re: [U-Boot] [PATCH] pxe: prepend fdtdir to DTB name irrespective of source

2014-02-14 Thread Dennis Gilmore
On Wed, 12 Feb 2014 14:30:04 -0700 Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com The directory name from an fdtdir directive in a PXE config file should always be pre-pended to the DTB filename; it shouldn't matter whether the DTB filename came from the

Re: [U-Boot] [PATCH v2 1/3] mtd: nand: omap: fix ecclayout-oobfree-offset

2014-02-14 Thread Brian Norris
Hi Pekon, On Fri, Feb 14, 2014 at 10:31:46PM +0530, Pekon Gupta wrote: 1) In current implementation, ecclayout-oobfree-offset is calculated with respect to ecclayout-eccpos[0] which is incorrect because ECC bytes may not be stored contiguously in OOB. So, this patch calculates

Re: [U-Boot] [U-Boot, 2/3] mpc85xx: Add deep sleep framework support

2014-02-14 Thread Scott Wood
On Thu, 2014-02-13 at 01:05 -0600, Tang Yuantian-B29983 wrote: Thanks for your review. Please see the reply inline. Thanks, Yuantian -Original Message- From: Wood Scott-B07421 Sent: 2014年2月13日 星期四 8:44 To: Tang Yuantian-B29983 Cc: Sun York-R58495; Wood Scott-B07421; Li

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

2014-02-14 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

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

2014-02-14 Thread Stefan Agner
Am 2014-02-14 23:45, schrieb Stefan Agner: /* Select ULPI parallel interface */ - clrsetbits_le32(usbctlr-port_sc1, PTS_MASK, PTS_ULPI PTS_SHIFT); + if (!controller-has_hostpc) { + clrsetbits_le32(usbctlr-port_sc1, PTS_MASK, + PTS_ULPI

Re: [U-Boot] [U-Boot, 2/3] mpc85xx: Add deep sleep framework support

2014-02-14 Thread Scott Wood
On Thu, 2014-02-13 at 02:12 -0600, Tang Yuantian-B29983 wrote: Use an I/O accessor. In_be64?? No such function. Why do you need in_be64() rather than two in_be32()s? -Scott ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] SATA Port Multiplier and AHCI Support

2014-02-14 Thread Aaron Williams
Hi all, I am wondering if anyone has tried to deal with SATA port multipliers inside U-Boot? I am in the process of merging a lot of libata and port multiplier support from the Linux kernel back into U-Boot since one of our chips is targeted at NAS devices and our boards use SATA port

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

2014-02-14 Thread Jim Lin
寄件者: Stefan Agner [ste...@agner.ch] 寄件日期: 2014年2月15日 上午 06:52 收件者: u-boot@lists.denx.de; Jim Lin; Tom Warren; swar...@wwwdotorg.org; s...@chromium.org; d...@lynxeye.de 主旨: Re: [PATCH v2] usb: tegra: Fix PHY configuration for Tegra 3 Am 2014-02-14 23:45,

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

2014-02-14 Thread Stephen Warren
On 02/14/2014 09:47 PM, Jim Lin wrote: 寄件者: Stefan Agner [ste...@agner.ch] 寄件日期: 2014年2月15日 上午 06:52 收件者: u-boot@lists.denx.de; Jim Lin; Tom Warren; swar...@wwwdotorg.org; s...@chromium.org; d...@lynxeye.de 主旨: Re: [PATCH v2] usb: tegra: Fix PHY