Re: [U-Boot] [PATCH v2 07/10] dm: i2c: s3c24x0: adjust to dm-i2c api

2015-01-27 Thread Przemyslaw Marczak
Hello Simon, On 01/27/2015 04:13 AM, Simon Glass wrote: Hi Przemyslaw, On 26 January 2015 at 08:21, Przemyslaw Marczak wrote: This commit adjusts the s3c24x0 driver to new i2c api based on driver-model. The driver supports standard and high-speed i2c as previous. Tested on Trats2, Odroid U3,

[U-Boot] Loading Linux Kernel without re-initializing hardware

2015-01-27 Thread Rupam Sarma
Hi, I am working a customized PPC4040 board. One bootloader is running on this and loading QNX image. I am trying to load Linux Kernel on that board. Is it possible to use U-boot bootm command directly on different bootloader and load Linux? Board_info and cmdline struct can be populated on exist

Re: [U-Boot] [PATCH 22/23] x86: Add some documentation on how to port U-Boot on x86

2015-01-27 Thread Bin Meng
Hi Simon, On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > Some information has been gleaned on tools and procedures for porting > U-Boot to different x86 platforms. Add a few notes to start things off. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng A minor comment below.

Re: [U-Boot] [PATCH 01/23] x86: Enhance the microcode tool to support header files as input

2015-01-27 Thread Bin Meng
Hi Simon, On Tue, Jan 27, 2015 at 9:22 AM, Simon Glass wrote: > Sometimes microcode is delivered as a header file. Allow the tool to > support this as well as collecting multiple microcode blocks into a > single update. > > Signed-off-by: Simon Glass > --- Tested-by: Bin Meng But please see m

Re: [U-Boot] [PATCH 04/23] x86: video: Enable video for Minnowboard Max

2015-01-27 Thread Bin Meng
On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > This board uses a new PCI ID. > > Signed-off-by: Simon Glass > --- > > drivers/video/vesa_fb.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/video/vesa_fb.c b/drivers/video/vesa_fb.c > index 3dacafd..3a0fea2 100644 > --- a/

Re: [U-Boot] [PATCH 03/23] x86: pci: Add PCI IDs for Minnowboard Max

2015-01-27 Thread Bin Meng
On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > This board includes a few IDs we have not seen before. > > Signed-off-by: Simon Glass > --- > > include/pci_ids.h | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/include/pci_ids.h b/include/pci_ids.h > index 26f4748..1012abe 100

Re: [U-Boot] [PATCH 02/23] pci: Add a function to find a device by class

2015-01-27 Thread Bin Meng
Hi Simon, On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > There is an existing function prototype in the header file but it is not > implemented. Implement something similar. > > Signed-off-by: Simon Glass > --- > > drivers/pci/pci.c | 38 ++ > include/

Re: [U-Boot] [PATCH 05/23] usb: pci: Use pci_find_class() to find the device

2015-01-27 Thread Bin Meng
On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > Use the new utility function instead of local code. > > Signed-off-by: Simon Glass > --- > > drivers/usb/host/ehci-pci.c | 53 > + > 1 file changed, 1 insertion(+), 52 deletions(-) > > diff --git a

Re: [U-Boot] [PATCH 06/23] usb: pci: Add XHCI driver for PCI

2015-01-27 Thread Bin Meng
On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > Add a driver which locates the available XHCI controllers on the PCI bus > and makes them available. > > Signed-off-by: Simon Glass > --- > > drivers/usb/host/Makefile | 1 + > drivers/usb/host/xhci-pci.c | 60 > ++

Re: [U-Boot] [PATCH 07/23] x86: Add an option to enabling building a ROM file

2015-01-27 Thread Bin Meng
Hi Simon, On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > Rather than requiring the Makefile to be modified, provide a build option to > enable the ROM to be built. > > We cannot do this by default since it requires binary blobs. Without these > the build will fail. > > Signed-off-by: Simon

Re: [U-Boot] [PATCH 08/23] x86: Make MMCONF_BASE_ADDRESS common across x86

2015-01-27 Thread Bin Meng
Hi Simon, On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > This setting will be used by more than just ivybridge so make it common. > > Signed-off-by: Simon Glass > --- > > arch/x86/Kconfig | 12 > board/google/chromebook_link/Kconfig | 1 - > 2 files chan

[U-Boot] [PATCH 1/2] sunxi: rsb: Add sun9i (A80 support)

2015-01-27 Thread Hans de Goede
Add support for the A80 to the rsb code. Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/Makefile | 2 ++ arch/arm/cpu/armv7/sunxi/rsb.c | 11 +++ arch/arm/include/asm/arch-sunxi/cpu_sun9i.h | 5 +++-- arch/arm/include/asm/arch-sunxi/gpio.h | 8 ++

[U-Boot] [PATCH 2/2] sunxi: rsb: Move rsb_set_device_mode() call to rsb_init()

2015-01-27 Thread Hans de Goede
It turns out that the device_mode_data is rsn specific, rather then slave specific, so integrate the rsb_set_device_mode() call into rsb_init(). Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/rsb.c| 11 --- arch/arm/include/asm/arch-sunxi/rsb.h | 4 ++-- drivers/power

Re: [U-Boot] [PATCH 09/23] x86: video: Allow video ROM execution to fall back to the other method

2015-01-27 Thread Bin Meng
Hi Simon, On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > If the BIOS emulator is not available, allow use of native execution if > available, and vice versa. This can be controlled by the caller. > > Signed-off-by: Simon Glass > --- > Reviewed-by: Bin Meng But please see a minor commen

