[U-Boot] [PATCH] sunxi: Ampe A76 support

2015-02-02 Thread Paul Kocialkowski
Signed-off-by: Paul Kocialkowski cont...@paulk.fr --- board/sunxi/MAINTAINERS| 5 + configs/Ampe_A76_defconfig | 15 +++ 2 files changed, 20 insertions(+) create mode 100644 configs/Ampe_A76_defconfig diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS index

[U-Boot] 0001-Adding-Support-for-BAV335x-boards.patch

2015-02-02 Thread Gilles
Folks, I just added support for the BAV335x OEM board http://birdland.com/oem/bav335x-network-processor/ I ran the patman tool to generate this patch which appears to throw a few (erroneous) warnings about lines over 80 but, there are no lines over 80... not sure what the problem is there.

Re: [U-Boot] 0001-Adding-Support-for-BAV335x-boards.patch

2015-02-02 Thread Wolfgang Denk
Dear Gilles, In message 3037d005-fdee-4fcb-ad36-1977e2e4b...@gigadevices.com you wrote: I ran the patman tool to generate this patch which appears to throw a few (erroneous) warnings about lines over 80 but, there are no lines over 80... not sure what the problem is there. Also threw a few

Re: [U-Boot] [ANN] U-Boot v2015.04-rc1 released

2015-02-02 Thread Wolfgang Denk
Dear Tom, In message 20150202190012.GQ10826@bill-the-cat you wrote: I've pushed v2015.04-rc1 out to the repository and tarballs should exist soon. Tarball is out. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich,

Re: [U-Boot] [PATCH v4 5/6] Exynos5: Use clock_get_periph_rate generic API

2015-02-02 Thread Simon Glass
On 2 February 2015 at 05:19, Akshay Saraswat aksha...@samsung.com wrote: Replacing SoC and peripheral specific function calls with generic clock_get_periph_rate calls to get the peripheral clocks. Also, removing dead code of peripheral and SoC specific function implementations which was used

Re: [U-Boot] [PATCH] gpio: omap: Pass correct argument to _get_gpio_direction()

2015-02-02 Thread Simon Glass
HI Axel, On 31 January 2015 at 07:23, Axel Lin axel@ingics.com wrote: Pass bank rather than bank-base to _get_gpio_direction(). Signed-off-by: Axel Lin axel@ingics.com --- drivers/gpio/omap_gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] [ANN] U-Boot v2015.04-rc1 released

2015-02-02 Thread Sinan Akman
Hi Tom On 02/02/2015 02:00 PM, Tom Rini wrote: Hey all, I've pushed v2015.04-rc1 out to the repository and tarballs should exist soon. I had this short patch sent out some time ago :

Re: [U-Boot] [PATCH RFT v2] gpio: at91: Fix getting address of private data

2015-02-02 Thread Simon Glass
On 30 January 2015 at 23:47, Axel Lin axel@ingics.com wrote: Use dev_get_priv() rather than dev_get_platdata() to get correct address of private data. Signed-off-by: Axel Lin axel@ingics.com --- v2: Fix an obvious typo in subject line (s/addres/address). drivers/gpio/at91_gpio.c |

Re: [U-Boot] [PATCH 2/2] x86: Use tab instead of space to indent in PCIE_ECAM_BASE

2015-02-02 Thread Simon Glass
On 2 February 2015 at 06:29, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Mon, Feb 2, 2015 at 9:25 PM, Bin Meng bmeng...@gmail.com wrote: Space is used before 'default' in PCIE_ECAM_BASE in arch/x86/Kconfig so it looks misaligned. Replace the space with tab to indent. Signed-off-by: Bin

[U-Boot] [RFC PATCH v2 0/8] Add Driver Model support to network stack

2015-02-02 Thread Joe Hershberger
For now this simply addresses the MAC part of the network hardware. The next part to implement is the PHY children. I wanted to get early feedback on what I have so far to make sure I'm going in the direction that Simon envisioned. Added an additional patch that I've been playing with to allow

[U-Boot] [RFC PATCH v2 2/8] net: Rename helper function to be more clear

2015-02-02 Thread Joe Hershberger
Make it clear that the helper is checking the addr, not setting it. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v2: None net/eth.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/net/eth.c b/net/eth.c index eac4f7b..65e8c77 100644 ---

Re: [U-Boot] Possible OMAP3 regression with current mainline

2015-02-02 Thread Simon Glass
Hi Enric, On 30 January 2015 at 01:10, Enric Balletbo Serra eballe...@gmail.com wrote: Hi Simon, 2015-01-30 2:24 GMT+01:00 Simon Glass s...@chromium.org: Hi Enric, On 26 January 2015 at 10:55, Enric Balletbo Serra eballe...@gmail.com wrote: I just tried boot with my OMAP3 based board

Re: [U-Boot] [PATCH V3] cmd_i2c: Provide option for bulk 'i2c write' in one transaction

2015-02-02 Thread Simon Glass
Hi, On 30 January 2015 at 10:56, Lubomir Popov lpo...@mm-sol.com wrote: I2C chips do exist that require a write of some multi-byte data to occur in a single bus transaction (aka atomic transfer), otherwise either the write does not come into effect at all, or normal operation of internal

