Re: [U-Boot] [PATCH 21/26] x86: baytrail: Generate ACPI FADT/MADT tables

2016-05-06 Thread Bin Meng
Hi Stefan, On Tue, May 3, 2016 at 8:52 PM, Stefan Roese wrote: > Hi Bin, > > > On 02.05.2016 09:33, Bin Meng wrote: >> >> FADT/MADT tables are platform specific. Generate them for BayTrail. >> >> Signed-off-by: Bin Meng >> --- >> >> arch/x86/cpu/baytrail/Makefile | 1 + >> arch/x86/cpu/bayt

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

2016-05-06 Thread Marek Vasut
The following changes since commit bbca7108db79076d3a9a9c112792d7c4608a665c: ARM: tegra: import latest Jetson TK1 spreadsheet (2016-05-04 13:31:04 -0700) are available in the git repository at: git://git.denx.de/u-boot-socfpga.git master for you to fetch changes up to 5289c5fa5371dad

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

2016-05-06 Thread Marek Vasut
The following changes since commit bbca7108db79076d3a9a9c112792d7c4608a665c: ARM: tegra: import latest Jetson TK1 spreadsheet (2016-05-04 13:31:04 -0700) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to 12ff19dbfd93abdb62b7b326fe

Re: [U-Boot] [PATCH 0/4] ath79: fix some minor defects

2016-05-06 Thread Wills Wang
On Friday, May 06, 2016 06:43 PM, Daniel Schwierzeck wrote: Hi Wills, I'm getting a warning with gcc-5.3: CC arch/mips/mach-ath79/ar933x/ddr.o arch/mips/mach-ath79/ar933x/ddr.c: In function ‘ddr_tap_tuning’: arch/mips/mach-ath79/ar933x/ddr.c:329:15: warning: ‘upper’ may be used uninit

Re: [U-Boot] [PATCH 3/6] arm64: sunxi: reserve space for boot0 header

2016-05-06 Thread Steve Rae
On Fri, May 6, 2016 at 2:27 PM, André Przywara wrote: > On 06/05/16 22:15, Steve Rae wrote: > > Hi Andre, > > > > On Wed, May 4, 2016 at 2:15 PM, Andre Przywara > > wrote: > > > > The Allwinner provided boot0 boot loader requires a header before the > > U-B

Re: [U-Boot] [PATCH 3/6] arm64: sunxi: reserve space for boot0 header

2016-05-06 Thread André Przywara
On 06/05/16 22:15, Steve Rae wrote: > Hi Andre, > > On Wed, May 4, 2016 at 2:15 PM, Andre Przywara > wrote: > > The Allwinner provided boot0 boot loader requires a header before the > U-Boot binary to both check its validity and to find other blobs to >

Re: [U-Boot] [PATCH] imx: imx-common: print i.MX 7 SoC names consistently