Re: [U-Boot] [PATCH 10/23] x86: bootstage: Add time measurement for vesa start-up

2015-01-27 Thread Bin Meng
On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > Since we must run a PCI BIOS ROM, and this can take a calamitous amount of > time, measure it using bootstage. > > Signed-off-by: Simon Glass > --- > > drivers/video/vesa_fb.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers

Re: [U-Boot] [PATCH 11/23] x86: Move common FSP code into a common location

2015-01-27 Thread Bin Meng
Hi Simon, On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > Signed-off-by: Simon Glass > --- > Nice to see the existing FSP support codes are common for new platforms. Reviewed-by: Bin Meng Tested-by: Bin Meng > arch/x86/cpu/queensbay/Makefile| 2 +- > a

Re: [U-Boot] [GIT PULL] Zynq SoC changes v2

2015-01-27 Thread Tom Rini
On Mon, Jan 26, 2015 at 09:09:11AM +0100, Michal Simek wrote: > Hi Tom, > > here is the second pull request for Zynq. > I have tested all patches by buildman(log below) with a kernel toolchain > > [u-boot]$ arm-unknown-linux-gnueabi-gcc --version > arm-unknown-linux-gnueabi-gcc (GCC) 4.6.3 > Cop

Re: [U-Boot] Please pull u-boot-fsl-qoriq master

2015-01-27 Thread Tom Rini
On Sat, Jan 24, 2015 at 09:44:14AM -0600, York Sun wrote: > Tom, > > The following changes since commit 37b608a52dcb13312a4f7ccea199cd6bac76d298: > > powerpc: remove icecube_5200, Lite5200, cpci5200, mecp5200, pf5200 > (2015-01-23 > 16:56:09 -0500) > > are available in the git repository at:

Re: [U-Boot] Please pull u-boot-marvell master

2015-01-27 Thread Tom Rini
On Sun, Jan 25, 2015 at 11:42:24PM +, Luka Perkov wrote: > Hi Albert, > > this series contains pending kirkwood patches that have been posted on > the mailing list for some time now. > > > The following changes since commit 37b608a52dcb13312a4f7ccea199cd6bac76d298: > > powerpc: remove ic

Re: [U-Boot] [PULL] u-boot-atmel/master -> u-boot/master

2015-01-27 Thread Tom Rini
On Mon, Jan 26, 2015 at 11:12:34AM +0100, Andreas Bießmann wrote: > The following changes since commit ab77f24119e80257de4ab017b877f92f96980562: > > Merge branch 'master' of git://git.denx.de/u-boot-ti (2015-01-16 10:25:01 > -0500) > > are available in the git repository at: > > > git://g

Re: [U-Boot] Please pull u-boot-x86

2015-01-27 Thread Tom Rini
On Mon, Jan 26, 2015 at 12:51:40PM -0700, Simon Glass wrote: > Hi Tom, > > The following changes since commit 37b608a52dcb13312a4f7ccea199cd6bac76d298: > > powerpc: remove icecube_5200, Lite5200, cpci5200, mecp5200, pf5200 > (2015-01-23 16:56:09 -0500) > > are available in the git repository

Re: [U-Boot] [PATCH 14/23] x86: Move common FSP functions into a common file

2015-01-27 Thread Bin Meng
Hi Simon, On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > Since these board functions seem to be the same for all boards which use > FSP, move them into a common file. We can adjust this later if future FSPs > need more flexibility. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/qu

Re: [U-Boot] [PATCH 12/23] x86: Adjust the FSP types slightly

2015-01-27 Thread Bin Meng
On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > To avoid casts, find_fsp_header() should return a pointer. Add asmlinkage > to two API functions which use that convention. UPD_TERMINATOR is common > so move it into a common file. > > Signed-off-by: Simon Glass > --- > > arch/x86/include/as

Re: [U-Boot] [PATCH 13/23] x86: Make CAR and DRAM FSP code common

2015-01-27 Thread Bin Meng
On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > For now this code seems to be the same for all FSP platforms. Make it > common until we see what differences are required. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/queensbay/Makefile | 2 +- > arch/x86/l

Re: [U-Boot] [PATCH 15/23] x86: Remove unnecessary casts and fix comment typos

2015-01-27 Thread Bin Meng
On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > Tidy up the FSP support code a little. > > Signed-off-by: Simon Glass > --- > > arch/x86/lib/fsp/fsp_support.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/arch/x86/lib/fsp/fsp_support.c b/arch/x86/lib/f

[U-Boot] [PATCH v3 02/12] arndale: config: disable max77686 support

2015-01-27 Thread Przemyslaw Marczak
There is no MAX77686 pmic on this board, so the driver support should be removed. Signed-off-by: Przemyslaw Marczak Cc: Minkyu Kang --- include/configs/arndale.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/arndale.h b/include/configs/arndale.h index d68993b..3ad4a9b 100

[U-Boot] [PATCH v3 00/12] exynos: enable dm i2c

2015-01-27 Thread Przemyslaw Marczak
This patchset adds support to driver model i2c api for Exynos i2c driver. Few boards are using this driver, but the board peripherals are not ported to the new api yet. So the CONFIG_DM_I2C_COMPAT is enabled. Switch to dm i2c is currentlly not possible for the few devices like Trats2, Universal C2

[U-Boot] [PATCH v3 01/12] dm: i2c-uclass-compat: fix missed argument

