Re: [U-Boot] [PATCH] script: Make the get_default_envs.sh script working with newest u-boot

2018-02-14 Thread Lukasz Majewski
On Wed, 14 Feb 2018 03:25:58 +0200 Tuomas Tynkkynen wrote: > Hi, > > On Tue, 13 Feb 2018 23:01:13 +0100 > Lukasz Majewski wrote: > > > This commit fixes several issues: > > > > - After moving env related code to ./env directory the env_common.o > > file is

Re: [U-Boot] [RFC] usb: host: xhci-omap: Remove redundant board_usb_init and board_usb_cleanup functions

2018-02-14 Thread Bin Meng
On Wed, Feb 14, 2018 at 6:10 PM, Faiz Abbas wrote: > board_usb_init()/_cleanup() should be in board files and don't have > a place in the xhci-omap driver. Weak versions for > board_usb_init()/_cleanup() already exist in common/usb.c > (for host mode) and

Re: [U-Boot] [PATCH 8/8] Migrate generic bootcount to Kconfig

2018-02-14 Thread Lukasz Majewski
Hi Alex, > On Tue, Feb 13, 2018 at 2:41 PM, Lukasz Majewski > wrote: > > Hi Alex, > > > >> On Mon, Feb 12, 2018 at 8:48 AM, Lukasz Majewski > >> wrote: > >> > Hi Alex, > >> > > >> >> On Sun, Feb 11, 2018 at 9:44 PM, Lukasz Majewski > >> >>

Re: [U-Boot] [RFC] usb: host: xhci-omap: Remove redundant board_usb_init and board_usb_cleanup functions

2018-02-14 Thread Marek Vasut
On 02/14/2018 11:10 AM, Faiz Abbas wrote: > board_usb_init()/_cleanup() should be in board files and don't have > a place in the xhci-omap driver. Weak versions for > board_usb_init()/_cleanup() already exist in common/usb.c > (for host mode) and drivers/usb/gadget/g_dnl.c (for gadget mode). > >

Re: [U-Boot] [PATCH] script: Make the get_default_envs.sh script working with newest u-boot

2018-02-14 Thread Lukasz Majewski
Hi Tuomas, > On Wed, 14 Feb 2018 09:50:17 +0100 > Lukasz Majewski wrote: > > > On Wed, 14 Feb 2018 03:25:58 +0200 > > Tuomas Tynkkynen wrote: > > > > > Hi, > > > > > > On Tue, 13 Feb 2018 23:01:13 +0100 > > > Lukasz Majewski wrote: > > >

Re: [U-Boot] rk3288: broken boot

2018-02-14 Thread Dr. Philipp Tomsich
> On 14 Feb 2018, at 11:47, Jagan Teki wrote: > > On Wed, Feb 14, 2018 at 5:38 AM, Dr. Philipp Tomsich > > wrote: >> Jagan, >> >>> On 13 Feb 2018, at 13:20, Jagan Teki

Re: [U-Boot] [PATCH] drivers/ddr/fsl: Dual-license DDR driver

2018-02-14 Thread Stefan Roese
On 13.02.2018 17:30, York Sun wrote: On 02/13/2018 04:49 AM, Wolfgang Denk wrote: Dear York, In message you wrote: Nobody said anything. Some addresses bounced. And most changes made out people outside

Re: [U-Boot] [PATCH] drivers/ddr/fsl: Dual-license DDR driver

2018-02-14 Thread Thomas Schaefer
Hi York, I was not aware that my small warning fix really made it up to mainstream code. Anyway I approve that license change. Best regards, Thomas -Urspr√ľngliche Nachricht- Von: York Sun [mailto:york@nxp.com] Gesendet: Dienstag, 13. Februar 2018 17:06 An: Wolfgang Denk Cc: Marek

Re: [U-Boot] [RFC] usb: host: xhci-omap: Remove redundant board_usb_init and board_usb_cleanup functions

2018-02-14 Thread Marek Vasut
On 02/14/2018 12:20 PM, Faiz Abbas wrote: > Hi, > > On Wednesday 14 February 2018 03:46 PM, Marek Vasut wrote: >> On 02/14/2018 11:10 AM, Faiz Abbas wrote: >>> board_usb_init()/_cleanup() should be in board files and don't have >>> a place in the xhci-omap driver. Weak versions for >>>

[U-Boot] [PATCH v3] script: Make the get_default_envs.sh script working with newest u-boot

2018-02-14 Thread Lukasz Majewski
This commit fixes several issues: - After moving env related code to ./env directory the env_common.o file is no longer present in the system (has been replaced with built-in.o). - Use ${OBJCOPY} if available, fallback to system default's objcopy if not present. - Extend the script to accept

[U-Boot] [PATCH v2] script: Make the get_default_envs.sh script working with newest u-boot

2018-02-14 Thread Lukasz Majewski
This commit fixes several issues: - After moving env related code to ./env directory the env_common.o file is no longer present in the system (has been replaced with built-in.o). - Use ${OBJCOPY} if available, fallback to system default's objcopy if not present. - Extend the script to accept

