[U-Boot] recommended action for bootloaders regarding modifying device-tree nodes

2014-01-30 Thread Tim Harvey
Greetings, I develop the boot-loader and kernel for a family of boards that have an on-board EEPROM which contains information as to what options are physically loaded on the board such as memory size/config, and peripheral IC's. We allow customers to create special builds of our standard

[U-Boot] [PATCH] dts: re-write dts/Makefile more simply with Kbuild

2014-01-30 Thread Masahiro Yamada
Useful rules in scripts/Makefile.lib allows us to easily generate a device tree blob and wrap it in assembly code. We do not need to parse a linker script to get output format and arch. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- This patch uses my Kbuild series as a

Re: [U-Boot] recommended action for bootloaders regarding modifying device-tree nodes

2014-01-30 Thread Michal Suchanek
Hello, On 30 January 2014 10:11, Tim Harvey thar...@gateworks.com wrote: Greetings, Is it more appropriate for the bootloader to 'remove' nodes for devices that are not physically present or should I be setting their status property to 'disabled' instead? I'm not clear if either option

Re: [U-Boot] [RFC PATCH 1/2] common: Add new clk command

2014-01-30 Thread Stefano Babic
Hi Michal, On 30/01/2014 08:38, Michal Simek wrote: On 01/23/2014 08:53 AM, Michal Simek wrote: On 01/22/2014 08:44 PM, Gerhard Sittig wrote: On Wed, Jan 22, 2014 at 12:02 +0100, Michal Simek wrote: --- /dev/null +++ b/common/cmd_clk.c @@ -0,0 +1,51 @@ +/* + * Copyright (C) 2013 Xilinx,

Re: [U-Boot] [PATCH] arm/da850 : [RFC] add bootdsp to cmd_elf

2014-01-30 Thread Paul Chavent
On 01/29/2014 11:37 PM, Tom Rini wrote: On Mon, Jan 27, 2014 at 05:28:22PM +0100, Paul Chavent wrote: On platform with a DSP co-processor, add a command to boot an elf on it. * Test * This patch has been tested on an OMAP-L138 EVM with DSP code generated with TI's code generation tools

Re: [U-Boot] [PATCH v2 3/9] kmp204x: I2C deblocking for I2C-bus1 added

2014-01-30 Thread Boschung, Rainer
On 01/30/2014 08:32 AM, Valentin Longchamp wrote: On 01/30/2014 03:30 AM, York Sun wrote: On 01/27/2014 02:49 AM, Valentin Longchamp wrote: From: Rainer Boschung rainer.bosch...@keymile.com -uses common deblocking algorithm from ../common/common.c I don't see any algorithm in the common.c

[U-Boot] [PATCH] net, phy: atheros ar803x bug

2014-01-30 Thread Heiko Schocher
commit 626ee1e3 phylib: update atheros ar803x phy leads in failing ethernet on the pxm2 board. Calling genphy_config() instead of ar8021_config(), which seems for ar8021 phys not ar803x phys, make it working again. Signed-off-by: Heiko Schocher h...@denx.de Cc: Shengzhou Liu

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

2014-01-30 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 albert.u.b...@aribaud.net --- Changes in v5: - Rebase onto u-boot-arm/master Changes in v4: None Changes in v3: - Replace _end in linker

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

2014-01-30 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 albert.u.b...@aribaud.net --- Changes in v5: None Changes in v4: - removed mkexynosspl patch, already fixed in 0fcac1ab Changes in v3:

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

2014-01-30 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

[U-Boot] [PATCH 2/2] powerpc/t1040qds: Add Video - HDMI support

2014-01-30 Thread Priyanka Jain
T1040 has internal display interface unit (DIU) for driving video. T1040QDS supports video mode via -LCD using TI enconder -HDMI type interface via HDMI encoder Chrontel, CH7301C encoder which is I2C programmable is used as HDMI connector on T1040QDS. This patch add support to -enable Video

[U-Boot] [PATCH 1/2] powerpc/mpc85xx: Add SCFG_PIXCLKCR register support for T1040

2014-01-30 Thread Priyanka Jain
T1040 SoC has SCFG (Supplement Configuration) Block which provides chip specific configuration and status support. The base address of SCFG block in T1040 is 0xfc000. SCFG contains SCFG_PIXCLKCR (DIU pixel clock control register) at offset 0x28. Add definition of -SCFG block -SCFG_PIXCLKCR

[U-Boot] Link

2014-01-30 Thread JYOTI DUBEY
Can someone provide me link to download uboot-production source code?? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Link

2014-01-30 Thread Christian Gmeiner
Hi 2014-01-30 JYOTI DUBEY jyoti0...@gmail.com: Can someone provide me link to download uboot-production source code?? The git web interface can be found here: http://git.denx.de/?p=u-boot.git;a=summary But it is as simple as this: git clone git://git.denx.de/u-boot.git greets -- Christian

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

2014-01-30 Thread Benoît Thébaudeau
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 targets. Signed-off-by: Albert ARIBAUD albert.u.b...@aribaud.net --- Changes in v5: -

Re: [U-Boot] Porting U-boot

2014-01-30 Thread Michal Suchanek
On 30 January 2014 06:58, JYOTI DUBEY jyoti0...@gmail.com wrote: After compiling the u-boot code what steps must be followed to boot the current system (system with Grub) with u-boot?I mean how can I port my system with the u-boot which I compiled? What system do you have? It depends on your

Re: [U-Boot] [PATCH v2 1/9] arc: add architecture header files

2014-01-30 Thread Alexey Brodkin
Hello Wolfgang, On Wed, 2014-01-29 at 20:54 +0100, Wolfgang Denk wrote: Dear Alexey Brodkin, In message 1391011745-22239-2-git-send-email-abrod...@synopsys.com you wrote: These are header files used by ARC700 architecture. ... +/* Build Configuration Registers */ +#define

