Re: [U-Boot] [PATCH] musb: sunxi: Use base address from device tree

2017-12-12 Thread Maxime Ripard
On Tue, Dec 12, 2017 at 03:24:21PM +0800, Chen-Yu Tsai wrote: > Now that the musb sunxi glue driver is completely device model / device > tree driven, we should use the base address from the device tree, > instead of hard-coding it in the source code. > > Fixes: 3a61b080acee ("musb: sunxi: switch

Re: [U-Boot] [PATCH 08/16] sunxi: clock: update a64 usb clock gating and module reset bits

2017-12-12 Thread Maxime Ripard
Hi, On Tue, Dec 12, 2017 at 12:28:23PM +0530, Jagan Teki wrote: > From: Philipp Tomsich > > clock gating and module reset bits on a64 are different than H3_H5 > and other allwinner family SOCs, add them on clock_sun6i.h > > Signed-off-by: Philipp Tomsich > [jagan: reowrked on entire patch] > S

Re: [U-Boot] [PATCH 10/16] arm64: allwinner: sync bananapi-m64 usb nodes from Linux

2017-12-12 Thread Maxime Ripard
Hi, On Tue, Dec 12, 2017 at 12:28:25PM +0530, Jagan Teki wrote: > Sync USB-OTG and USB-OTG-HCI nodes from Linux. > > Signed-off-by: Jagan Teki > --- > arch/arm/dts/sun50i-a64-bananapi-m64.dts | 27 +++ > 1 file changed, 27 insertions(+) > > diff --git a/arch/arm/dts/sun

Re: [U-Boot] [PATCH 11/16] configs: sun50i: add usb-otg support for bananapi-m64

2017-12-12 Thread Maxime Ripard
On Tue, Dec 12, 2017 at 12:28:26PM +0530, Jagan Teki wrote: > USB-OTG require MUSB driver along with PHY#0 id(PH9) and/or > vbus pin through AXP_GPIO driver. > > This patch add support for it. > > Signed-off-by: Jagan Teki > --- > configs/bananapi_m64_defconfig | 3 +++ > 1 file changed, 3 inse

Re: [U-Boot] [PATCH 16/16] configs: sun50i: Enable eMMC on a64-olinuxino

2017-12-12 Thread Maxime Ripard
On Tue, Dec 12, 2017 at 12:28:31PM +0530, Jagan Teki wrote: > a64-olinuxino has 8GiB eMMC, enable it. > > Signed-off-by: Jagan Teki Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com signature.asc Description: PGP

Re: [U-Boot] u-boot-dm crashes early on NVIDIA Beaver, Jetson TK1

2017-12-12 Thread Mario Six
Hi Stephen, On Mon, Dec 11, 2017 at 6:02 PM, Stephen Warren wrote: > On 12/11/2017 09:55 AM, Stephen Warren wrote: >> >> Simon, the latest commits in u-boot-dm/git master branch (2b64d049a061 >> "power: pmic/regulator: Add basic support for TPS65910") crash on at least >> Beaver and Jetson TK1. O

Re: [U-Boot] [PATCH 12/16] configs: sun50i: enable ums on bananapi-m64

2017-12-12 Thread Maxime Ripard
Hi, On Tue, Dec 12, 2017 at 12:28:27PM +0530, Jagan Teki wrote: > This patch enable ums through CMD_USB_MASS_STORAGE. > > Signed-off-by: Jagan Teki > --- > configs/bananapi_m64_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configs/bananapi_m64_defconfig b/configs/bananapi_

Re: [U-Boot] [PATCH 14/16] configs: sun50i: add usb-otg support for a64-olinuxino

2017-12-12 Thread Maxime Ripard
Hi, On Tue, Dec 12, 2017 at 12:28:29PM +0530, Jagan Teki wrote: > USB-OTG require MUSB driver along with PHY#0 id(PH9) and/or > vbus pin(PH6) through AXP_GPIO driver. > > This patch add support for it. > > Signed-off-by: Jagan Teki > --- > configs/a64-olinuxino_defconfig | 4 > 1 file cha

Re: [U-Boot] [PATCH v2 2/2] common: Generic firmware loader for file system

2017-12-12 Thread Lothar Waßmann
Hi, On Tue, 12 Dec 2017 15:27:14 +0800 tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > This is file system generic loader which can be used to load > the file image from the storage into target such as memory. > The consumer driver would then use this loader to program whatever, > ie.

Re: [U-Boot] [PATCH 00/16] sun50i: a64: add support for axp803, musb

2017-12-12 Thread Chen-Yu Tsai
Hi, On Tue, Dec 12, 2017 at 2:58 PM, Jagan Teki wrote: > This series deals axp803, musb and related improvements on a64 > - axp803 PMIC support used by a64 > - a64 musb improvements (rework by Philipp [1]) > - musb support for bananapi-m64, a64-olinuxino > > [1] https://patchwork.ozlabs.org/patch

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

2017-12-12 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] [RESEND PATCH 00/14] Convert STM3F4 to DT and driver model