Re: [U-Boot] [PATCH v4 3/6] Exynos542x: Add and enable get_periph_rate support

2015-02-02 Thread Simon Glass
On 2 February 2015 at 05:19, Akshay Saraswat aksha...@samsung.com wrote: We planned to fetch peripheral rate through one generic API per peripheral. These generic peripheral functions are in turn expected to fetch apt values from a function refactored as per SoC versions. This patch adds

Re: [U-Boot] Raspberry Pi GPIO interacts with u-boot

2015-02-02 Thread Simon Glass
Hi Reza, On 29 January 2015 at 20:40, Reza Nikoopour rnikoop...@gmail.com wrote: Hey Simon, It seems like Crochet doesn't actually build U-boot with specifying which config to use. I'm looking up how to build uboot using rpi_b.h OK. Please don't top post. The config is now called 'rpi'.

Re: [U-Boot] [PATCH 0/2] ARM: at91: at91sam9rlek: add mmc config for at91sam9rlek

2015-02-02 Thread Bo Shen
Hi Josh, On 02/02/2015 05:50 PM, Josh Wu wrote: This patch series will enable mmc support on at91sam9rlek board. And also add a MMC config for it. Josh Wu (2): ARM: at91: at91sam9rlek: add mci support ARM: at91: at91sam9rlek: add mmc environment configuration For this series:

Re: [U-Boot] [RFC PATCH] dm: Add support for all targets which requires MANUAL_RELOC

2015-02-02 Thread Simon Glass
Hi Michal, On 2 February 2015 at 08:31, Michal Simek michal.si...@xilinx.com wrote: Targets with CONFIG_NEEDS_MANUAL_RELOC do not use REL/RELA relocation (mostly only GOT) where functions aray are not updated. This patch is fixing function pointers for DM core and serial-uclass to ensure that

[U-Boot] [RFC PATCH v2 5/8] net: Add basic driver model support to Ethernet stack

2015-02-02 Thread Joe Hershberger
First just add support for MAC drivers. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v2: -Updated comments -Removed extra parentheses -Changed eth_uclass_priv local var names to be uc_priv -Update error codes -Cause an invalid name to fail binding -Rebase on top of

[U-Boot] [RFC PATCH v2 6/8] net: Add network support to sandbox

2015-02-02 Thread Joe Hershberger
Add basic network support to sandbox which includes a network driver. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v2: -Change printfs to debug in sandbox driver -Remove unused priv struct for sandbox driver arch/sandbox/dts/sandbox.dts | 4 +++ drivers/net/Makefile

[U-Boot] [RFC PATCH v2 4/8] net: Refactor in preparation for driver model

2015-02-02 Thread Joe Hershberger
Move some things around and organize things so that the driver model implementation will fit in more easily. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v2: None include/net.h | 63 + net/eth.c | 75

[U-Boot] [RFC PATCH v2 7/8] net: Add ARP and PING response to sandbox driver

2015-02-02 Thread Joe Hershberger
The sandbox driver will now generate response traffic to exercise the ping command even when no network exists. This allows the basic data pathways of the DM to be tested. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v2: -Change printfs to debug in sandbox driver -Move

[U-Boot] [RFC PATCH v2 1/8] net: Provide a function to get the current MAC address

2015-02-02 Thread Joe Hershberger
The current implementation exposes the eth_device struct to code that needs to access the MAC address. Add a wrapper function for this to abstract away the pointer for this operation. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v2: None

[U-Boot] [RFC PATCH v2 3/8] net: Remove unneeded extern in net.h

2015-02-02 Thread Joe Hershberger
Many of the functions in net.h were preceded extern needlessly. Removing them to limit the number of checkpatch.pl complaints. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v2: None include/net.h | 96 +-- 1 file

[U-Boot] [RFC PATCH v2 8/8] net: Add actual networking support to sandbox's driver

2015-02-02 Thread Joe Hershberger
This doesn't build right now Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v2: -Added the raw packet proof-of-concept patch. drivers/net/sandbox-raw.c | 60 +++ drivers/net/sandbox.c | 23 ++ 2 files

Re: [U-Boot] [PATCH] ARM: at91: at91sam9rlek: update the default nand flash configs

2015-02-02 Thread Bo Shen
Hi Josh On 02/02/2015 05:31 PM, Josh Wu wrote: Update the nand flash offset mapping, default nand bootcmand and bootargs to align with linux4sam.org. Signed-off-by: Josh Wu josh...@atmel.com except the following concern: Acked-by: Bo Shen voice.s...@atmel.com ---

Re: [U-Boot] [PATCH v2] arm: spl: Allow board_init_r() to run with a larger stack

2015-02-02 Thread Tom Rini
On Mon, Feb 02, 2015 at 12:30:59PM -0700, Simon Glass wrote: Hi Tom, On 2 February 2015 at 11:57, Tom Rini tr...@ti.com wrote: On Mon, Feb 02, 2015 at 11:16:16AM -0700, Simon Glass wrote: Hi Albert, On 31 January 2015 at 15:36, Albert ARIBAUD albert.u.b...@aribaud.net wrote:

Re: [U-Boot] [PATCH] cmd: Fix gettime command help