Re: [U-Boot] [PATCH v2 7/9] arc: add AXS101 board support

2014-01-30 Thread Alexey Brodkin
Hello Wolfgang, On Wed, 2014-01-29 at 21:09 +0100, Wolfgang Denk wrote: Dear Alexey Brodkin, In message 1391011745-22239-8-git-send-email-abrod...@synopsys.com you wrote: AXS101 is a new generation of devlopment boards from Synopsys that houses ASIC with ARC700 and lots of DesignWare

[U-Boot] Commit 3865ceb7 breaks vexpress_aemv8a build with warnings

2014-01-30 Thread Albert ARIBAUD
Hello, I have just noticed that vexpress_aemv8a seems broken with v2014.01, using gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu9). The symptom is a lot of warnings like smc9_eeprom.c: In function 'dump_reg': /home/albert/src/u-boot-arm/include/../drivers/net/smc9.h:261:28: warning:

Re: [U-Boot] Commit 3865ceb7 breaks vexpress_aemv8a build with warnings

2014-01-30 Thread bhupesh.sha...@freescale.com
-Original Message- From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] Sent: Thursday, January 30, 2014 8:06 PM To: U-Boot Cc: Sharma Bhupesh-B45370; Tom Rini Subject: Commit 3865ceb7 breaks vexpress_aemv8a build with warnings Hello, I have just noticed that vexpress_aemv8a

Re: [U-Boot] [PATCH v2 2/9] arc: add cpu files

2014-01-30 Thread Alexey Brodkin
Hello Wolfgang, On Wed, 2014-01-29 at 21:06 +0100, Wolfgang Denk wrote: Dear Alexey Brodkin, In message 1391011745-22239-3-git-send-email-abrod...@synopsys.com you wrote: Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Mischa Jonker mjon...@synopsys.com Cc: Francois Bedard

Re: [U-Boot] [PATCH v4] mx6: Enable L2 cache support

2014-01-30 Thread Dirk Behme
Am 29.01.2014 20:39, schrieb Fabio Estevam: From: Fabio Estevam fabio.este...@freescale.com Add L2 cache support and enable it by default. Configure the L2 cache in the same way as done by FSL kernel:

Re: [U-Boot] [PATCH v4] mx6: Enable L2 cache support