2016-05-06 Thread Fabio Estevam
On Fri, May 6, 2016 at 6:17 PM, Stefan Agner wrote: >> I have an off-topic question though: have you ever managed to boot >> mx7solo with a mainline kernel? > > Yes, it works nicely, just make sure you disable the second USB port: > > &usbotg2 { > status = "disabled"; > }; > > &usbmisc2 {

Re: [U-Boot] [PATCH] imx: imx-common: print i.MX 7 SoC names consistently

2016-05-06 Thread Stefan Agner
On 2016-05-06 12:19, Fabio Estevam wrote: > Hi Stefan, > > On Fri, May 6, 2016 at 3:21 PM, Stefan Agner wrote: >> According to the product website, the full names are i.MX 7Solo >> and i.MX 7Dual, whereas the short form is i.MX7S and i.MX7D. Be >> consistent and print the short form for both supp

Re: [U-Boot] [PATCH 3/6] arm64: sunxi: reserve space for boot0 header

2016-05-06 Thread Steve Rae
Hi Andre, On Wed, May 4, 2016 at 2:15 PM, Andre Przywara wrote: > The Allwinner provided boot0 boot loader requires a header before the > U-Boot binary to both check its validity and to find other blobs to > load. There is a tool called boot0img which fills the header > appropriately. > Reserve

Re: [U-Boot] [PATCH v2 7/7] distro: Add efi pxe boot code

2016-05-06 Thread Tom Rini
On Fri, May 06, 2016 at 09:01:07PM +0200, Alexander Graf wrote: > Now that we can expose network functionality to EFI applications, > the logical next step is to load them via pxe to execute them as > well. > > This patch adds the necessary bits to the distro script to automatically > load and ex

Re: [U-Boot] [PATCH v2 5/7] net: Move CONFIG_SPL_NET_VCI_STRING into Kconfig

2016-05-06 Thread Tom Rini
On Fri, May 06, 2016 at 09:01:05PM +0200, Alexander Graf wrote: > This patch also adds the SPL time VCI string into Kconfig. > > Signed-off-by: Alexander Graf Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot ma

Re: [U-Boot] [PATCH v2 6/7] net: Optionally use pxe client arch from variable

2016-05-06 Thread Tom Rini
On Fri, May 06, 2016 at 09:01:06PM +0200, Alexander Graf wrote: > The client architecture that we pass to a dhcp server depends on the target > payload that we want to execute. An EFI binary has a different client arch > than a legacy binary or a u-boot binary. > > So let's parameterize the pxe c

Re: [U-Boot] [PATCH v2 4/7] net: Fix client identifiers for ARM

2016-05-06 Thread Tom Rini
On Fri, May 06, 2016 at 09:01:04PM +0200, Alexander Graf wrote: > There are client identifiers specifically reserved for ARM U-Boot > according to > http://www.ietf.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xml#processor-architecture. > > So let's actually make use of them rather than

Re: [U-Boot] [PATCH v2 3/7] net: Move the VCI and client arch values to Kconfig

2016-05-06 Thread Tom Rini
On Fri, May 06, 2016 at 09:01:03PM +0200, Alexander Graf wrote: > We have a bunch of boards that define their vendor class identifier and > client archs in the board files or in the distro config. Move everything > to the generic Kconfig options. > > We're missing the distinction between i386 and

Re: [U-Boot] [PATCH v2 2/7] bootp: Move vendor class identifier set to function

2016-05-06 Thread Tom Rini
On Fri, May 06, 2016 at 09:01:02PM +0200, Alexander Graf wrote: > Both the dhcp as well as the bootp case add vendor class identifier > parameters into their packets. Let's move that into a separate function > to make overlaying easier. > > Signed-off-by: Alexander Graf Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH] imx: imx-common: print i.MX 7 SoC names consistently

2016-05-06 Thread Fabio Estevam
Hi Stefan, On Fri, May 6, 2016 at 3:21 PM, Stefan Agner wrote: > According to the product website, the full names are i.MX 7Solo > and i.MX 7Dual, whereas the short form is i.MX7S and i.MX7D. Be > consistent and print the short form for both supported i.MX 7 SoCs. > > Signed-off-by: Stefan Agner

[U-Boot] [PATCH v2 0/7] efi_loader: PXE boot support

2016-05-06 Thread Alexander Graf
One of the most common boot cases with EFI on arm64 is to boot from the network using PXE boot. While TianoCore implements that just fine, we were lacking support for it in U-Boot so far. But no longer! Here is a patch set, enabling PXE booting of EFI payloads. With this patch set, I was successfu

[U-Boot] [PATCH v2 7/7] distro: Add efi pxe boot code

2016-05-06 Thread Alexander Graf
Now that we can expose network functionality to EFI applications, the logical next step is to load them via pxe to execute them as well. This patch adds the necessary bits to the distro script to automatically load and execute EFI payloads. It identifies the dhcp client as a uEFI capable PXE clien

[U-Boot] [PATCH v2 5/7] net: Move CONFIG_SPL_NET_VCI_STRING into Kconfig

2016-05-06 Thread Alexander Graf
This patch also adds the SPL time VCI string into Kconfig. Signed-off-by: Alexander Graf --- configs/am335x_evm_defconfig | 1 + configs/am335x_evm_nor_defconfig | 1 + configs/am335x_evm_norboot_defconfig | 1 + configs/am335x_evm_spiboot_defconfig | 1 + configs

[U-Boot] [PATCH v2 6/7] net: Optionally use pxe client arch from variable

2016-05-06 Thread Alexander Graf
The client architecture that we pass to a dhcp server depends on the target payload that we want to execute. An EFI binary has a different client arch than a legacy binary or a u-boot binary. So let's parameterize the pxe client arch field to allow an override via the distro script, so that our ef

[U-Boot] [PATCH v2 3/7] net: Move the VCI and client arch values to Kconfig

2016-05-06 Thread Alexander Graf
We have a bunch of boards that define their vendor class identifier and client archs in the board files or in the distro config. Move everything to the generic Kconfig options. We're missing the distinction between i386 and x86_64, as I couldn't find any config variable that would tell us the diff

[U-Boot] [PATCH v2 2/7] bootp: Move vendor class identifier set to function

2016-05-06 Thread Alexander Graf
Both the dhcp as well as the bootp case add vendor class identifier parameters into their packets. Let's move that into a separate function to make overlaying easier. Signed-off-by: Alexander Graf --- net/bootp.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-)

[U-Boot] [PATCH v2 1/7] efi_loader: Add network access support

2016-05-06 Thread Alexander Graf
We can now successfully boot EFI applications from disk, but users may want to also run them from a PXE setup. This patch implements rudimentary network support, allowing a payload to send and receive network packets. With this patch, I was able to successfully run grub2 with network access insid

[U-Boot] [PATCH v2 4/7] net: Fix client identifiers for ARM

2016-05-06 Thread Alexander Graf
There are client identifiers specifically reserved for ARM U-Boot according to http://www.ietf.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xml#processor-architecture. So let's actually make use of them rather than the bogus 0x100 that we emitted so far. Signed-off-by: Alexander Graf ---

[U-Boot] [PATCH] imx: imx-common: print i.MX 7 SoC names consistently

2016-05-06 Thread Stefan Agner
According to the product website, the full names are i.MX 7Solo and i.MX 7Dual, whereas the short form is i.MX7S and i.MX7D. Be consistent and print the short form for both supported i.MX 7 SoCs. Signed-off-by: Stefan Agner --- arch/arm/imx-common/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] mkimage: spl address computation seems weird in PBL

2016-05-06 Thread Vincent
The behavior of the global variable "pbl_cmd_initaddr" seems wrong, and prevent to use some address depending on the size of the SPL. This is maybe due to some alignment constraints but I didn't find any documentation that would explain it. The variable is initialized like this: 288

[U-Boot] [PATCH V2 5/9] mips: ath79: Add support for ungating USB on ar933x and ar934x

2016-05-06 Thread Marek Vasut
Add code to ungate the USB controller on ar933x and ar934x . Signed-off-by: Marek Vasut Cc: Daniel Schwierzeck Cc: Wills Wang --- V2: Fix checkpatch indentation issue (off-by-one character ;-/ ) Drop map_physmem() return value check --- arch/mips/mach-ath79/include/mach/ath79.h | 2 ++ ar