Re: [U-Boot] [PATCH] script: Make the get_default_envs.sh script working with newest u-boot

2018-02-14 Thread Tuomas Tynkkynen
On Wed, 14 Feb 2018 09:50:17 +0100 Lukasz Majewski wrote: > On Wed, 14 Feb 2018 03:25:58 +0200 > Tuomas Tynkkynen wrote: > > > Hi, > > > > On Tue, 13 Feb 2018 23:01:13 +0100 > > Lukasz Majewski wrote: > > > > > This commit fixes several

[U-Boot] [RFC] usb: host: xhci-omap: Remove redundant board_usb_init and board_usb_cleanup functions

2018-02-14 Thread Faiz Abbas
board_usb_init()/_cleanup() should be in board files and don't have a place in the xhci-omap driver. Weak versions for board_usb_init()/_cleanup() already exist in common/usb.c (for host mode) and drivers/usb/gadget/g_dnl.c (for gadget mode). Signed-off-by: Faiz Abbas ---

Re: [U-Boot] rk3288: broken boot

2018-02-14 Thread Jagan Teki
On Wed, Feb 14, 2018 at 5:38 AM, Dr. Philipp Tomsich wrote: > Jagan, > >> On 13 Feb 2018, at 13:20, Jagan Teki wrote: >> >> On Tue, Feb 13, 2018 at 5:29 PM, Dr. Philipp Tomsich >> wrote: >>>

Re: [U-Boot] [PATCH] dfu: Limit dfu_mmc to non-SPL case

2018-02-14 Thread Lukasz Majewski
Hi Faiz, > Hi, > > On Wednesday 14 February 2018 08:04 PM, Tom Rini wrote: > > On Wed, Feb 14, 2018 at 07:59:46PM +0530, Faiz Abbas wrote: > > > >> Since 82b9dc63 ("Only build cli_readline.o for CMDLINE on > >> non-SPL"), cli_simple.c is only being built for non-SPL case. > >> However,

[U-Boot] [PATCH v2 9/9] rk3288: vyasa: Add eMMC boot support

2018-02-14 Thread Jagan Teki
RK3288 Vyasa has eMMC boot support, with JP4 open. Signed-off-by: Jagan Teki --- Note: Linux patch for this support is in ML. arch/arm/dts/rk3288-vyasa-u-boot.dtsi | 4 arch/arm/dts/rk3288-vyasa.dts | 11 +++

[U-Boot] [PATCH v2 7/9] ARM: dts: rockchip: Add usb host for rk3288-vyasa

2018-02-14 Thread Jagan Teki
Add usb host support for rk3288-vyasa, board support hub power through phy_pwr_en and usb2 host power through usb2_pwr_en and naming conversion followed as per schematic. Signed-off-by: Jagan Teki Acked-by: Philipp Tomsich

[U-Boot] [PATCH v2 3/9] ARM: dts: rockchip: rk3288-vyasa: Use vmmc-supply from PMIC

2018-02-14 Thread Jagan Teki
rk808, SWITCH_REG1 has configured for sdmmc regulator as vcc_sd, so use the same by renaming vcc33_sd to vcc_sd(as per schematic) and drop explicit regulator definition from root. Signed-off-by: Jagan Teki Acked-by: Philipp Tomsich

[U-Boot] [PATCH v2 2/9] ARM: dts: rockchip: rk3288-vyasa: Remove vdd_log from rk808, DCDC_REG1

2018-02-14 Thread Jagan Teki
vdd_log, never used on DCDC_REG1 of rk808 from latest schematic so remove the same and update the regulator-name as 'vdd_arm' to sync with existing rk3288 board dts files. Signed-off-by: Jagan Teki Acked-by: Philipp Tomsich

[U-Boot] [PATCH v2 6/9] rockchip: rk3288-vyasa: defconfig: Enable gmac support

2018-02-14 Thread Jagan Teki
Enable gmac support for rk3288-vyasa board. Signed-off-by: Jagan Teki Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich --- configs/vyasa-rk3288_defconfig | 3 +++ 1 file changed, 3

Re: [U-Boot] [RFC] usb: host: xhci-omap: Remove redundant board_usb_init and board_usb_cleanup functions

2018-02-14 Thread Marek Vasut
On 02/14/2018 03:14 PM, Faiz Abbas wrote: > Hi, > > On Wednesday 14 February 2018 06:53 PM, Marek Vasut wrote: >> On 02/14/2018 12:20 PM, Faiz Abbas wrote: >>> Hi, >>> >>> On Wednesday 14 February 2018 03:46 PM, Marek Vasut wrote: On 02/14/2018 11:10 AM, Faiz Abbas wrote: >

Re: [U-Boot] U-Boot

2018-02-14 Thread Mariano Coromac
H it displays the following: Class Probed Name root[ + ]root_driver simple_bus [ ]`-- ahb mmc [ ]|-- sdio-host@a000 blk [ ]| `-- sdio-h...@a000.blk mmc [ ]

