[U-Boot] [PATCH 1/3] armv8/ls1043aqds: fix fman ucode address to an offset in QSPI flash

2016-03-09 Thread Gong Qianyu
Modify the value as the SPI interface is changed. Signed-off-by: Gong Qianyu --- include/configs/ls1043a_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h index 7018cb5..c78ba47 100644 --- a/include/co

[U-Boot] [PATCH 2/3] deconfig: ls1043ardb_SECURE_BOOT: fix line format

2016-03-09 Thread Gong Qianyu
Signed-off-by: Gong Qianyu --- configs/ls1043ardb_SECURE_BOOT_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/ls1043ardb_SECURE_BOOT_defconfig b/configs/ls1043ardb_SECURE_BOOT_defconfig index 4004435..34f7f29 100644 --- a/configs/ls1043ardb_SECURE_BOOT_defco

[U-Boot] [PATCH 3/3] armv8/ls1043a: move CONFIG_MTD to defconfig

2016-03-09 Thread Gong Qianyu
To make it take effect to enable MTD driver model for SPI-NOR. Signed-off-by: Gong Qianyu --- configs/ls1043aqds_defconfig | 1 + configs/ls1043aqds_lpuart_defconfig | 1 + configs/ls1043aqds_nand_defconfig| 1 + configs/ls1043aqds_nor_ddr3_defconfig| 1 + configs/ls

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-03-09 Thread Qianyu Gong
Hi Jagan, > -Original Message- > From: york sun > Sent: Tuesday, March 08, 2016 12:46 AM > To: Jagan Teki ; Huan Wang ; > Qianyu Gong > Cc: u-boot@lists.denx.de; Siva Durga Prasad Paladugu ; > Stefan Roese ; Michal Simek ; Tom Rini > > Subject: Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-

[U-Boot] [PATCH 2/3] imx: mx6: correct IPU clock

2016-03-09 Thread Peng Fan
The CONFIG_IPUV3_CLK should be 26400, to i.MX6DL, it should be 19800. Signed-off-by: Peng Fan Signed-off-by: Sandor Yu Cc: Stefano Babic Cc: Fabio Estevam Cc: Peter Robinson --- include/configs/mx6sabre_common.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a

[U-Boot] [PATCH 1/3] video: ipu: avoid overflow issue

2016-03-09 Thread Peng Fan
Multiplication, as "clk->parent->rate * 16" may overflow. So use do_div to avoid such issue. Signed-off-by: Peng Fan Signed-off-by: Sandor Yu Cc: Anatolij Gustschin Cc: Stefano Babic Cc: Fabio Estevam --- drivers/video/ipu_common.c | 73 ++ 1 file

[U-Boot] [PATCH 3/3] imx: mx6: hdmi: handle overflow condition

2016-03-09 Thread Peng Fan
If HDMI_IH_FC_STAT2_OVERFLOW_MASK is set, we need to do TMDS software reset and write to clear fc_invidconf register. We need minimum 3 times to write to clear the fc_invidconf register, so choose 5 loops here. Signed-off-by: Peng Fan Signed-off-by: Sandor Yu Cc: Stefano Babic Cc: Fabio Estevam

[U-Boot] [PATCH] imx: mx6: Fix incorrect clear mmdc_ch0 handshake mask

2016-03-09 Thread Peng Fan
From: Ye Li Since the MX6UL/SL/SX only has one DDR channel, in CCM_CCDR register the bit[17] for mmdc_ch0 is reserved and its proper state should be 1. When clear this bit, the periph_clk_sel cannot be set and that CDHIPR[periph_clk_sel_busy] handshake never clears. Signed-off-by: Ye Li Signed-

Re: [U-Boot] [PATCH v2] arm: imx: Add support for GE Bx50v3 boards

2016-03-09 Thread Stefano Babic
Hi Akshay, On 08/03/2016 23:48, Akshay Bhat wrote: > Hi Stefano, > > On 01/29/2016 11:07 PM, Peng Fan wrote: >> Hi Akshay, >> >> On Fri, Jan 29, 2016 at 03:16:40PM -0500, Akshay Bhat wrote: >>> Add support for GE B450v3, B650v3 and B850v3 boards. The boards >>> are based on Advantech BA16 module

Re: [U-Boot] [PATCH v2] arm: imx: Add support for GE Bx50v3 boards

2016-03-09 Thread Stefano Babic
On 09/03/2016 00:31, Fabio Estevam wrote: > On Tue, Mar 8, 2016 at 7:48 PM, Akshay Bhat wrote: > >> If there are no further review comments, can this patch be applied in the >> next merge window (for v2016.05)? >> >> Also I have couple updates to the bx50v3.c file. Should I wait for this >> patch

[U-Boot] [PATCH 3/3] imx: print ARM clock for clocks command

2016-03-09 Thread Peng Fan
Default print ARM clock for clocks command. Test on i.MX6UL 14x14 evk board: " => clocks PLL_SYS 792 MHz PLL_BUS 528 MHz PLL_OTG 480 MHz PLL_NET 50 MHz ARM 396000 kHz " Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/cpu/armv7/mx6/clock.c | 1 +

[U-Boot] [PATCH 1/3] imx: mx6ul: skip setting ahb rate

2016-03-09 Thread Peng Fan
To i.MX6UL, default ARM rate and AHB rate is 396M and 198M, no need to set them. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/cpu/armv7/mx6/soc.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/

[U-Boot] [PATCH 2/3] imx: mx6ul configure the PMIC_STBY_REQ pin as open drain

