Re: [U-Boot] [PATCH] cmd: set filesize variable in ubi read

2017-09-12 Thread Heiko Schocher
Hello Holger, Am 31.08.2017 um 09:25 schrieb Heiko Schocher: Hello Holger, Am 30.08.2017 um 18:38 schrieb Holger Dengler: After a successful read of a UBI volume, the variable filesize is set to the number of read bytes. To boot linux with a raw initramfs/initrd, you must specify the exact

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

2017-09-12 Thread Dr. Philipp Tomsich
Hi Lukasz, > On 12 Sep 2017, at 10:14, Łukasz Majewski wrote: > > Hi Philipp, > > This patch series is waiting for opening new merge window. It is already > applied to usb-next tree. Didn’t the new merge window just open yesterday? Regards, Philipp. > >>> this patch

Re: [U-Boot] [PATCH] cmd: usb: check usb_stor_curr_dev in usb dev with no parameter

2017-09-12 Thread Patrick DELAUNAY
Hi Marek, > > On 08/03/2017 03:25 PM, Patrick DELAUNAY wrote: > > Hi Marek, > > Hi, > > please stop top-posting. > Sorry, bad habit > > Do think that this minor patch could be integrated in v2017.09 ? > > > > http://patchwork.ozlabs.org/patch/762328/ > > Fix up the commit message, detail

Re: [U-Boot] [PATCH v1] cmd: set filesize variable in ubi read

2017-09-12 Thread Heiko Schocher
Hello Holger, thanks for the fast fix! Hm... some nitpick: This is v2 not v1 ... seems patchwork has a problem, as your patch does not popup at: http://patchwork.ozlabs.org/project/uboot/list/?page=1 (or patchwork does work slowly today ...) Am 12.09.2017 um 09:58 schrieb Holger Dengler:

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

2017-09-12 Thread Philipp Tomsich
> this patch implement rockusb protocol on the device side. this is based on USB > download gadget infrastructure. the rockusb function implements the rd, wl, > rid > commands. it can work with rkdeveloptool > > Signed-off-by: Eddie Cai > Reviewed-by: Simon Glass

Re: [U-Boot] [U-Boot,2/3] rk3288: vyasa: Add falcon mode support

2017-09-12 Thread Philipp Tomsich
> From: Jagan Teki > > Add Falcon mode support in vyasa rk3288 board. > > Signed-off-by: Jagan Teki > Reviewed-by: Philipp Tomsich > --- > board/amarula/vyasa-rk3288/vyasa-rk3288.c | 13

Re: [U-Boot] [U-Boot, 1/4] rockchip: rk3399: move sdram driver to driver/ram

2017-09-12 Thread Philipp Tomsich
> Since we have CONFIG_RAM framwork and its driver folder, move the driver > into it. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3399/Makefile | 1 - > drivers/ram/rockchip/Makefile

Re: [U-Boot] [U-Boot,3/3] rk3288: spl: Add dram_init_banksize

2017-09-12 Thread Philipp Tomsich
> From: Jagan Teki > > Falcon mode, is updating DDR dt node configuration through > spl_fixup_fdt() so add appropriate DDR base and size through > dram_init_banksize. > > Signed-off-by: Jagan Teki > Reviewed-by: Philipp Tomsich

Re: [U-Boot] SPI NAND support

2017-09-12 Thread Suresh Gupta
Thanks Jagan for your response. NXP is coming up with SPI-NAND in their new SOCs/boards and we are in discussion that how we add this support in u-boot. Thanks SuresH > -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Tuesday, September 12, 2017 12:43

Re: [U-Boot] SPI NAND support

2017-09-12 Thread Jagan Teki
On Tue, Sep 12, 2017 at 10:56 AM, Suresh Gupta wrote: > Hi All, > > Do we have NAND support in SPI framework. Please provide me pointers so that > I analyze/understand that for my purpose. Currently not, we're working on driver-model based SPI Flash handling..that might be

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

2017-09-12 Thread Łukasz Majewski
Hi Philipp, This patch series is waiting for opening new merge window. It is already applied to usb-next tree. 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

Re: [U-Boot] [U-Boot, 2/4] rockchip: rk3188: move sdram driver to driver/ram

2017-09-12 Thread Philipp Tomsich
> Since we have CONFIG_RAM framwork and its driver folder, move the driver > into it. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3188/Makefile | 1 - > drivers/ram/rockchip/Makefile

Re: [U-Boot] [U-Boot, 2/4] rockchip: rk3188: move sdram driver to driver/ram

2017-09-12 Thread Philipp Tomsich
> Since we have CONFIG_RAM framwork and its driver folder, move the driver > into it. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3188/Makefile | 1 - > drivers/ram/rockchip/Makefile

Re: [U-Boot] [U-Boot, 3/4] rockchip: rk3288: move sdram driver to driver/ram

2017-09-12 Thread Philipp Tomsich
> Since we have CONFIG_RAM framwork and its driver folder, move the driver > into it. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3288/Makefile | 1 - > drivers/ram/rockchip/Makefile