2015-02-02 Thread Bin Meng
Hi Tom, On Thu, Jan 22, 2015 at 2:03 AM, Tom Rini tr...@ti.com wrote: On Wed, Jan 21, 2015 at 11:54:08PM +0800, Bin Meng wrote: +Tom Hi Tom, On Mon, Jan 19, 2015 at 9:32 PM, Bin Meng bmeng...@gmail.com wrote: Remove the additional ',' and '\n' from the gettime command help.

Re: [U-Boot] [PATCH v3] sunxi: Add Linksprite_pcDuino3_Nano board / defconfig

2015-02-02 Thread Hans de Goede
Hi, On 01-02-15 13:58, Adam Sampson wrote: This is a low-cost Allwinner A20 board with Arduino-style GPIO headers; it features 1G RAM, 4G NAND flash, 1 micro-SD, 2 USB sockets, 1 micro USB socket for OTG and another for power in, HDMI, SATA, 5V power for SATA devices, gigabit Ethernet, an IR

Re: [U-Boot] [RFC/PATCH] tools: New 'spl-stackusage' script

2015-02-02 Thread Andreas Bießmann
Dear Siarhei Siamashka, On 02/01/2015 12:47 AM, Siarhei Siamashka wrote: This is a script, which tries to provide a pessimistic estimate of the stack usage in the SPL binary. A more detailed description about how it works and some example pictures are available in an earlier e-mail:

Re: [U-Boot] [PATCH v2 0/11] Add full DDR init for Marvell Armada-XP MV78xx0 (AXP)

2015-02-02 Thread Stefan Roese
On 28.01.2015 23:28, Luka Perkov wrote: On Mon, Jan 19, 2015 at 11:33:38AM +0100, Stefan Roese wrote: This patch adds the DDR3 setup and training code taken from the Marvell U-Boot repository. This code used to be included as a binary (bin_hdr) into the AXP boot image. Not linked with the main

[U-Boot] [PATCH 2/2] x86: Use tab instead of space to indent in PCIE_ECAM_BASE

2015-02-02 Thread Bin Meng
Space is used before 'default' in PCIE_ECAM_BASE in arch/x86/Kconfig so it looks misaligned. Replace the space with tab to indent. Signed-off-by: Bin Meng bmeng...@gmail.com --- arch/x86/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/Kconfig

[U-Boot] [PATCH v4 4/6] Exynos5: Fix exynos5_get_periph_rate calculations

2015-02-02 Thread Akshay Saraswat
exynos5_get_periph_rate function reads incorrect div for SDMMC2 3. It also reads prediv and does division only for SDMMC0 2 when actually various other peripherals need that. Adding changes to fix these mistakes in periph rate calculation. Signed-off-by: Akshay Saraswat aksha...@samsung.com

[U-Boot] [PATCH v4 3/6] Exynos542x: Add and enable get_periph_rate support

2015-02-02 Thread Akshay Saraswat
We planned to fetch peripheral rate through one generic API per peripheral. These generic peripheral functions are in turn expected to fetch apt values from a function refactored as per SoC versions. This patch adds support for fetching peripheral rates for Exynos5420 and Exynos5800.

Re: [U-Boot] [PATCH 3/3] sunxi: dram: Allow to configure vdd-dll voltage on sun[457]i

2015-02-02 Thread Hans de Goede
Hi, Thanks for the dram timing patches. Since they do not make any changes without them being explictly enabled in Kconfig, I've queued up patches 1 2 into u-boot-sunxi/next for merging upstream. I would like to see this one handled slightly different though, see below. I assume you're also

[U-Boot] [PATCH 1/2] bootstage: Fix typos in the comment

2015-02-02 Thread Bin Meng
There are two typos in the comment block in bootstage.h, fix them. Signed-off-by: Bin Meng bmeng...@gmail.com --- include/bootstage.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/bootstage.h b/include/bootstage.h index 6b7588d..0276cb3 100644 ---

Re: [U-Boot] [PATCH 2/2] x86: Use tab instead of space to indent in PCIE_ECAM_BASE

2015-02-02 Thread Bin Meng
Hi Simon, On Mon, Feb 2, 2015 at 9:25 PM, Bin Meng bmeng...@gmail.com wrote: Space is used before 'default' in PCIE_ECAM_BASE in arch/x86/Kconfig so it looks misaligned. Replace the space with tab to indent. Signed-off-by: Bin Meng bmeng...@gmail.com --- arch/x86/Kconfig | 2 +- 1 file

[U-Boot] Please pull u-boot-sunxi master

2015-02-02 Thread Hans de Goede
Hi Tom, We've once again build-up a nice collection of patches for sunxi. Please pull u-boot-sunxi/master into master, highlights: 1) Finish the dram config cleanup 2) Add support for 3 new boards The following changes since commit 2af13d6b6265a6700c4f65597410b769895024bf: lcd: fix console

[U-Boot] [PATCH] ARM: at91: at91sam9rlek: update the default nand flash configs

2015-02-02 Thread Josh Wu
Update the nand flash offset mapping, default nand bootcmand and bootargs to align with linux4sam.org. Signed-off-by: Josh Wu josh...@atmel.com --- include/configs/at91sam9rlek.h | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/include/configs/at91sam9rlek.h

