Re: [U-Boot] [PATCH 1/2] imx-common: Enable ACTLR.SMP bit for i.MX cortex-a7 platforms

2017-04-12 Thread Peng Fan
Hi Stefano, > -Original Message- > From: Stefano Babic [mailto:sba...@denx.de] > Sent: Thursday, April 13, 2017 2:24 PM > To: Peng Fan ; Stefano Babic > Cc: van.free...@gmail.com; u-boot@lists.denx.de; andre.przyw...@arm.com; > Albert ARIBAUD > Subject: Re: [PATCH 1/2] imx-common: Enable

Re: [U-Boot] [PATCH 1/2] imx-common: Enable ACTLR.SMP bit for i.MX cortex-a7 platforms

2017-04-12 Thread Stefano Babic
Hi Peng, On 13/04/2017 05:05, Peng Fan wrote: >> Anyway, it looks to me wrong to fix this in i.MX code, as this must be fixed >> for >> all Cortex-A7. It should be fixed in general ARM code. >> >> And Andre has already sent patches for this (at least for sunxi), but with >> the >> opposite rule

[U-Boot] [PATCH V2 11/12] imx: mx7dsabresd: switch to DM USB

2017-04-12 Thread Peng Fan
Switch to use DM USB. Signed-off-by: Peng Fan --- board/freescale/mx7dsabresd/mx7dsabresd.c | 25 - configs/mx7dsabresd_defconfig | 1 + include/configs/mx7dsabresd.h | 3 --- 3 files changed, 1 insertion(+), 28 deletions(-) diff --git a/board/f

Re: [U-Boot] [PATCH 2/2][v4] armv8: ls2080aqds: Add support for SD boot

2017-04-12 Thread Santan Kumar
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Wednesday, April 12, 2017 9:13 PM > To: Santan Kumar ; u-boot@lists.denx.de > Cc: Priyanka Jain ; Abhimanyu Saini > > Subject: Re: [PATCH 2/2][v4] armv8: ls2080aqds: Add support for SD boot > > On 04/03/2017 03:58 A

[U-Boot] [PATCH V2 12/12] imx: mx7dsabresd: add board revision check

2017-04-12 Thread Peng Fan
Add board revision check Signed-off-by: Peng Fan --- board/freescale/mx7dsabresd/mx7dsabresd.c | 59 ++- 1 file changed, 58 insertions(+), 1 deletion(-) diff --git a/board/freescale/mx7dsabresd/mx7dsabresd.c b/board/freescale/mx7dsabresd/mx7dsabresd.c index ecea5a5.

[U-Boot] [PATCH V2 08/12] gpio: 74x164: make oe-pins optional

2017-04-12 Thread Peng Fan
Make oe-pins optional because some boards have fixed it to enable. Signed-off-by: Peng Fan Cc: Simon Glass Cc: Stefano Babic --- V2: None drivers/gpio/74x164_gpio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpio/74x164_gpio.c b/drivers/gpio/74x164_gpio.c

[U-Boot] [PATCH V2 10/12] imx: mx7dsabresd: reset ENET_RST_B

2017-04-12 Thread Peng Fan
Reset ENET_RST_B to make ENET function stable. Since DM_GPIO enabled, we use "gpio_spi@0_5" which corresponds to ENET_RST_B. Signed-off-by: Peng Fan Cc: Stefano Babic --- V2: None board/freescale/mx7dsabresd/mx7dsabresd.c | 17 + 1 file changed, 17 insertions(+) diff --git a

[U-Boot] [PATCH V2 09/12] imx: mx7dsabresd: enable more DM drivers

2017-04-12 Thread Peng Fan
Enable more DM drivers. The imx I2C/MMC DM drivers needs DM_GPIO enabled. The 74x164 drivers needs SOFT_SPI and DM_GPIO enabled. So needs to enable them together. Signed-off-by: Peng Fan Cc: Stefano Babic --- V2: None board/freescale/mx7dsabresd/mx7dsabresd.c | 288 ++

[U-Boot] [PATCH V2 07/12] spi: kconfig: add soft spi Kconfig entry

2017-04-12 Thread Peng Fan
Add the Kconfig entry for SOFT_SPI which uses gpio to simulate the SPI signals. We use it for accessing 74x164 on some i.MX boards. Signed-off-by: Peng Fan Cc: Jagan Teki Cc: Stefano Babic --- V2: None drivers/spi/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/spi

[U-Boot] [PATCH V2 06/12] arm: dts: imx7d-sdb: add usdhc support

2017-04-12 Thread Peng Fan
Add usdhc support Signed-off-by: Peng Fan --- V2: New arch/arm/dts/imx7d-sdb.dts | 73 ++ 1 file changed, 73 insertions(+) diff --git a/arch/arm/dts/imx7d-sdb.dts b/arch/arm/dts/imx7d-sdb.dts index 7fab6f2..85b83c3 100644 --- a/arch/arm/dts/imx7d-s

[U-Boot] [PATCH V2 04/12] arm: dts: imx7d-sdb: add regulator node for usb and mmc

2017-04-12 Thread Peng Fan
Add regulator node for usb and mmc. Signed-off-by: Peng Fan Cc: Stefano Babic --- V2: New arch/arm/dts/imx7d-sdb.dts | 36 1 file changed, 36 insertions(+) diff --git a/arch/arm/dts/imx7d-sdb.dts b/arch/arm/dts/imx7d-sdb.dts index 3b8f1cb..df9dfb9 100644

[U-Boot] [PATCH V2 05/12] arm: dts: imx7d-sdb: add i2c support

2017-04-12 Thread Peng Fan
Add i2c support. Signed-off-by: Peng Fan Cc: Stefano Babic --- V2: New arch/arm/dts/imx7d-sdb.dts | 146 + 1 file changed, 146 insertions(+) diff --git a/arch/arm/dts/imx7d-sdb.dts b/arch/arm/dts/imx7d-sdb.dts index df9dfb9..7fab6f2 100644 --- a/a