2015-01-27 Thread Przemyslaw Marczak
This patch fixes build error for CONFIG_DM_I2C_COMPAT. In i2c_get_chip_for_busnum() call, one of argument was missed, which was offset_len. Now it is set to 'alen' as previous. Signed-off-by: Przemyslaw Marczak --- drivers/i2c/i2c-uclass-compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[U-Boot] [PATCH v3 09/12] dm: i2c: s3c24x0: adjust to dm-i2c api

2015-01-27 Thread Przemyslaw Marczak
This commit adjusts the s3c24x0 driver to new i2c api based on driver-model. The driver supports standard and high-speed i2c as previous. Tested on Trats2, Odroid U3, Arndale, Odroid XU3 Signed-off-by: Przemyslaw Marczak Tested-by: Simon Glass Cc: Simon Glass Cc: Heiko Schocher Cc: Minkyu Kan

[U-Boot] [PATCH v3 11/12] odroid u3: enable dm i2c support

2015-01-27 Thread Przemyslaw Marczak
This patch enables CONFIG_DM_I2C and also CONFIG_DM_I2C_COMPAT. The last one should be removed when the dm pmic framework will be finished. Signed-off-by: Przemyslaw Marczak Acked-by: Simon Glass Cc: Minkyu Kang --- Changes v2: - new patch --- board/samsung/odroid/odroid.c | 14 +-

[U-Boot] [PATCH v3 04/12] smdk5250: config: enable max77686 driver support

2015-01-27 Thread Przemyslaw Marczak
This commit enable support for the above driver, which was disabled in common config. Signed-off-by: Przemyslaw Marczak Acked-by: Simon Glass Cc: Simon Glass Cc: Minkyu Kang --- include/configs/smdk5250.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/smdk5250.h b/inclu

[U-Boot] [PATCH v3 07/12] exynos5: pinmux: check flag for i2c config

2015-01-27 Thread Przemyslaw Marczak
Some versions of Exynos5 supports High-Speed I2C, on few interfaces, this change allows support this. The new flag is: PINMUX_FLAG_HS_MODE Signed-off-by: Przemyslaw Marczak Cc: Simon Glass Cc: Akshay Saraswat Cc: Minkyu Kang --- Changes v3: - add new flag: PINMUX_FLAG_HS_MODE --- arch/arm/cp

[U-Boot] [PATCH v3 10/12] odroid u3: dts: add missing i2c aliases

2015-01-27 Thread Przemyslaw Marczak
This change fixes i2c bus numbering for Odroid U3. Signed-off-by: Przemyslaw Marczak Acked-by: Simon Glass Cc: Minkyu Kang --- Changes v2: - new patch --- arch/arm/dts/exynos4412-odroid.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/exynos4412-odroid.dts b/arch/a

[U-Boot] [PATCH v3 03/12] exynos5250: config: disable max77686 driver

2015-01-27 Thread Przemyslaw Marczak
This PMIC is not common for all Exynos5250 based boards, so should be romoved from common config. Signed-off-by: Przemyslaw Marczak Acked-by: Simon Glass Cc: Simon Glass Cc: Minkyu Kang --- include/configs/exynos5250-common.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/confi

[U-Boot] [PATCH v3 06/12] arndale: dts: add missing i2c aliases

2015-01-27 Thread Przemyslaw Marczak
Without this alias setting, the seq numbers of the i2c devices are wrong. Signed-off-by: Przemyslaw Marczak Acked-by: Simon Glass Cc: Simon Glass Cc: Minkyu Kang --- arch/arm/dts/exynos5250-arndale.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/exynos5250-arndale

[U-Boot] [PATCH v3 12/12] exynos5: enable dm i2c

2015-01-27 Thread Przemyslaw Marczak
This patch enables CONFIG_DM_I2C and also CONFIG_DM_I2C_COMPAT. The last one should be removed when all the i2c peripheral drivers will use dm i2c framework. Signed-off-by: Przemyslaw Marczak Acked-by: Simon Glass Cc: Akshay Saraswat Cc: Minkyu Kang Cc: Simon Glass --- Changes v2: - new patc

[U-Boot] [PATCH v3 05/12] exynos4: dts: add missing i2c properties

2015-01-27 Thread Przemyslaw Marczak
This patch modify i2c nodes in exynos4.dtsi with: - adding proper interrupts arrays for each i2c node, which allows to decode periph id - add reg address for each i2c node for i2c driver internal use Signed-off-by: Przemyslaw Marczak Acked-by: Simon Glass Cc: Minkyu Kang Cc: Lukasz Majewski

[U-Boot] [PATCH v3 08/12] i2c: s3c24x0: reduce transmission status timeout

2015-01-27 Thread Przemyslaw Marczak
If no device is connected to I2C bus, the i2c probe command can take a lot of time for probe each address. This commit reduces the busy timeout to 10ms for standard and high speed modes. This doesn't break the transmission an also allow for properly probe the devices. Signed-off-by: Przemyslaw Mar

Re: [U-Boot] [PATCH v3 00/12] exynos: enable dm i2c

2015-01-27 Thread Przemyslaw Marczak
Hello Simon, On 01/27/2015 01:36 PM, Przemyslaw Marczak wrote: This patchset adds support to driver model i2c api for Exynos i2c driver. Few boards are using this driver, but the board peripherals are not ported to the new api yet. So the CONFIG_DM_I2C_COMPAT is enabled. Switch to dm i2c is cur