[U-Boot] [PATCH V2 7/9] mips: ath79: Add support for ungating ethernet on ar933x and ar934x

2016-05-06 Thread Marek Vasut
Add code to ungate the ethernet controller on ar933x and ar934x . Signed-off-by: Marek Vasut Cc: Daniel Schwierzeck Cc: Wills Wang --- V2: Drop the map_physmem() return value check --- arch/mips/mach-ath79/include/mach/ar71xx_regs.h | 1 + arch/mips/mach-ath79/include/mach/ath79.h | 1

[U-Boot] [PATCH 9/9] mips: ath79: Add support for TPLink WDR4300

2016-05-06 Thread Marek Vasut
Add support for the TPLink WDR4300 router, which is based on the AR9344 MIPS 74Kc CPU and has 128 MiB of RAM. The USB is supported on this system as well. Signed-off-by: Marek Vasut Cc: Daniel Schwierzeck Cc: Wills Wang --- arch/mips/dts/Makefile | 1 + arch/mips/dts/tplink_wdr4300.

[U-Boot] [PATCH V2 6/9] mips: ath79: dts: Add ethernet MAC nodes for ar933x

2016-05-06 Thread Marek Vasut
Add node for both ethernet controllers in the ar933x. The PHY is attached only to the first ethernet controller. Signed-off-by: Marek Vasut Cc: Daniel Schwierzeck Cc: Wills Wang --- V2: Add PHY node for ag7xxx --- arch/mips/dts/ar933x.dtsi | 26 ++ 1 file changed, 26 in

[U-Boot] [PATCH V2 8/9] mips: ath79: Add AR934x support

2016-05-06 Thread Marek Vasut
Add support for the Atheros AR934x WiSoCs. This patchs adds complete system init, including PLL and DRAM init, both of which happen from full C environment, since the AR934x has proper SRAM. Signed-off-by: Marek Vasut Cc: Daniel Schwierzeck Cc: Wills Wang --- V2: Fix checkpatch issue in clk.c a

[U-Boot] [PATCH 2/9] mips: ath79: Fix ar71xx_regs.h indent

2016-05-06 Thread Marek Vasut
The indent in this file triggers my OCD, so fix it. Replace multiple spaces with tabs and align the values in one column. Signed-off-by: Marek Vasut Cc: Daniel Schwierzeck Cc: Wills Wang --- arch/mips/mach-ath79/include/mach/ar71xx_regs.h | 2103 --- 1 file changed, 1069 in

[U-Boot] [PATCH 3/9] mips: ath79: Fix compiler warning on const assignment

2016-05-06 Thread Marek Vasut
The assignment const T var; var = value; is illegal, since var is constant. Drop the const to fix the compiler warning. Signed-off-by: Marek Vasut Cc: Daniel Schwierzeck Cc: Wills Wang --- arch/mips/mach-ath79/reset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mip

[U-Boot] [PATCH 4/9] mips: ath79: dts: Add generic-ehci node

2016-05-06 Thread Marek Vasut
Add generic EHCI node for the ChipIdea EHCI controller in the ath79. Signed-off-by: Marek Vasut Cc: Daniel Schwierzeck Cc: Wills Wang --- arch/mips/dts/ar933x.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/mips/dts/ar933x.dtsi b/arch/mips/dts/ar933x.dtsi index 11f60a2..2e

[U-Boot] [PATCH 1/9] mips: Add MIPS 74Kc tune

2016-05-06 Thread Marek Vasut
Add MIPS 74Kc tune Kconfig option. Signed-off-by: Marek Vasut Cc: Daniel Schwierzeck Cc: Wills Wang --- arch/mips/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index fbedb29..66e805e 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @

Re: [U-Boot] [PATCH 3/7] usb: dwc2: Throttle the setup packet resending

2016-05-06 Thread Marek Vasut
On 05/04/2016 07:08 PM, Stephen Warren wrote: > On 05/03/2016 02:51 PM, Marek Vasut wrote: >> Abort the request in case any of the tokens in the packet failed to >> complete transfer 10 times. This is a precaution needed so that we >> don't end in endless loop when scanning the bus with some braind

Re: [U-Boot] [PATCH 4/4] ARM: DRA7: configs: Remove obsolete configs

2016-05-06 Thread Tom Rini
On Fri, May 06, 2016 at 06:37:03PM +0530, Lokesh Vutla wrote: > Removing: > uart3_defconfig: > Now uart3 can be selected using menuconfig, removing separate > config for uart mode. Doing uart boot is not straight forward as ROM uses > uart3 as default serial console. In order to boot to prompt, co

Re: [U-Boot] [PATCH 2/4] board: dra7: fit: add support for selecting dtb dynamically

2016-05-06 Thread Tom Rini
On Fri, May 06, 2016 at 06:37:01PM +0530, Lokesh Vutla wrote: > FIT allows for a multiple dtb in a single image. SPL needs a way to > detect the right dtb to be used. Adding support for the same. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digita

Re: [U-Boot] [PATCH v3 02/12] spi: davinci_spi: Convert to driver to adapt to DM

2016-05-06 Thread Tom Rini
On Wed, May 04, 2016 at 04:49:22PM +0530, Vignesh R wrote: > Convert davinci_spi driver so that it complies with SPI DM framework. > > Signed-off-by: Vignesh R Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot m

Re: [U-Boot] [PATCH 3/4] ARM: DRA7: Enable FIT

