Re: [U-Boot] [PATCH 2/6] cgtqmx6eval: Avoid calling setup_display() from SPL code

2017-09-23 Thread Stefano Babic
On 23/09/2017 04:45, Fabio Estevam wrote: > From: Fabio Estevam > > There is no need call setup_display() from SPL code, so move it to > board_init(), which executes only in U-Boot proper. > > Reported-by: Stefano Babic > Signed-off-by: Fabio Estevam > --- > board/congatec/cgtqmx6eval/cgtqm

Re: [U-Boot] [PATCH 1/6] mx6sabresd: Avoid calling setup_display() from SPL code

2017-09-23 Thread Stefano Babic
On 23/09/2017 04:45, Fabio Estevam wrote: > From: Fabio Estevam > > There is no need call setup_display() from SPL code, so move it to > board_init(), which executes only in U-Boot proper. > > Reported-by: Stefano Babic > Signed-off-by: Fabio Estevam > --- > board/freescale/mx6sabresd/mx6sa

Re: [U-Boot] [PATCH 4/6] mx6cuboxi: Avoid calling setup_display() from SPL code

2017-09-23 Thread Stefano Babic
On 23/09/2017 04:45, Fabio Estevam wrote: > From: Fabio Estevam > > There is no need call setup_display() from SPL code, so move it to > board_init(), which executes only in U-Boot proper. > > Reported-by: Stefano Babic > Signed-off-by: Fabio Estevam > --- > board/solidrun/mx6cuboxi/mx6cubo

Re: [U-Boot] [PATCH 3/6] wandboard: Avoid calling setup_display() from SPL code

2017-09-23 Thread Stefano Babic
On 23/09/2017 04:45, Fabio Estevam wrote: > From: Fabio Estevam > > There is no need call setup_display() from SPL code, so move it to > board_init(), which executes only in U-Boot proper. > > Reported-by: Stefano Babic > Signed-off-by: Fabio Estevam > --- > board/wandboard/wandboard.c | 5

Re: [U-Boot] [PATCH 5/6] apalis_imx6: Avoid calling setup_display() from SPL code

2017-09-23 Thread Stefano Babic
Hi Fabio, On 23/09/2017 04:45, Fabio Estevam wrote: > From: Fabio Estevam > > There is no need call setup_display() from SPL code, so move it to > board_init(), which executes only in U-Boot proper. > > Reported-by: Stefano Babic > Signed-off-by: Fabio Estevam > --- > board/toradex/apalis_im

[U-Boot] FAT filesystems and mtools-created filesystems

2017-09-23 Thread Tuomas Tynkkynen
Hi, FAT file systems created by GNU mtools have a problem that mtools doesn't initialize the first cluster field of the '.' and '..' directory entries. That is, with the following script: mkdir fattmp cd fattmp mkdir -p foo/bar/baz touch foo/bar/baz/biff truncate -s 16M ../fattest.img mkfs.vf

Re: [U-Boot] [PATCH v2 5/6] ARM: Add a new arch + board for QEMU's 'virt' machine

2017-09-23 Thread Tuomas Tynkkynen
Hi Bin, On 09/20/2017 08:02 AM, Bin Meng wrote: Hi Tuomas, On Wed, Sep 20, 2017 at 4:18 AM, Tuomas Tynkkynen wrote: This board builds an U-Boot binary that is bootable with QEMU's 'virt' machine on ARM. The minimal QEMU command line is: qemu-system-arm -machine virt,highmem=off -bios u-

Re: [U-Boot] Makefile: Update minimum dtc version to 1.4.3

2017-09-23 Thread Marek Vasut
On 09/22/2017 04:20 PM, Tom Rini wrote: > On Fri, Sep 15, 2017 at 01:15:25PM -0400, Tom Rini wrote: > >> With support for overlays and calling the -@ flag to dtc we need to have >> at least 1.4.3 available now. >> >> Cc: Simon Glass >> Reported-by: Stephen Warren >> Signed-off-by: Tom Rini > >

Re: [U-Boot] FAT filesystems and mtools-created filesystems

2017-09-23 Thread Tuomas Tynkkynen
On 09/23/2017 01:26 PM, Tuomas Tynkkynen wrote: Hi, FAT file systems created by GNU mtools have a problem that mtools doesn't initialize the first cluster field of the '.' and '..' directory entries. That is, with the following script: Oh, and unrelated to the mtools problem, '..' entries

Re: [U-Boot] Makefile: Update minimum dtc version to 1.4.3