[U-Boot] [PATCH V2 03/12] arm: dts: imx7d-sdb: add spi gpio node

2017-04-12 Thread Peng Fan
Add spi gpio node for 74LV595. Signed-off-by: Peng Fan Cc: Stefano Babic --- V2: New arch/arm/dts/imx7d-sdb.dts | 35 +++ 1 file changed, 35 insertions(+) diff --git a/arch/arm/dts/imx7d-sdb.dts b/arch/arm/dts/imx7d-sdb.dts index 0378897..3b8f1cb 100644 --- a

[U-Boot] [PATCH V2 02/12] arm: dts: imx7d-sdb add basic dts

2017-04-12 Thread Peng Fan
Add basic dts for i.MX7D-SDB board. Signed-off-by: Peng Fan Cc: Stefano Babic --- V2: Drop dts file from NXP vendor tree. arch/arm/dts/Makefile | 3 ++- arch/arm/dts/imx7d-sdb.dts| 19 +++ configs/mx7dsabresd_defconfig | 3 ++- 3 files changed, 23 insertions(+),

[U-Boot] [PATCH V2 01/12] arm: dts: imx7: sync with Linux

2017-04-12 Thread Peng Fan
Sync with Linux commit 308ac756("Merge tag 'gpio-v4.11-3'"). Signed-off-by: Peng Fan Cc: Stefan Agner Cc: Stefano Babic --- V2: remove imx7.dtsi arch/arm/dts/imx7-colibri.dts | 10 +- arch/arm/dts/imx7.dtsi | 194 --- arch/arm/dts/imx7d-pinfunc.h|

Re: [U-Boot] [PATCH 1/7] omap_hsmmc: update struct hsmmc to accommodate omap3 from DT

2017-04-12 Thread Vignesh R
On Wednesday 12 April 2017 06:08 PM, Adam Ford wrote: > This patch fixes and issue where DM_MMC adds a 0x100 byte offset to the > base register. This is necessary for AM33xx, OMAP4+ and newer devices, but > it is not necessary for OMAP34XX boards. > > This patch will now only apply the x100 byt

[U-Boot] [PATCH v2] arm: psci: make psci usable on single core socs

2017-04-12 Thread Yuantian Tang
PSCI can be used on both multiple and single core socs. Current implementation only allows PSCI to work on multiple core socs. This patch removes this restriction so that PSCI can work on single core socs as well. Signed-off-by: Chenhui Zhao Signed-off-by: Tang Yuantian --- v2: - refine

Re: [U-Boot] [PATCH 1/2] imx-common: Enable ACTLR.SMP bit for i.MX cortex-a7 platforms

2017-04-12 Thread Peng Fan
Hi Stefano, > -Original Message- > From: Stefano Babic [mailto:sba...@denx.de] > Sent: Thursday, April 13, 2017 12:45 AM > To: Peng Fan ; sba...@denx.de > Cc: van.free...@gmail.com; u-boot@lists.denx.de; andre.przyw...@arm.com > Subject: Re: [PATCH 1/2] imx-common: Enable ACTLR.SMP bit for

[U-Boot] [PATCH-v2 1/2] mips: qemu-mips/64: Remove obsolete CONFIG_SYS_MONITOR_LEN from config

2017-04-12 Thread Kyle Edwards
This fixes an issue with the saveenv command causing U-Boot to no longer work on the QEMU Mips pseudoboard. Because the offset of the environment was being determined by CONFIG_SYS_MONITOR_LEN, and this value was less than the actual size of U-Boot, saveenv was overwriting parts of the U-Boot code.

[U-Boot] [PATCH-v2 0/2] Fix several bugs in qemu-mips/64 configurations

2017-04-12 Thread Kyle Edwards
I recently played around with the qemu-mips/64 configurations, and encountered several issues. Saving the environment to flash overwrites the U-Boot code, and the malloc pool isn't big enough for initr_malloc_bootparams(). This patchset fixes these issues. Kyle Edwards (2): mips: qemu-mips/64: R

[U-Boot] [PATCH v2 0/3] ARM: support System Reset via PSCI

2017-04-12 Thread Masahiro Yamada
For ARMv8, the secure firmware (ex. ARM Trusted Firmware BL31) is often implemented, making U-Boot a non-secure world boot loader. The secure firmware generally includes PSCI. The power management operations, including System Reset, are supposed to be handled by PSCI. In this case, U-Boot should

[U-Boot] [PATCH v2 2/3] ARM: adjust arm-smccc code for use in U-Boot

2017-04-12 Thread Masahiro Yamada
Adjust ARM SMC Calling Convention code for U-Boot: - Replace the license block with SPDX - Change path to asm-offsets.h - Define UNWIND() as no-op - Add Kconfig entry - Add asm-offsets Signed-off-by: Masahiro Yamada --- Changes in v2: - split into separate patches "import" and "adjus

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

2017-04-12 Thread Wenyou Yang
Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v5: - Add the based patch set information. Changes in v4: - Convert the macb to support DM and clean up macb init code.

[U-Boot] [PATCH v2 3/3] sysreset: psci: support system reset in a generic way with PSCI

2017-04-12 Thread Masahiro Yamada
If the system is running PSCI firmware, the System Reset function (func ID: 0x8009) is supposed to be handled by PSCI, that is, the SoC/board specific reset implementation should be moved to PSCI. U-Boot should call the PSCI service according to the arm-smccc manner. The arm-smccc is supported

[U-Boot] [PATCH-v2 2/2] mips: qemu-mips/64: Expand malloc pool for CONFIG_SYS_BOOTPARAMS_LEN

2017-04-12 Thread Kyle Edwards
Before this patch, CONFIG_SYS_BOOTPARAMS_LEN was the same size as CONFIG_SYS_MALLOC_LEN. So, if malloc() had previously been called, and initr_malloc_bootparams() was called, it would fail with an out-of- memory error. This patch fixes this issue by expanding the malloc pool to 256KB. Signed-off-b