2016-05-06 Thread Tom Rini
On Fri, May 06, 2016 at 06:37:02PM +0530, Lokesh Vutla wrote: > Use a single defconfig for all DRA7 platforms by enabling FIT and delete > the platform specific defconfigs. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH 1/4] ARM: DRA7: configs: Rename dra7xx_evm to dra7xx_evm_nodt defconfig

2016-05-06 Thread Tom Rini
On Fri, May 06, 2016 at 06:37:00PM +0530, Lokesh Vutla wrote: > This is to make dra7xx_evm_defconfig to use DT and FIT support > by default. > > Signed-off-by: Lokesh Vutla Lets just drop the non-DT way of doing things here. -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH v2 03/15] arm: Kconfig: Add support for AM43xx SoC specific Kconfig

2016-05-06 Thread Tom Rini
On Wed, Apr 27, 2016 at 03:09:07PM -0500, Daniel Allred wrote: > From: Madan Srinivas > > Adding support for AM43xx secure devices require the addition > of some SOC specific config options like the amount of memory > used by public ROM and the address of the entry point of u-boot > or SPL, as s

Re: [U-Boot] [PATCH v2 12/15] ARM: omap-common: Add device type to CPU string

2016-05-06 Thread Tom Rini
On Wed, Apr 27, 2016 at 03:09:16PM -0500, Daniel Allred wrote: > Update the CPU string output so that the device > type is now included as part of the CPU string that > is printed as the SPL or u-boot comes up. This update > adds a suffix of the form "-GP" or "-HS" for production > devices, so tha

Re: [U-Boot] [PATCH v2 10/15] ti_omap5_common: Update SPL start address on secure parts

2016-05-06 Thread Tom Rini
On Wed, Apr 27, 2016 at 03:09:14PM -0500, Daniel Allred wrote: > Updated the CONFIG_SPL_TEXT_BASE to support secure parts (moving > the start address past secure reserved memory and the size of the > security certificate that precedes the boot image on secure devices). > Updated the related CONFIG

Re: [U-Boot] [PATCH v2 14/15] ARM: omap5: add ft_board_setup for dra7xx/am57xx

2016-05-06 Thread Tom Rini
On Wed, Apr 27, 2016 at 03:09:18PM -0500, Daniel Allred wrote: > Adds the board specific ft_board_setup() functions that > are called when CONFIG_OF_BOARD_SETUP is defined. These functions > will currently just call the ft_cpu_setup() function. > > Adds CONFIG_OF_BOARD_SETUP to the defconfig file

Re: [U-Boot] [PATCH v2 15/15] defconfig: ti: Add configs for OMAP5-class secure parts

2016-05-06 Thread Tom Rini
On Wed, Apr 27, 2016 at 03:09:19PM -0500, Daniel Allred wrote: > Adds new defconfig files for DRA7xx and AM57xx secure devices. > These are the same as the non-secure parts, but with the addition > of the CONFIG_TI_SECURE_DEVICE option set to 'y'. > > Signed-off-by: Daniel Allred > Signed-off-by

Re: [U-Boot] [PATCH v2 09/15] defconfig: Add a config for AM43xx secure part

2016-05-06 Thread Tom Rini
On Wed, Apr 27, 2016 at 03:09:13PM -0500, Daniel Allred wrote: > From: Madan Srinivas > > Adds a new defconfig file for the AM43xx secure device. > This is the same as for the non-secure part, except for: > CONFIG_TI_SECURE_DEVICE option set to 'y' > CONFIG_ISW_ENTRY_ADDR updated for

Re: [U-Boot] [PATCH v2 13/15] ARM: omap5: add hooks for cpu/SoC fdt fixups

2016-05-06 Thread Tom Rini
On Wed, Apr 27, 2016 at 03:09:17PM -0500, Daniel Allred wrote: > Adds an fdt.c file in that defines the ft_cpu_setup() function, > which should be called from a board-specific ft_board_setup()). > This ft_cpu_setup() will currently do nothing for non-secure (GP) > devices but contains pertin

Re: [U-Boot] [PATCH] spl: fit: Print error message when FDT is not present

2016-05-06 Thread Tom Rini
On Wed, May 04, 2016 at 03:08:00PM +0200, Michal Simek wrote: > When FDT is not present in the image user doesn't get any error what's > wrong. Print error message if LIBCOMMON_SUPPORT is enabled. > > Signed-off-by: Michal Simek > Seris-cc: uboot Reviewed-by: Tom Rini -- Tom signature.asc

Re: [U-Boot] [PATCH 2/4] bootp: Move vendor class identifier set to function

2016-05-06 Thread Tom Rini
On Wed, May 04, 2016 at 07:10:51PM +0200, Alexander Graf wrote: > Both the dhcp as well as the bootp case add vendor class identifier > parameters into their packets. Let's move that into a separate function > to make overlaying easier. > > Signed-off-by: Alexander Graf Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH v2 08/15] ti: AM43xx: board: Detect AM43xx HS EVM

2016-05-06 Thread Tom Rini
On Wed, Apr 27, 2016 at 03:09:12PM -0500, Daniel Allred wrote: > From: Madan Srinivas > > Adds code to detect AM43xx HS EVMS - the string in the > I2C EEPROM for HS EVMs differs from GP EVMs. Adds code to > for evm detection, regardless of whether the evm is for > GP or HS parts, and updates boa

Re: [U-Boot] ARM: fix ifdefs in ARMv8 lowlevel_init()

2016-05-06 Thread Tom Rini
On Thu, Apr 28, 2016 at 12:45:44PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Commit 724219a65f55 "ARM: always perform per-CPU GIC init" removed some > ifdefs to unify the MULTIENTRY-vs-non-MULTIENTRY paths. However, the > wrong endif was removed. This patch adds back that missing e

