Re: [U-Boot] [PATCH v2 06/34] i2c: designware: Add error checking on init

2019-02-16 Thread Heiko Schocher
Hello Simon, Am 17.02.2019 um 04:24 schrieb Simon Glass: At present this driver does not check whether it is able to actually communicate with the I2C controller. It prints a timeout message but still considers the probe to be successful. To fix this, add some checking that the init succeeds.

[U-Boot] [PATCH] ARM: at91: Apply PMECC header for NAND_BOOT only

2019-02-16 Thread Derald D. Woods
This commit guards against applying the PMECC header in a non-NAND_BOOT scenario. This a modified version of a previous patch found here: https://patchwork.ozlabs.org/patch/1009885/ Now that SPL_GENERATE_ATMEL_PMECC_HEADER has been converted to Kconfig, this provides an additional guard for build

[U-Boot] [PATCH v2 28/34] x86: broadwell: Add support for the ADSP

2019-02-16 Thread Simon Glass
The Application Digital Signal Processor is used for sound processing with broadwell. Add a driver to support this. Signed-off-by: Simon Glass --- Changes in v2: - Drop useless 'set' comment arch/x86/cpu/broadwell/Makefile| 1 + arch/x86/cpu/broadwell/adsp.c | 156 ++

[U-Boot] [PATCH v2 32/34] sound: Add a driver for RealTek RT5677

2019-02-16 Thread Simon Glass
This audio codec is used on samus. Add a driver for it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None drivers/sound/Kconfig |9 + drivers/sound/Makefile |1 + drivers/sound/rt5677.c | 334 ++ drivers/sound/rt5677.h | 1428 ++

[U-Boot] [PATCH v2 26/34] sound: Add a driver for the i8254 beep

2019-02-16 Thread Simon Glass
Add a sound driver which can output simple beeps using this legacy timer. Signed-off-by: Simon Glass --- Changes in v2: - Change the driver name to i8254_drv drivers/sound/Kconfig | 12 drivers/sound/Makefile | 1 + drivers/sound/i8254_beep.c | 38 +++

[U-Boot] [PATCH v2 21/34] sound: Add uclass operations for beeping

2019-02-16 Thread Simon Glass
Some audio codecs such as Intel HDA do not need to use digital data to play sounds, but instead have a way to emit beeps. Add this interface as an option. If the beep interface is not supported, then the sound uclass falls back to the I2S interface. Signed-off-by: Simon Glass Reviewed-by: Bin Men

[U-Boot] [PATCH v2 19/34] x86: ivybridge: Add a way to get the HDA config setting

2019-02-16 Thread Simon Glass
Add a way check to whether HD audio is enabled. Use ioctl() to avoid adding too many unusual operations to PCH. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: - Adjust code to use #defines instead of open-coded values arch/x86/cpu/ivybridge/bd82x6x.c | 27

[U-Boot] [PATCH v2 29/34] x86: broadwell: Don't bother probing the PCH for pinctrl

2019-02-16 Thread Simon Glass
At present the pinctrl probes the PCH but since it only uses it to obtain a PCI address, this is no necessary. Avoiding this fixes one of the two co-dependent loops in broadwell. This driver really should be a proper pinctrl driver, but for now it remains a syscon device. Signed-off-by: Simon Gla

[U-Boot] [PATCH v2 24/34] sound: x86: link: Add sound support

2019-02-16 Thread Simon Glass
Add sound support for link, using the HDA codec implementation. Signed-off-by: Simon Glass --- Changes in v2: - Add a note about undocumented IOMMU values - Add comments next to verbs in the DT mentioning the HDA spec - Fix capital letter in Ivybridge in Kconfig help - Fix use of C++ comments in

[U-Boot] [PATCH v2 30/34] x86: broadwell: Add support for serial I/O devices

2019-02-16 Thread Simon Glass
Add support for initing the I2C device and ADSP on broadwell. These are needed for sound to work. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None arch/x86/cpu/broadwell/pch.c | 110 ++ .../x86/include/asm/arch-broadwell/serialio.h | 8

[U-Boot] [PATCH v2 33/34] x86: sound: Add sound support for samus (broadwell)

2019-02-16 Thread Simon Glass
Add a sound driver for samus which ties together the audio codec and I2S controller. For now broadwell_sound is commented out in the makefile since we cannot compile it without sound support enabled. The next commit fixes this. Signed-off-by: Simon Glass --- Changes in v2: None drivers/sound/

[U-Boot] [PATCH v2 16/34] x86: sandbox: pch: Add a CONFIG option for PCH

2019-02-16 Thread Simon Glass
At present this uclass is selected only on x86. In order to add a test for it, it must also support sandbox. Create a new CONFIG_PCH option and enable it on x86 and sandbox. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None arch/Kconfig| 2 ++ drivers/Kconfig

[U-Boot] [PATCH v2 09/34] gpio: Show inactive GPIOs when explicitly requested

2019-02-16 Thread Simon Glass
At present the gpio command only shows GPIOs which are marked as in use. This makes sense with 'gpio status' since we already have the '-a' flag to indicate that all GPIOs should be shown. But when a particular GPIO is requested, it seems better to always display it. At present the request is simpl

[U-Boot] [PATCH v2 27/34] x86: coreboot: Enable the beeper sound driver