[U-Boot] [PATCH v2 1/3] ARM: import arm-smccc code from Linux 4.11-rc6

2017-04-12 Thread Masahiro Yamada
Imports ARM SMC Calling Convention code from Linux 4.11-rc6. The files have been copied as follows: [Linux] [U-Boot] arch/arm/kernel/smccc-call.S -> arch/arm/cpu/armv7/smccc-call.S arch/arm64/kernel/smccc-call.S -> arch/arm/cpu/armv8/smccc-call.S arch/arm/include/asm/op

[U-Boot] [PATCH v5 5/7] board: sama5d4ek: update to support DM/DT

2017-04-12 Thread Wenyou Yang
Update the configuration files to support the device tree and driver model, so do SPL. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v5: None Changes in v4: None Chan

[U-Boot] [PATCH v5 4/7] board: sama5d4_xplained: enable early debug UART

2017-04-12 Thread Wenyou Yang
Enable the early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None board/atmel/sama5d4_xplained/sama5d4_xplained.c | 1

[U-Boot] [PATCH v5 6/7] board: sama5d4ek: clean up code

2017-04-12 Thread Wenyou Yang
Due to the introduction of the pinctrl and clk driver, and using device tree files, remove the unneeded hardcoded pin configuration and clock enabling code from the board file. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v5: None Changes in v4: None Changes in v3: No

[U-Boot] [PATCH v5 3/7] board: sama5d4_xplained: clean up code

2017-04-12 Thread Wenyou Yang
Due to the introduction of the pinctrl and clk driver, and using device tree files, remove the unneeded hardcoded pin configuration and clock enabling code from the board file. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v5: None Changes in v4: None Changes in v3: No

[U-Boot] [PATCH v5 2/7] board: sama5d4_xplained: update to support DM/DT

2017-04-12 Thread Wenyou Yang
Update the configuration files to support the device tree and driver model, so do SPL. The device clock and pins configuration are handled by the clock and the pinctrl drivers respectively. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v5: None Changes in v4: None Chan

[U-Boot] [PATCH v5 1/7] configs: at91-sama5_common: fix for CONFIG_AT91_GPIO

2017-04-12 Thread Wenyou Yang
Add #ifndef CONFIG_DM_GPIO for CONFIG_AT91_GPIO define to avoid the redefine compilation error. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None include/configs/at91-sama5_common.h | 2 ++ 1 file chang

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

2017-04-12 Thread Wenyou Yang
The purpose of patch set is to convert the board to support device tree and driver model, and enable the early debug UART as well. The patch set is based on the following patch set: 1./ [PATCH v3 0/2] mtd: nand: atmel: use another functions to set gpio value https://lists.denx.de/pipermail/u-bo

[U-Boot] [PATCH v6] mmc: gen_atmel_mci: add driver model support for mci

2017-04-12 Thread Wenyou Yang
Add the driver model support for Atmel mci 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 --- Changes in v6: - Rebase the master branch (commit: 4f6d85bb51). Chang

Re: [U-Boot] [PATCH v4 0/7] board: sama5d4: convert boards to support DM/DT

2017-04-12 Thread Yang, Wenyou
Hi Simon, Sorry for the inconvenience caused. This patch set is based on the following patch sets. 1 ./ [PATCH v3 0/2] mtd: nand: atmel: use another functions to set gpio value https://lists.denx.de/pipermail/u-boot/2017-March/284597.html 2./ [U-Boot] [PATCH v8 0/2] pinctrl: at91: Add pinctrl

[U-Boot] [PATCH] buildman: Handle commit subjects containing unicode

2017-04-12 Thread Simon Glass
One of these has crept in in this commit: 40a808f1 ARCv2: SLC: Make sure busy bit is set properly on SLC flushing Adjust buildman to handle it. Signed-off-by: Simon Glass --- tools/buildman/builder.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/buildman/buil

Re: [U-Boot] [PATCH v4 0/7] board: sama5d4: convert boards to support DM/DT

2017-04-12 Thread Simon Glass
Hi Wenyou, On 11 April 2017 at 23:00, Yang, Wenyou wrote: > Hi Simon, > > > On 2017/4/11 21:56, Simon Glass wrote: >> >> Hi, >> >> On 10 April 2017 at 00:57, Yang, Wenyou wrote: >>> >>> Hi Simon, >>> >>> >>> On 2017/4/10 3:28, Simon Glass wrote: +Tom Hi, On 7 April

Re: [U-Boot] [PATCH] Set ramdisk_addr_r to a higher address location on meson-gxbb.

2017-04-12 Thread Vagrant Cascadian
On 2017-04-12, Andreas Färber wrote: > Am 12.04.2017 um 23:28 schrieb Vagrant Cascadian: >> Set ramdisk_addr_r to 0x2000, otherwise it may conflict with >> kernel_addr_r location (0x0108) with a moderately large kernel. ... >> diff --git a/include/configs/meson-gxbb-common.h >> b/include/c

Re: [U-Boot] [U-Boot, v7, 2/3] mmc: meson: add MMC driver for Meson GX (S905)

2017-04-12 Thread Vagrant Cascadian
On 2017-04-12, Heiner Kallweit wrote: > From: Carlo Caione > This driver implements MMC support on Meson GX (S905) based systems. > It's based on Carlo Caione's work, changes: > - BLK support added > - general refactoring > > Signed-off-by: Carlo Caione > Signed-off-by: Andreas Färber > Signed-o

Re: [U-Boot] [U-Boot, v6, 3/3] odroid-c2: enable new Meson GX MMC driver in board defconfig

2017-04-12 Thread Heiner Kallweit
Am 13.04.2017 um 00:09 schrieb Vagrant Cascadian: > On 2017-02-20, Heiner Kallweit wrote: >> Enable new Meson GX MMC driver in Odroid C2 defconfig. > > This required some minor fixes to actually apply against v2017.05-rc1: > Just today I submitted a rebased v7 which works on top of v2017.05-rc1.