2014-01-30 Thread Stefano Babic
Hi Fabio, On 29/01/2014 20:39, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Add L2 cache support and enable it by default. Configure the L2 cache in the same way as done by FSL kernel:

Re: [U-Boot] Commit 3865ceb7 breaks vexpress_aemv8a build with warnings

2014-01-30 Thread Albert ARIBAUD
Hi bhupesh.sha...@freescale.com, On Thu, 30 Jan 2014 14:44:49 +, bhupesh.sha...@freescale.com bhupesh.sha...@freescale.com wrote: -Original Message- From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] Sent: Thursday, January 30, 2014 8:06 PM To: U-Boot Cc: Sharma

Re: [U-Boot] [PATCH v2 3/9] kmp204x: I2C deblocking for I2C-bus1 added

2014-01-30 Thread York Sun
On 01/30/2014 01:17 AM, Boschung, Rainer wrote: On 01/30/2014 08:32 AM, Valentin Longchamp wrote: On 01/30/2014 03:30 AM, York Sun wrote: On 01/27/2014 02:49 AM, Valentin Longchamp wrote: From: Rainer Boschung rainer.bosch...@keymile.com -uses common deblocking algorithm from

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

2014-01-30 Thread Y fan
Hello, The memory of the MPC8572DS can't be read correctly after the setup of the tlb1_entry in the 4K boot code. And also in the create_init_ram code, the tlb1_entry1514 are set to be in the address space 0 which are supposed to be used in the address space 1. There seems somthing wrong with

[U-Boot] [PATCH] at91 gpio: fix typo in compatibility macro

2014-01-30 Thread Andreas Henriksson
It's called _pio_ in the version that was added to git. Apparently it got renamed without updating the macros before it was applied, c.f. http://u-boot.10912.n7.nabble.com/U-Boot-PATCH-3-9-V3-add-a-new-AT91-GPIO-driver-td75922.html Signed-off-by: Andreas Henriksson andreas.henriks...@endian.se

Re: [U-Boot] [PATCH] powerpc/usb: Workaround for erratum-A006261

2014-01-30 Thread Scott Wood
On Thu, 2014-01-30 at 10:42 +0530, Suresh Gupta wrote: +#ifdef CONFIG_SYS_FSL_ERRATUM_A006261 +static inline bool has_erratum_a006261(void) +{ + u32 svr = get_svr(); + u32 soc = SVR_SOC_VER(svr); + + switch (soc) { + case SVR_P1010: + return IS_SVR_REV(svr, 1,

[U-Boot] [PATCH v2 2/8] omap5_uevm: Add CONFIG_SUPPORT_EMMC_BOOT, document usage

2014-01-30 Thread Tom Rini
Add a README to the board which lists the commands required to enable booting from the eMMC boot partitions found on the board. Signed-off-by: Tom Rini tr...@ti.com --- board/ti/omap5_uevm/README | 25 + include/configs/omap5_uevm.h |1 + 2 files changed, 26

[U-Boot] [PATCH v2 5/8] cmd_mmc.c: Rename 'bootpart' to 'bootpart-resize'

2014-01-30 Thread Tom Rini
Rename 'bootpart' to 'bootpart-resize' to better reflect what this command is for. Signed-off-by: Tom Rini tr...@ti.com --- common/cmd_mmc.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c index e118252..a322063 100644 ---

[U-Boot] [PATCH v2 1/8] SPL: Add CONFIG_SUPPORT_EMMC_BOOT support to CONFIG_SPL_FRAMEWORK

2014-01-30 Thread Tom Rini
We use the switch CONFIG_SUPPORT_EMMC_BOOT today to enable some additional features of the eMMC boot partitions. Add support for being told that we have booted from one of these partitions to the spl framework and implement this on TI OMAP/related. Cc: Pantelis Antoniou

[U-Boot] [PATCH v2 8/8] cmd_mmc.c: Drop open/close mmc sub-commands

2014-01-30 Thread Tom Rini
The open and close mmc sub-commands implement a hard-coded set of values specific to the SMDK5250 platform. Remove these commands as what they did can be done instead with a series of mmc dev / bootpart / bootbus commands instead now. Cc: Amar amarendra...@samsung.com Cc: Minkyu Kang

