Re: [U-Boot] [PATCH v0 03/20] short-wchar

2017-08-04 Thread Heinrich Schuchardt
On 08/04/2017 09:31 PM, Rob Clark wrote: > For now, pending conclusion on proposal about using c11 and u"string" > instead of L"string" plus -fshort-wchar. > > Background: UEFI uses utf16 strings universally. An UEFI implementation > that does not use -fshort-wchar has to do a lot of cumbersome c

Re: [U-Boot] [PATCH v0 20/20] efi_loader: add bootmgr

2017-08-04 Thread Rob Clark
On Fri, Aug 4, 2017 at 4:28 PM, Rob Clark wrote: > On Fri, Aug 4, 2017 at 4:06 PM, Heinrich Schuchardt > wrote: >> On 08/04/2017 09:32 PM, Rob Clark wrote: >>> Similar to a "real" UEFI implementation, the bootmgr looks at the >>> BootOrder and Boot variables to try to find an EFI payload to

Re: [U-Boot] [PATCH] boot_fit: Fix warning: overflow in implicit constant conversion in fdt_offset()

2017-08-04 Thread Nobuhiro Iwamatsu
Hi, 2017-08-03 8:56 GMT+09:00 Franklin S Cooper Jr : > > Hi > On 08/02/2017 06:10 PM, Nobuhiro Iwamatsu wrote: >> FDT_ERROR is defined as unsigned long. However, since the return value of >> fdt_offset() is int, a warning will occur when compiling. >> This fixes this problem by cast to int when se

Re: [U-Boot] [PATCH v0 03/20] short-wchar

2017-08-04 Thread Rob Clark
On Fri, Aug 4, 2017 at 4:28 PM, Heinrich Schuchardt wrote: > On 08/04/2017 09:31 PM, Rob Clark wrote: >> For now, pending conclusion on proposal about using c11 and u"string" >> instead of L"string" plus -fshort-wchar. >> >> Background: UEFI uses utf16 strings universally. An UEFI implementation

Re: [U-Boot] [PATCH v0 13/20] efi_loader: use proper device-paths for partitions

2017-08-04 Thread Mark Kettenis
> From: Rob Clark > Date: Fri, 4 Aug 2017 15:31:55 -0400 Hi Rob, OpenBSD has been an early adopter of efi_loader and pretty much completely relies on it for booting OpenBSD/armv7 and OpenBSD/arm64. We use our own bootloader which is fairly lightweight. Obviously we'd like to keep it working if

[U-Boot] [PATCH] boot_fit: Change return value from FDT_ERROR to -EINVAL in fdt_offset()

2017-08-04 Thread Nobuhiro Iwamatsu
FDT_ERROR is defined as unsigned long. However, since the return value of fdt_offset() is int, a warning will occur when compiling. Also, it is better to use -EINVAL than FDT_ERROR. This fixes this problem by change return value from FDT_ERROR to -EINVAL. Signed-off-by: Nobuhiro Iwamatsu CC: Fran

[U-Boot] [PATCH 3/3] rockchip: rk3368: spl: move SPL_LDSCRIPT to Kconfig

2017-08-04 Thread Philipp Tomsich
With the new way of doing things (i.e. the hierarchical selection of SPL_LDSCRIPT via Kconfig) in place, this moves the SPL_LDSCRIPT setting for the RK3368 from defconfig back into Kconfig. With this done, there should be no lingering cases of SPL_LDSCRIPT outside of Kconfig files. Signed-off-by:

Re: [U-Boot] [PATCH v0 13/20] efi_loader: use proper device-paths for partitions

2017-08-04 Thread Rob Clark
On Fri, Aug 4, 2017 at 4:41 PM, Mark Kettenis wrote: >> From: Rob Clark >> Date: Fri, 4 Aug 2017 15:31:55 -0400 > > Hi Rob, > > OpenBSD has been an early adopter of efi_loader and pretty much > completely relies on it for booting OpenBSD/armv7 and OpenBSD/arm64. > We use our own bootloader which

[U-Boot] [PATCH] rockchip: rk3188: rock: adjust for SPL/TPL split

2017-08-04 Thread Philipp Tomsich
With the changes to split SPL/TPL for the RK3368, I apparently missed some needed adjustments to the RK3188 Kconfig and rock_defconfig. This fixes build-issues for the rock board after applying the RK3368 enablement (and SPL/TPL) set that resulted from TPL_SERIAL_SUPPORT, TPL_ROCKCHIP_BACK_TO_BROM

Re: [U-Boot] [PATCH 10/41] Convert CONFIG_CMD_PCI to Kconfig

2017-08-04 Thread Simon Glass
Hi Bin, On 22 July 2017 at 09:18, Bin Meng wrote: > Hi Simon, > > On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: >> This converts the following to Kconfig: >>CONFIG_CMD_PCI >> >> Signed-off-by: Simon Glass >> --- >> [..] >> diff --git a/README b/README >> index 43691cc167..fe63a7090b

Re: [U-Boot] [PATCH 16/41] Convert CONFIG_CMD_REGINFO to Kconfig