Re: [U-Boot] [PATCH 1/2] imx-common: Enable ACTLR.SMP bit for i.MX cortex-a7 platforms

2017-04-12 Thread Fabio Estevam
Hi Stefano, On Wed, Apr 12, 2017 at 1:44 PM, Stefano Babic wrote: > Anyway, it looks to me wrong to fix this in i.MX code, as this must be > fixed for all Cortex-A7. It should be fixed in general ARM code. I agree 100%. This was the exact same feedback I gave when I saw this patch being sent to

Re: [U-Boot] [U-Boot, v6, 3/3] odroid-c2: enable new Meson GX MMC driver in board defconfig

2017-04-12 Thread Vagrant Cascadian
On 2017-02-20, Heiner Kallweit wrote: > Enable new Meson GX MMC driver in Odroid C2 defconfig. This required some minor fixes to actually apply against v2017.05-rc1: diff --git a/configs/odroid-c2_defconfig b/configs/odroid-c2_defconfig index 2cf5011f46..f2a62ea609 100644 --- a/configs/odroid-c2_

Re: [U-Boot] [U-Boot, v6, 2/3] mmc: meson: add MMC driver for Meson GX (S905)

2017-04-12 Thread Vagrant Cascadian
On 2017-02-20, Heiner Kallweit wrote: > From: Carlo Caione > This driver implements MMC support on Meson GX (S905) based systems. > It's based on Carlo Caione's work, changes: > - BLK support added > - general refactoring > > Signed-off-by: Carlo Caione > Signed-off-by: Andreas Färber > Signed-o

Re: [U-Boot] [PATCH v2] ARM: DT: STM32F746: add u-boot, dm-pre-reloc property to sub nodes

2017-04-12 Thread Tom Rini
On Wed, Apr 12, 2017 at 02:16:36PM -0700, Vikas Manocha wrote: > This patch is required for correct SPL device tree creation by fdtgrep > as fdtgrep looks for u-boot,dm-pre-reloc property of the node to include > it in the spl device tree. > > Not adding it in these subnodes ignores the pin muxin

Re: [U-Boot] [PATCH v2 0/3] cramfs fixes and symlink support

2017-04-12 Thread Tom Rini
On Wed, Apr 12, 2017 at 04:29:14PM -0400, Tyler Hall wrote: > This adds initial support for symlinks in cramfs and fixes cramfs so that it > can be tested in the sandbox. "cramfs: block pointers are 32 bits" fixes a > crash on 64-bit which I have experienced on ARMv8 as well as the sandbox. > > C

[U-Boot] [PATCH v2] ARM: DT: STM32F746: add u-boot, dm-pre-reloc property to sub nodes

2017-04-12 Thread Vikas Manocha
This patch is required for correct SPL device tree creation by fdtgrep as fdtgrep looks for u-boot,dm-pre-reloc property of the node to include it in the spl device tree. Not adding it in these subnodes ignores the pin muxing of peripherals which is almost always in the subnodes. Signed-off-by: V

Re: [U-Boot] [PATCH] Set ramdisk_addr_r to a higher address location on meson-gxbb.

2017-04-12 Thread Andreas Färber
Am 12.04.2017 um 23:28 schrieb Vagrant Cascadian: > Set ramdisk_addr_r to 0x2000, otherwise it may conflict with > kernel_addr_r location (0x0108) with a moderately large kernel. > > Signed-off-by: Vagrant Cascadian > --- > > include/configs/meson-gxbb-common.h | 2 +- > 1 file changed,

Re: [U-Boot] [PATCH] Set ramdisk_addr_r to a higher address location on meson-gxbb.

2017-04-12 Thread Tom Rini
On Wed, Apr 12, 2017 at 02:28:05PM -0700, Vagrant Cascadian wrote: > Set ramdisk_addr_r to 0x2000, otherwise it may conflict with > kernel_addr_r location (0x0108) with a moderately large kernel. > > Signed-off-by: Vagrant Cascadian > --- > > include/configs/meson-gxbb-common.h | 2 +-

Re: [U-Boot] ARM: DT: STM32F746: add u-boot, dm-pre-reloc property to sub nodes

2017-04-12 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Wednesday, April 12, 2017 10:27 AM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de; Ian Campbell ; Hans de Goede > > Subject: Re: [U-Boot] ARM: DT: STM32F746: add u-boot, dm-pre-reloc property > to sub nod

[U-Boot] [PATCH] Set ramdisk_addr_r to a higher address location on meson-gxbb.

2017-04-12 Thread Vagrant Cascadian
Set ramdisk_addr_r to 0x2000, otherwise it may conflict with kernel_addr_r location (0x0108) with a moderately large kernel. Signed-off-by: Vagrant Cascadian --- include/configs/meson-gxbb-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/meson

[U-Boot] [PATCH] sandbox: Change CONFIG_SANDBOX_BITS_PER_LONG to hard-coded

2017-04-12 Thread Tom Rini
Instead of having CONFIG_SANDBOX_BITS_PER_LONG in sandbox.h set to 64 with a comment to change to 32 on a 32bit host, simply set this to 64 in asm/types.h and have the comment be there. Cc: Simon Glass Signed-off-by: Tom Rini --- arch/sandbox/include/asm/types.h | 6 +- include/configs/sand

[U-Boot] [PATCH v2 1/3] cmd: cramfs: use map_sysmem for sandbox support

2017-04-12 Thread Tyler Hall
As with most other commands, this needs to factor in the sysmem offset in the sandbox or it will try to dereference the simulated physical address directly. Signed-off-by: Tyler Hall --- cmd/cramfs.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/cmd/cramfs.c

[U-Boot] [PATCH v2 2/3] cramfs: block pointers are 32 bits

2017-04-12 Thread Tyler Hall
Using a variably-sized type is incorrect here since we're reading a fixed file format. Fixes cramfs on 64-bit platforms. Signed-off-by: Tyler Hall --- fs/cramfs/cramfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/cramfs/cramfs.c b/fs/cramfs/cramfs.c index 05ed27240a..

