Re: [U-Boot] [PATCH 00/17] fs: fat: extend FAT write operations

2018-08-06 Thread Heinrich Schuchardt
On 07/23/2018 04:46 PM, Tom Rini wrote: > On Sun, Jul 22, 2018 at 08:44:39AM +0200, Heinrich Schuchardt wrote: >> Hello Tom, hello Alex, >> >> I have been testing the patches. They are working fine for ASCII file >> names. To support Unicode file names extra work will be needed. But >> probably we

Re: [U-Boot] MMC_DAVINCI not compliant with CONFIG_BLK

2018-08-06 Thread Adam Ford
On Mon, Aug 6, 2018, 5:21 PM Peter Howard wrote: > Hi Adam, > > My normal email is broken at the moment sorry for inflicting Outlook on > you ☹ > > > I've been working on this for a few weeks and at this stage I have a > u-boot that builds. The only problem is that introducing the DM into the >

Re: [U-Boot] MMC_DAVINCI not compliant with CONFIG_BLK

2018-08-06 Thread Adam Ford
On Mon, Aug 6, 2018, 5:22 PM Peter Howard wrote: > Sorry a clarification - my main focus is the LCDK board - it's that one > which has the 4K overrun. > > -Original Message- > From: Peter Howard > Sent: Tuesday, 7 August 2018 8:22 AM > To: 'Adam Ford' ; U-Boot Mailing List < > u-boot@list

Re: [U-Boot] MMC_DAVINCI not compliant with CONFIG_BLK

2018-08-06 Thread Adam Ford
On Mon, Aug 6, 2018, 6:30 PM Peter Howard wrote: > > > >From: Adam Ford > >Sent: Tuesday, 7 August 2018 9:12 AM > >To: Peter Howard > >Cc: U-Boot Mailing List ; David Lechner < > da...@lechnology.com>; Stefano Babic ; Heiko Schocher < > h...@denx.de>; Christoph Rüdisser ; > Manfred Rudigier >

Re: [U-Boot] [PATCH 2/5] arm: socfpga: fix device trees to work with DM serial

2018-08-06 Thread Emmanuel Vadot
On Mon, 6 Aug 2018 15:42:01 +0200 Simon Goldschmidt wrote: > Marek Vasut schrieb am Mo., 6. Aug. 2018, 15:19: > > > On 08/05/2018 09:34 PM, Simon Goldschmidt wrote: > > > Device trees need to have the serial console device available > > > before relocation and require a stdout-path in chosen at

[U-Boot] Can't boot my FIT image: 'Could not find configuration node'

2018-08-06 Thread Grant Jurgensen
Hi, I'm using U-boot to boot an ELF image. I am easily able to load the image into memory and boot it with the `bootelf` command. However, I'd like to create a FIT image in order to make use of the convenient hashing and secure boot features, but I'm having trouble getting my image to boot. Here

Re: [U-Boot] MMC_DAVINCI not compliant with CONFIG_BLK

2018-08-06 Thread Peter Howard
>From: Adam Ford >Sent: Tuesday, 7 August 2018 9:12 AM >To: Peter Howard >Cc: U-Boot Mailing List ; David Lechner >; Stefano Babic ; Heiko Schocher >; Christoph Rüdisser ; >Manfred Rudigier >Subject: Re: MMC_DAVINCI not compliant with CONFIG_BLK > > >> On Mon, Aug 6, 2018, 5:22 PM Peter Ho

Re: [U-Boot] MMC_DAVINCI not compliant with CONFIG_BLK

2018-08-06 Thread Peter Howard
Sorry a clarification - my main focus is the LCDK board - it's that one which has the 4K overrun. -Original Message- From: Peter Howard Sent: Tuesday, 7 August 2018 8:22 AM To: 'Adam Ford' ; U-Boot Mailing List Cc: David Lechner ; Stefano Babic ; Heiko Schocher ; Christoph Rüdisser ;

Re: [U-Boot] MMC_DAVINCI not compliant with CONFIG_BLK

2018-08-06 Thread Peter Howard
Hi Adam, My normal email is broken at the moment sorry for inflicting Outlook on you ☹ I've been working on this for a few weeks and at this stage I have a u-boot that builds. The only problem is that introducing the DM into the SPL build (for NAND) currently overruns the SRAM area by 4K or s

Re: [U-Boot] [PATCH v2 0/8] ARM: Odroid XU3: Enable DM_MMC support which is necessary for CONFIG_BLK

