Re: [U-Boot] [RESEND 1/3] imx: mx7: psci: add cpu hotplug support

2018-08-07 Thread Stefan Agner
On 08.08.2018 02:38, Anson Huang wrote: > Hi, Stefan > > Anson Huang > Best Regards! > > >> -Original Message- >> From: Stefan Agner [mailto:ste...@agner.ch] >> Sent: Tuesday, August 7, 2018 6:48 PM >> To: Anson Huang >> Cc: sba...@denx.de; Fabio Estevam ; >> albert.u.b...@aribaud.net;

Re: [U-Boot] [PATCH 04/11] spl: imx: Add optional lds to keep SPL entirely in on-chip RAM

2018-08-07 Thread Henry Beberman
Hi Stefano, > -Original Message- > From: Stefano Babic > Sent: Tuesday, August 7, 2018 5:17 AM > To: Henry Beberman ; u- > b...@lists.denx.de > Cc: Stefano Babic ; Fabio Estevam > > Subject: Re: [PATCH 04/11] spl: imx: Add optional lds to keep SPL entirely in > on-chip RAM > > Hi

Re: [U-Boot] [PATCH 01/11] imx: Add bootcmd to load and run UEFI from mmc

2018-08-07 Thread Henry Beberman
> -Original Message- > From: Alexander Graf > Sent: Tuesday, August 7, 2018 6:46 AM > To: Tom Rini > Cc: Stefano Babic ; Henry Beberman > ; u-boot@lists.denx.de; Fabio Estevam > > Subject: Re: [PATCH 01/11] imx: Add bootcmd to load and run UEFI from > mmc > > > > > Am 07.08.2018 um

Re: [U-Boot] [PATCH 3/4] arm: ls1021atwr: enable DM support for sata

2018-08-07 Thread York Sun
On 08/07/2018 06:52 PM, Peng Ma wrote: > Hi York, > > This patch depend on https://patchwork.ozlabs.org/patch/941093/ , I forgot to > write depend on. Could I add "depend on" in My patch at V3 or not? Do not send another version for this explanation. The patch set you depend on need to change.

Re: [U-Boot] [PATCH 3/3, v2] arm64: ls1043aqds: enable DM support for sata

2018-08-07 Thread Peng Ma
-Original Message- From: York Sun Sent: 2018年8月8日 10:00 To: Peng Ma Cc: albert.u.b...@aribaud.net; Mingkai Hu ; Pankaj Bansal ; Fabio Estevam ; Yinbo Zhu ; michal.si...@xilinx.com; s...@chromium.org; Andy Tang ; u-boot@lists.denx.de Subject: Re: [PATCH 3/3,v2] arm64: ls1043aqds:

Re: [U-Boot] [PATCH 3/3, v2] arm64: ls1043aqds: enable DM support for sata

2018-08-07 Thread York Sun
On 08/07/2018 06:51 PM, Peng Ma wrote: > Hi york, > > This patch depend on https://patchwork.ozlabs.org/patch/941093/ , At V2 > review I forgot to write depend on. Could I add "depend on" in My patch at V3 > or not? > Do not send another version just to explain the dependency, since I know it

Re: [U-Boot] [PATCH 3/4] arm: ls1021atwr: enable DM support for sata

2018-08-07 Thread Peng Ma
Hi York, This patch depend on https://patchwork.ozlabs.org/patch/941093/ , I forgot to write depend on. Could I add "depend on" in My patch at V3 or not? Best regards Peng Ma -Original Message- From: York Sun Sent: 2018年8月8日 5:49 To: Peng Ma Cc: albert.u.b...@aribaud.net;

Re: [U-Boot] [PATCH 3/3, v2] arm64: ls1043aqds: enable DM support for sata

2018-08-07 Thread Peng Ma
Hi york, This patch depend on https://patchwork.ozlabs.org/patch/941093/ , At V2 review I forgot to write depend on. Could I add "depend on" in My patch at V3 or not? Best regards Peng Ma -Original Message- From: York Sun Sent: 2018年8月8日 5:44 To: Peng Ma Cc:

Re: [U-Boot] [GIT PULL] Xilinx fixes for v2018.09-rc2

2018-08-07 Thread Tom Rini
On Tue, Aug 07, 2018 at 03:39:24PM +0200, Michal Simek wrote: > Hi Tom, > > please pull these fixes to your tree. > Buildman and travis are not showing any issue. > https://travis-ci.org/michalsimek/u-boot/builds/413020221 > > Thanks, > Michal > > The following changes since commit

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

2018-08-07 Thread Tom Rini
On Tue, Aug 07, 2018 at 03:10:27PM +0200, Stefan Roese wrote: > Hi Tom, > > I'm a bit late because of a longer week vacation from which I > just returned. Here my patch queue for the Marvell MVEBU SoC > family. > > Thanks, > Stefan > > > The following changes since commit

[U-Boot] [RESEND PATCH V2 3/3] imx: mx7: add system suspend/resume support