Re: [U-Boot] [PATCH] ARM: am33xx: Fix DDR initialization delays

2016-05-06 Thread Tom Rini
On Thu, May 05, 2016 at 08:52:10AM -0500, Russ Dill wrote: > The current delays in the DDR initialization routines for am33xx > architectures are sometimes not running long enough leading to DDR > init errors. On am437x, this shows up as an L3 NOC error after the > kernel boots. This is due to the

Re: [U-Boot] [RFC PATCH] spl: Setup default value for OF_LIST

2016-05-06 Thread Tom Rini
On Wed, May 04, 2016 at 03:14:11PM +0200, Michal Simek wrote: > OF_LIST can't remain empty that's why setup it up to default DTB. > > If it is empty u-boot.img is created without FDT partition: > For example: > ./tools/mkimage -f auto -A arm -T firmware -C none -O u-boot -a > 0x800 -e 0 -n

Re: [U-Boot] [PATCH] test/py: dfu: wait for USB device to go away at boot

2016-05-06 Thread Tom Rini
On Thu, May 05, 2016 at 05:02:06PM -0600, Stephen Warren wrote: > From: Stephen Warren > > It can take a while for a host machine to notice that a USB device has > disconnected, and process the change. At the end of the DFU test, we wait > up to 10 seconds for this to happen. This change makes t

Re: [U-Boot] [PATCH v5 1/3] spl: fit: Fix the number of bytes read when reading fdt from fit

2016-05-06 Thread Tom Rini
On Wed, May 04, 2016 at 05:34:35PM +0530, Lokesh Vutla wrote: > sectors field is not being updated when reading fdt from fit image. Because of > this size_of(u-boot.bin) is being read when reading fdt. Fixing it by updating > the sectors field properly. > > Signed-off-by: Lokesh Vutla Reviewed-

Re: [U-Boot] [PATCH v5 2/3] spl: Allow to load a FIT containing U-Boot from FS

2016-05-06 Thread Tom Rini
On Wed, May 04, 2016 at 05:34:36PM +0530, Lokesh Vutla wrote: > This provides a way to load a FIT containing U-Boot and a selection of device > tree files from a File system. Making sure that all the reads and writes > are aligned to their respective needs. > > Signed-off-by: Lokesh Vutla Revie

Re: [U-Boot] [PATCH v5 3/3] spl: Support loading a FIT from FAT FS

2016-05-06 Thread Tom Rini
On Wed, May 04, 2016 at 05:34:37PM +0530, Lokesh Vutla wrote: > Detect a FIT when loading from a FAT File system and handle it using the > new FIT SPL support. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH] mmc: Fix error in RPMB code

2016-05-06 Thread Tom Rini
On Wed, May 04, 2016 at 04:35:25PM +0200, Marek Vasut wrote: > Since we do not build any board with CONFIG_SUPPORT_EMMC_RPMB , this > piece of code evaded conversion. Fix the following compiler error: > > cmd/mmc.c: In function 'do_mmcrpmb': > cmd/mmc.c:316:32: error: 'struct blk_desc' has no mem

Re: [U-Boot] [PATCH 1/2] omap4: load files for legacy boot

2016-05-06 Thread Tom Rini
On Thu, May 05, 2016 at 11:58:06AM -0700, Ash Charles wrote: > Be sure to load the zImage and fdtfile prior to actually booting in > case we are doing a legacy boot. > > Signed-off-by: Ash Charles Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 2/2] omap4: duovero: Disable EFI booting

2016-05-06 Thread Tom Rini
On Thu, May 05, 2016 at 11:58:07AM -0700, Ash Charles wrote: > The DuoVero board fails to compile with EFI enabled as the generated > binaries are too large. As this platform doesn't currently need EFI, > disable this feature. > > Signed-off-by: Ash Charles Applied to u-boot/master, thanks! -

Re: [U-Boot] [PATCH] Fix various typos, scattered over the code.

2016-05-06 Thread Tom Rini
On Wed, May 04, 2016 at 04:47:31AM -0400, Robert P. J. Day wrote: > > Spelling corrections for (among other things): > > * environment > * override > * variable > * ftd (should be "fdt", for flattened device tree) > * embedded > * FTDI > * emulation > * controller > Applied to u-boot/master, t

Re: [U-Boot] [PATCH 0/6] arm64: Pine64 fixes and updates

2016-05-06 Thread Tom Rini
On Fri, May 06, 2016 at 06:03:11PM +0100, Andre Przywara wrote: > Hi, > > On 06/05/16 16:09, Tom Rini wrote: > > On Wed, May 04, 2016 at 10:15:28PM +0100, Andre Przywara wrote: > > > > [snip] > >> P.S. tools/buildman/README was TL;DR, so I just tested Pine64 and > >> Bananapi compilation. If some

Re: [U-Boot] [PATCH] usb: ehci-mx6: allow board_ehci_hcd_init to fail

2016-05-06 Thread Marek Vasut
On 05/06/2016 07:11 PM, Stefan Agner wrote: > On 2016-05-06 09:30, Marek Vasut wrote: >> On 05/06/2016 06:12 PM, Stefan Agner wrote: >>> On 2016-05-05 17:39, Marek Vasut wrote: On 05/06/2016 01:59 AM, Stefan Agner wrote: > There could be runtime determined board specific reason why a EHCI

Re: [U-Boot] [PATCH] usb: ehci-mx6: allow board_ehci_hcd_init to fail