Re: [U-Boot] [linux-sunxi] [PATCH v2 1/2] video: sunxi: extract simplefb match code to a new file

2017-09-12 Thread Andre Przywara
Hi Icenowy, thanks for sending this! On 11/09/17 16:54, Icenowy Zheng wrote: > As the DE2 simplefb setup code can also benefit from the simplefb match > code, extract it to a new source file. > > Signed-off-by: Icenowy Zheng > --- > drivers/video/sunxi/Makefile | 2

Re: [U-Boot] [U-Boot,v3] rk3288: Add Vyasa initial board support

2017-09-12 Thread Philipp Tomsich
> From: Jagan Teki > > This patch adds support for Vyasa RK3288 initial board > from Amarula Solutions. > > Boot from SDMMC: > --- > U-Boot SPL 2017.09-rc1-00111-g3656991-dirty (Aug 10 2017 - 11:40:45) > Trying to boot from MMC1 > > U-Boot

Re: [U-Boot] [U-Boot, 1/4] rockchip: rk3399: move sdram driver to driver/ram

2017-09-12 Thread Philipp Tomsich
> Since we have CONFIG_RAM framwork and its driver folder, move the driver > into it. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3399/Makefile | 1 - > drivers/ram/rockchip/Makefile

Re: [U-Boot] [U-Boot, 4/4] rockchip: rk3328: move sdram driver to driver/ram

2017-09-12 Thread Philipp Tomsich
> Since we have CONFIG_RAM framwork and its driver folder, move the driver > into it. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3328/Makefile | 1 - > drivers/ram/rockchip/Makefile

[U-Boot] [PATCH] ARM: socfpga: fix duplicate const specifier warning

2017-09-12 Thread Masahiro Yamada
GCC 7.1 warns: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] Signed-off-by: Masahiro Yamada --- arch/arm/mach-socfpga/misc_gen5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-socfpga/misc_gen5.c

[U-Boot] u-boot ubifsload & verify uImage

2017-09-12 Thread Johann Obermayr
Hello, we use ubifsload to load the uImage and start it with bootm Is there a way to verify the uImage file ? Sometime we have the problem, that uImage is corrupt (powerdown while update) Thanx Johann ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v2 2/2] sunxi: setup simplefb for Allwinner DE2

2017-09-12 Thread Maxime Ripard
Hi, On Mon, Sep 11, 2017 at 11:54:58PM +0800, Icenowy Zheng wrote: > diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h > index 1373b1f037..c240fe4403 100644 > --- a/include/configs/sunxi-common.h > +++ b/include/configs/sunxi-common.h > @@ -288,6 +288,10 @@ extern int

Re: [U-Boot] [RFC 1/1] efi_loader: fix building of helloworld.efi on x86_64

2017-09-12 Thread Heinrich Schuchardt
On 09/12/2017 05:00 AM, Bin Meng wrote: > Hi Heinrich, > > On Sun, Sep 10, 2017 at 4:55 PM, Heinrich Schuchardt > wrote: >> Variable EFI_LDS is set based on CONFIG_EFI_STUB_64BIT. >> It influences which lds script is used for compiling helloworld.efi. >> This results in

Re: [U-Boot] [U-Boot, 4/4] rockchip: rk3328: move sdram driver to driver/ram

2017-09-12 Thread Philipp Tomsich
> Since we have CONFIG_RAM framwork and its driver folder, move the driver > into it. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3328/Makefile | 1 - > drivers/ram/rockchip/Makefile

Re: [U-Boot] [U-Boot, 3/4] rockchip: rk3288: move sdram driver to driver/ram

2017-09-12 Thread Philipp Tomsich
> Since we have CONFIG_RAM framwork and its driver folder, move the driver > into it. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3288/Makefile | 1 - > drivers/ram/rockchip/Makefile

[U-Boot] [PATCH v3 2/3] video: add an option for video simplefb via DT

2017-09-12 Thread Icenowy Zheng
Add an option to indicate that the video driver should setup a SimpleFB node that passes the video framebuffer initialized by U-Boot to the operating system kernel. Currently only the Allwinner DE2 driver uses this option. Signed-off-by: Icenowy Zheng --- drivers/video/Kconfig

[U-Boot] [PATCH 3/3] nds32: ftmac100: Fix write mac addr fail problem.

2017-09-12 Thread Andes
From: rick After soft reset complete, write mac address immediately will fail. Add delay to work around this problem. Signed-off-by: rick --- drivers/net/ftmac100.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git

Re: [U-Boot] Compile failure encountered on latest (2017-07-20) git://git.denx.de/u-boot-usb.git branch master for target ls1021atwr_nor_defconfig

2017-09-12 Thread Bin Meng
Hi Ran, On Wed, Jul 26, 2017 at 3:58 PM, Ran Wang wrote: > Hi Bin > >> -Original Message- >> From: Bin Meng [mailto:bmeng...@gmail.com] >> Sent: Wednesday, July 26, 2017 3:56 PM >> To: Ran Wang >> Cc: Marek Vasut ; Patrice Chotard

[U-Boot] [PATCH V2] dm: gpio: Add DM compatibilty to GPIO driver for Davinci