Re: [U-Boot] [PATCH 16/23] x86: Allow FSP Kconfig settings for all x86

2015-01-27 Thread Bin Meng
On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > While queensbay is the first chip with these settings, others will want to > use them too. Make them common. > > Signed-off-by: Simon Glass > --- > > arch/x86/Kconfig | 38 ++ > arch/x86/cpu/q

[U-Boot] [PATCH] armv8/vexpress64: make multientry conditional

2015-01-27 Thread Linus Walleij
While the Freescale ARMv8 board LS2085A will enter U-Boot both on a master and a secondary (slave) CPU, this is not the common behaviour on ARMv8 platforms. The norm is that U-Boot is entered from the master CPU only, while the other CPUs are kept in WFI (wait for interrupt) state. The code determ

Re: [U-Boot] [PATCH 17/23] x86: Define cache line size

2015-01-27 Thread Bin Meng
Hi Simon, On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > This avoids a warning in the Realtek Ethernet driver. The value may not > matter on x86. > > Signed-off-by: Simon Glass > --- > > arch/x86/include/asm/cache.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/x86/incl

Re: [U-Boot] [PATCH 18/23] x86: Allow a UART to be set up before the FSP is ready

2015-01-27 Thread Bin Meng
Hi Simon, On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > Since the FSP is a black box it helps to have some sort of debugging > available to check its inputs. If the debug UART is in use, set it up > after CAR is available. > > Signed-off-by: Simon Glass > --- > > arch/x86/include/asm/u-

Re: [U-Boot] [PATCH 20/23] scsi: bootstage: Measure time taken to scan the bus

2015-01-27 Thread Bin Meng
On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > On some hardware this time can be significant. Add bootstage support for > measuring this. The result can be obtained using 'bootstage report' or > passed on to the Linux via the device tree. > > Signed-off-by: Simon Glass > --- > > common/cm

Re: [U-Boot] [PATCH 21/23] x86: Enable bootstage features

2015-01-27 Thread Bin Meng
On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > Allow measuring of boot time using bootstage. > > Signed-off-by: Simon Glass > --- > > include/configs/x86-common.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h > inde

Re: [U-Boot] [PATCH] armv8/vexpress64: make multientry conditional

2015-01-27 Thread Tom Rini
On Tue, Jan 27, 2015 at 01:46:11PM +0100, Linus Walleij wrote: > While the Freescale ARMv8 board LS2085A will enter U-Boot both > on a master and a secondary (slave) CPU, this is not the common > behaviour on ARMv8 platforms. The norm is that U-Boot is entered > from the master CPU only, while the

Re: [U-Boot] [U-Boot, v2] spl: Change debug to printf for "Unsupported boot-device"

2015-01-27 Thread Michal Simek
Hi guys, 2014-11-24 23:10 GMT+01:00 Tom Rini : > On Tue, Nov 11, 2014 at 07:03:55PM +0100, Stefan Roese wrote: > > > We had the problem on an AM33xx platform, that SPL detected an > > unsupported boot-device. But since this message is a debug message > > it took a bit of time to really know, wher

Re: [U-Boot] [PATCH v3 0/9] sf: Update flash params for supported read commands and sector size

2015-01-27 Thread Bin Meng
Hi Jagan, On Sat, Jan 24, 2015 at 6:34 PM, Bin Meng wrote: > Hi Jagan, > > On Mon, Jan 12, 2015 at 2:52 PM, Jagan Teki wrote: >> On 12 January 2015 at 09:12, Bin Meng wrote: >>> Hi Jagan, >>> >>> On Wed, Dec 17, 2014 at 4:39 PM, Jagan Teki >>> wrote: On 17 December 2014 at 13:32, Bin Men

Re: [U-Boot] [PATCH 19/23] x86: spi: Support ValleyView in ICH SPI driver

2015-01-27 Thread Bin Meng
Hi Simon, On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: > The base address is found in a different way and the protection bit is also > in a different place. Otherwise it is very similar. > > Signed-off-by: Simon Glass > --- > > drivers/spi/ich.c | 56 > ++

Re: [U-Boot] [U-Boot, v2] spl: Change debug to printf for "Unsupported boot-device"

2015-01-27 Thread Stefan Roese
Hi Michal, On 27.01.2015 14:43, Michal Simek wrote: On Tue, Nov 11, 2014 at 07:03:55PM +0100, Stefan Roese wrote: > We had the problem on an AM33xx platform, that SPL detected an > unsupported boot-device. But since this message is a debug message > it took a bit of time to real

Re: [U-Boot] [U-Boot, v2] spl: Change debug to printf for "Unsupported boot-device"

2015-01-27 Thread Tom Rini
On Tue, Jan 27, 2015 at 02:43:57PM +0100, Michal Simek wrote: > Hi guys, > > 2014-11-24 23:10 GMT+01:00 Tom Rini : > > > On Tue, Nov 11, 2014 at 07:03:55PM +0100, Stefan Roese wrote: > > > > > We had the problem on an AM33xx platform, that SPL detected an > > > unsupported boot-device. But since

Re: [U-Boot] [PATCH 1/3] ARmv7: Add a soc_init hook to start.S

2015-01-27 Thread Tom Rini
On Mon, Jan 26, 2015 at 08:32:41PM +0100, Hans de Goede wrote: > Hi, > > On 26-01-15 16:18, Tom Rini wrote: > >On Fri, Jan 23, 2015 at 09:54:12AM +0100, Hans de Goede wrote: > >>Hi, > >> > >>On 22-01-15 22:03, Tom Rini wrote: > >>>On Thu, Jan 22, 2015 at 08:10:06PM +0100, Hans de Goede wrote: > >>

