Re: [U-Boot] [PATCH v2 07/22] clock-uclass: allow disabling a peripheral clock

2016-07-28 Thread Benjamin Tietz
Hello Vikas, hello Simon, sleeping a night over this issue, I've came along with the following concept: The peripheral clocks are grouped by peripheral bus, that they are connected to. Each bus is driven by one or more set of registers, allowing up to 32 clocks to be selected. Having more than 8

Re: [U-Boot] NXP QorIQ LS1021A-IoT board support

2016-07-28 Thread Tapani
On Thu, 28 Jul 2016 17:50:56 + york sun wrote: > On 07/28/2016 10:42 AM, Tim Harvey wrote: > > Greetings, > > > > I don't see U-Boot support for the TechNexion designed/built > > LS1021A-IoT. I've got one on my desk and am still muddling through the > > overly-complicated

Re: [U-Boot] [PATCH] pwm: add MACRO to limit some code which only for rk3288

2016-07-28 Thread Doug Anderson
Hi, On Mon, Jul 11, 2016 at 7:45 PM, Kever Yang wrote: > Hi Simon, > > CC Doug for this topic. > > > On 07/12/2016 07:54 AM, Simon Glass wrote: >> >> Hi Kever, >> >> On 11 July 2016 at 00:58, Kever Yang wrote: >>> >>> Hi Simon, >>> >>> On

Re: [U-Boot] [PATCH v9] mmc: atmel_sdhci: Convert to the driver model support

2016-07-28 Thread Heiko Schocher
Hello Wenyou, Am 29.07.2016 um 02:40 schrieb Wenyou Yang: Convert the driver to the driver model 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

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

2016-07-28 Thread Heiko Schocher
Hello Wenyou, Am 29.07.2016 um 02:38 schrieb Wenyou Yang: 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

Re: [U-Boot] [RFC PATCH] i2c: i2c-uclass-compat: avoid any BSS usage

2016-07-28 Thread Heiko Schocher
Hello Vignesh, added Simon to cc... Am 28.07.2016 um 07:54 schrieb Vignesh R: On Tuesday 26 July 2016 11:53 AM, Heiko Schocher wrote: Hello Vignesh, Am 25.07.2016 um 12:56 schrieb Vignesh R: As I2C can be used before DRAM initialization for reading EEPROM, avoid using static variables

[U-Boot] [PATCH v2] cmd: gpt: fix the wrong size parse for the last partition

2016-07-28 Thread Kever Yang
The calculation of "dev_desc->lba - 34 - 1 - offset" is not correct for size '-', because both fist_usable_lba and last_usable_lba will remain 34 sectors. We can simply use 0 for size '-' because the part_efi module will decode the size and auto extend the size to maximum available size.

Re: [U-Boot] [PATCH] pwm: add MACRO to limit some code which only for rk3288

2016-07-28 Thread Kever Yang
Hi Simon, On 07/12/2016 09:12 PM, Simon Glass wrote: Hi Kever, On 11 July 2016 at 20:45, Kever Yang wrote: Hi Simon, CC Doug for this topic. On 07/12/2016 07:54 AM, Simon Glass wrote: Hi Kever, On 11 July 2016 at 00:58, Kever Yang

[U-Boot] [PATCH v2 1/2] rk3399: add basic soc driver

2016-07-28 Thread Kever Yang
This patch add driver for: - clock driver including set_rate for cpu, mmc, vop, I2C. - sysreset driver - grf syscon driver Signed-off-by: Kever Yang --- Changes in v2: - include '_SHIFT_' in '_MASK' MACRO - fix comment style - use DIV_ROUND_UP instead of div_round_up

[U-Boot] [PATCH v2 0/2] rk3399: add soc basic driver support

2016-07-28 Thread Kever Yang
This patchset add basic driver like clock, grf, sysreset for rk3399, and enable clock init in emmc driver. This patchset has tested on rk3399 evb. Changes in v2: - include '_SHIFT_' in '_MASK' MACRO - fix comment style - use DIV_ROUND_UP instead of div_round_up - use uclass_get_device_by_driver

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Ziyuan Xu
On 2016年07月29日 09:12, Tom Rini wrote: On Fri, Jul 29, 2016 at 09:06:29AM +0800, Ziyuan Xu wrote: Hi Tom, On 2016年07月29日 08:34, Tom Rini wrote: On Fri, Jul 29, 2016 at 07:34:09AM +0800, Ziyuan Xu wrote: Hi Tom, On 2016年07月29日 06:15, Tom Rini wrote: On Thu, Jul 28, 2016 at 07:03:17PM

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Tom Rini
On Fri, Jul 29, 2016 at 09:06:29AM +0800, Ziyuan Xu wrote: > Hi Tom, > > On 2016年07月29日 08:34, Tom Rini wrote: > >On Fri, Jul 29, 2016 at 07:34:09AM +0800, Ziyuan Xu wrote: > >>Hi Tom, > >> > >>On 2016年07月29日 06:15, Tom Rini wrote: > >>>On Thu, Jul 28, 2016 at 07:03:17PM +0800, Chen-Yu Tsai

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

2016-07-28 Thread Wenyou.Yang
Hi Jagan, > -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: 2016年7月26日 14:21 > To: Wenyou Yang > Cc: U-Boot Mailing List > Subject: Re: [U-Boot] [PATCH v6] dm: at91: Add driver model support for the > spi >

Re: [U-Boot] [PATCH v2 07/22] clock-uclass: allow disabling a peripheral clock

