Re: [U-Boot] [PATCH] net: fix m88e1111s PHY auto negotiation timeout

2016-02-17 Thread Stefan Roese
Hi Thomas, On 16.02.2016 07:54, Thomas Chou wrote: After commit a058052c358c ("net: phy: do not read configuration register on reset") both 3c120 and 10m50 devboard which use Marvel m88es PHY got this error message, Net: eth0: ethernet@400 => ping 192.168.1.5 ethernet@400 Waiting for PHY

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-17 Thread Bin Meng
On Thu, Feb 18, 2016 at 3:13 PM, Jagan Teki wrote: > Hi Bin, > > On 18 February 2016 at 10:54, Bin Meng wrote: >> On Thu, Feb 18, 2016 at 1:13 PM, Bin Meng wrote: >>> Hi Jagan, >>> >>> On Thu, Feb 18, 2016 at 12:05 PM, Bin Meng wrote: Hi Jagan, On Wed, Feb 17, 2016 at 5:10 PM, B

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-17 Thread Jagan Teki
Hi Bin, On 18 February 2016 at 10:54, Bin Meng wrote: > On Thu, Feb 18, 2016 at 1:13 PM, Bin Meng wrote: >> Hi Jagan, >> >> On Thu, Feb 18, 2016 at 12:05 PM, Bin Meng wrote: >>> Hi Jagan, >>> >>> On Wed, Feb 17, 2016 at 5:10 PM, Bin Meng wrote: Hi Jagan, On Wed, Feb 17, 2016 at

[U-Boot] [PATCH] pci: Fix compiler warnings in dm_pciauto_setup_device()