2016-03-09 Thread Peng Fan
Configure the PMIC_STBY_REQ pin as open drain 100K according to the design team's requirement for the PMIC_STBY_REQ pin for i.MX 6UltraLite TO1.0. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/cpu/armv7/mx6/soc.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff

Re: [U-Boot] Ethernet not found on Arria 5.

2016-03-09 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi, > However there is still no ping in U-Boot. > After power reset I did: > > ># bridge disable > ># fpga load 0 > ># bridge enable > > ># md 0xff706000 1 > ff706000: 0074 <-- this means fpga is in user mode > > ># setenv ethaddr ... > ># setenv ipaddr ... > ># setenv netmask ... >

[U-Boot] [PATCH V2 0/3] imx6ul: convert to enable pinctrl/DM POWER

2016-03-09 Thread Peng Fan
V2: Only a small change: Use CONFIG_SPL_BUILD to comment out I2C to SPL, but not CONFIG_SPL for PATCH V2 3/3 This patch set is to covert to enable pinctrl driver and DM_PMIC and DM_REGULATOR for imx6ul 14x14/9x9 evk board. This patch set is only to add device tree for i.MX6UL and is just

[U-Boot] [PATCH V2 2/3] imx: mx6ul_evk: default enable device tree support

2016-03-09 Thread Peng Fan
Default enable device tree for mx6ul_14x14_evk and mx6ul_9x9_evk board. And sort the defconfig file to be in alphabet order. Enable pinctrl driver for the two boards. Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio Estevam --- configs/mx6ul_14x14_evk_defconfig | 15 ++- config

[U-Boot] [PATCH V2 3/3] imx: mx6ul_evk: convert to use Driver model for power and i2c

2016-03-09 Thread Peng Fan
Convert to use DM_PMIC/DM_REGULATOR/DM_I2C for mx6ul evk. To mx6ul_14x14_evk, there is no pmic on board, so only enable DM_I2C. Since we have PINCTRL driver and DM_I2C enabled, we could discard the pinmux setting in board file, but we can not do this, because still some dependency in arch/arm/imx-

Re: [U-Boot] [PATCH] imx: mx6: Fix incorrect clear mmdc_ch0 handshake mask