2018-08-06 Thread Minkyu Kang
Hi, 2018년 8월 1일 (수) 21:49, Lukasz Majewski 님이 작성: > This patch series provides following improvements to Odroid XU3: > - Fix sdr_timing problem with DW_MMC running with DM > - Clean up the defconfig file > - Fix potential memory leak when running under DM (DW_MMC) > - Rebase on newest ML > - Remo

Re: [U-Boot] [PATCH 1/3] arm: exynos4: fix warning of dts

2018-08-06 Thread Minkyu Kang
2018년 8월 2일 (목) 17:44, Minkyu Kang 님이 작성: > Hi, > > 2018년 7월 31일 (화) 21:58, Tom Rini 님이 작성: > >> On Tue, Jul 31, 2018 at 04:12:42PM +0900, Minkyu Kang wrote: >> >> > remove this warning: avoid_unnecessary_addr_size >> > >> > Signed-off-by: Minkyu Kang >> > --- >> > arch/arm/dts/exynos4210-pinctr

Re: [U-Boot] [PATCH 2/3] arm: exynos5: fix warning of dts

2018-08-06 Thread Minkyu Kang
2018년 7월 31일 (화) 16:14, Minkyu Kang 님이 작성: > remove this warning: avoid_unnecessary_addr_size > > Signed-off-by: Minkyu Kang > --- > arch/arm/dts/exynos5.dtsi | 2 -- > arch/arm/dts/exynos5250-pinctrl-uboot.dtsi | 4 > arch/arm/dts/exynos54xx-pinctrl-uboot.dtsi | 8

Re: [U-Boot] [PATCH 3/3] arm: spring: fix alias of mmc correctly

2018-08-06 Thread Minkyu Kang
2018년 7월 31일 (화) 16:14, Minkyu Kang 님이 작성: > Signed-off-by: Minkyu Kang > --- > arch/arm/dts/exynos5250-spring.dts | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/dts/exynos5250-spring.dts > b/arch/arm/dts/exynos5250-spring.dts > index b73b572..7633d36 100644 >

Re: [U-Boot] [PATCH 3/3] Remove includes and PRI* usages in printf() entirely

2018-08-06 Thread Masahiro Yamada
2018-08-06 22:20 GMT+09:00 Andy Shevchenko : > On Mon, Aug 6, 2018 at 2:47 PM, Masahiro Yamada > wrote: > >> The use of PRI* makes the code super-ugly. You can simply use >> "l" for printing uintptr_t, "ll" for u64, and no modifier for u32. > > This is not always the case. I dunno what exact usag

Re: [U-Boot] [PATCH 0/7] ARM: dts: sunxi: Update dts(i) files from

2018-08-06 Thread Chen-Yu Tsai
On Sun, Aug 5, 2018 at 3:10 AM, Jagan Teki wrote: > This series is trying to update SoC dtsi and board dts files > for Allwinner sun4i, 5i, 6i, 8i-a23/a33/a83t, r40 SoC's > from Linux-4.18-rc3 Could you also mention the tag in each patch's subject line? That would make it more informative. The a

Re: [U-Boot] [PATCHv2 2/2] Convert all of CONFIG_CONS_INDEX to Kconfig

2018-08-06 Thread Tom Rini
On Mon, Aug 06, 2018 at 08:22:31AM -0500, Adam Ford wrote: > On Tue, Mar 6, 2018 at 6:02 PM Tom Rini wrote: > > > > This converts the following to Kconfig: > >CONFIG_CONS_INDEX > > > > We have existing entries for this option in a number of places, with > > different guards on them. They're a

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

2018-08-06 Thread Stefan Roese
Hi Boris, On 06.08.2018 22:43, Boris Brezillon wrote: On Mon, 6 Aug 2018 19:45:24 +0200 Stefan Roese wrote: Hi Miquel, I just noticed that when using this patchset version, I'm getting oopses / crashes while trying to attach an MTD partition to UBI using "ubi part". This did not happen with

Re: [U-Boot] [PATCH 1/4] spi: spi-mem: Add optional half-duplex SPI transfer mode

2018-08-06 Thread Stefan Roese
Hi Boris, On 06.08.2018 21:53, Boris Brezillon wrote: Hi Stefan, On Mon, 6 Aug 2018 17:12:50 +0200 Stefan Roese wrote: Some SPI controller might now support full-duplex SPI transfers. This option can be enabled to use half-duplex operation mode for such SPI controllers. Signed-off-by: Stef

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

2018-08-06 Thread Stefan Roese
Hi Boris, On 06.08.2018 22:38, Boris Brezillon wrote: On Mon, 6 Aug 2018 17:12:52 +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 t

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