2018-08-07 Thread Anson Huang
This patch adds system suspend/resume support, when linux kernel enters deep sleep mode, SoC will go into below mode: - CA7 platform goes into STOP mode; - SoC goes into DSM mode; - DDR goes into self-refresh mode; - CPU0/SCU will be powered down. When wake up event arrives: - SoC DSM mdoe

[U-Boot] [RESEND PATCH V2 2/3] imx: mx7: add gpc initialization for low power mode

2018-08-07 Thread Anson Huang
Add i.MX7D GPC initialization for low power mode support like system suspend/resume from linux kernel: - Pending IOMUXC IRQ to workaround GPC state machine issue; - Mask all GPC interrupts for M4/C0/C1; - Configure SCU timing; - Configure time slot ack; - Configure C0/C1 power up/down

[U-Boot] [RESEND PATCH V2 1/3] imx: mx7: psci: improve cpu hotplug flow

2018-08-07 Thread Anson Huang
This patch improves cpu hotplug, previous cpu_off implementation is NOT safe, a CPU can NOT power down itself in runtime, it will cause system bus hang due to pending transaction. So need to use other online CPU to kill it when it is ready for killed. Here use SRC parameter register and a magic

Re: [U-Boot] [RESEND 3/3] imx: mx7: add system suspend/resume support

2018-08-07 Thread Anson Huang
Hi, Stefan Anson Huang Best Regards! > -Original Message- > From: Stefan Agner [mailto:ste...@agner.ch] > Sent: Tuesday, August 7, 2018 7:59 PM > To: Anson Huang > Cc: sba...@denx.de; Fabio Estevam ; > albert.u.b...@aribaud.net; bryan.odonog...@linaro.org; Stefan Agner > ; Peng Fan ; >

Re: [U-Boot] [RESEND 2/3] imx: mx7: add gpc initialization for low power mode

2018-08-07 Thread Anson Huang
Hi, Stefan Anson Huang Best Regards! > -Original Message- > From: Stefan Agner [mailto:ste...@agner.ch] > Sent: Tuesday, August 7, 2018 6:56 PM > To: Anson Huang > Cc: sba...@denx.de; Fabio Estevam ; > albert.u.b...@aribaud.net; bryan.odonog...@linaro.org; Stefan Agner > ; Peng Fan ; >

Re: [U-Boot] [RESEND 1/3] imx: mx7: psci: add cpu hotplug support

2018-08-07 Thread Anson Huang
Hi, Stefan Anson Huang Best Regards! > -Original Message- > From: Stefan Agner [mailto:ste...@agner.ch] > Sent: Tuesday, August 7, 2018 6:48 PM > To: Anson Huang > Cc: sba...@denx.de; Fabio Estevam ; > albert.u.b...@aribaud.net; bryan.odonog...@linaro.org; Stefan Agner > ; Peng Fan ; >

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

2018-08-07 Thread Minkyu Kang
Dear Tom, The following changes since commit 2547e91dc15e5203e15d4ebde9172174743b14a7: tegra: Indicate that binman makes all three output files (2018-07-26 15:49:40 -0400) are available in the git repository at: git://git.denx.de/u-boot-samsung master for you to fetch changes up to

Re: [U-Boot] [PATCH 1/1] distro_bootcmd: Switch bootefi to use loadaddr by default.

2018-08-07 Thread Alexander Graf
On 07.08.18 09:26, Kristian Amlie wrote: > On 07/08/18 00:06, Alexander Graf wrote: >> On 06.08.18 13:00, Kristian Amlie wrote: >>> Ping. Any objections to this change? >> >> I definitely don't want to have the bootefi path behave any different >> from the other distro boot targets. That would

Re: [U-Boot] [PATCH v4 1/8] armv8: enable BLK code configuration

2018-08-07 Thread York Sun
On 08/06/2018 12:15 AM, Yinbo Zhu wrote: > This patch is to enable BLK code configuration for SD boot. > > Signed-off-by: Yinbo Zhu > --- > Change in v4: > keep the same revision v4 for the entire set. > > include/mmc.h |2 +- > 1 files changed, 1 insertions(+), 1

Re: [U-Boot] [PATCH 1/1] mtd: nand: fsl_ifc: Fix handling of bitflips in erased pages

2018-08-07 Thread York Sun
On 08/02/2018 01:03 AM, Kurt Kanzenbach wrote: > From: Darwin Dingel > > This is a fix made for the fsl_ifc_nand driver on linux kernel by > Pavel Machek and is applied to uboot. It is currently on applied on > linux-mtd. > >

Re: [U-Boot] [PATCH 3/4] arm: ls1021atwr: enable DM support for sata

2018-08-07 Thread York Sun
On 07/31/2018 11:18 PM, Peng Ma wrote: > Enable related configs to support sata DM feature. > > Signed-off-by: Peng Ma > --- > configs/ls1021atwr_nor_defconfig |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/configs/ls1021atwr_nor_defconfig >

Re: [U-Boot] [PATCH 3/3, v2] arm64: ls1043aqds: enable DM support for sata

2018-08-07 Thread York Sun
On 07/31/2018 08:37 PM, Peng Ma wrote: > Enable related configs to support sata DM feature. > > Signed-off-by: Peng Ma > --- > v2: > -no changes > > configs/ls1043aqds_defconfig |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git