[U-Boot] [PATCH v2 5/9] ARM: dts: rockchip: Add gmac support for rk3288-vyasa board

2018-02-14 Thread Jagan Teki
Sync gmac dts node from Linux. Signed-off-by: Jagan Teki Acked-by: Philipp Tomsich Signed-off-by: Jagan Teki --- arch/arm/dts/rk3288-vyasa.dts | 41 + 1 file

[U-Boot] [PATCH v2 8/9] ARM: dts: rockchip: Add usb otg for rk3288-vyasa

2018-02-14 Thread Jagan Teki
Add usb otg support for rk3288-vyasa, board support usb1 otg power through otg_vbus_drv and naming conversion followed as per schematic. Signed-off-by: Jagan Teki Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich

Re: [U-Boot] [PATCH v1 2/2] mmc: fix bug in mmc_startup_v4()

2018-02-14 Thread Sam Protsenko
On 9 February 2018 at 13:09, Jean-Jacques Hiblot wrote: > The correspondence between mmc versions as used in u-boot and the version > numbers reported in register EXT_CSD_REV is wrong for versions above and > including MMC_VERSION_4_41. All those versions were shifted by one: >

[U-Boot] [PATCH v2 0/9] rockchip: rk3288-vyasa: dts fixes/additions

2018-02-14 Thread Jagan Teki
Series add new dts nodes like gmac, usb, io_domains and fixed existing regulator, pmic stuff as per schematic. Changes for v2: - Collect Acked-by and Reviewed-by tags from Philipp - Add eMMC boot support - Add missing commit message - Remove RK_GPIO8 macro to sync with Linux Jagan Teki (9):

Re: [U-Boot] [RFC] usb: host: xhci-omap: Remove redundant board_usb_init and board_usb_cleanup functions

2018-02-14 Thread Faiz Abbas
Hi, On Wednesday 14 February 2018 06:53 PM, Marek Vasut wrote: > On 02/14/2018 12:20 PM, Faiz Abbas wrote: >> Hi, >> >> On Wednesday 14 February 2018 03:46 PM, Marek Vasut wrote: >>> On 02/14/2018 11:10 AM, Faiz Abbas wrote: board_usb_init()/_cleanup() should be in board files and don't have

[U-Boot] [PATCH] dfu: Limit dfu_mmc to non-SPL case

2018-02-14 Thread Faiz Abbas
Since 82b9dc63 ("Only build cli_readline.o for CMDLINE on non-SPL"), cli_simple.c is only being built for non-SPL case. However, dfu_mmc requires cli_simple.c to build and dfu fails to build for SPL when CONFIG_HUSH_PARSER is disabled. Therefore, limit dfu_mmc to non-SPL case only.

Re: [U-Boot] [PATCH] dfu: Limit dfu_mmc to non-SPL case

2018-02-14 Thread Tom Rini
On Wed, Feb 14, 2018 at 07:59:46PM +0530, Faiz Abbas wrote: > Since 82b9dc63 ("Only build cli_readline.o for CMDLINE on non-SPL"), > cli_simple.c is only being built for non-SPL case. However, dfu_mmc > requires cli_simple.c to build and dfu fails to build for SPL when > CONFIG_HUSH_PARSER is

Re: [U-Boot] [PATCH] dfu: Limit dfu_mmc to non-SPL case

2018-02-14 Thread Faiz Abbas
Hi, On Wednesday 14 February 2018 08:04 PM, Tom Rini wrote: > On Wed, Feb 14, 2018 at 07:59:46PM +0530, Faiz Abbas wrote: > >> Since 82b9dc63 ("Only build cli_readline.o for CMDLINE on non-SPL"), >> cli_simple.c is only being built for non-SPL case. However, dfu_mmc >> requires cli_simple.c to

[U-Boot] [PATCH 1/2] rockchip: rk3288: Add TPL_LDSCRIPT

2018-02-14 Thread Jagan Teki
Due to size limitations in SPL by adding falcon mode, rk3288 support TPL. In order to not overlap SPL_TEXT_BASE add TPL_TEXT_BASE with u-boot-tpl.lds that intern call u-boot-spl.lds with proper TEXT_BASE values. Signed-off-by: Jagan Teki ---

[U-Boot] [PATCH 2/2] rockchip: rk3288: Fix TPL_TEXT_BASE

2018-02-14 Thread Jagan Teki
rockchip boot0 add 4 bytes data (0xeaff) at beginning of executable(0x800) in order to make generic and compatible boot0 for all platforms and the resulting executable will be input to mkimage and the output of mkimage with initial 4 bytes will overwritten by 'spl_hdr' Since the TPL_TEXT_BASE

Re: [U-Boot] [RFC] usb: host: xhci-omap: Remove redundant board_usb_init and board_usb_cleanup functions