2017-08-04 Thread Simon Glass
Hi Bin, On 22 July 2017 at 10:34, LEROY Christophe wrote: > Simon Glass a écrit : > > >> This converts the following to Kconfig: >>CONFIG_CMD_REGINFO >> >> Signed-off-by: Simon Glass >> --- >> I found another patch that was apparently applied by Tom, or not quite, so I've patched that into

[U-Boot] [PATCH v2] wdt: Update uclass to make clear that the timeout is in ms

2017-08-04 Thread Simon Glass
From: Andy Shevchenko Convert name to show explicitly that we are using milliseconds. For a watchdog timer this is precise enough. No functional change intended. Signed-off-by: Andy Shevchenko Signed-off-by: Simon Glass --- Changes in v2: - Use milliseconds since microseconds seems too fine

[U-Boot] [PATCH] test: Fix FIT test to pass again

2017-08-04 Thread Simon Glass
A recent change adjusted a test string so that the test no-longer passes. Fix it. Signed-off-by: Simon Glass Reported-by: Heiko Schocher Fixes: b28c5fcc (test-fit.py: Minor grammar/spelling/clarification tweaks) --- test/image/test-fit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [U-Boot] [PATCH v2] wdt: Update uclass to make clear that the timeout is in ms

2017-08-04 Thread Dr. Philipp Tomsich
> On 04 Aug 2017, at 23:48, Simon Glass wrote: > > From: Andy Shevchenko > > Convert name to show explicitly that we are using milliseconds. For a > watchdog timer this is precise enough. > > No functional change intended. > > Signed-off-by: Andy Shevchenko > Signed-off-by: Simon Glass > -

Re: [U-Boot] [PATCH] common, image-sig: [BUG?] if no valid signature node found, do not boot signed FIT image

2017-08-04 Thread Simon Glass
Hi Heiko, On 8 June 2017 at 22:52, Heiko Schocher wrote: > Hello Simon, > > Am 09.06.2017 um 05:05 schrieb Simon Glass: >> >> Hi Heiko, >> >> On 8 June 2017 at 03:52, Heiko Schocher wrote: >>> >>> fit_image_verify_required_sigs() must return != 0, on error. >>> >>> When fit_image_verify_required

Re: [U-Boot] [PATCH v2] wdt: Update uclass to make clear that the timeout is in ms

2017-08-04 Thread Simon Glass
+Tom Hi Philipp, On 4 August 2017 at 16:21, Dr. Philipp Tomsich wrote: > >> On 04 Aug 2017, at 23:48, Simon Glass wrote: >> >> From: Andy Shevchenko >> >> Convert name to show explicitly that we are using milliseconds. For a >> watchdog timer this is precise enough. >> >> No functional change

[U-Boot] [PATCH v2 01/42] configs: Resync with savedefconfig

2017-08-04 Thread Simon Glass
Rsync all defconfig files using moveconfig.py Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to resync with savedefconfig configs/A10-OLinuXino-Lime_defconfig| 2 +- configs/A20-OLinuXino-Lime2_defconfig | 2 +- configs/A20-OLinuXino-Lime_defconfi

[U-Boot] [PATCH v2 02/42] Convert CONFIG_CMD_MAX6957 to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_MAX6957 Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None board/work-microwave/work_92105/Kconfig | 7 +++ configs/work_92105_defconfig| 1 + include/configs/work_92105.h| 1 - scripts/con

[U-Boot] [PATCH v2 00/42] Kconfig: Convert remaining commands to Kconfig

2017-08-04 Thread Simon Glass
This series converts the remaining commands (starting from M and ending at Z) to Kconfig. This completes the Kconfig conversion of commands. Note that for v2 I dropped my CMD_REGINFO patch and picked up one from Christophe Leroy [1] since it was marked as accepted. [1] http://patchwork.ozlabs.org

[U-Boot] [PATCH v2 03/42] Kconfig: Drop CONFIG_CMD_MEM

2017-08-04 Thread Simon Glass
This is not actually used in U-Boot. Most likely it means CONFIG_CMD_MEMORY so change all occurences to that. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None README| 4 ++-- include/configs/stm32f429-discovery.h | 2 -- scripts/config_w

[U-Boot] [PATCH v2 05/42] Convert CONFIG_CMD_MMC_SPI to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_MMC_SPI Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: - Sort Kconfig options in alphabetical order README | 1 - cmd/Kconfig | 9 + configs/UCP1020_SPIFLA

[U-Boot] [PATCH v2 13/42] Convert CONFIG_CMD_PCMCIA to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_PCMCIA Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: - Sort Kconfig options in alphabetical order README | 1 - cmd/Kconfig | 8 configs/ms7720se_defconfig | 1 + incl

[U-Boot] [PATCH v2 04/42] Kconfig: Sort the device-access commands

2017-08-04 Thread Simon Glass
These are currently not quite in alphabetical order. Before adding more, sort them. Signed-off-by: Simon Glass Suggested-by: Bin Meng --- Changes in v2: - Add new patch to sort the device-access commands cmd/Kconfig | 244 ++-- 1 file ch