[U-Boot] [PATCH v4 2/6] Exynos542x: Move exynos5420_get_pll_clk up and rename

2015-02-02 Thread Akshay Saraswat
Moving exynos5420_get_pll_clk function definition up in the code to keep it together with rest of SoC_get_pll_clk functions. This makes code more legible and also removes the need of declaration when called before the position of definition in code. Also, renaming exynos5420_get_pll_clk to

[U-Boot] [PATCH v4 1/6] Exynos5: Fix compiler warnings due to clock_get_periph_rate

2015-02-02 Thread Akshay Saraswat
Apparently, members of clk_bit_info array do not map correctly to the members of enum periph_id. This mapping got broken after we changed periph_id(s) to reflect interrupt number instead of their position in a sequence. This patch intends to fix above mentioned issue. Signed-off-by: Akshay

[U-Boot] [PATCH v4 0/6] Exynos5: Fix warnings and enrich clock_get_periph_rate

2015-02-02 Thread Akshay Saraswat
This patch series does following changes - 1. Removing compiler warnings for clock_get_periph_rate. 2. Adding and enabling support for Exynos542x in clock_get_periph_rate. 3. Replacing peripheral specific function calls with clock_get_periph_rate. 4. Remove code from clocks file which became

[U-Boot] [PATCH 1/2] ARM: at91: at91sam9rlek: add mci support

2015-02-02 Thread Josh Wu
This patch enable the MCI support for at91sam9rlek board. Signed-off-by: Josh Wu josh...@atmel.com --- arch/arm/cpu/arm926ejs/at91/at91sam9rl_devices.c | 17 + board/atmel/at91sam9rlek/at91sam9rlek.c | 10 ++ include/configs/at91sam9rlek.h | 11

[U-Boot] [PATCH 0/2] ARM: at91: at91sam9rlek: add mmc config for at91sam9rlek

2015-02-02 Thread Josh Wu
This patch series will enable mmc support on at91sam9rlek board. And also add a MMC config for it. Josh Wu (2): ARM: at91: at91sam9rlek: add mci support ARM: at91: at91sam9rlek: add mmc environment configuration arch/arm/cpu/arm926ejs/at91/at91sam9rl_devices.c | 17 ++

[U-Boot] [PATCH 2/2] ARM: at91: at91sam9rlek: add mmc environment configuration

2015-02-02 Thread Josh Wu
Add a mmc default config, which will save the environment in a FAT file (uboot.env) of MMC. Signed-off-by: Josh Wu josh...@atmel.com --- configs/at91sam9rlek_mmc_defconfig | 3 +++ include/configs/at91sam9rlek.h | 18 +- 2 files changed, 20 insertions(+), 1 deletion(-)

[U-Boot] [PATCH v4 6/6] Exynos: clock: change mask bits as per peripheral

2015-02-02 Thread Akshay Saraswat
We have assumed and kept mask bits for divider and pre-divider as 0xf and 0xff, respectively. But these mask bits change from one peripheral to another, and hence, need to be specified in accordance with the peripherals. Signed-off-by: Akshay Saraswat aksha...@samsung.com --- Changes since v3:

[U-Boot] [PATCH v4 5/6] Exynos5: Use clock_get_periph_rate generic API

2015-02-02 Thread Akshay Saraswat
Replacing SoC and peripheral specific function calls with generic clock_get_periph_rate calls to get the peripheral clocks. Also, removing dead code of peripheral and SoC specific function implementations which was used earlier for fetching peripheral clocks. This code is not being used anymore

Re: [U-Boot] [PATCH 6/6] imx:mx6sxsabresd board spl support

2015-02-02 Thread Nikolay Dimitrov
Hi Peng, On 01/19/2015 10:29 AM, Peng Fan wrote: Hi Stefano, On 1/19/2015 4:18 PM, Stefano Babic wrote: Hi Peng, series looks ok to me - just a small question: On 30/12/2014 10:24, Peng Fan wrote: Add board level spl support for mx6sxsabresd board. Signed-off-by: Peng Fan

Re: [U-Boot] 0001-Adding-Support-for-BAV335x-boards.patch

2015-02-02 Thread Wolfgang Denk
Dear Gilles, In message 2e38a6a5-f189-4769-b358-f2ec13d5e...@gigadevices.com you wrote: Huh.. my bad, I actually had my tabs set to 4 on the screen. Can you at least consider allowing me to use spaces to indent that header file? Placing the entire u-boot environment variables in one

[U-Boot] Zynq Zybo booting with mainline U-Boot

2015-02-02 Thread Simon Glass
Hi, I have one of boards and would like to get mainline U-Boot booting on it. I have followed the instructions for creating a BOOT.BIN file comprised of: - boot.elf - .bit file - u-boot.elf and putting it on a a micro-SD card. This works OK with the diligent master branch from github. I can

[U-Boot] [PATCH 2/2] ARM: UniPhier: set I2C offset length of on-board EEPROM in DTS

2015-02-02 Thread Masahiro Yamada
The EEPROM chip on the UniPhier reference daughter board expects 2-byte offset address. Since 7132b9fd68a1 (dm: i2c: dts: Support an offset-len device tree property), I2C sub-nodes can have u-boot,i2c-offset-len property. It is convenient to set the default I2C offset address length in Device