2018-02-14 Thread Uri Mashiach
Hi, Sorry for the late response. On 02/14/2018 04:19 PM, Marek Vasut wrote: On 02/14/2018 03:14 PM, Faiz Abbas wrote: Hi, On Wednesday 14 February 2018 06:53 PM, Marek Vasut wrote: On 02/14/2018 12:20 PM, Faiz Abbas wrote: Hi, On Wednesday 14 February 2018 03:46 PM, Marek Vasut wrote: On

Re: [U-Boot] [PATCH] dfu: Limit dfu_mmc to non-SPL case

2018-02-14 Thread Tom Rini
On Wed, Feb 14, 2018 at 08:15:15PM +0530, Faiz Abbas wrote: > Hi, > > On Wednesday 14 February 2018 08:04 PM, Tom Rini wrote: > > On Wed, Feb 14, 2018 at 07:59:46PM +0530, Faiz Abbas wrote: > > > >> Since 82b9dc63 ("Only build cli_readline.o for CMDLINE on non-SPL"), > >> cli_simple.c is only

Re: [U-Boot] [RFC] usb: host: xhci-omap: Remove redundant board_usb_init and board_usb_cleanup functions

2018-02-14 Thread Faiz Abbas
Hi Uri, On Wednesday 14 February 2018 08:56 PM, Uri Mashiach wrote: > Hi, > Sorry for the late response. > > On 02/14/2018 04:19 PM, Marek Vasut wrote: >> On 02/14/2018 03:14 PM, Faiz Abbas wrote: >>> Hi, >>> >>> On Wednesday 14 February 2018 06:53 PM, Marek Vasut wrote: On 02/14/2018 12:20

[U-Boot] [PATCH v2 4/9] ARM: dts: rockchip: Add regulators for rk3288-vyasa

2018-02-14 Thread Jagan Teki
Add supporting regulators for rk3288-vyasa board, dc12_vbat is parent regulatorand followed regulators as are child regulators. regulator naming conversion followed as per schematic for better readability and easy for identification. Signed-off-by: Jagan Teki

[U-Boot] [PATCH v2 1/9] ARM: dts: rockchip: Sync rk3288-vyasa dts from Linux

2018-02-14 Thread Jagan Teki
Sync rk3288-vyasa board dts from Linux for proper updates and maintenance - rk3288-vyasa.dts: Similar to Linux dts - rk3288-vyasa-u-boot.dtsi: u-boot dts changes Also updated MAINTAINERS for these dts files. Signed-off-by: Jagan Teki Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot,4/8] spi: Migrate CONFIG_MXC_SPI to Kconfig

2018-02-14 Thread Tom Rini
On Wed, Feb 07, 2018 at 02:42:19AM +0200, Tuomas Tynkkynen wrote: > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] ARM: image: indent with tab instead of 4 spaces

2018-02-14 Thread Tom Rini
On Tue, Feb 13, 2018 at 11:32:15AM +0900, Masahiro Yamada wrote: > Commit 6808ef9ac2a6 ("move booti_setup to arch/arm/lig/image.c") > not only moved the code, but also replaced a tab with 4 spaces > to break the Linux coding style. > > Restore tab indentation. > > Signed-off-by: Masahiro Yamada

Re: [U-Boot] [U-Boot, v2, 1/3] .travis.yml: download xtensa prebuilt toolchain

2018-02-14 Thread Tom Rini
On Wed, Feb 07, 2018 at 03:30:01PM -0800, Max Filippov wrote: > xtensa toolchains are core-specific, so give full toolchain name and > download corresponding prebuilt toolchain from the github release. > > Signed-off-by: Max Filippov Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot,3/8] spi: Migrate CONFIG_MXS_SPI to Kconfig

2018-02-14 Thread Tom Rini
On Wed, Feb 07, 2018 at 02:42:18AM +0200, Tuomas Tynkkynen wrote: > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] cmd: booti: fix invalid image address in debug message

2018-02-14 Thread Tom Rini
On Tue, Feb 13, 2018 at 12:10:02PM +0900, Masahiro Yamada wrote: > With commit 6808ef9ac2a6 ("move booti_setup to arch/arm/lig/image.c"), > images->ep has not been set at this point. > > Fixes: 6808ef9ac2a6 ("move booti_setup to arch/arm/lig/image.c") > Signed-off-by: Masahiro Yamada

Re: [U-Boot] [U-Boot, 2/2] fix spelling of 'functions' in 2 places (was 'funtcions')

2018-02-14 Thread Tom Rini
On Tue, Feb 13, 2018 at 01:18:27PM +0100, Simon Goldschmidt wrote: > Signed-off-by: Simon Goldschmidt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list

[U-Boot] [PATCH 2/3] env: Fix missed getenv_ulong to env_get_ulong conversion

2018-02-14 Thread Andrew F. Davis
This seems to have been missed, possibly due to the inability to enable TI_SECURE_DEVICE on Keystone2 devices previously. Fixes: bfebc8c965e4 ("env: Rename getenv_hex(), getenv_yesno(), getenv_ulong()") Signed-off-by: Andrew F. Davis --- board/ti/ks2_evm/board_k2g.c | 2 +- 1 file

[U-Boot] [PATCH v2 1/1] fs: fat: avoid superfluous conversion calling set_cluster