[U-Boot] [PATCH v2 08/42] Convert CONFIG_CMD_PCA953X to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_PCA953X Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None README | 1 - arch/powerpc/cpu/mpc83xx/Kconfig| 1 + configs/cl-som-am57x_defconfig | 1 + confi

[U-Boot] [PATCH v2 06/42] Convert CONFIG_CMD_MTDPARTS_SPREAD to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_MTDPARTS_SPREAD Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None cmd/Kconfig | 10 ++ configs/sandbox_defconfig| 1 + scripts/config_whitelist.txt | 1 - 3 files changed, 11 insertions

[U-Boot] [PATCH v2 16/42] Convert CONFIG_CMD_REGINFO to Kconfig

2017-08-04 Thread Simon Glass
From: Christophe Leroy This patch converts CONFIG_CMD_REGINFO to Kconfig Signed-off-by: Christophe Leroy Signed-off-by: Simon Glass --- Changes in v2: - Fixed lots of merge conflicts with my series - Pull in this patch from http://patchwork.ozlabs.org/patch/787724/ instead README

[U-Boot] [PATCH v2 11/42] Kconfig: Drop CONFIG_CMD_PCI_ENUM

2017-08-04 Thread Simon Glass
This option enables the 'pci enum' command. It is only enabled by a few board and these have not yet been converted to driver model, which always enables this command. It seems easiest to just remove this option. The affected boards can be converted to use driver model for PCI if needed. Signed-o

[U-Boot] [PATCH v2 18/42] Kconfig: sandbox: Drop CONFIG_CMD_SANDBOX option

2017-08-04 Thread Simon Glass
This is no-longer used. Drop it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None README | 1 - include/config_cmd_all.h | 1 - include/configs/sandbox.h| 2 -- scripts/config_whitelist.txt | 1 - 4 files changed, 5 deletions(-) diff --gi

[U-Boot] [PATCH v2 12/42] Kconfig; Drop CONFIG_IDE_TI_CARDBUS and associated driver

2017-08-04 Thread Simon Glass
This driver is not used by any board. Drop it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None drivers/pcmcia/Makefile | 1 - drivers/pcmcia/ti_pci1410a.c | 623 --- 2 files changed, 624 deletions(-) delete mode 100644 d

[U-Boot] [PATCH v2 19/42] Convert CONFIG_CMD_SAVES to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_SAVES Signed-off-by: Simon Glass --- Changes in v2: - Put Kconfig change in alphabetical order - Remove some now-superfluous /* commands */ comments in header files README | 1 - arch/arm/Kconfig

[U-Boot] [PATCH v2 21/42] Convert CONFIG_CMD_SDRAM to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_SDRAM Signed-off-by: Simon Glass --- Changes in v2: - Put Kconfig change in alphabetical order - Remove some now-superfluous /* commands */ comments in header files README | 2 -- cmd/Kconfig

[U-Boot] [PATCH v2 07/42] Convert CONFIG_CMD_ONENAND to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_ONENAND Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None cmd/Kconfig | 8 configs/igep0020_defconfig | 1 + configs/igep0030_defconfig

[U-Boot] [PATCH v2 24/42] Convert CONFIG_CMD_SPL to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_SPL Note that trats does not actually use SPL, so this option can no-longer be set. Signed-off-by: Simon Glass --- Changes in v2: - Fix up microblaze-generic, gw_ventana, ipam390 - Remove some now-superfluous /* commands */ comments in heade

[U-Boot] [PATCH v2 09/42] Kconfig: Drop CONFIG_CMD_PCA953X_INFO

2017-08-04 Thread Simon Glass
It does not seem worth having an option to enable another sub-command in this legacy driver. Drop this option so that the sub-command is always available. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None README | 1 - drivers/gpio/pca953

[U-Boot] [PATCH v2 17/42] Convert CONFIG_CMD_REISER to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_REISER Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None cmd/Kconfig | 9 + configs/ethernut5_defconfig | 1 + include/config_cmd_all.h | 1 - include/configs/ethernut5.h | 1 - scripts

[U-Boot] [PATCH v2 37/42] Convert CONFIG_CMD_UNIVERSE to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_UNIVERSE Since no board uses this, perhaps we should drop this command? Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: - Add a note about dropping CMD_UNIVERSE - Sort Kconfig options in alphabetical order cmd/Kconfig

Re: [U-Boot] rockchip: i2c: fix >32 byte reads

2017-08-04 Thread Philipp Tomsich
> The hw can read up to 32 bytes at a time. If we need > more than one chunk, we have to enter the plain RX mode. > > Signed-off-by: Wadim Egorov > --- > drivers/i2c/rk_i2c.c | 19 --- > 1 file changed, 16 insertions(+), 3 deletions(-) > Acked-by: Philipp Tomsich _

[U-Boot] [PATCH v2 39/42] Convert CONFIG_CMD_ZBOOT to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_ZBOOT Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: - Update edison also arch/Kconfig | 1 + cmd/Kconfig | 12 include/configs/edison.h | 1 - include/configs/x86-co