2016-03-09 Thread Stefano Babic
Hi Peng, Ye, On 09/03/2016 09:13, Peng Fan wrote: > From: Ye Li > > Since the MX6UL/SL/SX only has one DDR channel, in CCM_CCDR register > the bit[17] for mmdc_ch0 is reserved and its proper state should be 1. > When clear this bit, the periph_clk_sel cannot be set and that > CDHIPR[periph_clk_s

Re: [U-Boot] [PATCH] spl: add a new stub spl_early_board_init() for early SoC-specific setup

2016-03-09 Thread Masahiro Yamada
Hi Tom, 2016-03-09 8:23 GMT+09:00 Tom Rini : > On Tue, Mar 08, 2016 at 08:37:16PM +0900, Masahiro Yamada wrote: > >> We are generally supposed to implement SoC/board-specific SPL init >> code in spl_board_init(), but it is called after spl_init() where the >> FDT is setup and devices are bound.

Re: [U-Boot] [PATCH] spl: add a new stub spl_early_board_init() for early SoC-specific setup

2016-03-09 Thread Masahiro Yamada
Hi Simon, 2016-03-09 8:33 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 8 March 2016 at 04:37, Masahiro Yamada > wrote: >> We are generally supposed to implement SoC/board-specific SPL init >> code in spl_board_init(), but it is called after spl_init() where the >> FDT is setup and devices are

Re: [U-Boot] [PATCH] imx: mx6: Fix incorrect clear mmdc_ch0 handshake mask

2016-03-09 Thread Peng Fan
Hi Stefano, On Wed, Mar 09, 2016 at 10:47:38AM +0100, Stefano Babic wrote: >Hi Peng, Ye, > >On 09/03/2016 09:13, Peng Fan wrote: >> From: Ye Li >> >> Since the MX6UL/SL/SX only has one DDR channel, in CCM_CCDR register >> the bit[17] for mmdc_ch0 is reserved and its proper state should be 1. >>

[U-Boot] [PATCH 02/10] ti_armv7_keystone2: env: Update UBIFS image paths

2016-03-09 Thread Lokesh Vutla
From: Carlos Hernandez UBI images created by OE does not contain boot partition by default, instead kernel and dtb are placed in /boot directory inside rootfs partition. So update env commands to load files from correct location. Signed-off-by: Carlos Hernandez Signed-off-by: Lokesh Vutla ---

[U-Boot] [PATCH 00/10] ti: configs: Misc updates for config files

2016-03-09 Thread Lokesh Vutla
This series does miscellaneous updates to config files and environment variables. This depends on the TI's PMMC support on K2G SoC series posted by Nishanth Menon[1] [1] https://www.mail-archive.com/u-boot@lists.denx.de/msg204671.html Carlos Hernandez (2): ti_armv7_keystone2: env: Update UBIFS

[U-Boot] [PATCH 01/10] ti_armv7_keystone2: configs: add usb mass storage support

2016-03-09 Thread Lokesh Vutla
From: Mugunthan V N Add USB mass storage support so that kernel can be read from connected usb storage. Signed-off-by: Mugunthan V N Signed-off-by: Lokesh Vutla --- include/configs/ti_armv7_keystone2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/ti_armv7_keystone2.h b

[U-Boot] [PATCH 06/10] ti_armv7_common: env: Consolidate support for loading script and text env files

2016-03-09 Thread Lokesh Vutla
Support for loading bootscript and text env file is duplicated in all TI platforms. Add this information to DEFAULT_MMC_TI_ARGS so that it can be reused in all TI platforms. Signed-off-by: Lokesh Vutla --- include/configs/am335x_evm.h | 28 +--- include/configs/am43x

[U-Boot] [PATCH 03/10] ti_armv7_keystone2: env: Remove securedb.key.bin load

2016-03-09 Thread Lokesh Vutla
From: Carlos Hernandez securedb.key.bin is not supported so it should not be loaded by default init_ubi command. Signed-off-by: Carlos Hernandez Signed-off-by: Lokesh Vutla --- include/configs/ti_armv7_keystone2.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/c

[U-Boot] [PATCH 04/10] am335x: configs: Fix usb ether boot support

2016-03-09 Thread Lokesh Vutla
CONFIG_SPL_NET_VCI_STRING is available only with BOOTP. So if CMD_DHCP is enabled for SPL in usb ether boot, it will not pass the right vendor name and failing to download the right file. Also all the net CMD_* are not required in SPL builds. So defining these only for non-SPL builds. Reported-by:

[U-Boot] [PATCH 05/10] am43xx: configs: Enable USB commands for non usb boot also

2016-03-09 Thread Lokesh Vutla
From: Mugunthan V N With commit aee119bd70b8 ('am43xx_evm: add usb host boot support') usb commands is removed from U-boot second stage and enbaled only on USB boot config. Fixing this by enable USB commands for both USB boot and in second stage u-boot. Signed-off-by: Mugunthan V N Signed-off-b

[U-Boot] [PATCH 07/10] k2g: env: Allow use of a script and plain text env files

2016-03-09 Thread Lokesh Vutla
For development purposes, it is easier to use the env import command and plain text or script files instead of script-images. So allow u-boot to load env var from a text file or a script file. Signed-off-by: Lokesh Vutla --- include/configs/k2g_evm.h | 1 + 1 file changed, 1 insertion(+) diff -

[U-Boot] [PATCH 09/10] keystone2: env: add env script for booting with an initramfs with firmware

2016-03-09 Thread Lokesh Vutla
From: Murali Karicheri This patch updates the env script to include a initramfs with firmware loaded and provided to kernel through second argument of bootz command during boot. Defined DEFAULT_FW_INITRAMFS_BOOT_ENV to have all of the required env variables and use it in evm specific config file.

[U-Boot] [PATCH 10/10] keystone2: env: Set mmc as default boot for k2g-evm

2016-03-09 Thread Lokesh Vutla
From: Yan Liu For k2l, k2e and k2hk, ubi is set to default boot in uboot environment settings; while for k2g, mmc should be the default boot. This patch is to set mmc as default for k2g-evm Signed-off-by: Yan Liu Signed-off-by: Lokesh Vutla --- include/configs/k2e_evm.h| 1 + incl

[U-Boot] [PATCH 08/10] k2g: configs: Add support to save env in MMC

2016-03-09 Thread Lokesh Vutla
Adding support to save env in MMC on k2g platforms, as it is the preferred peripheral in saving env. Signed-off-by: Lokesh Vutla --- include/configs/k2g_evm.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/configs/k2g_evm.h b/include/configs/k2g_evm.h index ba084c1..2c70df1 10

[U-Boot] [PATCH] MIPS: pic32mzdask: use CONFIG_USE_PRIVATE_LIBGCC=y

2016-03-09 Thread Daniel Schwierzeck
MIPS EL boards should define CONFIG_USE_PRIVATE_LIBGCC=y to work with EB-only toolchains like the one from kernel.org. If one do not globally set CONFIG_USE_PRIVATE_LIBGCC=y, the build fails with: /opt/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-ld.bfd: /opt/gcc-4.9.0-nolibc/mips-linux/bin/../lib/

Re: [U-Boot] [PATCH 0/6] arm: am57xx: Add Fastboot support to AM57XX EVM

2016-03-09 Thread Sam Protsenko
On Tue, Mar 8, 2016 at 10:06 PM, Tom Rini wrote: > I think this series shows that we really need someone to step up and > spend time converting the environment options to Kconfig so that > different applications of the same board can easily tweak things they > need (ie save env on the eMMC that yo

Re: [U-Boot] [PATCH] MIPS: pic32mzdask: use CONFIG_USE_PRIVATE_LIBGCC=y

2016-03-09 Thread Purna Chandra Mandal
On 03/09/2016 04:00 PM, Daniel Schwierzeck wrote: > MIPS EL boards should define CONFIG_USE_PRIVATE_LIBGCC=y to work > with EB-only toolchains like the one from kernel.org. If one do > not globally set CONFIG_USE_PRIVATE_LIBGCC=y, the build fails with: > > /opt/gcc-4.9.0-nolibc/mips-linux/bin/mips

Re: [U-Boot] [PATCH 6/6] arm: am57xx: Keep environment in eMMC

2016-03-09 Thread Sam Protsenko
On Tue, Mar 8, 2016 at 6:42 PM, Lokesh Vutla wrote: > Any specific reason why you want this change? > Yes, I'm thinking about use case when developer uses eMMC exclusively (no SD card). In that case the environment should be stored somewhere, and that should be eMMC. In other words, once eMMC sup

[U-Boot] [GIT PULL] u-boot-mips/master

2016-03-09 Thread Daniel Schwierzeck
Hi Tom, two fixes for MIPS: - fix a build error on Travis CI for pic32mzdask board - fix cache op for toolchains not supporting __builtin_mips_cache() please consider pulling, thanks The following changes since commit deff6fb3a7790e93264292982000275e78bb12e5: malloc: remove !gd handling (201

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-03-09 Thread Marek Vasut
On 03/09/2016 02:42 AM, Phil Reid wrote: > G'day George, > > On 3/03/2016 10:57 PM, George Broz wrote: >> On 2 March 2016 at 23:11, Phil Reid wrote: >>> On 3/03/2016 2:49 PM, George Broz wrote: On 1 March 2016 at 19:49, Phil Reid wrote: > > On 2/03/2016 10:40 AM, George Broz wr

Re: [U-Boot] [PATCH] usb: Add new command to regress USB devices

2016-03-09 Thread Marek Vasut
On 03/09/2016 12:22 PM, Rajat Srivastava wrote: > This patch adds a new 'usb regress' command, that can be used to > regress test a USB device. It performs the following operations: > > 1. starts the USB device > 2. performs read/write operations > 3. stops the USB device > 4. verifies the content

Re: [U-Boot] [PATCH v2] arm: imx: Add support for GE Bx50v3 boards

2016-03-09 Thread Stefano Babic
On 29/01/2016 21:16, Akshay Bhat wrote: > Add support for GE B450v3, B650v3 and B850v3 boards. The boards > are based on Advantech BA16 module which has a i.MX6D processor. > The boards support: > - FEC Ethernet > - USB Ports > - SDHC and MMC boot > - SPI NOR > - LVDS and HDMI display > > Bas

Re: [U-Boot] [PATCH 1/2] mx7_common: Remove unexisting options

2016-03-09 Thread Stefano Babic
On 22/02/2016 22:41, Fabio Estevam wrote: > From: Fabio Estevam > > CONFIG_IMX_FIXED_IVT_OFFSET and CONFIG_FSL_CLK are not used > anywhere, so just remove them. > > Signed-off-by: Fabio Estevam > --- > include/configs/mx7_common.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/inc

Re: [U-Boot] [PATCH 2/2] mx7dsabresd: Define serial port locally

2016-03-09 Thread Stefano Babic
On 22/02/2016 22:41, Fabio Estevam wrote: > From: Fabio Estevam > > CONFIG_MXC_UART_BASE should not be defined in mx7_common.h as > the console port can vary from board to board. > > Define CONFIG_MXC_UART_BASE locally instead. > > Signed-off-by: Fabio Estevam > --- > include/configs/mx7_comm

Re: [U-Boot] [PATCH 2/3] imx: mx6ul_evk: default enable device tree support

2016-03-09 Thread Fabio Estevam
Hi Peng, On Wed, Mar 9, 2016 at 3:01 AM, Peng Fan wrote: > Default enable device tree for mx6ul_14x14_evk and > mx6ul_9x9_evk board. And sort the defconfig file to be in > alphabet order. > > Enable pinctrl driver for the two boards. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > Cc: Fabio E

Re: [U-Boot] [PATCH] mx7: Distinguish between dual and solo versions

2016-03-09 Thread Stefano Babic
On 28/02/2016 16:33, Fabio Estevam wrote: > From: Fabio Estevam > > Read the number of cores in the fuses to distinguish between > the dual and solo versions. > > Tested on a mx7d sabresd and on a mx7solo warp7. > > Signed-off-by: Fabio Estevam > --- Applied to -next, thanks ! Best regards,

[U-Boot] [PATCH] ARM: DRA7: DDR: Enable SR in Power Management Control

2016-03-09 Thread Lokesh Vutla
From: Nishanth Menon If EMIF is idle for certain amount of DDR cycles, EMIF will put the DDR in self refresh mode to save power if EMIF_PWR_MGMT_CTRL register is programmed. And also before entering suspend-resume ddr needs to be put in self-refresh. Linux kernel does not program this register be

Re: [U-Boot] [PATCH 0/6] arm: am57xx: Add Fastboot support to AM57XX EVM

2016-03-09 Thread Tom Rini
On Wed, Mar 09, 2016 at 05:35:21PM +0700, Sam Protsenko wrote: > On Tue, Mar 8, 2016 at 10:06 PM, Tom Rini wrote: > > I think this series shows that we really need someone to step up and > > spend time converting the environment options to Kconfig so that > > different applications of the same boa

Re: [U-Boot] [PATCH 6/6] arm: am57xx: Keep environment in eMMC

2016-03-09 Thread Tom Rini
On Wed, Mar 09, 2016 at 05:46:49PM +0700, Sam Protsenko wrote: > On Tue, Mar 8, 2016 at 6:42 PM, Lokesh Vutla wrote: > > Any specific reason why you want this change? > > > > Yes, I'm thinking about use case when developer uses eMMC exclusively > (no SD card). In that case the environment should

Re: [U-Boot] [PATCH] usb: Add new command to regress USB devices

2016-03-09 Thread Hans de Goede
Hi, On 09-03-16 12:28, Marek Vasut wrote: On 03/09/2016 12:22 PM, Rajat Srivastava wrote: This patch adds a new 'usb regress' command, that can be used to regress test a USB device. It performs the following operations: 1. starts the USB device 2. performs read/write operations 3. stops the US

Re: [U-Boot] [PATCH] usb: Add new command to regress USB devices

2016-03-09 Thread Marek Vasut
On 03/09/2016 01:33 PM, Rajesh Bhagat wrote: > > >> -Original Message- >> From: Marek Vasut [mailto:ma...@denx.de] >> Sent: Wednesday, March 09, 2016 4:59 PM >> To: Rajat Srivastava ; u-boot@lists.denx.de >> Cc: s...@chromium.org; Rajesh Bhagat >> Subject: Re: [PATCH] usb: Add new comman

Re: [U-Boot] [PATCH] usb: Add new command to regress USB devices

2016-03-09 Thread Marek Vasut
On 03/09/2016 01:21 PM, Hans de Goede wrote: > Hi, > > On 09-03-16 12:28, Marek Vasut wrote: >> On 03/09/2016 12:22 PM, Rajat Srivastava wrote: >>> This patch adds a new 'usb regress' command, that can be used to >>> regress test a USB device. It performs the following operations: >>> >>> 1. start

[U-Boot] hab_status & CONFIG_SECURE_BOOT - query

2016-03-09 Thread C Supriya
Hello Team ,  Am using u-boot 2015.07 version downloaded from git I have two queries 1. Which is the file to enable secure boot config in this version for imx6q SabreSD board ? (CONFIG_SECURE_BOOT) 2. When I give the u-boot command 'hab_status' in u-boot prompt, am getting "Unknown command 'hab

[U-Boot] [PATCH] usb: Add new command to regress USB devices

2016-03-09 Thread Rajat Srivastava
This patch adds a new 'usb regress' command, that can be used to regress test a USB device. It performs the following operations: 1. starts the USB device 2. performs read/write operations 3. stops the USB device 4. verifies the contents of read/write operations Sample Output: => usb regress 8100

Re: [U-Boot] Ethernet not found on Arria 5.

2016-03-09 Thread Marek Vasut
On 03/09/2016 10:22 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi, > >> However there is still no ping in U-Boot. >> After power reset I did: >> >>> # bridge disable >>> # fpga load 0 >>> # bridge enable >> >>> # md 0xff706000 1 >> ff706000: 0074 <-- this means fpga is in us

Re: [U-Boot] Ethernet not found on Arria 5.

2016-03-09 Thread Bakhvalov, Denis (Nokia - PL/Wroclaw)
Hi Marek, > Perform usual test, disable cache (dcache off) . I tried and result is still the same. UPD: I did a little trick: 1. I started ping from the board side. That made the board listen to incoming packets (calling in infinite loop eth_rx() ). 2. Started ping from PC side. 3. In this case

[U-Boot] Eeprom Configuration

2016-03-09 Thread Guy Thouret
Hello u-boot, I'm defining a new board config and have some observations about eeprom configuration I hope someone could clarify for me. There appear to be two conflicting config options: CONFIG_I2C_ENV_EEPROM_BUS and CONFIG_SYS_I2C_EEPROM_BUS What are the purpose of these two options? Could w

Re: [U-Boot] [PATCH] usb: Add new command to regress USB devices

2016-03-09 Thread Rajesh Bhagat
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Wednesday, March 09, 2016 4:59 PM > To: Rajat Srivastava ; u-boot@lists.denx.de > Cc: s...@chromium.org; Rajesh Bhagat > Subject: Re: [PATCH] usb: Add new command to regress USB devices > > On 03/09/2016 12:22 PM, R

Re: [U-Boot] [PATCH v2] arm: imx: Add support for GE Bx50v3 boards

2016-03-09 Thread Akshay Bhat
On 03/09/2016 06:47 AM, Stefano Babic wrote: On 29/01/2016 21:16, Akshay Bhat wrote: Add support for GE B450v3, B650v3 and B850v3 boards. The boards are based on Advantech BA16 module which has a i.MX6D processor. The boards support: - FEC Ethernet - USB Ports - SDHC and MMC boot - SPI

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-03-09 Thread George Broz
On 9 March 2016 at 02:55, Marek Vasut wrote: > On 03/09/2016 02:42 AM, Phil Reid wrote: >> G'day George, >> >> On 3/03/2016 10:57 PM, George Broz wrote: >>> On 2 March 2016 at 23:11, Phil Reid wrote: On 3/03/2016 2:49 PM, George Broz wrote: > > On 1 March 2016 at 19:49, Phil Reid wr

Re: [U-Boot] [PATCH v4] x86: baytrail: Configure FSP UPD from device tree

2016-03-09 Thread Stefan Roese
Hi Simon, On 09.03.2016 00:33, Simon Glass wrote: I'm currently struggling with the USB EHCI ports on my custom Bay Trail x86 board. With the current U-Boot, cloned from the MinnowMAX, only some of the USB EHCI ports are enabled / available. Here the "usb tree" output with 3

[U-Boot] [RESEND PATCH 6/7 v5] pci/layerscape: fdt: function to set msi-map entries

2016-03-09 Thread Stuart Yoder
From: Stuart Yoder msi-map properties are used to tell an OS how PCI requester IDs are mapped to ARM SMMU stream IDs. This patch defines a function to append a single msi-map entry to a given PCI controller device tree node. Signed-off-by: Stuart Yoder --- -v5: no change drivers/pci/pcie_lay

[U-Boot] [RESEND PATCH 5/7 v5] pci/layerscape: add stream ID allocator

2016-03-09 Thread Stuart Yoder
From: Stuart Yoder add a function to return the next available stream ID for PCI Signed-off-by: Stuart Yoder --- -v5: no change drivers/pci/pcie_layerscape.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/pci/pcie_layerscape.c b/drivers/pci/pcie_layerscape.c index

[U-Boot] [RESEND PATCH 1/7 v5] armv8: ls2080a: remove obsolete stream ID partitioning support

2016-03-09 Thread Stuart Yoder
From: Stuart Yoder Remove stream ID partitioning support that has been made obsolete by upstream device tree bindings that specify how representing how PCI requester IDs are mapped to MSI specifiers and SMMU stream IDs. Signed-off-by: Stuart Yoder --- -v5: no change arch/arm/cpu/armv8/fsl-lay

[U-Boot] [RESEND PATCH 4/7 v5] pci/layerscape: add support for LUT

2016-03-09 Thread Stuart Yoder
From: Stuart Yoder The per-PCI controller LUT (Look-Up-Table) is a 32-entry table that maps PCI requester IDs (bus/dev/fun) to a stream ID. This patch implements infrastructure to enable LUT initialization: -define registers offsets -add an index to 'struct ls_pcie' to track next available s

[U-Boot] [RESEND PATCH 2/7 v5] armv8: ls2080a: update stream ID partitioning info

2016-03-09 Thread Stuart Yoder
From: Stuart Yoder -update comments around how stream IDs are partitioned -stream IDs allocated to PCI are no longer divided up by controller, but are instead a contiguous range Signed-off-by: Stuart Yoder --- -v5: no change .../asm/arch-fsl-layerscape/ls2080a_stream_id.h| 55

[U-Boot] [RESEND PATCH 7/7 v5] pci/layerscape: set LUT and msi-map for discovered PCI devices

2016-03-09 Thread Stuart Yoder
From: Stuart Yoder for all PCI devices discovered in a system: -allocate a LUT (look-up-table) entry in that PCI controller -allocate a stream ID for the device -program and enable a LUT entry (maps PCI requester id to stream ID) -set the msi-map property on the controller reflecting the

Re: [U-Boot] [PATCH 1/3] armv8/ls1043aqds: fix fman ucode address to an offset in QSPI flash

2016-03-09 Thread york sun
On 03/09/2016 12:00 AM, Gong Qianyu wrote: > Modify the value as the SPI interface is changed. > > Signed-off-by: Gong Qianyu > --- > include/configs/ls1043a_common.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/configs/ls1043a_common.h > b/include/configs/l

Re: [U-Boot] [PATCH 1/2] defconfig: ls1021aqds_sdcard_qspi: Enable SPI-NOR

2016-03-09 Thread york sun
On 03/08/2016 07:04 PM, Alison Wang wrote: > As QSPI driver is supported in ls1021aqds_sdcard_qspi_defconfig, SPI-NOR > with MTD uclass, CONFIG_MTD_DATAFLASH and new flash vendor config > CONFIG_SPI_NOR_SPANSION need be enabled. > > Signed-off-by: Alison Wang > --- > configs/ls1021aqds_sdcard_qs

Re: [U-Boot] armv8: fsl-layerscape: Updating entries in Serdes Table

2016-03-09 Thread york sun
On 03/08/2016 01:16 AM, Pratiyush Mohan Srivastava wrote: > From: Pratiyush Srivastava > > The serdes protocol entries in Serdes table 1 for protocol > 0x03, 0x33, 0x35 and in Serdes table 2 for protocols 0x45 > and 0x47 are updated to reflect the entries in > current Reference Manual. > > Sign

Re: [U-Boot] [PATCH v4] x86: baytrail: Configure FSP UPD from device tree

2016-03-09 Thread Simon Glass
Hi Stefan, On 9 March 2016 at 09:15, Stefan Roese wrote: > > Hi Simon, > > On 09.03.2016 00:33, Simon Glass wrote: > > > > I'm currently struggling with the USB EHCI ports on my custom Bay > Trail x86 board. With the current U-Boot, cloned from the MinnowMAX, > only some of the US

Re: [U-Boot] [PATCH v4 04/14] SECURE BOOT: Add Secure Boot support on ls2080aqds/rdb

2016-03-09 Thread york sun
On 02/08/2016 09:27 PM, Saksham Jain wrote: > Following changes have been made to enable secure boot: > 1) Sec_init has been called in starting to initialize SEC Block (CAAM) > which will be used for Secure Boot validation later for both ls2080a qds > and rdb > 2) 64Bit address in ESBC Header has b

Re: [U-Boot] buildman for sandbox

2016-03-09 Thread Simon Glass
Hi Tom, On 8 March 2016 at 16:42, Tom Rini wrote: > On Sun, Mar 06, 2016 at 07:39:30PM -0700, Simon Glass wrote: >> Hi Joe, >> >> On 7 May 2015 at 03:17, Joe Hershberger wrote: >> > Hi Simon, >> > >> > Is there a way to make buildman compile sandbox with a non-system tool >> > chain? I've tried

Re: [U-Boot] [PATCH] usb: Add new command to regress USB devices

2016-03-09 Thread Simon Glass
Hi, On 9 March 2016 at 05:55, Marek Vasut wrote: > > On 03/09/2016 01:21 PM, Hans de Goede wrote: > > Hi, > > > > On 09-03-16 12:28, Marek Vasut wrote: > >> On 03/09/2016 12:22 PM, Rajat Srivastava wrote: > >>> This patch adds a new 'usb regress' command, that can be used to > >>> regress test a

Re: [U-Boot] [RESEND PATCH 4/7 v5] pci/layerscape: add support for LUT

2016-03-09 Thread york sun
On 03/09/2016 08:24 AM, Stuart Yoder wrote: > From: Stuart Yoder > > The per-PCI controller LUT (Look-Up-Table) is a 32-entry table > that maps PCI requester IDs (bus/dev/fun) to a stream ID. > > This patch implements infrastructure to enable LUT initialization: > -define registers offsets >

Re: [U-Boot] buildman for sandbox

2016-03-09 Thread Tom Rini
On Wed, Mar 09, 2016 at 10:43:58AM -0700, Simon Glass wrote: > Hi Tom, > > On 8 March 2016 at 16:42, Tom Rini wrote: > > On Sun, Mar 06, 2016 at 07:39:30PM -0700, Simon Glass wrote: > >> Hi Joe, > >> > >> On 7 May 2015 at 03:17, Joe Hershberger wrote: > >> > Hi Simon, > >> > > >> > Is there a wa

Re: [U-Boot] [PATCH v2 2/2] fastboot: sparse: remove unnecessary logging

2016-03-09 Thread Maxime Ripard
On Tue, Feb 09, 2016 at 11:19:11AM -0800, Steve Rae wrote: > remove logging of the 'skipped' blocks > > Signed-off-by: Steve Rae Acked-by: Maxime Ripard Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com signature.asc De

Re: [U-Boot] [PATCH v2 1/2] fastboot: sparse: fix block addressing for don't care chunk type

2016-03-09 Thread Maxime Ripard
On Tue, Feb 09, 2016 at 11:19:10AM -0800, Steve Rae wrote: > When 7bfc3b1 (sparse: Refactor chunk parsing function) was implemented, > it dropped 9981945 (aboot: fix block addressing for don't care chunk type). > > This re-implements the required fix for the "don't care chunk type"... > > Signed-

Re: [U-Boot] [PATCH] usb: Add new command to regress USB devices

2016-03-09 Thread Simon Glass
Hi Rajat, On 9 March 2016 at 04:22, Rajat Srivastava wrote: > This patch adds a new 'usb regress' command, that can be used to > regress test a USB device. It performs the following operations: > > 1. starts the USB device > 2. performs read/write operations > 3. stops the USB device > 4. verifie

Re: [U-Boot] Olimex-A20-EVB ethernet stops working with latest U-boot, works with tag v2016.01

2016-03-09 Thread Simon Glass
Hi, On 9 March 2016 at 14:04, Karsten Merker wrote: > [Olimex A20-SOM-EVB: ethernet non-functional with current u-boot > git head, but no problems with v2016.01] > > On Tue, Mar 08, 2016 at 11:54:03AM +0100, Hans de Goede wrote: >> On 25-02-16 08:31, Ing. Damiano Bolla wrote:

Re: [U-Boot] Ethernet not found on Arria 5.

2016-03-09 Thread Dinh Nguyen
On 03/09/2016 08:00 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, > >> Perform usual test, disable cache (dcache off) . > > I tried and result is still the same. > > UPD: I did a little trick: > 1. I started ping from the board side. That made the board listen to incoming > packe

[U-Boot] [PATCH 2/2] sunxi: Add defconfig and dts for colorfly e708 q1 tablet

2016-03-09 Thread Hans de Goede
The colorfly e708 q1 is a 7" tablet which is clearly marked as colorfly e708 q1 on the back. It features a 9:16 800x1280 IPS LCD, A31s SoC, 1GB RAM, 8G NAND, ilitek 2139qt004 touchscreen on i2c-1 addr 0x41, stk8313 accelerometer on i2c-2 addr 0x22 and a rtl8188etv wifi chip. The added dts is ident

[U-Boot] [PATCH 1/2] sunxi: A23: Fix some revisions needing a different magic sram poke

2016-03-09 Thread Hans de Goede
I've had this one a23 tablet which would not boot and I've finally figured out what the problem is by looking at the released boot0 code, it seems the magic sram controller poke which we need to do in s_init() depends on the revision of the a23. Specifically this change is needed to get the A23 So

Re: [U-Boot] [PATCH v5 24/30] efi_loader: Add distro boot script for removable media

2016-03-09 Thread Alexander Graf
On 04.03.16 01:10, Alexander Graf wrote: > UEFI defines a simple boot protocol for removable media. There we should look > at the EFI (first GPT FAT) partition and search for /efi/boot/bootXXX.efi with > XXX being different between different platforms (x86, x64, arm, aa64, ...). > > This patch i

Re: [U-Boot] [RESEND PATCH 4/7 v5] pci/layerscape: add support for LUT

2016-03-09 Thread Stuart Yoder
> -Original Message- > From: york sun > Sent: Wednesday, March 09, 2016 12:01 PM > To: Stuart Yoder ; u-boot@lists.denx.de > Cc: Prabhakar Kushwaha ; Yang-Leo Li > > Subject: Re: [RESEND PATCH 4/7 v5] pci/layerscape: add support for LUT > > On 03/09/2016 08:24 AM, Stuart Yoder wrote: >

Re: [U-Boot] [PATCH v5 24/30] efi_loader: Add distro boot script for removable media

2016-03-09 Thread Tom Rini
On Thu, Mar 10, 2016 at 12:05:12AM +0100, Alexander Graf wrote: > > > On 04.03.16 01:10, Alexander Graf wrote: > > UEFI defines a simple boot protocol for removable media. There we should > > look > > at the EFI (first GPT FAT) partition and search for /efi/boot/bootXXX.efi > > with > > XXX bei

[U-Boot] [PATCH v6 24/30] efi_loader: Add distro boot script for removable media

2016-03-09 Thread Alexander Graf
UEFI defines a simple boot protocol for removable media. There we should look at the EFI (first GPT FAT) partition and search for /efi/boot/bootXXX.efi with XXX being different between different platforms (x86, x64, arm, aa64, ...). This patch implements a simple version of that protocol for the d

[U-Boot] [PATCH v6 19/30] efi_loader: Add "bootefi" command

2016-03-09 Thread Alexander Graf
In order to execute an EFI application, we need to bridge the gap between U-Boot's notion of executing images and EFI's notion of doing the same. The best path forward IMHO here is to stick completely to the way U-Boot deals with payloads. You manually load them using whatever method to RAM and th

Re: [U-Boot] Ethernet not found on Arria 5.

2016-03-09 Thread Marek Vasut
On 03/09/2016 10:40 PM, Dinh Nguyen wrote: > On 03/09/2016 08:00 AM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: >> Hi Marek, >> >>> Perform usual test, disable cache (dcache off) . >> >> I tried and result is still the same. >> >> UPD: I did a little trick: >> 1. I started ping from the board sid

Re: [U-Boot] [PATCH 2/3] imx: mx6ul_evk: default enable device tree support

2016-03-09 Thread Peng Fan
Hi Fabio, On Wed, Mar 09, 2016 at 08:48:40AM -0300, Fabio Estevam wrote: >Hi Peng, > >On Wed, Mar 9, 2016 at 3:01 AM, Peng Fan wrote: >> Default enable device tree for mx6ul_14x14_evk and >> mx6ul_9x9_evk board. And sort the defconfig file to be in >> alphabet order. >> >> Enable pinctrl driver f

[U-Boot] [RESEND 2/2] stm32f746-disco: enable flash support

2016-03-09 Thread Vikas Manocha
This patch enables embedded flash for stm32f746 discovery board. Signed-off-by: Vikas Manocha --- arch/arm/include/asm/arch-stm32f7/stm32.h | 6 ++ include/configs/stm32f746-disco.h | 11 --- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/arch/arm/include/as

[U-Boot] [PATCH 1/2] stm32: stm32f4: move flash driver to mtd driver location

2016-03-09 Thread Vikas Manocha
Same flash driver can be used by other stm32 families like stm32f7. Better place for this driver would be mtd driver location. Signed-off-by: Vikas Manocha --- arch/arm/include/asm/arch-stm32f4/stm32.h | 31 ++- arch/arm/mach-stm32/stm32f4/Makefile | 2 +-

[U-Boot] [PATCH 2/2] stm32f746-disco: enable flash support

2016-03-09 Thread Vikas Manocha
This patch enables embedded flash for stm32f746 discovery board. Signed-off-by: Vikas Manocha --- arch/arm/include/asm/arch-stm32f7/stm32.h | 6 ++ include/configs/stm32f746-disco.h | 11 --- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/arch/arm/include/as

[U-Boot] [RESEND 1/2] stm32: stm32f4: move flash driver to mtd driver location

2016-03-09 Thread Vikas Manocha
Same flash driver can be used by other stm32 families like stm32f7. Better place for this driver would be mtd driver location. Signed-off-by: Vikas Manocha --- arch/arm/include/asm/arch-stm32f4/stm32.h | 31 ++- arch/arm/mach-stm32/stm32f4/Makefile | 2 +-

Re: [U-Boot] [RESEND 1/2] stm32: stm32f4: move flash driver to mtd driver location

2016-03-09 Thread Jagan Teki
On Thursday 10 March 2016 04:48 AM, Vikas Manocha wrote: Same flash driver can be used by other stm32 families like stm32f7. Better place for this driver would be mtd driver location. What kind of flash is it, parallel or serial NOR? Signed-off-by: Vikas Manocha --- arch/arm/include/asm/a

Re: [U-Boot] [RESEND 1/2] stm32: stm32f4: move flash driver to mtd driver location

2016-03-09 Thread Vikas MANOCHA
Hi Jagan , > On Mar 9, 2016, at 6:53 PM, Jagan Teki wrote: > >> On Thursday 10 March 2016 04:48 AM, Vikas Manocha wrote: >> Same flash driver can be used by other stm32 families like stm32f7. >> Better place for this driver would be mtd driver location. > > What kind of flash is it, parallel or

Re: [U-Boot] [RESEND 1/2] stm32: stm32f4: move flash driver to mtd driver location

2016-03-09 Thread jteki
On 2016-03-09 23:18, Vikas MANOCHA wrote: Hi Jagan , On Mar 9, 2016, at 6:53 PM, Jagan Teki wrote: On Thursday 10 March 2016 04:48 AM, Vikas Manocha wrote: Same flash driver can be used by other stm32 families like stm32f7. Better place for this driver would be mtd driver location. What ki

Re: [U-Boot] [PATCH] armv8/fsl-lsch2: fix sdhc clock frequency value

2016-03-09 Thread Yangbo Lu
> -Original Message- > From: york sun > Sent: Tuesday, March 08, 2016 3:07 AM > To: Yangbo Lu; u-boot@lists.denx.de > Subject: Re: [PATCH] armv8/fsl-lsch2: fix sdhc clock frequency value > > On 02/15/2016 07:03 PM, Yangbo Lu wrote: > > The eSDHC could select to use platform clock or periph