Re: [U-Boot] [RFC 09/11] armv7R: dts: k3: am654: Update for loading SYSFW from MMC

2019-05-20 Thread Chee, Tien Fong
On Thu, 2019-05-16 at 15:54 -0500, Andreas Dannenberg wrote: > From: Lokesh Vutla > > In order to load the sysfw.itb from an MMC device, clocks should be > hard > coded to the same value as ROM configured frequency. Clock updates > cannot > happen at this point as SYSFW is not yet available. So

Re: [U-Boot] [RFC 05/11] arm: K3: Introduce System Firmware loader framework

2019-05-20 Thread Chee, Tien Fong
On Thu, 2019-05-16 at 15:54 -0500, Andreas Dannenberg wrote: > Introduce a framework that allows loading the System Firmware (SYSFW) > binary as well as the associated configuration data from an image > tree > blob named "sysfw.itb" from an FS-based boot media using the FS > loader > framework. >

[U-Boot] [PATCH 1/1] cmd: remove unused `display` command

2019-05-20 Thread Heinrich Schuchardt
Compiling the display command leads to an error undefined reference to `display_set' No implementation of display_set() exists in U-Boot. Eliminate the `display` command as well as the accompanying files. Signed-off-by: Heinrich Schuchardt --- cmd/Kconfig| 8 ---

Re: [U-Boot] [RFC 05/11] arm: K3: Introduce System Firmware loader framework

2019-05-20 Thread Chee, Tien Fong
On Thu, 2019-05-16 at 15:54 -0500, Andreas Dannenberg wrote: > Introduce a framework that allows loading the System Firmware (SYSFW) > binary as well as the associated configuration data from an image > tree > blob named "sysfw.itb" from an FS-based boot media using the FS > loader > framework. >

Re: [U-Boot] [PATCH] Revert "mmc: fsl_esdhc: fix sd/mmc ddr mode clock setting issue"

2019-05-20 Thread Peng Fan
Hi Lukasz, > Subject: Re: [PATCH] Revert "mmc: fsl_esdhc: fix sd/mmc ddr mode clock > setting issue" > > Hi Peng, > > > Hi Lukasz, > > > > Do you expect me to pick this patch, just see this patch was delegated > > to Stefano? > > I think that you shall decide with Stefano who would take this

Re: [U-Boot] [PATCH v1 02/10] mmc: fsl_esdhc: annotate endifs

2019-05-20 Thread Peng Fan
> Subject: [PATCH v1 02/10] mmc: fsl_esdhc: annotate endifs > > Annotate endifs to make CONFIG_IS_ENABLED(DM_MMC) or not more > obvious. > > Signed-off-by: Marcel Ziswiler > > --- > > drivers/mmc/fsl_esdhc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: [U-Boot] [PATCH v1 01/10] mmc: add missing space before comment delimiter

2019-05-20 Thread Peng Fan
> Subject: [PATCH v1 01/10] mmc: add missing space before comment delimiter > > Add missing space before a comment delimiter. > > Signed-off-by: Marcel Ziswiler > > --- > > drivers/mmc/mmc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/mmc.c

Re: [U-Boot] [PATCH] Revert "mmc: fsl_esdhc: fix sd/mmc ddr mode clock setting issue"

2019-05-20 Thread Lukasz Majewski
Hi Peng, > Hi Lukasz, > > Do you expect me to pick this patch, just see this patch was > delegated to Stefano? I think that you shall decide with Stefano who would take this patch. For me there is no difference, I would just like to have it in main line ASAP (depends who prepare PR first). >

Re: [U-Boot] [PATCH v2 2/3] spl: add relocation support【请注意,邮件由s...@google.com代发】

2019-05-20 Thread Andy Yan
Hi Simon: On 2019/5/19 上午12:26, Simon Glass wrote: Hi Andy, Instead of this could you: - move ATF? All rockchip based arm64 ATF run from the start 64KB of dram as this will give convenient for kernel manage the memory. On the other hand, change the ATF load address will break the

Re: [U-Boot] [PATCH v3] dw_mmc: turn on the IO supply

2019-05-20 Thread Peng Fan
> Subject: [U-Boot] [PATCH v3] dw_mmc: turn on the IO supply > > Fixes the microSD slot on the ASUS C201. > > Signed-off-by: Urja Rannikko > --- > v2: use #if CONFIG_IS_ENABLED(DM_REGULATOR) > v3: Move ret variable inside the if block (only used there) > --- > drivers/mmc/dw_mmc.c | 16

Re: [U-Boot] [PATCH] video: Factor out vidconsole_put_string()

2019-05-20 Thread Anatolij Gustschin
On Fri, 17 May 2019 20:22:31 +0200 Marek Vasut ma...@denx.de wrote: > Pull the vidconsole_put_string() function from DM tests, make it > available to e.g. boards that want to display information on the > LCD on boot. > > Signed-off-by: Marek Vasut > Cc: Anatolij Gustschin > --- >

Re: [U-Boot] Pull request for UEFI sub-system for v2019.07-rc3 (2)

2019-05-20 Thread Tom Rini
On Sun, May 19, 2019 at 10:08:24PM +0200, Heinrich Schuchardt wrote: > The following changes since commit 98b3156b0df4b0df9cb3a0bbfc240d0c4edd2638: > > Merge branch 'master' of git://git.denx.de/u-boot-samsung (2019-05-16 > 07:09:59 -0400) > > are available in the Git repository at: > >

Re: [U-Boot] [PATCH 1/4] clk: sifive: Add clock driver for GEMGXL MGMT

2019-05-20 Thread Auer, Lukas
Hi Bin, On Thu, 2019-05-16 at 02:12 -0700, Bin Meng wrote: > This adds a clock driver to support the GEMGXL management IP block > found in FU540 SoCs to control GEM TX clock operation mode for > 10/100/1000 Mbps. > > Signed-off-by: Bin Meng > --- > > drivers/clk/sifive/Kconfig | 7

Re: [U-Boot] [PATCH 2/4] dm: net: macb: Update macb_linkspd_cb() signature

2019-05-20 Thread Auer, Lukas
On Thu, 2019-05-16 at 02:12 -0700, Bin Meng wrote: > This updates DM version macb_linkspd_cb() signature for future > expansion, eg: adding an implementation for link speed changes. > > Signed-off-by: Bin Meng > --- > > drivers/net/macb.c | 22 +- > 1 file changed, 21

Re: [U-Boot] [PATCH 4/4] sifive: fu540: Enable GEMGXL MGMT driver

2019-05-20 Thread Auer, Lukas
On Thu, 2019-05-16 at 02:12 -0700, Bin Meng wrote: > Enable the new GEMGXL MGMT driver so that GEM 10/100 Mbps works now. > > Signed-off-by: Bin Meng > > --- > > board/sifive/fu540/Kconfig | 1 + > 1 file changed, 1 insertion(+) > Thanks for the patch series. I tested it successfully on a

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

2019-05-20 Thread Mario Six
Hi Tom, The following changes since commit 7eafd61a43b102808dc83066de35a1a51d00330f: ihs_mdio: Use new regmap interface (2019-05-20 13:50:35 +0200) are available in the Git repository at: git://git.denx.de/u-boot-mpc83xx.git for you to fetch changes up to

Re: [U-Boot] [PATCH v3] riscv: Add Microchip MPFS Icicle board support

2019-05-20 Thread Auer, Lukas
Hi Padmarao, On Mon, 2019-05-13 at 16:18 +0530, Padmarao Begari wrote: > This patch adds Microchip MPFS Icicle board support. > For now, NS16550 serial driver is only enabled. > The Microchip MPFS Icicle defconfig by default builds > U-Boot for M-Mode with SMP support. > > Signed-off-by:

Re: [U-Boot] DM for ci_udc

2019-05-20 Thread Schrempf Frieder
Hi Sven, On 06.05.19 12:12, Sven Schwermer wrote: > Hi, > > I’m running into linking issues when enabling CONFIG_DM_USB_GADGET with > CONFIG_CI_UDC because dm_usb_gadget_handle_interrupts is not available. That > made me look into what’s required to port ci_udc to driver model. I have a > few

Re: [U-Boot] MMC boot broken on OMAP-L138 LCDK

2019-05-20 Thread Sekhar Nori
On 20/05/19 5:55 PM, Adam Ford wrote: > What about adding a memset function to the end of spl_board_init() so > after arch_cpu_init() is called,and after preloader_consol_init() is > called, we clear BSS? I ran some preliminary tests on da850evm and it > didn't see to break anything. There are a

[U-Boot] [PATCH v2 1/8] sandbox: add config for SPL boot with devicetree

2019-05-20 Thread Patrick Delaunay
Creates defconfig sandbox_spl_dtb_defconfig, same than sandbox_spl_defconfig but without CONFIG_SPL_OF_PLATDATA; to allow SPL compilation: - OF_HOSTFILE is changed to OF_EMBED. Signed-off-by: Patrick Delaunay --- Changes in v2: - add sandbox_spl_dtb_defconfig for test

[U-Boot] [PATCH v2 2/8] fdt: Allow to use EMBEDDED device tree for SPL

2019-05-20 Thread Patrick Delaunay
U-boot continue to use load DT from file system, this patch avoid an error when U-Boot "Error: Out of memory" when it try to map gd->fdt_blob (EMBEDDED pointer __dtb_dt_begin is not managed). Signed-off-by: Patrick Delaunay --- Changes in v2: - solve issue for spl sandbox with dtb

Re: [U-Boot] [PATCH] imx: mx6sabresd: fix boot hang with video

2019-05-20 Thread Anatolij Gustschin
On Thu, 25 Apr 2019 02:36:22 + Peng Fan peng@nxp.com wrote: ... > Signed-off-by: Peng Fan > --- > arch/arm/dts/imx6q.dtsi | 1 + > arch/arm/dts/imx6qdl.dtsi| 1 + > configs/mx6sabresd_defconfig | 6 +++--- > 3 files changed, 5 insertions(+), 3 deletions(-) Applied to

Re: [U-Boot] MMC boot broken on OMAP-L138 LCDK

2019-05-20 Thread Adam Ford
On Mon, May 20, 2019 at 4:09 AM Sekhar Nori wrote: > > On 17/05/19 6:34 PM, Adam Ford wrote: > > On Fri, May 17, 2019 at 7:36 AM Sekhar Nori wrote: > >> > >> Hi Adam, > >> > >> MMC/SD boot is broken on OMAP-L138 LCDK. This is since v2018.11. > >> v2018.09 is fine. > >> > >> The first breakage

[U-Boot] [PATCH v2 7/8] fdt: Allow indicating a node is for U-Boot proper only

2019-05-20 Thread Patrick Delaunay
This add missing parts for previous commit 06f94461a9f4 ("fdt: Allow indicating a node is for U-Boot proper only") At present it is not possible to specify that a node should be used before relocation (in U-Boot proper) without it also ending up in SPL and TPL device trees. Add a new

[U-Boot] [PATCH v2 4/8] test: py: add option to select device tree used during compilation

2019-05-20 Thread Patrick Delaunay
Only used for spl compilation which include the device tree (with platdata or embedded device tree). For U-boot, test use config.dtb, by default : "build_dir + '/arch/sandbox/dts/test.dtb'" Signed-off-by: Patrick Delaunay --- I need to force o_dt = 'all' to avoid make error: make: *** empty

[U-Boot] [PATCH v2 3/8] sandbox: add option show_of_embedded for spl test

2019-05-20 Thread Patrick Delaunay
Add an option show_of_embedded used in SPL to dump the used device tree. Signed-off-by: Patrick Delaunay --- Changes in v2: - add new option for spl test: show embedded dtb arch/sandbox/cpu/spl.c | 188 +++ arch/sandbox/cpu/start.c | 9

[U-Boot] [PATCH v2 6/8] test: check u-boot properties in SPL device tree

2019-05-20 Thread Patrick Delaunay
Add a test to check the management of the u-boot relocation properties (fdtgrep result) for platdata generation or device tree SPL generation: - 'dm-pre-proper' and 'dm-tpl' not included in SPL - 'dm-pre-reloc' and 'dm-spl' included in SPL This patch also executes the version test

[U-Boot] [PATCH v2 0/8] fdt: Allow indicating a node is for U-Boot proper only

2019-05-20 Thread Patrick Delaunay
Hi, I create this v2 serie with: 1/ documentation update for previous patch [U-Boot,v2] dm: remove pre reloc properties in SPL and TPL device tree http://patchwork.ozlabs.org/patch/1081155/ PS: Code is already merged in commit commit c7a88dae997f ("dm: remove pre reloc

Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading i.MX container format file

2019-05-20 Thread Marek Vasut
On 5/20/19 3:54 AM, Peng Fan wrote: > Hi Marek, > >> Subject: Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading i.MX container >> format file >> >> On 5/20/19 3:30 AM, Peng Fan wrote: >>> Hi Simon, >>> Subject: Re: [PATCH 4/6] spl: mmc: support loading i.MX container format file

Re: [U-Boot] [PATCH v1 0/6] arm: imx: cx9020: Migrate to DM_VIDEO and DM_GPIO

2019-05-20 Thread Anatolij Gustschin
On Wed, 17 Apr 2019 13:57:13 +0200 linux-kernel-...@beckhoff.com linux-kernel-...@beckhoff.com wrote: ... > Steffen Dirkwinkel (6): > dm: arm: imx: cx9020: enable DM_GPIO > dm: arm: imx: video: add compatible for imx53-ipu > arm: imx: add ipu to imx53.dts and set dm-pre-reloc > dm: arm:

[U-Boot] [PATCH] controlcenterdc: Update config

2019-05-20 Thread Mario Six
Several drivers used by the ControlCenterDC board were converted to DM upstream. But the board had not been using these drivers yet. Update the board's config file to reflect these changes and use the DM version of these drivers. No further device tree updates are necessary, since the devices in

Re: [U-Boot] [PATCH] drivers: core: use strcmp when find device by name

2019-05-20 Thread Simon Glass
Hi Peng, On Wed, 15 May 2019 at 05:57, Peng Fan wrote: > > Hi Simon, > > > Subject: Re: [PATCH] drivers: core: use strcmp when find device by name > > > > On Sun, 28 Apr 2019 at 03:43, Peng Fan wrote: > > > > > > `if (!strncmp(dev->name, name, strlen(name)))` might find out the > > > wrong

[U-Boot] [PATCH v2 8/8] dm: doc: add documentation for pre-reloc properties in SPL and TPL

2019-05-20 Thread Patrick Delaunay
Add documentation for the pre-reloc property in SPL and TPL device-tree: - u-boot,dm-pre-proper - u-boot,dm-pre-reloc - u-boot,dm-spl - u-boot,dm-tpl Signed-off-by: Patrick Delaunay Reviewed-by: Simon Glass --- Changes in v2: - rebase on master doc/README.SPL | 16

[U-Boot] [PATCH v2 5/8] test: move SPL test nodes in test device tree

2019-05-20 Thread Patrick Delaunay
Moves spl-test nodes in test device tree, selected by the new build option '--device-tree'. This patch also executes the version test (test_000_version) to check the correct start of the U-Boot after SPL execution. Signed-off-by: Patrick Delaunay --- Changes in v2: - move all spl test nodes in

Re: [U-Boot] [PATCH 3/4] dm: net: macb: Implement link speed change callback

2019-05-20 Thread Auer, Lukas
Hi Bin, On Thu, 2019-05-16 at 02:12 -0700, Bin Meng wrote: > At present the link speed change callback is a nop. According to > macb device tree bindings, an optional "tx_clk" is used to clock > the ethernet controller's TX_CLK under different link speed. > > In 10/100 MII mode, transmit logic

Re: [U-Boot] [PATCH] video: ipuv3: Set max display bpp to 32

2019-05-20 Thread Anatolij Gustschin
On Mon, 6 May 2019 01:11:32 +0200 Marek Vasut ma...@denx.de wrote: > The IPUv3 can handle 1920x1080x32bpp displays , set the max preallocated > framebuffer BPP to 32 to cater for all eventualities. > > Signed-off-by: Marek Vasut > Cc: Anatolij Gustschin > --- >

Re: [U-Boot] [PATCH 16/16] mpc83xx: Add gazerbeam board

2019-05-20 Thread Mario Six
On Fri, Mar 29, 2019 at 10:18 AM Mario Six wrote: > > From: Dirk Eibach > > The gdsys gazerbeam board is based on a Freescale MPC8308 SOC. > It boots from NOR-Flash, kernel and rootfs are stored on > SD-Card. > > On board peripherals include: > - 2x 10/100 Mbit/s Ethernet (optional) > >

Re: [U-Boot] [PATCH] Revert "mmc: fsl_esdhc: fix sd/mmc ddr mode clock setting issue"

2019-05-20 Thread Lukasz Majewski
Hi Peng, > Hi Lukasz, > > > Subject: Re: [PATCH] Revert "mmc: fsl_esdhc: fix sd/mmc ddr mode > > clock setting issue" > > > > Hi Peng, > > > > > Hi Lukasz, > > > > > > Do you expect me to pick this patch, just see this patch was > > > delegated to Stefano? > > > > I think that you shall

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

2019-05-20 Thread Stefan Roese
Hi Tom, please pull the following Marvell related fix: - Fix SPL build on Armada XP (theadorable etc) (Stefan) Thanks, Stefan The following changes since commit

Re: [U-Boot] [PATCH] Makefile: Prioritize external dtb if defined

2019-05-20 Thread Michal Simek
On 19. 05. 19 15:15, Marek Vasut wrote: > On 5/20/19 12:08 AM, Tom Rini wrote: >> On Mon, May 20, 2019 at 12:03:45AM +0200, Marek Vasut wrote: >>> On 5/19/19 10:44 PM, Tom Rini wrote: On Mon, Mar 25, 2019 at 03:55:16PM +0100, Michal Simek wrote: > Prioritize external dtb if its

[U-Boot] [PATCH v2 2/2] opos6uldev: remove board_ehci_hcd_init function

2019-05-20 Thread Sébastien Szymanski
This function sets the polarity of the PWR signal which is not used on the opos6uldev board. Remove it. Reviewed-by: Fabio Estevam Signed-off-by: Sébastien Szymanski --- Changes for v2: - better commit log board/armadeus/opos6uldev/board.c | 21 - 1 file changed, 21

[U-Boot] [PATCH v2 1/2] opos6uldev: don't call enable_lcdif_clock

2019-05-20 Thread Sébastien Szymanski
The mxsfb driver already calls enable_lcdif_clock. Reviewed-by: Fabio Estevam Signed-off-by: Sébastien Szymanski --- Changes for v2: - none board/armadeus/opos6uldev/board.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/board/armadeus/opos6uldev/board.c

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-20 Thread Eugeniu Rosca
Hi Simon cc: Sam, Igor, feel free to correct/augment anything of below On Sat, May 18, 2019 at 10:33:02AM -0600, Simon Glass wrote: > Hi Eugeniu, > > On Fri, 17 May 2019 at 08:46, Eugeniu Rosca wrote: > > > > 'Bootloader Control Block' (BCB) is a well established term/acronym in > > the Android

Re: [U-Boot] [PATCH 4/4] ARM: renesas: Configure DRAM size from ATF DT fragment

2019-05-20 Thread Eugeniu Rosca
Hi Marek, On Mon, May 20, 2019 at 12:50:07AM +0200, Marek Vasut wrote: > On 4/4/19 3:45 PM, Eugeniu Rosca wrote: [..] > >>> [..] > >>> > >>> Besides the above, I wonder why this patch duplicates code across three > >>> board files? Could this code be relocated to some common area like [1]? > >> >

[U-Boot] [PATCH] arm: mvebu: helios4: Enable CONFIG_BLK and CONFIG_DM_MMC

2019-05-20 Thread Stefan Roese
This patch enables CONFIG_BLK and CONFIG_DM_MMC on helios4 to remove these compile warnings: = WARNING == This board does not use CONFIG_DM_MMC. Please update the board to use CONFIG_DM_MMC before the v2019.04 release. Failure to update by the deadline may

[U-Boot] [PATCH] cmd: define CMD_DATA_SIZE when CONFIG_CMD_SETEXPR is selected

2019-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The setexpr shell command calls cmd_get_data_size() which is only built when CMD_DATA_SIZE is defined. We need to define CMD_DATA_SIZE if CONFIG_CMD_SETEXPR is selected or the build will fail if no other command selecting this option is enabled. Signed-off-by: Bartosz

Re: [U-Boot] [PATCH 1/2] fdt: Allow indicating a node is for U-Boot proper only

2019-05-20 Thread Patrick DELAUNAY
Hi Simon, > > Hi Patrick, > > On Mon, 11 Feb 2019 at 07:34, Patrick DELAUNAY > wrote: > > > > Hi Marek, > > > > > From: Marek Vasut > > > Sent: lundi 11 février 2019 12:58 > > > > > > On 2/11/19 12:56 PM, Patrick DELAUNAY wrote: > > > > Hi Marek and Simon > > > > > > > >> From: Patrick

Re: [U-Boot] MMC boot broken on OMAP-L138 LCDK

2019-05-20 Thread Sekhar Nori
On 17/05/19 6:34 PM, Adam Ford wrote: > On Fri, May 17, 2019 at 7:36 AM Sekhar Nori wrote: >> >> Hi Adam, >> >> MMC/SD boot is broken on OMAP-L138 LCDK. This is since v2018.11. >> v2018.09 is fine. >> >> The first breakage occurred with commit 21af33ed0319 ("ARM: davinci: >> omapl138_lcdk: Enable

Re: [U-Boot] [PATCH] sun50i: a64: Fix broken A64-Teres-I board config

2019-05-20 Thread Jonas Smedegaard
[Adding Jagan as recipient] Anything more I can do to get below fix included? - Jonas Quoting Jonas Smedegaard (2019-05-14 14:14:52) > Set CONFIG_SPL_TEXT_BASE in teres_i_defconfig > (see commit f89d6133ee) > > Tested-by: Jonas Smedegaard > Signed-off-by: Jonas Smedegaard > --- > >

Re: [U-Boot] [PATCH v3] Add a simple script to remove boards

2019-05-20 Thread Chris Packham
On Sun, 19 May 2019, 4:07 AM Simon Glass, wrote: > This script attempts to create a git commit which removes a single board. > It is quite fallible and everything it does needs checking. But it can > help speed up the process. > > Signed-off-by: Simon Glass > Reviewed-by: Chris Packham --- >

[U-Boot] [PATCH] pmic: stpmic1: add support for SYSRESET_POWER_OFF

2019-05-20 Thread Patrick Delaunay
Adds support for SYSRESET_POWER_OFF = PMIC power off used by command power off and introduced by commit 751fed426f87 ("sysreset: Add a way to find the last reset"). The driver use SYSRESET_POWER for the PMIC-level power cycle, with restart. Signed-off-by: Patrick Delaunay ---

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-20 Thread Eugeniu Rosca
Hi Alex, On Mon, May 20, 2019 at 08:32:28AM +0100, Alex Kiernan wrote: > On Mon, May 20, 2019 at 8:23 AM Eugeniu Rosca wrote: > > > > > > > > Should it default to enabled if avb is used? > > > > I think at this specific moment in time, 'bcb' is orthogonal (meaning it > > is neither a direct, nor

Re: [U-Boot] [PATCH 3/7] warp7: include: configs: Differentiate bootscript address from loadaddr

2019-05-20 Thread Bryan O'Donoghue
On 15/05/2019 20:13, Pierre-Jean Texier wrote: Regarding your question, it seems that is now the standard on many platforms [2]. In fact, instead of keeping a custom environment, it is better to use a more generic approach by switching to disto config (with boot.scr, extlinux, and so on).

[U-Boot] Please pull from u-boot-i2c

2019-05-20 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c.git master The following changes since commit 5b4b680cfe29a67171ccbe439c66374cb31faca3: Prepare v2019.07-rc2 (2019-05-15 15:58:48 -0400) are available in the Git repository at: git://git.denx.de/u-boot-i2c.git master for you to fetch changes up to

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-20 Thread Alex Kiernan
On Mon, May 20, 2019 at 8:23 AM Eugeniu Rosca wrote: > > > > > Should it default to enabled if avb is used? > > I think at this specific moment in time, 'bcb' is orthogonal (meaning it > is neither a direct, nor a reverse dependency) to any other Android > feature in U-Boot. This could be

Re: [U-Boot] [PATCH] arm: mvebu: armada-370-xp.dtsi: Add "u-boot, dm-pre-reloc" to "internal-regs"

2019-05-20 Thread Stefan Roese
On 10.05.19 13:34, Stefan Roese wrote: Without this U-Boot specific property, booting on Armada XP theadorable fails in SPL. All nodes in the "internal-regs" (simple-bus) DT node are not scanned, so the UART node is missing (and others). I'm not adding this property in an *u-boot.dtsi file,

[U-Boot] [PATCH] sysreset: syscon: add support for power off

2019-05-20 Thread Patrick Delaunay
The new type sysreset 'POWER_OFF', introduced by commit 751fed426f87 ("sysreset: Add a way to find the last reset") is only supported for "syscon-poweroff" compatible. For details see Linux binding: ./Documentation/devicetree/bindings/power/reset/syscon-poweroff.txt This patch removes the

Re: [U-Boot] [PATCH v2 2/3] sysreset: move stm32mp sysreset poweroff implementation to sysreset uclass

2019-05-20 Thread Patrick DELAUNAY
Hi Urja, > > This is a generic implementation. Add CONFIG_SYSRESET_CMD_POWEROFF > to signal when we need it. Enable it from the STPMIC1 config and in sandbox. > > The config flag is transitionary, that is it can be removed after all poweroff > implementations use sysreset, and just have

Re: [U-Boot] DM for ci_udc

2019-05-20 Thread Adam Ford
On Mon, May 20, 2019 at 7:13 AM Schrempf Frieder wrote: > > Hi Sven, > > On 06.05.19 12:12, Sven Schwermer wrote: > > Hi, > > > > I’m running into linking issues when enabling CONFIG_DM_USB_GADGET with > > CONFIG_CI_UDC because dm_usb_gadget_handle_interrupts is not available. > > That made me

Re: [U-Boot] [PATCH v1 10/10] colibri_pxa270_defconfig: enable dm_mmc

2019-05-20 Thread Igor Opaniuk
On Mon, May 20, 2019 at 3:48 AM Marcel Ziswiler wrote: > > Enable CONFIG_DM_MMC. > > Signed-off-by: Marcel Ziswiler > > --- > > configs/colibri_pxa270_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configs/colibri_pxa270_defconfig > b/configs/colibri_pxa270_defconfig >

Re: [U-Boot] Cannot boot mx6qsabred with 2019.07-rc2

2019-05-20 Thread Fabio Estevam
Hi Lukasz, On Fri, May 17, 2019 at 9:58 AM Lukasz Majewski wrote: > I had similar issue on imx53 (hsc). The problem was with not properly > set GPIO pin by DM/DTS in SPL. The GPIO was responsible for eMMC card > detect, so the SPL code after checking this got the impression that the > card is

Re: [U-Boot] [PATCH v2 1/3] sysreset: switch to using SYSRESET_POWER_OFF for poweroff

2019-05-20 Thread Patrick DELAUNAY
Hi Urja, > > It seems that SYSRESET_POWER_OFF was added recently, and all previous > code used SYSRESET_POWER for poweroff. SYSRESET_POWER is supposed > to be a PMIC-level power cycle, not a poweroff. > > Signed-off-by: Urja Rannikko Reviewed-by: Patrick Delaunay For information: complete

Re: [U-Boot] [PATCH v3 1/7] cmd: part: Add 'number' sub-command

2019-05-20 Thread Igor Opaniuk
+ Roman On Thu, Mar 21, 2019 at 5:42 PM Igor Opaniuk wrote: > > Hi Eugeniu, > > > On Mon, Mar 11, 2019 at 12:42 AM Eugeniu Rosca wrote: > > > > > > Hi Igor, > > > > On Mon, Feb 18, 2019 at 06:21:51PM +0200, Igor Opaniuk wrote: > > > From: Ruslan Trofymenko > > > > > > This sub-command serves

Re: [U-Boot] [PATCH v1 02/10] mmc: fsl_esdhc: annotate endifs

2019-05-20 Thread Igor Opaniuk
On Mon, May 20, 2019 at 3:46 AM Marcel Ziswiler wrote: > > Annotate endifs to make CONFIG_IS_ENABLED(DM_MMC) or not more obvious. > > Signed-off-by: Marcel Ziswiler > > --- > > drivers/mmc/fsl_esdhc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: [U-Boot] [PATCH] Makefile: Prioritize external dtb if defined

2019-05-20 Thread Tom Rini
On Sun, May 19, 2019 at 11:07:03AM -0700, Michal Simek wrote: > On 19. 05. 19 15:15, Marek Vasut wrote: > > On 5/20/19 12:08 AM, Tom Rini wrote: > >> On Mon, May 20, 2019 at 12:03:45AM +0200, Marek Vasut wrote: > >>> On 5/19/19 10:44 PM, Tom Rini wrote: > On Mon, Mar 25, 2019 at 03:55:16PM

Re: [U-Boot] Cannot boot mx6qsabred with 2019.07-rc2

2019-05-20 Thread Jagan Teki
On Mon, May 20, 2019 at 7:37 PM Fabio Estevam wrote: > > Hi Lukasz, > > On Fri, May 17, 2019 at 9:58 AM Lukasz Majewski wrote: > > > I had similar issue on imx53 (hsc). The problem was with not properly > > set GPIO pin by DM/DTS in SPL. The GPIO was responsible for eMMC card > > detect, so the

Re: [U-Boot] MMC boot broken on OMAP-L138 LCDK

2019-05-20 Thread Adam Ford
On Mon, May 20, 2019 at 7:38 AM Sekhar Nori wrote: > > On 20/05/19 5:55 PM, Adam Ford wrote: > > What about adding a memset function to the end of spl_board_init() so > > after arch_cpu_init() is called,and after preloader_consol_init() is > > called, we clear BSS? I ran some preliminary tests

Re: [U-Boot] [PATCH 1/3] sysreset: switch to using SYSRESET_POWER_OFF for poweroff

2019-05-20 Thread Patrick DELAUNAY
Hi Urja, > > Hi, > > On Thu, May 16, 2019 at 7:44 AM Patrick DELAUNAY > wrote: > > > > Hi Urja, > > > > > - if (type != SYSRESET_POWER) > > > + if (type != SYSRESET_POWER_OFF) > > > return -EPROTONOSUPPORT; > > > > In fact in the next part of the code, we are supporting

Re: [U-Boot] [PATCH v1 01/10] mmc: add missing space before comment delimiter

2019-05-20 Thread Igor Opaniuk
On Mon, May 20, 2019 at 3:45 AM Marcel Ziswiler wrote: > > Add missing space before a comment delimiter. > > Signed-off-by: Marcel Ziswiler > > --- > > drivers/mmc/mmc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c > index

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

2019-05-20 Thread Anatolij Gustschin
Hi Tom, please pull video updates for v2019.07-rc3. cx9020 DM_VIDEO migration and splash source patches have been submitted to the list before merge window for v2019.07 closed, so I'm including them with some video fixes here. Travis CI: https://travis-ci.org/vdsao/u-boot-video/builds/534729949

Re: [U-Boot] [PATCH v5 01/13] m68k: add basic set of devicetrees

2019-05-20 Thread Tom Rini
On Mon, May 20, 2019 at 10:58:26PM +0530, Jagan Teki wrote: > On Fri, Apr 26, 2019 at 8:57 PM Jagan Teki wrote: > > > > On Mon, Apr 22, 2019 at 7:36 PM Tom Rini wrote: > > > > > > On Fri, Apr 19, 2019 at 12:10:39PM +0530, Jagan Teki wrote: > > > > Hi Angelo, > > > > > > > > On Thu, Mar 14, 2019

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

2019-05-20 Thread Tom Rini
On Mon, May 20, 2019 at 09:59:13AM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the following Marvell related fix: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

Re: [U-Boot] Please pull from u-boot-i2c

2019-05-20 Thread Tom Rini
On Mon, May 20, 2019 at 11:55:01AM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c.git master > > The following changes since commit 5b4b680cfe29a67171ccbe439c66374cb31faca3: > > Prepare v2019.07-rc2 (2019-05-15 15:58:48 -0400) > > are available in the Git

Re: [U-Boot] RISC-V: Crashes with OpenSBI+U-Boot on the qemu "virt" machine

2019-05-20 Thread Björn Töpel
Waking this thread up, because I'm seeing similar behavior as Karsten -- i.e. the system hangs when launching init. Software: QEMU emulator version 4.0.50 (v4.0.0-576-g6d8e75d41c58) Linux kernel v5.2-rc1, defconfig OpenSBI commit 392749f6338a ("docs: Add documentation about dynamic firmware")

Re: [U-Boot] [PATCH v2 5/5] rockchip: rk3328: add rock64-rk3328_defconfig

2019-05-20 Thread Vagrant Cascadian
On 2019-05-20, Matwey V. Kornilov wrote: > пн, 20 мая 2019 г. в 20:11, Vagrant Cascadian : >> >> On 2019-05-19, Matwey V. Kornilov wrote: >> > The ROCK64 is a credit card size SBC based on Rockchip RK3328 >> > Quad-Core ARM Cortex A53. >> > >> > This series allow building u-boot SPL and u-boot.itb

[U-Boot] [PATCH v2] sun50i: a64: Fix broken A64-Teres-I board config

2019-05-20 Thread Jonas Smedegaard
Set CONFIG_SPL_TEXT_BASE in teres_i_defconfig, as required since commit f89d6133eef2 ("configs: move CONFIG_SPL_TEXT_BASE to Kconfig"). commit f89d6133eef2 ("configs: move CONFIG_SPL_TEXT_BASE to Kconfig") was accepted before commit 997b857ae31f ("sun50i: a64: Add Olimex A64-Teres-I board initial

Re: [U-Boot] [PATCH] sun50i: a64: Fix broken A64-Teres-I board config

2019-05-20 Thread Jonas Smedegaard
Quoting Jagan Teki (2019-05-20 19:02:52) > On Mon, May 20, 2019 at 10:03 PM Jagan Teki > wrote: > > > > Patchwork show empty while applying, please look into that. > > Anyway, I have created and applied this change. Oh, I saw this follow-up too late: Please ignore my re-post. Thanks for

Re: [U-Boot] [PATCH] sun50i: a64: Fix broken A64-Teres-I board config

2019-05-20 Thread Jagan Teki
On Mon, May 20, 2019 at 10:03 PM Jagan Teki wrote: > > Patchwork show empty while applying, please look into that. Anyway, I have created and applied this change. ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 0/4] fs: fat: fixes for write under root directory

2019-05-20 Thread Heinrich Schuchardt
On 5/13/19 7:49 AM, AKASHI Takahiro wrote: > This patch set contains three (independent) bug fixes relating to > write operations to root directory. See each commit message > for more details. > > Without those fixes, you may lose files that you created under root > directory or will see the file

Re: [U-Boot] [PATCH v2 5/5] rockchip: rk3328: add rock64-rk3328_defconfig

2019-05-20 Thread Vagrant Cascadian
On 2019-05-19, Matwey V. Kornilov wrote: > The ROCK64 is a credit card size SBC based on Rockchip RK3328 > Quad-Core ARM Cortex A53. > > This series allow building u-boot SPL and u-boot.itb for Rock64 > board. The proprietary TPL is stil required for deploy: > > ./tools/mkimage -n rk3328 -T rksd

[U-Boot] Pull request: u-boot-sunxi/master

2019-05-20 Thread Jagan Teki
Hi Tom, Please pull this PR. Summary: - H6 WDT reset fix (Clément) - H6 SPL_TEXT_BASE fixes (Clément, Jonas) - NPI-M1+ emac enablment (Emmanuel) The following changes since commit 5b4b680cfe29a67171ccbe439c66374cb31faca3: Prepare v2019.07-rc2 (2019-05-15 15:58:48 -0400) are available in the

[U-Boot] Pull request: u-boot-spi/master

2019-05-20 Thread Jagan Teki
Hi Tom, Please pull this PR. Summary: - mpc8xxx spi driver fixes (Mario) - mpc8xxx spi dm conversion (Mario, Jagan) - SPI DM Migration update (Jagan) The following changes since commit 748198cb8d32d41bc35e6f492bac9948f339bece: Revert "Makefile: Prioritize external dtb if defined" (2019-05-19

Re: [U-Boot] [PATCH v2 5/5] rockchip: rk3328: add rock64-rk3328_defconfig

2019-05-20 Thread Matwey V. Kornilov
пн, 20 мая 2019 г. в 20:11, Vagrant Cascadian : > > On 2019-05-19, Matwey V. Kornilov wrote: > > The ROCK64 is a credit card size SBC based on Rockchip RK3328 > > Quad-Core ARM Cortex A53. > > > > This series allow building u-boot SPL and u-boot.itb for Rock64 > > board. The proprietary TPL is

Re: [U-Boot] [PATCH v5 01/13] m68k: add basic set of devicetrees

2019-05-20 Thread Jagan Teki
On Fri, Apr 26, 2019 at 8:57 PM Jagan Teki wrote: > > On Mon, Apr 22, 2019 at 7:36 PM Tom Rini wrote: > > > > On Fri, Apr 19, 2019 at 12:10:39PM +0530, Jagan Teki wrote: > > > Hi Angelo, > > > > > > On Thu, Mar 14, 2019 at 2:17 AM Angelo Dureghello wrote: > > > > > > > > This patch adds a basic

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-20 Thread Sam Protsenko
Hi Eugeniu, On Mon, May 20, 2019 at 10:23 AM Eugeniu Rosca wrote: > > Hi Simon > cc: Sam, Igor, feel free to correct/augment anything of below > > On Sat, May 18, 2019 at 10:33:02AM -0600, Simon Glass wrote: > > Hi Eugeniu, > > > > On Fri, 17 May 2019 at 08:46, Eugeniu Rosca wrote: > > > > > >

Re: [U-Boot] [PATCH v2 2/3] spl: add relocation support【请注意,邮件由s...@google.com代发】

2019-05-20 Thread Simon Glass
Hi Andy, On Mon, 20 May 2019 at 00:34, Andy Yan wrote: > > Hi Simon: > > On 2019/5/19 上午12:26, Simon Glass wrote: > > Hi Andy, > > > > Instead of this could you: > > > > - move ATF? > > All rockchip based arm64 ATF run from the start 64KB of dram as this > will give convenient for kernel manage

Re: [U-Boot] [PATCH v2 0/8] fdt: Allow indicating a node is for U-Boot proper only

2019-05-20 Thread Simon Glass
Hi Patrick, On Mon, 20 May 2019 at 07:00, Patrick Delaunay wrote: > > > Hi, > > I create this v2 serie with: > > 1/ documentation update for previous patch >[U-Boot,v2] dm: remove pre reloc properties in SPL and TPL device tree >http://patchwork.ozlabs.org/patch/1081155/ > >PS: Code

Re: [U-Boot] [PATCH v2 1/8] sandbox: add config for SPL boot with devicetree

2019-05-20 Thread Simon Glass
Hi Patrick, On Mon, 20 May 2019 at 07:00, Patrick Delaunay wrote: > > Creates defconfig sandbox_spl_dtb_defconfig, same than > sandbox_spl_defconfig but without CONFIG_SPL_OF_PLATDATA; > to allow SPL compilation: > - OF_HOSTFILE is changed to OF_EMBED. What is this for? Each patch should have a

Re: [U-Boot] [PATCH v2 2/8] fdt: Allow to use EMBEDDED device tree for SPL

2019-05-20 Thread Simon Glass
Hi Patrick, On Mon, 20 May 2019 at 07:00, Patrick Delaunay wrote: > > U-boot continue to use load DT from file system, this patch avoid U-Boot > an error when U-Boot "Error: Out of memory" when it try to map > gd->fdt_blob (EMBEDDED pointer __dtb_dt_begin is not managed). What is EMBEDDED? Do

[U-Boot] [PATCH v4 2/2] net: eth-uclass: Support device tree MAC addresses

2019-05-20 Thread Thierry Reding
From: Thierry Reding Add the standard Ethernet device tree bindings (imported from v5.0 of the Linux kernel) and implement support for reading the MAC address for Ethernet devices in the Ethernet uclass. If the "mac-address" property exists, the MAC address will be parsed from that. If that

Re: [U-Boot] [PATCH v2 2/3] spl: add relocation support【请注意,邮件由s...@google.com代发】

2019-05-20 Thread Andre Przywara
On Mon, 20 May 2019 14:34:01 +0800 Andy Yan wrote: Hi, > On 2019/5/19 上午12:26, Simon Glass wrote: > > Hi Andy, > > > > Instead of this could you: > > > > - move ATF? > > All rockchip based arm64 ATF run from the start 64KB of dram as this > will give convenient for kernel manage the memory.

[U-Boot] [PATCH v4 1/2] net: eth-uclass: Write MAC address to hardware after probe

2019-05-20 Thread Thierry Reding
From: Thierry Reding In order for the device to use the proper MAC address, which can have been configured in the environment prior to the device being registered, ensure that the MAC address is written after the device has been probed. For devices that are registered before the network stack is

Re: [U-Boot] [PATCH v3 1/7] cmd: part: Add 'number' sub-command

2019-05-20 Thread Roman Stratiienko
Are there any updates of this patch? We need this functionality to retrieve UUID of the partition using it's name. But there are lot of commands that supports only partition index as an argument, so I assume it could be very useful there. This command can be also used alone can be used to find

Re: [U-Boot] [PATCH v2 8/8] dm: doc: add documentation for pre-reloc properties in SPL and TPL

2019-05-20 Thread Simon Glass
On Mon, 20 May 2019 at 07:00, Patrick Delaunay wrote: > > Add documentation for the pre-reloc property in SPL and TPL device-tree: > - u-boot,dm-pre-proper > - u-boot,dm-pre-reloc > - u-boot,dm-spl > - u-boot,dm-tpl > > Signed-off-by: Patrick Delaunay > Reviewed-by: Simon Glass > --- > >

Re: [U-Boot] [RFC 04/11] misc: fs_loader: Allow initializing blkdev using platform data

2019-05-20 Thread Chee, Tien Fong
On Thu, 2019-05-16 at 15:54 -0500, Andreas Dannenberg wrote: > To give us more flexibility using the FS loader eliminate the need of > always having to use the ENV to configure the block device but rather > allow the respective block device and partition to be setup through > platform data. > >

Re: [U-Boot] [PATCH v4 0/4] add command env erase

2019-05-20 Thread Frank Wunderlich
Hi, Just a friendly reminder. Any comments on my patches? Regards Frank Am 28. April 2019 10:51:24 MESZ schrieb Frank Wunderlich : >sometimes it is needed to erase the non-volatile environment >e.g. for boot-up with builtin-environment or after resizing env > >this series add basic

Re: [U-Boot] [PATCH 1/1] efi_loader: check device path in InstallMultipleProtocolInterfaces

2019-05-20 Thread Heinrich Schuchardt
On 5/16/19 9:59 PM, Heinrich Schuchardt wrote: > According to the UEFI spec InstallMultipleProtocolInterfaces() must check > if a device path has already been installed. In this case it must return > EFI_ALREADY_STARTED. > > Cf. UEFI SCT II 2.6 A (2017), > 3.3.16

[U-Boot] [PATCH] davinci: spl: Create board_init_f for explicit initialization

2019-05-20 Thread Adam Ford
The arch_cpu_init() and preloader_console_init() functions were not getting called until board_init_r() as part of the spl_board_init() functions. This patch explicitly moves these initialization sequences earlier in startup, and now clears BSS per the suggested workflow in the README. This also

Re: [U-Boot] [PATCH v2 1/2] include: android_bootloader_message.h: Minimize the diff to AOSP

2019-05-20 Thread Sam Protsenko
Reviewed-by: Sam Protsenko On Fri, May 17, 2019 at 5:46 PM Eugeniu Rosca wrote: > > Perform the following updates: > - Relocate the commit id from the file to the description of U-Boot >commit. The AOSP commit is c784ce50e8c10eaf70e1f97e24e8324aef45faf5. >This is done to avoid stale

[U-Boot] [PATCH 2/2] mips: mt76xx: gardena-smart-gateway: Enable CONFIG_USE_PREBOOT

2019-05-20 Thread Stefan Roese
Enable CONFIG_USE_PREBOOT on for the gardena mt7688 platforms, so that this feature can be used here. Signed-off-by: Stefan Roese Cc: Daniel Schwierzeck --- configs/gardena-smart-gateway-mt7688-ram_defconfig | 1 + configs/gardena-smart-gateway-mt7688_defconfig | 1 + 2 files changed, 2

  1   2   >