2017-09-23 Thread Tom Rini
On Sat, Sep 23, 2017 at 12:39:44PM +0200, Marek Vasut wrote: > On 09/22/2017 04:20 PM, Tom Rini wrote: > > On Fri, Sep 15, 2017 at 01:15:25PM -0400, Tom Rini wrote: > > > >> With support for overlays and calling the -@ flag to dtc we need to have > >> at least 1.4.3 available now. > >> > >> Cc: Si

Re: [U-Boot] [PATCH 5/6] apalis_imx6: Avoid calling setup_display() from SPL code

2017-09-23 Thread Fabio Estevam
Hi Stefano, On Sat, Sep 23, 2017 at 5:43 AM, Stefano Babic wrote: > Max has already fixed apalis / colibri, see for example > http://patchwork.ozlabs.org/patch/817053/. I will apply Max's patches > and drop 5/6 from your series. Anyway, thanks for having thought to > these two boards, too. Yes,

Re: [U-Boot] Makefile: Update minimum dtc version to 1.4.3

2017-09-23 Thread Marek Vasut
On 09/23/2017 02:56 PM, Tom Rini wrote: > On Sat, Sep 23, 2017 at 12:39:44PM +0200, Marek Vasut wrote: >> On 09/22/2017 04:20 PM, Tom Rini wrote: >>> On Fri, Sep 15, 2017 at 01:15:25PM -0400, Tom Rini wrote: >>> With support for overlays and calling the -@ flag to dtc we need to have at l

[U-Boot] [PULL] u-boot-usb/master