2017-12-12 Thread patrice.chotard
From: Patrice Chotard Resend series send on 30/11/2017, due to an unknow issue, only patch 1 of this series was visible on patchwork. 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

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

2017-12-12 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] [RESEND PATCH 06/14] board: stm32f429-disco: switch to DM STM32 serial driver

2017-12-12 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] [RESEND PATCH 07/14] mach-stm32: stmf32f4: timer: remove clock_get() call

2017-12-12 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] [RESEND PATCH 04/14] pinctrl: stm32: add stm32f4 pinctrl compatible strings

2017-12-12 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] [RESEND PATCH 10/14] ram: stm32: add memory mapping selection support

2017-12-12 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] [RESEND PATCH 03/14] board: stm32f429-discovery: switch to DM STM32 sdram driver

2017-12-12 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] [RESEND PATCH 05/14] configs: stm32f429-disco: enable MISC, STM32_RCC, DM_RESET and STM32_RESET

2017-12-12 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] [RESEND PATCH 09/14] board: stm32f429-disco: switch to DM STM32 pinctrl and gpio driver

2017-12-12 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] [RESEND PATCH 08/14] board: stm32f429-disco: switch to DM STM32 clock driver

2017-12-12 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] [RESEND PATCH 14/14] ARM: DTS: stm32: add SDIO controller support for stm32f469-disco

2017-12-12 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] [RESEND PATCH 13/14] board: stm32: add stm32f469-discovery board support

2017-12-12 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

Re: [U-Boot] [PATCH 01/16] power: sunxi: add AXP803 PMIC support

2017-12-12 Thread Jagan Teki
On Tue, Dec 12, 2017 at 1:28 PM, Maxime Ripard wrote: > Hi, > > On Tue, Dec 12, 2017 at 12:28:16PM +0530, Jagan Teki wrote: >> AXP803 another PMIC produced by x-powers and paired with >> A64 via RSB bus. >> >> unlike other axp chip's support in SPL this is only added >> for U-Boot proper since SPL

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

2017-12-12 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] [RESEND PATCH 12/14] ARM: DTS: stm32: add stm32f469-disco-u-boot dts file

2017-12-12 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 ++

Re: [U-Boot] [PATCH 01/16] power: sunxi: add AXP803 PMIC support

2017-12-12 Thread Jagan Teki
On Tue, Dec 12, 2017 at 1:28 PM, Maxime Ripard wrote: > Hi, > > On Tue, Dec 12, 2017 at 12:28:16PM +0530, Jagan Teki wrote: >> AXP803 another PMIC produced by x-powers and paired with >> A64 via RSB bus. >> >> unlike other axp chip's support in SPL this is only added >> for U-Boot proper since SPL

Re: [U-Boot] [PATCH v2 3/5] Introduce CONFIG_ENABLE_BUG_CHECKS to disable BUG{_ON} by default

2017-12-12 Thread Lothar Waßmann
Hi, On Mon, 4 Dec 2017 12:37:02 +0900 Masahiro Yamada wrote: > BUG() and BUG_ON() are generally used to test a condition that should > never happen. If it does, it is a bug. > > Linux always enables them, but doing so in U-Boot causes image size > problems on some platforms. Introduce CONFIG_E

Re: [U-Boot] [PATCH 12/16] configs: sun50i: enable ums on bananapi-m64

2017-12-12 Thread Jagan Teki
On Tue, Dec 12, 2017 at 1:42 PM, Maxime Ripard wrote: > Hi, > > On Tue, Dec 12, 2017 at 12:28:27PM +0530, Jagan Teki wrote: >> This patch enable ums through CMD_USB_MASS_STORAGE. >> >> Signed-off-by: Jagan Teki >> --- >> configs/bananapi_m64_defconfig | 1 + >> 1 file changed, 1 insertion(+) >>

Re: [U-Boot] [PATCH 11/16] configs: sun50i: add usb-otg support for bananapi-m64

2017-12-12 Thread Jagan Teki
On Tue, Dec 12, 2017 at 1:34 PM, Maxime Ripard wrote: > On Tue, Dec 12, 2017 at 12:28:26PM +0530, Jagan Teki wrote: >> USB-OTG require MUSB driver along with PHY#0 id(PH9) and/or >> vbus pin through AXP_GPIO driver. >> >> This patch add support for it. >> >> Signed-off-by: Jagan Teki >> --- >> c

[U-Boot] [RESEND PATCH 0/2] add STM32F7 MMC support

2017-12-12 Thread patrice.chotard
From: Patrice Chotard Resend series send on 30/11/2017, due to an unknow issue, only patch 1 of this series was visible on patchwork. STM32F7 SoCs uses arm_pl180_mmci MMC IP. Enable MMC support by updating DT and enabling MMC related flags into defconfig. Patrice Chotard (2): ARM: DTS: stm3

[U-Boot] [RESEND PATCH 1/2] ARM: DTS: stm32: add MMC nodes for stm32f746-disco and stm32f769-disco

2017-12-12 Thread patrice.chotard
From: Patrice Chotard Add DT nodes to enable ARM_PL180_MMCI IP support for STM32F746 and STM32F769 discovery boards There is a hardware issue on these boards, it misses a pullup on the GPIO line used as card detect to allow correct SD card detection. As workaround, cd-gpios property is not prese

