Re: [U-Boot] [PATCH RFC] arm64: allwinner: a64: Add Brava Keller initial support

2017-11-30 Thread Maxime Ripard
On Fri, Dec 01, 2017 at 12:14:41AM +0530, Jagan Teki wrote: > Brava Keller is A64 based IoT device, which support > - Allwinner A64 Cortex-A53 > - AXP803 PMIC > - 1GB DDR3 RAM > - 8GB eMMC > - Mali-400MP2 GPU > - AP6330 Wifi/BLE > - Camera OV5640 > - USB Host and OTG > > Signed-off-by: Jagan Teki

[U-Boot] [PATCH V11 3/4] rockchip:usb: add a simple readme for rockusb

2017-11-30 Thread Eddie Cai
add a simple readme to introduce rockusb and tell people how to use it Signed-off-by: Eddie Cai Reviewed-by: Simon Glass --- Changes in v11: -add to MAINTAINER Changes in v10: -none Changes in v9: -none Changes in v8: -none Changes in v7: -none Changes in v6: -none Changes in v5: -none Ch

[U-Boot] [PATCH V11 4/4] rockchip: rk3288: enable rockusb support on rk3288 based device

2017-11-30 Thread Eddie Cai
this patch enable rockusb support on rk3288 based device. Signed-off-by: Eddie Cai Reviewed-by: Simon Glass --- Changes in v11: -none Changes in v10: -rebase to latest mainline U-Boot, add vyasa board support Changes in v9: -fix compile error Changes in v8: -fix compile error Changes in v7:

[U-Boot] [PATCH V11 1/4] usb: rockchip: add the rockusb gadget

2017-11-30 Thread Eddie Cai
this patch implement rockusb protocol on the device side. this is based on USB download gadget infrastructure. the rockusb function implements the rd, wl, rid commands. it can work with rkdeveloptool Signed-off-by: Eddie Cai Reviewed-by: Simon Glass --- Changes in v11: -fix checkpatch error -add

[U-Boot] [PATCH V11 2/4] usb: rockchip: add rockusb command

2017-11-30 Thread Eddie Cai
this patch add rockusb command. the usage is rockusb e.g. rockusb 0 mmc 0 Signed-off-by: Eddie Cai Reviewed-by: Simon Glass --- Changes in v11: -fix check patch error -add maintainer Changes in v10: -fix build error Changes in v9: -fix compile error Changes in v8: -none Changes in v7: -no

[U-Boot] [PATCH V11 0/4] introduce Rockchip rockusb

2017-11-30 Thread Eddie Cai
Changes in v11: -fix check patch error -add maintainer Changes in v10: -rebase to latest mainline U-Boot -fix build error Changes in v9: -rebase to the latest mainline -fix compile error Changes in v8: -rebase to v2017.09-rc2 -fix compile error Changes in v7: -use imply in the Kconfig to enable

[U-Boot] [PATCH] net: sh-eth: Add to Kconfig and convert

2017-11-30 Thread Nobuhiro Iwamatsu
This adds SH_ETHER to drivers/net/Kconfig and convert to Kconfig. Signed-off-by: Nobuhiro Iwamatsu --- configs/ap_sh4a_4a_defconfig | 3 ++- configs/armadillo-800eva_defconfig | 3 ++- configs/ecovec_defconfig | 3 ++- configs/espt_defconfig | 3 ++- configs/gose_defc

Re: [U-Boot] [PATCH 2/2] armv8: ls1043a: Discard the needless cpu nodes

2017-11-30 Thread Wenbin Song
Hi York, Yes, you are right. I have tested it on others SoCs (LS1043a/LS1023a, LS2088a/LS2048a). It works fine. So, I will remove the config and the #if condition. Thank you and Prabhakar for the advice. Best Regards Wenbin Song -Original Message- From: York Sun Sent: Friday, De

[U-Boot] [V2 2/2] armv8: ls1043a: Discard the needless cpu nodes

2017-11-30 Thread Wenbin song
Using "cpu_pos_mask()" function to detect the real online cpus, and discard the needless cpu nodes on kernel dts. Signed-off-by: Wenbin Song --- Changes for v1: Remove the config option. Use id_to_core() funcation to find the position of core. --- arch/arm/cpu/arm

[U-Boot] [V2 1/2] armv8: ls1043a: modify the detecting way to cover all variants

2017-11-30 Thread Wenbin song
There are many variants for ls1043a. Modify the detecting way to make that the below fixup apply to all variants of ls1043a. - Fix GIC offset for rev1.1 - Fix msi node for rev1.1 - erratum_a010151 Signed-off-by: Wenbin Song --- Changes for V1: None. --- ar

Re: [U-Boot] [PATCH] x86: Add 'imply SCSI' to boards using AHCI_PCI

2017-11-30 Thread Bin Meng
Hi Tuomas, On Fri, Dec 1, 2017 at 5:35 AM, Tuomas Tynkkynen wrote: > The qemu and coreboot boards have 'imply AHCI_PCI' but no 'imply SCSI', > i.e. they are enabling the driver for the Serial ATA controller but > (AFAICT) have no way of accessing those devices from the prompt. > > In fact, withou

[U-Boot] [PATCH] cmd: i2c: Fix use sdram sub command with CONFIG_DM_I2C

2017-11-30 Thread Nobuhiro Iwamatsu
sdram sub command of i2c command does not support Drivers Model. This adds Drivers Model support to sdram sub command. Signed-off-by: Nobuhiro Iwamatsu --- cmd/i2c.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/cmd/i2c.c b/cmd/i2c.c index 3dd7c6ba4d..bfddf8

[U-Boot] [PATCH] MAINTAINERS: git-mailrc: Update the maintainer for rmobile