2016-05-06 Thread Stefan Agner
On 2016-05-06 09:30, Marek Vasut wrote: > On 05/06/2016 06:12 PM, Stefan Agner wrote: >> On 2016-05-05 17:39, Marek Vasut wrote: >>> On 05/06/2016 01:59 AM, Stefan Agner wrote: There could be runtime determined board specific reason why a EHCI initialization fails (e.g. ENODEV if a Port i

Re: [U-Boot] [PATCH 4/8] mips: ath79: Add support for ungating USB on ar933x and ar934x

2016-05-06 Thread Marek Vasut
On 05/06/2016 01:34 PM, Daniel Schwierzeck wrote: > > > Am 05.05.2016 um 20:14 schrieb Marek Vasut: >> Add code to ungate the USB controller on ar933x and ar934x . >> >> Signed-off-by: Marek Vasut >> Cc: Daniel Schwierzeck >> Cc: Wills Wang >> --- >> arch/mips/mach-ath79/include/mach/ath79.h

Re: [U-Boot] [PATCH 7/8] mips: ath79: Add AR934x support

2016-05-06 Thread Marek Vasut
On 05/06/2016 01:32 PM, Daniel Schwierzeck wrote: > > > Am 05.05.2016 um 20:14 schrieb Marek Vasut: >> Add support for the Atheros AR934x WiSoCs. This patchs adds complete >> system init, including PLL and DRAM init, both of which happen from >> full C environment, since the AR934x has proper SRA

Re: [U-Boot] [PATCH 0/6] arm64: Pine64 fixes and updates

2016-05-06 Thread Andre Przywara
Hi, On 06/05/16 16:09, Tom Rini wrote: > On Wed, May 04, 2016 at 10:15:28PM +0100, Andre Przywara wrote: > > [snip] >> P.S. tools/buildman/README was TL;DR, so I just tested Pine64 and >> Bananapi compilation. If someone with a working buildman setup could >> test this for build regressions, I'd

Re: [U-Boot] [PATCH 3/4] net: Move the VCI and client arch values to Kconfig

2016-05-06 Thread Tom Rini
On Fri, May 06, 2016 at 05:07:28PM +0100, Leif Lindholm wrote: > On Fri, May 06, 2016 at 10:54:23AM -0400, Tom Rini wrote: > > On Wed, May 04, 2016 at 07:10:52PM +0200, Alexander Graf wrote: > > > > > We have a bunch of boards that define their vendor class identifier and > > > client archs in the

Re: [U-Boot] [PATCH] usb: ehci-mx6: allow board_ehci_hcd_init to fail

2016-05-06 Thread Marek Vasut
On 05/06/2016 01:59 AM, Stefan Agner wrote: > There could be runtime determined board specific reason why a EHCI > initialization fails (e.g. ENODEV if a Port is not available). In > this case, properly return the error code. > While at it, that function (board_ehci_hcd_init) has actually two > doc

Re: [U-Boot] [PATCH] usb: xhci: add struct devrequest declaration

2016-05-06 Thread Marek Vasut
On 05/06/2016 01:31 PM, Masahiro Yamada wrote: > Hi Marek, Hi! > 2016-05-06 19:50 GMT+09:00 Marek Vasut : >> On 05/06/2016 12:36 PM, Masahiro Yamada wrote: >>> This should be declared for xhci_ctrl_tx() to avoid build error. >> >> Can you please include the build error in the commit message ? >>

Re: [U-Boot] [PATCH] socfpga: fix broken build if CONFIG_ETH_DESIGNWARE disabled

2016-05-06 Thread Marek Vasut
On 05/06/2016 05:16 PM, Anatolij Gustschin wrote: > Building without ethernet driver doesn't work. Fix it. > > Signed-off-by: Anatolij Gustschin > Cc: Marek Vasut Nice find, applied, thanks! > --- > arch/arm/mach-socfpga/misc.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > d

Re: [U-Boot] [PATCH 1/7] usb: Don't init pointer to zero, but NULL

2016-05-06 Thread Marek Vasut
On 05/03/2016 10:51 PM, Marek Vasut wrote: > The pointer should always be inited to NULL, not zero (0). These are > two different things and not necessarily equal. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Hans de Goede > Cc: Stefan Roese > Cc: Stephen Warren

Re: [U-Boot] [PATCH] usb: ehci-mx6: allow board_ehci_hcd_init to fail

2016-05-06 Thread Marek Vasut
On 05/06/2016 06:12 PM, Stefan Agner wrote: > On 2016-05-05 17:39, Marek Vasut wrote: >> On 05/06/2016 01:59 AM, Stefan Agner wrote: >>> There could be runtime determined board specific reason why a EHCI >>> initialization fails (e.g. ENODEV if a Port is not available). In >>> this case, properly r

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2016-05-06 Thread Marek Vasut
On 05/06/2016 11:17 AM, Lukasz Majewski wrote: > Hi Marek, Hi! > Please find following pull request: > > The following changes since commit e96e064f51139c4af39f14499564ef76e40bbc29: > > usb: dwc2: Init desc_before_addr (2016-05-03 19:21:18 +0200) > > are available in the git repository at: >

Re: [U-Boot] [PATCH v4] dm: core: implement dev_map_phsymem()

2016-05-06 Thread Jagan Teki
On 6 May 2016 at 21:16, R, Vignesh wrote: > > > On 5/6/2016 9:00 PM, Jagan Teki wrote: >> On 6 May 2016 at 09:28, Vignesh R wrote: >>> This API helps to map physical register addresss pace of device to >>> virtual address space easily. Its just a wrapper around map_physmem() >>> with MAP_NOCACHE

Re: [U-Boot] [PATCH] usb: ehci-mx6: allow board_ehci_hcd_init to fail

2016-05-06 Thread Stefan Agner
On 2016-05-05 17:39, Marek Vasut wrote: > On 05/06/2016 01:59 AM, Stefan Agner wrote: >> There could be runtime determined board specific reason why a EHCI >> initialization fails (e.g. ENODEV if a Port is not available). In >> this case, properly return the error code. >> While at it, that functio

Re: [U-Boot] [PATCH 3/4] net: Move the VCI and client arch values to Kconfig

2016-05-06 Thread Alexander Graf
> Am 06.05.2016 um 17:38 schrieb Tom Rini : > >> On Fri, May 06, 2016 at 05:22:28PM +0200, Alexander Graf wrote: >> >> >>> On 06.05.16 16:54, Tom Rini wrote: On Wed, May 04, 2016 at 07:10:52PM +0200, Alexander Graf wrote: We have a bunch of boards that define their vendor class

Re: [U-Boot] [PATCH 3/4] net: Move the VCI and client arch values to Kconfig

2016-05-06 Thread Leif Lindholm
On Fri, May 06, 2016 at 10:54:23AM -0400, Tom Rini wrote: > On Wed, May 04, 2016 at 07:10:52PM +0200, Alexander Graf wrote: > > > We have a bunch of boards that define their vendor class identifier and > > client archs in the board files or in the distro config. Move everything > > to the generic

Re: [U-Boot] [PATCH v4] dm: core: implement dev_map_phsymem()

2016-05-06 Thread R, Vignesh
On 5/6/2016 9:00 PM, Jagan Teki wrote: > On 6 May 2016 at 09:28, Vignesh R wrote: >> This API helps to map physical register addresss pace of device to >> virtual address space easily. Its just a wrapper around map_physmem() >> with MAP_NOCACHE flag. >> >> Signed-off-by: Vignesh R >> Suggested-

Re: [U-Boot] [PATCH 3/4] net: Move the VCI and client arch values to Kconfig

2016-05-06 Thread Tom Rini
On Fri, May 06, 2016 at 05:22:28PM +0200, Alexander Graf wrote: > > > On 06.05.16 16:54, Tom Rini wrote: > > On Wed, May 04, 2016 at 07:10:52PM +0200, Alexander Graf wrote: > > > >> We have a bunch of boards that define their vendor class identifier and > >> client archs in the board files or in

Re: [U-Boot] [PATCH] spi: spi-uclass: fix typo in debug output

2016-05-06 Thread Jagan Teki
On 21 April 2016 at 12:58, Anatolij Gustschin wrote: > Signed-off-by: Anatolij Gustschin > Cc: Jagan Teki Applied to u-boot-spi/master -- Jagan. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] test/py: fix NameError exception if bdi cmd is not supported