[U-Boot] [RESEND PATCH 2/2] configs: stm32f746-disco: enable MMC related flags

2017-12-12 Thread patrice.chotard
From: Patrice Chotard STM32F469-disco embeds an arm_pl180 mmc IP, so enable CMD_MMC, DM_MMC and ARM_PL180_MMCI flags. Also enables all filesystem command related flags : _ CMD_EXT2 _ CMD_EXT4 _ CMD_FAT _ CMD_FS_GENERIC _ CMD_GPT _ CMD_BOOTZ Signed-off-by: Patrice Chotard --- confi

Re: [U-Boot] [PATCH 0/7] Fix incorrect usage of the (FIT) DT node unit address

2017-12-12 Thread Andre Przywara
Hi, On 12/12/17 04:50, Masahiro Yamada wrote: > Hi Simon, > > > 2017-12-12 13:38 GMT+09:00 Simon Glass : >> Hi Andre, >> >> On 3 December 2017 at 19:05, Andre Przywara wrote: >>> The DT spec[1] demands a unit-address in a node name (name@address) to >>> match the "reg" property inside that node

Re: [U-Boot] [PATCH] stm32f4: Support over-drive mode in standard code path

2017-12-12 Thread Patrice CHOTARD
Hi Stefan Thanks for your patch, but for information, STM32F4 conversion to device tree and driver model is on going, see the series http://patchwork.ozlabs.org/project/uboot/list/?series=18039 This series was initially send on 30 Nov 2017 but due to unkown issue, only patch 1 was visible on p

Re: [U-Boot] [PATCH v2 2/2] common: Generic firmware loader for file system

2017-12-12 Thread Chee, Tien Fong
On Sel, 2017-12-12 at 09:14 +0100, Lothar Waßmann wrote: > Hi, > > On Tue, 12 Dec 2017 15:27:14 +0800 tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > This is file system generic loader which can be used to load > > the file image from the storage into target such as memory.

Re: [U-Boot] [RFC 0/5] sf: Update spi-nor framework

2017-12-12 Thread Vignesh R
Hi Jagan, On Tuesday 12 December 2017 01:07 PM, Jagan Teki wrote: [...] Prabhakar Kushwaha (5): sf: Add support of 1-2-2, 1-4-4 IO READ protocols sf: add method to support memory size above 128Mib sf: parse Serial Flash Discoverable Parameters (SFDP) tables sf: fsl

[U-Boot] [PATCH] board: ti: dra7xx: Select MCAN instead of DCAN on DRA76 EVM

2017-12-12 Thread Faiz Abbas
From: Vignesh R MCAN can be accessed via DCAN1 or DCAN2. Determining which DCAN instance to use if any at all is done through CTRL_CORE_CONTROL_SPARE_RW.SEL_ALT_MCAN. Since general pinmuxing is handled in U-boot. Handle this additional pinmuxing requirement in U-boot to insure that MCAN is used b

Re: [U-Boot] [RFC 0/5] sf: Update spi-nor framework

2017-12-12 Thread Goldschmidt Simon
On Tuesday 12 December 2017 11:51, Vignesh R wrote: > [...] > Many of the newer SPI NOR flashes such as MT35x do not support U-Boot's > legacy way of accessing >128Mb region. > Are you planning to submit dm-spi-nor anytime soon? If not, then IMO, at > least patch 2/5 is worth considering for now.

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

2017-12-12 Thread Felix Brack
Hi Simon, Are you sure this one made it to Tom? You didn't CC him I think. regards Felix On 08.12.2017 23:44, Simon Glass wrote: > Hi Tom, > > This is the binman symbol feature plus a few other things that I found > in my queue. I'll sort out the test patch problems next week. > __

Re: [U-Boot] [PATCH 1/2] distro_bootcmd: Add command to run FreeBSD

2017-12-12 Thread Emmanuel Vadot
Hi Heinrich, On Mon, 4 Dec 2017 20:18:22 +0100 Heinrich Schuchardt wrote: > On 12/04/2017 08:06 PM, Emmanuel Vadot wrote: > > Add commands that scans for the FreeBSD loader and run it if found. > > FreeBSD has two loader: ubldr which is an ELF binary and ubldr.bin which > > is a PIE binary. >

[U-Boot] [PATCH v2] board: ti: dra7xx: Select MCAN instead of DCAN on DRA76 EVM

2017-12-12 Thread Faiz Abbas
From: Vignesh R MCAN can be accessed via DCAN1 or DCAN2. Determining which DCAN instance to use if any at all is done through CTRL_CORE_CONTROL_SPARE_RW.SEL_ALT_MCAN. Since general pinmuxing is handled in U-boot. Handle this additional pinmuxing requirement in U-boot to ensure that MCAN is used b

[U-Boot] [PATCH v3 0/2] Generic firmware loader

