Re: [U-Boot] [PATCH 3/3] driver: net: cpsw: add support for RGMII id mode support and RMII clock source selection

2016-10-12 Thread Mugunthan V N
On Thursday 13 October 2016 09:39 AM, Lokesh Vutla wrote: > > > On Monday 10 October 2016 06:27 PM, Mugunthan V N wrote: >> cpsw driver supports only selection of phy mode in control module >> but control module has more setting like RGMII ID mode selection, >> RMII clock source selection. So

Re: [U-Boot] [PATCH 3/3] driver: net: cpsw: add support for RGMII id mode support and RMII clock source selection

2016-10-12 Thread Lokesh Vutla
On Monday 10 October 2016 06:27 PM, Mugunthan V N wrote: > cpsw driver supports only selection of phy mode in control module > but control module has more setting like RGMII ID mode selection, > RMII clock source selection. So ported to cpsw-phy-sel driver > from kernel to u-boot. > >

Re: [U-Boot] [PATCH 3/3] ti: common: board_detect: Return a valid empty string for un-initialized eeprom

2016-10-12 Thread Lokesh Vutla
On Tuesday 11 October 2016 11:09 PM, Nishanth Menon wrote: > Current logic for query of revision, board_name, config returns > NULL. Users of these functions do a direct strncmp to compare. > Unfortunately, as per conventions require two valid strings to compare > against and the current

Re: [U-Boot] [PATCH 2/3] ti: common: board_detect: Setup initial default value for config as well

2016-10-12 Thread Lokesh Vutla
On Tuesday 11 October 2016 11:09 PM, Nishanth Menon wrote: > config should have been initialized along with others as defaults. > > Signed-off-by: Nishanth Menon Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > board/ti/common/board_detect.c |

Re: [U-Boot] [PATCH 1/3] ti: common: board_detect: Replace hardcoded value with macro

2016-10-12 Thread Lokesh Vutla
On Tuesday 11 October 2016 11:09 PM, Nishanth Menon wrote: > We should have used TI_DEAD_EEPROM_MAGIC in the first place. > > Fixes: d3b98a9eb941 ("ti: common: dra7: Add standard access for board > description EEPROM") > Signed-off-by: Nishanth Menon Reviewed-by: Lokesh Vutla

[U-Boot] [PATCH v2 5/6] Define/Move CONFIG_CMD_BMP to defconfig

2016-10-12 Thread Jagan Teki
From: Jagan Teki - Add CMD_BMP kconfig entry - Move CONFIG_CMD_BMP from include/configs to configs Cc: Tom Rini Cc: Anatolij Gustschin Signed-off-by: Jagan Teki --- cmd/Kconfig

[U-Boot] [PATCH v2 6/6] defconfig: icorem6: Enable CONFIG_CMD_BMP

2016-10-12 Thread Jagan Teki
From: Jagan Teki Add CONFIG_CMD_BMP to display bmp format images. Cc: Anatolij Gustschin Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Jagan Teki

[U-Boot] [PATCH v2 4/6] imx6: icorem6: Add custom splashscreen support

2016-10-12 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

[U-Boot] [PATCH v2 3/6] imx6: icorem6: Add framebuffer support

2016-10-12 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:

[U-Boot] [PATCH v2 2/6] Move CONFIG_VIDEO_IPUV3 to defconfig

2016-10-12 Thread Jagan Teki
Move CONFIG_VIDEO_IPUV3 from include/configs to configs Cc: Tom Rini Cc: Stefano Babic Signed-off-by: Jagan Teki --- configs/aristainetos2_defconfig | 1 + configs/aristainetos2b_defconfig | 1 + configs/aristainetos_defconfig

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

2016-10-12 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

[U-Boot] [PATCH v2 0/6] imx6: icorem6: Add framebuffer support

2016-10-12 Thread Jagan Teki
On top of u-boot-imx/master engicam patches. - Add framebuffer support - Add CMD_BMP and VIDEO_IPV3 kconfig entries - Move CONFIG_CMD_BMP and CONFIG_VIDEO_IPUV3 to defconfigs Jagan Teki (6): video: Kconfig: Add VIDEO_IPV3 entry Move CONFIG_VIDEO_IPUV3 to defconfig imx6: icorem6: Add

[U-Boot] [PATCH v2 2/2] pinctrl: pinctrl-at91: Add pinctrl driver

2016-10-12 Thread Wenyou Yang
AT91 PIO controller is a combined gpio-controller, pin-mux and pin-config module. The peripheral's pins are assigned through per-pin based muxing logic. Each soc will have to describe the SoC limitation and pin configuration via DT. This will allow to do not need to touch the C code when adding