2019-02-16 Thread Simon Glass
Use the i8254 sound driver to support creating simple beeps. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None configs/coreboot_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/coreboot_defconfig b/configs/coreboot_defconfig index ad0b35f2046..27

[U-Boot] [PATCH v2 17/34] sandbox: pch: Add a test for the PCH uclass

2019-02-16 Thread Simon Glass
This uclass currently has no tests. Add a sandbox driver and some simple tests to provide basic coverage. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: - Use "sandbox-pch" for the compatible string, for consistency arch/sandbox/dts/test.dts | 4 ++ arch/sandbox/in

[U-Boot] [PATCH v2 14/34] x86: samus: Increase the pre-reloc memory

2019-02-16 Thread Simon Glass
This is too small now, likely due to the pre_reloc_only fixes. Increase it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None configs/chromebook_samus_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/chromebook_samus_defconfig b/con

[U-Boot] [PATCH v2 22/34] sound: Add support for Intel HDA

2019-02-16 Thread Simon Glass
The Intel High-definition Audio is a newer-generation audio system which provides for transfer of a large number of audio stream, each containing up to 16 channels. Add support for HDA as a library which can be used by other drivers. U-Boot currently uses only two channels (stereo). Signed-off-by

[U-Boot] [PATCH v2 18/34] pch: Add ioctl support

2019-02-16 Thread Simon Glass
At present the PCH has 4 operations and these are reasonably widely used in the drivers. But sometimes we want to add rarely used operations, and each of these currently adds to the size of the PCH operations table. Add an ioctl() method which can be easily expanded without any more impact on the

[U-Boot] [PATCH v2 25/34] sound: x86: Add beeping support in i8254

2019-02-16 Thread Simon Glass
Adjust the code to allow beeping at different frequencies, using a calculated value for timer 2. Signed-off-by: Simon Glass --- Changes in v2: - Rename PPC_PORTB to SYSCTL_PORTB - Use PIT_TICK_RATE instead of creating a new define arch/x86/include/asm/i8254.h | 18 ++ arch/x86/

[U-Boot] [PATCH v2 15/34] x86: link: Increase malloc size and decrease code size

2019-02-16 Thread Simon Glass
At present link does not boot since it has outgrown its pre-relocation malloc() size and its assigned code area. Increase the former and drop EFI loader support, which adds about 45KB! Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None configs/chromebook_link_defconfig |

[U-Boot] [PATCH v2 11/34] pci: Add IDs for Intel high-definition audio

2019-02-16 Thread Simon Glass
Add a few IDs for common HDA blocks and the ADSP used on samus. Signed-off-by: Simon Glass --- Changes in v2: - Add a PCI ID for the HD audio class - Fix ordering of PCI IDs include/pci_ids.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/pci_ids.h b/include/pci_ids.h index f

[U-Boot] [PATCH v2 10/34] gpio: Use case-insentive matching on the GPIO name

2019-02-16 Thread Simon Glass
Allow the 'gpio' command to match GPIO bank names regardless of the case of each. While these are generally in upper case, it is useful to be able to provide lower case with the command. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None cmd/gpio.c | 2 +- 1 file changed

[U-Boot] [PATCH v2 23/34] sandbox: sound: Silence sound for testing

2019-02-16 Thread Simon Glass
When testing the sound system we don't need the hear the beeps. The testing works by checking the data that would be emitted. Add a device-tree property to silence the sound, and enable it for testing. Signed-off-by: Simon Glass --- Changes in v2: - Move comment about silencing on error so that

[U-Boot] [PATCH v2 20/34] sound: Mark sound_setup() as optional

2019-02-16 Thread Simon Glass
This method in the sound API is optional since some drivers can do this when probing or as part of SoC init. Mark it as such. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None drivers/sound/sound-uclass.c | 2 +- include/sound.h | 2 +- 2 files changed, 2 i

[U-Boot] [PATCH v2 34/34] x86: Add sound support for samus

2019-02-16 Thread Simon Glass
Enable sound on samus using the broadwell I2S and an RT5677 audio codec. Reviewed-by: Bin Meng Signed-off-by: Simon Glass --- Changes in v2: None arch/x86/dts/chromebook_samus.dts | 49 +++--- configs/chromebook_samus_defconfig | 9 ++ drivers/sound/Makefile

[U-Boot] [PATCH v2 12/34] sandbox: Add a note about the growing state_info struct

2019-02-16 Thread Simon Glass
This struct is getting larger and in some cases is being used for things which would be better put into a driver. For example hwspinlock is not used outside of sandbox_hwspinlock.c. Add a note to encourage people to put things elsewhere. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Cha

[U-Boot] [PATCH v2 31/34] x86: sound: Add support for broadwell I2S

2019-02-16 Thread Simon Glass
I2S is used to send digital audio data to an audio codec. Add support for this on broadwell. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None drivers/sound/Makefile| 1 + drivers/sound/broadwell_i2s.c | 306 ++ drivers/sound/br

[U-Boot] [PATCH v2 05/34] dm: syscon: Don't require a regmap for PCI devices

2019-02-16 Thread Simon Glass
At present it is not possible to use the syscon devices for PCI devices since a regmap is required. Since PCI uses a 3-cell address the conversion of the 'reg' property to an address always fails. In any case, the regmap is not useful with PCI since devices are accessed through the PCI bus which re