Re: [U-Boot] [PATCH 0/23] x86: Add bare support for Intel Minnowboard Max

2015-01-27 Thread Bin Meng
Hi Simon, On Tue, Jan 27, 2015 at 9:22 AM, Simon Glass wrote: > This series adds support for the Intel Minnowboard Max (called Minnowmax > for short). Along the way a few refactors and additions are made: > > - The Intel Firmware Support Package support is moved from queensbay to a > common locat

Re: [U-Boot] [U-Boot, v2] spl: Change debug to printf for "Unsupported boot-device"

2015-01-27 Thread Stefan Roese
On 27.01.2015 15:22, Tom Rini wrote: We had the problem on an AM33xx platform, that SPL detected an unsupported boot-device. But since this message is a debug message it took a bit of time to really know, where the hangup in SPL resulted from. So let's change this debug message to a printf and al

Re: [U-Boot] [U-Boot, v2] spl: Change debug to printf for "Unsupported boot-device"

2015-01-27 Thread Michal Simek
2015-01-27 15:38 GMT+01:00 Stefan Roese : > On 27.01.2015 15:22, Tom Rini wrote: > >> We had the problem on an AM33xx platform, that SPL detected an > unsupported boot-device. But since this message is a debug message > it took a bit of time to really know, where the hangup in SPL > re

Re: [U-Boot] [PATCH] lcd: fix console address is not initialized