2017-09-23 Thread Marek Vasut
The following changes since commit 91ebf300934461e450f5ef8f386ea9e55d2636c5: Travis-CI: Checkout only v1.4.3 of dtc (2017-09-22 07:40:06 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to 78787e28bbefad9d647fc9f7467893b8d262

[U-Boot] [PULL] u-boot-socfpga/master

2017-09-23 Thread Marek Vasut
The following changes since commit 91ebf300934461e450f5ef8f386ea9e55d2636c5: Travis-CI: Checkout only v1.4.3 of dtc (2017-09-22 07:40:06 -0400) are available in the git repository at: git://git.denx.de/u-boot-socfpga.git master for you to fetch changes up to a7d5b6c6686f6f51a750781ff12a360d

Re: [U-Boot] [PATCH 5/6] apalis_imx6: Avoid calling setup_display() from SPL code

2017-09-23 Thread Fabio Estevam
On Sat, Sep 23, 2017 at 10:01 AM, Fabio Estevam wrote: > Hi Stefano, > > On Sat, Sep 23, 2017 at 5:43 AM, Stefano Babic wrote: > >> Max has already fixed apalis / colibri, see for example >> http://patchwork.ozlabs.org/patch/817053/. I will apply Max's patches >> and drop 5/6 from your series. An

Re: [U-Boot] Makefile: Update minimum dtc version to 1.4.3

2017-09-23 Thread Tom Rini
On Sat, Sep 23, 2017 at 03:04:39PM +0200, Marek Vasut wrote: > On 09/23/2017 02:56 PM, Tom Rini wrote: > > On Sat, Sep 23, 2017 at 12:39:44PM +0200, Marek Vasut wrote: > >> On 09/22/2017 04:20 PM, Tom Rini wrote: > >>> On Fri, Sep 15, 2017 at 01:15:25PM -0400, Tom Rini wrote: > >>> > With supp

Re: [U-Boot] [PULL] u-boot-usb/master

2017-09-23 Thread Tom Rini
On Sat, Sep 23, 2017 at 03:14:20PM +0200, Marek Vasut wrote: > The following changes since commit 91ebf300934461e450f5ef8f386ea9e55d2636c5: > > Travis-CI: Checkout only v1.4.3 of dtc (2017-09-22 07:40:06 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-usb.git

Re: [U-Boot] [PATCH] imx6: disable clock command and print_cpuinfo code in SPL

2017-09-23 Thread Anatolij Gustschin
Hi Fabio, On Fri, 22 Sep 2017 22:55:04 -0300 Fabio Estevam feste...@gmail.com wrote: ... > > /* Framebuffer */ > > +#if !defined(CONFIG_SPL_BUILD) > > #ifdef CONFIG_VIDEO > > #define CONFIG_VIDEO_IPUV3 > > #define CONFIG_VIDEO_BMP_RLE8 > > @@ -74,6 +75,7 @@ > > #define CONFIG_IMX_HDMI > > #d

Re: [U-Boot] Makefile: Update minimum dtc version to 1.4.3

2017-09-23 Thread Tom Rini
On Sat, Sep 23, 2017 at 08:56:08AM -0400, Tom Rini wrote: > On Sat, Sep 23, 2017 at 12:39:44PM +0200, Marek Vasut wrote: > > On 09/22/2017 04:20 PM, Tom Rini wrote: > > > On Fri, Sep 15, 2017 at 01:15:25PM -0400, Tom Rini wrote: > > > > > >> With support for overlays and calling the -@ flag to dtc

[U-Boot] [PATCH 1/1] ARMv8: fix error in freeing stack frame

2017-09-23 Thread zijun_hu
From: zijun_hu relocate_code() allocates 32 bytes stack frame but only 16 bytes are freed before return. it will cause errors to possible previous frames and doesn't make relocate_code() look like a function. fix by freeing 32 bytes stack space Signed-off-by: zijun_hu --- arch/arm/lib/relocat

Re: [U-Boot] [PULL] u-boot-usb/master

2017-09-23 Thread Marek Vasut
On 09/23/2017 06:11 PM, Tom Rini wrote: > On Sat, Sep 23, 2017 at 03:14:20PM +0200, Marek Vasut wrote: > >> The following changes since commit 91ebf300934461e450f5ef8f386ea9e55d2636c5: >> >> Travis-CI: Checkout only v1.4.3 of dtc (2017-09-22 07:40:06 -0400) >> >> are available in the git reposit

Re: [U-Boot] Makefile: Update minimum dtc version to 1.4.3

2017-09-23 Thread Marek Vasut
On 09/23/2017 07:05 PM, Tom Rini wrote: > On Sat, Sep 23, 2017 at 08:56:08AM -0400, Tom Rini wrote: >> On Sat, Sep 23, 2017 at 12:39:44PM +0200, Marek Vasut wrote: >>> On 09/22/2017 04:20 PM, Tom Rini wrote: On Fri, Sep 15, 2017 at 01:15:25PM -0400, Tom Rini wrote: > With support for

Re: [U-Boot] Makefile: Update minimum dtc version to 1.4.3

2017-09-23 Thread Marek Vasut
On 09/23/2017 06:10 PM, Tom Rini wrote: > On Sat, Sep 23, 2017 at 03:04:39PM +0200, Marek Vasut wrote: >> On 09/23/2017 02:56 PM, Tom Rini wrote: >>> On Sat, Sep 23, 2017 at 12:39:44PM +0200, Marek Vasut wrote: On 09/22/2017 04:20 PM, Tom Rini wrote: > On Fri, Sep 15, 2017 at 01:15:25PM -0

Re: [U-Boot] Makefile: Update minimum dtc version to 1.4.3

2017-09-23 Thread Tom Rini
On Sat, Sep 23, 2017 at 07:33:44PM +0200, Marek Vasut wrote: > On 09/23/2017 07:05 PM, Tom Rini wrote: > > On Sat, Sep 23, 2017 at 08:56:08AM -0400, Tom Rini wrote: > >> On Sat, Sep 23, 2017 at 12:39:44PM +0200, Marek Vasut wrote: > >>> On 09/22/2017 04:20 PM, Tom Rini wrote: > On Fri, Sep 15,

Re: [U-Boot] [PULL] u-boot-usb/master

2017-09-23 Thread Tom Rini
On Sat, Sep 23, 2017 at 07:32:31PM +0200, Marek Vasut wrote: > On 09/23/2017 06:11 PM, Tom Rini wrote: > > On Sat, Sep 23, 2017 at 03:14:20PM +0200, Marek Vasut wrote: > > > >> The following changes since commit > >> 91ebf300934461e450f5ef8f386ea9e55d2636c5: > >> > >> Travis-CI: Checkout only v

Re: [U-Boot] FAT filesystems and mtools-created filesystems

2017-09-23 Thread Tom Rini
On Sat, Sep 23, 2017 at 01:26:38PM +0300, Tuomas Tynkkynen wrote: > Hi, > > FAT file systems created by GNU mtools have a problem that mtools > doesn't initialize the first cluster field of the '.' and '..' > directory entries. That is, with the following script: > > mkdir fattmp > cd fattmp > mk

Re: [U-Boot] Makefile: Update minimum dtc version to 1.4.3

2017-09-23 Thread Marek Vasut
On 09/23/2017 07:37 PM, Tom Rini wrote: > On Sat, Sep 23, 2017 at 07:33:44PM +0200, Marek Vasut wrote: >> On 09/23/2017 07:05 PM, Tom Rini wrote: >>> On Sat, Sep 23, 2017 at 08:56:08AM -0400, Tom Rini wrote: On Sat, Sep 23, 2017 at 12:39:44PM +0200, Marek Vasut wrote: > On 09/22/2017 04:20

Re: [U-Boot] [PULL] u-boot-usb/master

2017-09-23 Thread Marek Vasut
On 09/23/2017 07:39 PM, Tom Rini wrote: > On Sat, Sep 23, 2017 at 07:32:31PM +0200, Marek Vasut wrote: >> On 09/23/2017 06:11 PM, Tom Rini wrote: >>> On Sat, Sep 23, 2017 at 03:14:20PM +0200, Marek Vasut wrote: >>> The following changes since commit 91ebf300934461e450f5ef8f386ea9e55d2636

Re: [U-Boot] Makefile: Update minimum dtc version to 1.4.3

2017-09-23 Thread Tom Rini
On Sat, Sep 23, 2017 at 07:43:09PM +0200, Marek Vasut wrote: > On 09/23/2017 07:37 PM, Tom Rini wrote: > > On Sat, Sep 23, 2017 at 07:33:44PM +0200, Marek Vasut wrote: > >> On 09/23/2017 07:05 PM, Tom Rini wrote: > >>> On Sat, Sep 23, 2017 at 08:56:08AM -0400, Tom Rini wrote: > On Sat, Sep 23,

[U-Boot] [PATCH v3] sun50i: h5: Add NanoPi Neo Plus2 DT initial support

2017-09-23 Thread Antony Antony
Add initial DT for NanoPi NEO Plus2 by FriendlyARM - Allwinner quad core H5 Cortex A53 with an ARM Mali-450MP GPU - 1 GB DDR3 RAM - 8GB eMMC flash (Samsung KLM8G1WEPD-B031) - micro SD card slot - Gigabit Ethernet (external RTL8211E-VB-CG chip) - 802.11 b/g/n WiFi, Bluetooth 4.0 (Ampak AP6212A modul

[U-Boot] Please pull u-boot-video/imx

2017-09-23 Thread Anatolij Gustschin
Hi Stefano, Please pull some imx6 patches. Building with these passed now, here is a status report: https://travis-ci.org/vdsao/u-boot-video/builds/278969983 The following changes since commit 031426a7af63d3c939fc963311e6dc8e904a0440: mx6sabresd: Add Serial Download Protocol support (2017-09-2

Re: [U-Boot] [PATCH 5/6] apalis_imx6: Avoid calling setup_display() from SPL code

2017-09-23 Thread Anatolij Gustschin
Hi Stefano, On Sat, 23 Sep 2017 10:43:55 +0200 Stefano Babic sba...@denx.de wrote: ... > Max has already fixed apalis / colibri, see for example > http://patchwork.ozlabs.org/patch/817053/. I will apply Max's patches > and drop 5/6 from your series. Anyway, thanks for having thought to > these tw

Re: [U-Boot] [PATCH] sf: bar: Clean BA24 Bank Address Register bit after read/write/erase operation

2017-09-23 Thread Ɓukasz Majewski
Hi Fabio, Jagan, Hi Lukasz, On Wed, Sep 13, 2017 at 6:39 AM, Lukasz Majewski wrote: #ifdef CONFIG_SPI_FLASH_BAR +/* + * This "cleanup" is necessary in a situation when one was accessing + * spi flash memory > 16 MiB by using Bank Address Register's BA24 bit. + * + * After it the BA24 bit s

Re: [U-Boot] Makefile: Update minimum dtc version to 1.4.3

2017-09-23 Thread Bin Meng
Hi Tom, On Sun, Sep 24, 2017 at 12:10 AM, Tom Rini wrote: > On Sat, Sep 23, 2017 at 03:04:39PM +0200, Marek Vasut wrote: >> On 09/23/2017 02:56 PM, Tom Rini wrote: >> > On Sat, Sep 23, 2017 at 12:39:44PM +0200, Marek Vasut wrote: >> >> On 09/22/2017 04:20 PM, Tom Rini wrote: >> >>> On Fri, Sep 15

Re: [U-Boot] Makefile: Update minimum dtc version to 1.4.3

2017-09-23 Thread Robert Nelson
On Sat, Sep 23, 2017 at 8:49 PM, Bin Meng wrote: > Hi Tom, > > On Sun, Sep 24, 2017 at 12:10 AM, Tom Rini wrote: >> On Sat, Sep 23, 2017 at 03:04:39PM +0200, Marek Vasut wrote: >>> On 09/23/2017 02:56 PM, Tom Rini wrote: >>> > On Sat, Sep 23, 2017 at 12:39:44PM +0200, Marek Vasut wrote: >>> >> On

Re: [U-Boot] Makefile: Update minimum dtc version to 1.4.3

2017-09-23 Thread Tom Rini
On Sat, Sep 23, 2017 at 09:07:02PM -0500, Robert Nelson wrote: > On Sat, Sep 23, 2017 at 8:49 PM, Bin Meng wrote: > > Hi Tom, > > > > On Sun, Sep 24, 2017 at 12:10 AM, Tom Rini wrote: > >> On Sat, Sep 23, 2017 at 03:04:39PM +0200, Marek Vasut wrote: > >>> On 09/23/2017 02:56 PM, Tom Rini wrote: >

Re: [U-Boot] [PATCH 6/6] usb: Drop the EHCI RCar Gen3

2017-09-23 Thread Nobuhiro Iwamatsu
Hi, 2017-09-13 2:07 GMT+09:00 Marek Vasut : > Since we use EHCI generic driver on RCar Gen3 , this driver is useless. > Remove it. > > Signed-off-by: Marek Vasut > Cc: Nobuhiro Iwamatsu Acked-by: Nobuhiro Iwamatsu Best regards, Nobuhiro > --- > drivers/usb/host/Kconfig | 8 ---

[U-Boot] [PATCH 0/4] cl-som-imx7: initial support

2017-09-23 Thread Uri Mashiach
This patch series adds support for CompuLab CL-SOM-iMX7, SBC-iMX7, SBC-IOT-iMX7 and IOT-GATE-iMX7. CL-SOM-iMX7 is a miniature System-on-Module (SoM) based on NXP i.MX7 processor family. SBC-iMX7 is a single board computer, implemented with the CL-SOM-iMX7 module and the SB-SOM-iMX7 carrier board.

[U-Boot] [PATCH 1/4] imx: mx7: fix the CCM_ macros

2017-09-23 Thread Uri Mashiach
The CCM_ macros use the CCM_BASE_ADDRESS macro, which doesn't exist. Replace the CCM_BASE_ADDRESS macros with CCM_BASE_ADDR. Signed-off-by: Uri Mashiach Acked-by: Igor Grinberg --- arch/arm/include/asm/arch-mx7/crm_regs.h | 46 1 file changed, 23 insertions(+),

[U-Boot] [PATCH 2/4] imx: mx7: DDR controller configuration for the i.MX7 architecture

2017-09-23 Thread Uri Mashiach
The configuration files imximage.cfg are used for the DDR controller configuration. Add DDR configuration function to replace the DDR controller configuration in the imximage.cfg file. The function can be used for DDR size detection. Signed-off-by: Uri Mashiach --- arch/arm/include/asm/arch-mx7/

[U-Boot] [PATCH 4/4] arm: imx7d: add support for Compulab cl-som-imx7

2017-09-23 Thread Uri Mashiach
From: Ilya Ledvich Add initial support for Compulab cl-som-imx7 SoM. The initial support includes: - MMC - eMMC - SPI flash - I2C - FEC - USB - Serial console Signed-off-by: Ilya Ledvich --- arch/arm/mach-imx/mx7/Kconfig| 8 + board/compulab/cl-som-imx7/Kconfig | 28

[U-Boot] [PATCH 3/4] imx: mx7: SPL support for i.MX7

2017-09-23 Thread Uri Mashiach
Add configuration file and spl_boot_device function for the i.MX7 SPL. Signed-off-by: Uri Mashiach --- arch/arm/include/asm/arch-mx7/sys_proto.h | 1 + arch/arm/mach-imx/spl.c | 23 ++- include/configs/imx7_spl.h| 67 +++ 3 f

Re: [U-Boot] [PATCH] ARM: rmobile: Enable DM regulator support

2017-09-23 Thread Nobuhiro Iwamatsu
Hi, Thanks for your work. 2017-09-16 4:12 GMT+09:00 Marek Vasut : > Regulators are needed for the MMC framework to let it toggle the SD power. > Enable DM regulator support and support for fixed and GPIO regulator. > > Signed-off-by: Marek Vasut > Cc: Nobuhiro Iwamatsu I can not apply this pat

Re: [U-Boot] Makefile: Update minimum dtc version to 1.4.3

2017-09-23 Thread Heinrich Schuchardt
On 09/23/2017 07:53 PM, Tom Rini wrote: > On Sat, Sep 23, 2017 at 07:43:09PM +0200, Marek Vasut wrote: >> On 09/23/2017 07:37 PM, Tom Rini wrote: >>> On Sat, Sep 23, 2017 at 07:33:44PM +0200, Marek Vasut wrote: On 09/23/2017 07:05 PM, Tom Rini wrote: > On Sat, Sep 23, 2017 at 08:56:08AM -0