2017-11-30 Thread Nobuhiro Iwamatsu
Adding Marek Vasut to MAINTAINERS and git-mailrc for the Renesas ARM rmobile architecture. Signed-off-by: Nobuhiro Iwamatsu --- doc/git-mailrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/git-mailrc b/doc/git-mailrc index 5a365cddd9..f2fc6d4c5e 100644 --- a/doc/git-mai

[U-Boot] [PATCH] net: sh-eth: Fix misaligned cache operation warning

2017-11-30 Thread Nobuhiro Iwamatsu
When we using network on board using sh-eth, it prints a lot of "CACHE: Misaligned operation at range" messages. This commit fixes this problem. Signed-off-by: Nobuhiro Iwamatsu --- drivers/net/sh_eth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/sh_eth.c

[U-Boot] [PATCH v2 2/3] ARM: rmobile: Move CONFIG_SYS_TEXT_BASE to Kconfig

2017-11-30 Thread Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu --- v2: no change. board/atmark-techno/armadillo-800eva/Kconfig | 2 ++ board/kmc/kzm9g/Kconfig | 3 +++ board/renesas/alt/Kconfig| 4 board/renesas/blanche/Kconfig| 4 board/renesas/gose/Kconfig

[U-Boot] [PATCH v2 3/3] ARM: rmobile: Move config of SoCs to Kconfig

2017-11-30 Thread Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu --- v2: no change. arch/arm/mach-rmobile/Kconfig.32 | 31 +++ include/configs/alt.h | 1 - include/configs/armadillo-800eva.h | 1 - include/configs/gose.h | 1 - include/configs/koelsch.h | 1 -

[U-Boot] [PATCH v2 1/3] ARM: rmobile: Use CONFIG_SYS_BOARD instaed of CONFIG_ARCH_RMOBILE_BOARD_STRING

2017-11-30 Thread Nobuhiro Iwamatsu
CONFIG_SYS_BOARD is provided by Kconfig, this has the same value as CONFIG_ARCH_RMOBILE_BOARD_STRING provided in .h. This switches from CONFIG_ARCH_RMOBILE_BOARD_STRING to CONFIG_SYS_BOARD. Signed-off-by: Nobuhiro Iwamatsu --- v2: rebase. board/atmark-techno/armadillo-800eva/armadillo-800eva.c

Re: [U-Boot] [PATCH 00/23] imx: add i.MX8M support and i.MX8MQ EVK

2017-11-30 Thread Peng Fan
Hi Stefano, I plan to send out V2 patchset today or tommorw. About https://patchwork.ozlabs.org/patch/842122/ imx: mx8m: add ddr register memory map https://patchwork.ozlabs.org/patch/842167/ imx: add i.MX8MQ EVK support it is hard for me to convert using structure about t

Re: [U-Boot] [PATCH 1/3] ARM: rmobile: Use CONFIG_SYS_BOARD instaed of CONFIG_ARCH_RMOBILE_BOARD_STRING

2017-11-30 Thread Nobuhiro Iwamatsu
Hi, 2017-12-01 8:06 GMT+09:00 Nobuhiro Iwamatsu : > CONFIG_SYS_BOARD is provided by Kconfig, this has the same value as > CONFIG_ARCH_RMOBILE_BOARD_STRING provided in .h. > This switches from CONFIG_ARCH_RMOBILE_BOARD_STRING to CONFIG_SYS_BOARD. Sorry, forgot the rebase. Ignore these patches for

[U-Boot] [PATCH] net: sh-eth: Change structure used in read/write function to struct sh_eth_info

2017-11-30 Thread Nobuhiro Iwamatsu
This changes Change structure used in sh_eth_read and sh_eth_write function from struct sh_eth_dev to struct sh_eth_info. This is necessary to convert to Drivers model. Signed-off-by: Nobuhiro Iwamatsu --- drivers/net/sh_eth.c | 119 +-- drivers/ne

[U-Boot] [PATCH] net: sh-eth: Fix coding style checked by checkpatch.pl

2017-11-30 Thread Nobuhiro Iwamatsu
This fixes the chord style checked by checkpatch.pl. Details of change details are as follows: - Fix typo Change from alligned to aligned. - Remove whitespace before ',' - Add spaces preferred around that '|' - Fix missing a blank line after declarations - Remove space after a cast declar

[U-Boot] [PATCH] net: sh-eth: Remove bd_t from sh_eth_config()

2017-11-30 Thread Nobuhiro Iwamatsu
bd_t is not used in sh_eth_config(). This deletes bd_t from sh_eth_config(). Signed-off-by: Nobuhiro Iwamatsu --- drivers/net/sh_eth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c index 5c6278069c..aee2e57e97 100644 --- a/dri

[U-Boot] [PATCH 3/3] ARM: rmobile: Move config of SoCs to Kconfig

2017-11-30 Thread Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/mach-rmobile/Kconfig.32 | 31 +++ include/configs/alt.h | 1 - include/configs/armadillo-800eva.h | 1 - include/configs/gose.h | 1 - include/configs/koelsch.h | 1 - include/configs

[U-Boot] [PATCH 2/3] ARM: rmobile: Move CONFIG_SYS_TEXT_BASE to Kconfig

2017-11-30 Thread Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu --- board/atmark-techno/armadillo-800eva/Kconfig | 2 ++ board/kmc/kzm9g/Kconfig | 3 +++ board/renesas/alt/Kconfig| 4 board/renesas/blanche/Kconfig| 4 board/renesas/gose/Kconfig

[U-Boot] [PATCH 1/3] ARM: rmobile: Use CONFIG_SYS_BOARD instaed of CONFIG_ARCH_RMOBILE_BOARD_STRING