2015-01-27 Thread Nikita Kiryanov
Hi Bo, On 01/26/2015 07:55 AM, Bo Shen wrote: Hi Nikita Kiryanov, + Andreas, Tom On 01/23/2015 09:20 AM, Bo Shen wrote: Hi Nikita Kiryanov, On 01/22/2015 09:10 PM, Nikita Kiryanov wrote: Hi Bo, On 01/21/2015 06:37 AM, Bo Shen wrote: This commit 904672e (lcd: refactor lcd console stuff in

Re: [U-Boot] [PATCH 01/23] x86: Enhance the microcode tool to support header files as input

2015-01-27 Thread Simon Glass
Hi Bin, On 27 January 2015 at 01:59, Bin Meng wrote: > Hi Simon, > > On Tue, Jan 27, 2015 at 9:22 AM, Simon Glass wrote: >> Sometimes microcode is delivered as a header file. Allow the tool to >> support this as well as collecting multiple microcode blocks into a >> single update. >> >> Signed-o

Re: [U-Boot] [PATCH 14/23] x86: Move common FSP functions into a common file

2015-01-27 Thread Simon Glass
Hi Bin, On 27 January 2015 at 05:20, Bin Meng wrote: > Hi Simon, > > On Tue, Jan 27, 2015 at 9:23 AM, Simon Glass wrote: >> Since these board functions seem to be the same for all boards which use >> FSP, move them into a common file. We can adjust this later if future FSPs >> need more flexibil

Re: [U-Boot] [RFC PATCH 3/5] common/board_r: manual relocation for cmd table

2015-01-27 Thread Michal Simek
2015-01-20 0:34 GMT+01:00 Simon Glass : > Hi Andreas, > > On 19 January 2015 at 16:29, Andreas Bießmann > wrote: > > This is required for architectures still need manual relocation like > avr32, mk68 > > and others. > > > > Signed-off-by: Andreas Bießmann > > --- > > > > common/board_r.c | 12

[U-Boot] [PATCH 02/14] microblaze: Show return address from exception

2015-01-27 Thread Michal Simek
Show also return address from exception which should suggest where the problem is. Signed-off-by: Michal Simek --- arch/microblaze/cpu/exception.c | 2 ++ arch/microblaze/include/asm/asm.h | 4 2 files changed, 6 insertions(+) diff --git a/arch/microblaze/cpu/exception.c b/arch/microbla

[U-Boot] [PATCH 01/14] microblaze: Fix stack usage in interrupt handler

2015-01-27 Thread Michal Simek
Do not save registers below r1 stack pointer because it is not checked by stack undeflow is not able to detect it. Signed-off-by: Michal Simek --- arch/microblaze/cpu/irq.S | 121 +++--- 1 file changed, 60 insertions(+), 61 deletions(-) diff --git a/arch

[U-Boot] [PATCH 03/14] microblaze: Fix coding style in exception.c

2015-01-27 Thread Michal Simek
Just coding style cleanup - no functional changes. Signed-off-by: Michal Simek --- arch/microblaze/cpu/exception.c | 33 + 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/arch/microblaze/cpu/exception.c b/arch/microblaze/cpu/exception.c index 4572

[U-Boot] [PATCH 05/14] microblaze: Fix coding style

2015-01-27 Thread Michal Simek
No functional changes just to pass checkpatch.pl. Signed-off-by: Michal Simek --- arch/microblaze/cpu/interrupts.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/microblaze/cpu/interrupts.c b/arch/microblaze/cpu/interrupts.c index 030e9147dc40..771bbd0

[U-Boot] [PATCH 09/14] microblaze: Remove unused asm label

2015-01-27 Thread Michal Simek
It is not used at all that's why remove it. Signed-off-by: Michal Simek --- arch/microblaze/cpu/start.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/microblaze/cpu/start.S b/arch/microblaze/cpu/start.S index 84c29e54091e..e0e3470a181a 100644 --- a/arch/microblaze/cpu

[U-Boot] [PATCH 07/14] microblaze: Remove unneeded data section adding from DTB

2015-01-27 Thread Michal Simek
DTB is added to rodata section: [ 2] .rodata PROGBITS84c5b60c 05c60c 00c618 00 A 0 0 4 [ 3] .dtb.init.rodata PROGBITS84c67c30 068c30 003c80 00 A 0 0 16 [ 4] .rela.dyn RELA84c6b8b0 06c8b0 000534 0c A 0 0 4 [ 5] .data PR

[U-Boot] [PATCH 04/14] microblaze: Remove DEBUG_INT macro and use debug() instead

2015-01-27 Thread Michal Simek
Do not use specific macros for debugging. Also remove compilation warning: w+../arch/microblaze/cpu/interrupts.c: In function 'interrupt_handler': w+../arch/microblaze/cpu/interrupts.c:153:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'void (*)(void *)' [-

[U-Boot] [PATCH 08/14] microblaze: Use standard interrupt_init() function

2015-01-27 Thread Michal Simek
Do not use microblaze specific interrupt init function. Signed-off-by: Michal Simek --- arch/microblaze/cpu/interrupts.c | 2 +- arch/microblaze/include/asm/microblaze_intc.h | 2 -- arch/microblaze/lib/board.c | 2 +- 3 files changed, 2 insertions(+), 4 deletions

[U-Boot] [PATCH 06/14] microblaze: Add debug message about enabling interrupts

2015-01-27 Thread Michal Simek
Add one more debug message about enabling global interrupts. Signed-off-by: Michal Simek --- arch/microblaze/cpu/interrupts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/microblaze/cpu/interrupts.c b/arch/microblaze/cpu/interrupts.c index 771bbd0ca628..f66ec69ee25e 100644 --- a/arc

[U-Boot] [PATCH 14/14] bdinfo: Show information about fdt blob via bdinfo

2015-01-27 Thread Michal Simek
Microblaze target supports both OF and !OF cases and from log is not clear which version is running. Signed-off-by: Michal Simek --- common/cmd_bdinfo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c index 4c51059c1ba4..e9eab232f961 100644 --- a

[U-Boot] [PATCH 10/14] microblaze: Fix gd_t address which is placed at the end of BRAM

2015-01-27 Thread Michal Simek
Setup gd from ASM to be availalbe for board_init_r. Setting it up in spl_board_init is too late when MALLOC is used. Space for gd is located behind MALLOC area at the end of BRAM. Signed-off-by: Michal Simek --- arch/microblaze/cpu/spl.c | 2 -- arch/microblaze/cpu/start.S | 1 + 2 files chan

[U-Boot] [PATCH 13/14] microblaze: Speedup code copy

2015-01-27 Thread Michal Simek
Remove one instruction in the loop which speedup code copying. Signed-off-by: Michal Simek --- arch/microblaze/cpu/start.S | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/arch/microblaze/cpu/start.S b/arch/microblaze/cpu/start.S index 3de0e12090ea..4023ec067531

[U-Boot] [PATCH 11/14] microblaze: Enable SPL_NOR support when FLASH_BASE is setup

2015-01-27 Thread Michal Simek
Simplify SPL NOR init. Signed-off-by: Michal Simek --- include/configs/microblaze-generic.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index bb070600021b..2e1e64247fe0 100644 --- a/includ

Re: [U-Boot] [PATCH v3 00/12] exynos: enable dm i2c

2015-01-27 Thread Simon Glass
+Minkyu Hi Przemyslaw, On 27 January 2015 at 05:36, Przemyslaw Marczak wrote: > This patchset adds support to driver model i2c api for Exynos i2c driver. > Few boards are using this driver, but the board peripherals are not ported > to the new api yet. So the CONFIG_DM_I2C_COMPAT is enabled. > >

Re: [U-Boot] [PATCH v3 08/12] i2c: s3c24x0: reduce transmission status timeout

2015-01-27 Thread Simon Glass
Hi, On 27 January 2015 at 05:36, Przemyslaw Marczak wrote: > If no device is connected to I2C bus, the i2c probe command > can take a lot of time for probe each address. This commit > reduces the busy timeout to 10ms for standard and high speed > modes. This doesn't break the transmission an also

Re: [U-Boot] [PATCH v3 07/12] exynos5: pinmux: check flag for i2c config

2015-01-27 Thread Simon Glass
On 27 January 2015 at 05:36, Przemyslaw Marczak wrote: > Some versions of Exynos5 supports High-Speed I2C, > on few interfaces, this change allows support this. > The new flag is: PINMUX_FLAG_HS_MODE > > Signed-off-by: Przemyslaw Marczak > Cc: Simon Glass > Cc: Akshay Saraswat > Cc: Minkyu Kang

Re: [U-Boot] [PATCH v3 09/12] dm: i2c: s3c24x0: adjust to dm-i2c api

2015-01-27 Thread Simon Glass
On 27 January 2015 at 05:36, Przemyslaw Marczak wrote: > This commit adjusts the s3c24x0 driver to new i2c api > based on driver-model. The driver supports standard > and high-speed i2c as previous. > > Tested on Trats2, Odroid U3, Arndale, Odroid XU3 > > Signed-off-by: Przemyslaw Marczak > Teste

Re: [U-Boot] [PATCH v3 01/12] dm: i2c-uclass-compat: fix missed argument

2015-01-27 Thread Simon Glass
Hi Przemyslaw, On 27 January 2015 at 05:36, Przemyslaw Marczak wrote: > This patch fixes build error for CONFIG_DM_I2C_COMPAT. > In i2c_get_chip_for_busnum() call, one of argument was missed, > which was offset_len. Now it is set to 'alen' as previous. > > Signed-off-by: Przemyslaw Marczak > ---

Re: [U-Boot] [PATCH] patman: Make dry-run output match real functionality

2015-01-27 Thread Peter Tyser
On Mon, 2015-01-26 at 22:21 -0700, Simon Glass wrote: > Hi Peter, > > On 26 January 2015 at 10:42, Peter Tyser wrote: > > When run with the --dry-run argument patman prints out information > > showing what it would do. This information currently doesn't line up > > with what patman/git send-ema

Re: [U-Boot] [PATCH v3 08/12] i2c: s3c24x0: reduce transmission status timeout

2015-01-27 Thread Przemyslaw Marczak
Hello, On 01/27/2015 04:38 PM, Simon Glass wrote: Hi, On 27 January 2015 at 05:36, Przemyslaw Marczak wrote: If no device is connected to I2C bus, the i2c probe command can take a lot of time for probe each address. This commit reduces the busy timeout to 10ms for standard and high speed mode

[U-Boot] [PATCH] spl: Change printf to puts for "Unsupported boot-device"

2015-01-27 Thread Stefan Roese
Microblaze currently doesn't use printf in SPL. So this one line was the only reference to it and resulted in the printf functionality to be pulled in. Exceeding the 4k size limit. Lets change the printf back to puts so that Microblaze is fixed again. The only drawback is that the detected boot-dev

Re: [U-Boot] [PATCH] spl: Change printf to puts for "Unsupported boot-device"

2015-01-27 Thread Tom Rini
On Tue, Jan 27, 2015 at 04:45:09PM +0100, Stefan Roese wrote: > Microblaze currently doesn't use printf in SPL. So this one line was the only > reference to it and resulted in the printf functionality to be pulled in. > Exceeding the 4k size limit. Lets change the printf back to puts so that > Mic

[U-Boot] [PATCH 12/14] microblaze: Move architecture to use generic board init

2015-01-27 Thread Michal Simek
Compile code with -fPIC to get GOT. Do not build SPL with fPIC because it increasing SPL size for nothing. Signed-off-by: Michal Simek --- This code requires "common/board_r: manual relocation for cmd table" http://lists.denx.de/pipermail/u-boot/2015-January/201965.html Not fully happy about it

Re: [U-Boot] [PATCH 20/23] scsi: bootstage: Measure time taken to scan the bus

2015-01-27 Thread Rob Herring
On Mon, Jan 26, 2015 at 7:23 PM, Simon Glass wrote: > On some hardware this time can be significant. Add bootstage support for > measuring this. The result can be obtained using 'bootstage report' or > passed on to the Linux via the device tree. > > Signed-off-by: Simon Glass > --- > > common/cm

Re: [U-Boot] [PATCH 05/23] usb: pci: Use pci_find_class() to find the device

2015-01-27 Thread Marek Vasut
On Tuesday, January 27, 2015 at 02:23:03 AM, Simon Glass wrote: > Use the new utility function instead of local code. > > Signed-off-by: Simon Glass > --- > > drivers/usb/host/ehci-pci.c | 53 > + 1 file changed, 1 > insertion(+), 52 deletions(-) Nice

Re: [U-Boot] [PATCH 06/23] usb: pci: Add XHCI driver for PCI

2015-01-27 Thread Marek Vasut
On Tuesday, January 27, 2015 at 02:23:04 AM, Simon Glass wrote: > Add a driver which locates the available XHCI controllers on the PCI bus > and makes them available. > > Signed-off-by: Simon Glass Hi! Which xhci controllers did you test with this patch and on which platform please? Is it just

Re: [U-Boot] [PATCH] spl: Change printf to puts for "Unsupported boot-device"

2015-01-27 Thread Michal Simek
On 01/27/2015 05:02 PM, Tom Rini wrote: > On Tue, Jan 27, 2015 at 04:45:09PM +0100, Stefan Roese wrote: > >> Microblaze currently doesn't use printf in SPL. So this one line was the only >> reference to it and resulted in the printf functionality to be pulled in. >> Exceeding the 4k size limit. Le

[U-Boot] [PATCH] sunxi: TZX-Q8-713B7 support

2015-01-27 Thread Paul Kocialkowski
This patch adds support for the TZX-Q8-713B7 tablet as described at: http://linux-sunxi.org/TZX-Q8-713B7 All the things that are expected to work are going just fine, even host USB OTG with the MUSB driver worked with both storage and a USB keyboard. The DRAM configuration was not directly import

[U-Boot] [PATCH] sunxi: TZX-Q8-713B7 support

2015-01-27 Thread Paul Kocialkowski
Signed-off-by: Paul Kocialkowski --- board/sunxi/Kconfig| 4 board/sunxi/MAINTAINERS| 5 + board/sunxi/Makefile | 1 + configs/TZX-Q8-713B7_defconfig | 15 +++ 4 files changed, 25 insertions(+) create mode 100644 configs/TZX-Q8-713B7_defconfi

[U-Boot] [RFC PATCH] ARM: Activate hypervisor mode for TI am5726 (OMAP5/dra7)

2015-01-27 Thread Frank Bormann
Hi, I was wondering if I could have any input on the patch below activating hypervisor mode on TI OMAP5-based SoC. The patch essentially uses the on-chip ROM code API to enable hypervisor mode on the primary A15 core and goes in tandem with a Linux kernel patch recently accepted into omap-for-v3.

Re: [U-Boot] [RFC PATCH] ARM: Activate hypervisor mode for TI am5726 (OMAP5/dra7)

2015-01-27 Thread Lennart Sorensen
On Tue, Jan 27, 2015 at 01:56:12PM -0500, Frank Bormann wrote: > Hi, > > I was wondering if I could have any input on the patch below activating > hypervisor mode on TI OMAP5-based SoC. The patch essentially uses the > on-chip ROM code API to enable hypervisor mode on the primary A15 core > and go

Re: [U-Boot] [PATCH] net: configure DWMAC DMA by default AXI burst length

2015-01-27 Thread Joe Hershberger
On Mon, Jan 26, 2015 at 8:54 PM, wrote: > > From: Sonic Zhang > > Board can define its own AXI burst length to improve DWMAC DMA performance. > > Signed-off-by: Sonic Zhang > --- > > drivers/net/designware.c |2 ++ > drivers/net/designware.h |5 + > 2 files changed, 7 insertions(+)

Re: [U-Boot] [PATCH 06/23] usb: pci: Add XHCI driver for PCI

2015-01-27 Thread Simon Glass
Hi Marek, On 27 January 2015 at 10:57, Marek Vasut wrote: > On Tuesday, January 27, 2015 at 02:23:04 AM, Simon Glass wrote: >> Add a driver which locates the available XHCI controllers on the PCI bus >> and makes them available. >> >> Signed-off-by: Simon Glass > > Hi! > > Which xhci controllers

Re: [U-Boot] [PATCH 05/23] usb: pci: Use pci_find_class() to find the device

2015-01-27 Thread Simon Glass
Hi Marek, On 27 January 2015 at 10:50, Marek Vasut wrote: > On Tuesday, January 27, 2015 at 02:23:03 AM, Simon Glass wrote: >> Use the new utility function instead of local code. >> >> Signed-off-by: Simon Glass >> --- >> >> drivers/usb/host/ehci-pci.c | 53 >> +-

Re: [U-Boot] [PATCH 05/23] usb: pci: Use pci_find_class() to find the device

2015-01-27 Thread Marek Vasut
On Tuesday, January 27, 2015 at 09:53:01 PM, Simon Glass wrote: > Hi Marek, Hi Simon, > On 27 January 2015 at 10:50, Marek Vasut wrote: > > On Tuesday, January 27, 2015 at 02:23:03 AM, Simon Glass wrote: > >> Use the new utility function instead of local code. > >> > >> Signed-off-by: Simon Gla

Re: [U-Boot] [PATCH 06/23] usb: pci: Add XHCI driver for PCI

2015-01-27 Thread Marek Vasut
On Tuesday, January 27, 2015 at 09:52:14 PM, Simon Glass wrote: > Hi Marek, Hi! > On 27 January 2015 at 10:57, Marek Vasut wrote: > > On Tuesday, January 27, 2015 at 02:23:04 AM, Simon Glass wrote: > >> Add a driver which locates the available XHCI controllers on the PCI bus > >> and makes them

Re: [U-Boot] [PATCH 2/4] usb: add 'bcm_udc_otg' support

2015-01-27 Thread Marek Vasut
On Monday, January 26, 2015 at 06:44:14 PM, Steve Rae wrote: [...] > > No, unless there's a convincing technical argument that the currently > > mainline DWC2 gadget driver (the s3c one) can absolutelly not be used > > for the broadcom SoC, I want to avoid having two drivers for the same > > IP cor

Re: [U-Boot] [PATCH 1/2] mtd:mxs:nand calculate ecc strength dynamically

2015-01-27 Thread Jörg Krause
On Fr, 2014-12-19 at 12:39 +0800, Peng Fan wrote: > Calculate ecc strength according oobsize, but not hardcoded > which is not aligned with kernel driver > > Signed-off-by: Peng Fan > Signed-off-by: Ye.Li > --- > drivers/mtd/nand/mxs_nand.c | 22 -- > 1 file changed, 4 inser

[U-Boot] checkstack.pl

2015-01-27 Thread York Sun
Masahiro, Do you mind to add aarch64 support for checkstack.pl? $ make checkstack /opt/linaro/gcc-linaro-aarch64-linux-gnu-4.8-2013.12_linux/bin/aarch64-linux-gnu-objdump -d u-boot $(find . -name u-boot-spl) | \ perl ./scripts/checkstack.pl aarch64 wrong or unknown architecture "aarch64"

Re: [U-Boot] [PATCH 1/2] RFC: dm: Kconfig: Move all driver model CONFIGs to Kconfig

2015-01-27 Thread Joe Hershberger
On Tue, Dec 9, 2014 at 7:21 AM, Simon Glass wrote: > > Kconfig has been available for a while but there are still driver model > CONFIG options. Move all of these to Kconfig. > > This patch isn't final - I need to wait until the SPL series can be fully > applied, which is in turn waiting on some A

Re: [U-Boot] [PATCH 1/5] nand: Use common read function instead of verify_buf()

2015-01-27 Thread Peter Tyser
Hi Scott, > > I waffled about removing it, but leaned towards leaving it in because: > > - I didn't want to change the existing U-Boot behavior for other > > users. A google of 'u-boot "nand write"' shows a lot of examples that > > don't include verification of writes, and they should if we remo

  1   2   >