[U-Boot] [PATCH] net: sun8i_emac: Retrieve GMAC clock via 'syscon' phandle

2018-08-07 Thread Jagan Teki
Unlike other Allwinner SoC's R40 GMAC clock control register is locate in CCU, but rest located via syscon itself. Since the phandle property for current code look for 'syscon' and it will grab the respective ccu or syscon base address based on DT property defined in respective SoC dtsi. So, use

Re: [U-Boot] [PULL] efi patch queue 2018-07-25

2018-08-07 Thread Tom Rini
On Tue, Aug 07, 2018 at 11:12:31AM -0600, Simon Glass wrote: > Hi Tom, > > On 31 July 2018 at 02:19, Alexander Graf wrote: > > On 07/31/2018 03:36 AM, Tom Rini wrote: > >> > >> On Sat, Jul 28, 2018 at 11:55:08AM -0400, Tom Rini wrote: > >> > >>> On Wed, Jul 25, 2018 at 03:04:27PM +0200,

Re: [U-Boot] [PATCH] efi_loader: Rename sections to allow for implicit data

2018-08-07 Thread Alexander Graf
> Am 07.08.2018 um 18:12 schrieb Simon Glass : > > Hi Alex, > >> On 11 June 2018 at 23:48, Alexander Graf wrote: >> Some times gcc may generate data that is then used within code that may >> be part of an efi runtime section. That data could be jump tables, >> constants or strings. >> >> In

Re: [U-Boot] [PULL] efi patch queue 2018-07-25

2018-08-07 Thread Simon Glass
Hi Tom, On 31 July 2018 at 02:19, Alexander Graf wrote: > On 07/31/2018 03:36 AM, Tom Rini wrote: >> >> On Sat, Jul 28, 2018 at 11:55:08AM -0400, Tom Rini wrote: >> >>> On Wed, Jul 25, 2018 at 03:04:27PM +0200, Alexander Graf wrote: >>> Hi Tom, This is my current patch queue for

Re: [U-Boot] [PATCH] efi_loader: Rename sections to allow for implicit data

2018-08-07 Thread Simon Glass
Hi Alex, On 11 June 2018 at 23:48, Alexander Graf wrote: > Some times gcc may generate data that is then used within code that may > be part of an efi runtime section. That data could be jump tables, > constants or strings. > > In order to make sure we catch these, we need to ensure that gcc

Re: [U-Boot] [PATCH v3 15/21] sandbox: Update test.dts for dynamic PCI device driver matching

2018-08-07 Thread Simon Glass
On 3 August 2018 at 02:14, Bin Meng wrote: > At present we have two PCI buses in the test configuration. Both > buses have static device-tree config devices. Now we switch the > 2nd bus to use dynamic PCI devices for testing. > > Signed-off-by: Bin Meng > > --- > > Changes in v3: > - Describe

Re: [U-Boot] [GIT PULL] Xilinx fixes for v2018.09-rc2

2018-08-07 Thread Tom Rini
On Tue, Aug 07, 2018 at 05:58:17PM +0200, Michal Simek wrote: > On 7.8.2018 17:35, Tom Rini wrote: > > On Tue, Aug 07, 2018 at 03:39:24PM +0200, Michal Simek wrote: > > > >> Hi Tom, > >> > >> please pull these fixes to your tree. > >> Buildman and travis are not showing any issue. > >>

Re: [U-Boot] [GIT PULL] Xilinx fixes for v2018.09-rc2

2018-08-07 Thread Michal Simek
On 7.8.2018 17:35, Tom Rini wrote: > On Tue, Aug 07, 2018 at 03:39:24PM +0200, Michal Simek wrote: > >> Hi Tom, >> >> please pull these fixes to your tree. >> Buildman and travis are not showing any issue. >> https://travis-ci.org/michalsimek/u-boot/builds/413020221 >> >> Thanks, >> Michal >> >>

Re: [U-Boot] [PATCH 1/4] mips: Add basic MediaTek MT7620/88 support

2018-08-07 Thread Daniel Schwierzeck
2018-08-06 17:11 GMT+02:00 Stefan Roese : > This patch adds basic support for the MediaTek MT7620/88 SoCs. Parts of > the code is copied from the MediaTek GitHub repository: > > https://github.com/MediaTek-Labs/linkit-smart-uboot.git > > Support for the LinkIt Smart 7688 module and the Gardena

Re: [U-Boot] [GIT PULL] Xilinx fixes for v2018.09-rc2

2018-08-07 Thread Tom Rini
On Tue, Aug 07, 2018 at 03:39:24PM +0200, Michal Simek wrote: > Hi Tom, > > please pull these fixes to your tree. > Buildman and travis are not showing any issue. > https://travis-ci.org/michalsimek/u-boot/builds/413020221 > > Thanks, > Michal > > The following changes since commit

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