2018-02-14 Thread Heinrich Schuchardt
Parameter size of function set_cluster is of type unsigned long. It makes no sense to convert actsize to int before passing it to set_cluster as size. Let's use loff_t as type of parameter size to avoid any conversion. Signed-off-by: Heinrich Schuchardt --- v2 change

Re: [U-Boot] [U-Boot, 6/8] spi: Migrate CONFIG_LPC32XX_SSP to Kconfig

2018-02-14 Thread Tom Rini
On Wed, Feb 07, 2018 at 02:42:21AM +0200, Tuomas Tynkkynen wrote: > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH] dm: pcie: designware: add correct ATU handling

2018-02-14 Thread igall
From: Igal Liberman Currently, ATU (address translation unit) implementation doesn't support translate addresses > 32 bits. This patch allows to configure ATU correctly for different memory accesses (memory, configuration and IO). The same approach is used in Linux Kernel.

Re: [U-Boot] [U-Boot, 5/8] spi: Migrate CONFIG_MPC8XXX_SPI to Kconfig

2018-02-14 Thread Tom Rini
On Wed, Feb 07, 2018 at 02:42:20AM +0200, Tuomas Tynkkynen wrote: > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, 7/8] spi: Migrate CONFIG_KIRKWOOD_SPI to Kconfig

2018-02-14 Thread Tom Rini
On Wed, Feb 07, 2018 at 02:42:22AM +0200, Tuomas Tynkkynen wrote: > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH 3/3] defconfig: k2x_hs_evm: Re-enable TI_SECURE_DEVICE in HS K2x parts

2018-02-14 Thread Andrew F. Davis
These got removed in config re-syncs due to a Kconfig bug. Add these back here. Signed-off-by: Andrew F. Davis --- configs/k2e_hs_evm_defconfig | 2 ++ configs/k2g_hs_evm_defconfig | 2 ++ configs/k2hk_hs_evm_defconfig | 2 ++ 3 files changed, 6 insertions(+) diff --git

[U-Boot] [PATCH 1/3] ARM: Kconfig: Move TI_SECURE_DEVICE to a common area

2018-02-14 Thread Andrew F. Davis
TI_SECURE_DEVICE is used by both OMAP2+ and Keystone2 family devices, and so when ARCH_OMAP2PLUS was used to gate off the OMAP2+ Kconfig Keystone2 family devices lost this config option. Move this option out of mach-omap2 Kconfig to a spot accessible by both families. We picked arch/arm/Kconfig

[U-Boot] [PATCH v2 1/1] fs: fat: avoid useless conversion when calling get_cluster

2018-02-14 Thread Heinrich Schuchardt
Parameter size of function get_cluster() is of type unsigned long. It makes no sense to convert actsize to int before passing it to get_cluster as size. Let't use t_off as type of parameter to avoid any type conversion. Signed-off-by: Heinrich Schuchardt --- v2 change

Re: [U-Boot] [U-Boot,1/8] spi: Migrate CONFIG_SH_SPI to Kconfig

2018-02-14 Thread Tom Rini
On Wed, Feb 07, 2018 at 02:42:16AM +0200, Tuomas Tynkkynen wrote: > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot,2/8] spi: Migrate CONFIG_SH_QSPI to Kconfig

2018-02-14 Thread Tom Rini
On Wed, Feb 07, 2018 at 02:42:17AM +0200, Tuomas Tynkkynen wrote: > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, 1/1, for, v2018.03] efi_driver: comment struct efi_driver_ops

2018-02-14 Thread Tom Rini
On Mon, Feb 12, 2018 at 12:55:28PM +0100, Heinrich Schuchardt wrote: > Provide description for struct efi_driver_ops. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] SystemACE: Remove

2018-02-14 Thread Tom Rini
On Mon, Feb 12, 2018 at 09:51:33AM -0500, Tom Rini wrote: > This driver is no longer used on any supported platform in U-Boot and > there is no interest in maintaining it further from people that have > used it historically. > > Cc: Simon Glass > Cc: Michal Simek

Re: [U-Boot] [U-Boot,8/8] spi: Migrate CONFIG_CF_SPI to Kconfig

2018-02-14 Thread Tom Rini
On Wed, Feb 07, 2018 at 02:42:23AM +0200, Tuomas Tynkkynen wrote: > Signed-off-by: Tuomas Tynkkynen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, v2, 3/3] .travis.yml: test xtensa xtfpga board in QEMU

2018-02-14 Thread Tom Rini
On Wed, Feb 07, 2018 at 03:30:03PM -0800, Max Filippov wrote: > This allows running tests on emulated KC705 board with DC233C xtensa > core. It expects to find conf.xtfpga_qemu in the uboot-test-hooks. > > Signed-off-by: Max Filippov Applied to u-boot/master, thanks! --

Re: [U-Boot] [RFC] usb: host: xhci-omap: Remove redundant board_usb_init and board_usb_cleanup functions

