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 a starting point to ad

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 siz

[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 https

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 w

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 so

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 building helloworld.efi f

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: Afte

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 a

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 implement rockusb proto

[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 b/arch/arm/mach-socfpga/misc_gen5.c ind

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

2017-09-12 Thread icenowy
在 2017-09-12 16:18,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 @@

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 2017.09-rc1-00111-g3656991-dirty (Aug 10 20

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 > --- > arch/arm/mach-rockchip/rk3288-board-spl.c | 17 ++

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 > > Changes in v9:

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 + > include/configs/vyasa-rk3288.h| 17 + > 2 files changed, 30 in

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 | 1 + > {arch/arm

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 | 1 + > {arch/arm

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 | 1 + > {arch/arm

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 | 1 + > {arch/arm

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 | 1 + > {arch/arm

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 | 1 + > {arch/arm

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 | 1 + > {arch/arm

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 | 1 + > {arch/arm

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

2017-09-12 Thread Heiko Schocher
Hello Johann, Am 12.09.2017 um 10:06 schrieb 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) bootm should check before booting the kerne

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

2017-09-12 Thread Łukasz Majewski
Hi Dr. Philipp, 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? I'm sure Marek will send PR shortly. Regards, P

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

2017-09-12 Thread Dr. Philipp Tomsich
Jagan, please revise — after applying this patch, the build fails with: >arm: + vyasa-rk3288 > +cmd/built-in.o: In function `do_usb_mass_storage': > +cmd/usb_mass_storage.c:164: undefined reference to `board_usb_init' > +cmd/usb_mass_storage.c:170: undefined ref

[U-Boot] [PATCH v2] cmd: usb: add check on usb_stor_curr_dev in usb dev command

2017-09-12 Thread Patrick Delaunay
If the command 'usb start' is successfully executed but U-Boot don't found a storage device (usb_stor_curr_dev stay to -1) the next command 'usb dev' without parameter leads to data abort after the message "USB device -1" The added check on usb_stor_curr_dev avoid the issue. Signed-off-by: Patric

Re: [U-Boot] [U-Boot, v4, 3/4] usb: dwc3: add support for 16 bit UTMI+ interface

2017-09-12 Thread Dr. Philipp Tomsich
Marek, do you know whether there's an update of the DWC3 driver planned to get us back in sync with the kernel driver? Thanks, Philipp. > On 12 Sep 2017, at 07:02, Kever Yang wrote: > > Philipp, > >I believe there are some request I think is not reasonable which stop me > from update n

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 +- > drivers/vide

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 PM

Re: [U-Boot] [PATCH v2] cmd: usb: add check on usb_stor_curr_dev in usb dev command

2017-09-12 Thread Patrick DELAUNAY
Hi Marek, > Subject: [PATCH v2] cmd: usb: add check on usb_stor_curr_dev in usb dev > command > > If the command 'usb start' is successfully executed but U-Boot don't found a > storage device (usb_stor_curr_dev stay to -1) the next command 'usb dev' > without parameter leads to data abort after

Re: [U-Boot] [PATCH v2] i2c: muxes: pca954x: Add support for GPIO reset line

2017-09-12 Thread Heiko Schocher
Hallo Moritz, Am 12.09.2017 um 06:27 schrieb Heiko Schocher: Hello Moritz, Am 11.09.2017 um 20:19 schrieb Moritz Fischer: This commit adds support for GPIO reset lines matching the common linux "reset-gpios" devicetree binding. Signed-off-by: Moritz Fischer --- Changes from v1: - Simon's fe

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

2017-09-12 Thread Alexander Graf
On 12.09.17 10:18, 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: Variable EFI_LDS is set based on CONFIG_EFI_STUB_64BIT. It influences which lds script is used for compiling helloworld.efi. This re

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

2017-09-12 Thread Johann Obermayr
Hello Heiko, Thank you very much. I think iminfo is the one I've been looking for Regards Johann -Ursprüngliche Nachricht- Von: Heiko Schocher [mailto:h...@denx.de] Gesendet: Dienstag, 12. September 2017 10:43 An: Johann Obermayr Cc: U-Boot Mailing List Betreff: Re: [U-Boot] u-boot

Re: [U-Boot] [U-Boot, v4, 3/4] usb: dwc3: add support for 16 bit UTMI+ interface

2017-09-12 Thread Marek Vasut
On 09/12/2017 11:09 AM, Dr. Philipp Tomsich wrote: > Marek, > > do you know whether there's an update of the DWC3 driver planned to get us > back in sync with the kernel driver? To my knowledge, no. Patches welcome. btw please stop top-posting > Thanks, > Philipp. > > >> On 12 Sep 2017, at 0

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

2017-09-12 Thread Marek Vasut
On 09/12/2017 10:23 AM, Masahiro Yamada wrote: > 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/ar

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

2017-09-12 Thread Holger Dengler
Hi Heiko, sorry, my fault. I missed, that the function has been renamed. I'll resend the patch. On 09/12/2017 09:35 AM, Heiko Schocher wrote: > 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 succ

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

2017-09-12 Thread 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 size of the initramfs/initrd image in boot command. If the initramfs/inird is read from UBI volume, $filesize is required to acces

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

2017-09-12 Thread 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 size of the initramfs/initrd image in boot command. If the initramfs/inird is read from UBI volume, $filesize is required to acces

Re: [U-Boot] [U-Boot, v4, 3/4] usb: dwc3: add support for 16 bit UTMI+ interface

2017-09-12 Thread Dr. Philipp Tomsich
Kever, > On 12 Sep 2017, at 12:22, Marek Vasut wrote: > > On 09/12/2017 11:09 AM, Dr. Philipp Tomsich wrote: >> Marek, >> >> do you know whether there's an update of the DWC3 driver planned to get us >> back in sync with the kernel driver? > > To my knowledge, no. Patches welcome. Could you

Re: [U-Boot] [PATCH v3 2/2] dm: test: replace dm_scan_dt() by of dm_extended_scan_fdt() in dm_do_test

2017-09-12 Thread sjg
On 4 September 2017 at 06:55, wrote: > From: Patrice Chotard > > This allows to scan the DT including all "clocks" node's sub-nodes > in which fixed-clock are defined. > All fixed-clock should be defined inside a clocks node which collect all > external oscillators. Until now, all clocks sub-nod

Re: [U-Boot] [PATCH v3] patman: add support for omitting bouncing addresses

2017-09-12 Thread sjg
> On 1 Sep 2017, at 10:57, Chris Packham wrote: > > Add support for reading a list of bouncing addresses from a in-tree file > (doc/bounces) and from the ~/.patman config file. These addresses are > stripped from the Cc list. > > Signed-off-by: Chris Packham > Reviewed-by: Simon Glass Reviewed-

Re: [U-Boot] [PATCH v3 1/2] dm: core: add clocks node scan

2017-09-12 Thread sjg
On 4 September 2017 at 06:55, wrote: > From: Patrice Chotard > > Currently, all fixed-clock declared in "clocks" node in device tree > can be binded by clk_fixed_rate.c driver only if each of them have > the "simple-bus" compatible string. > This constraint has been invoked here [1]. > > This pa

Re: [U-Boot] [U-Boot, v3, 01/19] bootstage: adjust Makefile to allow including bootstage in SPL, but not in TPL

2017-09-12 Thread Philipp Tomsich
> For timing our bootstages on the RK3368, which has a minimal TPL > (and where we consequently don't want to time the bootstages) and a > full-featured SPL (where we can bootstage recording), we need to > adjust the Makefile. > > Use the $(SPL_TPL_) macro in the Makefile for bootstage.o > > Sign

Re: [U-Boot] [U-Boot, v2, 1/2] rockchip: board: lion_rk3368: update README flash instructions

2017-09-12 Thread Philipp Tomsich
> Add a section to the README on how to flash the on-board eMMC > with the rkdeveloptool. > > Signed-off-by: Klaus Goger > Signed-off-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > Acked-by: Philipp Tomsich > --- > > Changes in v2: None > > board/theobroma-systems/lion_rk3368/README |

Re: [U-Boot] [U-Boot,v3,04/19] dm: core: add dev_read_addr_ptr()

2017-09-12 Thread Philipp Tomsich
> The dev_read_addr_ptr() mimics the behaviour of the devfdt_get_addr_ptr(), > retrieving the first address of the node's reg-property and returning > it as a pointer (or NULL on failure). > > Signed-off-by: Philipp Tomsich > Acked-by: Philipp Tomsich > --- > > Changes in v3: None > Changes in

Re: [U-Boot] [U-Boot, v3, 09/19] rockchip: timer: Convert to livetree

2017-09-12 Thread Philipp Tomsich
> Update the Rockchip timer driver to support a live device tree. > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > --- > > Changes in v3: None > Changes in v2: > - use the new dev_read_addr_ptr() function > - improve error handling, in case dev_read_a

Re: [U-Boot] [U-Boot, v3, 03/19] dm: timer: handle being called before dm_root is ready

2017-09-12 Thread Philipp Tomsich
> When used with bootstage recording, dm_timer_init may be called > surprisingly early: i.e. before dm_root is ready. To deal with > this case, we explicitly check for this condition and return > -EAGAIN to the caller (refer to drivers/timer/rockchip_timer.c > for a case where this is needed/used).

Re: [U-Boot] [U-Boot, v3, 06/19] net: phy: micrel: Convert to livetree

2017-09-12 Thread Philipp Tomsich
> Update the Micrel KSZ90x1 driver for a live tree. > > Signed-off-by: Philipp Tomsich > Acked-by: Joe Hershberger > Reviewed-by: Simon Glass > --- > > Changes in v3: > - added Joe's Acked-by: tag (which I had lost) > > Changes in v2: None > > drivers/net/phy/micrel_ksz90x1.c | 5 ++--- > 1

Re: [U-Boot] [PATCH 2/2] sandbox: Convert SANDBOX_BITS_PER_LONG to Kconfig

2017-09-12 Thread sjg
Hi Bin, On 13 August 2017 at 19:26, Bin Meng wrote: > Hi Simon, > > On Sun, Aug 13, 2017 at 11:35 PM, Simon Glass wrote: >> Hi Bin, >> >> On 6 August 2017 at 03:13, Bin Meng wrote: >>> Hi Simon, >>> >>> On Sun, Aug 6, 2017 at 1:16 PM, Simon Glass wrote: Hi Bin, On 3 August 2017

Re: [U-Boot] [U-Boot,v3,07/19] rockchip: mmc: convert to livetree

2017-09-12 Thread Philipp Tomsich
> Update the Rockchip-specific wrapper for the Designware driver to > support a live device tree. > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > > Version-changes: 2 > - use the dev_read_addr_ptr function in rockchip_dw_mmc.c > --- > > Changes in v

Re: [U-Boot] [PATCH] moveconfig: Use fd.write() instead of print >>

2017-09-12 Thread sjg
Adjust this code so that it can work with Python 2 and 3. Fixes: d73fcb1 (moveconfig: Support building a simple config database) Reported-by: Chris Packham Signed-off-by: Simon Glass --- lib/libfdt/pylibfdt/libfdt.i | 2 ++ tools/moveconfig.py | 6 +++--- 2 files changed, 5 insertions

Re: [U-Boot] [PATCH v2 2/2] dm: core: Show driver name with 'dm tree'

2017-09-12 Thread sjg
It is often useful to see which driver was actually selected for each device. Add a new 'Driver' column to provide this information. Sample output: Class Probed Driver Name root[ + ]root_drive root_driver keyboard[ + ]i804

Re: [U-Boot] [U-Boot,v3,02/19] dm: timer: Convert to livetree

2017-09-12 Thread Philipp Tomsich
> This updates dm_timer_init to support a live tree and deals with > some fallout (i.e. the need to restructure the code such, that we > don't need multiple discontinuous #if CONFIG_IS_ENABLED blocks). > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > -

Re: [U-Boot] [U-Boot, v3, 17/19] rockchip: gpio: remove outdated/misleading comment

2017-09-12 Thread Philipp Tomsich
> Remove a comment claiming that this driver only supports the RK3288, > as we also use it on the RK3368, RK3399 and (most likely) on other > variants. > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > > Version-changes: 2 > - use the dev_read_addr_ptr

Re: [U-Boot] [PATCH] genconfig.py: Print defconfig next to warnings

2017-09-12 Thread sjg
At present we sometimes see warnings of the form: /tmp/tmpMA89kB:36: warning: overriding the value of CMD_SPL. Old value: "y", new value: "y". This is not very useful as it does not show whch defconfig file it relates to. Update the tool to show this. Signed-off-by: Simon Glass --- to

Re: [U-Boot] [U-Boot, v3, 05/19] net: designware: Convert to livetree

2017-09-12 Thread Philipp Tomsich
> Update the Designware Ethernet MAC driver to support a live device > tree. > > Signed-off-by: Philipp Tomsich > Acked-by: Joe Hershberger > --- > > Changes in v3: > - added Joe's Acked-by: tag (which I had lost) > > Changes in v2: None > > drivers/net/designware.c | 11 +++ > 1 fil

Re: [U-Boot] [PATCH 0/4] move rockchip sdram driver to driver/ram

2017-09-12 Thread Dr. Philipp Tomsich
Kever, > On 6 Sep 2017, at 12:00, Kever Yang wrote: > > > move all the Rockchip sdram driver which support CONFIG_RAM into > driver/ram folder > > > Kever Yang (4): > rockchip: rk3399: move sdram driver to driver/ram > rockchip: rk3188: move sdram driver to driver/ram > rockchip: rk3288: m

Re: [U-Boot] [PATCH v2 1/2] dm: core: Drop use of strlcpy()

2017-09-12 Thread sjg
On Thu, Aug 3, 2017 at 2:12 AM, Simon Glass wrote: > We can use printf() to limit the string width. Adjust the code to do this > instead of using strlcpy() which is a bit clumbsy. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Add new patch to drop use of strlcpy() > > drivers/core/

Re: [U-Boot] [U-Boot, v3, 08/19] rockchip: timer: implement timer_get_boot_us

2017-09-12 Thread Philipp Tomsich
> To make the Rockchip DM timer driver useful for the timing of > bootstages, we need a few enhancements: > - This implements timer_get_boot_us. > - This avoids reinitialising the timer, if it has already been >set up (e.g. by our TPL and SPL stages). Now, we have a single >timebase ticki

Re: [U-Boot] [PATCH 1/2] sandbox: Introduce Kconfig option for 32/64 bit host

2017-09-12 Thread sjg
On 1 August 2017 at 17:33, Bin Meng wrote: > It seems most of the time we are building and running sandbox on 64-bit host. > But we do support 32-bit host as well. Introduce Kconfig option for this. > > Signed-off-by: Bin Meng > --- > > arch/sandbox/Kconfig | 17 + > 1 file chang

Re: [U-Boot] [U-Boot, v3, 18/19] rockchip: dts: rk3368-lion: add /chosen/tick-timer

2017-09-12 Thread Philipp Tomsich
> To support bootstage recording, we want to mark our DM timer as the > tick-timer; this triggers the support for 'trying harder' to read the > timer in the Rockchip DM timer driver, even if the device model isn't > ready yet. > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > Acked

Re: [U-Boot] [U-Boot, v3, 14/19] rockchip: rk8xx: remove unused header includes

2017-09-12 Thread Philipp Tomsich
> Remove header file includes that have been left over after the > conversion to livetree-support. > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > --- > > Changes in v3: None > Changes in v2: None > > drivers/power/pmic/rk8xx.c | 2 -- > 1 file cha

Re: [U-Boot] [U-Boot, v3, 10/19] rockchip: clk: rk3368: Convert to livetree

2017-09-12 Thread Philipp Tomsich
> Update the clock driver for the RK3368 to support a live device tree. > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > > Version-changes: 2 > - use the dev_read_addr_ptr function in clk_rk3368.c > --- > > Changes in v3: None > Changes in v2:

Re: [U-Boot] [U-Boot,v3,12/19] rockchip: spi: Convert to livetree

2017-09-12 Thread Philipp Tomsich
> Update the Rockchip SPI driver to support a live device tree. > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > Reviewed-by: Jagan Teki > Acked-by: Philipp Tomsich > --- > > Changes in v3: > - added Jagan's Reviewed-by: tag. > > Changes in v2: None > > drivers/spi/rk_spi.c

Re: [U-Boot] [U-Boot, v3, 19/19] rockchip: lion-rk3368: defconfig: resync w/ OF_LIVE and BOOTSTAGE enabled

2017-09-12 Thread Philipp Tomsich
> This adds OF_LIVE and BOOTSTAGE support for the RK3368-uQ7 and > regenerates the defconfig (picking up a few changes/reorderings) from > upstream Kconfig changes. > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > --- > > Changes in v3: None > Changes

Re: [U-Boot] [U-Boot, 1/2] rockchip: rk3368: add ENV_MEM_LAYOUT to extra env settings

2017-09-12 Thread Philipp Tomsich
> Add the ENV_MEM_LAYOUT_SETTINGS to CONFIG_EXTRA_ENV_SETTINGS > > Signed-off-by: Andy Yan > --- > > include/configs/rk3368_common.h | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.denx.de ht

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

2017-09-12 Thread Simon Glass
Hi Tom, Here is an assortment of minor changes related to driver model, sandbox and patman/other tools. The following changes since commit c98ac3487e413c71e5d36322ef3324b21c6f60f9: Prepare v2017.09 (2017-09-11 14:10:40 -0400) are available in the git repository at: git://git.denx.de/u-boo

Re: [U-Boot] [U-Boot, v2, 2/2] rockchip: board: puma_rk3399: update README flash instructions

2017-09-12 Thread Philipp Tomsich
> Puma supports other boot sources then SD-Card. Update README to include > the required steps. > > * how to package a SPI-NOR SPL > * how to flash eMMC with rkdeveloptool > > Signed-off-by: Klaus Goger > Signed-off-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > Acked-by: Philipp Tomsi

Re: [U-Boot] [U-Boot, 2/2] rockchip: rk3368: add the missing target and pinctrl config for sheep board

2017-09-12 Thread Philipp Tomsich
> Add the missing target and pinctrl config for rk3368 sheep board > > Signed-off-by: Andy Yan > Reviewed-by: Simon Glass > --- > > configs/sheep-rk3368_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Philipp Tomsich ___ U-Boot mai

Re: [U-Boot] [U-Boot, v3, 13/19] rockchip: sdhci: Convert to livetree

2017-09-12 Thread Philipp Tomsich
> Update the Rockchip SDHCI wrapper to support a live device tree. > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > > Version-changes: 2 > - use the dev_read_addr_ptr function in rockchip_sdhci.c > --- > > Changes in v3: None > Changes in v2: N

Re: [U-Boot] [U-Boot,v3,15/19] rockchip: i2c: Convert to livetree

2017-09-12 Thread Philipp Tomsich
> Update the Rockchip I2C driver to support livetree. > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > Acked-by: Heiko Schocher > --- > > Changes in v3: > - added Heiko's Acked-by: tag. > > Changes in v2: > - use the dev_read_addr_ptr function in rk

Re: [U-Boot] [U-Boot, v3, 11/19] rockchip: pinctrl: rk3368: Convert to livetree

2017-09-12 Thread Philipp Tomsich
> Update the pinctrl driver for the RK3368 to support a live device tree. > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > --- > > Changes in v3: None > Changes in v2: None > > drivers/pinctrl/rockchip/pinctrl_rk3368.c | 3 +-- > 1 file changed, 1 i

Re: [U-Boot] [U-Boot,v3,16/19] rockchip: gpio: convert to livetree

2017-09-12 Thread Philipp Tomsich
> Update the Rockchip GPIO-bank driver to support a live tree. > > Signed-off-by: Philipp Tomsich > Reviewed-by: Simon Glass > Acked-by: Philipp Tomsich > > Version-changes: 2 > - use the dev_read_addr_ptr function in rk_gpio.c > --- > > Changes in v3: None > Changes in v2: None > > drivers

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

2017-09-12 Thread Jagan Teki
On Tue, Sep 12, 2017 at 2:23 PM, Dr. Philipp Tomsich wrote: > Jagan, > > please revise — after applying this patch, the build fails with: > >arm: + vyasa-rk3288 > +cmd/built-in.o: In function `do_usb_mass_storage': > +cmd/usb_mass_storage.c:164: undefined reference to `board_usb_init' >

[U-Boot] [PATCH v4] rk3288: Add Vyasa initial board support

2017-09-12 Thread Jagan Teki
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 2017.09-rc1-00111-g3656991-dirty (Aug 10 2017 - 11:40:45 +0530)

Re: [U-Boot] [PATCH] arm: am33xx: Make pin multiplexing functions optional

2017-09-12 Thread Felix Brack
On 07.09.2017 17:14, Tom Rini wrote: > On Wed, Sep 06, 2017 at 04:57:52PM +0200, Felix Brack wrote: >> On 01.09.2017 17:21, Tom Rini wrote: >>> On Thu, Aug 31, 2017 at 03:16:17PM +0200, Felix Brack wrote: >>> Boards using the single-register-pin-controller can configure all pins by mea

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

2017-09-12 Thread Dr. Philipp Tomsich
> On 12 Sep 2017, at 13:08, Jagan Teki wrote: > > On Tue, Sep 12, 2017 at 2:23 PM, Dr. Philipp Tomsich > > wrote: >> Jagan, >> >> please revise — after applying this patch, the build fails with: >> >> arm: + vyasa-rk3288 >> +cmd/built-in.

Re: [U-Boot] [PATCH 1/1] x86: ivybridge: remove unused variables

2017-09-12 Thread Simon Glass
On 11 September 2017 at 19:40, Heinrich Schuchardt wrote: > > legacy_hole_base_k and legacy_hole_size_k are defined but > not used. > > Signed-off-by: Heinrich Schuchardt > --- > arch/x86/cpu/ivybridge/northbridge.c | 10 -- > 1 file changed, 10 deletions(-) Reviewed-by: Simon Glass __

Re: [U-Boot] [PATCH 02/13] usb: gadget: Move USBNET_HOST_ADDR to Kconfig

2017-09-12 Thread Simon Glass
On 8 September 2017 at 11:34, 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 > --- > configs/am335x_baltos_defconfig| 1 + > configs/am335x_boneblack_defconfig | 1 + >

Re: [U-Boot] [PATCH 05/13] usb: gadget: Make g_dnl USB settings common

2017-09-12 Thread Simon Glass
Hi Maxime, On 8 September 2017 at 11:34, Maxime Ripard wrote: > The g_dnl USB settings for the vendor ID, product ID and manufacturer are > actually common settings that can and should be shared by all the gadgets. > > Make them common by renaming them, and convert all the users. > > Signed-off-b

Re: [U-Boot] [PATCH] lib: strto: fix incorrect handling of specified base

2017-09-12 Thread Simon Glass
On 11 September 2017 at 14:53, Rob Clark wrote: > > The strto functions should honor the specified base (if non-zero) rather > than permitting a hex or octal string when the user wanted (for example) > base 10. > > This has been fixed somewhere along the way in the upstream linux kernel > src tree

Re: [U-Boot] [PATCH 01/13] usb: gadget: Move USBNET_DEVADDR option out of g_dnl

2017-09-12 Thread Simon Glass
On 8 September 2017 at 11:34, Maxime Ripard wrote: > The USBNET_DEVADDR has nothing to do with the USB download gadget, but > rather with the USB Ethernet gadget. Move it out of the if statement. > > Signed-off-by: Maxime Ripard > --- > drivers/usb/gadget/Kconfig | 4 ++-- > 1 file changed, 2 in

Re: [U-Boot] [PATCH 09/13] cmd: fastboot: Rework fastboot dependency

2017-09-12 Thread Simon Glass
On 8 September 2017 at 11:34, Maxime Ripard wrote: > Fastboot need a bunch of options to be operating properly, such as the > g_dnl gadget, the fastboot command, and some options that make sense. Since > fastboot is now part of Kconfig, make sure we have them right. > > That will also reduce the b

Re: [U-Boot] [PATCH v2 02/21] part: extract MBR signature from partitions

2017-09-12 Thread Simon Glass
Hi Rob, On 10 September 2017 at 05:21, Rob Clark wrote: > From: Peter Jones > > EFI client programs need the signature information from the partition > table to determine the disk a partition is on, so we need to fill that > in here. > > Signed-off-by: Peter Jones > [separated from efi_loader p

Re: [U-Boot] [PATCH 10/13] musb: sunxi: switch to the device model

2017-09-12 Thread Simon Glass
On 8 September 2017 at 11:34, Maxime Ripard wrote: > The device model was implemented so far using a hook that needed to be > called from the board support, without DT support and only for the host. > > Switch to probing both in peripheral and host mode through the DT. > > Signed-off-by: Maxime Ri

Re: [U-Boot] [PATCH] i2c: muxes: pca954x: Add support for GPIO reset line

2017-09-12 Thread Simon Glass
+Tom for question below Hi Moritz, On 8 September 2017 at 23:27, Moritz Fischer wrote: > Hi Simon, > > On Fri, Sep 8, 2017 at 9:55 PM, Simon Glass wrote: >> On 5 September 2017 at 12:24, Moritz Fischer >> wrote: >>> This commit adds support for GPIO reset lines matching the >>> common linux "

Re: [U-Boot] [PATCH 07/13] sunxi: provide default USB gadget setup

2017-09-12 Thread Simon Glass
On 8 September 2017 at 11:34, Maxime Ripard wrote: > All the Allwinner boards use the same manufacturer, VID and PID for the > gadgets. Make them the defaults to remove some boilerplate from our > defconfigs. > > Signed-off-by: Maxime Ripard > --- > configs/A13-OLinuXino_defconfig

Re: [U-Boot] [PATCH 03/13] usb: gadget: Convert USB_ETHER to Kconfig

2017-09-12 Thread Simon Glass
Hi Maxime, On 8 September 2017 at 11:34, 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 | 1 + > configs/am335x_boneblack_defconfig | 1 + >

Re: [U-Boot] [PATCH 04/13] usb: gadget: usb_ether: Move the interfaces to Kconfig

2017-09-12 Thread Simon Glass
Hi Maxime, On 8 September 2017 at 11:34, 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: Maxime Ripard > --- >

Re: [U-Boot] [PATCH v2] i2c: muxes: pca954x: Add support for GPIO reset line

2017-09-12 Thread Simon Glass
On 11 September 2017 at 12:19, Moritz Fischer wrote: > This commit adds support for GPIO reset lines matching the > common linux "reset-gpios" devicetree binding. > > Signed-off-by: Moritz Fischer > --- > > Changes from v1: > - Simon's feedback on ifdef vs IS_ENABLED() > > --- > drivers/i2c/muxe

Re: [U-Boot] Enc: Uboot compatible with board Tegra124-nyan-big (ChromeBook G3 HP 14")

2017-09-12 Thread Simon Glass
Hi Alexandre, On 8 September 2017 at 12:33, Alexandre N. Perfeito wrote: > > FYI > This doesn't seem to come through properly on the list. Please can you send this as a fresh email with your quesiton/problem: - to the list - cc Tom Warren and me With mailing lists your reply should go belo

Re: [U-Boot] [PATCH v2 4/5] vsprintf.c: add GUID printing

2017-09-12 Thread Simon Glass
On 9 September 2017 at 04:47, Rob Clark wrote: > This works (roughly) the same way as linux's, but we currently always > print lower-case (ie. we just keep %pUB and %pUL for compat with linux), > mostly just because that is what uuid_bin_to_str() supports. > > %pUb: 01020304-0506-0708-090a-0b0

Re: [U-Boot] [PATCH 2/2] add pytests for 'gpt guid' command in sandbox

2017-09-12 Thread Simon Glass
On 10 September 2017 at 00:47, wrote: > From: Alison Chaiken > > Run unit tests for the 'gpt guid' command, making use of the block > device created by test/py/make_test_disk.py. Remove this device at > the end of the tests. > > Signed-off-by: Alison Chaiken > --- > test/py/tests/test_gpt.py

Re: [U-Boot] [PATCH v3 9/9] fs/fat: Clean up open-coded sector <-> cluster conversions

2017-09-12 Thread Simon Glass
On 9 September 2017 at 11:16, Rob Clark wrote: > Use the clust_to_sect() helper that was introduced earlier, and add an > inverse sect_to_clust(), plus update the various spots that open-coded > this conversion previously. > > Signed-off-by: Rob Clark > --- > fs/fat/fat.c | 8 +++- > f

Re: [U-Boot] [PATCH v2 14/21] efi_loader: efi variable support

2017-09-12 Thread Simon Glass
Hi Rob, On 10 September 2017 at 05:21, Rob Clark wrote: > Add EFI variable support, mapping to u-boot environment variables. > Variables are pretty important for setting up boot order, among other > things. If the board supports saveenv, then it will be called in > ExitBootServices() to persist

Re: [U-Boot] [PATCH v2 21/21] efi_loader: Some console improvements for vidconsole

2017-09-12 Thread Simon Glass
On 10 September 2017 at 05:21, Rob Clark wrote: > 1) use fputs() to reduce cache flushes from once-per-char to >once-per-string > 2) handle \r, \t, and \b in addition to just \n for tracking >cursor position > 3) cursor row/col are zero based, not one based > > Signed-off-by: Rob Clark >

Re: [U-Boot] [PATCH v2 05/21] efi_loader: add device-path utils

2017-09-12 Thread Simon Glass
Hi Rob, On 10 September 2017 at 05:21, Rob Clark wrote: > Helpers to construct device-paths from devices, partitions, files, and > for parsing and manipulating device-paths. > > For non-legacy devices, this will use u-boot's device-model to construct > device-paths which include bus hierarchy to

Re: [U-Boot] [PATCH 12/13] sunxi: Imply USB_ETHER

2017-09-12 Thread Simon Glass
On 8 September 2017 at 11:34, Maxime Ripard wrote: > Now that we can enable the usb_ether gadget, do it. This will be especially > useful for boards that don't have any ethernet controller, such as the ones > based on the A13 or A33. > > Signed-off-by: Maxime Ripard > --- > arch/arm/Kconfig | 1

Re: [U-Boot] [PATCH v3 5/9] fs/fat: implement opendir/readdir/closedir

2017-09-12 Thread Simon Glass
On 9 September 2017 at 11:15, Rob Clark wrote: > Implement the readdir interface using the directory iterators. > > Signed-off-by: Rob Clark > Reviewed-by: Łukasz Majewski > --- > fs/fat/fat.c | 61 > > 1 file changed, 61 insertions(

  1   2   3   4   5   >