[U-Boot] [PATCH v2 4/8] cmd_mmc.c: Change 'bootpart' code to match normal coding style

2014-01-30 Thread Tom Rini
Signed-off-by: Tom Rini tr...@ti.com --- common/cmd_mmc.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/common/cmd_mmc.c b/common/cmd_mmc.c index da5fef9..e118252 100644 --- a/common/cmd_mmc.c +++ b/common/cmd_mmc.c @@ -314,11 +314,18 @@ static int

[U-Boot] [PATCH v2 6/8] cmd_mmc.c: Add 'partconf' command to mmc

2014-01-30 Thread Tom Rini
Add a partconf sub-command to the mmc command to allow for setting the boot_ack, boot_partition and partition_access fields of PARTITION_CONFIG (formerly BOOT_CONFIG, EXT_CSD[179]). Part of this requires changing the check for 'part' from an strncmp to a strcmp, like the rest of the sub-commands.

[U-Boot] [PATCH v2 3/8] dra7xx_evm: Add CONFIG_SUPPORT_EMMC_BOOT, document usage

2014-01-30 Thread Tom Rini
Add a README to the board which lists the commands required to enable booting from the eMMC boot partitions found on the board. Cc: Lokesh Vutla lokeshvu...@ti.com Signed-off-by: Tom Rini tr...@ti.com --- board/ti/dra7xx/README | 25 + include/configs/dra7xx_evm.h

[U-Boot] [PATCH v2 7/8] cmd_mmc.c: Add bootbus mmc sub-command

2014-01-30 Thread Tom Rini
Add a bootbus sub-command to the mmc command to allow for setting the boot_bus_width, reset_boot_bus_width and boot_mode fields of BOOT_BUS_WIDTH (EXT_CSD[177]). Signed-off-by: Tom Rini tr...@ti.com --- common/cmd_mmc.c | 29 + drivers/mmc/mmc.c | 21

Re: [U-Boot] [PATCH v8 0/38] Switch over to real Kbuild

2014-01-30 Thread Andreas Bießmann
Dear Masahiro Yamada, On 29.01.14 13:25, Masahiro Yamada wrote: snip How to Build ? -- We can build the same as before. Do board configuraton first and then run make. $ make omap4_panda_config Configuring for omap4_panda board... $ make

Re: [U-Boot] recommended action for bootloaders regarding modifying device-tree nodes

2014-01-30 Thread Jason Cooper
Hi Tim, On Thu, Jan 30, 2014 at 01:11:18AM -0800, Tim Harvey wrote: My approach has been to define a per-baseboard device-tree in Linux for a 'fully loaded' board, then remove nodes which the EEPROM claims are not present in the bootloader before it passes the DTB to the kernel. I do this by

Re: [U-Boot] [PATCH 2/6] arch: bcm281xx: Initial commit of bcm281xx architecture code

2014-01-30 Thread Darwin Rambo
On 14-01-29 02:32 PM, Tom Rini wrote: On Mon, Jan 27, 2014 at 10:53:26AM -0800, Darwin Rambo wrote: Add bcm281xx architecture support code including a clock framework and chip reset. Define register block base addresses for the bcm281xx architecture and create an empty gpio header file

Re: [U-Boot] recommended action for bootloaders regarding modifying device-tree nodes

2014-01-30 Thread Jason Gunthorpe
On Thu, Jan 30, 2014 at 03:45:58PM -0500, Jason Cooper wrote: This is more of a process question: Is there any information captured in your EEPROM that can't be represented in the dtb? iow, at the point when you write the EEPROM, why not write the dtb to it as configured? I can share what

Re: [U-Boot] [PATCH 6/6] board: bcm28155_ap: Add board files

2014-01-30 Thread Darwin Rambo
On 14-01-29 02:33 PM, Tom Rini wrote: On Mon, Jan 27, 2014 at 10:53:30AM -0800, Darwin Rambo wrote: Add support for the bcm28155_ap reference board. Signed-off-by: Darwin Rambo dra...@broadcom.com Reviewed-by: Steve Rae s...@broadcom.com Reviewed-by: Tim Kryger tkry...@linaro.org [snip]