2018-08-07 Thread Tom Rini
On Tue, Aug 07, 2018 at 09:25:38AM +0200, Anatolij Gustschin wrote: > Hi Tom, > > The following changes since commit ae5afc37204e72ebe6e6844f70afff99db3bd910: > > .travis.yml: Exclude openrd platforms (2018-07-31 19:58:23 -0400) > > are available in the git repository at: > >

Re: [U-Boot] Pull request: u-boot-staging

2018-08-07 Thread Tom Rini
On Tue, Aug 07, 2018 at 08:56:31AM +0200, Anatolij Gustschin wrote: > Hi Tom, > > Please pull some reviewed power-domain and I2C patches. Heiko is on vacation > and Jaehoon didn't respond, so I'm pushing these through my staging branch. > These patches were submitted before merge window closed,

Re: [U-Boot] [PATCH 2/4] mips: Add arch/mips/include/asm/atomic.h

2018-08-07 Thread Daniel Schwierzeck
2018-08-06 17:11 GMT+02:00 Stefan Roese : > This is needed for the UBIFS support. The file is a copy of > arch/xtensa/include/asm/atomic.h could you try to import this file from Linux MIPS? Then we would have optimized functions. Other way would be to import include/asm-generic/atomic.h from

Re: [U-Boot] [PATCH 4/9] MIPS: use PRIx64 macros for printing ram size

2018-08-07 Thread Daniel Schwierzeck
2018-07-26 15:59 GMT+02:00 Philipp Tomsich : > With the recent changes of the underlying types for the ram size, we need > to adjust the formatting. Use PRIx64 to print the (now) u64 field. > > Signed-off-by: Philipp Tomsich > --- > > arch/mips/mach-bmips/dram.c | 2 +- > 1 file changed, 1

Re: [U-Boot] [PATCH v6 00/27] SPI-NAND support

2018-08-07 Thread Daniel Schwierzeck
2018-08-04 9:23 GMT+02:00 Miquel Raynal : > Hi Jagan, > > Jagan Teki wrote on Fri, 3 Aug 2018 > 17:38:33 +0530: > >> On Fri, Aug 3, 2018 at 3:20 PM, Jagan Teki >> wrote: >> > On Fri, Aug 3, 2018 at 1:57 PM, Miquel Raynal >> > wrote: >> >> Hi Jagan, Tom, >> >> >> >> Miquel Raynal wrote on

Re: [U-Boot] [PATCH v4 07/13] regmap: Add raw read/write functions