2017-09-12 Thread Adam Ford
This adds DM compatibility for the davinici GPIO driver. Tested on da850-evm. Signed-off-by: Adam Ford --- V2: The bank calculation needs to take into account the size of the struct Whitespace fixes arch/arm/mach-davinci/include/mach/gpio.h | 14 +-

Re: [U-Boot] [PATCH v5 1/3] armv8:fsl-layerscape: Consolidate registers space defination for CCI-400 bus

2017-09-12 Thread York Sun
On 08/10/2017 10:39 PM, Ashish Kumar wrote: > CoreLink Cache Coherent Interconnect (CCI) is ARM BUS which > provides full cache coherency between two clusters of multi-core > CPUs and I/O coherency for devices and I/O masters. > > This patch add new CONFIG defination "SYS_FSL_HAS_CCI400" and >

[U-Boot] [PATCH 1/3] nds32: ftmac100: support cache enable.

2017-09-12 Thread Andes
From: rick Add cache inval and flush when rx and tx. Signed-off-by: rick --- drivers/net/ftmac100.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/ftmac100.c b/drivers/net/ftmac100.c index f231e6b..4e45f00 100644

Re: [U-Boot] [PATCH v3 5/5] spl: fit: Add booting OS first

2017-09-12 Thread York Sun
On 08/15/2017 11:15 AM, York Sun wrote: > If CONFIG_SPL_OS_BOOT is enabled, boot OS if kernel image is found > in FIT structure. > > Signed-off-by: York Sun > Reviewed-by: Tom Rini > > --- > This presums the kernel image doesn't exist in a FIT image

Re: [U-Boot] [PATCH v3 3/5] spl: fit: Eanble GZIP support for image decompression

2017-09-12 Thread York Sun
On 08/15/2017 11:15 AM, York Sun wrote: > Add Kconfig option SPL_GZIP and SPL_ZLIB to enable gunzip support for > SPL boot, eg. falcon boot compressed kernel image. > > Signed-off-by: York Sun > Reviewed-by: Tom Rini > > --- > > Changes in v3: > Replace

Re: [U-Boot] [PATCH] armv8: fsl-layerscape: Fix final MMU table for QSPI and IFC

2017-09-12 Thread York Sun
On 08/29/2017 06:42 AM, Suresh Gupta wrote: > For QSPI and IFC addresses execution shouldn't be allowed > when u-boot running from DDR. Revise the MMU final table > to enforce execute-never bits. > > Signed-off-by: Suresh Gupta > --- Applied to fsl-qoriq master. Thanks.

Re: [U-Boot] [PATCH v2 3/3] rockchip: evb-rk3399: update document for board bring up

2017-09-12 Thread Kever Yang
Hi Jagan, On 08/31/2017 02:13 PM, Jagan Teki wrote: Hi Kever, On Thu, Aug 31, 2017 at 6:37 AM, Kever Yang wrote: Hi Jagan, On 08/30/2017 11:10 PM, Jagan Teki wrote: + Philipp On Mon, Aug 21, 2017 at 6:30 PM, Kever Yang wrote:

[U-Boot] patman complains "ConfigParser.NoSectionError: No section: 'bounces'"

2017-09-12 Thread Bin Meng
Hi, With commit e11aa602abd3e8007dfd3ed23ebb829101abcfec: patman: add support for omitting bouncing addresses, running patman it complains: Traceback (most recent call last): File "./tools/patman/patman", line 18, in from patman import checkpatch, command, gitutil, patchstream, \ File

[U-Boot] [PATCH v5 0/9] board: atmel: Add new board SAMA5D27-SOM1-EK board.

2017-09-12 Thread Wenyou Yang
The SAMA5D27-SOM1-EK board embeds a SAMA5D27 SOM1 module, which includes a SAMA5D27-SiP chip and QSPI flash, Phy and MAC EEPROM. The SAMA5D27 SiP integrates the SAMA5D2 with 1Gbit DDR2-SDRAM in a single package. Changes in v5: - Rebase the u-boot/master (8a33cb8b6bd). - Drop the applied

[U-Boot] [PATCH v5 2/9] atmel: common: Add function to display via DM_VIDEO's API

2017-09-12 Thread Wenyou Yang
Add a function to display the company's logo and board information via the API from DM_VIDEO. This function can be shared by other atmel boards, so locate it in board/atmel/common folder. Signed-off-by: Wenyou Yang --- Changes in v5: None Changes in v4: None Changes

[U-Boot] [PATCH v5 3/9] ARM: at91: spl: Adjust switching to oscillator for SAMA5D2

2017-09-12 Thread Wenyou Yang
As said in 29.5.7 section of SAMA5D2 datasheet, before switching to the crystal oscillator, a check must be carried out to ensure that the oscillator is present and that its freqency is valid. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass ---

[U-Boot] [PATCH v3 0/3] Allwinner DE2 HDMI SimpleFB support

2017-09-12 Thread Icenowy Zheng
This patchset is for Allwinner DE2 HDMI SimpleFB support. The framebuffer initialized by the Allwinner DE2 driver can be passed by to the kernel as simplefb, and this can enable the kernel to display graphics without having full DE2 driver. Add the suppot of simplefb in DE2 code. The code to