[U-Boot] [PATCH v2 23/42] Convert CONFIG_CMD_SH_ZIMAGEBOOT to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_SH_ZIMAGEBOOT Signed-off-by: Simon Glass --- Changes in v2: - Make this 'default y' and drop defconfig file changes - Remove some now-superfluous /* commands */ comments in header files - Rename the option to include 'zimageboot' arch/sh/Kc

Re: [U-Boot] [PATCH v2] wdt: Update uclass to make clear that the timeout is in ms

2017-08-04 Thread Dr. Philipp Tomsich
> On 05 Aug 2017, at 00:30, Simon Glass wrote: > > +Tom > > Hi Philipp, > > On 4 August 2017 at 16:21, Dr. Philipp Tomsich > wrote: >> >>> On 04 Aug 2017, at 23:48, Simon Glass wrote: >>> >>> From: Andy Shevchenko >>> >>> Convert name to show explicitly that we are using milliseconds. Fo

[U-Boot] [PATCH v2 41/42] Drop config_cmd_all.h

2017-08-04 Thread Simon Glass
This file does not include all commands and has not for a while. Let's drop it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None README | 5 - include/config_cmd_all.h | 16 2 files changed, 21 deletions(-) delete mode 100644 in

[U-Boot] [PATCH v2 33/42] Convert CONFIG_CMD_THOR_DOWNLOAD to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_THOR_DOWNLOAD Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None cmd/Kconfig | 8 configs/odroid-xu3_defconfig | 1 + configs/odroid_defconfig

[U-Boot] [PATCH v2 42/42] README: Drop information about commands

2017-08-04 Thread Simon Glass
Most of this is duplicated in Kconfig help. Add some of that which is not, and remove the help from the README. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: - Drop patch to convert CONFIG_CMD_MTDPARTS to Kconfig (already done) README | 116 +---

[U-Boot] [PATCH v2 20/42] Convert CONFIG_CMD_SCSI to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_SCSI Also update the Makefile to use CONFIG_CMD_SCSI instead of CONFIG_SCSI to enable the command, fixing an earlier error. Signed-off-by: Simon Glass --- Changes in v2: - Update commit message to explain Makefile change arch/arm/Kconfig

[U-Boot] [PATCH v2 14/42] Kconfig: Drop CONFIG_CMD_PORTIO and associated command

2017-08-04 Thread Simon Glass
This command is not used by any board. It also looks quite similar to the 'iod' and 'iow' commands which use the correct I/O macros. Drop it. Signed-off-by: Simon Glass --- Changes in v2: - Drop mention of this from several other places - Move CMD_PORTIO changes in from the CMD_READ patch REA

Re: [U-Boot] [U-Boot, 3/3] rockchip: firefly-rk3399: enable ATF and dwmmc

2017-08-04 Thread Philipp Tomsich
> enable the ATF option and SDCard in defconfig. > > Signed-off-by: Kever Yang > --- > > configs/firefly-rk3399_defconfig | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > Acked-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists

[U-Boot] [PATCH v2 15/42] Kconfig: Convert CMD_READ to Kconfig

2017-08-04 Thread Simon Glass
Convert this option and enable it in sandbox. Also correct a bug which was introduced with the block-device driver model conversion. Signed-off-by: Simon Glass --- Changes in v2: - Move CMD_PORTIO changes to previous patch - Sort Kconfig options in alphabetical order README

[U-Boot] [PATCH v2 22/42] Convert CONFIG_CMD_SF_TEST to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_SF_TEST Signed-off-by: Simon Glass --- Changes in v2: - Fix typos in help - Make X86 imply CMD_SF_TEST (except for efi-x86 which fails) - Put Kconfig change in alphabetical order README | 6 -- arch/Kconfig

[U-Boot] [PATCH v2 29/42] gpio: Drop sx151x driver

2017-08-04 Thread Simon Glass
This driver is not used in U-Boot. Drop it and its associated CONFIG options. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: - Drop include/sx151x.h also drivers/gpio/Makefile| 1 - drivers/gpio/sx151x.c| 242 ---

[U-Boot] [PATCH v2 34/42] Convert CONFIG_CMD_YAFFS2 to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_YAFFS2 Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None cmd/Kconfig | 11 +++ cmd/Makefile | 2 +- fs/Kconfig| 2 ++ fs/yaffs2/Kconfig | 7 +++ 4 files changed, 21 insertions(+), 1

[U-Boot] [PATCH v2 40/42] Convert CONFIG_CMD_ZFS to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_ZFS Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None cmd/Kconfig | 11 +++ include/config_cmd_all.h | 2 -- scripts/config_whitelist.txt | 1 - 3 files changed, 11 insertions(+), 3 del

[U-Boot] [PATCH v2 31/42] Convert CONFIG_CMD_TERMINAL to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_TERMINAL Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None cmd/Kconfig | 8 include/config_cmd_all.h | 1 - include/configs/vct.h| 2 -- scripts/config_whitelist.txt | 1 - 4 fil