[U-Boot] [PATCH v2 0/2] pinctrl: at91: Add pinctrl driver

2016-10-12 Thread Wenyou Yang
The purpose of this patch set is to add the pinctrl driver for AT91 PIO controller. Changes in v2: - Add more information for the PINCTRL_AT91 option's help. - Add more comments for the callback of struct at91_pinctrl_mux_ops. - Use clrsetbits_le32() in set_drive_strength(). - Add the

[U-Boot] [PATCH v2 1/2] gpio: at91_gpio: Remove CPU_HAS_PIO3 macro

2016-10-12 Thread Wenyou Yang
The intention of this patch is the preparation to introduce the pinctrl driver for AT91 PIO. Use "union" to make the PIO3 and PIO2's registers be together and make their offset aligned. Signed-off-by: Wenyou Yang --- Changes in v2: None

[U-Boot] [PATCH] mmc: sdhci: fix the "misaligned operation at range" for cache

2016-10-12 Thread Jaehoon Chung
This pathc is fixed the below thing. If misaligned the cache range, Just flush to CACHLINE_SIZE. "CACHE: Misaligned operation at range [7ae55b00, 7ae55b08]" Signed-off-by: Jaehoon Chung --- drivers/mmc/sdhci.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-12 Thread Jaehoon Chung
On 10/13/2016 02:49 AM, Alexandr Bochkarev wrote: > I decided to check how linux kernel init emmc on marsboard, which i boot from > SD card > And i found, that it inited only in 1-bit mode, is it normal? it works, i can > edit files on it Well, it's not normal. It's possible to use only 1bit

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-12 Thread Jaehoon Chung
On 10/12/2016 11:03 PM, Alexandr Bochkarev wrote: > >> >> define debug() in your mmc driver..or enable CONFIG_DEBUG..then you can see >> all debug message. >> > > When i define CONFIG_DEGUB, u-boot binary size is to large for a20 sram > I have tried to disable unused features in config, but its

Re: [U-Boot] [PATCH v4 11/11] x86: Use binman all x86 boards

2016-10-12 Thread Bin Meng
Hi Simon, On Thu, Oct 13, 2016 at 8:04 AM, Simon Glass wrote: > Hi Bin, > > On 6 October 2016 at 14:59, Simon Glass wrote: >> Change x86 boards to use binman to produce the ROM. This involves adding the >> image definition to the device tree and using it in

Re: [U-Boot] Pull request, u-boot-tegra/master

2016-10-12 Thread Tom Rini
On Mon, Oct 10, 2016 at 01:55:22PM -0700, Tom Warren wrote: > Tom, > > Please pull u-boot-tegra/master into U-Boot/master. Thanks! > > All Tegra builds are OK, and Stephen's automated test system reports that > all tests pass. > > The following changes since commit

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

2016-10-12 Thread Tom Rini
On Wed, Oct 12, 2016 at 11:04:12AM +0800, Bin Meng wrote: > Hi Tom, > > The following changes since commit f5fd45ff64e28a73499548358e3d1ceda0de7daf: > > Merge branch 'master' of git://www.denx.de/git/u-boot-imx > (2016-10-08 09:33:37 -0400) > > are available in the git repository at: > >

Re: [U-Boot] pull request: u-boot-uniphier/master

2016-10-12 Thread Tom Rini
On Mon, Oct 10, 2016 at 10:14:26AM +0900, Masahiro Yamada wrote: > Hi Tom. > > Please pull some more UniPhier updates: > > - Various SoC specpfic updates (DRAM, PLL, errata) > - Minor cleanups > - Add UniPhier reset controller driver > > Note: > I am touching include/reset-uclass.h by >

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

2016-10-12 Thread Tom Rini
On Mon, Oct 10, 2016 at 10:17:16AM +0200, Hans de Goede wrote: > Hi Tom, > > Here is a small pull-req for v2016.11, consisting > of 2 small DRAM handling bug-fixes. > > The following changes since commit f5fd45ff64e28a73499548358e3d1ceda0de7daf: > > Merge branch 'master' of

Re: [U-Boot] Please pull u-boot-marvell/master

2016-10-12 Thread Tom Rini
On Sun, Oct 09, 2016 at 11:05:10AM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the DS109 board support. Its an updated version - the > original patches have been sent to the list quite some time ago. > > Thanks, > Stefan > > The following changes since commit

Re: [U-Boot] Please pull fsl-qoriq master