[U-Boot] [PATCH v2 13/34] x86: Adjust I/O macros to work on 64-bit machines

2019-02-16 Thread Simon Glass
At present these macros give warnings on 64-bit machines and do not correctly do 32-bit accesses. Update them to use linux types. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None arch/x86/include/asm/io.h | 16 1 file changed, 8 insertions(+), 8 deleti

[U-Boot] [PATCH v2 08/34] pci: Fix comment in struct pci_child_platdata

2019-02-16 Thread Simon Glass
This is platdata, not private data, so the comment is currently incorrect. Fix it to avoid confusion. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None include/pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pci.h b/include/pci.h index

[U-Boot] [PATCH v2 06/34] i2c: designware: Add error checking on init

2019-02-16 Thread Simon Glass
At present this driver does not check whether it is able to actually communicate with the I2C controller. It prints a timeout message but still considers the probe to be successful. To fix this, add some checking that the init succeeds. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Chan

[U-Boot] [PATCH v2 04/34] log: Allow #define LOG_DEBUG to enable logging in a file

2019-02-16 Thread Simon Glass
At present it is possible to '#define DEBUG' at the top of a file which causes all debug() statements in that file to become active. There is currently no equivalent with logging, but this is a useful function. Add a LOG_DEBUG define along with documentation. Signed-off-by: Simon Glass --- Chan

[U-Boot] [PATCH v2 03/34] log: Add documentation for convenience functions

2019-02-16 Thread Simon Glass
The log_debug(), etc. function are documented only in the header file at present. Add a section to README.log also. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: - Also remove this feature from the TODO doc/README.log | 36 ++-- 1 file cha

[U-Boot] [PATCH v2 07/34] pci: Don't export pci_hose_config_device()

2019-02-16 Thread Simon Glass
This function is not used outside this file so make it static. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: None drivers/pci/pci.c | 7 ++- include/pci.h | 6 -- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers/pci/pci.c b/drivers/pci/

Re: [U-Boot] [PATCH 23/33] sound: x86: link: Add sound support

2019-02-16 Thread Simon Glass
Hi Bin, On Wed, 13 Feb 2019 at 02:39, Bin Meng wrote: > > Hi Simon, > > On Tue, Jan 22, 2019 at 9:14 AM Simon Glass wrote: > > > > Add sound support for link, using the HDA codec implementation. > > > > Signed-off-by: Simon Glass > > --- > > > > arch/x86/cpu/ivybridge/Kconfig|

Re: [U-Boot] [PATCH 32/33] x86: sound: Add sound support for samus (broadwell)

2019-02-16 Thread Simon Glass
Hi Bin, On Wed, 13 Feb 2019 at 02:40, Bin Meng wrote: > > On Tue, Jan 22, 2019 at 9:14 AM Simon Glass wrote: > > > > Add a sound driver for samus which ties together the audio codec and > > I2S controller. > > > > Signed-off-by: Simon Glass > > --- > > > > drivers/sound/Makefile | 2

[U-Boot] [PATCH v2 01/34] log: Fix up Kconfig log level names

2019-02-16 Thread Simon Glass
The log level numbers in the Kconfig are not actually correct. Fix them and also add a missing space in the header-file comment. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to fix up Kconfig log level names common/Kconfig | 66 -

[U-Boot] [PATCH v2 02/34] log: Add a Kconfig option to set the default log level

2019-02-16 Thread Simon Glass
At present the default log level is set to LOGL_INFO on start-up. Allow this to be controlled from Kconfig. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- Changes in v2: - Add the log-level names into the Kconfig help - Correct the default log level to 6 (LOGL_INFO) common/Kconfig | 20

Re: [U-Boot] [PATCH 33/33] x86: Add sound support for samus

2019-02-16 Thread Simon Glass
Hi Bin, On Wed, 13 Feb 2019 at 02:40, Bin Meng wrote: > > Hi Simon, > > On Tue, Jan 22, 2019 at 9:14 AM Simon Glass wrote: > > > > Enable sound on samus using the broadwell I2S and an RT5677 audio codec. > > > > Signed-off-by: Simon Glass > > --- > > > > arch/x86/dts/chromebook_samus.dts | 49

Re: [U-Boot] [PATCH 22/33] sandbox: sound: Silence sound for testing

2019-02-16 Thread Simon Glass
Hi Bin, On Wed, 13 Feb 2019 at 02:39, Bin Meng wrote: > > Hi Simon, > > On Tue, Jan 22, 2019 at 9:14 AM Simon Glass wrote: > > > > When testing the sound system we don't need the hear the beeps. The > > testing works by checking the data that would be emitted. Add a > > device-tree property to s

[U-Boot] [PATCH v2 00/34] x86: Add support for sound

2019-02-16 Thread Simon Glass
At present no x86 boards support sound. This series adds several options: - legacy beep - Intel HDA - I2S with codec These are enabled on coreboot, link and samus, respectively. A number of related patches are included to make the above work. Changes in v2: - Add a PCI ID for the HD au

Re: [U-Boot] [PATCH 03/33] log: Allow #define LOG_DEBUG to enable logging in a file