[U-Boot] [PATCH v2 25/42] Convert CONFIG_CMD_SPL_NAND_OFS to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_SPL_NAND_OFS Signed-off-by: Simon Glass --- Changes in v2: - Drop unwanted 'CONFIG_CMD_SPL_NAND_OFS=0x0' lines in defconfig cmd/Kconfig | 10 ++ configs/am335x_evm_defconfig | 1 + configs

Re: [U-Boot] [U-Boot, 2/4] rockchip: rk322x: update the sysreg number for boot mode

2017-08-04 Thread Philipp Tomsich
> The boot mode for rk322x is stored in sysreg 0, update it. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk322x-board.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Acked-by: Philipp Tomsich ___ U-Boot mailing li

Re: [U-Boot] rockchip: rk3399-firefly: update gmac parameter

2017-08-04 Thread Philipp Tomsich
> Update the tx_deday and rx_delay to match the timing for > rk3399-firefly board to improve the stability of gmac data > transfer. > > Signed-off-by: Kever Yang > --- > > arch/arm/dts/rk3399-firefly.dts | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Acked-by: Philipp Tomsich

[U-Boot] [PATCH v2 35/42] Convert CONFIG_CMD_TRACE to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_TRACE Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None cmd/Kconfig | 9 + include/configs/exynos5-common.h | 1 - include/configs/sandbox.h| 1 - scripts/config_whitelist.txt

[U-Boot] [PATCH v2 38/42] Convert CONFIG_CMD_UUID to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_UUID Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None README | 1 - cmd/Kconfig | 11 +++ scripts/config_whitelist.txt | 1 - 3 files changed, 11 insertions(+), 2 del

[U-Boot] [PATCH v2 36/42] Convert CONFIG_CMD_TSI148 to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_TSI148 Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: - Sort Kconfig options in alphabetical order cmd/Kconfig | 6 ++ configs/caddy2_defconfig | 1 + configs/vme8349_defconfig| 1 + includ

[U-Boot] [PATCH v2 28/42] Convert CONFIG_CMD_STRINGS to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_STRINGS Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None cmd/Kconfig | 8 include/configs/vct.h| 1 - scripts/config_whitelist.txt | 1 - 3 files changed, 8 insertions(+), 2 deletio

[U-Boot] [PATCH v2 30/42] Convert CONFIG_CMD_TCA642X to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_TCA642X Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None configs/omap5_uevm_defconfig | 1 + drivers/gpio/Kconfig | 9 + include/configs/omap5_uevm.h | 1 - scripts/config_whitelist.txt | 1 - 4 file

Re: [U-Boot] rockchip: rk3399-firefly: update gmac parameter

2017-08-04 Thread Philipp Tomsich
> Update the tx_deday and rx_delay to match the timing for > rk3399-firefly board to improve the stability of gmac data > transfer. > > Signed-off-by: Kever Yang > --- > > arch/arm/dts/rk3399-firefly.dts | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Reviewed-by: Philipp Tomsic

[U-Boot] [PATCH v2 27/42] Kconfig: Sort the memory commands

2017-08-04 Thread Simon Glass
These are currently not quite in alphabetical order. Before adding more, sort them. Not all options have a CMD_ prefix, so ignore that when sorting. Signed-off-by: Simon Glass Suggested-by: Bin Meng --- Changes in v2: - Add new patch to sort the memory commands cmd/Kconfig | 60 ++

[U-Boot] [PATCH v2 26/42] Convert CONFIG_CMD_SPL_WRITE_SIZE to Kconfig

2017-08-04 Thread Simon Glass
This converts the following to Kconfig: CONFIG_CMD_SPL_WRITE_SIZE Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None cmd/Kconfig | 9 + configs/am43xx_evm_defconfig | 1 + configs/am43xx_evm_ethboot_defconfig | 1

Re: [U-Boot] [U-Boot, v2] rockchip: phycore: Read configuration EEPROM & set ethaddr in late init

2017-08-04 Thread Philipp Tomsich
> Read SoM information from EEPROM and set ethaddr in late init. > > Signed-off-by: Wadim Egorov > --- > Changes in v2: > - Fixed fdt_path_offset() error handling > > --- > board/phytec/phycore_rk3288/phycore-rk3288.c | 62 > > board/phytec/phycore_rk3288/som.h

[U-Boot] [PATCH v2 32/42] Kconfig: Drop CONFIG_CMD_TFTP

2017-08-04 Thread Simon Glass
This is not a valid CONFIG option. Drop it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None include/configs/dragonboard410c.h | 1 - scripts/config_whitelist.txt | 1 - 2 files changed, 2 deletions(-) diff --git a/include/configs/dragonboard410c.h b/include/con

Re: [U-Boot] [U-Boot, 1/4] rockchip: rk3229: move usb gadget into defconfig

2017-08-04 Thread Philipp Tomsich
> Use the defconfig for all usb gadget and function related > option instead of define then in header file. > > Signed-off-by: Kever Yang > --- > > configs/evb-rk3229_defconfig| 20 ++-- > include/configs/evb_rk3229.h| 1 - > include/configs/rk322x_common.h | 20 ---