2018-08-07 Thread Daniel Schwierzeck
2018-08-07 9:36 GMT+02:00 Mario Six : > Hi Anatolij, > On Mon, Aug 6, 2018 at 9:12 PM Anatolij Gustschin wrote: >> >> Hi Mario, >> >> On Fri, 3 Aug 2018 10:01:12 +0200 >> Mario Six mario@gdsys.cc wrote: >> ... >> > +int regmap_raw_read(struct regmap *map, uint offset, void *valp, size_t >>

Re: [U-Boot] [PATCH] common: Increase LOGLEVEL back to 6

2018-08-07 Thread Tom Rini
On Tue, Aug 07, 2018 at 09:17:34AM -0400, Tom Rini wrote: > On Tue, Aug 07, 2018 at 01:37:34PM +0200, Wolfgang Denk wrote: > > Dear Tom, > > > > In message <20180807111435.GD29229@bill-the-cat> you wrote: > > > > > > > Its a "warn" and this should be visible to the user IMHO. One might > > > >

Re: [U-Boot] [PATCH 01/11] imx: Add bootcmd to load and run UEFI from mmc

2018-08-07 Thread Alexander Graf
> Am 07.08.2018 um 12:16 schrieb Tom Rini : > >> On Tue, Aug 07, 2018 at 01:11:11PM +0200, Stefano Babic wrote: >> Hi Henry, >> >>> On 14/07/2018 02:11, Henry Beberman wrote: >>> From: Henry Beberman >>> >>> This patch enables i.MX platforms to easily add a boot script to their >>> U-Boot

[U-Boot] [GIT PULL] Xilinx fixes for v2018.09-rc2

2018-08-07 Thread Michal Simek
Hi Tom, please pull these fixes to your tree. Buildman and travis are not showing any issue. https://travis-ci.org/michalsimek/u-boot/builds/413020221 Thanks, Michal The following changes since commit bb694d4e898b1368ba96e01481dc0a79c491e77c: Merge branch 'master' of

Re: [U-Boot] [PATCH 4/4 v2] cmd: mtd: Add info text to mtd erase subcommand

2018-08-07 Thread Stefan Roese
Hi Boris, On 07.08.2018 15:32, Boris Brezillon wrote: Hi Stefan, On Tue, 7 Aug 2018 14:16:55 +0200 Stefan Roese wrote: Adding this info helps seeing, what really is being erased - especially if no arguments are passed for offset and size. Now this is the output: => mtd erase spi-nand0

Re: [U-Boot] [PATCH 4/4 v2] cmd: mtd: Add info text to mtd erase subcommand

2018-08-07 Thread Boris Brezillon
Hi Stefan, On Tue, 7 Aug 2018 14:16:55 +0200 Stefan Roese wrote: > Adding this info helps seeing, what really is being erased - especially > if no arguments are passed for offset and size. Now this is the > output: > > => mtd erase spi-nand0 > Erasing 0x ... 0x07ff (1024

Re: [U-Boot] [PATCH 3/4 v2] cmd: mtd: Don't use with negative return codes for shell commands

2018-08-07 Thread Boris Brezillon
On Tue, 7 Aug 2018 14:16:54 +0200 Stefan Roese wrote: > When negative return codes are used in commands (do_foo()), the shell > prints these messages: > > exit not allowed from main input shell. > > Change the return codes in the new mtd commands to use only positive > values and these

Re: [U-Boot] [PATCH 1/4 v2] spi: spi-mem: Use 2 SPI messages instead of a single full-duplex one

2018-08-07 Thread Boris Brezillon
On Tue, 7 Aug 2018 14:16:52 +0200 Stefan Roese wrote: > Some SPI controller do not support full-duplex SPI transfers. This patch > changes the SPI transfer into 2 separate transfers - or 1, if no data is > to transmitted. > > With this change, no buffers need to be allocated anymore. We use

Re: [U-Boot] [PATCH] common: Increase LOGLEVEL back to 6

2018-08-07 Thread Tom Rini
On Tue, Aug 07, 2018 at 01:37:34PM +0200, Wolfgang Denk wrote: > Dear Tom, > > In message <20180807111435.GD29229@bill-the-cat> you wrote: > > > > > Its a "warn" and this should be visible to the user IMHO. One might > > > discuss, if an "info" or "notice" text should printed, but warnings > > >

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

2018-08-07 Thread Stefan Roese
Hi Tom, I'm a bit late because of a longer week vacation from which I just returned. Here my patch queue for the Marvell MVEBU SoC family. Thanks, Stefan The following changes since commit bb694d4e898b1368ba96e01481dc0a79c491e77c: Merge branch 'master' of git://git.denx.de/u-boot-spi

Re: [U-Boot] [PATCH 2/4 v2] cmd: mtd: Don't abort erase operation when a bad block is detected

2018-08-07 Thread Boris Brezillon
On Tue, 7 Aug 2018 14:16:53 +0200 Stefan Roese wrote: > It was noticed, that the erase command (mtd erase spi-nand0) aborts upon > the first bad block. With this change, bad blocks are now skipped and > the erase operation will continue. > > Signed-off-by: Stefan Roese > Cc: Miquel Raynal >

Re: [U-Boot] [PATCH v4] spi: davinci: Full dm conversion

2018-08-07 Thread Adam Ford
On Tue, Aug 7, 2018 at 1:30 AM Jagan Teki wrote: > > davinci_spi now support dt along with platform data, > respective boards need to switch into dm for the same. > > Cc: Adam Ford > Cc: Vitaly Andrianov > Cc: Stefano Babic > Cc: Peter Howard > Cc: Tom Rini > Signed-off-by: Jagan Teki > ---

Re: [U-Boot] [PATCH] arm: omap: configs: various: Remove references to OMAP34XX_UARTx

2018-08-07 Thread Derald Woods
On Tue, Aug 7, 2018, 7:28 AM Adam Ford wrote: > Two boards include a reference to ti_omap3_common.h which > points the UART driver to OMAP34XX_UARTx so the extra define > should be unnecessary. > A patch has already been submitted for OMAP3 EVM. Derald > > > Signed-off-by: Adam Ford > --- >

[U-Boot] [PATCH] arm: omap: configs: various: Remove references to OMAP34XX_UARTx

2018-08-07 Thread Adam Ford
Two boards include a reference to ti_omap3_common.h which points the UART driver to OMAP34XX_UARTx so the extra define should be unnecessary. Signed-off-by: Adam Ford --- include/configs/omap3_evm.h | 1 - include/configs/omap3_pandora.h | 1 - 2 files changed, 2 deletions(-) diff --git

[U-Boot] [PATCH 3/4 v2] cmd: mtd: Don't use with negative return codes for shell commands

2018-08-07 Thread Stefan Roese
When negative return codes are used in commands (do_foo()), the shell prints these messages: exit not allowed from main input shell. Change the return codes in the new mtd commands to use only positive values and these annoying warnings are gone. Signed-off-by: Stefan Roese Cc: Miquel Raynal

[U-Boot] [PATCH 4/4 v2] cmd: mtd: Add info text to mtd erase subcommand

2018-08-07 Thread Stefan Roese
Adding this info helps seeing, what really is being erased - especially if no arguments are passed for offset and size. Now this is the output: => mtd erase spi-nand0 Erasing 0x ... 0x07ff (1024 eraseblock(s)) nand: attempt to erase a bad/reserved block @600 nand: attempt to erase

Re: [U-Boot] [PATCH 04/11] spl: imx: Add optional lds to keep SPL entirely in on-chip RAM

2018-08-07 Thread Stefano Babic
Hi Henry, On 14/07/2018 02:11, Henry Beberman wrote: > From: Henry Beberman > > This patch is part of the i.MX Windows 10 IoT Core boot flow. > > It adds a modified linker script for SPL to keep all segments in > on-chip ram. This is to harden the device against potential leaks of > device

[U-Boot] [PATCH 2/4 v2] cmd: mtd: Don't abort erase operation when a bad block is detected

2018-08-07 Thread Stefan Roese
It was noticed, that the erase command (mtd erase spi-nand0) aborts upon the first bad block. With this change, bad blocks are now skipped and the erase operation will continue. Signed-off-by: Stefan Roese Cc: Miquel Raynal Cc: Boris Brezillon Cc: Jagan Teki --- v2: - Use an U-Boot "mtd"

[U-Boot] [PATCH 1/4 v2] spi: spi-mem: Use 2 SPI messages instead of a single full-duplex one

2018-08-07 Thread Stefan Roese
Some SPI controller do not support full-duplex SPI transfers. This patch changes the SPI transfer into 2 separate transfers - or 1, if no data is to transmitted. With this change, no buffers need to be allocated anymore. We use the TX and RX buffers that are passed to spi_mem_exec_op() directly.

[U-Boot] [PATCH] Removed unused references to CONFIG_SERIALx

2018-08-07 Thread Adam Ford
After creating CONS_INDEX and migrating a bunch of boards to it, there are a bunch of defined references to CONFIG_SERIALx which are not referenced in any C code or #ifdef, so they can now be removed Signed-off-by: Adam Ford --- include/configs/am3517_crane.h | 1 -

Re: [U-Boot] [RESEND 3/3] imx: mx7: add system suspend/resume support

2018-08-07 Thread Stefan Agner
On 07.08.2018 08:46, Anson Huang wrote: > This patch adds system suspend/resume support, > when linux kernel enters deep sleep mode, SoC will go > into below mode: > > - CA7 platform goes into STOP mode; > - SoC goes into DSM mode; > - DDR goes into self-refresh mode; > - CPU0/SCU will be

[U-Boot] [PATCH] image-fdt: reserve lmb for fdt

2018-08-07 Thread Andy Yan
Memory region for fdt should be reserved, or they may be allocated by other module via lmb_alloc. Then the fdt data will be destroy. We found a case on a board with 64MB DRAM like bellow: No ethernet found. Hit any key to stop autoboot: 0 ANDROID: reboot reason: "recovery" FDT load addr

Re: [U-Boot] [PATCH] common: Increase LOGLEVEL back to 6

2018-08-07 Thread Wolfgang Denk
Dear Tom, In message <20180807111435.GD29229@bill-the-cat> you wrote: > > > Its a "warn" and this should be visible to the user IMHO. One might > > discuss, if an "info" or "notice" text should printed, but warnings > > seem quite important (at least for my taste). Changing this to even ... >

Re: [U-Boot] [PATCH 01/11] imx: Add bootcmd to load and run UEFI from mmc

2018-08-07 Thread Tom Rini
On Tue, Aug 07, 2018 at 01:11:11PM +0200, Stefano Babic wrote: > Hi Henry, > > On 14/07/2018 02:11, Henry Beberman wrote: > > From: Henry Beberman > > > > This patch enables i.MX platforms to easily add a boot script to their > > U-Boot Proper environment to automatically load and execute an

Re: [U-Boot] [PATCH] common: Increase LOGLEVEL back to 6

2018-08-07 Thread Tom Rini
On Tue, Aug 07, 2018 at 12:18:04PM +0200, Stefan Roese wrote: > On 06.08.2018 20:52, Tom Rini wrote: > >On Mon, Aug 06, 2018 at 05:13:44PM +0200, Stefan Roese wrote: > > > >>Commit 6a3e65dea3e5 ("common: Drop LOGLEVEL to 4") reduced the loglevel > >>resulting in pr_warn() messages fro e.g. UBI are

Re: [U-Boot] [PATCH 01/11] imx: Add bootcmd to load and run UEFI from mmc

2018-08-07 Thread Stefano Babic
Hi Henry, On 14/07/2018 02:11, Henry Beberman wrote: > From: Henry Beberman > > This patch enables i.MX platforms to easily add a boot script to their > U-Boot Proper environment to automatically load and execute an EFI > firmware from the first FAT partition of an MMC device. > > This is a

Re: [U-Boot] [PATCH] ls1088ardb_pb: Add support for ls1088ardb_pb board.

2018-08-07 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Pramod > Kumar > Sent: Tuesday, August 7, 2018 12:52 PM > To: u-boot@lists.denx.de > Cc: Pramod Kumar > Subject: [U-Boot] [PATCH] ls1088ardb_pb: Add support for ls1088ardb_pb > board. > >

Re: [U-Boot] [RESEND 2/3] imx: mx7: add gpc initialization for low power mode

2018-08-07 Thread Stefan Agner
On 07.08.2018 08:46, Anson Huang wrote: > Add i.MX7D GPC initialization for low power mode > support like system suspend/resume from linux kernel: > > - Pending IOMUXC IRQ to workaround GPC state machine issue; > - Mask all GPC interrupts for M4/C0/C1; > - Configure SCU timing; > - Configure

Re: [U-Boot] [RESEND 1/3] imx: mx7: psci: add cpu hotplug support

2018-08-07 Thread Stefan Agner
Hi Anson, Thanks for this patchset, looking forward to have full suspend/resume for i.MX 7 in mainline! On 07.08.2018 08:46, Anson Huang wrote: > This patch adds cpu hotplug support, previous cpu_off > implementation is NOT safe, a CPU can NOT power down > itself in runtime, it will cause system

[U-Boot] [PATCH] ls1088ardb_pb: Add support for ls1088ardb_pb board.

2018-08-07 Thread Pramod Kumar
ls1088ardb-pb is another varinat of the ls1088ardb. This board support two m.2 x2 gen 3 pcie card slot. There is no support of sata,pcie standard slot, miniPCIE slot and TDM in this board Signed-off-by: Pramod Kumar --- arch/arm/Kconfig | 14 +++

Re: [U-Boot] [PATCH] common: Increase LOGLEVEL back to 6

2018-08-07 Thread Stefan Roese
On 06.08.2018 20:52, Tom Rini wrote: On Mon, Aug 06, 2018 at 05:13:44PM +0200, Stefan Roese wrote: Commit 6a3e65dea3e5 ("common: Drop LOGLEVEL to 4") reduced the loglevel resulting in pr_warn() messages fro e.g. UBI are not shown anymore. With this change back to 6, messages like this appear

[U-Boot] [PATCH 1/2] spi: add support for ARM PL022 SPI controller

2018-08-07 Thread Quentin Schulz
This adds support for the ARM PL022 SPI controller for the standard variant (0x00041022) which has a 16bit wide and 8 locations deep TX/RX FIFO. A few parts were borrowed from the Linux kernel driver. Cc: Armando Visconti Cc: Vipin Kumar Signed-off-by: Quentin Schulz --- Based on "[PATCH v6]

[U-Boot] [PATCH 2/2] arm: spear: enable SSP (SPI controllers) clocks when PL022 is enabled

2018-08-07 Thread Quentin Schulz
There are three separate clocks for each SSP (SPI) controller in the SoC. These SPI controllers are ARM PL022 controllers. Let's enable the clocks when support for PL022 SPI controller is enabled. Signed-off-by: Quentin Schulz --- arch/arm/cpu/arm926ejs/spear/cpu.c | 3 +++ 1 file changed, 3

Re: [U-Boot] [PATCH 1/1] riscv: allow native compilation

2018-08-07 Thread Rick Chen
> If environment variable CROSS_COMPILE is not set, this indicates native > compilation. In this case we should not set an arbitrary value which is not > applicable for 64bit anyway. > OK ! Thanks for your correction. B.R Rick > Signed-off-by: Heinrich Schuchardt > --- > arch/riscv/config.mk

Re: [U-Boot] [PATCH 1/1] distro_bootcmd: Switch bootefi to use loadaddr by default.

2018-08-07 Thread Kristian Amlie
On 07/08/18 00:06, Alexander Graf wrote: > On 06.08.18 13:00, Kristian Amlie wrote: >> Ping. Any objections to this change? > > I definitely don't want to have the bootefi path behave any different > from the other distro boot targets. That would just cause confusion down > the road. > > Do they

[U-Boot] [PATCH] spi: spi-mem: Use 2 SPI messages instead of a single full-duplex one

2018-08-07 Thread Stefan Roese
Some SPI controller do not support full-duplex SPI transfers. This patch changes the SPI transfer into 2 separate transfers - or 1, if no data is to transmitted. With this change, no buffers need to be allocated anymore. We use the TX and RX buffers that are passed to spi_mem_exec_op() directly.

Re: [U-Boot] [PATCH v4 07/13] regmap: Add raw read/write functions

2018-08-07 Thread Anatolij Gustschin
Hi Mario, On Tue, 7 Aug 2018 09:36:33 +0200 Mario Six mario@gdsys.cc wrote: ... > > this breaks building for MIPS: > > > > https://travis-ci.org/vdsao/u-boot-video/jobs/412722192#L869 > > > I see. MIPS apparently doesn't implement any of the in/out functions at all. > But since the

[U-Boot] [PATCH v3 2/3] configs: move RTC_MV config from mv-plug-common.h to boards

2018-08-07 Thread Chris Packham
To aid in migrating CONFIG_RTC_MV to Kconfig move the definition of it from mv-plug-common.h to the board config headers that nest it. Signed-off-by: Chris Packham --- Changes in v3: None Changes in v2: None include/configs/dreamplug.h | 4 include/configs/ds109.h | 4

[U-Boot] [PATCH v3 3/3] configs: kirkwood: Move RTC_MV to DM and Kconfig

2018-08-07 Thread Chris Packham
Now that there is DM support in the RTC_MV driver update board configs to use it. Signed-off-by: Chris Packham --- I haven't removed this from the whitelist because the nsa310s board lacks device-tree support. Once that board is converted the non-DM code can be removed from RTC_MV and the

[U-Boot] [PATCH v3 1/3] configs: kirkwood: ds109: switch to DM_I2C

2018-08-07 Thread Chris Packham
Enable DM_I2C and I2C_MVTSWI for the ds109 board. Signed-off-by: Chris Packham --- Changes in v3: None Changes in v2: - new configs/ds109_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/ds109_defconfig b/configs/ds109_defconfig index c9207433b374..fd10e6e3c36e 100644

Re: [U-Boot] [PATCH v4 01/13] test: regmap: Increase size of syscon0 memory

2018-08-07 Thread Mario Six
Hi Anatolij, On Mon, Aug 6, 2018 at 10:56 PM Anatolij Gustschin wrote: > > Hi Mario, > > On Fri, 3 Aug 2018 10:01:06 +0200 > Mario Six mario@gdsys.cc wrote: > ... > > diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts > > index e941cea3e5c..47cc961890f 100644 > > ---

Re: [U-Boot] [PATCH v4 07/13] regmap: Add raw read/write functions

2018-08-07 Thread Mario Six
Hi Anatolij, On Mon, Aug 6, 2018 at 9:12 PM Anatolij Gustschin wrote: > > Hi Mario, > > On Fri, 3 Aug 2018 10:01:12 +0200 > Mario Six mario@gdsys.cc wrote: > ... > > +int regmap_raw_read(struct regmap *map, uint offset, void *valp, size_t > > val_len) > > +{ > > + void *ptr; > > + > > +

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

2018-08-07 Thread Anatolij Gustschin
Hi Tom, The following changes since commit ae5afc37204e72ebe6e6844f70afff99db3bd910: .travis.yml: Exclude openrd platforms (2018-07-31 19:58:23 -0400) are available in the git repository at: git://git.denx.de/u-boot-video.git master for you to fetch changes up to

Re: [U-Boot] [RFC PATCH v2 3/6] dm: usb: Add UCLASS_USB_DEV_GENERIC shutdown

2018-08-07 Thread Jagan Teki
On Tue, Jul 24, 2018 at 5:18 AM, Simon Glass wrote: > Hi Jagan, > > On 20 July 2018 at 01:13, Jagan Teki wrote: >> Some OTG controllers which operates on Peripheral >> mode are registered as UCLASS_USB_DEV_GENERIC. >> >> So add support to shutdown them as well. shutdown >> happened during 'usb

[U-Boot] Pull request: u-boot-staging

2018-08-07 Thread Anatolij Gustschin
Hi Tom, Please pull some reviewed power-domain and I2C patches. Heiko is on vacation and Jaehoon didn't respond, so I'm pushing these through my staging branch. These patches were submitted before merge window closed, we need them for i.MX8QXP support. The following changes since commit

[U-Boot] [RESEND 3/3] imx: mx7: add system suspend/resume support

2018-08-07 Thread Anson Huang
This patch adds system suspend/resume support, when linux kernel enters deep sleep mode, SoC will go into below mode: - CA7 platform goes into STOP mode; - SoC goes into DSM mode; - DDR goes into self-refresh mode; - CPU0/SCU will be powered down. When wake up event arrives: - SoC DSM mdoe

[U-Boot] [RESEND 2/3] imx: mx7: add gpc initialization for low power mode

2018-08-07 Thread Anson Huang
Add i.MX7D GPC initialization for low power mode support like system suspend/resume from linux kernel: - Pending IOMUXC IRQ to workaround GPC state machine issue; - Mask all GPC interrupts for M4/C0/C1; - Configure SCU timing; - Configure time slot ack; - Configure C0/C1 power up/down

[U-Boot] [RESEND 1/3] imx: mx7: psci: add cpu hotplug support

2018-08-07 Thread Anson Huang
This patch adds cpu hotplug support, previous cpu_off implementation is NOT safe, a CPU can NOT power down itself in runtime, it will cause system bus hang due to pending transaction. So need to use other online CPU to kill it when it is ready for killed. Here use SRC parameter register and a

[U-Boot] [PATCH v4] spi: davinci: Full dm conversion

2018-08-07 Thread Jagan Teki
davinci_spi now support dt along with platform data, respective boards need to switch into dm for the same. Cc: Adam Ford Cc: Vitaly Andrianov Cc: Stefano Babic Cc: Peter Howard Cc: Tom Rini Signed-off-by: Jagan Teki --- Changes for v4, v3, v2: - rebased to master drivers/spi/Kconfig

[U-Boot] [PATCH] spi: davinci: Full dm conversion

2018-08-07 Thread Jagan Teki
davinci_spi now support dt along with platform data, respective boards need to switch into dm for the same. Cc: Adam Ford Cc: Vitaly Andrianov Cc: Stefano Babic Cc: Peter Howard Cc: Tom Rini Signed-off-by: Jagan Teki --- drivers/spi/Kconfig| 12 +-

[U-Boot] [PATCH v4] spi: ti_qspi: Full dm conversion

2018-08-07 Thread Jagan Teki
ti_qspi now support dt along with platform data, respective boards need to switch into dm for the same. Cc: Tom Rini Cc: Vitaly Andrianov Cc: Peter Howard Signed-off-by: Jagan Teki --- Changes for v2, v3, v4: - rebased to master drivers/spi/Kconfig| 12 +-