2016-10-12 Thread Tom Rini
On Sat, Oct 08, 2016 at 05:11:44PM +, york sun wrote: > Tom, > > The following changes since commit 53fec162061811a73c7dab3207f8fdb2343ae289: > >Prepare v2016.11-rc1 (2016-10-03 09:28:13 -0400) > > are available in the git repository at: > >git://git.denx.de/u-boot-fsl-qoriq.git >

[U-Boot] [PATCH v3 2/7] generic-board: make show_board_info a weak function

2016-10-12 Thread Marcel Ziswiler
Make show_board_info() a weak function which allows for custom board specific implementations thereof. Signed-off-by: Marcel Ziswiler --- Changes in v3: - introduce new patch making show_board_info() a weak function which allows for custom board specific

[U-Boot] [PATCH v3 0/7] toradex: config block handling

2016-10-12 Thread Marcel Ziswiler
This series integrates Toradex factory configuration block handling. The config block is a data structure which gets stored to flash during production testing. The structure holds such information as board resp. hardware revision, product ID and serial number which is used as the NIC part of the

[U-Boot] [PATCH v3 7/7] colibri_vf: usb gadget: toradex pid is now set generically

2016-10-12 Thread Marcel Ziswiler
From: Max Krummenacher remove now unused CONFIG_TRDX_PID_XXX Signed-off-by: Marcel Ziswiler --- Changes in v3: None Changes in v2: None board/toradex/colibri_vf/colibri_vf.c | 16 include/configs/colibri_vf.h

[U-Boot] [PATCH v3 6/7] apalis/colibri_t30: move environment location

2016-10-12 Thread Marcel Ziswiler
Now with the config block handling in place move the U-Boot environment location before the config block at the end of 1st "boot sector" as deployed during production using our downstream BSP. Signed-off-by: Marcel Ziswiler --- Changes in v3: - drop patch 1

[U-Boot] [PATCH v3 5/7] apalis/colibri_imx7/pxa270/t20/t30/vf: integrate config block handling

2016-10-12 Thread Marcel Ziswiler
With our common code in place actually make use of it across all our modules. Signed-off-by: Marcel Ziswiler --- Changes in v3: - use checkboard() rather than checkboard_fallback() - drop CUSTOM_BOARDINFO Changes in v2: None board/toradex/apalis_t30/Kconfig

[U-Boot] [PATCH v3 4/7] toradex: config block handling

2016-10-12 Thread Marcel Ziswiler
Add Toradex factory configuration block handling. The config block is a data structure which gets stored to flash during production testing. The structure holds such information as board resp. hardware revision, product ID and serial number which is used as the NIC part of the Ethernet MAC address

[U-Boot] [PATCH v3 1/7] Revert "generic-board: allow showing custom board info"

2016-10-12 Thread Marcel Ziswiler
Drop CONFIG_CUSTOM_BOARDINFO as it is not Kconfig compliant and anyway not really used anywhere plus the upcoming weak show_board_info() approach seems much superior. This reverts commit a9ad18c9d5fe2554753b0f9a52adfd5ebce61147. Signed-off-by: Marcel Ziswiler ---

[U-Boot] [PATCH v3 3/7] apalis/colibri_t20/t30: deactivate displaying board info

2016-10-12 Thread Marcel Ziswiler
Deactivate CONFIG_DISPLAY_BOARDINFO in favour of CONFIG_DISPLAY_BOARDINFO_LATE which also displays on the LCD. Signed-off-by: Marcel Ziswiler --- Changes in v3: - fixup deactivation of CONFIG_DISPLAY_BOARDINFO in favour of CONFIG_DISPLAY_BOARDINFO_LATE which also

Re: [U-Boot] [PATCH v4 11/11] x86: Use binman all x86 boards

2016-10-12 Thread Simon Glass
Hi Bin, On 6 October 2016 at 14:59, Simon Glass wrote: > Change x86 boards to use binman to produce the ROM. This involves adding the > image definition to the device tree and using it in the Makefile. The > existing ifdtool features are no-longer needed. > > Note that the

Re: [U-Boot] [PATCH v1 2/2] pinctrl: pinctrl-at91: Add pinctrl driver

2016-10-12 Thread Simon Glass
Hi Wenyou, On 11 October 2016 at 23:22, Wenyou Yang wrote: > AT91 PIO controller is a combined gpio-controller, pin-mux and > pin-config module. The peripheral's pins are assigned through > per-pin based muxing logic. > > Each soc will have to describe the SoC limitation