[U-Boot] [PATCH 1/2] ARM: UniPhier: move EEPROM device node into a separate DTS

2015-02-02 Thread Masahiro Yamada
This EEPROM chip is installed on the expansion board commonly used on UniPhier platform. To avoid duplicated description, move the EEPROM node to a separate file and include it from other device tree sources. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com ---

Re: [U-Boot] 0001-Adding-Support-for-BAV335x-boards.patch

2015-02-02 Thread Gilles
Hi Wolfgang, Huh.. my bad, I actually had my tabs set to 4 on the screen. Can you at least consider allowing me to use spaces to indent that header file? Placing the entire u-boot environment variables in one string without any indentation of sorts would make that code highly un-readable. And

Re: [U-Boot] [RFC PATCH] dm: Add support for all targets which requires MANUAL_RELOC

2015-02-02 Thread Masahiro Yamada
Hi. On Mon, 2 Feb 2015 16:57:15 -0700 Simon Glass s...@chromium.org wrote: Hi Michal, On 2 February 2015 at 08:31, Michal Simek michal.si...@xilinx.com wrote: Targets with CONFIG_NEEDS_MANUAL_RELOC do not use REL/RELA relocation (mostly only GOT) where functions aray are not updated.

Re: [U-Boot] [PATCH v2 1/5] microblaze: Move architecture to use generic board init

2015-02-02 Thread Simon Glass
Hi Michal, On 2 February 2015 at 08:46, Michal Simek michal.si...@xilinx.com wrote: Compile code with -fPIC to get GOT. Do not build SPL with fPIC because it increasing SPL size for nothing. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - Use dram_init instead of

[U-Boot] powerpc/e5500: looks like init is setting a reserved HID0 bit in start.S?

2015-02-02 Thread Robert E Cochran
Hi, I noticed in cpu/mpc85xx/start.S that for ENABLE_36BIT_PHYS builds, HID0_ENMAS7 is set for E5500/T1040 builds, but the E5500 reference manual shows the bit doesn't exist. If the bit truly doesn't exist, should the code be patched or is it not worth the #ifdef? Bob start.S:309: #if

[U-Boot] [PATCH 0/2] Refactor EEPROM device tree and add default offset length

2015-02-02 Thread Masahiro Yamada
Masahiro Yamada (2): ARM: UniPhier: move EEPROM device node into a separate DTS ARM: UniPhier: set I2C offset length of on-board EEPROM in DTS arch/arm/dts/uniphier-ph1-ld4-ref.dts | 5 + arch/arm/dts/uniphier-ph1-pro4-ref.dts | 5 + arch/arm/dts/uniphier-ph1-sld3-ref.dts |

Re: [U-Boot] U-Boot gitweb

2015-02-02 Thread Bin Meng
Hello, On Mon, Feb 2, 2015 at 3:47 PM, Nable nable.mainin...@googlemail.com wrote: Hi! I can also see the same issue. It looks like some problem with permissions: Forbidden You don't have permission to access /gitweb.css on this server. Apache/2.2.22 (Debian) Server at git.denx.de Port

[U-Boot] [PATCH v2] ARM: at91: at91sam9rlek: update the default nand flash configs

2015-02-02 Thread Josh Wu
Update the nand flash offset mapping, default nand bootcmand and bootargs to align with linux4sam.org. Signed-off-by: Josh Wu josh...@atmel.com Acked-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - modify the BOOTCMD to load both kernel and dtb. include/configs/at91sam9rlek.h | 18

[U-Boot] [PATCH] ARM: UniPhier: remove dummy gpio.h

2015-02-02 Thread Masahiro Yamada
This dummy header was introduced by commit 630bf80ebb34 (ARM: UniPhier: add dummy gpio.h to enable CONFIG_OF_CONTROL). Thanks to commit a08d643dbd85 (dm: Drop gpio.h header from fdtdec.c), such an ugly workaround is no longer needed. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com ---

Re: [U-Boot] [PATCH v4 6/6] Exynos: clock: change mask bits as per peripheral

2015-02-02 Thread Joonyoung Shim
Hi, On 02/02/2015 09:19 PM, Akshay Saraswat wrote: We have assumed and kept mask bits for divider and pre-divider as 0xf and 0xff, respectively. But these mask bits change from one peripheral to another, and hence, need to be specified in accordance with the peripherals. Signed-off-by:

Re: [U-Boot] [PATCH 2/9] sunxi: Move SPL s_init() code to board_init_f()

2015-02-02 Thread Simon Glass
Hi, On 2 February 2015 at 01:07, Hans de Goede hdego...@redhat.com wrote: Hi Simon, Siarhei, On 01-02-15 21:59, Simon Glass wrote: Hi Siarhei, On 1 February 2015 at 11:37, Siarhei Siamashka siarhei.siamas...@gmail.com snip A comprehensive FEL usage guide is supposed to be in the

[U-Boot] [RFC PATCH v3 6/7] x86: Add basic Intel Galileo board support

2015-02-02 Thread Bin Meng
New board/intel/galileo board directory with minimum codes, plus board dts, defconfig and configuration files. Signed-off-by: Bin Meng bmeng...@gmail.com Reviewed-by: Simon Glass s...@chromium.org Acked-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None