2019-02-16 Thread Simon Glass
Hi BIn, On Wed, 13 Feb 2019 at 10:36, Bin Meng wrote: > > Hi Simon, > > On Tue, Jan 22, 2019 at 9:14 AM Simon Glass wrote: > > > > At present it is possible to '#define DEBUG' at the top of a file which > > causes all debug() statements in that file to become active. There is > > currently no eq

Re: [U-Boot] [PATCH 1/2] omap3_beagle: Update for DM SPL support

2019-02-16 Thread Derald D. Woods
On Sat, Feb 16, 2019 at 04:36:29PM -0500, Tom Rini wrote: > - Switch to using the omap3-u-boot.dtsi file for needed properties. > - Remove a few SPL features to free up more SRAM space. > - Switch CONFIG_SYS_TEXT_BASE to the normal default, we don't need to > worry about X-Loader at this point an

Re: [U-Boot] [PATCH] ARM: omap3: evm: Update DM SPL support

2019-02-16 Thread Tom Rini
On Sat, Feb 16, 2019 at 04:56:50PM -0600, Derald D. Woods wrote: > - Switch to using the omap3-u-boot.dtsi file for needed properties > - Enable SPL_OF_CONTROL > > This commit is based on the following series: > > https://patchwork.ozlabs.org/project/uboot/list/?series=92472 > https://patchwork.

Re: [U-Boot] [PATCH v2 1/1] configs: rk3288: Tinker Board SPL file must fit into 32 KiB

2019-02-16 Thread Tom Rini
On Sat, Feb 16, 2019 at 11:51:54PM +0100, Heinrich Schuchardt wrote: > On 2/16/19 11:11 PM, Tom Rini wrote: > > On Wed, Feb 13, 2019 at 10:38:09PM +0100, Heinrich Schuchardt wrote: > >> The SPL image for the Tinker Board has to fit into 32 KiB. This includes > >> 4 KiB for the device tree and up to

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

2019-02-16 Thread Anatolij Gustschin
Hi Tom, please pull some video updates for v2019.04-rc2. Travis CI: https://travis-ci.org/vdsao/u-boot-video/builds/493827675 Thanks, Anatolij The following changes since commit 63f7e3fca391a50a499fed828fe16325fdee45f3: Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot (2019-02-13

[U-Boot] [PATCH] ARM: omap3: evm: Update DM SPL support

2019-02-16 Thread Derald D. Woods
- Switch to using the omap3-u-boot.dtsi file for needed properties - Enable SPL_OF_CONTROL This commit is based on the following series: https://patchwork.ozlabs.org/project/uboot/list/?series=92472 https://patchwork.ozlabs.org/project/uboot/list/?series=92462 Signed-off-by: Derald D. Woods ---

Re: [U-Boot] [PATCH v2 1/1] configs: rk3288: Tinker Board SPL file must fit into 32 KiB

2019-02-16 Thread Heinrich Schuchardt
On 2/16/19 11:11 PM, Tom Rini wrote: > On Wed, Feb 13, 2019 at 10:38:09PM +0100, Heinrich Schuchardt wrote: >> The SPL image for the Tinker Board has to fit into 32 KiB. This includes >> 4 KiB for the device tree and up to 2 KiB for the file header. >> >> A new configuration variable CONFIG_SPL_WIT

Re: [U-Boot] [PATCH 1/2] ARM: DTS: omap3-u-boot.dtsi

2019-02-16 Thread Derald D. Woods
On Sat, Feb 16, 2019 at 01:31:23PM -0600, Adam Ford wrote: > Create generic omap3-u-boot.dtsi file that omap3 based boards > can include to generate device tree in SPL for booting MLO. > > Credit should go to Tom Rini. > > Signed-off-by: Adam Ford > For OMAP3-EVM (3530): Tested-by: Derald D.

Re: [U-Boot] [PATCH 2/2] ARM: omap3_logic: Enable SPL booting device tree

2019-02-16 Thread Derald D. Woods
On Sat, Feb 16, 2019 at 04:22:44PM -0500, Tom Rini wrote: > On Sat, Feb 16, 2019 at 03:08:02PM -0600, Derald D. Woods wrote: > > On Sat, Feb 16, 2019 at 03:49:01PM -0500, Tom Rini wrote: > > > On Sat, Feb 16, 2019 at 01:31:24PM -0600, Adam Ford wrote: > > > > > > > With the generic omap3-u-boot.dt

Re: [U-Boot] [PATCH 5/7] arm: mach-k3: Add secure device build support

2019-02-16 Thread Tom Rini
On Fri, Feb 15, 2019 at 05:43:32PM +0530, Lokesh Vutla wrote: > > > On 2/15/2019 4:25 AM, Andrew F. Davis wrote: > > On 2/13/19 9:46 PM, Lokesh Vutla wrote: > >> > >> > >> On 14/02/19 12:07 AM, Andrew F. Davis wrote: > >>> K3 HS devices require signed binaries for boot, use the SECDEV tools > >>>

Re: [U-Boot] [PATCH v2 1/1] configs: rk3288: Tinker Board SPL file must fit into 32 KiB

2019-02-16 Thread Tom Rini
On Wed, Feb 13, 2019 at 10:38:09PM +0100, Heinrich Schuchardt wrote: > The SPL image for the Tinker Board has to fit into 32 KiB. This includes > 4 KiB for the device tree and up to 2 KiB for the file header. > > A new configuration variable CONFIG_SPL_WITH_DTB_SIZE_LIMIT is introduced > to define