Re: [U-Boot] [PATCH 8/9] reset: declare fdtdec_phandle_args as struct to fix warning

2016-10-12 Thread Simon Glass
On 7 October 2016 at 22:25, Masahiro Yamada wrote: > The of_xlate() callback needs to know fdtdec_phandle_args is struct. > > Otherwise, the following warning is displayed. > > include/reset-uclass.h:40:11: warning: 'struct fdtdec_phandle_args' > declared inside

Re: [U-Boot] x86: Updating u-boot.bin vs u-boot.rom

2016-10-12 Thread Simon Glass
Hi Stefan, On 6 October 2016 at 02:12, Stefan Roese wrote: > Hi Bin, Hi Simon, > > I'm currently trying to only update the u-boot.bin part in the > SPI NOR chip instead of updating the complete ROM (8MiB). > Updating u-boot.bin (same as u-boot-dtb.bin) at 0x70. results > in a

Re: [U-Boot] [RFC 3/4] dm: add DMA_SUPPORTS_DEV_TO_MEM type to DMA_UCLASS

2016-10-12 Thread Simon Glass
Hi, On 10 October 2016 at 09:52, Dinh Nguyen wrote: > From: Dinh Nguyen > > Add DMA_SUPPORTS_DEV_TO_MEM type to the DMA uclass. Can you explain (in your commit message) the need for this? > > Signed-off-by: Dinh Nguyen

Re: [U-Boot] [PATCH v2 02/12] x86: Add an accelerated memmove() function

2016-10-12 Thread Simon Glass
Hi Bin, On 9 October 2016 at 20:05, Bin Meng wrote: > On Sat, Oct 8, 2016 at 1:53 PM, Bin Meng wrote: >> Hi Simon, >> >> On Sat, Oct 8, 2016 at 10:25 AM, Bin Meng wrote: >>> Hi Simon, >>> >>> On Thu, Oct 6, 2016 at 10:42 AM, Simon

Re: [U-Boot] [PATCH] armv8: fsl-layerscape: Add support of GPIO structure

2016-10-12 Thread york sun
On 10/12/2016 03:20 AM, Pratiyush Srivastava wrote: > Layerscape supports GPIO registers to conrol GPIO singals. > Add support of GPIO structure to enable GPIO access. > > Signed-off-by: Pratiyush Srivastava > Signed-off-by: Prabhakar Kushwaha

Re: [U-Boot] [PATCH] board/ls2080qds: add the procedure to deply QSPI image.

2016-10-12 Thread Yao Yuan
On 10/11/2016 11:04 PM, york sun wrote: > On 10/10/2016 11:04 PM, Yuan Yao wrote: > > From: Yuan Yao > > > > Signed-off-by: Yuan Yao > > --- > > board/freescale/ls2080aqds/README | 35 > > +++ > > 1 file changed, 35

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

2016-10-12 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

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

2016-10-12 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:

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

2016-10-12 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

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-12 Thread Alexandr Bochkarev
I decided to check how linux kernel init emmc on marsboard, which i boot from SD card And i found, that it inited only in 1-bit mode, is it normal? it works, i can edit files on it linux set eMMC(sdc2) to mmc0 SD(sdc0) to mmc1 # cat /sys/kernel/debug/mmc0/ioseMMC clock: 5200

[U-Boot] [PATCH] pwm: imx: increase support up to PWM8

2016-10-12 Thread Christoph Fritz
This patch increases number of supported PWMs from previously 4 now up to 8. Signed-off-by: Christoph Fritz --- drivers/pwm/pwm-imx-util.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/pwm/pwm-imx-util.c b/drivers/pwm/pwm-imx-util.c index