[U-Boot] [RFC PATCH v3 5/7] x86: Add basic Intel Quark processor support

2015-02-02 Thread Bin Meng
Add minimum codes to support Intel Quark SoC. DRAM initialization is not ready yet so a hardcoded gd-ram_size is assigned. Signed-off-by: Bin Meng bmeng...@gmail.com --- Changes in v3: - Add simple help for ACPI PM1, PBLK and GEP0 Changes in v2: - Use machine-specific - Move vairous

[U-Boot] [RFC PATCH v3 4/7] x86: quark: Add Cache-As-RAM initialization

2015-02-02 Thread Bin Meng
Quark SoC contains an embedded 512KiB SRAM (eSRAM) that is initialized by hardware. eSRAM is the ideal place to be used for Cache-As-RAM (CAR) before system memory is available. Signed-off-by: Bin Meng bmeng...@gmail.com --- Changes in v3: - Use macros from asm/pci.h and asm/arch/quark.h

[U-Boot] [RFC PATCH v3 0/7] x86: New Intel Quark SoC support

2015-02-02 Thread Bin Meng
This series adds the first step of bare support for the Intel Quark SoC support which can be validated on Intel Galileo board. Intel Quark is a line of 32-bit x86 SoCs by Intel, designed for small size and low power consumption, and targeted at new markets including wearable devices. They are

Re: [U-Boot] [PATCH 0/4] sunxi: FEL mode fixes

2015-02-02 Thread Tom Rini
On Fri, Jan 30, 2015 at 01:58:45PM +0200, Siarhei Siamashka wrote: The recent u-boot changes broke FEL mode support on sunxi hardware. This patch series fixes the regression and also introduces some other cleanups. I think the community at large here could benefit from some background and

[U-Boot] [PATCH v2 1/5] microblaze: Move architecture to use generic board init

2015-02-02 Thread Michal Simek
Compile code with -fPIC to get GOT. Do not build SPL with fPIC because it increasing SPL size for nothing. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - Use dram_init instead of init_func_ram() Suggested by Simon This code requires common/board_r: manual relocation

Re: [U-Boot] [PATCH v2] arm/ls1021a: Add workaround for DDR erratum A008378

2015-02-02 Thread York Sun
On 01/31/2015 08:12 PM, Albert ARIBAUD wrote: Hello York Sun, On Wed, 14 Jan 2015 12:46:07 -0800, York Sun york...@freescale.com wrote: Internal memory controller counters can reach a bad state after training in DDR4 mode if accumulated ECC or DBI mode is eanbled. typo: eanbled -

[U-Boot] [RFC PATCH] dm: Add support for all targets which requires MANUAL_RELOC

2015-02-02 Thread Michal Simek
Targets with CONFIG_NEEDS_MANUAL_RELOC do not use REL/RELA relocation (mostly only GOT) where functions aray are not updated. This patch is fixing function pointers for DM core and serial-uclass to ensure that relocated functions are called. Signed-off-by: Michal Simek michal.si...@xilinx.com ---

[U-Boot] [PATCH v2 3/5] bdinfo: Show information about fdt blob via bdinfo

2015-02-02 Thread Michal Simek
Microblaze target supports both OF and !OF cases and from log is not clear which version is running. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None common/cmd_bdinfo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c

[U-Boot] [RFC PATCH v3 7/7] x86: Enable the Intel quark/galileo build

2015-02-02 Thread Bin Meng
Make the Intel quark/galileo support avaiable in Kconfig and Makefile. With this patch, we can generate u-boot.rom for Intel galileo board. Signed-off-by: Bin Meng bmeng...@gmail.com Reviewed-by: Simon Glass s...@chromium.org Acked-by: Simon Glass s...@chromium.org --- Changes in v3: None

[U-Boot] [PATCH v2 4/5] microblaze: Do not use CONFIG_SYS_GENERIC_GLOBAL_DATA

2015-02-02 Thread Michal Simek
Because it is not compatible with DM where malloc_base has to be available early and init has to be done in ASM. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - New patch in the series Moving it to C code is also possible. --- arch/microblaze/cpu/start.S | 6

[U-Boot] [RFC PATCH v3 2/7] x86: quark: Add routines to access message bus registers

2015-02-02 Thread Bin Meng
In the Quark SoC, some chipset commands are accomplished by utilizing the internal message network within the host bridge (D0:F0). Accesses to this network are accomplished by populating the message control register (MCR), Message Control Register eXtension (MCRX) and the message data register

[U-Boot] [RFC PATCH v3 3/7] x86: Define macros for pci configuration space access

2015-02-02 Thread Bin Meng
Move PCI_REG_ADDR and PCI_REG_DATA from arch/x86/lib/pci_type1.c to arch/x86/include/asm/pci.h, also define PCI_CFG_EN so that these macros can be used for pci configuration space access. Signed-off-by: Bin Meng bmeng...@gmail.com --- Changes in v3: - New patch to define macros for pci

[U-Boot] [RFC PATCH v3 1/7] x86: Add header files for Intel Quark SoC defines

