[U-Boot] [PATCH v1 0/2] ARM: dts: at91: add dts files for the boards of SAMA5D3

2016-10-28 Thread Wenyou Yang
The purpose of the patchset is add the dts files for boards, sama5d3 Xplained board and sama5d3xek board. Wenyou Yang (2): ARM: at91: dt: add dts files for sama5d3ek board ARM: at91: dt: add dts file for sama5d3 Xplained arch/arm/dts/Makefile |7 + arch/arm/dts/at91-sam

[U-Boot] [PATCH v1 1/2] ARM: at91: dt: add dts files for sama5d3ek board

2016-10-28 Thread Wenyou Yang
Add the dts files for sama5d3ek board. The dts files is copied from the kernel, do changes as below. - add reg property for the pinctrl node. - move the gpio (pioA, pioB, pioC ...) nodes as the pinctrl's slibling nodes. - fix the compile warning. Signed-off-by: Wenyou Yang --- arch/arm/d

[U-Boot] [PATCH v1 2/2] ARM: at91: dt: add dts file for sama5d3 Xplained

2016-10-28 Thread Wenyou Yang
Add the dts file for sama5d3 Xplained board. The dts files is copied from the kernel, do changes. - fix the compile warning. Signed-off-by: Wenyou Yang --- arch/arm/dts/Makefile | 3 + arch/arm/dts/at91-sama5d3_xplained.dts | 341 + 2 files c

[U-Boot] [PATCH v2 0/8] board: sama5d4: convert boards to support DM/DT

2016-10-28 Thread Wenyou Yang
The purpose of patch set is to convert the board to support Device Tree and Driver Model. They are based on the following patches: 1./ [PATCH v3 0/2] pinctrl: at91: Add pinctrl driver http://lists.denx.de/pipermail/u-boot/2016-October/270991.html 2./ [PATCH v1 0/2] ARM: dts

[U-Boot] [PATCH v2 2/8] board: sama5d4_xplained: move config options to defconfig

2016-10-28 Thread Wenyou Yang
Enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock driver and at91 pinctrl driver. Move some config options to configs/sama5d4_xplained_*_defconfig files. Signed-off-by: Wenyou Yang --- Changes in v2: - Restore the wrong removal #define CONFIG_USB_ETHER. - Update the commit log. boa

[U-Boot] [PATCH v2 1/8] configs: at91-sama5_common: fix for CONFIG_AT91_GPIO