Re: [U-Boot] [Patch v2] QE: Set QE_IRAM_READY after uploading firmware

2017-09-12 Thread York Sun
On 08/13/2017 07:39 PM, Zhao Qiang wrote: > QE_IRAM_READY should be set only after successfully uploading the > firmware. > > Signed-off-by: Zhao Qiang > --- > Changes for v2: > - modify commit msg to make it more understandable Applied to fsl-qoriq master. Thanks.

[U-Boot] [PATCH 2/3] nds32: ftmac100 support cache enable.

2017-09-12 Thread Andes
From: rick Enable cache and ftmac100 performance can be improved. Signed-off-by: rick --- arch/nds32/cpu/n1213/start.S | 29 - arch/nds32/include/asm/io.h | 21 + include/configs/adp-ae3xx.h |3

[U-Boot] [PATCH v3 1/3] video: sunxi: extract simplefb match code to a new file

2017-09-12 Thread Icenowy Zheng
As the DE2 simplefb setup code can also benefit from the simplefb match code, extract it to a new source file. Signed-off-by: Icenowy Zheng Reviewed-by: Andre Przywara --- Changes in v3: - Use /** to start kerndoc. drivers/video/sunxi/Makefile

[U-Boot] [PATCH v3 2/2] imx_common: detect USB serial downloader reliably

2017-09-12 Thread Stefan Agner
From: Stefan Agner The current mechanism using SCR/GPR registers work well when the serial downloader boot mode has been selected explicitly (either via boot mode pins or using bmode command). However, in case the system entered boot ROM due to unbootable primary boot

[U-Boot] [PATCH v3 1/2] imx: add macro to detect whether USB PHY is active

2017-09-12 Thread Stefan Agner
From: Stefan Agner This macro allows to detect whether the USB PHY is active. This is helpful to detect if the boot ROM has previously started the USB serial downloader. The idea is taken from the mfgtool support in the NXP U-Boot:

Re: [U-Boot] [PATCH v3 1/5] tools: pblimage: Fix address calculation

2017-09-12 Thread York Sun
On 08/15/2017 11:15 AM, York Sun wrote: > The image size should be added to the initial pbl command, not bit > "ORed". > > Signed-off-by: York Sun > --- > > Changes in v3: None > Changes in v2: None > Applied to fsl-qoriq master. York

Re: [U-Boot] [PATCH v3 4/5] spl: fit: Support both external and embedded data

2017-09-12 Thread York Sun
On 08/15/2017 11:15 AM, York Sun wrote: > SPL supports U-Boot image in FIT format which has data outside of > FIT structure. This adds support for embedded data for normal FIT > images. > > Signed-off-by: York Sun > Reviewed-by: Tom Rini > > --- > >

Re: [U-Boot] [RFC 1/1] efi_loader: fix building of helloworld.efi on x86_64

2017-09-12 Thread Heinrich Schuchardt
On 09/12/2017 03:24 PM, Bin Meng wrote: > Hi Heinrich, > > On Tue, Sep 12, 2017 at 4:18 PM, Heinrich Schuchardt > wrote: >> On 09/12/2017 05:00 AM, Bin Meng wrote: >>> Hi Heinrich, >>> >>> On Sun, Sep 10, 2017 at 4:55 PM, Heinrich Schuchardt >>> wrote:

Re: [U-Boot] [PATCH 01/10] rockchip: rk3399: make spl_board_init board-specific

2017-09-12 Thread Simon Glass
Hi Philipp, On 11 September 2017 at 05:59, Philipp Tomsich wrote: > > The later-stage spl_board_init (as opposed to board_init_f) should set > up board-specific details: these differ between the EVB-RK3399 and the > RK3399-Q7 (Puma). > > This moves

Re: [U-Boot] [PATCH 1/2] rockchip: clk: rk3399: add clk_enable function and support USB HOST0/1

2017-09-12 Thread Simon Glass
On 11 September 2017 at 09:29, Philipp Tomsich wrote: > The generic ehci-driver (ehci-generic.c) will try to enable the clocks > listed in the DTSI. If this fails (e.g. due to clk_enable not being > implemented in a driver and -ENOSYS being returned by the

Re: [U-Boot] [PATCH 1/3] rockchip: make boot_mode releated codes reused across all platforms

2017-09-12 Thread Simon Glass
On 12 September 2017 at 07:57, Andy Yan wrote: > setup_boot_mode function use the same logic but different > mode register address across all the rockchip platforms, > so it's better to make this function reused across all the > platforms, and let the mode register

Re: [U-Boot] [PATCH 04/10] rockchip: spl: support a 'same-as-spl'-specifier in the spl-boot-order

2017-09-12 Thread Simon Glass
On 11 September 2017 at 05:59, Philipp Tomsich wrote: > It is often desirable to configure the spl-boot-order (i.e. the order > that SPL probes devices to find the FIT image containing a full U-Boot) > such that it contains 'the same device the SPL stage was

Re: [U-Boot] [PATCH 09/10] power: spl: add SPL_DM_REGULATOR_FIXED in Kconfig

2017-09-12 Thread Simon Glass
On 11 September 2017 at 05:59, Philipp Tomsich wrote: > The Makefile already tests for SPL_DM_REGULATOR_FIXED, but Kconfig > does not provide it. This adds SPL_DM_REGULATOR_FIXED to Kconfig. > > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [PATCH] rockchip: enable TPL_SYSRESET for all rockchip SoCs

2017-09-12 Thread Simon Glass
On 12 September 2017 at 19:39, Kever Yang wrote: > With Makefiles testing for $(SPL_TPL_)SYSRESET, we need TPL_SYSRESET > for do_reset() in TPL for Rockchip SoCs. > > References: 87c16d4 "drivers: spl: consistently use the $(SPL_TPL_) > macro" > > Signed-off-by: Kever

Re: [U-Boot] [PATCH v5 4/9] ARM: at91: spl: Add mck function to lower rate while switching

2017-09-12 Thread Simon Glass
On 12 September 2017 at 20:10, Wenyou Yang wrote: > Refer to the commit 70f8c8316ad(PMC: add new mck function to lower > rate while switching) from AT91Bootstrap. > > While switching to a lower clock source, we must switch the clock > source first instead of last.

Re: [U-Boot] [PATCH 10/10] rockchip: defconfig: puma-rk3399: update for DM_REGULATOR support in SPL

2017-09-12 Thread Simon Glass
On 11 September 2017 at 05:59, Philipp Tomsich wrote: > The RK3399-Q7 requires DM regulator support in SPL, so we can use the > regulator framework to reenable the eMMC and SPI, if these had been > turned of by the BIOS_DISABLE signal. > > Signed-off-by:

Re: [U-Boot] [PATCH v2 03/14] usb: gadget: Move USBNET_HOST_ADDR to Kconfig

2017-09-12 Thread Simon Glass
On 12 September 2017 at 13:01, Maxime Ripard wrote: > While the USB Ethernet device address is already defined in Kconfig, the > host address isn't. Convert it. > > Signed-off-by: Maxime Ripard > --- >

Re: [U-Boot] [PATCH v5 9/9] board: atmel: Add SAMA5D27 SOM1 EK board

2017-09-12 Thread Simon Glass
On 12 September 2017 at 20:10, Wenyou Yang wrote: > From: Wenyou Yang > > The SAMA5D27-SiP (System in Package) integrates the SAMA5D2 > with 1Gbit DDR2-SDRAM in a single package. > > The SAMA5D27 SOM1 embeds a 64Mbit QSPI flash, KSZ8081 Phy and >

Re: [U-Boot] [RESEND PATCH 2/6] rockchip: xhci: Convert to livetree

2017-09-12 Thread Simon Glass
On 12 September 2017 at 09:32, Philipp Tomsich wrote: > Update the Rockchip xhci wrapper driver to support a live device tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/usb/host/xhci-rockchip.c | 4 +--- >

Re: [U-Boot] [PATCH 1/1] spl: u-boot-spl-nodtb.bin: remove .got and .got.plt sections

2017-09-12 Thread Bin Meng
Hi Heinrich, On Tue, Sep 12, 2017 at 8:50 AM, Heinrich Schuchardt wrote: > On 09/12/2017 01:19 AM, Dr. Philipp Tomsich wrote: >>> On 12 Sep 2017, at 00:40, Heinrich Schuchardt wrote: >>> >>> For qemu-x86_64_defconfig on Debian Stretch >>> ld 2.28 creates

[U-Boot] [PATCH v2] blk: Remove various places that do flush cache after read

2017-09-12 Thread Bin Meng
All these places seem to inherit the codes from the MMC driver where a FIXME was put in the comment. However the correct operation after read should be cache invalidate, not flush. The underlying drivers should be responsible for the cache operation. Remove these codes completely. Signed-off-by:

[U-Boot] [PATCH v2] cmd: blk: Use LBAFU in the common block command

2017-09-12 Thread Bin Meng
There is already a macro LBAFU to aid formatted print with lbaint_t variables. Let's use it in the common block command codes. Signed-off-by: Bin Meng --- Changes in v2: - rebase on top of u-boot/master cmd/blk_common.c | 10 -- 1 file changed, 4 insertions(+), 6

[U-Boot] Uboot send pull request

2017-09-12 Thread uboot
Hi Tom, Please pull the following patch from u-boot-nds32 into your tree. Thanks! The following changes since commit 8a33cb8b6bdf8a35f931fcc3d8aa15254cfc4b23: Merge git://git.denx.de/u-boot-fsl-qoriq (2017-09-12 12:02:50 -0400) are available in the git repository at:

[U-Boot] [PATCH v5 8/9] ARM: at91: Get the Chip ID of SAMA5D2 SiP

2017-09-12 Thread Wenyou Yang
From: Wenyou Yang The SAMA5D2 SiP(System in Package) has different Chip IDs in the CHIPID and CHIP_EXID registers. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in

[U-Boot] [PATCH v5 9/9] board: atmel: Add SAMA5D27 SOM1 EK board

2017-09-12 Thread Wenyou Yang
From: Wenyou Yang The SAMA5D27-SiP (System in Package) integrates the SAMA5D2 with 1Gbit DDR2-SDRAM in a single package. The SAMA5D27 SOM1 embeds a 64Mbit QSPI flash, KSZ8081 Phy and Mac-address EEPROM. Signed-off-by: Wenyou Yang --- Changes

[U-Boot] [PATCH v5 7/9] ARM: at91: mach: Add missing defines of MPDDRC

2017-09-12 Thread Wenyou Yang
Add missing defines of Multiport DDR-SDRAM Controller (MPDDRC). Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/mach-at91/include/mach/atmel_mpddrc.h

[U-Boot] [PATCH v5 4/9] ARM: at91: spl: Add mck function to lower rate while switching

2017-09-12 Thread Wenyou Yang
Refer to the commit 70f8c8316ad(PMC: add new mck function to lower rate while switching) from AT91Bootstrap. While switching to a lower clock source, we must switch the clock source first instead of last. Otherwise, we could end up with too high frequency on internal bus and peripherals. This

[U-Boot] [PATCH v5 5/9] board: sama5d2_xplained: Make SPL work on spiflash

2017-09-12 Thread Wenyou Yang
Because before switching to a lower clock source, we must switch the clock source first instead of last. So before configuring the PMC_MCKR register, invoke at91_mck_init_down() first. As said in datasheet, the the size of SPL must not exceed the maximum size allowed(64Kbytes). Signed-off-by:

Re: [U-Boot] [PATCH 1/3] armv8: ls1088a: fix the MMU table for pcie config space

2017-09-12 Thread York Sun
On 09/03/2017 08:05 PM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > The pcie config space of ls1088a is different from ls2080a. > > Signed-off-by: Hou Zhiqiang > --- Applied to fsl-qoriq master. Thanks. York

Re: [U-Boot] patman complains "ConfigParser.NoSectionError: No section: 'bounces'"

2017-09-12 Thread Simon Glass
+Tom Hi Bin, On 12 September 2017 at 19:53, Bin Meng wrote: > > Hi, > > With commit e11aa602abd3e8007dfd3ed23ebb829101abcfec: patman: add > support for omitting bouncing addresses, running patman it complains: > > Traceback (most recent call last): > File

Re: [U-Boot] [PATCH 05/10] rockchip: spl: rk3399: implement chip-specific board_spl_was_booted_from()

2017-09-12 Thread Simon Glass
On 11 September 2017 at 05:59, Philipp Tomsich wrote: > To support the new "same-as-spl" specifier in the boot-order on the > RK3399, this implements the chip-specific mapping from the information > obtainable from the BROM to a OF path name. > >

Re: [U-Boot] [PATCH 02/10] rockchip: bootrom: add definitions to retrieve BROM boot-source

2017-09-12 Thread Simon Glass
On 11 September 2017 at 05:59, Philipp Tomsich wrote: > The Rockchip BROM allows reading where it booted from from SRAM. > This adds the necessary definitions (as received from Kever) for > the location of this information in the RK3399's SRAM and naming >

Re: [U-Boot] [PATCH 06/10] rockchip: dts: rk3399-puma: add 'same-as-spl' to the front of the boot-order

2017-09-12 Thread Simon Glass
On 11 September 2017 at 05:59, Philipp Tomsich wrote: > In the general case, we want to continue booting the full U-Boot > (contained in a discoverable FIT image) from the same device the SPL > stage was loaded from. This prepends the 'same-as-spl'

Re: [U-Boot] [PATCH V2] dm: gpio: Add DM compatibilty to GPIO driver for Davinci

2017-09-12 Thread Simon Glass
Hi Adam, On 12 September 2017 at 21:28, Adam Ford wrote: > This adds DM compatibility for the davinici GPIO driver. > Tested on da850-evm. > > Signed-off-by: Adam Ford > --- > V2: The bank calculation needs to take into account the size of the struct >

Re: [U-Boot] [RESEND PATCH 2/2] rockchip: dts: rk3399-puma: replace 'rockchip, vbus-gpio' with fixed regulator

2017-09-12 Thread Simon Glass
On 12 September 2017 at 09:30, Philipp Tomsich wrote: > On the RK3399-Q7, we need to turn on the on-module USB hub before using the > USB host interfaces (only the OTG interface is directly connected to the edge > connector). This drops the deprecated

Re: [U-Boot] [PATCH] Convert CONFIG_EMIF4 et al to Kconfig

2017-09-12 Thread Simon Glass
On 12 September 2017 at 14:27, Adam Ford wrote: > This converts the following to Kconfig: >CONFIG_EMIF4 >CONFIG_SDRC > > Signed-off-by: Adam Ford > --- > arch/arm/mach-omap2/omap3/Kconfig | 15 +++ > configs/am3517_crane_defconfig|

Re: [U-Boot] [PATCH 07/10] rockchip: puma-rk3399: update board_init()

2017-09-12 Thread Simon Glass
On 11 September 2017 at 05:59, Philipp Tomsich wrote: > The original initialisation code for board_init() was largely lifted > from the code on the EVB. However, the RK3399-Q7 can do with a much > more concise init sequence. > > This cleans up the

Re: [U-Boot] [PATCH v2 02/14] usb: gadget: Document USBNET_DEVADDR

2017-09-12 Thread Simon Glass
On 12 September 2017 at 13:01, Maxime Ripard wrote: > Add an help about the USBNET_DEVADDR Kconfig option to make it clearer what > it's about. > > Signed-off-by: Maxime Ripard > --- > drivers/usb/gadget/Kconfig | 3 +++ > 1

Re: [U-Boot] [RESEND PATCH 1/6] rockchip: clk: rk3399: Convert to livetree

2017-09-12 Thread Simon Glass
On 12 September 2017 at 09:32, Philipp Tomsich wrote: > Update the clock driver for the RK3399 to support a live device tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/clk/rockchip/clk_rk3399.c | 4 ++-- >

Re: [U-Boot] [RESEND PATCH 3/6] rockchip: efuse: change to use dev_read_addr_ptr

2017-09-12 Thread Simon Glass
On 12 September 2017 at 09:32, Philipp Tomsich wrote: > With the dev_read_addr_ptr function available, we can change the > efuse driver to use it (and eliminate the explicit type-cast). > > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [PATCH v5 5/9] board: sama5d2_xplained: Make SPL work on spiflash

2017-09-12 Thread Simon Glass
On 12 September 2017 at 20:10, Wenyou Yang wrote: > Because before switching to a lower clock source, we must switch > the clock source first instead of last. So before configuring the > PMC_MCKR register, invoke at91_mck_init_down() first. > > As said in datasheet, the

Re: [U-Boot] [RESEND PATCH 4/6] usb: dwc2: convert to livetree

2017-09-12 Thread Simon Glass
On 12 September 2017 at 09:32, Philipp Tomsich wrote: > Update the DWC2 USB driver to support a live tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/usb/host/dwc2.c | 2 +- > 1 file changed, 1 insertion(+),

Re: [U-Boot] [PATCH 08/10] rockchip: rk3399-puma: add boot-on regulator to override BIOS_DISABLE

2017-09-12 Thread Simon Glass
On 11 September 2017 at 05:59, Philipp Tomsich wrote: > The (Qseven) BIOS_DISABLE signal on the RK3399-Q7 (Puma) keeps the > eMMC and SPI in reset initially and we need to write a GPIO to turn > them on before continuing the boot-up. > > This adds the DTS

Re: [U-Boot] [PATCH v2 04/14] usb: gadget: Convert USB_ETHER to Kconfig

2017-09-12 Thread Simon Glass
On 12 September 2017 at 13:01, Maxime Ripard wrote: > The USB Ethernet gadget option has not yet been moved to Kconfig, let's > deal with that. > > Signed-off-by: Maxime Ripard > --- > configs/am335x_baltos_defconfig |

Re: [U-Boot] [PATCH] fs/fat: fix fatbuf leak

2017-09-12 Thread Simon Glass
On 12 September 2017 at 14:40, Rob Clark wrote: > A new fatbuf was allocated by get_fs_info() (called by fat_itr_root()), > but not freed, resulting in eventually running out of memory. Spotted > by running 'ls -r' in a large FAT filesystem from Shell.efi. > > fatbuf is

Re: [U-Boot] [PATCH v5 08/10] fdtdec: sort include files

2017-09-12 Thread Simon Glass
Hi Jean-Jacques, On 12 September 2017 at 08:45, Jean-Jacques Hiblot wrote: > Sort include files in accordance to U-Boot coding style. > > Signed-off-by: Jean-Jacques Hiblot > --- > lib/fdtdec.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-)

Re: [U-Boot] [RESEND PATCH 1/2] rockchip: clk: rk3399: add clk_enable function and support USB HOST0/1

2017-09-12 Thread Simon Glass
On 12 September 2017 at 09:30, Philipp Tomsich wrote: > The generic ehci-driver (ehci-generic.c) will try to enable the clocks > listed in the DTSI. If this fails (e.g. due to clk_enable not being > implemented in a driver and -ENOSYS being returned by the

Re: [U-Boot] [PATCH 2/2] rockchip: dts: rk3399-puma: replace 'rockchip, vbus-gpio' with fixed regulator

2017-09-12 Thread Simon Glass
On 11 September 2017 at 09:29, Philipp Tomsich wrote: > On the RK3399-Q7, we need to turn on the on-module USB hub before using the > USB host interfaces (only the OTG interface is directly connected to the edge > connector). This drops the deprecated

Re: [U-Boot] [PATCH 2/3] rockchip: add support for backing to bootrom download mode

2017-09-12 Thread Simon Glass
Hi Andy, On 12 September 2017 at 07:57, Andy Yan wrote: > Rockchip bootrom will enter download mode if it returns from > spl/tpl with a none-zero value and couldn't find a valid image > in the backup partition. > This patch provide a method to instruct the system to back

Re: [U-Boot] [PATCH v5 1/9] lib: at91: Add logo files used via API of DM_VIDEO

2017-09-12 Thread Simon Glass
On 12 September 2017 at 20:10, Wenyou Yang wrote: > From: Wenyou Yang > > In order to display the company's logo via the API of DM_VIDEO, > and add the logo files of both Atmel and Microchip. > > Signed-off-by: Wenyou Yang

Re: [U-Boot] [RESEND PATCH 6/6] rockchip: defconfig: puma-rk3399: enable OF_LIVE (live tree)

2017-09-12 Thread Simon Glass
On 12 September 2017 at 09:32, Philipp Tomsich wrote: > With the critical drivers ready for switching to a live tree, we can > not enable it in the defconfig for the RK3399-Q7. > > Signed-off-by: Philipp Tomsich > ---

Re: [U-Boot] [PATCH 3/3] rockchip: check download key before bootup

2017-09-12 Thread Simon Glass
Hi Andy, On 12 September 2017 at 07:58, Andy Yan wrote: > Enter download mode if the download key pressed. > > Signed-off-by: Andy Yan > --- > > arch/arm/mach-rockchip/boot_mode.c | 27 ++- >

Re: [U-Boot] [PATCH v2 05/14] usb: gadget: usb_ether: Move the interfaces to Kconfig

2017-09-12 Thread Simon Glass
On 12 September 2017 at 13:01, Maxime Ripard wrote: > We need to select an interface for the usb_ether gadget, and they haven't > been converted to Kconfig yet. Add a choice to make sure we have an option > selected, and convert all the users. > > Signed-off-by:

Re: [U-Boot] [RESEND PATCH 5/6] usb: host: ehci-generic: convert to livetree

2017-09-12 Thread Simon Glass
On 12 September 2017 at 09:32, Philipp Tomsich wrote: > Update the generic EHCI driver to support a live tree. > > Signed-off-by: Philipp Tomsich > --- > > drivers/usb/host/ehci-generic.c | 2 +- > 1 file changed, 1

Re: [U-Boot] [PATCH] patman: Fix error when the email blacklist is missing

2017-09-12 Thread Chris Packham
On Wed, Sep 13, 2017 at 2:30 PM, Simon Glass wrote: > This section of the settings file may be missing. Handle that gracefully > rather than emitting an error. > > Also update patman to write this section when a new settings file is > created. > > Fixes: e11aa602 (patman: add

Re: [U-Boot] [PATCH] patman: Fix error when the email blacklist is missing

2017-09-12 Thread Bin Meng
On Wed, Sep 13, 2017 at 12:56 PM, Chris Packham wrote: > On Wed, Sep 13, 2017 at 2:30 PM, Simon Glass wrote: >> This section of the settings file may be missing. Handle that gracefully >> rather than emitting an error. >> >> Also update patman to write

Re: [U-Boot] [PATCH][v2]drivers:net:fsl-mc: Update MC address calculation

2017-09-12 Thread York Sun
On 08/24/2017 04:14 AM, Priyanka Jain wrote: > Update MC address calculation as per MC design requirement > of address as least significant 512MB address > of MC private allocated memory, i.e. address should point > to end address masked with 512MB offset in private DRAM block. > > Signed-off-by:

Re: [U-Boot] [U-Boot,v2,1/5] kbuild: Enable -fshort-wchar

2017-09-12 Thread Tom Rini
On Sat, Sep 09, 2017 at 06:47:39AM -0400, Rob Clark wrote: > EFI_LOADER really wants UTF-16 strings (ie. %ls and L"string" are 16bit > chars instead of 32bit chars). But rather than enabling -fshort-wchar > conditionally if EFI_LOADER is enabled, it was deemed preferrable to > globally switch. >

Re: [U-Boot] [U-Boot, 3/3] configs: k2g_evm: Remove PMMC loading environment commands

2017-09-12 Thread Tom Rini
On Mon, Jul 31, 2017 at 10:58:22AM -0500, Andrew F. Davis wrote: > The PMMC firmware should be bundled with the FIT image for HS devices, > remove the steps that load and install this firmware outside of FIT. > > Signed-off-by: Andrew F. Davis Applied to u-boot/master, thanks! --

Re: [U-Boot] [PATCH] armv8: fsl-lsch3: Make CCN-504 related code conditional

2017-09-12 Thread York Sun
On 08/17/2017 10:24 PM, Ashish Kumar wrote: > LS2080 family has CCN-504 cache coherent interconnet. > Other SoCs from LSCH3 may have differnt interconnect like > LS1088. > > Signed-off-by: Ashish Kumar > Signed-off-by: Prabhakar Kushwaha > ---

Re: [U-Boot] [PATCH] armv8: fsl: Use correct conditional compile for ls1012a

2017-09-12 Thread York Sun
On 08/27/2017 07:57 PM, Ran Wang wrote: > According current code base, CONFIG_LS1012A should be > CONFIG_ARCH_LS1012A, or function fsl_fdt_disable(blob) will be > wrongly called to disable all dwc3 USB nodes on LS1012A, which > cause Linux USB function stop working at all. > > Signed-off-by: Ran

  1   2   3   4   >