[U-Boot] [PATCH v2 3/3] cramfs: basic symlink support

2017-04-12 Thread Tyler Hall
Handle symlinks to files in the current directory. Other cases could be handled with additional code, but this is a start. Add explicit errors for absolute paths and links found in the middle of a path (directories). Other cases like '..' or '.' will result with the file not being found as when th

[U-Boot] [PATCH v2 0/3] cramfs fixes and symlink support

2017-04-12 Thread Tyler Hall
This adds initial support for symlinks in cramfs and fixes cramfs so that it can be tested in the sandbox. "cramfs: block pointers are 32 bits" fixes a crash on 64-bit which I have experienced on ARMv8 as well as the sandbox. Changes in v2: * Add missing include and pointer cast needed on some arc

Re: [U-Boot] [PATCH 8/8] defconfig: keystone: Enable DM I2C

2017-04-12 Thread Tom Rini
On Wed, Apr 12, 2017 at 02:41:50PM -0500, Franklin S Cooper Jr wrote: > > > On 04/12/2017 02:33 PM, Tom Rini wrote: > > On Wed, Apr 12, 2017 at 02:26:21PM -0500, Franklin S Cooper Jr wrote: > >> > >> > >> On 04/12/2017 02:13 PM, Tom Rini wrote: > >>> On Tue, Apr 11, 2017 at 01:37:25PM -0500, Fran

Re: [U-Boot] [PATCH 7/7] omap3_logic: Add Device Tree Support and more DM drivers

2017-04-12 Thread Tom Rini
On Wed, Apr 12, 2017 at 02:38:58PM -0500, Adam Ford wrote: > On Wed, Apr 12, 2017 at 2:18 PM, Tom Rini wrote: > > On Wed, Apr 12, 2017 at 07:40:16AM -0500, Adam Ford wrote: > > > >> The previous version of omap3_logic_defconfig supported either > >> Torpedo or SOM-LV. Now with the device tree, th

Re: [U-Boot] [PATCH] spl: make image arg or fdt blob address reconfigurable

2017-04-12 Thread Vikas MANOCHA
Hi Tom, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Wednesday, April 12, 2017 6:33 AM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de; Marek Vasut ; Stefan Agner > ; Jeremy Hunt > > Subject: Re: [U-Boot] [PATCH] spl: make image arg or fdt blob address > rec

Re: [U-Boot] [PATCH 8/8] defconfig: keystone: Enable DM I2C

2017-04-12 Thread Franklin S Cooper Jr
On 04/12/2017 02:33 PM, Tom Rini wrote: > On Wed, Apr 12, 2017 at 02:26:21PM -0500, Franklin S Cooper Jr wrote: >> >> >> On 04/12/2017 02:13 PM, Tom Rini wrote: >>> On Tue, Apr 11, 2017 at 01:37:25PM -0500, Franklin S Cooper Jr wrote: >>> Now that the davinci I2C driver is converted to drive

Re: [U-Boot] [PATCH 7/7] omap3_logic: Add Device Tree Support and more DM drivers

2017-04-12 Thread Adam Ford
On Wed, Apr 12, 2017 at 2:18 PM, Tom Rini wrote: > On Wed, Apr 12, 2017 at 07:40:16AM -0500, Adam Ford wrote: > >> The previous version of omap3_logic_defconfig supported either >> Torpedo or SOM-LV. Now with the device tree, there are two >> different defconfig files: >> >> omap3_logic_defconfig

Re: [U-Boot] [PATCH 8/8] defconfig: keystone: Enable DM I2C

2017-04-12 Thread Tom Rini
On Wed, Apr 12, 2017 at 02:26:21PM -0500, Franklin S Cooper Jr wrote: > > > On 04/12/2017 02:13 PM, Tom Rini wrote: > > On Tue, Apr 11, 2017 at 01:37:25PM -0500, Franklin S Cooper Jr wrote: > > > >> Now that the davinci I2C driver is converted to driver model enable > >> it in 66AK2Gx defconfig

Re: [U-Boot] [PATCH 8/8] defconfig: keystone: Enable DM I2C

2017-04-12 Thread Franklin S Cooper Jr
On 04/12/2017 02:13 PM, Tom Rini wrote: > On Tue, Apr 11, 2017 at 01:37:25PM -0500, Franklin S Cooper Jr wrote: > >> Now that the davinci I2C driver is converted to driver model enable >> it in 66AK2Gx defconfig >> >> Signed-off-by: Franklin S Cooper Jr >> --- >> configs/k2e_evm_defconfig | 1

Re: [U-Boot] [PATCH 5/8] ARM: dts: k2g: Add I2C nodes to 66AK2Gx

2017-04-12 Thread Tom Rini
On Wed, Apr 12, 2017 at 02:17:40PM -0500, Franklin S Cooper Jr wrote: > > > On 04/12/2017 02:11 PM, Tom Rini wrote: > > On Tue, Apr 11, 2017 at 01:37:22PM -0500, Franklin S Cooper Jr wrote: > > > >> Add I2C nodes to the 66AK2Gx dtsi. > >> > >> Signed-off-by: Franklin S Cooper Jr > >> --- > >>

Re: [U-Boot] [PATCH 5/8] ARM: dts: k2g: Add I2C nodes to 66AK2Gx

2017-04-12 Thread Franklin S Cooper Jr
On 04/12/2017 02:11 PM, Tom Rini wrote: > On Tue, Apr 11, 2017 at 01:37:22PM -0500, Franklin S Cooper Jr wrote: > >> Add I2C nodes to the 66AK2Gx dtsi. >> >> Signed-off-by: Franklin S Cooper Jr >> --- >> arch/arm/dts/keystone-k2g.dtsi | 32 >> 1 file changed, 3

Re: [U-Boot] [PATCH 6/7] OMAP3: Add SMSC9221 device tree for omap devices connected on GPMC.