Re: [U-Boot] Pull request: u-boot-imx u -boot-imx-201900216

2019-02-16 Thread Tom Rini
On Sat, Feb 16, 2019 at 11:45:22AM +0100, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > Travis: https://travis-ci.org/sbabic/u-boot-imx > > The following changes since commit 63f7e3fca391a50a499fed828fe16325fdee45f3: > > Merge tag 'signed-efi-next' of git://git

[U-Boot] [PULL] u-boot-sh/master

2019-02-16 Thread Marek Vasut
The following changes since commit d391c13c99a2b48c98cef6df4479247cd4e62f9d: Merge tag 'xilinx-for-v2019.04-rc2' of git://git.denx.de/u-boot-microblaze (2019-02-15 21:21:28 -0500) are available in the Git repository at: git://git.denx.de/u-boot-sh.git master for you to fetch changes up to 2

Re: [U-Boot] [PATCH 2/2] ARM: omap3_logic: Enable SPL booting device tree

2019-02-16 Thread Simon Goldschmidt
Am Sa., 16. Feb. 2019, 22:34 hat Tom Rini geschrieben: > On Sat, Feb 16, 2019 at 03:30:08PM -0600, Adam Ford wrote: > > On Sat, Feb 16, 2019 at 3:22 PM Tom Rini wrote: > > > > > > On Sat, Feb 16, 2019 at 03:08:02PM -0600, Derald D. Woods wrote: > > > > On Sat, Feb 16, 2019 at 03:49:01PM -0500, T

[U-Boot] [PATCH 1/2] omap3_beagle: Update for DM SPL support

2019-02-16 Thread Tom Rini
- Switch to using the omap3-u-boot.dtsi file for needed properties. - Remove a few SPL features to free up more SRAM space. - Switch CONFIG_SYS_TEXT_BASE to the normal default, we don't need to worry about X-Loader at this point anymore. - A few related updates to SPL options as part of switching

[U-Boot] [PATCH 2/2] omap3_beagle: Enable DM_SPI

2019-02-16 Thread Tom Rini
Switch to DM_SPI support now. Signed-off-by: Tom Rini --- configs/omap3_beagle_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/omap3_beagle_defconfig b/configs/omap3_beagle_defconfig index f6d522a5f103..73ffa83d0c53 100644 --- a/configs/omap3_beagle_defconfig +++ b/configs/

Re: [U-Boot] [PATCH 2/2] ARM: omap3_logic: Enable SPL booting device tree

2019-02-16 Thread Tom Rini
On Sat, Feb 16, 2019 at 03:30:08PM -0600, Adam Ford wrote: > On Sat, Feb 16, 2019 at 3:22 PM Tom Rini wrote: > > > > On Sat, Feb 16, 2019 at 03:08:02PM -0600, Derald D. Woods wrote: > > > On Sat, Feb 16, 2019 at 03:49:01PM -0500, Tom Rini wrote: > > > > On Sat, Feb 16, 2019 at 01:31:24PM -0600, Ad

Re: [U-Boot] [PATCH 2/2] ARM: omap3_logic: Enable SPL booting device tree

2019-02-16 Thread Adam Ford
On Sat, Feb 16, 2019 at 3:22 PM Tom Rini wrote: > > On Sat, Feb 16, 2019 at 03:08:02PM -0600, Derald D. Woods wrote: > > On Sat, Feb 16, 2019 at 03:49:01PM -0500, Tom Rini wrote: > > > On Sat, Feb 16, 2019 at 01:31:24PM -0600, Adam Ford wrote: > > > > > > > With the generic omap3-u-boot.dtsi file

Re: [U-Boot] [PATCH 2/2] ARM: omap3_logic: Enable SPL booting device tree

2019-02-16 Thread Adam Ford
On Sat, Feb 16, 2019 at 3:08 PM Derald D. Woods wrote: > > On Sat, Feb 16, 2019 at 03:49:01PM -0500, Tom Rini wrote: > > On Sat, Feb 16, 2019 at 01:31:24PM -0600, Adam Ford wrote: > > > > > With the generic omap3-u-boot.dtsi file available, this patch > > > increased the memory of the various inca

Re: [U-Boot] [PATCH 2/2] ARM: omap3_logic: Enable SPL booting device tree

2019-02-16 Thread Tom Rini
On Sat, Feb 16, 2019 at 03:08:02PM -0600, Derald D. Woods wrote: > On Sat, Feb 16, 2019 at 03:49:01PM -0500, Tom Rini wrote: > > On Sat, Feb 16, 2019 at 01:31:24PM -0600, Adam Ford wrote: > > > > > With the generic omap3-u-boot.dtsi file available, this patch > > > increased the memory of the vari

[U-Boot] [PATCH] cmd/fs: fix build if CMD_BOOTEFI is not set