2015-02-02 Thread Bin Meng
device.h for integrated pci devices' bdf on Quark SoC and quark.h for various memory-mapped and i/o-mapped base addresses within SoC. Signed-off-by: Bin Meng bmeng...@gmail.com --- Changes in v3: - Add several macros for message bus port and registers Changes in v2: - Move vairous components'

[U-Boot] [PATCH v2 5/5] microblaze: Add support for CONFIG_SYS_MALLOC_F_LEN

2015-02-02 Thread Michal Simek
Create space for dm_init where calloc is called and malloc_base has to be initialized. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - New patch in the series arch/microblaze/cpu/start.S | 8 include/configs/microblaze-generic.h | 1 + 2 files

[U-Boot] [PATCH v2 2/5] microblaze: Speedup code copy

2015-02-02 Thread Michal Simek
Remove one instruction in the loop which speedup code copying. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: None arch/microblaze/cpu/start.S | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/microblaze/cpu/start.S

Re: [U-Boot] Raspberry Pi GPIO interacts with u-boot

2015-02-02 Thread Stephen Warren
On 02/02/2015 06:13 PM, Simon Glass wrote: ... On Jan 29, 2015 5:24 PM, Simon Glass s...@chromium.org wrote: On 29 January 2015 at 14:03, Reza Nikoopour rnikoop...@gmail.com wrote: Hey guys, I'm working on setting up an NTP server using the following: Raspberry Pi Model B+ Raspberry PI

[U-Boot] [PATCH] mpc85xx/t104xrdb : remove raw timing parameter

2015-02-02 Thread Vijay Rai
This board actually uses DIMM, so removing unnecessary raw timing parameter code. Signed-off-by: Vijay Rai vijay@freescale.com --- board/freescale/t104xrdb/ddr.c | 15 --- board/freescale/t104xrdb/ddr.h | 29 - include/configs/T104xRDB.h

Re: [U-Boot] 0001-Adding-Support-for-BAV335x-boards.patch

2015-02-02 Thread Gilles
Hi Wolfgang, You are probably not the first person to run into such issues. So before asking for exceptions from the rules, you should look around how other developers have solved the problems you are facing. Apologies about this. I just fixed all the problems and will re-submit the clean

Re: [U-Boot] Zynq Zybo booting with mainline U-Boot

2015-02-02 Thread Masahiro Yamada
Hi Simon, On Mon, 2 Feb 2015 22:00:25 -0700 Simon Glass s...@chromium.org wrote: Hi, I have one of boards and would like to get mainline U-Boot booting on it. I have followed the instructions for creating a BOOT.BIN file comprised of: - boot.elf - .bit file - u-boot.elf and

Re: [U-Boot] [PATCH] sunxi: Ampe A76 support

2015-02-02 Thread Hans de Goede
Hi, On 02-02-15 23:04, Paul Kocialkowski wrote: Signed-off-by: Paul Kocialkowski cont...@paulk.fr Thanks I've queued this up for merging in u-boot-sunxi/next. Regards, Hans --- board/sunxi/MAINTAINERS| 5 + configs/Ampe_A76_defconfig | 15 +++ 2 files changed, 20

[U-Boot] [PATCH] arm: spear: Move to generic board support

2015-02-02 Thread Stefan Roese
Without this change the board support for these SPEAr boards would be dropped soon. Generic board support seems to work just fine. Signed-off-by: Stefan Roese s...@denx.de Cc: Viresh Kumar viresh.ku...@linaro.org Cc: Vipin Kumar vk.vi...@gmail.com --- Unfortunately I missed the merge window by

[U-Boot] [PATCH] RSA depends on DM

2015-02-02 Thread Chris Kuethe
Discovered while experimenting with signature checking on vexpress which doesn't typically use DM. Rather than complaining about unmet dependencies it might be better to enable those them. --- lib/rsa/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rsa/Kconfig b/lib/rsa/Kconfig

[U-Boot] [PATCH v2 1/6] KM/IVM: split the IVM reading and parsing in 2 parts

2015-02-02 Thread Valentin Longchamp
This allows to first read the IVM content (earlier in the boot sequence) and define the ethaddr env variable thanks to the ivm_read_eepromi(). Later, the IVM content can be parsed and used to define some hush variables, when the hush subsystem is available thanks to ivm_analyze_eeprom(). To avoid

[U-Boot] [PATCH v2 2/6] kirkwood/km_arm: read the IVM eeprom earlier

2015-02-02 Thread Valentin Longchamp
This allows to define the ethaddr env variable according to the the IVM content by reading the IVM in misc_init_r. Later, when HUSH is available the content read earlier is analyzed to populate some non env variables. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- Changes

[U-Boot] [PATCH v2 3/6] 85xx/kmp204x: read the IVM eeprom earlier

2015-02-02 Thread Valentin Longchamp
This allows to define the ethaddr env variable according to the the IVM content by reading the IVM in misc_init_r. Later, when HUSH is available the content read earlier is analyzed to populate some non env variables. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- Changes

[U-Boot] [PATCH v2 5/6] 82xx/km82xx: read the IVM eeprom earlier

2015-02-02 Thread Valentin Longchamp
This allows to define the ethaddr env variable according to the the IVM content by reading the IVM in misc_init_r. Later, when HUSH is available the content read earlier is analyzed to populate some non env variables. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- Changes