Re: [U-Boot] rockchip: rk3288: update the mmc number for fastboot

2017-08-04 Thread Philipp Tomsich
> The emmc number is 0, correct it for fastboot parameter. > > Signed-off-by: Kever Yang > --- > > include/configs/rk3288_common.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@li

Re: [U-Boot] [U-Boot, 4/4] rockchip: enable rockusb for all rockchip SoCs

2017-08-04 Thread Philipp Tomsich
> Rockusb will be used by all the rockchip SoCs, enable it by > default in Kconfig, and it can be work if USB gadget is available. > > Signed-off-by: Kever Yang > --- > > arch/arm/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Philipp Tomsich __

Re: [U-Boot] [U-Boot, 2/3] rockchip: firefly-rk3399: enable EFUSE driver

2017-08-04 Thread Philipp Tomsich
> Enable the EFUSE driver for get the cpuid and serial. > > Signed-off-by: Kever Yang > --- > > configs/firefly-rk3399_defconfig | 2 ++ > include/configs/evb_rk3399.h | 3 +++ > 2 files changed, 5 insertions(+) > Acked-by: Philipp Tomsich ___

Re: [U-Boot] rockchip: rk322x: update MACRO for mmc clksel reg

2017-08-04 Thread Philipp Tomsich
> The description for eMMC/SDIO/SDMMC src is not correct, > update the CRU_CLKSEL11_CON value definition according to TRM. > > Signed-off-by: Kever Yang > --- > > arch/arm/include/asm/arch-rockchip/cru_rk322x.h | 9 +++-- > 1 file changed, 3 insertions(+), 6 deletions(-) > Acked-by: Phili

Re: [U-Boot] [U-Boot, v3] rockchip: rk3288: Add reset reason detection

2017-08-04 Thread Philipp Tomsich
> Sometimes it's helpful to know the reset reason caused in the SoC. > Add reset reason detection for the RK3288 SoC. > This will set an environment variable which represents the reset reason. > > Signed-off-by: Wadim Egorov > --- > Changes in v3: > - Fixed typo in commit message > - Use enum for

Re: [U-Boot] [U-Boot, 3/4] rockchip: add BOOT_LOADER support for boot mode

2017-08-04 Thread Philipp Tomsich
> Rockchip using rockusb for flash emmc via USB, people > use 'reboot loader' in kernel and then want to get a rockusb > device in bootloader for firmware update. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3036-board.c | 4 > arch/arm/mach-rockchip/rk322x-board.c | 4

Re: [U-Boot] [U-Boot, 1/3] rockchip: evb-rk3399: add ethaddr and serial# init

2017-08-04 Thread Philipp Tomsich
> Sync the code from puma-rk3399: > 8adc9d1 rockchip: board: puma_rk3399: derive ethaddr from cpuid > 9415b9a rockchip: board: puma_rk3399: add support for serial# and cpuid# > via efuses > > Signed-off-by: Kever Yang > --- > > board/rockchip/evb_rk3399/evb-rk3399.c | 123 > +++

Re: [U-Boot] [PATCH v2] wdt: Update uclass to make clear that the timeout is in ms

2017-08-04 Thread Simon Glass
Hi, On 4 August 2017 at 16:37, Dr. Philipp Tomsich wrote: > >> On 05 Aug 2017, at 00:30, Simon Glass wrote: >> >> +Tom >> >> Hi Philipp, >> >> On 4 August 2017 at 16:21, Dr. Philipp Tomsich >> wrote: >>> On 04 Aug 2017, at 23:48, Simon Glass wrote: From: Andy Shevchenko >>

Re: [U-Boot] [PATCH v2 11/15] dm: sunxi: Linksprite_pcDuino3: Correct polarity of MMC card detect

2017-08-04 Thread Simon Glass
Hi Maxime, On 5 July 2017 at 08:43, Maxime Ripard wrote: > Hi, > > On Tue, Jul 04, 2017 at 01:31:28PM -0600, Simon Glass wrote: >> This is shown as active high in the schematics[1], so fix it. >> >> [1] https://patchwork.ozlabs.org/patch/777890/ >> >> Signed-off-by: Simon Glass >> Reported-by: M

[U-Boot] [PATCH v1 0/7] imx: add USB Serial Download Protocol (SDP) support

2017-08-04 Thread Stefan Agner
From: Stefan Agner This series adds NXP's Serial Download Protocol (SDP) support via USB for SPL/U-Boot. It allows to download U-Boot via USB from a (recovered) SPL using the same tools used to download SPL itself (specifically imx_usb, but also sb_loader seems to work). The idea has been brough

[U-Boot] [PATCH v1 1/7] imx: move imximage header to common location

2017-08-04 Thread Stefan Agner
From: Stefan Agner Move the imximage.h header file to a common location so we can make use of it from U-Boot too. Signed-off-by: Stefan Agner --- {tools => include}/imximage.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {tools => include}/imximage.h (100%) diff --git a/tools

[U-Boot] [PATCH v1 3/7] usb: gadget: sdp: extend images compatible for jumps