2019-02-16 Thread Gervais, Francois
Fixes: cmd/fs.c:29: undefined reference to `efi_set_bootdev' Signed-off-by: Francois Gervais --- cmd/fs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/fs.c b/cmd/fs.c index 8064a1c84d..94467671be 100644 --- a/cmd/fs.c +++ b/cmd/fs.c @@ -26,8 +26,10 @@ U_BOOT_CMD( static int do_load

Re: [U-Boot] [BUG] qemu-x86_defconfig does not build with GCC 8.1

2019-02-16 Thread Ayush Dosaj
plz help On Fri, Feb 15, 2019 at 9:33 PM Ayush Dosaj wrote: > I have one question, where to remove "-g" and in which make file ? > I am stuck on this BUG. Please Help me out. > -- > Ayush Dosaj > VIT Vellore > > -- Ayush Dosaj VIT Vellore ___ U-Boot

Re: [U-Boot] [PATCH 2/2] ARM: omap3_logic: Enable SPL booting device tree

2019-02-16 Thread Derald D. Woods
On Sat, Feb 16, 2019 at 03:49:01PM -0500, Tom Rini wrote: > On Sat, Feb 16, 2019 at 01:31:24PM -0600, Adam Ford wrote: > > > With the generic omap3-u-boot.dtsi file available, this patch > > increased the memory of the various incarnations of the omap3_logic > > board, and points their respective

Re: [U-Boot] [PATCH 1/2] ARM: DTS: omap3-u-boot.dtsi

2019-02-16 Thread Adam Ford
On Sat, Feb 16, 2019 at 2:49 PM Tom Rini wrote: > > On Sat, Feb 16, 2019 at 01:31:23PM -0600, Adam Ford wrote: > > > Create generic omap3-u-boot.dtsi file that omap3 based boards > > can include to generate device tree in SPL for booting MLO. > > > > Credit should go to Tom Rini. > > > > Signed-of

Re: [U-Boot] [PATCH 1/2] ARM: DTS: omap3-u-boot.dtsi

2019-02-16 Thread Tom Rini
On Sat, Feb 16, 2019 at 01:31:23PM -0600, Adam Ford wrote: > Create generic omap3-u-boot.dtsi file that omap3 based boards > can include to generate device tree in SPL for booting MLO. > > Credit should go to Tom Rini. > > Signed-off-by: Adam Ford > > diff --git a/arch/arm/dts/omap3-u-boot.dts

Re: [U-Boot] [PATCH 2/2] ARM: omap3_logic: Enable SPL booting device tree

2019-02-16 Thread Tom Rini
On Sat, Feb 16, 2019 at 01:31:24PM -0600, Adam Ford wrote: > With the generic omap3-u-boot.dtsi file available, this patch > increased the memory of the various incarnations of the omap3_logic > board, and points their respective u-boot.dtsi files to the newly > created generic one, and removes th

[U-Boot] [PATCH] ARM: imx6_logic: Fix typo in FDT address

2019-02-16 Thread Adam Ford
A few scripts reference 'fdt_addr' when they should reference 'fdt_addr_r' so this patch fixes those broken references. Signed-off-by: Adam Ford diff --git a/include/configs/imx6_logic.h b/include/configs/imx6_logic.h index 70cc63fc1b..a121064e37 100644 --- a/include/configs/imx6_logic.h +++ b/i

[U-Boot] [RFC 1/1] efi_loader: in situ relocation

2019-02-16 Thread Heinrich Schuchardt
All code and data sections of PE images are already in the correct relative location when loaded into memory. There is not need to copy them once again. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_image_loader.c | 64 ++- 1 file changed, 11 insertions(+)

[U-Boot] [RFC 1/1] efi_loader: in situ relocation

2019-02-16 Thread Heinrich Schuchardt
All code and data sections of PE images are already in the correct relative location when loaded into memory. There is not need to copy them once again. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_image_loader.c | 64 ++- 1 file changed, 11 insertions(+)

[U-Boot] [PATCH 2/2] ARM: omap3_logic: Enable SPL booting device tree

2019-02-16 Thread Adam Ford
With the generic omap3-u-boot.dtsi file available, this patch increased the memory of the various incarnations of the omap3_logic board, and points their respective u-boot.dtsi files to the newly created generic one, and removes the PLATDATA from the board file. These are all done at once because

[U-Boot] [PATCH 1/2] ARM: DTS: omap3-u-boot.dtsi

2019-02-16 Thread Adam Ford
Create generic omap3-u-boot.dtsi file that omap3 based boards can include to generate device tree in SPL for booting MLO. Credit should go to Tom Rini. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/omap3-u-boot.dtsi b/arch/arm/dts/omap3-u-boot.dtsi new file mode 100644 index 00..32

Re: [U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM

2019-02-16 Thread Fabio Estevam
On Sat, Feb 16, 2019 at 1:41 PM Joris Offouga wrote: > I reversed your commit but the block is still there, but even with > > your commit on the top of the u-boot master. > > I don't have the block with imx_usb_loader just when I try to boot from > the emmc Ops, it seems we have different issues

Re: [U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM

2019-02-16 Thread Joris Offouga
Le 16/02/2019 à 16:25, Fabio Estevam a écrit : On Sat, Feb 16, 2019 at 1:14 PM Joris Offouga wrote: Actually on the top of u-boot-imx there is a blocking when loading u-boot-dtb.img with imx_usb_loader. Just run a "git bisect" and the problem comes from: commit 9e3c0174da842dd88f5feaffbf84

Re: [U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM

2019-02-16 Thread Fabio Estevam
On Sat, Feb 16, 2019 at 1:14 PM Joris Offouga wrote: > Actually on the top of u-boot-imx there is a blocking when loading > u-boot-dtb.img with imx_usb_loader. Just run a "git bisect" and the problem comes from: commit 9e3c0174da842dd88f5feaffbf843ba332233897 (refs/bisect/bad) Author: Fabio Es

Re: [U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM

2019-02-16 Thread Joris Offouga
Le 16/02/2019 à 15:54, Fabio Estevam a écrit : On Sat, Feb 16, 2019 at 12:52 PM Joris Offouga wrote: Ok, thanks for your help :). I worked new commits do you want me to update the RFC in v2? Please generate your series against the latest u-boot-imx tree. However, I observed the hang when I

[U-Boot] [PATCH 1/1] efi_loader: do not miss last relocation block

2019-02-16 Thread Heinrich Schuchardt
If the last block in the relocation table contains only a single relocation, the current coding ignores it. Fix the determination of the end of the relocation table. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_image_loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

Re: [U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM

2019-02-16 Thread Fabio Estevam
On Sat, Feb 16, 2019 at 12:52 PM Joris Offouga wrote: > Ok, thanks for your help :). > > I worked new commits do you want me to update the RFC in v2? Please generate your series against the latest u-boot-imx tree. However, I observed the hang when I use the latest u-boot or u-boot-imx tree, so

Re: [U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM

2019-02-16 Thread Joris Offouga
Le 16/02/2019 à 15:42, Fabio Estevam a écrit : Hi Joris, Hi Fabio, On Sat, Feb 16, 2019 at 12:38 PM Joris Offouga wrote: By doing this the SPL still does not find the U-Boot binary always this same log: U-Boot SPL 2019.04-rc1-00142-g7fe4b77-dirty (Feb 16 2019 - 13:58:30 +0100) Trying

Re: [U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM

2019-02-16 Thread Fabio Estevam
Hi Joris, On Sat, Feb 16, 2019 at 12:38 PM Joris Offouga wrote: > By doing this the SPL still does not find the U-Boot binary always this > same log: > >U-Boot SPL 2019.04-rc1-00142-g7fe4b77-dirty (Feb 16 2019 - 13:58:30 > +0100) > Trying to boot from MMC1 Yes, just tried it and I saw the s

Re: [U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM

2019-02-16 Thread Joris Offouga
Le 16/02/2019 à 14:58, Fabio Estevam a écrit : On Sat, Feb 16, 2019 at 11:02 AM Joris Offouga wrote: Yes , download with dfu it's okay but after rebooting the SPL does not load. Does it boot if you flash SPL and u-boot-dtb.img via "ums 0 mmc 0" command? By doing this the SPL still does not

[U-Boot] [PATCH 1/1] efi_loader: documentation of image loader

2019-02-16 Thread Heinrich Schuchardt
- Add missing function descriptions. - Update existing function descriptions to match Sphinx style. - Add lib/efi_loader/efi_image_loader.c to the input files for Sphinx generated documentation. Signed-off-by: Heinrich Schuchardt --- Documentation/efi.rst | 6 ++ lib/efi_loade

Re: [U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM

2019-02-16 Thread Fabio Estevam
On Sat, Feb 16, 2019 at 11:02 AM Joris Offouga wrote: > Yes , download with dfu it's okay but after rebooting the SPL does not > load. Does it boot if you flash SPL and u-boot-dtb.img via "ums 0 mmc 0" command? ___ U-Boot mailing list U-Boot@lists.denx

Re: [U-Boot] Pull request: BCM ARM changes

2019-02-16 Thread Tom Rini
On Fri, Feb 15, 2019 at 05:26:42PM +0100, Matthias Brugger wrote: > The following changes since commit 97276a91db8e98f081a40ddf9dc8f81d4032a756: > > Prepare v2019.04-rc1 (2019-02-07 21:32:19 -0500) > > are available in the Git repository at: > > https://github.com/mbgg/u-boot.git tags/2019.

Re: [U-Boot] [GIT PULL] Xilinx patches for v2019.04-rc2

2019-02-16 Thread Tom Rini
On Fri, Feb 15, 2019 at 03:20:16PM +0100, Michal Simek wrote: > Hi Tom, > > please pull these patches to your tree. I had to wait a little bit when > i2c dm patches are applied which is done now. > The biggest changes are that all platforms are using DM_I2C that's why > it was possible to get rid

Re: [U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM

2019-02-16 Thread Joris Offouga
Le 16/02/2019 à 13:46, Fabio Estevam a écrit : On Sat, Feb 16, 2019 at 10:34 AM Joris Offouga wrote: Le 16/02/2019 à 13:17, Fabio Estevam a écrit : Hi Joris, On Sat, Feb 16, 2019 at 9:06 AM Offouga Joris wrote: Hi Fabio I followed Lukasz's advice and I increased the size of the U-Boot i

Re: [U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM

2019-02-16 Thread Fabio Estevam
On Sat, Feb 16, 2019 at 10:34 AM Joris Offouga wrote: > > > Le 16/02/2019 à 13:17, Fabio Estevam a écrit : > > Hi Joris, > > > > On Sat, Feb 16, 2019 at 9:06 AM Offouga Joris > > wrote: > > > >> Hi Fabio > >> > >> I followed Lukasz's advice and I increased the size of the U-Boot in the > >> dfu

Re: [U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM

2019-02-16 Thread Fabio Estevam
On Sat, Feb 16, 2019 at 10:17 AM Fabio Estevam wrote: > > Hi Joris, > > On Sat, Feb 16, 2019 at 9:06 AM Offouga Joris wrote: > > > Hi Fabio > > > > I followed Lukasz's advice and I increased the size of the U-Boot in the > > dfu_alt_info and there is no more error. However, once the SPL and U-Bo

Re: [U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM

2019-02-16 Thread Joris Offouga
Le 16/02/2019 à 13:17, Fabio Estevam a écrit : Hi Joris, On Sat, Feb 16, 2019 at 9:06 AM Offouga Joris wrote: Hi Fabio I followed Lukasz's advice and I increased the size of the U-Boot in the dfu_alt_info and there is no more error. However, once the SPL and U-Boot are changed and the boa

Re: [U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM

2019-02-16 Thread Fabio Estevam
Hi Joris, On Sat, Feb 16, 2019 at 9:06 AM Offouga Joris wrote: > Hi Fabio > > I followed Lukasz's advice and I increased the size of the U-Boot in the > dfu_alt_info and there is no more error. However, once the SPL and U-Boot are > changed and the board reboots with the jumper in Boot from e

Re: [U-Boot] [RFC 0/9] Convert Pico-Pi i.MX7D to DM

2019-02-16 Thread Offouga Joris
> Le 15 févr. 2019 à 12:50, Lukasz Majewski a écrit : > > Hi Fabio, > >> Hi Lukasz, >> >> On Wed, Jan 23, 2019 at 7:01 PM Joris Offouga >> wrote: >> >>> Hi Lukasz, >>> Please check if malloc pool size (in Kconfig) is large enough to handle DFU requests. >>> The dfu request is s

Re: [U-Boot] [PATCH v5 3/3] cmd: mdio: Switch to generic helpers when accessing the registers

2019-02-16 Thread Carlo Caione
On 15/02/2019 22:46, Vladimir Oltean wrote: On 2/12/19 2:20 PM, Vladimir Oltean wrote: /cut Carlo, Joe, One additional piece of information that for some reason escaped me initially is that Pankaj Bansal already added support for struct phy_device property is_c45 as part of this patch: http:

[U-Boot] Pull request: u-boot-imx u -boot-imx-201900216

2019-02-16 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! Travis: https://travis-ci.org/sbabic/u-boot-imx The following changes since commit 63f7e3fca391a50a499fed828fe16325fdee45f3: Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot (2019-02-13 07:12:29 -0500) are available in the Git reposit

[U-Boot] [U-Boot, v2, 1/3] ddr: vybrid: Add DDRMC calibration related registers (DQS to DQ)

2019-02-16 Thread sbabic
> This commit provides extra defines needed for DDR memory controller > calibration (read leveling performing). > Signed-off-by: Lukasz Majewski > Reviewed-by: Stefan Agner Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- =

[U-Boot] [U-Boot, v2, 3/3] ddr: vybrid: Add calibration code to memory controler's (DDRMC) setup code

2019-02-16 Thread sbabic
> This patch extends the vf610 DDR memory controller code to support SW > leveling. > Signed-off-by: Lukasz Majewski > Reviewed-by: Stefan Agner Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX So

[U-Boot] [U-Boot, v4, 02/20] usb: Rename SPL_USB_SUPPORT to SPL_USB_STORAGE

2019-02-16 Thread sbabic
> Since there is the SPL_USB_HOST_SUPPORT for enabling USB support in SPL, > makes more sense to rename the SPL_USB_SUPPORT as SPL_USB_STORAGE. > Everything that is not part of the usb storage support in SPL is now > build under SPL_USB_HOST_SUPPORT. > Signed-off-by: Abel Vesa > Reviewed-by: Tom R

[U-Boot] [U-Boot,09/14] imx: ventana: add support for GW5907

2019-02-16 Thread sbabic
> The GW5907 is a small single board computer based on the i.MX6DL SoC > with the following peripheral set: > - DDR3 memory (512MB default) > - 1x GigE (i.MX6 FEC) > - Gateworks System Controller > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic

[U-Boot] [U-Boot, 13/14] imx: ventana: gw5904/gw5909: disable RS485

2019-02-16 Thread sbabic
> The GW5904/GW5909 have a SP33E multi-protocol serial transceiver which we > want to configure to RS232 by default (by de-asserting RS485_EN) > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[U-Boot] [U-Boot,04/14] imx: ventana: add support for GW5905

2019-02-16 Thread sbabic
> The GW5905 is single-board tablet computer based on the i.MX6 SoC with the > following peripheral set: > - eMMC flash (boot device) > - microSD expansion > - LVDS display connector for off-board 3D+1C with PWM backlight >and I2C based touch controller > - MIPI camera connector supporting

[U-Boot] [U-Boot, v1, 2/3] imx: serial_mxc: disable ri and dcd irq in dte mode

2019-02-16 Thread sbabic
> From: Max Krummenacher > If the UART is used in DTE mode the RI and DCD bits in UCR3 become > irq enable bits. Both are set to enabled after reset and both likely > are pending. > Disable the bits to prevent an interrupt storm when Linux enables > the UART interrupts. > Signed-off-by: Max Krumme

  1   2   >