2017-11-30 Thread Nobuhiro Iwamatsu
CONFIG_SYS_BOARD is provided by Kconfig, this has the same value as CONFIG_ARCH_RMOBILE_BOARD_STRING provided in .h. This switches from CONFIG_ARCH_RMOBILE_BOARD_STRING to CONFIG_SYS_BOARD. Signed-off-by: Nobuhiro Iwamatsu --- board/atmark-techno/armadillo-800eva/armadillo-800eva.c | 2 +- board

Re: [U-Boot] [U-Boot, v2, 1/2] rockchip: rk3399-puma: add code to allow forcing a power-on reset

2017-11-30 Thread Philipp Tomsich
> The reset circuitry in the RK3399 only resets 'almost all logic' when > a software reset is performed. To make our software maintenance > easier in the future, we want to have the option (controlled by a DTS > property) to force all reset causes other than a power-on reset to > trigger a power-o

Re: [U-Boot] [U-Boot, v2, 2/2] rockchip: dts: rk3399-puma: add /config/sysreset-gpio property

2017-11-30 Thread Philipp Tomsich
> On the RK3399-Q7, we want to trigger a full platform reset (so the > various software stacks supported don't have to deal with the same > complexities over and over again) in case that anything other than a > power-on reset occurred. > > To do so, this defines the /config/sysreset-gpio property

[U-Boot] [PATCH 1/4] ARM: imx: cm-fx6: reinstate USB support by syncing the devicetree with Linux

2017-11-30 Thread christopher.spinrath
From: Christopher Spinrath Commit 5248930ebf48 ("dm: imx: cm_fx6: Enable more driver model support") enabled driver model support for USB, thereby effectively removing USB support because the cm_fx6 devicetree in the U-Boot does *not* enable the USB nodes. Reinstate the USB support by syncing th

[U-Boot] [PATCH 4/4] ARM: imx: cm_fx6: remove esdhc init code from board file

2017-11-30 Thread christopher.spinrath
From: Christopher Spinrath Commit 5248930ebf48 ("dm: imx: cm_fx6: Enable more driver model support") enabled driver model support for MMC. Remove the old mmc init code, which is no longer used, from the board file. Signed-off-by: Christopher Spinrath --- board/compulab/cm_fx6/cm_fx6.c | 29 ---

[U-Boot] [PATCH 3/4] ARM: imx: cm_fx6: remove sata init code from board file

2017-11-30 Thread christopher.spinrath
From: Christopher Spinrath Commit 5248930ebf48 ("dm: imx: cm_fx6: Enable more driver model support") enabled driver model support for AHCI. Remove the old, now unused, sata init code from the board file. Signed-off-by: Christopher Spinrath --- board/compulab/cm_fx6/cm_fx6.c | 42 --

[U-Boot] [PATCH 0/4] ARM: imx: cm_fx6: fix & clean up device model support

2017-11-30 Thread christopher.spinrath
From: Christopher Spinrath Hi all, The primary objective of this series is to reinstate basic USB support for the cm_fx6 module which was effectively removed by Commit 5248930ebf48 ("dm: imx: cm_fx6: Enable more driver model support"). This is achieved by synchronizing the devicetree with Linux

[U-Boot] [PATCH 2/4] ARM: imx: cm_fx6: defconfig: enable CONFIG_DM_KEYBOARD

2017-11-30 Thread christopher.spinrath
From: Christopher Spinrath Commit 5248930ebf48 ("dm: imx: cm_fx6: Enable more driver model support") enabled driver model support for USB. But it missed to enable driver model support for keyboards. As a result, USB keyboards do no longer work. Fix this by enabling driver model support for keybo

[U-Boot] [PATCH] x86: Add 'imply SCSI' to boards using AHCI_PCI

2017-11-30 Thread Tuomas Tynkkynen
The qemu and coreboot boards have 'imply AHCI_PCI' but no 'imply SCSI', i.e. they are enabling the driver for the Serial ATA controller but (AFAICT) have no way of accessing those devices from the prompt. In fact, without this patch I get a silent U-Boot crash when I add a SATA device to QEMU with

Re: [U-Boot] [PATCH v5 11/11] configs: omapl138_lcdk: decrease the loglevel to reduce the size of the SPL

2017-11-30 Thread Peter Howard
On Thu, 2017-11-30 at 11:55 -0500, Tom Rini wrote: > On Thu, Nov 30, 2017 at 05:44:04PM +0100, Jean-Jacques Hiblot wrote: > > > The changes in the MMC stack have increased its footprint up to the > > point > > were its breaks the generation of the SPL for this platform. > > Fix this by reducing th

[U-Boot] U-boot configuration

2017-11-30 Thread A.W.C.
Hello, Linux embedded file system (Linux v. 2.6.26.5) running on raw NAND flash, and use Full Image's RootFS. I need to access to linux shell when Linux kernel already is fully loaded and make some changes. U-boot> setenv bootargs console=ttyS1,115200n8 rootfstype=squashfs noalign half_image=0

Re: [U-Boot] Running u-boot on qemu-arm complains about missing ld.so.1

2017-11-30 Thread Dipanjan Das
Compiling uboot with Ubunu's arm-none-eabi package abd symlinking the ld.so from gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf toolchain throws the following error: "Inconsistency detected by ld.so: rtld.c: 1137: dl_main: Assertion `GL(dl_rtld_map).l_libname' failed!" Compiling uboot with gc

[U-Boot] [PATCH RFC] arm64: allwinner: a64: Add Brava Keller initial support

2017-11-30 Thread Jagan Teki
Brava Keller is A64 based IoT device, which support - Allwinner A64 Cortex-A53 - AXP803 PMIC - 1GB DDR3 RAM - 8GB eMMC - Mali-400MP2 GPU - AP6330 Wifi/BLE - Camera OV5640 - USB Host and OTG Signed-off-by: Jagan Teki --- Note: Need to test it on hardware arch/arm/dts/Makefile

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

2017-11-30 Thread Tom Rini
On Thu, Nov 30, 2017 at 01:33:43PM +0100, Stefan Roese wrote: > Hi Tom, > > please pull the following MVEBU related changes. > > Thanks, > Stefan > > The following changes since commit b06c46de632c55f4c39d404c6f0f65e414b31050: > > Merge tag 'xilinx-for-v2018.01' of git://www.denx.de/git/u-bo

Re: [U-Boot] [PULL] u-boot-sh/rmobile-mx

2017-11-30 Thread Tom Rini
On Thu, Nov 30, 2017 at 01:50:07PM +0100, Marek Vasut wrote: > The following changes since commit b06c46de632c55f4c39d404c6f0f65e414b31050: > > Merge tag 'xilinx-for-v2018.01' of > git://www.denx.de/git/u-boot-microblaze (2017-11-29 08:26:07 -0500) > > are available in the Git repository at: >

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

2017-11-30 Thread Tom Rini
On Thu, Nov 30, 2017 at 02:03:53PM +0800, Bin Meng wrote: > Hi Tom, > > The following changes since commit b06c46de632c55f4c39d404c6f0f65e414b31050: > > Merge tag 'xilinx-for-v2018.01' of > git://www.denx.de/git/u-boot-microblaze (2017-11-29 08:26:07 -0500) > > are available in the git reposi

[U-Boot] Running u-boot on qemu-arm complains about missing ld.so.1

2017-11-30 Thread Dipanjan Das
In order to compile u-boot, I tried to use CodeSourcery toolchain which did not work. However the version of arm-none-eabi toolchain hosted in Ubuntu reposiroty does compile u-boot codebase. When I try to run the u-boot standalone executable qemu-arm, it complains about missing '/usr/lib/ld.so.1'.

Re: [U-Boot] [v2] armv8: ls1012a: enable/disable eSDHC1 through hwconfig for RDB

2017-11-30 Thread York Sun
On 11/29/2017 08:44 PM, Y.b. Lu wrote: > Hi York, > > I copied hardware team Kinjalk's explain here. > > "Enabling SDHC2 on ‘00’ is not correct on revision D and later boards as the > sd wifi is not on there on these revs. > The IO expander was designed to override the dip switch values. So, the

Re: [U-Boot] [Patch v2 1/2] driver: net: ldpaa_eth: Add PHY-less SGMII support

2017-11-30 Thread York Sun
On 11/29/2017 09:45 PM, Ashish Kumar wrote: > Hello Joe, York, > > > Any comments on V2 series? > Ashish, I can't see if this set is correct. Did you look into the similar PHY-less situation for Power-based platform? We don't have PHY-less SGMII support there. I was hoping you can add the same

Re: [U-Boot] [PATCH 2/2] armv8: ls1043a: Discard the needless cpu nodes

2017-11-30 Thread York Sun
On 11/29/2017 07:16 PM, Wenbin song wrote: > Using "cpu_pos_mask()" function to detect the real online cpus, > and discard the needless cpu nodes on kernel dft. > > Signed-off-by: Wenbin Song > --- > arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 > arch/arm/cpu/armv8/fsl-layerscape/fdt.c

[U-Boot] [PATCH 10/14] ram: stm32: add memory mapping selection support

2017-11-30 Thread patrice.chotard
From: Patrice Chotard This allows to controls the memory internal mapping at address 0x . We can either map at 0x : _ main flash memory _ system flash memory _ FMC bank1 (NOR/PSRAM 1 and 2) _ embedded SRAM _ FMC/SDRAM bank1 This is needed for future STM32F469-disco boa

[U-Boot] [PATCH 12/14] ARM: DTS: stm32: add stm32f469-disco-u-boot dts file

2017-11-30 Thread patrice.chotard
From: Patrice Chotard _ Add gpio compatible and aliases for stm32f469 _ Add FMC sdram node _ Add "u-boot,dm-pre-reloc" for rcc, fmc, fixed-clock, pinctrl, pwrcfg and gpio nodes. Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32f469-disco-u-boot.dtsi | 230 ++

[U-Boot] [PATCH 09/14] board: stm32f429-disco: switch to DM STM32 pinctrl and gpio driver

2017-11-30 Thread patrice.chotard
From: Patrice Chotard Use available DM stm32f7_gpio.c and pinctrl_stm32.c drivers instead of board GPIO initialization. Remove stm32_gpio.c which is no more used and migrate structs stm32_gpio_regs and stm32_gpio_priv into arch-stm32f4/gpio.h to not break compilation. Signed-off-by: Patrice Cho

[U-Boot] [PATCH 14/14] ARM: DTS: stm32: add SDIO controller support for stm32f469-disco

2017-11-30 Thread patrice.chotard
From: Patrice Chotard STM32F469 SoC uses an arm_pl180_mmci SDIO controller. Signed-off-by: Andrea Merello Signed-off-by: Alexandre Torgue Signed-off-by: Patrice Chotard --- arch/arm/dts/stm32f4-pinctrl.dtsi | 31 +++ arch/arm/dts/stm32f429.dtsi | 12

[U-Boot] [PATCH 11/14] ARM: DTS: add STM32F469 Discovery board support

2017-11-30 Thread patrice.chotard
From: Patrice Chotard This DT file comes from kernel v4.15-rc1 stm32f469-pinctrl.dtsi header has been updated with correct STMicroelectronics Copyright. Remove the paragraph about writing to the Free Software Foundation's mailing address as requested by checkpatch. Signed-off-by: Patrice Chota

[U-Boot] [PATCH 06/14] board: stm32f429-disco: switch to DM STM32 serial driver

2017-11-30 Thread patrice.chotard
From: Patrice Chotard Remove serial_stm32.c driver and uart init from board file, use available DM serial_stm32x7.c driver compatible for STM32F4/F7 and H7 SoCs. The serial_stm32x7.c driver will be renamed later with a more generic name as it's shared with all STM32 Socs. Signed-off-by: Patrice

[U-Boot] [PATCH 08/14] board: stm32f429-disco: switch to DM STM32 clock driver

2017-11-30 Thread patrice.chotard
From: Patrice Chotard Use available DM clk_stm32f.c driver instead of dedicated mach-stm32/stm32f4/clock.c. Migrate periph_clock defines from stm32_periph.h directly in CLK driver. These periph_clock defines will be removed when STMMAC, TIMER2 and SYSCFG drivers will support DM CLK. Enable also

[U-Boot] [PATCH 03/14] board: stm32f429-discovery: switch to DM STM32 sdram driver

2017-11-30 Thread patrice.chotard
From: Patrice Chotard Use available DM stm32_sdram.c driver instead of board SDRAM initialization. For that, enable OF_CONTROL, OF_EMBED and STM32_SDRAM flags. Signed-off-by: Patrice Chotard --- board/st/stm32f429-discovery/stm32f429-discovery.c | 136 +++-- configs/stm32f429-d

[U-Boot] [PATCH 13/14] board: stm32: add stm32f469-discovery board support

2017-11-30 Thread patrice.chotard
From: Patrice Chotard This board offers : _ STM32F469NIH6 microcontroller featuring 2 Mbytes of Flash memory and 324 Kbytes of RAM in BGA216 package _ On-board ST-LINK/V2-1 SWD debugger, supporting USB reenumeration capability: _ Mbed-enabled (mbed.org) _ USB functions: USB virtua

[U-Boot] [PATCH 07/14] mach-stm32: stmf32f4: timer: remove clock_get() call

2017-11-30 Thread patrice.chotard
From: Patrice Chotard In order to use common clock driver between STM32F4 and STM32F7, remove clock_get() call As APB_PSC is always set to 2, only case when clock_get(CLOCK_AHB) != clock_get(CLOCK_APB1) is kept Signed-off-by: Patrice Chotard --- arch/arm/mach-stm32/stm32f4/timer.c | 8 ++--

[U-Boot] [PATCH 05/14] configs: stm32f429-disco: enable MISC, STM32_RCC, DM_RESET and STM32_RESET

2017-11-30 Thread patrice.chotard
From: Patrice Chotard This allows to support rcc MFD driver. By enabling all these flags, we need to increase malloc area to avoid crash during early stage. Signed-off-by: Patrice Chotard --- configs/stm32f429-discovery_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs

[U-Boot] [PATCH 04/14] pinctrl: stm32: add stm32f4 pinctrl compatible strings

2017-11-30 Thread patrice.chotard
From: Patrice Chotard STM32F4 SoCs uses the same pinctrl block as found into STM32F7 and H7 SoCs. We can add "st,stm32f429-pinctrl" and "st,stm32f469-pinctrl" compatible string into pinctrl_stm32.c. Signed-off-by: Patrice Chotard --- drivers/pinctrl/pinctrl_stm32.c | 2 ++ 1 file changed, 2 in

[U-Boot] [PATCH 02/14] ARM: DTS: stm32: add stm32f429-disco-u-boot dts file

2017-11-30 Thread patrice.chotard
From: Patrice Chotard _ Add gpio compatible and aliases for stm32f429 _ Add FMC sdram node with associated new bindings value to manage second bank (ie bank 1). _ Add "u-boot,dm-pre-reloc" for rcc, fmc, fixed-clock, pinctrl, pwrcfg and gpio nodes. Signed-off-by: Patrice Chotard --- arch/

[U-Boot] [PATCH 01/14] ARM: DTS: stm32: add STM32F429 SoC and its Discovery board support

2017-11-30 Thread patrice.chotard
From: Patrice Chotard All these files comes from kernel v4.15-rc1. Update some header with correct STMicroelectronics Copyright. Remove the paragraph about writing to the Free Software Foundation's mailing address as requested by checkpatch. Signed-off-by: Patrice Chotard --- arch/arm/dts/Ma

[U-Boot] [PATCH 00/14] Convert STM3F4 to DT and driver model

2017-11-30 Thread patrice.chotard
From: Patrice Chotard This is the final step to convert STM32F4 to device tree and driver model: _ add stm32f429-discovery device tree files from kernel v4.15-rc1. _ switch to DM driver (pinctrl, serial, gpio, clock, reset, sdram) and clean-up stm32f429-discovery.c board file. _ update

Re: [U-Boot] [PATCH v5 11/11] configs: omapl138_lcdk: decrease the loglevel to reduce the size of the SPL

2017-11-30 Thread Tom Rini
On Thu, Nov 30, 2017 at 05:44:04PM +0100, Jean-Jacques Hiblot wrote: > The changes in the MMC stack have increased its footprint up to the point > were its breaks the generation of the SPL for this platform. > Fix this by reducing the loglevel. > > Signed-off-by: Jean-Jacques Hiblot > --- > > n

Re: [U-Boot] [PATCH v5 07/11] mmc: convert most of printf() to pr_err() and pr_warn()

2017-11-30 Thread Tom Rini
On Thu, Nov 30, 2017 at 05:44:00PM +0100, Jean-Jacques Hiblot wrote: > This allows to compile out the log message by tweaking the LOGLEVEL. > > Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature _

[U-Boot] [PATCH v5 11/11] configs: omapl138_lcdk: decrease the loglevel to reduce the size of the SPL

2017-11-30 Thread Jean-Jacques Hiblot
The changes in the MMC stack have increased its footprint up to the point were its breaks the generation of the SPL for this platform. Fix this by reducing the loglevel. Signed-off-by: Jean-Jacques Hiblot --- new patch that takes adavntage of "mmc: convert most of printf() to pr_err() and pr_war

[U-Boot] [PATCH v5 10/11] configs: openrd: removed support for eMMC hardware partitioning

2017-11-30 Thread Jean-Jacques Hiblot
builds are broken because the size of the binary exceeds the limit. Make some space by removing support for hardware partitioning as those boards don't have any eMMC. Signed-off-by: Jean-Jacques Hiblot --- no change since v4 configs/openrd_base_defconfig | 1 + configs/openrd_client_defconf

[U-Boot] [PATCH v5 01/11] mmc: dump card and host capabilities if debug is enabled

2017-11-30 Thread Jean-Jacques Hiblot
This is a useful information while debugging the initialization process or performance issues. Also dump this information with the other mmc info if the verbose option is selected Signed-off-by: Jean-Jacques Hiblot --- no changes since v3 cmd/mmc.c | 4 drivers/mmc/mmc.c | 9 ++

[U-Boot] [PATCH v5 08/11] mmc: make UHS and HS200 optional

2017-11-30 Thread Jean-Jacques Hiblot
Supporting USH and HS200 increases the code size as it brings in IO voltage control, tuning and fatter data structures. Use Kconfig configuration to select which of those features should be built in. Signed-off-by: Jean-Jacques Hiblot --- changes since v4: * reordered the options for convenience

[U-Boot] [PATCH v5 09/11] mmc: make optional the support for eMMC hardware partitioning

2017-11-30 Thread Jean-Jacques Hiblot
Not all boards have an eMMC and not all users have a need for this. Allow to compile it out. By default it is still included. Signed-off-by: Jean-Jacques Hiblot --- no change since v4 cmd/mmc.c | 4 drivers/mmc/Kconfig | 7 +++ drivers/mmc/mmc.c | 2 ++ 3 files changed, 13

[U-Boot] [PATCH v5 05/11] mmc: fix for old MMCs (below version 4)

2017-11-30 Thread Jean-Jacques Hiblot
The ext_csd is allocated only for MMC above version 4. The compare will crash or fail for older MMCs. Signed-off-by: Jean-Jacques Hiblot --- no change since v4 drivers/mmc/mmc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 0ebcc45..2a58031 1

[U-Boot] [PATCH v5 03/11] mmc: Fixed a problem with old sd or mmc that do not support High speed

2017-11-30 Thread Jean-Jacques Hiblot
As the legacy modes were not added to the list of supported modes, old cards that do not support other modes could not be used. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Lukasz Majewski Reviewed-by: Simon Glass --- no change since v1 drivers/mmc/mmc.c | 4 ++-- 1 file changed, 2 inserti

[U-Boot] [PATCH v5 06/11] mmc: don't use malloc_cache_aligned()

2017-11-30 Thread Jean-Jacques Hiblot
Not using this function reduces the size of the binary. It's replaces by a standard malloc() and the alignment requirement is handled by an intermediate buffer on the stack. Also make sure that the allocated buffer is freed in case of error. Signed-off-by: Jean-Jacques Hiblot --- no change since

[U-Boot] [PATCH v5 04/11] mmc: all hosts support 1-bit bus width and legacy timings

2017-11-30 Thread Jean-Jacques Hiblot
Make sure that those basic capabilities are advertised by the host. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Lukasz Majewski Reviewed-by: Simon Glass --- no change since v1 drivers/mmc/mmc.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/drivers/m

[U-Boot] [PATCH v5 02/11] dm: mmc: update mmc_of_parse()

2017-11-30 Thread Jean-Jacques Hiblot
* convert to livetree API * don't fail because of an invalid bus-width, instead default to 1-bit. * recognize 1.2v DDR and 1.2v HS200 flags Signed-off-by: Jean-Jacques Hiblot --- no changes since v3 drivers/mmc/mmc-uclass.c | 36 include/mmc.h| 1

[U-Boot] [PATCH v5 07/11] mmc: convert most of printf() to pr_err() and pr_warn()

2017-11-30 Thread Jean-Jacques Hiblot
This allows to compile out the log message by tweaking the LOGLEVEL. Signed-off-by: Jean-Jacques Hiblot --- changes since v4: this replaces patch 'mmc: allow to compile out the error messages'. Instead of using a custom macro to compile out the log messages, rely on the existing pr_err() and pr_w

[U-Boot] [PATCH v5 00/11] mmc: fixes for HS200/UHS core support

2017-11-30 Thread Jean-Jacques Hiblot
This series applies on top of "[PATCH v2 00/26] mmc: Add support for HS200 and UHS modes" It fixes a bug with old SD and MMC cards that support only the legacy mode. This series also adresses the problem of increased code size that broke some platform (openrd and omapl138_lcdk) by making more thin

Re: [U-Boot] [U-Boot,v3,10/14] log: Add a test command

2017-11-30 Thread Tom Rini
On Thu, Nov 30, 2017 at 09:27:13AM -0700, Simon Glass wrote: > Hi Tom, > > On 29 November 2017 at 20:35, Tom Rini wrote: > > On Mon, Nov 20, 2017 at 03:33:31PM -0700, Simon Glass wrote: > > > >> Add a command which exercises the logging system. > >> > >> Signed-off-by: Simon Glass > >> Reviewed-

Re: [U-Boot] Build failure in u-boot-mmc/master: undefined reference to error

2017-11-30 Thread Stephen Warren
On 11/27/2017 02:59 AM, Jaehoon Chung wrote: On 11/03/2017 05:52 AM, Stephen Warren wrote: On 10/24/2017 01:54 AM, Jaehoon Chung wrote: On 10/24/2017 12:22 AM, Stephen Warren wrote: On 10/22/2017 08:53 PM, Jaehoon Chung wrote: Dear Stephen, On 10/21/2017 12:47 AM, Stephen Warren wrote: With

Re: [U-Boot] [U-Boot,v3,10/14] log: Add a test command

2017-11-30 Thread Simon Glass
Hi Tom, On 29 November 2017 at 20:35, Tom Rini wrote: > On Mon, Nov 20, 2017 at 03:33:31PM -0700, Simon Glass wrote: > >> Add a command which exercises the logging system. >> >> Signed-off-by: Simon Glass >> Reviewed-by: Lukasz Majewski > > NAK. With clang-3.8 we see this (and many more): > te

Re: [U-Boot] [PATCH] test/py: Add dependency on HUSH parser

2017-11-30 Thread Michal Simek
Hi, On 15.11.2017 19:31, Stephen Warren wrote: > On 11/15/2017 02:34 AM, Michal Simek wrote: >> Hi, >> >> On 10.11.2017 22:34, Stephen Warren wrote: >>> On 11/10/2017 04:01 AM, Michal Simek wrote: After adding our small zynq uboot which has hush parser off these 3 tests start to fai

[U-Boot] [PATCH v2] test/py: Setup variables based on HUSH selection

2017-11-30 Thread Michal Simek
From: Stephen Warren After adding our small zynq uboot which has hush parser off same variable tests start to failed. Use quotes only when hush is enabled. Reported-by: Michal Simek Signed-off-by: Stephen Warren --- Changes in v2: - code taken from v1 review from Stephen Stephen: it is your

Re: [U-Boot] [PATCH 1/3] armv8: fsl-layerscape: SPL size reduction

2017-11-30 Thread Sumit Garg
> -Original Message- > From: York Sun > Sent: Thursday, November 30, 2017 12:07 AM > To: Sumit Garg ; u-boot@lists.denx.de > Cc: Ruchika Gupta ; Prabhakar Kushwaha > ; Ashish Kumar > Subject: Re: [PATCH 1/3] armv8: fsl-layerscape: SPL size reduction > > On 10/05/2017 12:55 AM, Sumit Garg

Re: [U-Boot] [PATCH 4/4] fastboot: Enable flashing by default on sunxi

2017-11-30 Thread Maxime Ripard
On Thu, Nov 30, 2017 at 09:56:18AM +, Andre Przywara wrote: > Hi, > > On 30/11/17 07:58, Maxime Ripard wrote: > > On Thu, Nov 30, 2017 at 12:23:28AM +, André Przywara wrote: > >> On 28/11/17 10:34, Maxime Ripard wrote: > >>> Now that more and more devices are built using eMMC, providing a

Re: [U-Boot] [PATCH 3/4] sunxi: Add default partition scheme

2017-11-30 Thread Maxime Ripard
On Thu, Nov 30, 2017 at 09:22:07AM +, Andre Przywara wrote: > Hi, > > On 30/11/17 07:56, Maxime Ripard wrote: > > Hi, > > > > On Thu, Nov 30, 2017 at 12:23:06AM +, André Przywara wrote: > >> Hi Maxime, > >> > >> On 28/11/17 10:34, Maxime Ripard wrote: > >>> The partitions variable is espe

Re: [U-Boot] env: suppress a spurious warning with GCC 7.1

2017-11-30 Thread Tom Rini
On Tue, Nov 21, 2017 at 11:29:40PM +0100, Philipp Tomsich wrote: > GCC 7.1 seems to be smart enough to track val through the various > static inline functions, but not smart enough to see that val will > always be initialised when no error is returned. This triggers > the following warning: > e

Re: [U-Boot] [U-Boot,v2,1/2] board: laird: add WB45N CPU module

2017-11-30 Thread Tom Rini
On Thu, Nov 23, 2017 at 01:47:47PM +, Ben Whitten wrote: > From: Ben Whitten > > This board is based on the Atmel 9x5 eval board. > Supporting the following features: > - Boot from NAND Flash > - Ethernet > - FIT > - SPL > > Signed-off-by: Ben Whitten > Signed-off-by: Dan Kephart App

Re: [U-Boot] [U-Boot, 1/2] clk: at91: clk-generated: select absolute closest rate

2017-11-30 Thread Tom Rini
On Fri, Nov 17, 2017 at 02:50:21PM +0800, Wenyou Yang wrote: > From: Ludovic Desroches > > To get the same behavior as the Linux driver, instead of selecting > the closest inferior rate, select the closest inferior or superior > rate > > Signed-off-by: Ludovic Desroches > Signed-off-by: Wenyou

Re: [U-Boot] [U-Boot,v2,2/2] board: laird: add WB50N CPU module

2017-11-30 Thread Tom Rini
On Thu, Nov 23, 2017 at 01:47:48PM +, Ben Whitten wrote: > From: Ben Whitten > > This board is based on the Atmel sama5d3 eval boards. > Supporting the following features: > - Boot from NAND Flash > - Ethernet > - FIT > - SPL > > Signed-off-by: Ben Whitten > Signed-off-by: Dan Kephart

Re: [U-Boot] [U-Boot, 1/1] fs: avoid possible NULL dereference in fs_devread

2017-11-30 Thread Tom Rini
On Sun, Nov 19, 2017 at 11:49:21PM +0100, Heinrich Schuchardt wrote: > It is unwise to first dereference a variable > and then to check if it was NULL. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Marek Behun > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signat

Re: [U-Boot] [U-Boot, 11/11] stm32: migrate clock structs in include/stm32_rcc.h

2017-11-30 Thread Tom Rini
On Wed, Nov 15, 2017 at 01:14:53PM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > In order to factorize code between STM32F4 and STM32F7 > migrate all structs related to RCC clocks in include/stm32_rcc.h > > Signed-off-by: Patrice Chotard > Reviewed-by: Vikas Manocha Applie

Re: [U-Boot] spl: make CONFIG_OF_EMBED pass dts through fdtgrep

2017-11-30 Thread Tom Rini
On Tue, Nov 21, 2017 at 12:29:56PM +, Goldschmidt Simon wrote: > Building spl with CONFIG_OF_EMBED enabled results in an error message > on my board: "SPL image too big". This is because the fdtgrep build > step is only executed for CONFIG_OF_SEPARATE. > > Fix this by moving the fdtgrep build

Re: [U-Boot] fat: Use cache aligned buffers for fat_opendir

2017-11-30 Thread Tom Rini
On Fri, Nov 24, 2017 at 09:54:41AM +0100, Neil Armstrong wrote: > Before this patch one could receive following errors when executing "fatls" > command on machine with cache enabled (ex i.MX6Q) : > > => fatls mmc 0:1 > CACHE: Misaligned operation at range [4f59dfc8, 4f59e7c8] > CACHE: Misaligned

Re: [U-Boot] ARM: dts: Rename logicpd-toredp-37xx-devkit in U-Boot

2017-11-30 Thread Tom Rini
On Mon, Nov 20, 2017 at 09:56:03AM -0600, Adam Ford wrote: > In U-Boot, this device tree is compatible with both the Torpedo and > SOM-LV kits. Let's rename it in the device tree since the U-Boot code and > show a more generic OMAP3 name. The code auto detects between the two and > loads the pro

Re: [U-Boot] [U-Boot,2/2] board: atmel: add sama5d2_ptc_ek board

2017-11-30 Thread Tom Rini
On Fri, Nov 17, 2017 at 02:57:12PM +0800, Wenyou Yang wrote: > From: Ludovic Desroches > > Add the SAMA5D2 PTC EK board and remove the SAMA5D2 PTC ENGI board > which was a prototype. > > Signed-off-by: Ludovic Desroches > Signed-off-by: Wenyou Yang Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot,1/1] cmd: blk: remove unreachable code