2016-02-17 Thread Bin Meng
Fix the following compiler warnings when DEBUG is on. warning: 'bar_res' may be used uninitialized in this function. drivers/pci/pci_auto.c:101:21: if (!enum_only && pciauto_region_allocate(bar_res, bar_size, ^ Signed-off-by: Bin Meng --- drivers/pci/pci_auto.c | 2 +

Re: [U-Boot] [PATCH] mx6ul_14x14_evk: Select CONFIG_FSL_QSPI

2016-02-17 Thread Peng Fan
Hi Fabio, On Wed, Feb 17, 2016 at 05:32:14PM -0200, Fabio Estevam wrote: >From: Fabio Estevam > >Select CONFIG_FSL_QSPI so that the SPI can be probed: > >=> sf probe >SF: Detected N25Q256 with page size 256 Bytes, erase size 64 KiB, total 32 MiB > >Signed-off-by: Fabio Estevam >--- > include/con

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-17 Thread Bin Meng
On Thu, Feb 18, 2016 at 1:13 PM, Bin Meng wrote: > Hi Jagan, > > On Thu, Feb 18, 2016 at 12:05 PM, Bin Meng wrote: >> Hi Jagan, >> >> On Wed, Feb 17, 2016 at 5:10 PM, Bin Meng wrote: >>> Hi Jagan, >>> >>> On Wed, Feb 17, 2016 at 3:38 PM, Jagan Teki wrote: Hi Bin, On 17 February 2

[U-Boot] [PATCH v2] spi-nor: Correct the logic to detect flash rw mode

2016-02-17 Thread Bin Meng
spi->mode includes all available modes for operating on SPI flashes, and we should test each bit instead of a switch..case statement to make the detection logic correct. Signed-off-by: Bin Meng --- Changes in v2: - Write mode detection should not be in a 'else' branch drivers/mtd/spi-nor/m25p

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-02-17 Thread Phil Reid
G'day George On 18/02/2016 5:54 AM, George Broz wrote: Hello, Sorry for the newbie question... I have an Altera/Terasic board (socfpga_sockit) that has issues recognizing USB storage devices (roughly 60% good / 40% bad): SOCFPGA_CYCLONE5 # usb start (Re)start USB... USB0: scanning bus 0 for d

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-17 Thread Bin Meng
Hi Jagan, On Thu, Feb 18, 2016 at 12:05 PM, Bin Meng wrote: > Hi Jagan, > > On Wed, Feb 17, 2016 at 5:10 PM, Bin Meng wrote: >> Hi Jagan, >> >> On Wed, Feb 17, 2016 at 3:38 PM, Jagan Teki wrote: >>> Hi Bin, >>> >>> On 17 February 2016 at 13:07, Jagan Teki wrote: Hi Bin, On 17 Fe

[U-Boot] [Patch V5 0/4] Qe/Fman related patches

2016-02-17 Thread Gong Qianyu
Hi all, This is the version 5 patchset that fixes to: - move the code changes of fdt_fixup_fman_firmware() to a separate new patch [3/4]. Tested on LS1043AQDS board and P4080DS board. Thank you for reviewing the patches. [Patch V5 1/4] qe: move drivers/qe/qe.h to include/fsl_qe.h [Patch V5 2/4]

[U-Boot] [Patch V5 3/4] driver/fm: fdt.c: fix fdt_fixup_fman_firmware() to support ARM platforms

2016-02-17 Thread Gong Qianyu
Use fdt32_to_cpu() to convert the data correctly for both endianness platforms. Signed-off-by: Gong Qianyu --- V5: - New Patch. drivers/net/fm/fdt.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/net/fm/fdt.c b/drivers/net/fm/fdt.c index 830d228..9918d8

[U-Boot] [Patch V5 4/4] armv8/fsl-layerscape: fdt: add fixup for Fman ucode

2016-02-17 Thread Gong Qianyu
Add fdt fixup to insert Fman firmware into the device tree. Signed-off-by: Gong Qianyu --- V4-V5: - No change. V3: - Remove fman clock fixup. - Revise commit message too. V2: - Removed the duplicated function. arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 7 +++ 1 file changed, 7 insertions

[U-Boot] [Patch V5 1/4] qe: move drivers/qe/qe.h to include/fsl_qe.h

2016-02-17 Thread Gong Qianyu
As the QE firmware struct is shared with Fman, move the header file out of drivers/qe/. Signed-off-by: Gong Qianyu --- V5: - No change. V4: - Updated and based on the latest commit. No code changed but fixed "git am" error. V3: - Move file changes about "qe.h" to this patch. V2: - New Patc

[U-Boot] [Patch V5 2/4] fm: fdt: Move fman ucode fixup to driver code

2016-02-17 Thread Gong Qianyu
Not only powerpc/mpc85xx but also Freescale Layerscape platforms will use fdt_fixup_fman_firmware() to insert Fman ucode blob into the device tree. So move the function to Fman driver code. Signed-off-by: Gong Qianyu --- V5: - Move the function changes to a separate patch. V4: - No change. V3:

[U-Boot] [PATCH] spi-nor: Correct the logic to detect flash rw mode

2016-02-17 Thread Bin Meng
spi->mode includes all available modes for operating on SPI flashes, and we should test each bit instead of a switch..case statement to make the detection logic correct. Signed-off-by: Bin Meng --- drivers/mtd/spi-nor/m25p80.c | 20 +--- 1 file changed, 5 insertions(+), 15 delet

Re: [U-Boot] [PATCH] RFC/BUG Workaround regression with "mkimage -T rksd".

2016-02-17 Thread Simon Glass
Hi, On Feb 17, 2016 21:32, "Vagrant Cascadian" wrote: > > While this patch allows "mkimage -T rksd" to work, boot is still > broken in other ways, so something more needs to be fixed. > > Partially Reverts "rockchip: jerry: Enable EDP and HDMI video output" > > This partiall reverts commi

[U-Boot] [PATCH] RFC/BUG Workaround regression with "mkimage -T rksd".

2016-02-17 Thread Vagrant Cascadian
While this patch allows "mkimage -T rksd" to work, boot is still broken in other ways, so something more needs to be fixed. Partially Reverts "rockchip: jerry: Enable EDP and HDMI video output" This partiall reverts commit 74336f7daa4b1a45d04ddc9ef05737af54ae4836. For some reason, the ch

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-17 Thread Bin Meng
Hi Jagan, On Wed, Feb 17, 2016 at 5:10 PM, Bin Meng wrote: > Hi Jagan, > > On Wed, Feb 17, 2016 at 3:38 PM, Jagan Teki wrote: >> Hi Bin, >> >> On 17 February 2016 at 13:07, Jagan Teki wrote: >>> Hi Bin, >>> >>> On 17 February 2016 at 10:52, Bin Meng wrote: Hi Jagan, On Wed, Feb

[U-Boot] [PATCH V2] OMAP3SOM BOARD: Auto detect Logic PD Models

2016-02-17 Thread Adam Ford
Logic PD makes four different system on modules. This patch will auto detect the board type and identify the corresponding device tree image. V2: Added 'default:' case to switch statement Since board_late_init() is defined as int, we now return 0 Signed-off-by: Derald Woods Signed-off-by: Adam

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-17 Thread Bin Meng
On Thu, Feb 18, 2016 at 4:21 AM, Tom Rini wrote: > On Wed, Feb 17, 2016 at 05:10:33PM +0800, Bin Meng wrote: >> Hi Jagan, >> >> On Wed, Feb 17, 2016 at 3:38 PM, Jagan Teki wrote: >> > Hi Bin, >> > >> > On 17 February 2016 at 13:07, Jagan Teki wrote: >> >> Hi Bin, >> >> >> >> On 17 February 2016

[U-Boot] fdtgrep results in Segmentation fault for 64bit DT

2016-02-17 Thread Masahiro Yamada
Hi Simon, I am working on U-Boot support on my new ARMv8 SoC. I was hit by a problem with fdtgrep. (Note: CONFIG_SPL_OF_CONTROL is on UniPhier SoC family) CC spl/lib/time.o CC spl/lib/rand.o CC spl/lib/vsprintf.o CC spl/lib/panic.o CC spl/lib/strto.o LD

Re: [U-Boot] [PATCH] dts: keep clock-names and clocks in SPL DTB if SPL_CLK is enabled

2016-02-17 Thread Masahiro Yamada
Simon, Any comment on this patch? 2016-02-03 20:51 GMT+09:00 Masahiro Yamada : > These two properties are necessary for SPL to get clocks from DT. > > Note: > For now, only clock look-up by index is supported (clk_get_by_index() > function), so "clock-names" is never parsed in U-Boot. However

Re: [U-Boot] [PATCH] ARM: zynq: Enable SPL RAM support by default

2016-02-17 Thread Moritz Fischer
On Tue, Feb 16, 2016 at 11:39 PM, Michal Simek wrote: > Use RAM support in jtagboot mode. > > Signed-off-by: Michal Simek Reviewed-by: Moritz Fischer Looks good to me, Moritz ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/l

Re: [U-Boot] GSoC projects for Minnowboard MAX

2016-02-17 Thread Bin Meng
Hi Simon, On Thu, Feb 18, 2016 at 12:35 AM, Simon Glass wrote: > +Bin > > Hi Hans, > > On 11 February 2016 at 08:44, Hans de Goede wrote: >> Hi, >> >> On 11-02-16 13:16, Simon Glass wrote: >>> >>> Hi, >>> >>> Minnowboard is looking for GSoC projects this year. >>> >>> http://wiki.minnowboard.org

[U-Boot] [PATCH] mx7dsabresd: Use Adrian's NXP email address

2016-02-17 Thread Fabio Estevam
Use the new NXP email address for the board maintainer. Signed-off-by: Fabio Estevam --- board/freescale/mx7dsabresd/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/mx7dsabresd/MAINTAINERS b/board/freescale/mx7dsabresd/MAINTAINERS index 3910ee4..b

[U-Boot] Newbie SPL question for socfpga_sockit

2016-02-17 Thread George Broz
Hello, Sorry for the newbie question... I have an Altera/Terasic board (socfpga_sockit) that has issues recognizing USB storage devices (roughly 60% good / 40% bad): SOCFPGA_CYCLONE5 # usb start (Re)start USB... USB0: scanning bus 0 for devices... DW_USB: Transfer completion interrupt timeout Ti

[U-Boot] [PATCH] mx7dsabresd: Make 'ums' command functional

2016-02-17 Thread Fabio Estevam
When running the 'ums' command we get: => ums 0 mmc 0 UMS: disk start sector: 0x0, count: 0xe18000 g_dnl_register: failed!, error: -22 ERROR: g_dnl_register failed at common/cmd_usb_mass_storage.c:107/do_usb_mass_storage() Fix this by initializing USB OTG1 port as USB device mode instead of host.

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-17 Thread Jagan Teki
Hi Simon, On 18 February 2016 at 01:38, Jagan Teki wrote: > Hi Simon, > > On 18 February 2016 at 00:30, Simon Glass wrote: >> Hi Jagan, >> >> On 14 February 2016 at 13:46, Jagan Teki wrote: >>> Compared to previous patch series this series adds spi-nor >>> core with spi-nor controller drivers a

Re: [U-Boot] [PATCH] spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS, if available

2016-02-17 Thread Tom Rini
On Wed, Feb 17, 2016 at 09:09:27AM +0100, Guillaume GARDET wrote: > Since commit fd61d39970b9901217efc7536d9f3a61b4e1752a: > spl: mmc: add break statements in spl_mmc_load_image() > RAW and FS boot modes are now exclusive again. So, if MMCSD_MODE_RAW fails, > the > board hangs. This patc

Re: [U-Boot] [PATCH] gpio: Add DM GPIO driver for Marvell MVEBU

2016-02-17 Thread Kevin Smith
On 02/12/2016 06:46 AM, Stefan Roese wrote: > This patch adds a DM GPIO driver for the Marvell MVEBU SoCs. There are > other non-DM drivers that might be used on these platforms. But this > patch creates a new DM driver. Which will be used by all Armada XP/38x > boards. Other MVEBU SoC (Kirkwood /

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-17 Thread Tom Rini
On Wed, Feb 17, 2016 at 05:10:33PM +0800, Bin Meng wrote: > Hi Jagan, > > On Wed, Feb 17, 2016 at 3:38 PM, Jagan Teki wrote: > > Hi Bin, > > > > On 17 February 2016 at 13:07, Jagan Teki wrote: > >> Hi Bin, > >> > >> On 17 February 2016 at 10:52, Bin Meng wrote: > >>> Hi Jagan, > >>> > >>> On We

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-17 Thread Jagan Teki
Hi Simon, On 18 February 2016 at 00:30, Simon Glass wrote: > Hi Jagan, > > On 14 February 2016 at 13:46, Jagan Teki wrote: >> Compared to previous patch series this series adds spi-nor >> core with spi-nor controller drivers are of "mtd uclass" >> >> This is whole series for all spi-nor related

[U-Boot] [PATCH] mx6ul_14x14_evk: Select CONFIG_FSL_QSPI

2016-02-17 Thread Fabio Estevam
From: Fabio Estevam Select CONFIG_FSL_QSPI so that the SPI can be probed: => sf probe SF: Detected N25Q256 with page size 256 Bytes, erase size 64 KiB, total 32 MiB Signed-off-by: Fabio Estevam --- include/configs/mx6ul_14x14_evk.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/c

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-17 Thread Jagan Teki
Hi Simon, On 18 February 2016 at 00:44, Jagan Teki wrote: > Hi Simon, > > On 18 February 2016 at 00:30, Simon Glass wrote: >> Hi Jagan, >> >> On 14 February 2016 at 13:46, Jagan Teki wrote: >>> Compared to previous patch series this series adds spi-nor >>> core with spi-nor controller drivers a

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-17 Thread Jagan Teki
Hi Simon, On 18 February 2016 at 00:30, Simon Glass wrote: > Hi Jagan, > > On 14 February 2016 at 13:46, Jagan Teki wrote: >> Compared to previous patch series this series adds spi-nor >> core with spi-nor controller drivers are of "mtd uclass" >> >> This is whole series for all spi-nor related

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-17 Thread Simon Glass
Hi Jagan, On 14 February 2016 at 13:46, Jagan Teki wrote: > Compared to previous patch series this series adds spi-nor > core with spi-nor controller drivers are of "mtd uclass" > > This is whole series for all spi-nor related changes, and while > series tested on spansion spi-nor chip. > > Know

Re: [U-Boot] [PATCH] rockchip: rk3036: change ddr frequency to 400M

2016-02-17 Thread Simon Glass
On 17 February 2016 at 00:55, Jeffy Chen wrote: > > From: Lin Huang > > emac may use dpll as clock parent, and it request the clock frequency > multiples of 50, so change ddr frequency to 400M. > > Signed-off-by: Lin Huang > Signed-off-by: Jeffy Chen > > --- > > arch/arm/mach-rockchip/rk3036/s

Re: [U-Boot] [PATCH 1/4] tools: -Wno-deprecated-declarations for OpenSSL on darwin

2016-02-17 Thread Simon Glass
On 16 February 2016 at 15:29, Andreas Bießmann wrote: > Since OpenSSL is deprecated on OS X in favour of Common Crypto API disable the > warning for this host OS. > > Another solution would be to add some glue layer for crypto stuff, but I think > this is not worth the effort. > > Signed-off-by: A

Re: [U-Boot] test/py main_signon

2016-02-17 Thread Stephen Warren
On 02/17/2016 01:42 AM, Michal Simek wrote: ... Stephen: Do you have your u-boot-test-hooks for qemu? I only have some local hacks that aren't at all generic. They're on my laptop at home so I can't share them right now, but I can describe them from memory: u-boot-test-flash: Does nothing

Re: [U-Boot] [PATCH v3] test/py: only check for SPL signature if SPL uses serial output

2016-02-17 Thread Stephen Warren
On 02/17/2016 10:32 AM, Heiko Schocher wrote: check for U-Boot SPL signature only if SPL really has a serial output. So check if CONFIG_SPL_SERIAL_SUPPORT is active in board config. Tested-by: Stephen Warren Reviewed-by: Stephen Warren ___ U-Boot m

[U-Boot] [PATCH v3] test/py: only check for SPL signature if SPL uses serial output

2016-02-17 Thread Heiko Schocher
check for U-Boot SPL signature only if SPL really has a serial output. So check if CONFIG_SPL_SERIAL_SUPPORT is active in board config. Signed-off-by: Heiko Schocher --- found this while trying test/py on the smartweb board, which has SPL but no SPL serial output. Changes in v3: - add comments f

Re: [U-Boot] [PATCH v2] test/py: only check for SPL signature if SPL uses serial output

2016-02-17 Thread Heiko Schocher
Hello Stephen, Am 17.02.2016 um 17:45 schrieb Stephen Warren: On 02/16/2016 11:48 PM, Heiko Schocher wrote: check for U-Boot SPL signature only if SPL really has a serial output. So check if CONFIG_SPL_SERIAL_SUPPORT is active in board config. I suspect you didn't test this; it causes all tes

Re: [U-Boot] [PATCH v2] test/py: only check for SPL signature if SPL uses serial output

2016-02-17 Thread Stephen Warren
On 02/16/2016 11:48 PM, Heiko Schocher wrote: check for U-Boot SPL signature only if SPL really has a serial output. So check if CONFIG_SPL_SERIAL_SUPPORT is active in board config. I suspect you didn't test this; it causes all tests to fail on all platforms... diff --git a/test/py/u_boot_c

Re: [U-Boot] GSoC projects for Minnowboard MAX

2016-02-17 Thread Simon Glass
+Bin Hi Hans, On 11 February 2016 at 08:44, Hans de Goede wrote: > Hi, > > On 11-02-16 13:16, Simon Glass wrote: >> >> Hi, >> >> Minnowboard is looking for GSoC projects this year. >> >> http://wiki.minnowboard.org/GSoC2016 >> >> There are a few things listed in README.x86 to be done. Any ideas?

Re: [U-Boot] [PATCH] video: tegra: Correct a Kconfig warning with VIDCONSOLE_AS_LCD

2016-02-17 Thread Stephen Warren
On 02/16/2016 06:09 PM, Simon Glass wrote: This new feature causes a Kconfig warning on boards without a display enabled. Fix this. Tested-by: Stephen Warren ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v3] spi: omap3: Convert to driver model

2016-02-17 Thread Jagan Teki
After this conversion the driver will able to support both dm and non-dm and code is more extensible like we can remove the non-dm part simply without touching anycode if all the boards which are using this driver become dm driven. Cc: Tom Rini Reviewed-by: Simon Glass Acked-by: Christophe Ricar

[U-Boot] [PATCH 3/4] Fix FreeBSD loader API so that it works on both 32-bit and 64-bit targets.

2016-02-17 Thread Stanislav Galabov
Specifically tested on MIPS under QEMU (works with all combination of bit-ness and endian-ness) Signed-off-by: Stanislav Galabov --- api/api.c | 58 +-- examples/api/Makefile | 4 examples/api/crt0.S | 13 ++-- example

[U-Boot] [PATCH 4/4] Add support for 64-bit MIPS to examples/standalone

2016-02-17 Thread Stanislav Galabov
Signed-off-by: Stanislav Galabov --- examples/standalone/stubs.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/examples/standalone/stubs.c b/examples/standalone/stubs.c index 920a0a9..0d62067 100644 --- a/examples/standalone/stubs.c +++ b/examples/standalone/stubs.c @@ -

[U-Boot] [PATCH 1/4] Properly calculate ATA_SECTORWORDS, using a fixed-size integer, so it works for both 32-bit and 64-bit targets

2016-02-17 Thread Stanislav Galabov
Signed-off-by: Stanislav Galabov --- include/ata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ata.h b/include/ata.h index 9d6f59c..dde377c 100644 --- a/include/ata.h +++ b/include/ata.h @@ -126,7 +126,7 @@ #define ATA_BLOCKSIZE 512 /* bytes */ #define ATA

[U-Boot] [PATCH 2/4] Use CONFIG_IDE_SWAP_IO when running on big-endian MIPS (32 or 64-bit) in QEMU so that IDE transfers work properly

2016-02-17 Thread Stanislav Galabov
Signed-off-by: Stanislav Galabov --- include/configs/qemu-mips.h | 4 include/configs/qemu-mips64.h | 4 2 files changed, 8 insertions(+) diff --git a/include/configs/qemu-mips.h b/include/configs/qemu-mips.h index 5a043d5..d31706c 100644 --- a/include/configs/qemu-mips.h +++ b/inclu

[U-Boot] [PATCH 0/4] QEMU (qemu-mips) and MIPS 64-bit changes

2016-02-17 Thread Stanislav Galabov
Stanislav Galabov (4): - Properly calculate ATA_SECTORWORDS, using a fixed-size integer, so it works for both 32-bit and 64-bit targets - Use CONFIG_IDE_SWAP_IO when running on big-endian MIPS (32 or 64-bit) in QEMU so that IDE transfers work properly - Fix FreeBSD loader API so that

Re: [U-Boot] [PATCH 00/26] spl: Support loading a FIT image containing U-Boot

2016-02-17 Thread Belisko Marek
Hi Simon, On Thu, Jan 28, 2016 at 5:39 PM, Simon Glass wrote: > We need a way to support more than one board per binary in U-Boot with > device tree. Various methods have been discussed. The one that seems to make > the most sense is to adjust SPL so that it can load a FIT which contains > U-Boo

[U-Boot] [PATCH v7 70/76] x86: Drop using spi_flash_dm_ops

2016-02-17 Thread Jagan Teki
Since spi-nor flash is part of MTD uclass, so replaced UCLASS_SPI_FLASH with UCLASS_MTD and use respective spi_flash operations as well. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- Changes for v7: - fix

Re: [U-Boot] [PATCH v6 65/76] configs: Use CONFIG_SPI_NOR_MISC

2016-02-17 Thread Jagan Teki
Hi Bin, On 17 February 2016 at 14:39, Bin Meng wrote: > Hi Jagan, > > On Wed, Feb 17, 2016 at 5:05 PM, Jagan Teki wrote: >> Hi Bin, >> >> On 17 February 2016 at 14:23, Bin Meng wrote: >>> Hi Jagan, >>> >>> On Mon, Feb 15, 2016 at 4:49 AM, Jagan Teki wrote: CONFIG_SPI_FLASH_ATMEL CONF

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-17 Thread Bin Meng
Hi Jagan, On Wed, Feb 17, 2016 at 3:38 PM, Jagan Teki wrote: > Hi Bin, > > On 17 February 2016 at 13:07, Jagan Teki wrote: >> Hi Bin, >> >> On 17 February 2016 at 10:52, Bin Meng wrote: >>> Hi Jagan, >>> >>> On Wed, Feb 17, 2016 at 3:47 AM, Jagan Teki wrote: On 15 February 2016 at 02:16,

Re: [U-Boot] [PATCH v6 65/76] configs: Use CONFIG_SPI_NOR_MISC

2016-02-17 Thread Bin Meng
Hi Jagan, On Wed, Feb 17, 2016 at 5:05 PM, Jagan Teki wrote: > Hi Bin, > > On 17 February 2016 at 14:23, Bin Meng wrote: >> Hi Jagan, >> >> On Mon, Feb 15, 2016 at 4:49 AM, Jagan Teki wrote: >>> CONFIG_SPI_FLASH_ATMEL >>> CONFIG_SPI_FLASH_EON >>> CONFIG_SPI_FLASH_GIGADEVICE >>> CONFIG_SPI_FLASH

Re: [U-Boot] [PATCH v7 77/77] x86: Drop using spi_flash_dm_ops

2016-02-17 Thread Jagan Teki
Hi Bin, On Wednesday 17 February 2016 02:37 PM, Bin Meng wrote: Hi Jagan, On Wed, Feb 17, 2016 at 4:27 PM, Jagan Teki wrote: spi_flash_erase_dm spi_flash_write_dm These spi_flash_dm_ops never no longer available on new spi-nor changes, so use spi_flash_erase/write ops with mtd uclass changes

Re: [U-Boot] [PATCH v7 77/77] x86: Drop using spi_flash_dm_ops

2016-02-17 Thread Bin Meng
Hi Jagan, On Wed, Feb 17, 2016 at 4:27 PM, Jagan Teki wrote: > spi_flash_erase_dm > spi_flash_write_dm > > These spi_flash_dm_ops never no longer available on new > spi-nor changes, so use spi_flash_erase/write ops with > mtd uclass changes. > > Cc: Simon Glass > Cc: Bin Meng > Signed-off-by: J

Re: [U-Boot] [PATCH v6 65/76] configs: Use CONFIG_SPI_NOR_MISC

2016-02-17 Thread Jagan Teki
Hi Bin, On 17 February 2016 at 14:23, Bin Meng wrote: > Hi Jagan, > > On Mon, Feb 15, 2016 at 4:49 AM, Jagan Teki wrote: >> CONFIG_SPI_FLASH_ATMEL >> CONFIG_SPI_FLASH_EON >> CONFIG_SPI_FLASH_GIGADEVICE >> CONFIG_SPI_FLASH_ISSI >> >> All these configs are grouped in CONFIG_SPI_NOR_MISC > > So the

Re: [U-Boot] test/py main_signon

2016-02-17 Thread Heiko Schocher
Hello Michal, Am 17.02.2016 um 09:42 schrieb Michal Simek: Hi Stephen, On 16.2.2016 22:38, Stephen Warren wrote: On 02/16/2016 12:08 PM, Michal Simek wrote: Hi Stephen, 2016-02-16 17:39 GMT+01:00 Stephen Warren mailto:swar...@wwwdotorg.org>>: On 02/16/2016 09:04 AM, Michal Simek wrote:

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-17 Thread Bin Meng
Hi Jagan, On Wed, Feb 17, 2016 at 4:54 PM, Jagan Teki wrote: > Hi Bin, > > On 17 February 2016 at 10:57, Bin Meng wrote: >> On Wed, Feb 17, 2016 at 1:22 PM, Bin Meng wrote: >>> Hi Jagan, >>> >>> On Wed, Feb 17, 2016 at 3:47 AM, Jagan Teki wrote: On 15 February 2016 at 02:16, Jagan Teki w

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-17 Thread Jagan Teki
Hi Bin, On 17 February 2016 at 10:57, Bin Meng wrote: > On Wed, Feb 17, 2016 at 1:22 PM, Bin Meng wrote: >> Hi Jagan, >> >> On Wed, Feb 17, 2016 at 3:47 AM, Jagan Teki wrote: >>> On 15 February 2016 at 02:16, Jagan Teki wrote: Compared to previous patch series this series adds spi-nor >>>

Re: [U-Boot] [PATCH v6 65/76] configs: Use CONFIG_SPI_NOR_MISC

2016-02-17 Thread Bin Meng
Hi Jagan, On Mon, Feb 15, 2016 at 4:49 AM, Jagan Teki wrote: > CONFIG_SPI_FLASH_ATMEL > CONFIG_SPI_FLASH_EON > CONFIG_SPI_FLASH_GIGADEVICE > CONFIG_SPI_FLASH_ISSI > > All these configs are grouped in CONFIG_SPI_NOR_MISC So these 4 configs are no longer needed? But I see they are still in the x86

Re: [U-Boot] [PATCH 2/4] mxsboot: remove unused include

2016-02-17 Thread Michael Heimpold
Am Tuesday 16 February 2016, 23:29:29 schrieb Andreas Bießmann: > Commit 276d3ebb883024d753cd9c69ab2fd243ffa1262e removed htole32() but missed > to remove the corresponding header. This is annoying, since BSD systems do > not have endian.h. > > Signed-off-by: Andreas Bießmann > --- > > tools/mx

[U-Boot] [PATCH] x86: doc: Update to include Intel Bayley Bay board instructions

2016-02-17 Thread Bin Meng
Update existing documentation to mention Intel Bayley Bay board instructions, an additional Bay Trail based board to MinnowMax. This also adds a minor change to QEMU section to indicate clearly the instructions are for bare mode. Signed-off-by: Bin Meng --- doc/README.x86 | 36

Re: [U-Boot] test/py main_signon

2016-02-17 Thread Michal Simek
Hi Stephen, On 16.2.2016 22:38, Stephen Warren wrote: > On 02/16/2016 12:08 PM, Michal Simek wrote: >> Hi Stephen, >> >> 2016-02-16 17:39 GMT+01:00 Stephen Warren > >: >> >> On 02/16/2016 09:04 AM, Michal Simek wrote: >> >> Hi Heiko, >> >> On 16.2.

[U-Boot] [PATCH v7 77/77] x86: Drop using spi_flash_dm_ops

2016-02-17 Thread Jagan Teki
spi_flash_erase_dm spi_flash_write_dm These spi_flash_dm_ops never no longer available on new spi-nor changes, so use spi_flash_erase/write ops with mtd uclass changes. Cc: Simon Glass Cc: Bin Meng Signed-off-by: Jagan Teki --- Changes for v7: - newly added patch This patch is on top

Re: [U-Boot] [PATCH] x86: fix memalign() parameter order

2016-02-17 Thread Bin Meng
On Wed, Feb 17, 2016 at 4:20 PM, Bin Meng wrote: > On Sun, Feb 14, 2016 at 11:19 AM, Simon Glass wrote: >> On 12 February 2016 at 14:27, Stephen Warren wrote: >>> From: Stephen Warren >>> >>> Purely by code inspection, it looks like the parameter order to memalign() >>> is swapped; its paramete

Re: [U-Boot] [PATCH] x86: fix memalign() parameter order

2016-02-17 Thread Bin Meng
On Sun, Feb 14, 2016 at 11:19 AM, Simon Glass wrote: > On 12 February 2016 at 14:27, Stephen Warren wrote: >> From: Stephen Warren >> >> Purely by code inspection, it looks like the parameter order to memalign() >> is swapped; its parameters are (align, size). 4096 is a likely desired >> alignme

[U-Boot] [PATCH v3 1/5] x86: ivybridge: Add FSP support

2016-02-17 Thread Bin Meng
IvyBridge FSP package is built with a base address at 0xfff8, and does not use UPD data region. This adds basic FSP support. Signed-off-by: Bin Meng Acked-by: Simon Glass Tested on link (ivybridge non-FSP) Tested-by: Simon Glass --- Changes in v3: None Changes in v2: - Drop patches which

[U-Boot] [PATCH v3 4/5] x86: ivybridge: bd82x6x: Support FSP enabled configuration

2016-02-17 Thread Bin Meng
Wrap initialization codes with #ifndef CONFIG_HAVE_FSP #endif, and enable the build for both FSP and non-FSP configurations. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/x86/cpu/ivybridge/Makefile | 2 +- arch/x86/cpu/ivybridge/bd82x6x.c |

[U-Boot] [PATCH v3 5/5] x86: Add Intel Cougar Canyon 2 board

2016-02-17 Thread Bin Meng
This adds basic support to Intel Cougar Canyon 2 board, a board based on Chief River platform with an Ivy Bridge processor and a Panther Point chipset. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v3: - Update README.x86 to include intructions for this board Changes in v2: - C

[U-Boot] [PATCH v3 2/5] superio: Add SMSC SIO1007 driver

2016-02-17 Thread Bin Meng
The SMSC SIO1007 superio chipset integrates two ns16550 compatible serial ports for legacy applications, 16 GPIO pins and some other functionalities like power management. This adds a simple driver to enable serial port and handle GPIO. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Chan

[U-Boot] [PATCH v3 3/5] x86: fsp: Make sure HOB list is not overwritten by U-Boot

2016-02-17 Thread Bin Meng
Intel IvyBridge FSP seems to be buggy that it does not report memory used by FSP itself as reserved in the resource descriptor HOB. The FSP specification does not describe how resource descriptor HOBs are generated by the FSP to describe what memory regions. It looks newer FSPs like Queensbay and B

[U-Boot] [PATCH v3 0/5] x86: ivybridge: Add Intel FSP support

2016-02-17 Thread Bin Meng
This series adds Intel FSP support to IvyBridge processor and Panther Point chipset (aka Chief River platform), and is validated on Intel Cougar Canyon 2 board. This only adds basic features like serial, keyboard, RTC, timer, SPI, GPIO, PCI, SATA, USB. Other features will be enabled in future patc

[U-Boot] [PATCH] spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS, if available

2016-02-17 Thread Guillaume GARDET
Since commit fd61d39970b9901217efc7536d9f3a61b4e1752a: spl: mmc: add break statements in spl_mmc_load_image() RAW and FS boot modes are now exclusive again. So, if MMCSD_MODE_RAW fails, the board hangs. This patch allows to try MMCSD_MODE_FS then, if available. It has been tested on a bea