2017-04-12 Thread Tom Rini
On Wed, Apr 12, 2017 at 07:40:04AM -0500, Adam Ford wrote: > Some OMAP3 devices support an SMSC ethernet PHY connected to the GPMC bus. > This copies this device tree from Linux 4.9.y stable > > Signed-off-by: Adam Ford > Reviewed-by: Lokesh Vutla > > diff --git a/arch/arm/dts/omap-gpmc-smsc92

Re: [U-Boot] [PATCH 7/7] omap3_logic: Add Device Tree Support and more DM drivers

2017-04-12 Thread Tom Rini
On Wed, Apr 12, 2017 at 07:40:16AM -0500, Adam Ford wrote: > The previous version of omap3_logic_defconfig supported either > Torpedo or SOM-LV. Now with the device tree, there are two > different defconfig files: > > omap3_logic_defconfig = torpedo > omap3_logic_somlv_defconfig = SOM-LV > > Th

Re: [U-Boot] [PATCH 4/7] ARM: OMAP: I2C: Support New read, write and probe functions for OMAP3

2017-04-12 Thread Tom Rini
On Wed, Apr 12, 2017 at 07:39:43AM -0500, Adam Ford wrote: > New i2c_read, i2c_write and i2c_probe functions, tested on OMAP4 > (4430/60/70), OMAP5 (5430) and AM335X (3359) were added in 960187ffa125( > "ARM: OMAP: I2C: New read, write and probe functions") but not tested > on OMAP3. This patch w

Re: [U-Boot] [PATCH 5/7] omap3: Copy twl4030 device tree from Linux 4.9.y stable

2017-04-12 Thread Tom Rini
On Wed, Apr 12, 2017 at 07:39:53AM -0500, Adam Ford wrote: > Many OMAP3 boards use a TWL4030 PMIC. This brings in the related > device tree information for common TWL4030 and TWL4030 with OMAP3. > > Signed-off-by: Adam Ford > Reviewed-by: Lokesh Vutla > > diff --git a/arch/arm/dts/twl4030.dts

Re: [U-Boot] [PATCH 2/7] omap3: Copy Device tree from Linux 4.9.y stable

2017-04-12 Thread Tom Rini
On Wed, Apr 12, 2017 at 07:39:07AM -0500, Adam Ford wrote: > Add device tree support to allow for CONFIG_OF_CONTROL in OMAP3 boards. > > Signed-off-by: Adam Ford > Reviewed-by: Lokesh Vutla > > diff --git a/arch/arm/dts/omap3.dtsi b/arch/arm/dts/omap3.dtsi > new file mode 100644 > index 00

Re: [U-Boot] [PATCH 3/7] omap3630: Copy Device tree from Linux 4.9.y stable

2017-04-12 Thread Tom Rini
On Wed, Apr 12, 2017 at 07:39:31AM -0500, Adam Ford wrote: > Add device tree support to allow for CONFIG_OF_CONTROL in OMAP3630 boards. > DM3730 can use this same device tree. > > Signed-off-by: Adam Ford > Reviewed-by: Lokesh Vutla > > diff --git a/arch/arm/dts/omap34xx-omap36xx-clocks.dtsi

Re: [U-Boot] [PATCH 1/7] omap_hsmmc: update struct hsmmc to accommodate omap3 from DT

2017-04-12 Thread Tom Rini
On Wed, Apr 12, 2017 at 07:38:40AM -0500, Adam Ford wrote: > This patch fixes and issue where DM_MMC adds a 0x100 byte offset to the > base register. This is necessary for AM33xx, OMAP4+ and newer devices, but > it is not necessary for OMAP34XX boards. > > This patch will now only apply the x100

Re: [U-Boot] [PATCH 8/8] defconfig: keystone: Enable DM I2C

2017-04-12 Thread Tom Rini
On Tue, Apr 11, 2017 at 01:37:25PM -0500, Franklin S Cooper Jr wrote: > Now that the davinci I2C driver is converted to driver model enable > it in 66AK2Gx defconfig > > Signed-off-by: Franklin S Cooper Jr > --- > configs/k2e_evm_defconfig | 1 + > configs/k2g_evm_defconfig | 1 + > configs/k

Re: [U-Boot] [PATCH 4/8] ti: common: board_detect: Set alen to expected value before i2c read

2017-04-12 Thread Tom Rini
On Tue, Apr 11, 2017 at 01:37:21PM -0500, Franklin S Cooper Jr wrote: > In non DM I2C read operations the address length passed in during a read > operation will be used automatically. However, in DM I2C the address length > is set to a default value of one which causes problems when trying to > p

Re: [U-Boot] [PATCH 5/8] ARM: dts: k2g: Add I2C nodes to 66AK2Gx

2017-04-12 Thread Tom Rini
On Tue, Apr 11, 2017 at 01:37:22PM -0500, Franklin S Cooper Jr wrote: > Add I2C nodes to the 66AK2Gx dtsi. > > Signed-off-by: Franklin S Cooper Jr > --- > arch/arm/dts/keystone-k2g.dtsi | 32 > 1 file changed, 32 insertions(+) OK, are these upstream as well? I

Re: [U-Boot] [ PATCH v2] net: move Broadcom SF2 driver to Kconfig

2017-04-12 Thread Tom Rini
On Wed, Apr 12, 2017 at 10:46:35AM -0700, Steve Rae wrote: > From: Suji Velupillai > > move to Kconfig: > CONFIG_BCM_SF2_ETH > CONFIG_BCM_SF2_ETH_DEFAULT_PORT > CONFIG_BCM_SF2_ETH_GMAC > > Also modified defconfigs of all platforms that use these configs. > > Signed-off-by: Su

Re: [U-Boot] [PATCH v6 3/3] odroid-c2: enable new Meson GX MMC driver in board defconfig

2017-04-12 Thread Heiner Kallweit
Am 12.04.2017 um 07:08 schrieb Jaehoon Chung: > Dear Heiner, > > On 04/12/2017 04:41 AM, Heiner Kallweit wrote: >> Am 20.02.2017 um 20:32 schrieb Heiner Kallweit: >>> Enable new Meson GX MMC driver in Odroid C2 defconfig. >>> >>> Signed-off-by: Heiner Kallweit >>> --- >>> v6: >>> - no changes >>>