2016-07-28 Thread Benjamin Tietz
Hello Vikas, hello Simon, the new clk-API leaves me with a problem. Previously there was a seperate way to access the clock-device itself (using clk_[gs]et_rate) and the peripherals connected (clk_[gs]et_periph_rate). The former case now isn't available no more. But the system clock in STM32

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Ziyuan Xu
Hi Tom, On 2016年07月29日 08:34, Tom Rini wrote: On Fri, Jul 29, 2016 at 07:34:09AM +0800, Ziyuan Xu wrote: Hi Tom, On 2016年07月29日 06:15, Tom Rini wrote: On Thu, Jul 28, 2016 at 07:03:17PM +0800, Chen-Yu Tsai wrote: Hi, On Thu, Jul 28, 2016 at 6:13 PM, Ziyuan Xu wrote:

[U-Boot] [PATCH v9] mmc: atmel_sdhci: Convert to the driver model support

2016-07-28 Thread Wenyou Yang
Convert the driver to the driver model 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

[U-Boot] [PATCH v7] dm: at91: Add driver model support for the spi driver

2016-07-28 Thread Wenyou Yang
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 --- Changes in v7: -

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Tom Rini
On Fri, Jul 29, 2016 at 07:34:09AM +0800, Ziyuan Xu wrote: > Hi Tom, > > On 2016年07月29日 06:15, Tom Rini wrote: > >On Thu, Jul 28, 2016 at 07:03:17PM +0800, Chen-Yu Tsai wrote: > >>Hi, > >> > >>On Thu, Jul 28, 2016 at 6:13 PM, Ziyuan Xu wrote: > >>>For ARMv7-A architecture,

[U-Boot] [PATCH] mx7dsabresd: Print secure/non-secure mode info