Re: [U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-10-12 Thread york sun
On 10/12/2016 05:15 AM, Pratiyush Srivastava wrote: > Clear the content to zero and the ECC error bit of OCRAM1/2. > > The OCRAM must be initialized to ZERO by the unit of 8-Byte before > accessing it, or else it will generate ECC error. And the IBR has > accessed the OCRAM before this

Re: [U-Boot] [PATCH v5] ARM: sun71: dts: add support for Bananapi BPI-R1

2016-10-12 Thread Jagan Teki
On Wed, Oct 12, 2016 at 12:18 AM, Stephen Arnold wrote: > Okay, but I could use a little clarity; do you want the u-boot dts to > look just like my (proposed) kernel dts? Or do I start with kernel > dts and remove the gmac/axp209 stuff? > > If we can merge all of this

Re: [U-Boot] [PATCH v5 2/5] net: fec_mxc: Convert into driver model

2016-10-12 Thread Jagan Teki
Hi Simon, On Wed, Oct 12, 2016 at 2:28 AM, Simon Glass wrote: > Hi Jagan, > > On 9 October 2016 at 08:51, Jagan Teki wrote: >> >> Hi Simon, >> >> On Thu, Oct 6, 2016 at 4:25 PM, Jagan Teki wrote: >> > From: Jagan Teki

Re: [U-Boot] [RFC 4/4] arm: socfpga: scrub the SDRAM to properly enable ECC support

2016-10-12 Thread Chin Liang See
On Mon, 2016-10-10 at 10:52 -0500, Dinh Nguyen wrote: > From: Dinh Nguyen > > In order for SDRAM ECC to work correctly, the SDRAM needs to get > zero'd which > enables the ECC bit. By using the PL330 DMA to fill the SDRAM with > zeroes, > the operation is

Re: [U-Boot] [PATCH v5 2/5] net: fec_mxc: Convert into driver model

2016-10-12 Thread Jagan Teki
On Wed, Oct 12, 2016 at 2:15 AM, Joe Hershberger wrote: > On Thu, Oct 6, 2016 at 12:55 PM, Jagan Teki wrote: >> From: Jagan Teki >> >> This patch add driver model support for fec_mxc driver. >> >> Cc: Simon Glass

Re: [U-Boot] [RFC 2/4] dma: Kconfig: Add CONFIG_PL330_DMA entry

2016-10-12 Thread Chin Liang See
On Mon, 2016-10-10 at 10:52 -0500, Dinh Nguyen wrote: > From: Dinh Nguyen > > Add PL330_DMA entry. > > Signed-off-by: Dinh Nguyen > --- > drivers/dma/Kconfig | 4 > drivers/dma/Makefile | 1 + > 2 files changed, 5

Re: [U-Boot] [RFC 1/4] drivers: dma: Add the ARM PL330 DMA driver

2016-10-12 Thread Chin Liang See
On Mon, 2016-10-10 at 10:52 -0500, Dinh Nguyen wrote: > From: Dinh Nguyen > > Adopted from the Linux kernel PL330 DMA driver. > > Signed-off-by: Dinh Nguyen > --- > arch/arm/include/asm/pl330.h | 105 + > drivers/dma/pl330.c

Re: [U-Boot] [PATCH] spi: Add support for MX66U51235F, MX66L1G45G and MT25QU02G

2016-10-12 Thread Chin Liang See
On Wed, 2016-10-12 at 09:15 -0500, dumitru.bac...@intel.com wrote: > From: Radu Bacrau > > This commit adds support for the Macronix MX66U51235F, MX66L1G45G and > Micron MT25QU02G flash parts. > > Signed-off-by: Radu Bacrau > Cc: Chin Liang

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

2016-10-12 Thread Simon Glass
Hi Tom, On 12 October 2016 at 08:13, Tom Rini wrote: > On Tue, Oct 11, 2016 at 02:29:01PM -0600, Simon Glass wrote: > >> Hi Tom, >> >> This is mostly syncing up with upstream. I have a few more things to do >> also (some small, some large). >> >> >> The following changes

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

2016-10-12 Thread Tom Rini
On Tue, Oct 11, 2016 at 02:29:01PM -0600, Simon Glass wrote: > Hi Tom, > > This is mostly syncing up with upstream. I have a few more things to do > also (some small, some large). > > > The following changes since commit f5fd45ff64e28a73499548358e3d1ceda0de7daf: > > Merge branch 'master' of

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-12 Thread Alexandr Bochkarev
> > define debug() in your mmc driver..or enable CONFIG_DEBUG..then you can see > all debug message. > When i define CONFIG_DEGUB, u-boot binary size is to large for a20 sram I have tried to disable unused features in config, but its not enough > > If you're setting MMC_MODE_8BIT..try to

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-12 Thread Jaehoon Chung
On 10/12/2016 10:11 PM, Alexandr Bochkarev wrote: > Now i boot marsboard from sd card with new config Good. > > => mmc list > SUNXI SD/MMC: 0 (SD) > SUNXI SD/MMC: 1 > > => mmc info > Device: SUNXI SD/MMC > Manufacturer ID: 2 > OEM: 544d > Name: SA04G > Tran Speed: 5000 > Rd Block Len: 512

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-12 Thread Alexandr Bochkarev
Now i boot marsboard from sd card with new config => mmc list SUNXI SD/MMC: 0 (SD) SUNXI SD/MMC: 1 => mmc info Device: SUNXI SD/MMC Manufacturer ID: 2 OEM: 544d Name: SA04G Tran Speed: 5000 Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 3.6 GiB Bus Width: 4-bit Erase Group

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-12 Thread Alexandr Bochkarev
Now i found and add 2 in mmc_extra_slot_number config, compile and burn on marsboard emmc(sdc2) Got absolutely the same output, as from my board, except mmc number U-Boot SPL 2016.11-rc1-g4dc34be-dirty (Oct 12 2016 - 18:48:07) DRAM: 1024 MiB CPU: 91200Hz, AXI/AHB/APB: 3/2/2 Trying to boot

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-12 Thread Alexandr Bochkarev
> I understood more clearly...Your target for using is sdc0(eMMC), right? Yes Now i have checked det pin on my board. I use standart A20-OLinuXino-Lime_defconfig with my board. So PH1 is pull-fown. No changes if just remove det pin U-Boot SPL 2016.11-rc1-g4dc34be-dirty (Oct 12 2016 - 18:12:37)

Re: [U-Boot] [PATCH v4 2/2] common: Add DISPLAY_BOARDINFO

2016-10-12 Thread Tom Rini
On Wed, Oct 12, 2016 at 08:07:45AM -0400, Tom Rini wrote: > From: Lokesh Vutla > > Create a Kconfig entry for DISPLAY_BOARDINFO and make it be the default > in certain architectures. Migrate all config files. > > Signed-off-by: Lokesh Vutla >

Re: [U-Boot] [PATCH v4 1/2] common/Kconfig: Add DISPLAY_CPUINFO

2016-10-12 Thread Tom Rini
On Wed, Oct 12, 2016 at 08:07:44AM -0400, Tom Rini wrote: > From: Lokesh Vutla > > Create a Kconfig entry for DISPLAY_CPUINFO and make it be the default > in certain architectures. Migrate all config files. > > Signed-off-by: Lokesh Vutla >

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-12 Thread Jaehoon Chung
On 10/12/2016 09:11 PM, Alexandr Bochkarev wrote: > On marsboard today i used 2014 u-boot, sd card on sdc0 hardware lines and > emmc on sdc2 hardware lines. > and get error "Card did not respond to voltage select!» , then i tried to > boot without sd card, only with emmc on sdc2 > > On my board

Re: [U-Boot] [PATCH v4 2/2] commmon: Add DISPLAY_BOARDINFO

2016-10-12 Thread Tom Rini
On Wed, Oct 12, 2016 at 09:19:10PM +0900, Masahiro Yamada wrote: > 2016-10-12 21:07 GMT+09:00 Tom Rini : > > From: Lokesh Vutla > > > > Create a Kconfig entry for DISPLAY_BOARDINFO and make it be the default > > in certain architectures. Migrate all config

Re: [U-Boot] [PATCH v4 2/2] commmon: Add DISPLAY_BOARDINFO

2016-10-12 Thread Masahiro Yamada
2016-10-12 21:07 GMT+09:00 Tom Rini : > From: Lokesh Vutla > > Create a Kconfig entry for DISPLAY_BOARDINFO and make it be the default > in certain architectures. Migrate all config files. > > Signed-off-by: Lokesh Vutla >

[U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-10-12 Thread Pratiyush Srivastava
Clear the content to zero and the ECC error bit of OCRAM1/2. The OCRAM must be initialized to ZERO by the unit of 8-Byte before accessing it, or else it will generate ECC error. And the IBR has accessed the OCRAM before this initialization, so the ECC error status bit should to be cleared.

[U-Boot] [PATCH v3 2/3] config: ls1012aqds: Add USB EHCI support for ls1012aqds

2016-10-12 Thread Rajesh Bhagat
Add USB EHCI support for ls1012aqds platform Signed-off-by: Rajat Srivastava Signed-off-by: Rajesh Bhagat --- Changes in v3: - Rebased to u-boot-usb master Changes in v2: - None arch/arm/include/asm/arch-fsl-layerscape/immap_lsch2.h | 1 +

[U-Boot] [PATCH] ARM: uniphier: fix addresses of Cortex-A72 gear setting macros

2016-10-12 Thread Masahiro Yamada
My mistake during copy-paste work. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/sc64-regs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-uniphier/sc64-regs.h b/arch/arm/mach-uniphier/sc64-regs.h index

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-12 Thread Alexandr Bochkarev
On marsboard today i used 2014 u-boot, sd card on sdc0 hardware lines and emmc on sdc2 hardware lines. and get error "Card did not respond to voltage select!» , then i tried to boot without sd card, only with emmc on sdc2 On my board i used mainline u-boot, emmc on sdc0 hardware lines. And get

Re: [U-Boot] SPL load ARM Trusted Firmware BL31?

2016-10-12 Thread Michal Simek
On 12.10.2016 13:18, Mike Looijmans wrote: > On 11-10-16 13:00, Dan Handley wrote: >>> > > Kind regards, > > Mike Looijmans > System Expert > > TOPIC Products > Materiaalweg 4, NL-5681 RJ Best > Postbus 440, NL-5680 AK Best > Telefoon: +31 (0) 499 33 69 79 > E-mail:

[U-Boot] [PATCH v4 1/2] common/Kconfig: Add DISPLAY_CPUINFO

2016-10-12 Thread Tom Rini
From: Lokesh Vutla Create a Kconfig entry for DISPLAY_CPUINFO and make it be the default in certain architectures. Migrate all config files. Signed-off-by: Lokesh Vutla Signed-off-by: Tom Rini --- arch/blackfin/include/asm/config.h

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-12 Thread Jaehoon Chung
Added Hans (sunxi maintainer) On 10/12/2016 08:25 PM, Alexandr Bochkarev wrote: >> This log means that there is no card on slot.. > But then i tried my board with mainline u-boot, emmc was on sdc0 lines. > > Now i tried, boot marsboard from sd, hit button to stop kernel loading. > sun7i# mmc

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-12 Thread Alexandr Bochkarev
> This log means that there is no card on slot.. But then i tried my board with mainline u-boot, emmc was on sdc0 lines. Now i tried, boot marsboard from sd, hit button to stop kernel loading. sun7i# mmc list SUNXI SD/MMC: 0 Looks like its doesnt see emmc on sdc2. sun7i# printenv Environment

Re: [U-Boot] SPL load ARM Trusted Firmware BL31?

2016-10-12 Thread Mike Looijmans
On 11-10-16 13:00, Dan Handley wrote: Kind regards, Mike Looijmans System Expert TOPIC Products Materiaalweg 4, NL-5681 RJ Best Postbus 440, NL-5680 AK Best Telefoon: +31 (0) 499 33 69 79 E-mail: mike.looijm...@topicproducts.com Website: www.topicproducts.com Please consider the

[U-Boot] [PATCH v3 1/3] drivers: usb: fsl: add USB ULPI init code

2016-10-12 Thread Rajesh Bhagat
This adds the required code to set up a ULPI USB port, for new NXP USB PHY used in QorIQ platforms. To use this both CONFIG_USB_ULPI and CONFIG_USB_ULPI_VIEWPORT have to be set in the board configuration file. Signed-off-by: Rajesh Bhagat --- Changes in v3: - Rebased to

Re: [U-Boot] [PicoZed] Error in NET and SD Card

2016-10-12 Thread Jaehoon Chung
On 10/12/2016 05:36 PM, Oscar Gomez Fuente wrote: > Hi Jaehoon, > > > How can I enable the CONFG_MMC_TRACE? I couldn't find this option in the > menuconfig. > > Is it enough to add "CONFIG_MMC_TRACE=y" in the .config file? Yes..CONFIG_MMC_TRACE=y or add the CONFIG_MMC_TRACE in your config

[U-Boot] [PATCH 1/5] common/Kconfig: remove NOR_BOOT's depends on NOR

2016-10-12 Thread Zhiqiang Hou
From: Hou Zhiqiang Remove this dependency to make the NOR_BOOT available for other SoCs which do not have the config NOR, not only for am335x. Signed-off-by: Hou Zhiqiang --- common/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-12 Thread Jaehoon Chung
On 10/12/2016 07:52 PM, Alexandr Bochkarev wrote: > In order to exclude possible errors on my board, i get MarsBoard A20 Lite, > desolder nand, and put on emmc pads my emmc flash. > So emmc is on sdc2 lines. When iam booting from sd on sdc1, linux kernel can > init emmc, and i got /dev/mmcblkp1,

[U-Boot] [PATCH v3 0/3] Add USB EHCI support for ls1012aqds

2016-10-12 Thread Rajesh Bhagat
Adds USB EHCI support for ls1012qds by adding the support for NXP ULPI PHY and adding the support it configuration files. Also enables, USB2 IP in ns access defines. Rajesh Bhagat (3): drivers: usb: fsl: add USB ULPI init code config: ls1012aqds: Add USB EHCI support for ls1012aqds armv8:

[U-Boot] [PATCH v3 3/3] armv8: ls1012a: Added CSU assignment for USB2

2016-10-12 Thread Rajesh Bhagat
Access settings for USB2 IP is added through CSU register. Added CSU ID for USB2, reg: CSL23_REG[8:0] Signed-off-by: Rajesh Bhagat --- Changes in v3: - Rebased to u-boot-usb master Changes in v2: - None arch/arm/include/asm/arch-fsl-layerscape/ns_access.h | 2 ++ 1

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-10-12 Thread Alexandr Bochkarev
In order to exclude possible errors on my board, i get MarsBoard A20 Lite, desolder nand, and put on emmc pads my emmc flash. So emmc is on sdc2 lines. When iam booting from sd on sdc1, linux kernel can init emmc, and i got /dev/mmcblkp1, works well. But when i eject sd and try to boot from sdc2

[U-Boot] [PATCH] armv8: fsl-layerscape: Add support of GPIO structure

2016-10-12 Thread Pratiyush Srivastava
Layerscape supports GPIO registers to conrol GPIO singals. Add support of GPIO structure to enable GPIO access. Signed-off-by: Pratiyush Srivastava Signed-off-by: Prabhakar Kushwaha --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig

[U-Boot] [PATCH 2/5] configs/ls104xa: enable the config NOR_BOOT

2016-10-12 Thread Zhiqiang Hou
From: Hou Zhiqiang Enable the config NOR_BOOT obviously for NOR boot defconfigs of ls1043a and ls1046a. Signed-off-by: Hou Zhiqiang --- configs/ls1043aqds_defconfig | 1 + configs/ls1043aqds_lpuart_defconfig | 1 +

[U-Boot] [PATCH 4/5] kconfig: fsl PPA: move CONFIG_* to Kconfig

2016-10-12 Thread Zhiqiang Hou
From: Hou Zhiqiang Signed-off-by: Hou Zhiqiang --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 29 + arch/arm/cpu/armv8/fsl-layerscape/Makefile | 2 +- include/configs/ls1043ardb.h | 7 ---

[U-Boot] [PATCH 3/5] kconfig: armv8: move armv8 sec_firmware CONFIG_* to Kconfig

2016-10-12 Thread Zhiqiang Hou
From: Hou Zhiqiang Signed-off-by: Hou Zhiqiang --- arch/arm/cpu/armv8/Kconfig| 36 +++ arch/arm/cpu/armv8/Makefile | 2 +- arch/arm/cpu/armv8/sec_firmware_asm.S | 4 ++--

[U-Boot] [PATCH 5/5] fsl PPA: enable PPA for ls1043ardb and ls1046ardb

2016-10-12 Thread Zhiqiang Hou
From: Hou Zhiqiang Enable PPA for ls1043ardb NOR boot and ls1046ardb QSPI boot. Signed-off-by: Hou Zhiqiang --- configs/ls1043ardb_defconfig | 1 + configs/ls1046ardb_qspi_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git

Re: [U-Boot] [PicoZed] Error in NET and SD Card

2016-10-12 Thread Oscar Gomez Fuente
Hi Jaehoon, How can I enable the CONFG_MMC_TRACE? I couldn't find this option in the menuconfig. Is it enough to add "CONFIG_MMC_TRACE=y" in the .config file? Best regards. Oscar Gomez Fuente. On 12 October 2016 at 06:46, Jaehoon Chung wrote: > Hi > > On 10/11/2016

[U-Boot] inconsistent use of semi-colons when invoking macros

2016-10-12 Thread Robert P. J. Day
just noticed this in lib/bzip2/bzlib_decompress.c (around line 240): ... snip ... switch (s->state) { GET_UCHAR(BZ_X_MAGIC_1, uc); if (uc != BZ_HDR_B) RETURN(BZ_DATA_ERROR_MAGIC); GET_UCHAR(BZ_X_MAGIC_2, uc); if (uc != BZ_HDR_Z) RETURN(BZ_DATA_ERROR_MAGIC);

Re: [U-Boot] [PATCH v7 18/21] mtd: nand: Kconfig: Add NAND_MXS entry

2016-10-12 Thread Jörg Krause
On Mi, 2016-10-12 at 11:20 +0530, Jagan Teki wrote: > On Wed, Oct 12, 2016 at 3:40 AM, Jörg Krause > wrote: > > > > On Sa, 2016-10-08 at 18:00 +0530, Jagan Teki wrote: > > > > > > From: Jagan Teki > > > > > > Added kconfig for NAND_MXS