2017-08-04 Thread Stefan Agner
From: Stefan Agner Support U-Boot images in SPL so that u-boot.img files can be directly downloaded and executed. Furthermore support U-Boot scripts download and execution in full U-Boot so that custom recovery actions can be downloaded from the host in a third step. Signed-off-by: Stefan Agner

[U-Boot] [PATCH v1 4/7] cmd: add sdp command

2017-08-04 Thread Stefan Agner
From: Stefan Agner Add a new command to start USB Serial Download Protocol (SDP) state machine. Signed-off-by: Stefan Agner --- cmd/Kconfig | 7 +++ cmd/Makefile | 1 + cmd/usb_gadget_sdp.c | 53 3 files changed, 61 i

[U-Boot] [PATCH v1 2/7] usb: gadget: add SDP driver

2017-08-04 Thread Stefan Agner
From: Stefan Agner Add SDP (Serial Downloader Protocol) implementation for U-Boot. The protocol is used in NXP SoC's boot ROM and allows to download program images. Beside that, it can also be used to read/write registers and download complete Device Configuration Data (DCD) sets. This basic impl

[U-Boot] [PATCH v1 7/7] apalis/colibri_imx6: enable SDP by default

2017-08-04 Thread Stefan Agner
From: Stefan Agner Enable Serial Download Protocol (SDP) in SPL and U-Boot. This is useful to make use of imx_usb to download the complete U-Boot (u-boot.img) after SPL has been downloaded. The U-Boot command sdp allows to enumerate as SDP capable device again, e.g. to download a Linux kernel and

[U-Boot] [PATCH v1 6/7] apalis/colibri_imx6: use independent USB PID for SPL

2017-08-04 Thread Stefan Agner
From: Stefan Agner Use a completely independent USB Product ID for SPL. This allows to differentiate a SDP running in SPL and SDP running in a U-Boot which could not read the config block successfully. Signed-off-by: Stefan Agner Acked-by: Max Krummenacher --- board/toradex/apalis_imx6/apali

[U-Boot] [PATCH v1 5/7] spl: add serial download protocol (SDP) support

2017-08-04 Thread Stefan Agner
From: Stefan Agner Add USB serial download protocol support to SPL. If the SoC started in recovery mode the SPL will immediately switch to SDP and wait for further downloads/commands from the host side. Signed-off-by: Stefan Agner --- common/spl/Kconfig | 6 ++ common/spl/Makefi

[U-Boot] [PATCH v2] omap3evm: Update board and defconfig files

2017-08-04 Thread Derald D. Woods
This patch brings the OMAP3 EVM to a bootable state, on master, as of v2017.09-rc1. Signed-off-by: Derald D. Woods --- Changes in v2: - Unset {EFI,ISO}_PARTITION - Unset EFI_LOADER - Unset SPL_EXT_SUPPORT - Unset THUMB_BUILD ** It does boot with THUMB_BUILD, it just should not be default ---

Re: [U-Boot] [PATCH] dm: scsi: fix callto function with wrong signature

2017-08-04 Thread Bin Meng
Hi Philipp, On Sat, Aug 5, 2017 at 3:11 AM, Philipp Tomsich wrote: > buildman fails for the qemu-x86 with the following error: > drivers/ata/ahci-pci.c: In function 'ahci_pci_probe': > drivers/ata/ahci-pci.c:21:9: error: too few arguments to function > 'ahci_probe_scsi' > return ahci_pro

Re: [U-Boot] [PATCH v2] wdt: Update uclass to make clear that the timeout is in ms

2017-08-04 Thread Bin Meng
On Sat, Aug 5, 2017 at 5:48 AM, Simon Glass wrote: > From: Andy Shevchenko > > Convert name to show explicitly that we are using milliseconds. For a > watchdog timer this is precise enough. > > No functional change intended. > > Signed-off-by: Andy Shevchenko > Signed-off-by: Simon Glass > ---

[U-Boot] [PATCH 1/3] spl: add hierarchical defaults for SPL_LDSCRIPT

2017-08-04 Thread Philipp Tomsich
With SPL_LDSCRIPT moved to Kconfig (and this being a 'string' config node), all the lingering definitions in header files will cause errors due to the redefinition of the configuration item. As we don't want to pollute the defconfig files (and values should usually be identical for entire architec

[U-Boot] [PATCH 0/3] rockchip: rk3368: spl: move SPL_LDSCRIPT from header-files to Kconfig