2018-02-14 Thread Faiz Abbas
Hi, On Wednesday 14 February 2018 03:46 PM, Marek Vasut wrote: > On 02/14/2018 11:10 AM, Faiz Abbas wrote: >> board_usb_init()/_cleanup() should be in board files and don't have >> a place in the xhci-omap driver. Weak versions for >> board_usb_init()/_cleanup() already exist in common/usb.c >>

Re: [U-Boot] [U-Boot, RFC] Kconfig: cmd: Make networking command dependent on NET

2018-02-14 Thread Tom Rini
On Tue, Feb 06, 2018 at 01:26:52PM +0100, Michal Simek wrote: > Enable networking command only when NET is enabled. > And remove selecting NET for CMD_NET > > Signed-off-by: Michal Simek I tried taking this, but as-is, now we have a big problem due to "everyone"

Re: [U-Boot] U-Boot

2018-02-14 Thread Mariano Coromac
Forget it guys, I just realized what was wrong. reg = <0xf8038200 0x200>; Before it was reg = <0xf8038200 0x100>; So if anyone else (that wants to use the flexcom uart) asks you about this now there's another thing you can point to. If I encounter another problem or something I'll get back to you.

Re: [U-Boot] [RFC] usb: host: xhci-omap: Remove redundant board_usb_init and board_usb_cleanup functions

2018-02-14 Thread Uri Mashiach
Hi Faiz, On 02/14/2018 05:47 PM, Faiz Abbas wrote: Hi Uri, On Wednesday 14 February 2018 08:56 PM, Uri Mashiach wrote: Hi, Sorry for the late response. On 02/14/2018 04:19 PM, Marek Vasut wrote: On 02/14/2018 03:14 PM, Faiz Abbas wrote: Hi, On Wednesday 14 February 2018 06:53 PM, Marek

Re: [U-Boot] [PATCH 8/8] Migrate generic bootcount to Kconfig

2018-02-14 Thread Alex Kiernan
On Wed, Feb 14, 2018 at 8:53 AM, Lukasz Majewski wrote: >> >> Whatever we do, I think CONFIG_SYS_BOOTCOUNT_ADDR wants splitting >> >> into at least two: >> >> >> >> - I2C - an offset from an I2C base for the bootcounter >> > - RAM/SoC memory - location of special register to

Re: [U-Boot] [U-Boot,1/1] dm: core: fix typo in comment (device.h)

2018-02-14 Thread Tom Rini
On Mon, Feb 12, 2018 at 12:38:36PM +0100, Heinrich Schuchardt wrote: > %s/Indentiies/Identifies/g > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] arm: update Kconfig help for ENABLE_ARM_SOC_BOOT0_HOOK

2018-02-14 Thread Tom Rini
On Tue, Feb 13, 2018 at 01:18:00PM +0100, Simon Goldschmidt wrote: > When this config is enabled, is included, > but the Kconfig help says this should be a define > (ARM_SOC_BOOT0_HOOK). > > The code for this in arch/arm/lib/vectors.s was changed on > 01/02/2017 with commit ce62e57fc571 ("ARM:

Re: [U-Boot] [U-Boot,v2,2/3] xtfpga: enable hush parser

2018-02-14 Thread Tom Rini
On Wed, Feb 07, 2018 at 03:30:02PM -0800, Max Filippov wrote: > Remove CONFIG_BOOT_RETRY_TIME as it doesn't do much good and enable > CONFIG_HUSH_PARSER in xtfpga_defconfig. > > Signed-off-by: Max Filippov Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] U-Boot

2018-02-14 Thread Mariano Coromac
I think I found the root problem for this. I am using a flexcom uart. The ones that are defined in sama5d2.dtsi are normal uarts, one can use those definitions alongside the drivers to use uart0 to uart4. I found a definition to use flexcom, here:

[U-Boot] Please fix ls1046ardb

2018-02-14 Thread York Sun
Mingkai, LS1046ARDB is broken for both QSPI and SD. For QSPI, I cannot use environmental variables. For SD boot, it fails when trying to init SD card. Partial log is Initializing DDRusing SPD WARNING: Calling __hwconfig without a buffer and before environment is ready WARNING: Calling

Re: [U-Boot] [PATCH 8/8] Migrate generic bootcount to Kconfig

2018-02-14 Thread Lukasz Majewski
Hi Alex, > On Wed, Feb 14, 2018 at 8:53 AM, Lukasz Majewski > wrote: > >> >> Whatever we do, I think CONFIG_SYS_BOOTCOUNT_ADDR wants > >> >> splitting into at least two: > >> >> > >> >> - I2C - an offset from an I2C base for the bootcounter > >> > - RAM/SoC memory - location

Re: [U-Boot] [PATCH] configs: Migrate CONFIG_SYS_TEXT_BASE

2018-02-14 Thread Adam Ford
On Mon, Feb 12, 2018 at 6:01 PM, Tom Rini wrote: > On Tue, Feb 06, 2018 at 03:15:58PM -0600, Adam Ford wrote: >> On Sat, Feb 3, 2018 at 11:10 AM, Tom Rini wrote: >> > On the NIOS2 and Xtensa architectures, we do not have >> > CONFIG_SYS_TEXT_BASE set.

Re: [U-Boot] [PATCH 1/2] dfu: Fix up the Kconfig mess

2018-02-14 Thread Lukasz Majewski
Hi Marek, > Clean up the screaming mess of configuration options that DFU is. > It was impossible to configure DFU such that TFTP is enabled and > USB is not, this patch fixes that and assures that DFU TFTP and > DFU USB can be enabled separatelly and that the correct pieces > of code are

Re: [U-Boot] Please fix ls1046ardb

2018-02-14 Thread Jonathan Gray
On Wed, Feb 14, 2018 at 07:25:53PM +, York Sun wrote: > Mingkai, > > LS1046ARDB is broken for both QSPI and SD. For QSPI, I cannot use > environmental variables. For SD boot, it fails when trying to init SD > card. Partial log is > > Initializing DDRusing SPD > WARNING: Calling

Re: [U-Boot] Please fix ls1046ardb

2018-02-14 Thread York Sun
On 02/14/2018 04:30 PM, Jonathan Gray wrote: > On Wed, Feb 14, 2018 at 07:25:53PM +, York Sun wrote: >> Mingkai, >> >> LS1046ARDB is broken for both QSPI and SD. For QSPI, I cannot use >> environmental variables. For SD boot, it fails when trying to init SD >> card. Partial log is >> >>

[U-Boot] [PATCH v2 07/11] efi_loader: efi_get_time_init should return status code

2018-02-14 Thread Heinrich Schuchardt
All EFI initialization functions should return a status code. Signed-off-by: Heinrich Schuchardt --- v2 new patch --- include/efi_loader.h | 2 +- lib/efi_loader/efi_runtime.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH v2 06/11] efi_loader: exit status for efi_reset_system_init