[U-Boot] [PATCH v2 4/6] 83xx/km83xx: read the IVM eeprom earlier

2015-02-02 Thread Valentin Longchamp
This allows to define the ethaddr env variable according to the the IVM content by reading the IVM in misc_init_r. Later, when HUSH is available the content read earlier is analyzed to populate some non env variables. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- Changes

Re: [U-Boot] [RFC PATCH 6/7] arm: Show relocated PC/LR in the register dump

2015-02-02 Thread Simon Glass
Hi Albert, On 1 February 2015 at 01:45, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hello Simon, On Fri, 30 Jan 2015 12:04:56 -0700, Simon Glass s...@chromium.org wrote: If we don't know the relocation address, the raw values are not very useful. Show the pre-relocation values as well

Re: [U-Boot] [PATCH v2 0/11] Add full DDR init for Marvell Armada-XP MV78xx0 (AXP)

2015-02-02 Thread Tom Rini
On Mon, Feb 02, 2015 at 02:18:24PM +0100, Stefan Roese wrote: On 28.01.2015 23:28, Luka Perkov wrote: On Mon, Jan 19, 2015 at 11:33:38AM +0100, Stefan Roese wrote: This patch adds the DDR3 setup and training code taken from the Marvell U-Boot repository. This code used to be included as a

Re: [U-Boot] [PATCH 1/2] bootstage: Fix typos in the comment

2015-02-02 Thread Simon Glass
On 2 February 2015 at 06:25, Bin Meng bmeng...@gmail.com wrote: There are two typos in the comment block in bootstage.h, fix them. Signed-off-by: Bin Meng bmeng...@gmail.com --- include/bootstage.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Acked-by: Simon Glass

[U-Boot] [PATCH v2 6/6] KM/IVM: remove ivm_read_eeprom(void)

2015-02-02 Thread Valentin Longchamp
This is not used anymore since the procedure was split into a simple read function and a later alaysis. The ivm_read_eeprom name is now used for the previous ivm_simple_read_eeprom function. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- Changes in v2: None

Re: [U-Boot] [PATCH 5/5] KM/IVM: remove ivm_read_eeprom(void)

2015-02-02 Thread Valentin Longchamp
Hello Tom and Holger, On 01/06/2015 09:19 AM, Brunck, Holger wrote: On 01/05/2015 07:47 PM, Tom Rini wrote: On Tue, Dec 23, 2014 at 02:08:57PM +0100, Valentin Longchamp wrote: This is not used anymore since the procedure was split into a simple read function and a later alaysis. The

[U-Boot] [PATCH v2 0/6] keymile: enhance IVM reading

2015-02-02 Thread Valentin Longchamp
All Keymile boards have an EEPROM that is called IVM that contain information about the board that is progammed at production time. One piece of information is the MAC addresses assigned to the board. u-boot requires the MAC address of the ethernet interfaces it uses to be defined when the

Re: [U-Boot] [PATCH 0/3] arm: reduce .bss section clear time

2015-02-02 Thread Simon Glass
Hi Lukasz, On 2 February 2015 at 01:46, Lukasz Majewski l.majew...@samsung.com wrote: Dear All, And the next is interesting. odroid_defconfig has more than 80MB for malloc (we need about 64mb for the DFU now, to be able write 32MB file). This is the CONFIG_SYS_MALLOC_LEN. And the memory

Re: [U-Boot] [PATCH v2] arm: spl: Allow board_init_r() to run with a larger stack

2015-02-02 Thread Simon Glass
Hi Albert, On 31 January 2015 at 15:36, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hello Simon, On Mon, 26 Jan 2015 08:34:21 -0700, Simon Glass s...@chromium.org wrote: At present SPL uses a single stack, either CONFIG_SPL_STACK or CONFIG_SYS_INIT_SP_ADDR. Since some SPL features (such

Re: [U-Boot] [RFC PATCH 0/21] ARM: start to move SoC code into arch/arm/mach-*

2015-02-02 Thread Stephen Warren
On 01/31/2015 08:20 PM, Simon Glass wrote: Hi Albert, On 31 January 2015 at 20:02, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hello Masahiro, On Sun, 25 Jan 2015 15:11:02 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: This series can be applied on the current u-boot/master

Re: [U-Boot] [PATCH 1/4] sunxi: Make FEL mode usable again

2015-02-02 Thread Simon Glass
Hi Siarhei, On 1 February 2015 at 16:59, Siarhei Siamashka siarhei.siamas...@gmail.com wrote: On Sun, 1 Feb 2015 13:59:41 -0700 Simon Glass s...@chromium.org wrote: Hi Siarhei, On 1 February 2015 at 11:48, Siarhei Siamashka siarhei.siamas...@gmail.com wrote: On Sun, 1 Feb 2015

Re: [U-Boot] [PATCH] video: sunxi: Enable cache for the framebuffer

2015-02-02 Thread Hans de Goede
Hi, On 31-01-15 02:21, Siarhei Siamashka wrote: Because the framebuffer resides in a hidden chopped off part of DRAM, caching is not enabled for this area automatically when the MMU is configured. So it needs to be set explicitly. Additionally, the cfb console has a function to check whether

  1   2   >