2017-08-04 Thread Philipp Tomsich
After applying the SPL/TPL infrastructure changes for the RK3368, a number of unexpected failures occurred during the buildman validation run. For a some of platforms, SPL_LDSCRIPT was now defined multiple times: once from Kconfig and once from a header file. This is a hot fix (i.e. it's needed b

[U-Boot] [PATCH 2/3] spl: moveconfig: remove SPL_LDSCRIPT definitions for header-files

2017-08-04 Thread Philipp Tomsich
With the hierarchical defaults set up, we remove these from the header files. To do so, I've run moveconfig on SPL_LDSCRIPT and this commits the changes. Signed-off-by: Philipp Tomsich --- include/configs/am335x_evm.h | 2 -- include/configs/am335x_igep003x.h | 1 - include/conf

[U-Boot] Issues about u-boot tools (mkimage and dumpimage)

2017-08-04 Thread Sun,Mingshen
Hi all, I am working on a project related to secure boot. We are using NXP’s iMX7d development board. I am using `make –j32 V=1` to verbosely print build commands. The last command for making u-boot is `./tools/mkimage -n board/freescale/mx7dsabresd/imximage.cfg.cfgtmp -T imximage -e 0x878

Re: [U-Boot] cmd/fdt: support single value replacement within an array

2017-08-04 Thread Laurent Pinchart
Hi Hannes, (I'm not subscribed to the list, please keep me CC'ed on replies) On Tuesday 30 May 2017 13:05:00 Hannes Schmelzer wrote: > With this commit we can modify single values within an array of a dts > property. But with this commit U-Boot crashes if you try to create a new property with t

Re: [U-Boot] [PATCH v0 20/20] efi_loader: add bootmgr

2017-08-04 Thread Peter Jones
On Fri, Aug 04, 2017 at 04:28:05PM -0400, Rob Clark wrote: > On Fri, Aug 4, 2017 at 4:06 PM, Heinrich Schuchardt > wrote: > > On 08/04/2017 09:32 PM, Rob Clark wrote: > >> Similar to a "real" UEFI implementation, the bootmgr looks at the > >> BootOrder and Boot variables to try to find an EFI

[U-Boot] [PATCH 0/2] ARM: OMAP5: Add AVS support for ES2.0

2017-08-04 Thread Nishanth Menon
Hi, OMAP5 went into production with AVS Class0 Vs pre-production configuration of AVS 1.5. Most of the current "in-the-wild" OMAP5 uEVMs are based on pre-production samples, however, the support for "production configuration" helps platforms such as pyra-handheld[1]. This original issue was repo

[U-Boot] [PATCH 2/2] ARM: OMAP5: Enable support for AVS0 for OMAP5 production devices

2017-08-04 Thread Nishanth Menon
OMAP5432 did go into production with AVS class0 registers which were mutually exclusive from AVS Class 1.5 registers. Most OMAP5-uEVM boards use the pre-production Class1.5 which has production efuse registers set to 0. However on production devices, these are set to valid data. scale_vcore logic

[U-Boot] [PATCH 1/2] ARM: OMAP5: Remove OPP_LOW Definitions for ES2.0

2017-08-04 Thread Nishanth Menon
ES2.0 descopes OPP_LOW definition. So remove it from macros defined. Signed-off-by: Nishanth Menon --- arch/arm/include/asm/arch-omap5/clock.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/include/asm/arch-omap5/clock.h b/arch/arm/include/asm/arch-omap5/clock.h index 0c99bbdc93

Re: [U-Boot] [PATCH 10/41] Convert CONFIG_CMD_PCI to Kconfig

2017-08-04 Thread Bin Meng
Hi Simon, On Sat, Aug 5, 2017 at 5:38 AM, Simon Glass wrote: > Hi Bin, > > On 22 July 2017 at 09:18, Bin Meng wrote: >> Hi Simon, >> >> On Sat, Jul 22, 2017 at 7:11 AM, Simon Glass wrote: >>> This converts the following to Kconfig: >>>CONFIG_CMD_PCI >>> >>> Signed-off-by: Simon Glass >>> -

Re: [U-Boot] [PATCH v2 04/42] Kconfig: Sort the device-access commands

2017-08-04 Thread Bin Meng
On Sat, Aug 5, 2017 at 6:34 AM, Simon Glass wrote: > These are currently not quite in alphabetical order. Before adding more, > sort them. > > Signed-off-by: Simon Glass > Suggested-by: Bin Meng > --- > > Changes in v2: > - Add new patch to sort the device-access commands > > cmd/Kconfig | 244

Re: [U-Boot] [PATCH v2 10/42] Convert CONFIG_CMD_PCI to Kconfig

2017-08-04 Thread Bin Meng
On Sat, Aug 5, 2017 at 6:34 AM, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_PCI > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Fix indentation for CMD_PCI > - Sort Kconfig options in alphabetical order > > README

Re: [U-Boot] [PATCH v2 15/42] Kconfig: Convert CMD_READ to Kconfig

2017-08-04 Thread Bin Meng
On Sat, Aug 5, 2017 at 6:34 AM, Simon Glass wrote: > Convert this option and enable it in sandbox. Also correct a bug which > was introduced with the block-device driver model conversion. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Move CMD_PORTIO changes to previous patch > - Sor

Re: [U-Boot] [PATCH v2 14/42] Kconfig: Drop CONFIG_CMD_PORTIO and associated command

2017-08-04 Thread Bin Meng
On Sat, Aug 5, 2017 at 6:34 AM, Simon Glass wrote: > This command is not used by any board. It also looks quite similar to the > 'iod' and 'iow' commands which use the correct I/O macros. > > Drop it. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Drop mention of this from several ot

<    1   2   3   >