2017-12-12 Thread tien . fong . chee
From: Tien Fong Chee This patchset contains generic firmware loader which is very close to Linux firmware loader but for U-Boot framework. Generic firmware loader can be used load whatever into target location, and then consumer driver would use it to program whatever, ie. the FPGA. This version

[U-Boot] [PATCH v3 2/2] common: Generic firmware loader for file system

2017-12-12 Thread tien . fong . chee
From: Tien Fong Chee This is file system generic loader which can be used to load the file image from the storage into target such as memory. The consumer driver would then use this loader to program whatever, ie. the FPGA device. Signed-off-by: Tien Fong Chee --- common/Makefile | 1 +

[U-Boot] [PATCH v3 1/2] spl: Remove static declaration on spl_mmc_find_device function

2017-12-12 Thread tien . fong . chee
From: Tien Fong Chee This patch removes the static declation on spl_mmc_find_device_function so this function is accessible by the caller from other file. This patch is required for later patch. Signed-off-by: Tien Fong Chee --- common/spl/spl_mmc.c | 2 +- include/spl.h| 2 ++ 2 files

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

2017-12-12 Thread Lukasz Majewski
Hi Eddie, > On 12/01/2017 08:20 AM, Eddie Cai wrote: > > 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

[U-Boot] [PATCH u-boot] ARM: arch-meson: fix writel arguments order

2017-12-12 Thread Neil Armstrong
From: Hans Verkuil Using writel causes a "Synchronous Abort". Invert the arguments. Signed-off-by: Hans Verkuil Signed-off-by: Neil Armstrong --- arch/arm/mach-meson/eth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Thanks Hans for finding this stupid error ! Neil diff --git

Re: [U-Boot] [PATCH v2 3/5] Introduce CONFIG_ENABLE_BUG_CHECKS to disable BUG{_ON} by default

2017-12-12 Thread Tom Rini
On Tue, Dec 12, 2017 at 10:06:19AM +0100, Lothar Waßmann wrote: > Hi, > > On Mon, 4 Dec 2017 12:37:02 +0900 Masahiro Yamada wrote: > > BUG() and BUG_ON() are generally used to test a condition that should > > never happen. If it does, it is a bug. > > > > Linux always enables them, but doing so

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

2017-12-12 Thread Tom Rini
On Tue, Dec 12, 2017 at 12:15:15PM +0100, Felix Brack wrote: > Hi Simon, > > Are you sure this one made it to Tom? You didn't CC him I think. > > regards Felix > > On 08.12.2017 23:44, Simon Glass wrote: > > Hi Tom, > > > > This is the binman symbol feature plus a few other things that I found

Re: [U-Boot] [PATCH v3 2/2] common: Generic firmware loader for file system

2017-12-12 Thread Lothar Waßmann
Hi, On Tue, 12 Dec 2017 19:56:17 +0800 tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > This is file system generic loader which can be used to load > the file image from the storage into target such as memory. > The consumer driver would then use this loader to program whatever, > ie.

Re: [U-Boot] [PATCH v6 2/2] DW SPI: Get clock value from Device Tree

2017-12-12 Thread Eugeniy Paltsev
On Mon, 2017-12-11 at 17:41 +0100, Marek Vasut wrote: > On 12/11/2017 05:37 PM, Eugeniy Paltsev wrote: > > On Mon, 2017-12-11 at 17:21 +0100, Marek Vasut wrote: > > > On 12/11/2017 05:18 PM, Eugeniy Paltsev wrote: > > > > Add option to set spi controller clock frequency via device tree > > > > usin

[U-Boot] [PATCH u-boot] net: phy: meson-gxl: detect LPA corruption