2018-02-14 Thread Heinrich Schuchardt
efi_reset_system_init provides the architecture or board specific initialization of the EFI subsystem. Errors should be caught and signalled by a return code. Signed-off-by: Heinrich Schuchardt --- v2 new patch --- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 4 ++--

[U-Boot] [PATCH v2 10/11] efi_loader: support device tree for bootefi selftest

2018-02-14 Thread Heinrich Schuchardt
The second argument of the bootefi command should always be usable to specify a device tree. This was missing for bootefi selftest and bootefi hello. Proper error handling is added. Signed-off-by: Heinrich Schuchardt --- v2 new patch --- cmd/bootefi.c

[U-Boot] [PATCH v2 08/11] efi_loader: do_bootefi_exec should always return an EFI status code

2018-02-14 Thread Heinrich Schuchardt
The return type of do_bootefi_exec() is efi_status_t. So in case of an error we should always return an EFI status code. Signed-off-by: Heinrich Schuchardt --- v2 no change, patch resent --- cmd/bootefi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[U-Boot] [PATCH v2 09/11] efi_loader: check initialization of EFI subsystem is successful

2018-02-14 Thread Heinrich Schuchardt
Up to now errors in the initialization of the EFI subsystems was not checked. If any initialization fails, leave the bootefi command. We do not retry initialization because this would require to undo all prior initalization steps. Suggested-by: Simon Glass Signed-off-by:

[U-Boot] [PATCH 2/2] usb: gadget: sdp: fix pointer casts for 64bit archs

2018-02-14 Thread Andre Heider
The SDP protocol contains multiple 32bit pointers. Add a helper function to get a valid pointer from these values and use it. Signed-off-by: Andre Heider --- drivers/usb/gadget/f_sdp.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH 1/2] usb: gadget: sdp: add missing line breaks

2018-02-14 Thread Andre Heider
Cosmetic change. Signed-off-by: Andre Heider --- cmd/usb_gadget_sdp.c | 4 ++-- common/spl/spl_sdp.c | 4 ++-- drivers/usb/gadget/f_sdp.c | 14 +++--- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/cmd/usb_gadget_sdp.c

[U-Boot] [PATCH] net: e1000: Fix e1000_igb semaphore handling

2018-02-14 Thread Bernhard Messerklinger
Fix commit f1bcad22dd19 ("net: e1000: add support for writing to EEPROM"). Signed-off-by: Bernhard Messerklinger --- drivers/net/e1000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index

Re: [U-Boot] [PATCH 3/3] defconfig: k2x_hs_evm: Re-enable TI_SECURE_DEVICE in HS K2x parts

2018-02-14 Thread Lokesh Vutla
On Wednesday 14 February 2018 11:23 PM, Andrew F. Davis wrote: > These got removed in config re-syncs due to a Kconfig bug. Add these > back here. > > Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- >

Re: [U-Boot] [PATCH 2/3] env: Fix missed getenv_ulong to env_get_ulong conversion