2017-11-30 Thread Tom Rini
On Sun, Nov 19, 2017 at 11:25:32PM +0100, Heinrich Schuchardt wrote: > Remove an unreachable return statement. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] disk: efi: correct the allocation size for mbr header in stack

2017-11-30 Thread Tom Rini
On Fri, Nov 17, 2017 at 10:08:18AM +0100, Patrick Delaunay wrote: > use ALLOC_CACHE_ALIGN_BUFFER_PAD for mbr header allocation > in stack to fix alloc issue in is_gpt_valid() > > this patch fix also issue for GPT partition handling > with blocksize != 512 in set_protective_mbr() > > Signed-off-b

Re: [U-Boot] [U-Boot, 08/11] configs: stm32f746-disco: enable MISC/DM_RESET/STM32_RESET and STM32_RCC

2017-11-30 Thread Tom Rini
On Wed, Nov 15, 2017 at 01:14:50PM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This allows to add rcc MFD support to stm32f746-disco board > This rcc MFD driver manages clock and reset for STM32 SoCs family > > Signed-off-by: Patrice Chotard > Reviewed-by: Vikas Manocha

Re: [U-Boot] [U-Boot, 09/11] dm: misc: bind STM32F4/F7 clock from rcc MFD driver

2017-11-30 Thread Tom Rini
On Wed, Nov 15, 2017 at 01:14:51PM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Like STM32H7, now STM32F4/F7 clock drivers are binded by > MFD stm32_rcc driver. > This also allows to add reset support to STM32F4/F7 SoCs family. > As Reset driver is not part of SPL supported d