2016-07-28 Thread Fabio Estevam
From: Fabio Estevam mx7dsabresd has two targets: - mx7dsabresd_defconfig: boots in non-secure mode - mx7dsabresd_secure_defconfig: boots in secure mode Print the mode that is being used to help users to easily identify which target is running on the board.

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Ziyuan Xu
Hi Tom, On 2016年07月29日 06:15, Tom Rini wrote: On Thu, Jul 28, 2016 at 07:03:17PM +0800, Chen-Yu Tsai wrote: Hi, On Thu, Jul 28, 2016 at 6:13 PM, Ziyuan Xu wrote: For ARMv7-A architecture, the valid ISB instruction is asm volatile("isb"). This patch fixes the U-Boot

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Tom Rini
On Thu, Jul 28, 2016 at 06:13:26PM +0800, Ziyuan Xu wrote: ` > For ARMv7-A architecture, the valid ISB instruction is asm volatile("isb"). > > This patch fixes the U-Boot was stuck in invalidate_dcache_all() before > booting linux kernel, which occurred on rk3288-base development board > such as

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Tom Rini
On Thu, Jul 28, 2016 at 07:03:17PM +0800, Chen-Yu Tsai wrote: > Hi, > > On Thu, Jul 28, 2016 at 6:13 PM, Ziyuan Xu wrote: > > For ARMv7-A architecture, the valid ISB instruction is asm volatile("isb"). > > > > This patch fixes the U-Boot was stuck in

Re: [U-Boot] [PATCH] imx: ventana: enable splashscreen support

2016-07-28 Thread Tim Harvey
On Thu, Jul 28, 2016 at 3:37 AM, Stefano Babic wrote: > > Hi Tim, > > On 15/07/2016 16:17, Tim Harvey wrote: > > Signed-off-by: Tim Harvey > > --- > > include/configs/gw_ventana.h | 7 --- > > tools/logos/gateworks.bmp| Bin 0 -> 56202 bytes > >

Re: [U-Boot] [PATCH 0/5] usb: fsl: Add code to use CONFIG_DM_USB

2016-07-28 Thread york sun
On 07/28/2016 04:34 AM, Marek Vasut wrote: > On 07/27/2016 08:00 PM, york sun wrote: >> On 07/21/2016 04:45 AM, Marek Vasut wrote: >>> On 07/21/2016 10:02 AM, Rajesh Bhagat wrote: Hi All, Any Comments? >>> >>> York, please check this. >> >> Passed compiling tests on powerpc and arm

Re: [U-Boot] [PATCH] sunxi: Add defconfig and dts file for the Orange Pi PC Plus SBC

2016-07-28 Thread Jagan Teki
On 27 July 2016 at 13:58, Ian Campbell wrote: > On Wed, 2016-07-27 at 00:28 +0200, Hans de Goede wrote: >> There is a new Orange Pi PC *Plus* version available now, >> this is an extended version of the regular Orange Pi PC >> with sdio wifi and an eMMC. >> >> The upstream

Re: [U-Boot] [PATCH] sunxi: Add defconfig and dts file for the Orange Pi PC Plus SBC

2016-07-28 Thread Jagan Teki
On 29 July 2016 at 00:09, Hans de Goede wrote: > Hi, > > > On 28-07-16 19:58, Jagan Teki wrote: >> >> On 27 July 2016 at 03:58, Hans de Goede wrote: >>> >>> There is a new Orange Pi PC *Plus* version available now, >>> this is an extended version of the

Re: [U-Boot] [PATCH] sunxi: Add defconfig and dts file for the Orange Pi PC Plus SBC

2016-07-28 Thread Hans de Goede
Hi, On 28-07-16 19:58, Jagan Teki wrote: On 27 July 2016 at 03:58, Hans de Goede wrote: There is a new Orange Pi PC *Plus* version available now, this is an extended version of the regular Orange Pi PC with sdio wifi and an eMMC. The upstream kernel devs have decided

Re: [U-Boot] [PATCH 1/4] net: sun8i_emac: Fix DMA alignment issues with the rx / tx buffers

2016-07-28 Thread Hans de Goede
Hi, On 27-07-16 19:11, Amit Tomer wrote: Hello, index 7c088c3..877859c 100644 --- a/drivers/net/sun8i_emac.c +++ b/drivers/net/sun8i_emac.c @@ -32,7 +32,8 @@ #define CONFIG_TX_DESCR_NUM32 #define CONFIG_RX_DESCR_NUM32 -#define CONFIG_ETH_BUFSIZE 2024 +#define CONFIG_ETH_BUFSIZE

Re: [U-Boot] [PATCH 3/4] sun8i: On H3 Use word 1 instead of word 3 from the SID

2016-07-28 Thread Hans de Goede
Hi, On 28-07-16 05:13, Chen-Yu Tsai wrote: Hi, On Thu, Jul 28, 2016 at 3:14 AM, Siarhei Siamashka wrote: Hello Hans, On Wed, 27 Jul 2016 18:10:34 +0200 Hans de Goede wrote: It seems that bytes 13-14 of the SID / bytes 1-2 from word 3 of

Re: [U-Boot] NXP QorIQ LS1021A-IoT board support

2016-07-28 Thread york sun
On 07/28/2016 10:42 AM, Tim Harvey wrote: > Greetings, > > I don't see U-Boot support for the TechNexion designed/built > LS1021A-IoT. I've got one on my desk and am still muddling through the > overly-complicated NXP BSP and I haven't found where they are building > U-Boot from yet or with what

Re: [U-Boot] [PATCH 4/4] sunxi: Re-enable h3 emac support

2016-07-28 Thread Jagan Teki
On 27 July 2016 at 23:55, Ian Campbell wrote: > On Wed, 2016-07-27 at 18:10 +0200, Hans de Goede wrote: >> With the recent bug fixes for the sun8i_emac driver all known issues >> are resolved, so we can re-enable the driver. >> >> While at it, also enable the emac on the

Re: [U-Boot] [PATCH] sunxi: Add defconfig and dts file for the Orange Pi PC Plus SBC

2016-07-28 Thread Jagan Teki
On 27 July 2016 at 03:58, Hans de Goede wrote: > There is a new Orange Pi PC *Plus* version available now, > this is an extended version of the regular Orange Pi PC > with sdio wifi and an eMMC. > > The upstream kernel devs have decided that they want a separate > dts for the

[U-Boot] NXP QorIQ LS1021A-IoT board support

2016-07-28 Thread Tim Harvey
Greetings, I don't see U-Boot support for the TechNexion designed/built LS1021A-IoT. I've got one on my desk and am still muddling through the overly-complicated NXP BSP and I haven't found where they are building U-Boot from yet or with what patchset. Is this board supported by perhaps a config

Re: [U-Boot] [PATCH v2 07/22] clock-uclass: allow disabling a peripheral clock

2016-07-28 Thread Benjamin Tietz
Hi Simon, On Tue, Jul 12, 2016 at 10:02:43AM -0600, Simon Glass wrote: > +Stephen > > Hi Benjamin, > > On 20 June 2016 at 12:26, Benjamin Tietz wrote: > > From: Benjamin Tietz > > > > Currently, clocks can be enabled, only. To be

Re: [U-Boot] [PATCH 2 00/22] DM: Cmd: GPIO/LED/STM32/CLK: provide command-line support for device-tree configured gpios and leds

2016-07-28 Thread Benjamin Tietz
Hi Vikas, I was an holiday and am still catching up. Apart from that I'm still working on this patchset and integrating the comments and API-changes. What I'm currently missing is to setup the frequencies directly from clk_stm32.c. When this is done, I'll send an update. regards Benjamin On

Re: [U-Boot] [PATCH 2/2] config.h: clean unused CONFIG_ENV_SPI_* if using driver model

2016-07-28 Thread york sun
On 07/27/2016 07:57 PM, Qianyu Gong wrote: > Hi York, > >> -Original Message- >> From: york sun >> Sent: Wednesday, July 27, 2016 10:55 PM >> To: Qianyu Gong ; u-boot@lists.denx.de; Simon Glass >> >> Cc: Shaohui Xie ; Zhiqiang

Re: [U-Boot] [PATCH 8/9] mmc: tegra: port to standard clock/reset APIs

2016-07-28 Thread Stephen Warren
On 07/27/2016 07:09 PM, Jaehoon Chung wrote: Hi Stephen, On 07/28/2016 06:24 AM, Stephen Warren wrote: From: Stephen Warren Tegra186 supports the new standard clock and reset APIs. Older Tegra SoCs still use custom APIs. Enhance the Tegra MMC driver so that it can operate

[U-Boot] [PATCH v2] x86: som-db5800-som-6867: fix SERIRQ on reset

2016-07-28 Thread George McCollister
Explicitly enable ILB_SERIRQ function 1 in cfio_regs_pad_ilb_serirq_PCONF0. Pad configuration for SERIRQ is not set to enable the SERIRQ function after a reset though strangely, it is on initial boot. Rebooting from Linux, reset command in u-boot and even pushing the reset button on the

[U-Boot] Inverted ARM SoC DRAM timing for self-refresh exit and power-down exit.

2016-07-28 Thread Éric Hoffman
Hello In the sdram_config.h files for the ARM SoC (Arria5 and Cyclone5): - board/altera/cyclone5-socdk/qts/sdram_config.h - board/altera/arria5-socdk/qts/sdram_config.h There are 2 values for self-refresh exit and power-down exit DRAM timing: #define

Re: [U-Boot] [PATCH] x86: som-db5800-som-6867: fix SERIRQ on reset

2016-07-28 Thread George McCollister
On Thu, Jul 28, 2016 at 1:36 AM, Bin Meng wrote: > On Thu, Jul 28, 2016 at 6:01 AM, George McCollister > wrote: >> Pad configuration for SERIRQ is not set to enable the SERIRQ function >> on soft reset though strangely, it is on initial boot. >>

[U-Boot] [PATCH] rockchip: rockchip, sdram-channel 0xff fix remaining dts

2016-07-28 Thread Sandy Patterson
Add an extra byte so that this data is not byteswapped. Signed-off-by: Sandy Patterson --- arch/arm/dts/rk3288-rock2-square.dts | 2 +- arch/arm/dts/rk3288-veyron.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH 2/2] ARM: OMAP5+: Override switch_to_hypervisor function

2016-07-28 Thread Tom Rini
On Wed, Jul 27, 2016 at 09:05:36AM +0530, Keerthy wrote: > Override the switch_to_hypervisor function to switch cpu to hypervisor > mode using the available ROM code hook early in the boot phase before > the boot loader checks for HYP mode. > > Based on the work done by Jonathan Bergsagel

Re: [U-Boot] [PATCH 1/2] ARM: Introduce function to switch to hypervisor mode

2016-07-28 Thread Tom Rini
On Wed, Jul 27, 2016 at 09:05:35AM +0530, Keerthy wrote: > On some of the SoCs one cannot enable hypervisor mode directly from the > u-boot because the ROM code puts the chip to supervisor mode after it > jumps to boot loader. Hence introduce a weak function which can be > overridden based on the

Re: [U-Boot] [PATCH 0/2] ARM: Introduce function to switch to hypervisor mode

2016-07-28 Thread Tom Rini
On Thu, Jul 28, 2016 at 02:08:10PM +0200, Marek Vasut wrote: > On 07/27/2016 05:37 AM, Keerthy wrote: > > > > > > On Wednesday 27 July 2016 09:05 AM, Keerthy wrote: > >> On SoCs like DRA7, OMAP5 one cannot enable hypervisor mode directly > >> from the > >> u-boot because the ROM code puts the

Re: [U-Boot] [PATCH 4/4] ARM: dts: dra7xx: Update spi-max-frequency for QSPI

2016-07-28 Thread Jagan Teki
On 25 July 2016 at 19:16, Vignesh R wrote: > > > On Monday 25 July 2016 07:08 PM, Tom Rini wrote: >> On Mon, Jul 25, 2016 at 03:45:47PM +0530, Vignesh R wrote: >> >>> According to AM572x DM SPRS953A, QSPI max bus speed is 76.8MHz. >>> Therefore update the spi-max-frequency value

Re: [U-Boot] [PATCH 2/4] spi: ti_qspi: dra7xx: Add support to use 76.8MHz clock

2016-07-28 Thread Jagan Teki
On 27 July 2016 at 17:40, Vignesh R wrote: > > > On Wednesday 27 July 2016 12:05 PM, Jagan Teki wrote: >> On 25 July 2016 at 15:45, Vignesh R wrote: >>> According to AM572x DM SPRS953A, QSPI bus speed can be 76.8MHz, update >>> the driver to use the same. >>>

Re: [U-Boot] [PATCH 1/2] net: fm: fix spi flash probe for using driver model

2016-07-28 Thread Jagan Teki
On 28 July 2016 at 08:06, Qianyu Gong wrote: > > >> -Original Message- >> From: york sun >> Sent: Thursday, July 28, 2016 1:35 AM >> To: Qianyu Gong ; u-boot@lists.denx.de; Prabhakar >> Kushwaha ; Mingkai Hu

Re: [U-Boot] [RFC PATCH v2 1/5] spl: dfu: add dfu support in SPL

2016-07-28 Thread Tom Rini
On Thu, Jul 28, 2016 at 04:09:10AM +, B, Ravi wrote: > Tom > > > On 27-Jul-2016, at 8:55 PM, Tom Rini wrote: > > > >> On Wed, Jul 27, 2016 at 02:04:24PM +, B, Ravi wrote: [snip] > diff --git a/common/command.c b/common/command.c index > e5d9b9c..d1c049c

[U-Boot] [PATCH v3] libfdt: Introduce new ARCH_FIXUP_FDT option

2016-07-28 Thread Michal Simek
Add new Kconfig option to disable arch_fixup_fdt() calls for cases where U-Boot shouldn't update memory setup in DTB file. One example of usage of this option is to boot OS with different memory setup than U-Boot use. Signed-off-by: Michal Simek --- Changes in v3: - Fix

[U-Boot] Netconsole hangs

2016-07-28 Thread kubiznak.petr
Hello, I would like to use netconsole instead of serial console. It works fine if the Ethernet cable is plugged in the device. The problem is that it hangs forever if the cable is unplugged, which can generally happen. Is this a normal behavior or a bug? Any workaround? (u-boot 2016.01,

[U-Boot] Disable command at runtime

2016-07-28 Thread kubiznak.petr
Hello, I wonder whether it is possible to dynamically enable/disable a command. Since u-boot does not provide any secure authentication method, it is dangerous to keep some commands available to a potential hacker. E.g. the "fuse" command. On the other hand, I need these commands during the

Re: [U-Boot] [PATCH 0/2] ARM: Introduce function to switch to hypervisor mode

2016-07-28 Thread Keerthy
Hi Marek, On Thursday 28 July 2016 05:38 PM, Marek Vasut wrote: On 07/27/2016 05:37 AM, Keerthy wrote: On Wednesday 27 July 2016 09:05 AM, Keerthy wrote: On SoCs like DRA7, OMAP5 one cannot enable hypervisor mode directly from the u-boot because the ROM code puts the chip to supervisor mode

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Sandy Patterson
Ziyuan, I tested this patch and it works for me with the current u-boot.git/master. Re the EFI support. The problem was that when you compile in efi_runtime.c it breaks booting the kernel. Probably rubbing the caching system the wrong way. With this patch we are able to boot the kernel with the

Re: [U-Boot] [PATCH v2] treewide: move CONFIG_PHYS_64BIT to Kconfig

2016-07-28 Thread B, Ravi
Masihiro-san >See, the following hunk >> diff --git a/arch/arm/cpu/armv7/omap5/Kconfig >> b/arch/arm/cpu/armv7/omap5/Kconfig >> index 4fb5ef9..a8600b1 100644 >> --- a/arch/arm/cpu/armv7/omap5/Kconfig >> +++ b/arch/arm/cpu/armv7/omap5/Kconfig >> @@ -13,6 +13,7 @@ config TARGET_OMAP5_UEVM config

Re: [U-Boot] [PATCH 0/2] ARM: Introduce function to switch to hypervisor mode

2016-07-28 Thread Marek Vasut
On 07/27/2016 05:37 AM, Keerthy wrote: > > > On Wednesday 27 July 2016 09:05 AM, Keerthy wrote: >> On SoCs like DRA7, OMAP5 one cannot enable hypervisor mode directly >> from the >> u-boot because the ROM code puts the chip to supervisor mode after it >> jumps to boot loader. >> >> Patch 1:

Re: [U-Boot] [PATCH v2 10/10] boston: Introduce support for the MIPS Boston development board

2016-07-28 Thread Marek Vasut
On 07/27/2016 04:26 PM, Paul Burton wrote: > This patch introduces support for building U-Boot to run on the MIPS > Boston development board. This is a board built around an FPGA & an > Intel EG20T Platform Controller Hub, used largely as part of the > development of new CPUs and their software

[U-Boot] [RFC PATCH v3 4/5] dra7x: boot: add dfu bootmode support

2016-07-28 Thread Ravi Babu
This patch enables the DFU boot mode support for dra7x platform. Signed-off-by: Ravi Babu Reviewed-by: Tom Rini --- arch/arm/cpu/armv7/omap-common/boot-common.c |5 + arch/arm/include/asm/arch-omap5/spl.h|2 +- common/spl/spl.c

[U-Boot] [RFC PATCH v3 5/5] dra7x: configs: enable SPL-DFU support

2016-07-28 Thread Ravi Babu
This patch enables the SPL-DFU support for dra7x platform. Signed-off-by: Ravi Babu Reviewed-by: Tom Rini --- include/configs/dra7xx_evm.h | 20 +++- include/configs/ti_omap5_common.h |2 -- 2 files changed, 19 insertions(+), 3

[U-Boot] [RFC PATCH v3 3/5] spl: dfu: adding dfu support functions for SPL-DFU

2016-07-28 Thread Ravi Babu
Adding support functions to run dfu spl commands. Signed-off-by: Ravi Babu Reviewed-by: Tom Rini --- common/spl/Makefile |1 + common/spl/spl_dfu.c | 57 ++ include/spl.h|8 +++ 3 files

[U-Boot] [RFC PATCH v3 2/5] common: dfu: saperate the dfu common functionality

2016-07-28 Thread Ravi Babu
The cmd_dfu functionality is been used by both SPL and u-boot, saperating the core dfu functionality moving it to common/dfu.c. Signed-off-by: Ravi Babu Reviewed-by: Tom Rini --- cmd/dfu.c | 61 ++ common/Makefile

[U-Boot] [RFC PATCH v3 1/5] spl: dfu: add dfu support in SPL

2016-07-28 Thread Ravi Babu
Traditionally the DFU support is available only as part 2nd stage boot loader(u-boot) and DFU is not supported in SPL. The SPL-DFU feature is useful for boards which does not have MMC/SD, ethernet boot mechanism to boot the board and only has USB inteface. This patch add DFU support in SPL with

[U-Boot] [RFC PATCH v3 0/5] SPL: DFU Support in SPL

2016-07-28 Thread Ravi Babu
Traditionally the DFU support is available only as part 2nd stage boot loader(u-boot) and DFU is not supported in SPL. The SPL-DFU feature is useful for boards which does not have MMC/SD, ethernet boot mechanism to boot the board and only has USB inteface. This patch add DFU support in SPL with

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Ziyuan Xu
Hi Alexander, On 2016年07月28日 18:39, Alexander Graf wrote: On 07/28/2016 12:13 PM, Ziyuan Xu wrote: For ARMv7-A architecture, the valid ISB instruction is asm volatile("isb"). This patch fixes the U-Boot was stuck in invalidate_dcache_all() before booting linux kernel, which occurred on

[U-Boot] [PATCH] configs: am43xx_evm_defconfig: Enable CONFIG_SPI_FLASH_BAR

2016-07-28 Thread Vignesh R
AM437x SK and AM437x IDK EVMs have 64MB flash, therefore enable CONFIG_SPI_FLASH_BAR to access flash regions above 16MB. Signed-off-by: Vignesh R --- configs/am43xx_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am43xx_evm_defconfig

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

2016-07-28 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx (master), thanks! The following changes since commit 19ce924ff914f315dc2fdf79f357825c513aed6e: Prepare v2016.07 (2016-07-11 15:01:01 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git master for you to fetch changes up

Re: [U-Boot] [PATCH v2] arm: imx: Add support for Advantech DMS-BA16 board

2016-07-28 Thread Stefano Babic
Hi Akshay, On 28/07/2016 12:12, Stefano Babic wrote: > Hi Akshay, > > this looks good to me. I apply it, and I let you think about an upgrade > to SPL for this board. > The patch breaks most of i.MX6 boards because it redefines IMX_CONFIG. In fact: >> source "board/ge/bx50v3/Kconfig" >>

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Ziyuan Xu
Hi, On 2016年07月28日 19:03, Chen-Yu Tsai wrote: Hi, On Thu, Jul 28, 2016 at 6:13 PM, Ziyuan Xu wrote: For ARMv7-A architecture, the valid ISB instruction is asm volatile("isb"). This patch fixes the U-Boot was stuck in invalidate_dcache_all() before booting linux

Re: [U-Boot] [PATCH v2] treewide: move CONFIG_PHYS_64BIT to Kconfig

2016-07-28 Thread Masahiro Yamada
2016-07-28 17:18 GMT+09:00 B, Ravi : > Masahiro-san > >>#if !defined(CONFIG_PPC_P5020) && !defined(CONFIG_PPC_P5040) #error Must >>call Cyrus CONFIG with a specific CPU enabled. >>#endif >>diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h >>index

Re: [U-Boot] [PATCH 0/5] usb: fsl: Add code to use CONFIG_DM_USB

2016-07-28 Thread Marek Vasut
On 07/27/2016 08:00 PM, york sun wrote: > On 07/21/2016 04:45 AM, Marek Vasut wrote: >> On 07/21/2016 10:02 AM, Rajesh Bhagat wrote: >>> Hi All, >>> >>> Any Comments? >> >> York, please check this. > > Passed compiling tests on powerpc and arm platforms. And the patches are OK ? > York > >>

Re: [U-Boot] [PATCH v2] treewide: move CONFIG_PHYS_64BIT to Kconfig

2016-07-28 Thread B, Ravi
Masahiro-san >>>#if !defined(CONFIG_PPC_P5020) && !defined(CONFIG_PPC_P5040) #error Must >>>call Cyrus CONFIG with a specific CPU enabled. >>>#endif >>>diff --git a/include/configs/dra7xx_evm.h >>>b/include/configs/dra7xx_evm.h index 0d51aeb..a11b692 100644 >>>---

Re: [U-Boot] Please pull u-boot-dm

2016-07-28 Thread Tom Rini
On Wed, Jul 27, 2016 at 08:24:17PM -0600, Simon Glass wrote: > Hi Tom, > > Here is a new power domain uclass, the rest of the MMC conversion > (moving over zynq and socfpga) and a few other dm improvements. > > The following changes since commit 0b6699ad8ea95803d7ce40d1dc1caea902a6d22c: > >

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Chen-Yu Tsai
Hi, On Thu, Jul 28, 2016 at 6:13 PM, Ziyuan Xu wrote: > For ARMv7-A architecture, the valid ISB instruction is asm volatile("isb"). > > This patch fixes the U-Boot was stuck in invalidate_dcache_all() before > booting linux kernel, which occurred on rk3288-base development

Re: [U-Boot] [PATCH] MAINTAINERS: i.MX: Add board/freescale/*mx* path

2016-07-28 Thread Stefano Babic
Hi Fabio, On 27/07/2016 02:27, Fabio Estevam wrote: > From: Fabio Estevam > > Pass the board/freescale/*mx*/ path as files maintained by Stefano > Babic. > > While this is not ideal and does not cover all the i.MX board cases, > it gives at least a better hint for the

Re: [U-Boot] [PATCH] mx7dsabresd: MAINTAINERS: Add mx7dsabresd_secure_defconfig

2016-07-28 Thread Stefano Babic
On 27/07/2016 02:08, Fabio Estevam wrote: > From: Fabio Estevam > > Add an entry for the mx7dsabresd_secure_defconfig target. > > Signed-off-by: Fabio Estevam > --- > board/freescale/mx7dsabresd/MAINTAINERS | 1 + > 1 file changed, 1 insertion(+)

Re: [U-Boot] [PATCH] mx7_common: initialize generic timer on all CPU's

2016-07-28 Thread Stefano Babic
On 26/07/2016 19:35, Stefan Agner wrote: > Hi Max, > > On 2016-07-26 02:31, Max Krummenacher wrote: >> Hi Stefan >> >>> From: Stefan Agner [mailto:ste...@agner.ch] >>> Sent: Dienstag, 26. Juli 2016 07:58 >>> >>> Use CONFIG_TIMER_CLK_FREQ to let the non-secure init code initialize the >>> generic

Re: [U-Boot] [PATCH] mx6ul_14x14_evk: Remove unused define

2016-07-28 Thread Stefano Babic
On 25/07/2016 18:45, Diego Dorta wrote: > Remove unused define constant. > > Signed-off-by: Diego Dorta > --- > board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c >

Re: [U-Boot] [PATCH 5/5] cgtqmx6eval: Remove uneeded PHYS_SDRAM_SIZE

2016-07-28 Thread Stefano Babic
On 23/07/2016 18:23, Fabio Estevam wrote: > From: Fabio Estevam > > cgtqmx6eval uses the imx_ddr_size() function to calculate the DDR size in > runtime, so there is no need to define PHYS_SDRAM_SIZE. > > Remove the unneeded definition. > > Cc: Otavio Salvador

Re: [U-Boot] [PATCH 4/5] novena: Remove uneeded PHYS_SDRAM_SIZE

2016-07-28 Thread Stefano Babic
On 23/07/2016 18:23, Fabio Estevam wrote: > From: Fabio Estevam > > novena uses the imx_ddr_size() function to calculate the DDR size in > runtime, so there is no need to define PHYS_SDRAM_SIZE. > > Remove the unneeded definition. > > Cc: Marek Vasut >

Re: [U-Boot] [PATCH 3/5] bx50v3: Use imx_ddr_size() for calculating the DDR size

2016-07-28 Thread Stefano Babic
On 23/07/2016 18:23, Fabio Estevam wrote: > From: Fabio Estevam > > imx_ddr_size() can be used to calculate the DDR size in runtime. > > By using this function we no longer need to define PHYS_SDRAM_SIZE. > > Cc: Martin Donnelly > Signed-off-by:

Re: [U-Boot] [PATCH 2/5] aristainetos: Use imx_ddr_size() for calculating the DDR size

2016-07-28 Thread Stefano Babic
On 23/07/2016 18:23, Fabio Estevam wrote: > From: Fabio Estevam > > imx_ddr_size() can be used to calculate the DDR size in runtime. > > By using this function we no longer need to define PHYS_SDRAM_SIZE. > > Cc: Heiko Schocher > Signed-off-by: Fabio

Re: [U-Boot] [PATCH 1/5] warp: Use imx_ddr_size() for calculating the DDR size

2016-07-28 Thread Stefano Babic
On 23/07/2016 18:23, Fabio Estevam wrote: > From: Fabio Estevam > > imx_ddr_size() can be used to calculate the DDR size in runtime. > > By using this function we no longer need to define PHYS_SDRAM_SIZE. > > Signed-off-by: Fabio Estevam > --- >

Re: [U-Boot] [PATCH] warp7: Move some USB configuration options to defconfig

2016-07-28 Thread Stefano Babic
On 22/07/2016 20:29, Breno Lima wrote: > Currently it's recommended to move some configuration options to the > defconfig file. > > Move some USB related options to the defconfig file. > > Signed-off-by: Breno Lima > --- > configs/warp7_defconfig | 6 ++ >

Re: [U-Boot] [PATCH v3] colibri_imx7: add Colibri iMX7S/iMX7D module support

2016-07-28 Thread Stefano Babic
Hi Stefan, sorry for delay: On 21/07/2016 06:27, Stefan Agner wrote: > From: Stefan Agner > > This commit adds support for the Toradex Computer on Modules > Colibri iMX7S/iMX7D. The two modules/SoC's are very similar hence > can be easily supported by one board. The

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Alexander Graf
On 07/28/2016 12:13 PM, Ziyuan Xu wrote: For ARMv7-A architecture, the valid ISB instruction is asm volatile("isb"). This patch fixes the U-Boot was stuck in invalidate_dcache_all() before booting linux kernel, which occurred on rk3288-base development board such as evb-rk3288, rock2-rk3288.

Re: [U-Boot] [PATCH 1/3] wandboard: Replace is_cpu_type() for macro

2016-07-28 Thread Stefano Babic
On 22/07/2016 14:11, Breno Lima wrote: > It's not necessary to use the is_cpu_type function, there is a macro in > sys_proto.h already implemented. > > Signed-off-by: Breno Lima > --- > board/wandboard/wandboard.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >

Re: [U-Boot] [PATCH 3/3] cgtqmx6eval: Replace is_mx6q() for macro

2016-07-28 Thread Stefano Babic
On 22/07/2016 14:12, Breno Lima wrote: > It's not necessary to implement the is_mx6q function, there is a macro in > sys_proto.h already implemented. > > Signed-off-by: Breno Lima > --- > board/congatec/cgtqmx6eval/cgtqmx6eval.c | 14 +++--- > 1 file changed, 3

Re: [U-Boot] [PATCH 2/3] mx6cuboxi: Replace is_mx6q() for macro

2016-07-28 Thread Stefano Babic
On 22/07/2016 14:11, Breno Lima wrote: > It's not necessary to implement the is_mx6q function, there is a macro in > sys_proto.h already implemented. > > Signed-off-by: Breno Lima > --- > board/solidrun/mx6cuboxi/mx6cuboxi.c | 12 ++-- > 1 file changed, 2

Re: [U-Boot] [PATCH] imx: ventana: enable splashscreen support

2016-07-28 Thread Stefano Babic
Hi Tim, On 15/07/2016 16:17, Tim Harvey wrote: > Signed-off-by: Tim Harvey > --- > include/configs/gw_ventana.h | 7 --- > tools/logos/gateworks.bmp| Bin 0 -> 56202 bytes > 2 files changed, 4 insertions(+), 3 deletions(-) > create mode 100644

Re: [U-Boot] [PATCH v2 0/8] basic rockchip rk3188 support

2016-07-28 Thread Heiko Stübner
Hi Simon, Am Mittwoch, 27. Juli 2016, 21:42:47 schrieb Simon Glass: > On 22 July 2016 at 15:51, Heiko Stuebner wrote: > > Second version. Simon already applied the cleanup patches from my > > first version. I've tried to address Simons comments and hopefully > > haven't

Re: [U-Boot] [PATCH 0/2] imx: ventana: add dt fixup for watchdog external reset

2016-07-28 Thread Stefano Babic
On 15/07/2016 16:16, Tim Harvey wrote: > Tim Harvey (2): > imx: ventana: refactor board-specific dt fixups (no functional change) > imx: ventana: add dt fixup for watchdog external reset > > board/gateworks/gw_ventana/gw_ventana.c | 192 > > 1 file changed,

Re: [U-Boot] [PATCH] imx: ventana: re-enable late board info display

2016-07-28 Thread Stefano Babic
On 29/06/2016 17:58, Tim Harvey wrote: > 3b1f681131149b5f62602f582a7e60b0185a2a49 caused a regression that removes > board info dispaly for Gateworks Ventana boards because it made the invalid > assumption that CONFIG_DISPLAY_BOARDINFO_LATE was the same thing as > CONFIG_DISPLAY_BOARDINFO. > >

Re: [U-Boot] [PATCH 2/2] imx: ventana: add dt fixup for eth1 mac-address

2016-07-28 Thread Stefano Babic
On 17/06/2016 15:10, Tim Harvey wrote: > Ventana boards with a PCI Marvell Sky2 GigE MAC require the MAC address to > be placed in a DT node in order for the mainline linux driver to obtain it. > > Signed-off-by: Tim Harvey > --- Applied to u-boot-imx, thanks ! Best

Re: [U-Boot] [PATCH 1/2] imx: ventana: add dt fixup for GW16082 irq mapping

2016-07-28 Thread Stefano Babic
On 17/06/2016 15:10, Tim Harvey wrote: > The GW16082 mini-PCI expansion mezzanine uses a TI XIO2001 PCIe-to-PCI > bridge with legacy INTA/B/C/D interrupts. These interrupts are assigned > in the reverse order according to the PCI spec. > > If the TI bridge is found on the Ventana PCI bus, add

Re: [U-Boot] [PATCH 1/2] pci: allow disabling of pci init/enum via env

2016-07-28 Thread Stefano Babic
On 17/06/2016 15:20, Tim Harvey wrote: > Signed-off-by: Tim Harvey > --- > drivers/pci/pci.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c > index 4b73a0f..6b36c18 100644 > --- a/drivers/pci/pci.c > +++

Re: [U-Boot] [PATCH 2/2] imx: ventana: default pci to disabled

2016-07-28 Thread Stefano Babic
On 17/06/2016 15:20, Tim Harvey wrote: > The IMX6 PCIe host controller does not have a proper reset and as such there > are several issues that can arise if PCI is enabled in the bootloader follwed > by Linux trying to re-configure LTSSM and/or toggling PERST# to the devices. > > For now, the

Re: [U-Boot] [PATCH 0/4] make rs232 and dio board-specific

2016-07-28 Thread Stefano Babic
On 15/07/2016 16:14, Tim Harvey wrote: > The Ventana U-Boot target supports a family of IMX6 based boards (6 boards > currently) which have a variety of features. Make RS232 and the number of > digital IO's baseboard specific. > > Tim Harvey (4): > imx: ventana: make RS232 enable board specific

Re: [U-Boot] [PATCH 1/2] board: tbs2910: always enable usbkbd

2016-07-28 Thread Stefano Babic
On 27/07/2016 16:07, Soeren Moch wrote: > 'usb start' is much faster now, so always enable usb keyboard > > Signed-off-by: Soeren Moch > --- > Cc: Stefano Babic > Cc: u-boot@lists.denx.de > --- > include/configs/tbs2910.h | 13 ++--- > 1 file changed, 6

Re: [U-Boot] [PATCH 2/2] board: tbs2910: fix HDMI pre-console buffer

2016-07-28 Thread Stefano Babic
On 27/07/2016 16:07, Soeren Moch wrote: > HDMI output must be enabled very early to also enable the pre-console buffer > > Signed-off-by: Soeren Moch > --- > Cc: Stefano Babic > Cc: u-boot@lists.denx.de > --- > include/configs/tbs2910.h | 4 +++- > 1 file changed,

[U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-28 Thread Ziyuan Xu
For ARMv7-A architecture, the valid ISB instruction is asm volatile("isb"). This patch fixes the U-Boot was stuck in invalidate_dcache_all() before booting linux kernel, which occurred on rk3288-base development board such as evb-rk3288, rock2-rk3288. And something output via console like: =>

Re: [U-Boot] [PATCH v2] arm: imx: Add support for Advantech DMS-BA16 board

2016-07-28 Thread Stefano Babic
Hi Akshay, this looks good to me. I apply it, and I let you think about an upgrade to SPL for this board. Best regards, Stefano Babic On 21/07/2016 16:29, Akshay Bhat wrote: > Add support for Advantech DMS-BA16 board. The board is based on Advantech > BA16 module which has a i.MX6D processor.

  1   2   >