2016-05-06 Thread Stephen Warren
On 05/05/2016 11:33 PM, Heiko Schocher wrote: test/py raises an error, if a board has not enabled bdi command pytest.skip('bdinfo command not supported') E NameError: global name 'pytest' is not defined import pytest in test/py/u_boot_utils.py fixes this. Reviewed-by: S

Re: [U-Boot] [PATCH 6/6] Pine64: rename defconfig

2016-05-06 Thread Tom Rini
On Fri, May 06, 2016 at 04:20:57PM +0100, Andre Przywara wrote: > Hi Tom, > > On 06/05/16 16:11, Tom Rini wrote: > > On Wed, May 04, 2016 at 11:14:39PM +0100, André Przywara wrote: > >> On 04/05/16 22:46, Peter Robinson wrote: > >>> On Wed, May 4, 2016 at 10:15 PM, Andre Przywara > >>> wrote: >

Re: [U-Boot] [PATCH v4] dm: core: implement dev_map_phsymem()

2016-05-06 Thread Jagan Teki
On 6 May 2016 at 09:28, Vignesh R wrote: > This API helps to map physical register addresss pace of device to > virtual address space easily. Its just a wrapper around map_physmem() > with MAP_NOCACHE flag. > > Signed-off-by: Vignesh R > Suggested-by: Simon Glass > Reviewed-by: Jagan Teki > > -

Re: [U-Boot] [PATCH 6/6] Pine64: rename defconfig

2016-05-06 Thread Andre Przywara
Hi Tom, On 06/05/16 16:11, Tom Rini wrote: > On Wed, May 04, 2016 at 11:14:39PM +0100, André Przywara wrote: >> On 04/05/16 22:46, Peter Robinson wrote: >>> On Wed, May 4, 2016 at 10:15 PM, Andre Przywara >>> wrote: Rename the defconfig file for the Pine64 from pine64_plus_defconfig to

Re: [U-Boot] [PATCH 3/4] net: Move the VCI and client arch values to Kconfig

2016-05-06 Thread Alexander Graf
On 06.05.16 16:54, Tom Rini wrote: > On Wed, May 04, 2016 at 07:10:52PM +0200, Alexander Graf wrote: > >> We have a bunch of boards that define their vendor class identifier and >> client archs in the board files or in the distro config. Move everything >> to the generic Kconfig options. > > Th

[U-Boot] [PATCH] socfpga: fix broken build if CONFIG_ETH_DESIGNWARE disabled

2016-05-06 Thread Anatolij Gustschin
Building without ethernet driver doesn't work. Fix it. Signed-off-by: Anatolij Gustschin Cc: Marek Vasut --- arch/arm/mach-socfpga/misc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c index dd05e14..5cbd8a4 100