2016-10-28 Thread Wenyou Yang
If enabled Driver Model for GPIO, CONFIG_AT91_GPIO should be defined by configs/*_defconfig file. Signed-off-by: Wenyou Yang --- Changes in v2: None include/configs/at91-sama5_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/at91-sama5_common.h b/include/configs/

[U-Boot] [PATCH v2 3/8] board: sama5d4_xplained: clean up code

2016-10-28 Thread Wenyou Yang
Since the introduction of the pinctrl and clk driver and the dts file, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang --- Changes in v2: - Restore the wrong removal of USB related code. - Update the commit log. board/atmel/sama5d4_xplained/sama5d4_xpl

[U-Boot] [PATCH v2 4/8] board: sama5d4_xplained: enable early debug UART

2016-10-28 Thread Wenyou Yang
Enable early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang --- Changes in v2: None board/atmel/sama5d4_xplained/sama5d4_xplained.c | 15 ++- configs/sama5d4_xplained_mmc_defconfig | 6 ++ configs/sama5d4

[U-Boot] [PATCH v2 5/8] board: sama5d4ek: move config options to defconfig

2016-10-28 Thread Wenyou Yang
Enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock driver and at91 pinctrl driver. Move some config options to configs/sama5d4ek_*_defconfig. Signed-off-by: Wenyou Yang --- Changes in v2: - Restore wrong removal of #define CONFIG_USB_ETHER. - Update the commit log. board/atmel/sama5

[U-Boot] [PATCH v2 6/8] board: sama5d4ek: clean up code

2016-10-28 Thread Wenyou Yang
Since the introduction of the pinctrl and clk driver and the dts file, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang --- Changes in v2: - Restore the wrong removal USB related code. - Update the commit log. board/atmel/sama5d4ek/sama5d4ek.c | 88 +---

[U-Boot] [PATCH v2 7/8] board: sama5d4ek: enable early debug UART

2016-10-28 Thread Wenyou Yang
Enable early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang --- Changes in v2: None board/atmel/sama5d4ek/sama5d4ek.c | 15 ++- configs/sama5d4ek_mmc_defconfig | 6 ++ configs/sama5d4ek_nandflash_defconf

[U-Boot] [PATCH v2 8/8] configs: sama5d4: move CONFIG_SYS_NO_FLASH to *defconfig

2016-10-28 Thread Wenyou Yang
Move CONFIG_SYS_NO_FLASH to the configs/sama5d4*_defconfig file. Signed-off-by: Wenyou Yang --- Changes in v2: None configs/sama5d4_xplained_mmc_defconfig | 1 + configs/sama5d4_xplained_nandflash_defconfig | 1 + configs/sama5d4_xplained_spiflash_defconfig | 1 + configs/sama5d4ek_mmc_

[U-Boot] [PATCH v1 0/7] board: sama5d3: convert boards to support DM/DT

2016-10-28 Thread Wenyou Yang
The purpose of patch set is to convert the board to support Device Tree and Driver Model. They are based on the following patches: 1./ [PATCH v3 0/2] pinctrl: at91: Add pinctrl driver http://lists.denx.de/pipermail/u-boot/2016-October/270991.html 2./ [PATCH v1 0/2] ARM: dts

Re: [U-Boot] [PATCH 1/2] arm: Set TTB XN bit in case DCACHE_OFF for LPAE mode

2016-10-28 Thread Alexander Graf
On 28/10/2016 08:31, Keerthy wrote: > While we setup the mmu initially we mark set_section_dcache with > DCACHE_OFF flag. In case of non-LPAE mode the DCACHE_OFF macro > is rightly defined with TTB_SECT_XN_MASK set so as to mark all the > 4GB XN. In case of LPAE mode XN(Execute-never) bit is not

[U-Boot] [PATCH v1 1/7] board: sama5d3xek: move config options to defconfig

2016-10-28 Thread Wenyou Yang
Enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock driver and at91 pinctrl driver. Move some config options to configs/sama5d3xek_*_defconfig. Signed-off-by: Wenyou Yang --- board/atmel/sama5d3xek/sama5d3xek.c| 2 ++ configs/sama5d3xek_mmc_defconfig | 24

[U-Boot] [PATCH v1 2/7] board: sama5d3xek: clean up code

2016-10-28 Thread Wenyou Yang
Since the introduction of the pinctrl and clk driver and the dts file, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang --- board/atmel/sama5d3xek/sama5d3xek.c | 73 + 1 file changed, 1 insertion(+), 72 deletions(-) dif

[U-Boot] [PATCH v1 3/7] board: sama5d3xek: enable early debug UART

2016-10-28 Thread Wenyou Yang
Enable early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang --- board/atmel/sama5d3xek/sama5d3xek.c| 15 ++- configs/sama5d3xek_mmc_defconfig | 6 ++ configs/sama5d3xek_nandflash_defconfig | 6 ++ co

[U-Boot] [PATCH v1 4/7] board: sama5d3_xplained: move config options to defconfig

2016-10-28 Thread Wenyou Yang
Enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock driver and at91 pinctrl driver. Move some config options to configs/sama5d3xek_*_defconfig. Signed-off-by: Wenyou Yang --- configs/sama5d3_xplained_mmc_defconfig | 21 - configs/sama5d3_xplained_nandflash_defc

Re: [U-Boot] [PATCH 2/2] arm: cpu: armv7: omap-common: Clear XN bit in the ARMV7_DCACHE_POLICY

2016-10-28 Thread Alexander Graf
On 28/10/2016 08:31, Keerthy wrote: > Clear the XN bit in the ARMV7_DCACHE_POLICY so as to mark > the regions as execute okay. > > Signed-off-by: Keerthy How did you ever get the bit set in DCACHE_WRITEALLOC or WRITEBACK in the first place? Both are RAM mapping flags which shouldn't have the X

[U-Boot] [PATCH v1 5/7] board: sama5d3_xplained: clean up code

2016-10-28 Thread Wenyou Yang
Since the introduction of the pinctrl and clk driver and the dts file, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang --- board/atmel/sama5d3_xplained/sama5d3_xplained.c | 19 --- 1 file changed, 19 deletions(-) diff --git a/board/atmel/

[U-Boot] [PATCH v1 7/7] configs: sama5d3_xplained: move CONFIG_SYS_NO_FLASH to defconfig

2016-10-28 Thread Wenyou Yang
Move CONFIG_SYS_NO_FLASH to the configs/sama5d3x_xplained_*_defconfig files. Signed-off-by: Wenyou Yang --- configs/sama5d3_xplained_mmc_defconfig | 1 + configs/sama5d3_xplained_nandflash_defconfig | 1 + include/configs/sama5d3_xplained.h | 3 --- 3 files changed, 2 insertions

[U-Boot] [PATCH v1 6/7] board: sama5d3_xplained: enable early debug UART

2016-10-28 Thread Wenyou Yang
Enable early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang --- board/atmel/sama5d3_xplained/sama5d3_xplained.c | 16 +++- configs/sama5d3_xplained_mmc_defconfig | 6 ++ configs/sama5d3_xplained_nandflash_

Re: [U-Boot] [PATCH 2/2] arm: cpu: armv7: omap-common: Clear XN bit in the ARMV7_DCACHE_POLICY

2016-10-28 Thread Keerthy
On Friday 28 October 2016 12:56 PM, Alexander Graf wrote: On 28/10/2016 08:31, Keerthy wrote: Clear the XN bit in the ARMV7_DCACHE_POLICY so as to mark the regions as execute okay. Signed-off-by: Keerthy How did you ever get the bit set in DCACHE_WRITEALLOC or WRITEBACK in the first plac

Re: [U-Boot] FSL PowerPC platform: Not able to boot Linux with ramdisk size > 100MB

2016-10-28 Thread Scott Wood
On 10/27/2016 04:27 AM, Prabhakar Kushwaha wrote: > Hi Masahiro, > > I am not able to boot Linux onF PowerPC platform with ramdisk size > 100MB. > I tried u-boot master with top commit as " > 5ac5861c4ba851b473e6a24940b412b397627d8d ". > > I tried git-bisect and figured out below patch causing

[U-Boot] [PATCH v1] dfu: align array in dfu_get_dev_type with enum dfu_device_type

2016-10-28 Thread Patrick Delaunay
Signed-off-by: Patrick Delaunay --- drivers/dfu/dfu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c index 20dfcbb..8dacc1a 100644 --- a/drivers/dfu/dfu.c +++ b/drivers/dfu/dfu.c @@ -482,7 +482,7 @@ int dfu_config_entities(char *env, cha

[U-Boot] [PATCH v3] efi_loader: console: Correctly report modes

2016-10-28 Thread Emmanuel Vadot
Add support for EFI console modes. Mode 0 is always 80x25 and present by EFI specification. Mode 1 is always 80x50 and not mandatory. Mode 2 and above is freely usable. If the terminal can handle mode 1, we mark it as supported. If the terminal size is greater than mode 0 and different than mode 1

Re: [U-Boot] [PATCH v3] efi_loader: console: Correctly report modes

2016-10-28 Thread Alexander Graf
On 10/28/2016 10:04 AM, Emmanuel Vadot wrote: Add support for EFI console modes. Mode 0 is always 80x25 and present by EFI specification. Mode 1 is always 80x50 and not mandatory. Mode 2 and above is freely usable. If the terminal can handle mode 1, we mark it as supported. If the terminal size

Re: [U-Boot] [U-Boot, 2/6] ARM: at91: clock: correct PRES offset for at91sam9x5

2016-10-28 Thread Andreas Bießmann
On Wed, Aug 17, 2016 at 09:13:24AM +0200, Heiko Schocher wrote: > on at91sam9x5 PRES offset is 4 in the PMC master > clock register. > > Signed-off-by: Heiko Schocher > Acked-by: Wenyou Yang Acked-by: Andreas Bießmann > --- > > arch/arm/mach-at91/arm926ejs/clock.c | 6 ++ > 1 file chang

[U-Boot] [PATCH 05/11] sunxi: enable SPL for sun9i

2016-10-28 Thread Chen-Yu Tsai
From: Philipp Tomsich Now that DRAM initialization and clock setup is supported, we can enable SPL for the A80. [w...@csie.org: Added commit message] Signed-off-by: Chen-Yu Tsai --- board/sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfi

[U-Boot] [PATCH 11/11] sunxi: Add support for Cubieboard4

2016-10-28 Thread Chen-Yu Tsai
The Cubieboard4 is an A80 SoC based development board from Cubietech. This board has a UART port, 4 USB host ports, a USB 3.0 OTG connector, HDMI and VGA outputs, a micro SD slot, 8G eMMC flash, 2G DRAM, a WiFi/BT combo chip, headphone and microphone jacks, IR receiver, and GPIO headers. Signed-o

[U-Boot] [PATCH 04/11] sunxi: add initial clock setup for sun9i for SPL

2016-10-28 Thread Chen-Yu Tsai
From: Philipp Tomsich This is a cleaned up version set_pll() from Allwinner's boot0 source (bootloader/basic_loader/bsp/bsp_for_a80/common/common.c). [w...@csie.org: Added commit message; style cleanup] Signed-off-by: Chen-Yu Tsai --- arch/arm/include/asm/arch-sunxi/clock_sun9i.h | 82 +++

[U-Boot] [PATCH 06/11] sunxi: add MMC pinmux setup for SDC2 on sun9i

2016-10-28 Thread Chen-Yu Tsai
From: Philipp Tomsich The A80 can support 8-bit eMMC with reset on the PC pingroups. Signed-off-by: Chen-Yu Tsai --- board/sunxi/board.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/board/sunxi/board.c b/board/sunxi/board.c index 6281c9d70379..53656383d512 100644 --- a/board/sunx

[U-Boot] [PATCH 03/11] sunxi: Enable SMP mode for the boot CPU on sun9i (A80)

2016-10-28 Thread Chen-Yu Tsai
From: Philipp Tomsich Since the A80 has many cores which we intend to use in SMP fashion, we should set the SMP bit for the boot CPU. [w...@csie.org: Added commit message] Signed-off-by: Chen-Yu Tsai --- arch/arm/mach-sunxi/board.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[U-Boot] [PATCH 10/11] sunxi: Add support for A80 Optimus board

2016-10-28 Thread Chen-Yu Tsai
The A80 Optimus Board was launched with the Allwinner A80 SoC. It was jointly developed by Allwinner and Merrii. This board has a UART port, a JTAG connector, 2 USB host ports, a USB 3.0 OTG connector, an HDMI output, a micro SD slot, 16G eMMC flash, 2G DRAM, a camera sensor interface, a WiFi/BT c

[U-Boot] [PATCH 08/11] sunxi: Add support for SID e-fuses on sun9i

2016-10-28 Thread Chen-Yu Tsai
The A80 has SID e-fuses. Like other newer SoCs, the actual e-fuses are at an offset of 0x200 within the SID address space. Signed-off-by: Chen-Yu Tsai --- arch/arm/include/asm/arch-sunxi/cpu_sun9i.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-sunxi/cpu_sun9i.h

[U-Boot] [PATCH 09/11] sunxi: Add default zq value for sun9i (A80)

2016-10-28 Thread Chen-Yu Tsai
Both the A80 Optimus board and the Cubieboard 4 use a zq value of 4145117, or 0x3f3fdd. Signed-off-by: Chen-Yu Tsai --- board/sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index 5cca1eae73b3..e1d4ab148f08 100644 --- a/board/sunxi/Kcon

[U-Boot] [PATCH 07/11] sunxi: Set default CPU clock rate to 1008 MHz for sun9i (A80)

2016-10-28 Thread Chen-Yu Tsai
In Allwinner's SDK the A80 is clocked to 1008 MHz by default. Signed-off-by: Chen-Yu Tsai --- board/sunxi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index ee6ae37fb7ef..5cca1eae73b3 100644 --- a/board/sunxi/Kconfig +++ b/

[U-Boot] [PATCH 01/11] sunxi: DRAM initialisation for sun9i

2016-10-28 Thread Chen-Yu Tsai
From: Philipp Tomsich This adds DRAM initialisation code for sun9i, which calculates the appropriate timings based on timing information for the supplied DDR3 bin and the clock speeds used. With this DRAM setup, we have verified DDR3 clocks of up to 792MHz (i.e. DDR3-1600) on the A80-Q7 using a

[U-Boot] [PATCH 02/11] sunxi: add gtbus-initialisation for sun9i

2016-10-28 Thread Chen-Yu Tsai
From: Philipp Tomsich On sun9i, the GTBUS manages transaction priority and bandwidth for multiple read ports when accessing DRAM. The initialisation mirrors the settings from Allwinner's boot0 for now, even though this may not be optimal for all applications (e.g. headless systems might want to g

[U-Boot] [PATCH 00/11] sunxi: Add full SPL support for sun9i (A80)

2016-10-28 Thread Chen-Yu Tsai
Hi everyone, This series adds full SPL with DRAM initialization for sun9i (A80). The bulk of the work was done by the people at Theobroma Systems. Their work can be found here: https://git.theobroma-systems.com/armadillo-u-boot.git/ I picked the essential patches and cleaned them up a bit mo

Re: [U-Boot] [PATCH v3] efi_loader: console: Correctly report modes

2016-10-28 Thread Emmanuel Vadot
On Fri, 28 Oct 2016 11:33:19 +0200 Alexander Graf wrote: > On 10/28/2016 10:04 AM, Emmanuel Vadot wrote: > > Add support for EFI console modes. > > Mode 0 is always 80x25 and present by EFI specification. > > Mode 1 is always 80x50 and not mandatory. > > Mode 2 and above is freely usable. > > > >

Re: [U-Boot] [U-Boot, v3, 6/7] usb: ehci-atmel: Remove unnecessary clock calling

2016-10-28 Thread Andreas Bießmann
On Tue, Sep 27, 2016 at 11:00:33AM +0800, Wenyou Yang wrote: > Due to the peripheral clock driver improvement, remove the > unnecessary clock calling. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > > Changes in v3: None > Changes in v2: None > > drivers/usb/host/ehci-a

[U-Boot] [PATCH v3] pci: Move CONFIG_PCI_PNP to Kconfig

2016-10-28 Thread Tom Rini
From: Bin Meng Introduce CONFIG_PCI_PNP in Kconfig and move over boards' defconfig to use that. Signed-off-by: Bin Meng Reviewed-by: Tom Rini [trini: Re-generate configs and include/configs/ changes] Signed-off-by: Tom Rini --- configs/bamboo_defconfig | 1 + configs/gdppc44

Re: [U-Boot] [U-Boot,v2] drivers/pci/Kconfig: Add PCI

2016-10-28 Thread Tom Rini
On Wed, Oct 26, 2016 at 05:15:37PM -0400, Tom Rini wrote: > Add 'PCI' as a menu option and migrate all existing users. > > Signed-off-by: Tom Rini > Acked-by: Stephen Warren Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH v3] pci: Move CONFIG_PCI_PNP to Kconfig

2016-10-28 Thread Tom Rini
On Fri, Oct 28, 2016 at 07:13:37AM -0400, Tom Rini wrote: > From: Bin Meng > > Introduce CONFIG_PCI_PNP in Kconfig and move over boards' defconfig > to use that. > > Signed-off-by: Bin Meng > Reviewed-by: Tom Rini > [trini: Re-generate configs and include/configs/ changes] > Signed-off-by: To

Re: [U-Boot] [PATCH 1/2] arm: Set TTB XN bit in case DCACHE_OFF for LPAE mode

2016-10-28 Thread Tom Rini
On Fri, Oct 28, 2016 at 12:01:43PM +0530, Keerthy wrote: > While we setup the mmu initially we mark set_section_dcache with > DCACHE_OFF flag. In case of non-LPAE mode the DCACHE_OFF macro > is rightly defined with TTB_SECT_XN_MASK set so as to mark all the > 4GB XN. In case of LPAE mode XN(Execut

Re: [U-Boot] [PATCH 2/2] arm: cpu: armv7: omap-common: Clear XN bit in the ARMV7_DCACHE_POLICY

2016-10-28 Thread Tom Rini
On Fri, Oct 28, 2016 at 12:01:44PM +0530, Keerthy wrote: > Clear the XN bit in the ARMV7_DCACHE_POLICY so as to mark > the regions as execute okay. > > Signed-off-by: Keerthy Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH 0/6] Add ARMv8 PSCI framework

2016-10-28 Thread Tom Rini
On Wed, Sep 28, 2016 at 03:16:38PM +0800, Hongbo Zhang wrote: > On Wed, Sep 28, 2016 at 1:23 AM, Tom Rini wrote: > > On Tue, Sep 27, 2016 at 05:29:00PM +0800, macro.wav...@gmail.com wrote: > >> From: Hongbo Zhang > >> > >> This patch set introduces ARMv8 PSCI framework, all the PSCI functions are

[U-Boot] [PATCH v2 1/7] video: Kconfig: Add VIDEO_IPV3 entry

2016-10-28 Thread Jagan Teki
From: Jagan Teki Added kconfig entry for CONFIG_VIDEO_IPV3 driver. Cc: Anatolij Gustschin Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- drivers/video/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/drivers/video/Kconfig b/drivers/

[U-Boot] [PATCH v2 0/7] imx6: icorem6: Add framebuffer and I2C support

2016-10-28 Thread Jagan Teki
From: Jagan Teki This series support framebuffer and I2C on top of u-boot-imx.git with latest u-boot.git merge. Changes for v2: - Rebase on u-boot-imx.git and u-boot.git Jagan Teki (7): video: Kconfig: Add VIDEO_IPV3 entry imx6: icorem6: Add framebuffer support imx6: icorem6: Add custom s

[U-Boot] [PATCH v2 2/7] imx6: icorem6: Add framebuffer support

2016-10-28 Thread Jagan Teki
From: Jagan Teki Add IPUv3 framebuffer support for Engicam i.CoreM6 qdl board. Cc: Anatolij Gustschin Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- board/engicam/icorem6/icorem6.c | 113 +++ configs/imx6qdl_icore_

[U-Boot] [PATCH v2 3/7] imx6: icorem6: Add custom splashscreen support

2016-10-28 Thread Jagan Teki
From: Jagan Teki Add custom splashscreen, engicam.bmp support for Engicam i.CoreM6 qdl board. Cc: Anatolij Gustschin Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- include/configs/imx6qdl_icore.h | 2 ++ tools/logos/engicam.bmp | Bin 0 -> 60

[U-Boot] [PATCH v2 4/7] i2c: Kconfig: Add SYS_I2C_MXC entry

2016-10-28 Thread Jagan Teki
From: Jagan Teki Added kconfig for SYS_I2C_MXC driver. Cc: Stefano Babic Cc: Heiko Schocher Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki --- drivers/i2c/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index 15

[U-Boot] [PATCH v2 6/7] i2c: mxc: Make 'no gpio pinctrl state' print as debug

2016-10-28 Thread Jagan Teki
From: Jagan Teki Some I2C bus devicetree nodes, doesn't require to have gpio pinctrl so replace the dev_info to debug so the print never comes on the console and for bus that uses gpio pinctrl anyway have dev_err. Before: -- U-Boot> i2c dev 1 Setting bus to 1 i2c bus 1 at 0x21a4000, no gpio

[U-Boot] [PATCH v2 5/7] i2c: mxc: Print hex instead of decimal for bus address

2016-10-28 Thread Jagan Teki
From: Jagan Teki Better to print the hex value for bus address instead of decimal, for more readbility on bus addressing. Before: -- U-Boot> i2c dev 1 Setting bus to 1 i2c bus 1 at 35274752, no gpio pinctrl state. After: -- U-Boot> i2c dev 1 Setting bus to 1 i2c bus 1 at 0x21a4000, no g

[U-Boot] [PATCH v2 7/7] imx6: icorem6: Add I2C support

2016-10-28 Thread Jagan Teki
From: Jagan Teki Add I2C support for Engicam i.CoreM6 qdl board. icorem6qdl> i2c bus Bus 0: i2c@021a Bus 1: i2c@021a4000 Bus 2: i2c@021a8000 icorem6qdl> i2c dev 2 Setting bus to 2 icorem6qdl> i2c speed 10 Setting bus speed to 10 Hz icorem6qdl> i2c probe Valid chip addresses: 2C ic

Re: [U-Boot] [PATCH v9 21/23] imx6: icorem6: Add NAND support

2016-10-28 Thread Jagan Teki
On Thu, Oct 27, 2016 at 7:37 PM, Stefano Babic wrote: > On 26/10/2016 18:35, Jagan Teki wrote: >> On Wed, Oct 26, 2016 at 8:38 PM, Stefano Babic wrote: >>> Hi Jagan, >>> >>> >>> On 25/10/2016 08:23, Jagan Teki wrote: From: Jagan Teki Add NAND support for Engicam i.CoreM6 qdl board

Re: [U-Boot] [PATCH v9 21/23] imx6: icorem6: Add NAND support

2016-10-28 Thread Stefano Babic
On 28/10/2016 16:02, Jagan Teki wrote: > On Thu, Oct 27, 2016 at 7:37 PM, Stefano Babic wrote: >> On 26/10/2016 18:35, Jagan Teki wrote: >>> On Wed, Oct 26, 2016 at 8:38 PM, Stefano Babic wrote: Hi Jagan, On 25/10/2016 08:23, Jagan Teki wrote: > From: Jagan Teki > >>>

Re: [U-Boot] FSL PowerPC platform: Not able to boot Linux with ramdisk size > 100MB

2016-10-28 Thread Prabhakar Kushwaha
Thanks Scott, > -Original Message- > From: Scott Wood > Sent: Friday, October 28, 2016 10:41 AM > To: Prabhakar Kushwaha ; u- > b...@lists.denx.de; yamada.masah...@socionext.com > Cc: york sun > Subject: Re: FSL PowerPC platform: Not able to boot Linux with ramdisk size > > 100MB > > On

Re: [U-Boot] u-boot on qemu vexpress-a9

2016-10-28 Thread Nicolae Rosia
Hello, On Thu, Oct 27, 2016 at 3:00 PM, Nicolae Rosia wrote: > [0] https://bugs.launchpad.net/qemu/+bug/1579327?comments=all Booting a Linux kernel with -smp 4 works just fine, so I believe the bug is in u-boot. Thanks, Nicolae ___ U-Boot mailing list

[U-Boot] [PULL] Please pull u-boot-imx

2016-10-28 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! There are two major patchsets in this PR: - plugin support from Peng - Jagan's support for Engicam i.CoreM6 , with several move to Kconfig. The following changes since commit ebf7fff20ab8127f318b238e47a21856497bd6fe: spl: move FDT_FIXUP_PARTIT

Re: [U-Boot] [PATCH v3] drivers: usb: fsl-dt-fixup: Fix the dt for multiple USB nodes in single traversal of device tree

2016-10-28 Thread Brüns , Stefan
On Freitag, 28. Oktober 2016 01:52:26 CEST Marek Vasut wrote: [...] > > + > > +enum fdt_fsl_usb_erratum { > > + A006261, > > + A007075, > > + A007792, > > + A005697, > > + A008751, > > + FSL_USB_ERRATUM_END > > The compiler can assign completely arbitrary numbers to the enum > elements

Re: [U-Boot] [PATCH 0/8] dm: Update on serial driver progress

2016-10-28 Thread Marcel Ziswiler
On Wed, 2016-10-26 at 16:30 +, Simon Glass wrote: > Hi, > > On 21 October 2016 at 01:10, Marek Vasut wrote: > > > > On 10/21/2016 08:52 AM, Marcel Ziswiler wrote: > > > > > > Hi Simon > > > > > > On Thu, 2016-10-20 at 13:06 -0600, Simon Glass wrote: > > > > > > > > Only three serial drive

Re: [U-Boot] FSL PowerPC platform: Not able to boot Linux with ramdisk size > 100MB

2016-10-28 Thread york sun
On 10/27/2016 10:11 PM, Scott Wood wrote: > On 10/27/2016 04:27 AM, Prabhakar Kushwaha wrote: >> Hi Masahiro, >> >> I am not able to boot Linux onF PowerPC platform with ramdisk size > 100MB. >> I tried u-boot master with top commit as " >> 5ac5861c4ba851b473e6a24940b412b397627d8d ". >> >> I tried

[U-Boot] [PATCH v4] efi_loader: console: Correctly report modes

2016-10-28 Thread Emmanuel Vadot
Add support for EFI console modes. Mode 0 is always 80x25 and present by EFI specification. Mode 1 is always 80x50 and not mandatory. Mode 2 and above is freely usable. If the terminal can handle mode 1, we mark it as supported. If the terminal size is greater than mode 0 and different than mode 1

Re: [U-Boot] [PATCH v5 1/2] armv8/fsl-layerscape: fdt: fixup LS1043A rev1 GIC node

2016-10-28 Thread york sun
On 10/27/2016 02:06 AM, Wenbin song wrote: > The LS1043A rev1.1 silicon supports two types of GIC offset: 4K alignment > and 64K alignment. The bit SCFG_GIC400_ALIGN[GIC_ADDR_BIT] is used to choose > which offset will be used. If GIC_ADDR_BIT bit is set, 4K alignment is used, > or else 64K alignmen

Re: [U-Boot] FSL PowerPC platform: Not able to boot Linux with ramdisk size > 100MB

2016-10-28 Thread Masahiro Yamada
2016-10-29 0:32 GMT+09:00 york sun : > On 10/27/2016 10:11 PM, Scott Wood wrote: >> On 10/27/2016 04:27 AM, Prabhakar Kushwaha wrote: >>> Hi Masahiro, >>> >>> I am not able to boot Linux onF PowerPC platform with ramdisk size > 100MB. >>> I tried u-boot master with top commit as " >>> 5ac5861c4ba8

[U-Boot] [PATCH 01/13] imx: mx6sl: ddr: add IOM_GRP registers

2016-10-28 Thread Eric Nelson
Add IOM_GRP register definitions for i.MX6SL to allow them to be named in DDR configuration (.cfg) files. Signed-off-by: Eric Nelson --- arch/arm/include/asm/arch-mx6/mx6sl-ddr.h | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/include/asm/arch-mx6/mx6sl-ddr.h b/arch/

Re: [U-Boot] [U-Boot, 1/6] arm: at91: mpddrc: add missing MPDDRC_MD defines

2016-10-28 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >add missing MPDDRC_MD defines > >Signed-off-by: Heiko Schocher >Acked-by: Wenyou Yang >Reviewed-by: Andreas Bießmann >--- > > arch/arm/mach-at91/include/mach/atmel_mpddrc.h | 3 +++ > 1 file changed, 3 insertions(+) applied to u-boot-atmel/master, t

Re: [U-Boot] [U-Boot, v2] clk: at91: Fix at91-pmc and at91-sckc's class ID

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >The at91-pmc and at91-sckc aren't the clock providers, change their >class ID from UCLASS_CLK to UCLASS_SIMPLE_BUS, they also don't >need to bind the child nodes explicitly, the .post_bind callback >of simple_bus uclass will do it for them. > >Signed-off-by:

Re: [U-Boot] [U-Boot, 2/6] ARM: at91: clock: correct PRES offset for at91sam9x5

2016-10-28 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >on at91sam9x5 PRES offset is 4 in the PMC master >clock register. > >Signed-off-by: Heiko Schocher >Acked-by: Wenyou Yang >Acked-by: Andreas Bießmann >--- > > arch/arm/mach-at91/arm926ejs/clock.c | 6 ++ > 1 file changed, 6 insertions(+) applied

Re: [U-Boot] AT91: Correct misspelling of "redundent" in partition names

2016-10-28 Thread Andreas Bießmann
Dear "Robert P. J. Day", Robert P. J. Day writes: >Signed-off-by: Robert P. J. Day >Reviewed-by: Andreas Bießmann >--- > > given that this misspelling is being used for partition names, i >won't treat it as a normal typo, so sending a separate patch just for >this. applied to u-boot-atmel/mas

Re: [U-Boot] [U-Boot,3/6] arm, at91: add icache support

2016-10-28 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >add at least icache support for at91 based boards. >This speeds up NOR flash access on an at91sam9g15 >based board from 15.2 seconds reading 8 MiB from >a SPI NOR flash to 5.7 seconds. > >Signed-off-by: Heiko Schocher >Reviewed-by: Simon Glass >Revie

Re: [U-Boot] [U-Boot, v3, 2/7] clk: at91: Improve the clock implementation

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >For the peripheral clock, provide the clock ops for the clock >provider, such as spi0_clk. The .of_xlate is to get the clk->id, >the .enable is to enable the spi0 peripheral clock, the .get_rate >is to get the clock frequency. > >The driver for periph32ck no

Re: [U-Boot] [U-Boot, v3, 4/7] i2c: at91_i2c: Remove unnecessary clock calling

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Due to the peripheral clock driver improvement, remove the >unnecessary clock calling. > >Signed-off-by: Wenyou Yang >Reviewed-by: Heiko Schocher >--- > >Changes in v3: None >Changes in v2: None > > drivers/i2c/at91_i2c.c | 16 > 1 file cha

Re: [U-Boot] [U-Boot, v3, 5/7] i2c: at91_i2c: Change error return -ENODEV to -EINVAL

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Change the error return value -ENODEV from to -EINVAL for more >reasonable. > >Signed-off-by: Wenyou Yang >Reviewed-by: Heiko Schocher >--- > >Changes in v3: None >Changes in v2: None > > drivers/i2c/at91_i2c.c | 2 +- > 1 file changed, 1 insertion(+), 1 de

Re: [U-Boot] [U-Boot, v1] ARM: at91/dt: sama5d2: Fix the warning from dtc

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Fix the warning from dtc like, >---8< >Warning (unit_address_vs_reg): Node >/ahb/apb/pmc@f0014000/periph64ck/sdmmc0_hclk has a reg or ranges property, but >no unit name >--->8 > >Signed-off-by: Wenyou Yang >Acked-by: Stephen Warren >--- > > arch/

Re: [U-Boot] [U-Boot, v3, 1/7] clk: clk-uclass: Assign clk->dev before call .of_xlate

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >In order to make clk->dev available in ops->of_xlate() to get the >clock ID from the 'reg' property of the clock node, assign the >clk->dev before calling ops->of_xlate(). > >Signed-off-by: Wenyou Yang >Acked-by: Stephen Warren >Acked-by: Simon Glass >---

Re: [U-Boot] [U-Boot, v3, 6/7] usb: ehci-atmel: Remove unnecessary clock calling

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Due to the peripheral clock driver improvement, remove the >unnecessary clock calling. > >Signed-off-by: Wenyou Yang >Reviewed-by: Andreas Bießmann >--- > >Changes in v3: None >Changes in v2: None > > drivers/usb/host/ehci-atmel.c | 15 --- > 1

Re: [U-Boot] [U-Boot, v3, 3/7] gpio: atmel_pio4: Remove unnecessary clock calling

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Due to the peripheral clock driver improvement, remove the >unnecessary clock calling. > >Signed-off-by: Wenyou Yang >Acked-by: Stephen Warren >--- > >Changes in v3: None >Changes in v2: > - Add Acked-by tag for gpio/atmel_pio4. > > drivers/gpio/atmel_pio4

Re: [U-Boot] [U-Boot, v3, 1/2] serial: Kconfig: Add ATMEL_USART option

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Add ATMEL_USART option to support to enable the Atmel usart driver >from Kconfig. > >Signed-off-by: Wenyou Yang >Reviewed-by: Andreas Bießmann >--- > >Changes in v3: > - Collect Reviewed-by tag. > >Changes in v2: None > > drivers/serial/Kconfig | 7 +++

Re: [U-Boot] [U-Boot, v11] dm: at91: Add driver model support for the spi driver

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Add driver model support while retaining the existing legacy code. >This allows the driver to support boards that have converted to >driver model as well as those that have not. > >Signed-off-by: Wenyou Yang >Reviewed-by: Simon Glass >Acked-by: Stephen War

Re: [U-Boot] [U-Boot, v3, 7/7] mmc: atmel_sdhci: Remove unnecessary clock calling

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Due to the peripheral and generated clock driver improvement, >remove the unnecessary clock calling. > >Signed-off-by: Wenyou Yang >Reviewed-by: Jaehoon Chung >--- > >Changes in v3: > - Fix typo, unneccessary -> unnecessary. > - Add Reviewed-by tag. > >Cha

Re: [U-Boot] [U-Boot, v3, 2/2] serial: atmel_usart: Support enable an early debug UART

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Add support to enable an early debug UART for debugging. > >Signed-off-by: Wenyou Yang >Reviewed-by: Simon Glass >Reviewed-by: Andreas Bießmann >--- > >Changes in v3: > - Collect Reviewed-by tag. > >Changes in v2: > - Collect Reviewed-by tag. > > drivers/

Re: [U-Boot] [U-Boot, v3, 1/4] board: sama5d2_xplained: Move config options to defconfigs

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Move the config options from the include/configs/sama5d2_xplained.h >to configs/sama5d2_xplained_*_defconfig. > >Signed-off-by: Wenyou Yang >Reviewed-by: Andreas Bießmann >--- > >Changes in v3: > - Collect Reviewed-by tag. > >Changes in v2: None > > board/

Re: [U-Boot] [U-Boot, v3, 2/4] board: sama5d2_xplained: Clean up code

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Since the introduction of pinctrl and clk driver, and the dts file, >remove unneeded the pin configurations and the clock enabling code. > >Signed-off-by: Wenyou Yang >Reviewed-by: Simon Glass >Reviewed-by: Andreas Bießmann >--- > >Changes in v3: > - Coll

Re: [U-Boot] [U-Boot, v3, 4/4] board: sama5d2_xplained: Enable an early debug UART

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >Enable an early debug UART to debug problems when an ICE or other >debug mechanism is not available. > >Signed-off-by: Wenyou Yang >Reviewed-by: Simon Glass >Reviewed-by: Andreas Bießmann >--- > >Changes in v3: > - Collect Reviewed-by tag. > >Changes in v

Re: [U-Boot] [U-Boot, v3, 3/4] board: sama5d2_xplained: Set 'ethaddr' got from AT24MAC

2016-10-28 Thread Andreas Bießmann
Dear Wenyou Yang, Wenyou Yang writes: >If 'ethaddr' is not set, we will get the ethernet address from AT24MAC, >and set it to 'ethaddr' variable. > >Signed-off-by: Wenyou Yang >Signed-off-by: Songjun Wu >Reviewed-by: Andreas Bießmann >--- > >Changes in v3: > - Collect Reviewed-by tag. > - Rena

[U-Boot] [PULL] u-boot-atmel/master -> u-boot/master

2016-10-28 Thread Andreas Bießmann
Hi Tom, please pull the following changes into u-boot/master for 2016.11. One of the patches introduce a build warning (-Wunused-function) which is removed with the following patch. This is due to introducing the new feature, then switch to the feature and remove the old code in a two step proced

Re: [U-Boot] [PATCH 0/5] sf: Add support for status register protect

2016-10-28 Thread George McCollister
On Mon, Oct 10, 2016 at 1:57 PM, George McCollister wrote: > Many SPI NOR flash devices support status register protection through > one or two status register protection bits. Protection of the status > register is essential in defending the device from rogue software which > may attempt to modif

[U-Boot] [PATCH] imx: mx6: ddr: add register MPZQLP2CTL for LPDDR2

2016-10-28 Thread Eric Nelson
Add constants for the MPZQLP2CTL DDR register for both banks to allow setting the LPDDR2 timing values in .cfg files using a named constant instead of hex addresses as is currently done in mx6slevk and other board files. Signed-off-by: Eric Nelson --- arch/arm/include/asm/arch-mx6/mx6-ddr.h | 2

Re: [U-Boot] [PATCH 0/5] sf: Add support for status register protect

2016-10-28 Thread Jagan Teki
On Fri, Oct 28, 2016 at 10:36 PM, George McCollister wrote: > On Mon, Oct 10, 2016 at 1:57 PM, George McCollister > wrote: >> Many SPI NOR flash devices support status register protection through >> one or two status register protection bits. Protection of the status >> register is essential in d

Re: [U-Boot] [PATCH 00/11] sunxi: Add full SPL support for sun9i (A80)

2016-10-28 Thread Hans de Goede
Hi Chen-Yu, On 28-10-16 12:21, Chen-Yu Tsai wrote: Hi everyone, This series adds full SPL with DRAM initialization for sun9i (A80). The bulk of the work was done by the people at Theobroma Systems. Their work can be found here: https://git.theobroma-systems.com/armadillo-u-boot.git/ I pic

Re: [U-Boot] [PATCH] arm: dts: Pine64: add Ethernet alias

2016-10-28 Thread Jagan Teki
On Thu, Oct 27, 2016 at 2:20 AM, André Przywara wrote: > On 26/10/16 19:51, Jagan Teki wrote: > Hi, > >> On Fri, Oct 21, 2016 at 5:41 AM, Andre Przywara >> wrote: >>> The sun8i-emac driver works fine with the A64 Ethernet IP, but we are >>> missing an alias entry to trigger the driver instantiat

Re: [U-Boot] [Resend RFC PATCH 1/2] armv8: Fix dcache disable function

2016-10-28 Thread Stephen Warren
On 10/28/2016 11:38 AM, york sun wrote: On 10/26/2016 02:02 PM, york@nxp.com wrote: I came back from my testing and I have more questions than answers. For _this_ patch, I proposed to flush cache before disabling them, noting once the dcache is disabled, the staled data in dirty cache is n

[U-Boot] [PATCH] MAINTAINERS: Update Jagan's email

2016-10-28 Thread Jagan Teki
Signed-off-by: Jagan Teki --- MAINTAINERS| 2 +- doc/git-mailrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 8e67202..0bd8995 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -417,7 +417,7 @@ T: git git://git.denx.de/u-boot-sparc.git F:

Re: [U-Boot] [U-Boot, v11] dm: at91: Add driver model support for the spi driver

2016-10-28 Thread Jagan Teki
On Fri, Oct 28, 2016 at 10:19 PM, Andreas Bießmann wrote: > Dear Wenyou Yang, > > Wenyou Yang writes: >>Add driver model support while retaining the existing legacy code. >>This allows the driver to support boards that have converted to >>driver model as well as those that have not. >> >>Signed-o

Re: [U-Boot] [Resend RFC PATCH 1/2] armv8: Fix dcache disable function

2016-10-28 Thread Stephen Warren
On 10/28/2016 12:17 PM, york sun wrote: On 10/28/2016 10:57 AM, Stephen Warren wrote: On 10/28/2016 11:38 AM, york sun wrote: On 10/26/2016 02:02 PM, york@nxp.com wrote: I came back from my testing and I have more questions than answers. For _this_ patch, I proposed to flush cache before

Re: [U-Boot] [Resend RFC PATCH 1/2] armv8: Fix dcache disable function

2016-10-28 Thread york sun
On 10/28/2016 10:57 AM, Stephen Warren wrote: > On 10/28/2016 11:38 AM, york sun wrote: >> On 10/26/2016 02:02 PM, york@nxp.com wrote: >>> >>> I came back from my testing and I have more questions than answers. >>> >>> For _this_ patch, I proposed to flush cache before disabling them, >>> notin

Re: [U-Boot] [PATCH 02/11] sunxi: add gtbus-initialisation for sun9i

2016-10-28 Thread Jagan Teki
On Fri, Oct 28, 2016 at 3:51 PM, Chen-Yu Tsai wrote: > From: Philipp Tomsich > > On sun9i, the GTBUS manages transaction priority and bandwidth > for multiple read ports when accessing DRAM. The initialisation > mirrors the settings from Allwinner's boot0 for now, even though > this may not be op

  1   2   >