[U-Boot] [PATCH v7 3/3] odroid-c2: enable new Meson GX MMC driver in board defconfig

2017-04-12 Thread Heiner Kallweit
Enable new Meson GX MMC driver in Odroid C2 defconfig. Signed-off-by: Heiner Kallweit --- v6: - no changes v7: - rebased --- configs/odroid-c2_defconfig | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/odroid-c2_defconfig b/configs/odroid-c2_defconfig index 2cf5011

[U-Boot] [PATCH v7 2/3] mmc: meson: add MMC driver for Meson GX (S905)

2017-04-12 Thread Heiner Kallweit
From: Carlo Caione This driver implements MMC support on Meson GX (S905) based systems. It's based on Carlo Caione's work, changes: - BLK support added - general refactoring Signed-off-by: Carlo Caione Signed-off-by: Andreas Färber Signed-off-by: Heiner Kallweit --- v6: - remove DM_MMC_OPS fro

[U-Boot] [PATCH v7 1/3] arm: dts: update Meson GXBB / Odroid-C2 DT with recent Linux version

2017-04-12 Thread Heiner Kallweit
As a prerequisite for adding a Meson GX MMC driver update the Meson GXBB / Odroid-C2 device tree in Uboot with the latest version from Linux. Signed-off-by: Neil Armstrong Signed-off-by: Carlo Caione Signed-off-by: Andreas Färber Signed-off-by: Heiner Kallweit --- v4: - Added SoB of original a

[U-Boot] [PATCH v7 0/3] mmc: meson: add MMC support for Meson GX (S905)

2017-04-12 Thread Heiner Kallweit
This patch set implements eMMC on Amlogic Meson GX (S905). It's based on Carlo Caione's work submitted here: http://lists.denx.de/pipermail/u-boot/2016-May/254391.html Changes to the original version: - BLK support added - fully DT-based now - minor general refactoring The driver was successfully

Re: [U-Boot] [PATCH v3 6/6] board: toradex: colibri_vf: Add DCU support for Colibri Vybrid

2017-04-12 Thread Stefan Agner
On 2017-04-12 09:14, Stefano Babic wrote: > Hi Stefan, > > On 11/04/2017 07:42, Sanchayan Maity wrote: >> From: Stefan Agner >> > > The series is assigned to Anatolji, that the reason I do not merge. Oh I see, in this case, Anatolij, any chance to merge in this window? > Other patches are rela

[U-Boot] [ PATCH v2] net: move Broadcom SF2 driver to Kconfig

2017-04-12 Thread Steve Rae
From: Suji Velupillai move to Kconfig: CONFIG_BCM_SF2_ETH CONFIG_BCM_SF2_ETH_DEFAULT_PORT CONFIG_BCM_SF2_ETH_GMAC Also modified defconfigs of all platforms that use these configs. Signed-off-by: Suji Velupillai Tested-by: Suji Velupillai Reviewed-by: JD Zheng Reviewed

Re: [U-Boot] ARM: DT: STM32F746: add u-boot, dm-pre-reloc property to sub nodes

2017-04-12 Thread Tom Rini
On Tue, Apr 04, 2017 at 04:59:06PM -0700, Vikas Manocha wrote: > This patch is required for correct SPL device tree creation by fdtgrep > as fdtgrep looks for u-boot,dm-pre-reloc property of the node to include > it in the spl device tree. > > Not adding it in these subnodes ignores the pin muxin

Re: [U-Boot] [PATCH v4] imx: i.mx6q: add the initial support for LogicPD i.MX6Q SOM

2017-04-12 Thread Stefano Babic
On 12/04/2017 18:01, Adam Ford wrote: > On Fri, Apr 7, 2017 at 10:25 AM, Adam Ford wrote: >> Logic PD has an i.MX6Q system on module (SOM) with a development kit. The >> SOM has a built-in microSD socket, DDR and NAND flash. The development kit >> has an SMSC Ethernet PHY, serial debug port and a

Re: [U-Boot] [PATCH] cmd_mmc: fix arg parsing for setdsr subcmd

2017-04-12 Thread Stefano Babic
On 03/02/2017 15:26, Markus Niebel wrote: > From: Markus Niebel > > The handler do_setdsr receives only the dsr parameter, > the action is parsed before. > > Error was introduced when restructuring the mmc command > implementation in commit 1fd93c6e7d8a1e4d6261058cefab11b875ded252. > > Reported

Re: [U-Boot] [PATCH 2/2] imx: mx7ulp: Fix SPLL/APLL clock rate calculation issue

2017-04-12 Thread Stefano Babic
On 05/04/2017 04:36, Peng Fan wrote: > From: Ye Li > > The num/denom is a float value, but in the calculation it is convert > to integer 0, and wrong result. > > Signed-off-by: Ye Li > Signed-off-by: Peng Fan > Cc: Stefano Babic > --- > arch/arm/cpu/armv7/mx7ulp/scg.c | 8 ++-- > 1 file

Re: [U-Boot] [PATCH 1/2] imx-common: Enable ACTLR.SMP bit for i.MX cortex-a7 platforms

2017-04-12 Thread Stefano Babic
Hi Peng, On 05/04/2017 04:36, Peng Fan wrote: > According to the Cortex-A7 TRM, for ACTLR.SMP bit "You must ensure > this bit is set to 1 before the caches and MMU are enabled, or any > cache and TLB maintenance operations are performed". > True, understood, thanks. > ROM sets this bit in norma

Re: [U-Boot] [PATCH] imx: ventana: config: set MMC env Partition to 1

2017-04-12 Thread Stefano Babic
On 11/04/2017 18:58, Tim Harvey wrote: > Partition 1 equates to EMMC boot0 > > Signed-off-by: Tim Harvey > --- > include/configs/gw_ventana.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h > index c3908de..8191d43 100644 > --