Re: [U-Boot] [PATCH 1/6] arch: kona: Initial commit of kona-common architecture code

2014-01-30 Thread Darwin Rambo
On 14-01-29 02:32 PM, Tom Rini wrote: On Mon, Jan 27, 2014 at 10:53:25AM -0800, Darwin Rambo wrote: The Kona architecture is present on a number of Broadcom mobile SoCs including the bcm281xx family of chips. [snip] +int __weak clk_sdio_enable(void *base, u32 rate, u32 *actual_ratep) +{

Re: [U-Boot] [PATCH v2 1/9] arc: add architecture header files

2014-01-30 Thread Wolfgang Denk
Dear Alexey, In message 1391088780.3518.33.ca...@abrodkin-8560l.internal.synopsys.com you wrote: As it is clearly mentioned in commit message arcregs.h came from Linux sources and that's why kept as it was. You may refer to it here -

[U-Boot] [PATCH] mmc: set rca to 1 for MMC cards

2014-01-30 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com U-Boot currently sets MMC cards' RCA register to 0. This value is reserved according to the specification. Use a value of 1 instead, just like the Linux kernel. Signed-off-by: Stephen Warren swar...@nvidia.com --- drivers/mmc/mmc.c | 2 +- 1 file changed,

Re: [U-Boot] [PATCH 0/6] Introducing the Broadcom bcm281xx Architecture

2014-01-30 Thread Darwin Rambo
On 14-01-29 02:32 PM, Tom Rini wrote: On Mon, Jan 27, 2014 at 10:53:24AM -0800, Darwin Rambo wrote: This patchset introduces the Broadcom bcm281xx family of mobile SoC chips. Broadcom kona hardware blocks are often found in Broadcom mobile SoC chips including the bcm281xx family, so

Re: [U-Boot] [PATCH v2 7/9] arc: add AXS101 board support

2014-01-30 Thread Wolfgang Denk
Dear Alexey, In message 1391088984.3518.35.ca...@abrodkin-8560l.internal.synopsys.com you wrote: +#define CONFIG_HOSTNAME axs101 +#define CONFIG_ETHADDR 4a:56:49:22:3e:43 +#define CONFIG_IPADDR 10.121.8.200 +#define

Re: [U-Boot] [PATCH v8 0/38] Switch over to real Kbuild

2014-01-30 Thread Masahiro Yamada
Hello Andreas, Thanks for your test. I saw a few times full compiler output instead of the shortened 'CC ...'. Especially generating the linker script, reformatting binaries with objcopy and doing the final linkage of u-boot ELF. Maybe you want to sort that out? Yes, I will do this in a

Re: [U-Boot] recommended action for bootloaders regarding modifying device-tree nodes

2014-01-30 Thread Tim Harvey
On Thu, Jan 30, 2014 at 12:45 PM, Jason Cooper ja...@lakedaemon.net wrote: Hi Tim, On Thu, Jan 30, 2014 at 01:11:18AM -0800, Tim Harvey wrote: My approach has been to define a per-baseboard device-tree in Linux for a 'fully loaded' board, then remove nodes which the EEPROM claims are not

Re: [U-Boot] recommended action for bootloaders regarding modifying device-tree nodes

2014-01-30 Thread Tim Harvey
On Thu, Jan 30, 2014 at 1:15 PM, Jason Gunthorpe jguntho...@obsidianresearch.com wrote: On Thu, Jan 30, 2014 at 03:45:58PM -0500, Jason Cooper wrote: This is more of a process question: Is there any information captured in your EEPROM that can't be represented in the dtb? iow, at the

Re: [U-Boot] [PATCH] pci: mx6: Implement reset callback

2014-01-30 Thread Tim Harvey
On Fri, Jan 24, 2014 at 7:25 AM, Marek Vasut ma...@denx.de wrote: Add a callback so that a board can implement it's own specific routine to toggle the port's nRESET line. Signed-off-by: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de --- drivers/pci/pcie_imx.c | 12 +---