2017-12-12 Thread Neil Armstrong
From: Jerome Brunet This patch is ported from the Linux patch posted at [1] and applied to net tree as commit f1e2400a80ff. The purpose of this change is to fix the incorrect detection of the link partner (LP) advertised capabilities which sometimes happens with this PHY (roughly 1 time in a doz

[U-Boot] Please pull ARC changes

2017-12-12 Thread Alexey Brodkin
Hi Tom, This is just a one-line improvement for HSDK GPIO's Kconfig that was not included in the previous pull-request as I was waiting for Simon's reviewed-by tag. The following changes since commit 87f3dee22b174aa32db8213a3187aa809859c9e2:   Merge git://git.denx.de/u-boot-uniphier (2017-12-1

Re: [U-Boot] [PATCH v3 0/2] Generic firmware loader

2017-12-12 Thread Marek Vasut
On 12/12/2017 12:56 PM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > This patchset contains generic firmware loader which is very close to Linux > firmware loader but for U-Boot framework. Generic firmware loader can be used > load whatever into target location, and then consumer dr

Re: [U-Boot] [PATCH] musb: sunxi: Use base address from device tree

2017-12-12 Thread Marek Vasut
On 12/12/2017 08:24 AM, Chen-Yu Tsai wrote: > Now that the musb sunxi glue driver is completely device model / device > tree driven, we should use the base address from the device tree, > instead of hard-coding it in the source code. > > Fixes: 3a61b080acee ("musb: sunxi: switch to the device mode

Re: [U-Boot] Please pull ARC changes

2017-12-12 Thread Tom Rini
On Tue, Dec 12, 2017 at 03:52:43PM +, Alexey Brodkin wrote: > Hi Tom, > > This is just a one-line improvement for HSDK GPIO's Kconfig that was not > included in > the previous pull-request as I was waiting for Simon's reviewed-by tag. > > > The following changes since commit 87f3dee22b174a

Re: [U-Boot] [RFC 0/5] sf: Update spi-nor framework

2017-12-12 Thread Marek Vasut
On 12/12/2017 08:37 AM, Jagan Teki wrote: > On Tue, Dec 12, 2017 at 11:44 AM, Prabhakar Kushwaha > wrote: >> Hi Marek, >> >>> -Original Message- >>> From: Marek Vasut [mailto:marek.va...@gmail.com] >>> Sent: Monday, December 11, 2017 3:04 PM >>> To: Prabhakar Kushwaha ; u- >>> b...@lists.d

Re: [U-Boot] [RFC 0/5] sf: Update spi-nor framework

2017-12-12 Thread Jagan Teki
On Tue, Dec 12, 2017 at 9:31 PM, Marek Vasut wrote: > On 12/12/2017 08:37 AM, Jagan Teki wrote: >> On Tue, Dec 12, 2017 at 11:44 AM, Prabhakar Kushwaha >> wrote: >>> Hi Marek, >>> -Original Message- From: Marek Vasut [mailto:marek.va...@gmail.com] Sent: Monday, December 11,

Re: [U-Boot] [RFC 0/5] sf: Update spi-nor framework

2017-12-12 Thread Marek Vasut
On 12/12/2017 05:12 PM, Jagan Teki wrote: > On Tue, Dec 12, 2017 at 9:31 PM, Marek Vasut wrote: >> On 12/12/2017 08:37 AM, Jagan Teki wrote: >>> On Tue, Dec 12, 2017 at 11:44 AM, Prabhakar Kushwaha >>> wrote: Hi Marek, > -Original Message- > From: Marek Vasut [mailto:mar

Re: [U-Boot] [PATCH] serial: sh: Add support for R7S72100 (RZ/A1)

2017-12-12 Thread Chris Brandt
On Monday, November 27, 2017, Chris Brandt wrote: > Add support for RZ/A1 series SoCs. > > Signed-off-by: Chris Brandt > --- > drivers/serial/serial_sh.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/serial/serial_sh.h b/drivers/serial/serial_sh.h > index 4d27

[U-Boot] [PATCH v2] x86: tangier: Use official ACPI HID for FLIS IP

2017-12-12 Thread Andy Shevchenko
FLIS IP since now gets its own ACPI ID. Drop PRP0001 workaround in favour of official ACPI HID. Corresponding kernel commit dabd4bc6de2b pinctrl: intel: merrifield: Introduce ACPI device table in the pin control subsystem tree [1] targeting v4.16. [1]: https://git.kernel.org/pub/scm/li

Re: [U-Boot] [PATCH 1/3][v3] common: Fix-up MAC addr in dts by fetching env variable serially

2017-12-12 Thread York Sun
On 11/23/2017 03:22 AM, Prabhakar Kushwaha wrote: > The MAC addresses get fixed in the device tree for "ethernet" nodes > is by using trailing number behind "ethernet" found in "/aliases". > It may not be necessary for the "ethernet" nodes to be sequential. > There can be gaps in between or any nod

Re: [U-Boot] [PATCH 3/3] [v3] boards: ls1046ardb: disable unavailable "ethernet" node in dts

2017-12-12 Thread York Sun
On 11/23/2017 03:22 AM, Prabhakar Kushwaha wrote: > Linux device tree contains "ethernet" node for all possible > interface supported by SoC i.e. LS1046A. > > It is not necessary for a SerDes protocol to support all possible > interface. So disable unavailable "ethernet" node in device tree. > >

Re: [U-Boot] [PATCH 2/3][v3] arm: Add support of updating dts before fix-up

2017-12-12 Thread York Sun
On 11/23/2017 03:22 AM, Prabhakar Kushwaha wrote: > "ethernet" node fix-up for device tree happens before Linux boot. > > There can be requirement of updating "ethernet" node even before > fix-up. So, add support of updating "ethernet" node. > > Signed-off-by: Prabhakar Kushwaha > --- > Changes

[U-Boot] [PATCH] am335x_evm: Fix DFU for eMMC

2017-12-12 Thread Sam Protsenko
Use dfu_alt_info_emmc variable from include/environment/ti/dfu.h file. It was probably overlooked when extracting DFU variables to mentioned file. This patch fixes DFU on BeagleBone Black, so that we can use commands like ones below to upgrade various images on eMMC: => setenv dfu_alt_info $d

Re: [U-Boot] [PATCH 1/2] distro_bootcmd: Add command to run FreeBSD

2017-12-12 Thread Heinrich Schuchardt
On 12/12/2017 10:03 AM, Emmanuel Vadot wrote: > > Hi Heinrich, > > On Mon, 4 Dec 2017 20:18:22 +0100 > Heinrich Schuchardt wrote: > >> On 12/04/2017 08:06 PM, Emmanuel Vadot wrote: >>> Add commands that scans for the FreeBSD loader and run it if found. >>> FreeBSD has two loader: ubldr which i

[U-Boot] [PATCH] armv8: ls1046aqds: Adjust IFC timing for NOR flash

2017-12-12 Thread York Sun
Increase setup, assertion and hold time related to chip-select signal. Additional delay is needed for the signal to propogate through FPGA. This adjustment slightly increase the read and write cycle but has no impact on burst read or write. Signed-off-by: York Sun --- This patch supersedes http:/

[U-Boot] [RFC] Design of UEFI drivers

2017-12-12 Thread Heinrich Schuchardt
2a92080d8c4 [PATCH] efi_loader: add file/filesys support implemented the EFI_SIMPLE_FILE_SYSTEM_PROTOCOL. Unfortunately it assumes that the available media are constant. iPXE offers the possibility to attach iSCSI targets. On the handle for the attached target the EFI_BLOCK_IO_PROTOCOL and the EF

Re: [U-Boot] [PATCH 1/2] distro_bootcmd: Add command to run FreeBSD

2017-12-12 Thread Emmanuel Vadot
On Tue, 12 Dec 2017 20:29:42 +0100 Heinrich Schuchardt wrote: > On 12/12/2017 10:03 AM, Emmanuel Vadot wrote: > > > > Hi Heinrich, > > > > On Mon, 4 Dec 2017 20:18:22 +0100 > > Heinrich Schuchardt wrote: > > > >> On 12/04/2017 08:06 PM, Emmanuel Vadot wrote: > >>> Add commands that scans for

Re: [U-Boot] [PATCH 1/2] distro_bootcmd: Add command to run FreeBSD

2017-12-12 Thread Heinrich Schuchardt
On 12/12/2017 09:00 PM, Emmanuel Vadot wrote: > On Tue, 12 Dec 2017 20:29:42 +0100 > Heinrich Schuchardt wrote: > >> On 12/12/2017 10:03 AM, Emmanuel Vadot wrote: >>> >>> Hi Heinrich, >>> >>> On Mon, 4 Dec 2017 20:18:22 +0100 >>> Heinrich Schuchardt wrote: >>> On 12/04/2017 08:06 PM, Emman

Re: [U-Boot] [linux-sunxi] Re: [PATCH 12/16] configs: sun50i: enable ums on bananapi-m64

2017-12-12 Thread Icenowy Zheng
在 2017年12月12日星期二 CST 下午4:12:13,Maxime Ripard 写道: > Hi, > > On Tue, Dec 12, 2017 at 12:28:27PM +0530, Jagan Teki wrote: > > This patch enable ums through CMD_USB_MASS_STORAGE. > > > > Signed-off-by: Jagan Teki > > --- > > > > configs/bananapi_m64_defconfig | 1 + > > 1 file changed, 1 insertion

Re: [U-Boot] [PATCH v6 2/2] DW SPI: Get clock value from Device Tree

2017-12-12 Thread Simon Glass
On 11 December 2017 at 09:41, Marek Vasut wrote: > On 12/11/2017 05:37 PM, Eugeniy Paltsev wrote: >> On Mon, 2017-12-11 at 17:21 +0100, Marek Vasut wrote: >>> On 12/11/2017 05:18 PM, Eugeniy Paltsev wrote: Add option to set spi controller clock frequency via device tree using standard cl

Re: [U-Boot] [U-Boot,01/10] ata: Drop CONFIG_SATA_DWC

2017-12-12 Thread Tom Rini
On Fri, Dec 08, 2017 at 03:36:12PM +0200, Tuomas Tynkkynen wrote: > The last user of this driver went away in June 2017, in commit: > 98f705c9ce ("powerpc: remove 4xx support") > > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signat

Re: [U-Boot] [U-Boot,02/10] ata: Drop CONFIG_MX51_PATA

2017-12-12 Thread Tom Rini
On Fri, Dec 08, 2017 at 03:36:13PM +0200, Tuomas Tynkkynen wrote: > The last user of this driver went away in August 2015 in commit: > b6073fd2115 ("arm: Remove mx51_efikamx, mx51_efikasb boards") > > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Des

Re: [U-Boot] [U-Boot, 04/10] ata: Migrate CONFIG_SATA_SIL3114 to Kconfig

2017-12-12 Thread Tom Rini
On Fri, Dec 08, 2017 at 03:36:15PM +0200, Tuomas Tynkkynen wrote: > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de

Re: [U-Boot] [U-Boot, 06/10] ata: Migrate CONFIG_FSL_SATA to Kconfig

2017-12-12 Thread Tom Rini
On Fri, Dec 08, 2017 at 03:36:17PM +0200, Tuomas Tynkkynen wrote: > Use 'imply' here liberally to avoid the combinatorial explosion of > defconfig changes in the PowerPC boards. > > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signa

Re: [U-Boot] [U-Boot, 10/10] ata: Migrate CONFIG_MVSATA_IDE to Kconfig

2017-12-12 Thread Tom Rini
On Fri, Dec 08, 2017 at 03:36:21PM +0200, Tuomas Tynkkynen wrote: > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de

Re: [U-Boot] [U-Boot, 07/10] ata: Migrate CONFIG_DWC_AHSATA to Kconfig

2017-12-12 Thread Tom Rini
On Fri, Dec 08, 2017 at 03:36:18PM +0200, Tuomas Tynkkynen wrote: > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de

Re: [U-Boot] [U-Boot,05/10] ata: Migrate CONFIG_SATA_MV to Kconfig

2017-12-12 Thread Tom Rini
On Fri, Dec 08, 2017 at 03:36:16PM +0200, Tuomas Tynkkynen wrote: > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de

Re: [U-Boot] [U-Boot, 08/10] ata: Migrate CONFIG_SCSI_AHCI to Kconfig

2017-12-12 Thread Tom Rini
On Fri, Dec 08, 2017 at 03:36:19PM +0200, Tuomas Tynkkynen wrote: > And use 'imply' liberally. > > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lis

Re: [U-Boot] [U-Boot, 03/10] ata: Migrate CONFIG_SATA_SIL to Kconfig

2017-12-12 Thread Tom Rini
On Fri, Dec 08, 2017 at 03:36:14PM +0200, Tuomas Tynkkynen wrote: > Use 'imply' here liberally to avoid the combinatorial explosion of > defconfig changes in the PowerPC boards. > > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signa

Re: [U-Boot] [U-Boot,09/10] ata: Migrate CONFIG_LIBATA to Kconfig

2017-12-12 Thread Tom Rini
On Fri, Dec 08, 2017 at 03:36:20PM +0200, Tuomas Tynkkynen wrote: > This symbol enables some library code used by various SATA drivers, > so make this a non-user-visible symbol select'ed by the respective > drivers, and let moveconfig handle the rest. > > Signed-off-by: Tuomas Tynkkynen Applied

Re: [U-Boot] [U-Boot,4/4] meson: use the clock driver

2017-12-12 Thread Tom Rini
On Sun, Dec 03, 2017 at 10:17:13AM +0100, Beniamino Galvani wrote: > Use the clk framework to initialize clocks from drivers that need them > instead of having hardcoded frequencies and initializations from board > code. > > Signed-off-by: Beniamino Galvani > Reviewed-by: Simon Glass > --- > a

Re: [U-Boot] [linux-sunxi] Re: [PATCH 12/16] configs: sun50i: enable ums on bananapi-m64

2017-12-12 Thread Stefan Brüns
On Wednesday, December 13, 2017 2:36:26 AM CET Icenowy Zheng wrote: > 在 2017年12月12日星期二 CST 下午4:12:13,Maxime Ripard 写道: > > > Hi, > > > > On Tue, Dec 12, 2017 at 12:28:27PM +0530, Jagan Teki wrote: > > > This patch enable ums through CMD_USB_MASS_STORAGE. > > > > > > Signed-off-by: Jagan Teki >

[U-Boot] How to re-use the driver data for pre-reloc in post-reloc driver

2017-12-12 Thread Kever Yang
Hi Simon, This is not the topic about disable the relocate feature in U-Boot proper. My target is re-use kernel dtb in U-Boot and U-Boot can work properly even if some of dts node in kernel is broken. - U-Boot mark a set of driver as u-boot,dm-pre-reloc, suppose to able to get into U-

Re: [U-Boot] [PATCH v3 2/2] common: Generic firmware loader for file system

2017-12-12 Thread Chee, Tien Fong
On Sel, 2017-12-12 at 15:12 +0100, Lothar Waßmann wrote: > Hi, > > On Tue, 12 Dec 2017 19:56:17 +0800 tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > This is file system generic loader which can be used to load > > the file image from the storage into target such as memory.

Re: [U-Boot] [PATCH v3 0/2] Generic firmware loader

2017-12-12 Thread Chee, Tien Fong
On Sel, 2017-12-12 at 16:51 +0100, Marek Vasut wrote: > On 12/12/2017 12:56 PM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > This patchset contains generic firmware loader which is very close > > to Linux > > firmware loader but for U-Boot framework. Generic firmware load

[U-Boot] please pull u-boot-samsung master

2017-12-12 Thread Jaehoon Chung
The below message is from Minkyu. I just resend his original PR. Forwarded Message Subject: please pull u-boot-samsung master Date: Tue, 12 Dec 2017 15:48:17 +0900 From: Minkyu Kang Organization: SAMSUNG ELECTRONICS To: Jaehoon Chung Hi Tom, The following changes since commit

Re: [U-Boot] [linux-sunxi] Re: [PATCH 12/16] configs: sun50i: enable ums on bananapi-m64

2017-12-12 Thread Jagan Teki
On Wed, Dec 13, 2017 at 7:31 AM, Stefan Brüns wrote: > On Wednesday, December 13, 2017 2:36:26 AM CET Icenowy Zheng wrote: >> 在 2017年12月12日星期二 CST 下午4:12:13,Maxime Ripard 写道: >> >> > Hi, >> > >> > On Tue, Dec 12, 2017 at 12:28:27PM +0530, Jagan Teki wrote: >> > > This patch enable ums through CMD_

Re: [U-Boot] [PATCH v2 1/1] arm: sunxi: Allwinner A10 SPI driver

2017-12-12 Thread Jagan Teki
On Fri, Dec 8, 2017 at 5:08 PM, Jagan Teki wrote: > On Fri, Dec 8, 2017 at 2:05 PM, Stefan Mavrodiev wrote: >> Add spi driver for sun4i, sun5i and sun7i SoCs. The driver is >> adapted from mailine kernel (currently 4.15.0-rc1). >> >> Signed-off-by: Stefan Mavrodiev >> --- > > Reviewed-by: Jagan

Re: [U-Boot] [PATCH v2 3/3] sunxi: README.sunxi64: Document verified-boot for a64

2017-12-12 Thread Jagan Teki
On Mon, Nov 13, 2017 at 2:45 PM, Maxime Ripard wrote: > Hi, > > On Fri, Nov 10, 2017 at 10:21:10PM +0530, Jagan Teki wrote: >> Add verified-boot documentation for sunxi a64 platform. >> >> Signed-off-by: Jagan Teki >> --- >> Changes for v2: >> - New patch >> >> board/sunxi/README.sunxi64 | 177

Re: [U-Boot] [PATCH] am335x_evm: Fix DFU for eMMC

2017-12-12 Thread Lokesh Vutla
On Tuesday 12 December 2017 11:37 PM, Sam Protsenko wrote: > Use dfu_alt_info_emmc variable from include/environment/ti/dfu.h file. > It was probably overlooked when extracting DFU variables to mentioned > file. > > This patch fixes DFU on BeagleBone Black, so that we can use commands > like one

[U-Boot] [PATCH v5 1/5] sunxi: a64: Enable FIT Signature

2017-12-12 Thread Jagan Teki
From: Jagan Teki Enable FIT_SIGNATURE for sunxi a64. Signed-off-by: Jagan Teki --- Changes for v3: - Move imply outside block Changes for v2: - Use imply instead of select arch/arm/mach-sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/ma

[U-Boot] [PATCH v5 3/5] docs: Document verified-boot for sunxi a64

2017-12-12 Thread Jagan Teki
Add verified-boot documentation for sunxi a64 platform. Signed-off-by: Jagan Teki --- Changes for v3: - Create separate document file Changes for v2: - New patch doc/README.sunxi | 193 +++ 1 file changed, 193 insertions(+) create mode 100644

[U-Boot] [PATCH v5 2/5] sunxi: arm64: Increase CONFIG_SYS_BOOTM_LEN to 32MB

2017-12-12 Thread Jagan Teki
From: Jagan Teki The default value of CONFIG_SYS_BOOTM_LEN, 0x80, causes error when uncompressing Image.gz out of FIT image. Uncompressing Kernel Image ... Error: inflate() returned -5 Image too large: increase CONFIG_SYS_BOOTM_LEN and loading Image out of FIT image. Loading Kernel Ima

[U-Boot] [PATCH v5 4/5] docs: README.sunxi: Move sunxi64 documentation

2017-12-12 Thread Jagan Teki
Move documentation of README.sunxi64 from board files into docs/README.sunxi Signed-off-by: Jagan Teki --- Changes for v3: - New patch board/sunxi/README.sunxi64 | 165 -- doc/README.sunxi | 173 - 2 f

[U-Boot] [PATCH v3 1/5] sunxi: a64: Enable FIT Signature

2017-12-12 Thread Jagan Teki
From: Jagan Teki Enable FIT_SIGNATURE for sunxi a64. Signed-off-by: Jagan Teki --- Changes for v3: - Move imply outside block Changes for v2: - Use imply instead of select arch/arm/mach-sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/ma

[U-Boot] [PATCH v5 5/5] docs: README.sunxi: Move nand documentation

2017-12-12 Thread Jagan Teki
Move documentation of README.nand from board files into docs/README.sunxi Signed-off-by: Jagan Teki --- Changes for v3: - New patch board/sunxi/README.nand | 54 doc/README.sunxi| 60 +++-- 2 files

[U-Boot] [PATCH v3 5/5] docs: README.sunxi: Move nand documentation

2017-12-12 Thread Jagan Teki
Move documentation of README.nand from board files into docs/README.sunxi Signed-off-by: Jagan Teki --- Changes for v3: - New patch board/sunxi/README.nand | 54 doc/README.sunxi| 60 +++-- 2 files

[U-Boot] [PATCH v3 2/5] sunxi: arm64: Increase CONFIG_SYS_BOOTM_LEN to 32MB

2017-12-12 Thread Jagan Teki
From: Jagan Teki The default value of CONFIG_SYS_BOOTM_LEN, 0x80, causes error when uncompressing Image.gz out of FIT image. Uncompressing Kernel Image ... Error: inflate() returned -5 Image too large: increase CONFIG_SYS_BOOTM_LEN and loading Image out of FIT image. Loading Kernel Ima

  1   2   >