2018-02-14 Thread Lokesh Vutla
On Wednesday 14 February 2018 11:23 PM, Andrew F. Davis wrote: > This seems to have been missed, possibly due to the inability to > enable TI_SECURE_DEVICE on Keystone2 devices previously. > > Fixes: bfebc8c965e4 ("env: Rename getenv_hex(), getenv_yesno(), > getenv_ulong()") > Signed-off-by:

Re: [U-Boot] [PATCH 1/3] ARM: Kconfig: Move TI_SECURE_DEVICE to a common area

2018-02-14 Thread Lokesh Vutla
On Wednesday 14 February 2018 11:23 PM, Andrew F. Davis wrote: > TI_SECURE_DEVICE is used by both OMAP2+ and Keystone2 family devices, > and so when ARCH_OMAP2PLUS was used to gate off the OMAP2+ Kconfig > Keystone2 family devices lost this config option. > > Move this option out of mach-omap2

[U-Boot] [PATCH v2 00/11] efi_loader: error handling cmd/bootefi.c

2018-02-14 Thread Heinrich Schuchardt
This patch series is focused on providing error checking during the initialization of the EFI subsystem. If any of the registrations routines fails bootefi is not executed. As currently the registration attempt cannot be unroled any further bootefi call will fail. Passing a devicetree to bootefi

[U-Boot] [PATCH 3/3] cbfs: add support for cbfs header components

2018-02-14 Thread Andre Heider
This fixes walking the cbfs file list because the bound checks do not apply to header components. Output of coreboot's cbfstool: Name Offset Type Size Comp cbfs master header 0x0cbfs header32 none fallback/romstage

[U-Boot] [PATCH 2/3] fs: cbfs: fix locating the cbfs header

2018-02-14 Thread Andre Heider
The value at the end of the rom is not a pointer, it is an offset relative to the end of rom. Signed-off-by: Andre Heider --- fs/cbfs/cbfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/cbfs/cbfs.c b/fs/cbfs/cbfs.c index 6e1107d751..46da8f134f

[U-Boot] [PATCH v2 01/11] efi_loader: efi_smbios_register should have a return value

2018-02-14 Thread Heinrich Schuchardt
Errors may occur inside efi_smbios_register(). - Return a status code. - Remove unused variables. - Use constants where applicable. Suggested-by: Simon Glass Signed-off-by: Heinrich Schuchardt --- v2 remove a change in unrelated code

[U-Boot] [PATCH v2 11/11] efi_selftest: check installation of the device tree

2018-02-14 Thread Heinrich Schuchardt
The unit test checks if a device tree is installed. It requires that the 'compatible' property of the root node exists. If available it prints the 'serial-number' property. The serial-number property is derived from the environment variable 'serial#'. This can be used to check if the

[U-Boot] [PATCH v2 02/11] efi_loader: return efi_status_t from efi_gop_register

2018-02-14 Thread Heinrich Schuchardt
All initialization routines should return a status code instead of a boolean. Signed-off-by: Heinrich Schuchardt --- v2 new patch --- include/efi_loader.h | 2 +- lib/efi_loader/efi_gop.c | 34 ++ 2 files changed, 23

[U-Boot] [PATCH v2 05/11] efi_loader: simplify calling efi_init_obj_list

2018-02-14 Thread Heinrich Schuchardt
efi_init_obj_list() should be executed only once. Rather than having the caller check this variable and the callee set it, move all access to the variable inside the function. This reduces the logic needed to call efi_init_obj_list(). Suggested-by: Simon Glass Signed-off-by:

[U-Boot] [PATCH v2 04/11] efi_loader: consistently return efi_status_t efi_watchdog_register

2018-02-14 Thread Heinrich Schuchardt
efi_watchdog_register() should always return a status code and not a boolean value. Signed-off-by: Heinrich Schuchardt --- v2 new patch --- include/efi_loader.h | 2 +- lib/efi_loader/efi_watchdog.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)

[U-Boot] How to test new bootloaders on Jetson TX1?

2018-02-14 Thread Andreas Färber
Hello, I would like to test the latest version of U-Boot on the Jetson TX1. Unfortunately U-Boot is lacking a README that would explain how to do that: http://git.denx.de/?p=u-boot.git;a=tree;f=board/nvidia/p2371-2180;h=097fb9aaec8abd522b7b8382e5c4169f5ea8f691;hb=HEAD I understand that the

[U-Boot] [PATCH v2 03/11] efi_loader: return efi_status_t from efi_net_register

2018-02-14 Thread Heinrich Schuchardt
Consistently return status codes form efi_net_register(). Signed-off-by: Heinrich Schuchardt --- v2 new patch --- include/efi_loader.h | 2 +- lib/efi_loader/efi_net.c | 24 +--- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git

[U-Boot] [PATCH 1/3] cmd: cbfs: fix reading the end_of_rom pointer for 64bit archs

2018-02-14 Thread Andre Heider
The cast breaks the pointer on 64bit archs, so lets get rid of it. Signed-off-by: Andre Heider --- cmd/cbfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cbfs.c b/cmd/cbfs.c index 799ba01fcc..736f8c4527 100644 --- a/cmd/cbfs.c +++ b/cmd/cbfs.c @@