2018-08-06 Thread Stefan Roese
Hi Boris, On 06.08.2018 22:41, Boris Brezillon wrote: On Mon, 6 Aug 2018 17:12:53 +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 0x00

Re: [U-Boot] Can't boot my FIT image: 'Could not find configuration node'

2018-08-06 Thread Johann Neuhauser
Dear Grant, I see there is a typo in your kernel node name. In the image section you wrote kerne-0 and in the config section you wrote kernel = "kernel-0"; Probably this is the issue that no config and kernel image is found. Regards, Johann Neuhauser > -Ursprüngliche Nachricht- > Vo

Re: [U-Boot] [PATCH v3] drivers: spi: migrate cf_spi to DM

2018-08-06 Thread Jagan Teki
On Fri, Jun 29, 2018 at 1:18 AM, Angelo Dureghello wrote: > Hi Jagan, > > On Wed, Jun 27, 2018 at 02:54:42PM +0530, Jagan Teki wrote: >> On Wed, Jun 27, 2018 at 2:27 PM, Angelo Dureghello wrote: >> > Hi Jagan, >> > >> > On Wed, Jun 27, 2018 at 12:08:26PM +0530, Jagan Teki wrote: >> >> On Tue, Jun

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

2018-08-06 Thread Stefan Roese
Hi Boris, On 06.08.2018 22:06, Boris Brezillon wrote: Hi Stefan, On Mon, 6 Aug 2018 17:12:51 +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 cont

Re: [U-Boot] [PATCH 00/17] fs: fat: extend FAT write operations

2018-08-06 Thread AKASHI Takahiro
On Tue, Aug 07, 2018 at 12:34:28AM +0200, Heinrich Schuchardt wrote: > On 07/23/2018 04:46 PM, Tom Rini wrote: > > On Sun, Jul 22, 2018 at 08:44:39AM +0200, Heinrich Schuchardt wrote: > >> Hello Tom, hello Alex, > >> > >> I have been testing the patches. They are working fine for ASCII file > >> na

Re: [U-Boot] [PATCH 00/17] fs: fat: extend FAT write operations

2018-08-06 Thread AKASHI Takahiro
On Tue, Aug 07, 2018 at 02:38:34PM +0900, AKASHI Takahiro wrote: > On Tue, Aug 07, 2018 at 12:34:28AM +0200, Heinrich Schuchardt wrote: > > On 07/23/2018 04:46 PM, Tom Rini wrote: > > > On Sun, Jul 22, 2018 at 08:44:39AM +0200, Heinrich Schuchardt wrote: > > >> Hello Tom, hello Alex, > > >> > > >>

Re: [U-Boot] [PATCH 1/4] spi: spi-mem: Add optional half-duplex SPI transfer mode

2018-08-06 Thread Boris Brezillon
On Tue, 7 Aug 2018 07:06:58 +0200 Stefan Roese wrote: > Hi Boris, > > On 06.08.2018 21:53, Boris Brezillon wrote: > > Hi Stefan, > > > > On Mon, 6 Aug 2018 17:12:50 +0200 > > Stefan Roese wrote: > > > >> Some SPI controller might now support full-duplex SPI transfers. > >> This option can

Re: [U-Boot] [PATCH 00/17] fs: fat: extend FAT write operations

2018-08-06 Thread Heinrich Schuchardt
On 08/07/2018 07:38 AM, AKASHI Takahiro wrote: > On Tue, Aug 07, 2018 at 12:34:28AM +0200, Heinrich Schuchardt wrote: >> On 07/23/2018 04:46 PM, Tom Rini wrote: >>> On Sun, Jul 22, 2018 at 08:44:39AM +0200, Heinrich Schuchardt wrote: Hello Tom, hello Alex, I have been testing the pat

[U-Boot] [PATCH] spi: Add SPI driver for MT76xx SoCs

2018-08-06 Thread Stefan Roese
This patch adds the SPI driver for the MediaTek MT7688 SoC (and derivates). Its been tested on the LinkIt Smart 7688 and the Gardena Smart Gateway with and SPI NOR on CS0 and on the Gardena Smart Gateway additionally with an SPI NAND on CS1. Note that the SPI controller only supports a max transfe

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

2018-08-06 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 +- drivers/spi/ti

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

2018-08-06 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 +- drivers/spi/davinci_s

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

2018-08-06 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] [RESEND 1/3] imx: mx7: psci: add cpu hotplug support

2018-08-06 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 magi

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

2018-08-06 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 timing;

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

2018-08-06 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] Pull request: u-boot-staging

2018-08-06 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 bb694d4e8

<    1   2   3