Re: [U-Boot] [PATCH 6/6] Pine64: rename defconfig

2016-05-06 Thread Tom Rini
On Wed, May 04, 2016 at 11:14:39PM +0100, André Przywara wrote: > On 04/05/16 22:46, Peter Robinson wrote: > > On Wed, May 4, 2016 at 10:15 PM, Andre Przywara > > wrote: > >> Rename the defconfig file for the Pine64 from pine64_plus_defconfig to > >> pine64_defconfig. > >> The differences between

Re: [U-Boot] [PATCH 0/6] arm64: Pine64 fixes and updates

2016-05-06 Thread Tom Rini
On Wed, May 04, 2016 at 10:15:28PM +0100, Andre Przywara wrote: [snip] > P.S. tools/buildman/README was TL;DR, so I just tested Pine64 and > Bananapi compilation. If someone with a working buildman setup could > test this for build regressions, I'd be grateful. This is good feedback. FWIW, you c

Re: [U-Boot] [PATCH 3/4] net: Move the VCI and client arch values to Kconfig

2016-05-06 Thread Tom Rini
On Wed, May 04, 2016 at 07:10:52PM +0200, Alexander Graf wrote: > We have a bunch of boards that define their vendor class identifier and > client archs in the board files or in the distro config. Move everything > to the generic Kconfig options. This part is good and fine, thanks. Can you pleas

[U-Boot] [PATCH v2] x86: qemu: Move qfw command over to cmd and add Kconfig entry

2016-05-06 Thread Tom Rini
- Move the command portion of arch/x86/cpu/qemu/fw_cfg.c into cmd/qemu_fw_cfg.c - Move arch/x86/include/asm/fw_cfg.h to include/qemu_fw_cfg.h - Rename ACPI table portion to arch/x86/cpu/qemu/acpi_table.c Signed-off-by: Tom Rini --- Changes in v2: - Depend on X86 (per Miao Yan) --- arch/x86/cpu

Re: [U-Boot] [RFC] fastboot: sparse image handling and sessionId

2016-05-06 Thread Tom Rini
On Sun, May 01, 2016 at 10:57:55PM -0700, Steve Rae wrote: > On Apr 15, 2016 21:14, "Steve Rae" wrote: > > > > Maxime, > > > > I suspect that the issue fixed > > in commit c7529dbfastboot: sparse: fix block addressing for > > don't care chunk type > > > > complicated the assumptions which le

[U-Boot] U-BOOT NETCONSOLE SCRIPT

2016-05-06 Thread yyurtcan
Hi, I have p4080ds demo board and for bootloader I am using u-boot. I am using ethernet (netconsole) instead of serial bus. My question is that is there any change that can I run script inside of NETCONSOLE script after netconsole enable? If so, How? Best regards. -- View this message in context

[U-Boot] [RESEND][PATCH 1/2] i2c: atmel: add i2c driver

2016-05-06 Thread Songjun Wu
Add i2c driver. Signed-off-by: Songjun Wu --- drivers/i2c/Kconfig| 10 ++ drivers/i2c/Makefile | 1 + drivers/i2c/at91_i2c.c | 290 + drivers/i2c/at91_i2c.h | 76 + 4 files changed, 377 insertions(+) create mode 100644 drive

[U-Boot] [PATCH 2/2] i2c: atmel: DT binding for i2c driver

2016-05-06 Thread Songjun Wu
DT binding documentation for atmel i2c driver. Signed-off-by: Songjun Wu --- doc/device-tree-bindings/i2c/i2c-at91.txt | 24 1 file changed, 24 insertions(+) create mode 100644 doc/device-tree-bindings/i2c/i2c-at91.txt diff --git a/doc/device-tree-bindings/i2c/i2c-at9

[U-Boot] [RESEND][PATCH 2/2] i2c: atmel: DT binding for i2c driver

2016-05-06 Thread Songjun Wu
DT binding documentation for atmel i2c driver. Signed-off-by: Songjun Wu --- doc/device-tree-bindings/i2c/i2c-at91.txt | 24 1 file changed, 24 insertions(+) create mode 100644 doc/device-tree-bindings/i2c/i2c-at91.txt diff --git a/doc/device-tree-bindings/i2c/i2c-at9

[U-Boot] [PATCH 1/2] tools: env: Fix format warnings in debug

2016-05-06 Thread Marcin Niestroj
Format warnings (-Wformat) were shown in printf() calls after defining DEBUG macro. Update format string and explicitly cast variables to suppress all warnings. Signed-off-by: Marcin Niestroj --- tools/env/fw_env.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff -

[U-Boot] [RESEND][PATCH 0/2] i2c: atmel: add driver for atmel i2c

2016-05-06 Thread Songjun Wu
The i2c driver includes two parts. 1) Driver code to implement the i2c function. 2) Device tree binding documentation, it describes how to add the i2c in device tree. Songjun Wu (2): i2c: atmel: add i2c driver i2c: atmel: DT binding for i2c driver doc/device-tree-bindings/i2c/i2c-at91.tx

[U-Boot] [PATCH 0/2] i2c: atmel: add driver for atmel i2c

2016-05-06 Thread Songjun Wu
The i2c driver includes two parts. 1) Driver code to implement the i2c function. 2) Device tree binding documentation, it describes how to add the i2c in device tree. Songjun Wu (2): i2c: atmel: add i2c driver i2c: atmel: DT binding for i2c driver doc/device-tree-bindings/i2c/i2c-at91.tx

  1   2   >