Re: [U-Boot] [U-Boot, 10/11] clk: clk_stm32fx: add clock configuration for mmc usage

2017-11-30 Thread Tom Rini
On Wed, Nov 15, 2017 at 01:14:52PM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > MMC block needs 48Mhz source clock, for that we choose > to select the SAI PLL. > Update also stm32_clock_get_rate() to retrieve the MMC > clock source needed in MMC driver. > > STM32F4 uses a di

Re: [U-Boot] [U-Boot, 03/11] clk: stm32f7: add dedicated STM32F7 compatible string

2017-11-30 Thread Tom Rini
On Wed, Nov 15, 2017 at 01:14:45PM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Add a dedicated stm32f7 compatible string to use clk_stm32f7 > driver with both STM32F4 and STM32F7 SoCs. > It will be needed to manage differences between these 2 SoCs. > > Signed-off-by: Patric

Re: [U-Boot] mach-stm32: Factorize MPU's region config for STM32 SoCs

2017-11-30 Thread Tom Rini
On Thu, Nov 16, 2017 at 08:59:21AM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > MPU's region setup can be factorized between STM32F4/F7/H7 SoCs family > and used a common MPU's region config. > > Only one exception for STM32H7 which doesn't have device area > located at 0xA0

Re: [U-Boot] [U-Boot, 07/11] clk: stm32fx: migrate define from rcc.h to driver

2017-11-30 Thread Tom Rini
On Wed, Nov 15, 2017 at 01:14:49PM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > STM32F4 doesn't get rcc.h file, to avoid compilation > issue, migrate RCC related defines from rcc.h to driver > file and remove rcc.h file. > > Signed-off-by: Patrice Chotard > Reviewed-by: Vik

Re: [U-Boot] [U-Boot, 1/1] common: command: tempory buffer should have size of command line buf

2017-11-30 Thread Tom Rini
On Sun, Nov 19, 2017 at 11:07:50PM +0100, Heinrich Schuchardt wrote: > When copying the command line buffer the target array should > at least have the same size. > > Cf. definition of console_buffer in common/cli_readline.c. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, tha

  1   2   >