Re: [U-Boot] [PATCH 3/3] net: fec_mxc: specify the registered eth index by dev_id

2017-04-12 Thread Stefano Babic
On 10/04/2017 13:44, Peng Fan wrote: > From: Andy Duan > > Specify the registered eth index by dev_id. > > Signed-off-by: Fugang Duan > Signed-off-by: Peng Fan > Cc: Joe Hershberger > --- > drivers/net/fec_mxc.c | 11 +-- > 1 file changed, 9 insertions(+), 2 deletions(-) > > diff --

Re: [U-Boot] [PATCH 2/3] net: fec_mxc: avoid transfer dev_id -1 to get mac address from fuse

2017-04-12 Thread Stefano Babic
On 10/04/2017 13:44, Peng Fan wrote: > From: Andy Duan > > Avoid transfer parameter dev_id value with "-1" to .fec_get_hwaddr(), > it should transfer fec->dev_id to get mac address from fuse. > > Signed-off-by: Fugang Duan > Signed-off-by: Peng Fan > Cc: Joe Hershberger > --- > drivers/net/f

Re: [U-Boot] [PATCH 1/3] net: fec: do not access reserved register for i.MX6ULL

2017-04-12 Thread Stefano Babic
On 10/04/2017 13:44, Peng Fan wrote: > The MIB RAM and FIFO receive start register does not exist on > i.MX6ULL. Accessing these register will cause enet not work well or > cause system report fault. > > Signed-off-by: Peng Fan > Cc: Joe Hershberger > --- > drivers/net/fec_mxc.c | 2 +- > 1 fil

Re: [U-Boot] [PATCH v3] mx6sabresd: README: Add eMMC boot configuration

2017-04-12 Thread Stefano Babic
On 10/04/2017 14:45, Breno Lima wrote: > Explain how to flash the eMMC and how to boot from it. > > Signed-off-by: Breno Lima > --- > Changes since v2: > -Fix number of methods for booting mx6sabresd boards. > > board/freescale/mx6sabresd/README | 55 > +-- >

Re: [U-Boot] [PATCH v3 6/6] board: toradex: colibri_vf: Add DCU support for Colibri Vybrid

2017-04-12 Thread Stefano Babic
Hi Stefan, On 11/04/2017 07:42, Sanchayan Maity wrote: > From: Stefan Agner > The series is assigned to Anatolji, that the reason I do not merge. Other patches are related to Video, for this one: > The Vybrid SoC family has the same display controller unit (DCU) > like the LS1021A SoC. This pa

Re: [U-Boot] [PATCH] Set console speed to 115200 on mx6cuboxi.

2017-04-12 Thread Stefano Babic
On 31/03/2017 22:48, Vagrant Cascadian wrote: > By default, u-boot itself outputs on the serial console at 115200, so > it may as well pass the same value to the booted operating system as > well. > > Signed-off-by: Vagrant Cascadian > --- > > include/configs/mx6cuboxi.h | 2 +- > 1 file change

Re: [U-Boot] [PATCH 1/4] board: advantech: dms-ba16: Add the configuration options for display initialization

2017-04-12 Thread Stefano Babic
On 28/03/2017 19:51, Ken Lin wrote: > Add the configuration options for display initialization in case we need to > do the display initialization in kernel to support different timing settings > > Signed-off-by: Ken Lin > --- Whole series applied to u-boot-imx, thanks! Best regards, Stefano Bab

Re: [U-Boot] [PATCH] wandboard: Enable SATA for quad

2017-04-12 Thread Stefano Babic
Hi Nicholas, On 16/02/2017 19:27, Peter Robinson wrote: > On Thu, Feb 16, 2017 at 6:20 PM, Nicolas Chauvet wrote: >> Having sata first will makes preference to sata boot if >> both sata0 and mmc0 have a boot partition >> >> This change was not tested against wanboard solo/dual, >> but it does ope

Re: [U-Boot] [PATCH v4] imx: i.mx6q: add the initial support for LogicPD i.MX6Q SOM

2017-04-12 Thread Adam Ford
On Fri, Apr 7, 2017 at 10:25 AM, Adam Ford wrote: > Logic PD has an i.MX6Q system on module (SOM) with a development kit. The > SOM has a built-in microSD socket, DDR and NAND flash. The development kit > has an SMSC Ethernet PHY, serial debug port and a variety of peripherals. > This have been v

Re: [U-Boot] [PATCH 5/5] MAINTAINERS: Fix ARM FREESCALE IMX files

2017-04-12 Thread Stefano Babic
On 27/03/2017 20:02, Jagan Teki wrote: > From: Jagan Teki > > - Remove arch/arm/cpu/arm926ejs/imx/ which is not available > - arch/arm/cpu/imx-common/ => arch/arm/imx-common/ > > Cc: Stefano Babic > Signed-off-by: Jagan Teki > --- > MAINTAINERS | 3 +-- > 1 file changed, 1 insertion(+), 2 del

Re: [U-Boot] [PATCH 2/2][v4] armv8: ls2080aqds: Add support for SD boot

2017-04-12 Thread York Sun
On 04/03/2017 03:58 AM, Santan Kumar wrote: Signed-off-by: Santan Kumar Signed-off-by: Priyanka Jain Signed-off-by: Abhimanyu Saini --- Changes for v4: Rebased to latest codebase Incorporated York's comments to move CONFIG_SPL_MMC_SUPPORT to kconfig Depends on York MMU patches: h

Re: [U-Boot] [PATCH 1/3][v3] arm: ls1043ardb: Add SD secure boot target

2017-04-12 Thread York Sun
On 04/04/2017 10:36 AM, Ruchika Gupta wrote: - Add SD secure boot target for ls1043ardb. - Implement FSL_LSCH2 specific spl_board_init() to setup CAAM stream ID and corresponding stream ID in SMMU. - Change the u-boot size defined by a macro for copying the main U-Boot by SPL to also include

  1   2   >