Re: [U-Boot] [PATCH 2/2] sunxi: Add inet98v_rev2 defconfig and dts file

2015-08-26 Thread Ian Campbell
On Tue, 2015-08-25 at 14:22 +0200, Hans de Goede wrote: The inet98v_rev2 is a pcb used in generic A13 based tablets. It features volume buttons, a power barrel, micro-usb otg, headphone connector and a power button. The dts file is identical to the one submitted to the upstream kernel.

Re: [U-Boot] [PATCH 3/4] mtd: nand: Make CONFIG_SYS_NAND_U_BOOT_OFFS configurable through Kconfig

2015-08-26 Thread Scott Wood
On Wed, 2015-08-26 at 19:38 +0100, Ian Campbell wrote: On Sat, 2015-08-22 at 20:13 +0200, Hans de Goede wrote: Make CONFIG_SYS_NAND_U_BOOT_OFFS configurable through Kconfig, just like SYS_NAND_BUSWIDTH_16BIT this is only enabled on some SoCs using depends, to avoid double defining it

Re: [U-Boot] [PATCH 2/4] sunxi_nand_spl: Remove NAND_SUNXI_SPL_SYNDROME_PARTITIONS_END

2015-08-26 Thread Ian Campbell
On Tue, 2015-08-25 at 09:18 +0200, Hans de Goede wrote: Hi, On 24-08-15 19:02, Scott Wood wrote: On Sat, 2015-08-22 at 20:13 +0200, Hans de Goede wrote: We only ever use syndrome mode for the partitions which contain the SPL, as that is required for the BROM to be able to read the

[U-Boot] [PATCH 2/2] tools/mkimage.c: Clarify help text for -D slightly

2015-08-26 Thread Tom Rini
Try and make it clear that -D will replace all arguments passed to dtc and is not appending them. Signed-off-by: Tom Rini tr...@konsulko.com --- tools/mkimage.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mkimage.c b/tools/mkimage.c index e81d455..22449cc 100644

[U-Boot] [PATCH 1/2] tools/atmelimage.c: Fix warning when debug is enabled

2015-08-26 Thread Tom Rini
Otherwise we get: tools/atmelimage.c:134:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat=] debug(atmelimage: interrupt vector #%d is 0x%08X\n, pos+1, ^ Signed-off-by: Tom Rini tr...@konsulko.com --- tools/atmelimage.c |2 +- 1 file changed,

[U-Boot] [linux-sunxi][PATCH v2] sunxi: Add support for the Olimex A20 EVB

2015-08-26 Thread codekipper
From: Marcus Cooper codekip...@gmail.com Signed-off-by: Marcus Cooper codekip...@gmail.com --- Changes since v1: - modified dtb to reflect changes in the kernel --- arch/arm/dts/Makefile | 1 + arch/arm/dts/sun7i-a20-olimex-som-evb.dts | 244 ++

Re: [U-Boot] [PATCH 3/4] mtd: nand: Make CONFIG_SYS_NAND_U_BOOT_OFFS configurable through Kconfig

2015-08-26 Thread Ian Campbell
On Sat, 2015-08-22 at 20:13 +0200, Hans de Goede wrote: Make CONFIG_SYS_NAND_U_BOOT_OFFS configurable through Kconfig, just like SYS_NAND_BUSWIDTH_16BIT this is only enabled on some SoCs using depends, to avoid double defining it for SoCs which have not yet moved to Kconfig for this.

Re: [U-Boot] [PATCH 1/4] sunxi_nand_spl: Rename SPL_NAND_SUNXI to NAND_SUNXI

2015-08-26 Thread Ian Campbell
On Sat, 2015-08-22 at 20:13 +0200, Hans de Goede wrote: We eventually want to add full nand support, since it makes no sense to build SPL with nand support and u-boot without, or the other way around, a single option will suffice. Renaming the Kconfig option now makes things easier when we

Re: [U-Boot] [PATCH v2 4/5] net: support NETCONSOLE option via Kconfig

2015-08-26 Thread Joe Hershberger
On Wed, Aug 26, 2015 at 7:35 AM, Bernhard Nortmann bernhard.nortm...@web.de wrote: This patch introduces CONFIG_NETCONSOLE as an option to the Kconfig system. Joe Hershberger pointed out that it may not be entirely free of problems, as many boards predating the driver model define this

Re: [U-Boot] Pull request: nand flash master

2015-08-26 Thread Tom Rini
On Wed, Aug 26, 2015 at 12:57:14PM -0500, Scott Wood wrote: On Wed, 2015-08-26 at 13:53 -0400, Tom Rini wrote: On Tue, Aug 25, 2015 at 10:54:26PM -0500, Scott Wood wrote: The following changes since commit c851a2458fbc12495f4f786d4eabb612850a5143: Merge

Re: [U-Boot] [PATCH 1/2] sunxi: Ampe_A76_defconfig: Add otg id pin configuration

2015-08-26 Thread Ian Campbell
On Tue, 2015-08-25 at 14:22 +0200, Hans de Goede wrote: Add otg id pin configuration, this speeds up bootup when no host cable is plugged into the otg port. Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Ian Campbell i...@hellion.org.uk

[U-Boot] [PATCH v3 1/5] net: expose eth_is_active() function to test network device state

2015-08-26 Thread Bernhard Nortmann
The previous eth_device struct returned by eth_get_dev() allowed code to directly query the state member field. However, with CONFIG_DM_ETH this data gets encapsulated (i.e. private), and eth_get_dev() returns a udevice struct 'abstraction' instead. This breaks legacy code relying on the former

Re: [U-Boot] [PATCH 4/4] sunxi: Add inet97fv2_defconfig

2015-08-26 Thread Ian Campbell
On Sat, 2015-08-22 at 20:13 +0200, Hans de Goede wrote: -F: configs/Mele_A1000G_quad_defconfig [...] +F: configs/Mele_A1000G_quad_defconfig Unintentional? Without that move: Acked-by: Ian Campbell i...@hellion.org.uk ___ U-Boot mailing list

Re: [U-Boot] Periodic task

2015-08-26 Thread Ran Shalit
On Wed, Aug 26, 2015 at 7:45 AM, Heiko Schocher h...@denx.de wrote: Hello Ran, Am 25.08.2015 um 22:03 schrieb Ran Shalit: Hello, I need to do some periodic very simple task during u-boot prompt (while u-boot wais for commands). The task is very simple, just writing into a watchdog refresh

Re: [U-Boot] [RESEND PATCH v4 0/5] spi: cadence_qspi: optimize fix indirect rd-writes

2015-08-26 Thread Marek Vasut
On Tuesday, August 25, 2015 at 10:56:17 PM, vikas wrote: Hi, On 08/25/2015 01:13 PM, Marek Vasut wrote: On Tuesday, August 25, 2015 at 09:45:29 PM, Vikas Manocha wrote: This patchset: - fixes trigger base transfer start address register programming. This fix superseeds the previous

Re: [U-Boot] DWMMC crontroller in Exynos4412

2015-08-26 Thread Jaehoon Chung
On 08/26/2015 11:26 AM, Simon Glass wrote: +Samsung people Hi, On 25 August 2015 at 13:10, Humberto López León humbe...@uclv.cu wrote: Hi Simon, I'm working on implementing a driver for SD/MMC cards in the framework GenodeOS. I think you could help me with your experience in this type of

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-08-26 Thread Jaehoon Chung
On 08/26/2015 02:47 PM, Chin Liang See wrote: On Wed, 2015-08-26 at 14:29 +0900, Jaehoon Chung wrote: Hi, On 08/25/2015 12:08 PM, Chin Liang See wrote: On Tue, 2015-08-25 at 11:36 +0900, Jaehoon Chung wrote: Hi, On 08/25/2015 12:04 AM, Chin Liang See wrote: On Fri, 2015-08-21 at 14:52

Re: [U-Boot] DWMMC crontroller in Exynos4412

2015-08-26 Thread Przemyslaw Marczak
Hi, On 08/26/2015 08:23 AM, Jaehoon Chung wrote: On 08/26/2015 11:26 AM, Simon Glass wrote: +Samsung people Hi, On 25 August 2015 at 13:10, Humberto López León humbe...@uclv.cu wrote: Hi Simon, I'm working on implementing a driver for SD/MMC cards in the framework GenodeOS. I think you

Re: [U-Boot] [PATCH 1/2] arm: socfpga: mmc: Enable calibration for drvsel and smpsel

2015-08-26 Thread Chin Liang See
On Wed, 2015-08-26 at 15:14 +0900, Jaehoon Chung wrote: On 08/26/2015 02:47 PM, Chin Liang See wrote: On Wed, 2015-08-26 at 14:29 +0900, Jaehoon Chung wrote: Hi, On 08/25/2015 12:08 PM, Chin Liang See wrote: On Tue, 2015-08-25 at 11:36 +0900, Jaehoon Chung wrote: Hi, On 08/25/2015

Re: [U-Boot] [PATCH] omap-common: SYS_BOOT fallback logic correction

2015-08-26 Thread Hannes Schmelzer
Hi Paul, thanks for sending this fix. Basically i can now bring up my board with UART. Further i want to discuss the whole thing a bit, before we can finish. On 25.08.2015 17:40, Paul Kocialkowski wrote: The SYS_BOOT-based fallback shouldn't only check for one of the conditions of use and

Re: [U-Boot] [PATCH] spi: cadence_qspi: Enable quad mode for read and programming

2015-08-26 Thread Marek Vasut
On Wednesday, August 26, 2015 at 02:09:55 AM, Chin Liang See wrote: Enable the quad output fast read and quad input fast program support. Quad mode is supported by Cadence QSPI controller. Signed-off-by: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@opensource.altera.com Cc:

Re: [U-Boot] Periodic task

2015-08-26 Thread Heiko Schocher
Hello Ran, Am 26.08.2015 um 08:09 schrieb Ran Shalit: On Wed, Aug 26, 2015 at 7:45 AM, Heiko Schocher h...@denx.de wrote: Hello Ran, Am 25.08.2015 um 22:03 schrieb Ran Shalit: Hello, I need to do some periodic very simple task during u-boot prompt (while u-boot wais for commands). The task

Re: [U-Boot] [PATCH v2 5/5] sunxi: add NetConsole by default for Banana Pi/Pro

2015-08-26 Thread Joe Hershberger
On Wed, Aug 26, 2015 at 7:36 AM, Bernhard Nortmann bernhard.nortm...@web.de wrote: Simon Glass and Joe Hershberger suggested adding at least one test case for the CONFIG_DM_ETH plus CONFIG_NETCONSOLE options. This patch enables NetConsole as a default for the Banana Pi/Pro sunxi boards. (By

Re: [U-Boot] Pull request: nand flash master

2015-08-26 Thread Tom Rini
On Tue, Aug 25, 2015 at 10:54:26PM -0500, Scott Wood wrote: The following changes since commit c851a2458fbc12495f4f786d4eabb612850a5143: Merge git://git.denx.de/u-boot-socfpga (2015-08-23 20:44:25 -0400) are available in the git repository at: git://git.denx.de/u-boot-nand-flash.git

Re: [U-Boot] [PATCH v2 1/5] net: expose eth_is_active() function to test network device state

2015-08-26 Thread Joe Hershberger
Hi Bernhard, On Wed, Aug 26, 2015 at 7:35 AM, Bernhard Nortmann bernhard.nortm...@web.de wrote: The previous eth_device struct returned by eth_get_dev() allowed code to directly query the state member field. However, with CONFIG_DM_ETH this data gets encapsulated (i.e. private), and

Re: [U-Boot] [PATCH v2 2/5] net: fix netconsole when CONFIG_DM_ETH is set

2015-08-26 Thread Joe Hershberger
On Wed, Aug 26, 2015 at 7:35 AM, Bernhard Nortmann bernhard.nortm...@web.de wrote: This patches uses the eth_is_active() function to work around issues that prevented compilation with the newer driver model. Signed-off-by: Bernhard Nortmann bernhard.nortm...@web.de Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH] spi: cadence_qspi: Enable quad mode for read and programming

2015-08-26 Thread Jagan Teki
On 26 August 2015 at 21:27, Tom Rini tr...@konsulko.com wrote: On Wed, Aug 26, 2015 at 07:17:28PM +0530, Jagan Teki wrote: On 26 August 2015 at 13:00, Chin Liang See cl...@altera.com wrote: On Wed, 2015-08-26 at 08:57 +0200, ma...@denx.de wrote: On Wednesday, August 26, 2015 at 02:09:55 AM,

Re: [U-Boot] [PATCH v2 09/10] net: pch_gbe: Add Kconfig option

2015-08-26 Thread Joe Hershberger
Hi Bin, On Wed, Aug 26, 2015 at 10:34 AM, Bin Meng bmeng...@gmail.com wrote: Hi Joe, On Wed, Aug 26, 2015 at 11:23 PM, Joe Hershberger joe.hershber...@gmail.com wrote: Hi Bin, On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng bmeng...@gmail.com wrote: Add Kconfig option in preparation for moving

Re: [U-Boot] [PATCH] spi: cadence_qspi: Enable quad mode for read and programming

2015-08-26 Thread Tom Rini
On Wed, Aug 26, 2015 at 07:17:28PM +0530, Jagan Teki wrote: On 26 August 2015 at 13:00, Chin Liang See cl...@altera.com wrote: On Wed, 2015-08-26 at 08:57 +0200, ma...@denx.de wrote: On Wednesday, August 26, 2015 at 02:09:55 AM, Chin Liang See wrote: Enable the quad output fast read and

Re: [U-Boot] [PATCH v2 3/5] net: avoid eth_unregister() call when function is unavailable

2015-08-26 Thread Joe Hershberger
On Wed, Aug 26, 2015 at 7:35 AM, Bernhard Nortmann bernhard.nortm...@web.de wrote: CONFIG_NETCONSOLE causes common/bootm.c to call eth_unregister() for network device shutdown. However, with CONFIG_DM_ETH this function is no longer defined. This is a workaround to avoid the call in that case,

Re: [U-Boot] Pull request: nand flash master

2015-08-26 Thread Scott Wood
On Wed, 2015-08-26 at 13:53 -0400, Tom Rini wrote: On Tue, Aug 25, 2015 at 10:54:26PM -0500, Scott Wood wrote: The following changes since commit c851a2458fbc12495f4f786d4eabb612850a5143: Merge git://git.denx.de/u-boot-socfpga (2015-08-23 20:44:25 -0400) are available in the

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

2015-08-26 Thread Marek Vasut
On Wednesday, August 26, 2015 at 05:32:41 PM, Lukasz Majewski wrote: Hi Marek, The following changes since commit 25215622a3af013e28f16d1dd54a10ad8f73d15d: include: configs: am43xx_evm: add 'usb stop' in usbboot env (2015-08-24 20:43:38 +0200) are available in the git repository

Re: [U-Boot] DWMMC crontroller in Exynos4412

2015-08-26 Thread Humberto López León
Hi Przemyslaw, On 08/26/2015 10:12 AM, Przemyslaw Marczak wrote: Hi Humberto, On 08/26/2015 03:40 PM, Humberto López León wrote: Hi community, thank you all for answering my questions. On 08/26/2015 02:53 AM, Przemyslaw Marczak wrote: Hi, On 08/26/2015 08:23 AM, Jaehoon Chung wrote: On

[U-Boot] Please pull u-boot-x86.git

2015-08-26 Thread Simon Glass
Hi Tom, The includes ACPI support for the first time and quite a few fixes: microcode for newer Minnowmax boards, coreboot booting, i8042 keyboard, Minnowmax GPIO and getting serial running on crownbay. It also includes the patch to fix the e1000 build warning. I put that first so that the

[U-Boot] [PATCH v5 2/5] spi: cadence_qspi: fix indirect read/write start address

2015-08-26 Thread Vikas Manocha
Indirect read/write start addresses are flash start addresses for indirect read or write transfers. These should be absolute flash addresses instead of offsets. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v5: fixed type cast compilation warnings. Changes in v4: removed extra

[U-Boot] [PATCH v5 3/5] spi: cadence_qspi: fix base trigger address transfer start address

2015-08-26 Thread Vikas Manocha
This patch is to separate the base trigger from the read/write transfer start addresses. Base trigger register address (0x1c register) corresponds to the address which should be put on AHB bus to handle indirect transfer triggered before. To handle indirect transfer we need to issue addresses

[U-Boot] [PATCH v5 1/5] spi: cadence_qspi: move trigger base configuration in init

2015-08-26 Thread Vikas Manocha
No need to configure indirect trigger address for every read/write. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v5: fixed type cast compilation warnings. Changes in v4: removed extra type casts. Changes in v3: added commit message removed extra bracket. Changes in v2:

[U-Boot] [PATCH v5 5/5] spi: cadence_qspi: get fifo width from device tree

2015-08-26 Thread Vikas Manocha
Fifo width could be different on different socs, e.g. stv0991 altera soc have different fifo width. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v5: none Changes in v4: alligned to linux device tree binding. Changes in v3: none Changes in v2: Rebased to master

[U-Boot] [PATCH v5 4/5] spi: cadence_qspi: rename ahbbase to flashbase for clarity

2015-08-26 Thread Vikas Manocha
plat-ahbbase renamed to plat-flashbase for better clarity. Signed-off-by: Vikas Manocha vikas.mano...@st.com --- Changes in v5: none Changes in v4: new drivers/spi/cadence_qspi.c |8 drivers/spi/cadence_qspi.h |4 ++-- drivers/spi/cadence_qspi_apb.c |4 ++-- 3

[U-Boot] [PATCH v5 0/5] spi: cadence_qspi: optimize fix indirect rd-writes

2015-08-26 Thread Vikas Manocha
This patchset: - fixes trigger base transfer start address register programming. This fix superseeds the previous patch spi: cadence_qspi: Fix the indirect ahb trigger address setting. - adds support to get fifo width from device tree Changes in v5: - fixed compilation warnings. Changes in v4:

Re: [U-Boot] Exynos 5800/5422 CPU ID inconsistency.

2015-08-26 Thread Sjoerd Simons
On Wed, 2015-08-26 at 06:37 -0700, Simon Glass wrote: Hi Przemyslaw, On 26 August 2015 at 06:09, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello, The s5p_cpu_id variable is set in here: arch/arm/mach-exynos/include/mach/cpu.h For value 0x422, found in pro id register, the

Re: [U-Boot] [PATCH] omap-common: SYS_BOOT fallback logic correction

2015-08-26 Thread Tom Rini
On Thu, Aug 27, 2015 at 12:59:31AM +0200, Paul Kocialkowski wrote: Le mercredi 26 août 2015 à 09:23 -0400, Tom Rini a écrit : On Wed, Aug 26, 2015 at 12:51:07PM +0200, Paul Kocialkowski wrote: [snip] On all OMAP platforms, USB peripheral loading is done via bulk USB and I suspect it

Re: [U-Boot] [PATCH 3/5] arm: tegra30: video: integrate display driver for t30

2015-08-26 Thread Thierry Reding
On Tue, Aug 25, 2015 at 10:03:13AM -0600, Simon Glass wrote: On 25 August 2015 at 05:02, Thierry Reding tred...@nvidia.com wrote: On Mon, Aug 24, 2015 at 10:58:48AM -0600, Simon Glass wrote: On 24 August 2015 at 04:12, Thierry Reding tred...@nvidia.com wrote: [...] SOR is an even worse

Re: [U-Boot] [PATCH] spi: cadence_qspi: Enable quad mode for read and programming

2015-08-26 Thread Chin Liang See
On Wed, 2015-08-26 at 08:57 +0200, ma...@denx.de wrote: On Wednesday, August 26, 2015 at 02:09:55 AM, Chin Liang See wrote: Enable the quad output fast read and quad input fast program support. Quad mode is supported by Cadence QSPI controller. Signed-off-by: Chin Liang See

Re: [U-Boot] [PATCH 3/5] arm: tegra30: video: integrate display driver for t30

2015-08-26 Thread Thierry Reding
On Mon, Aug 24, 2015 at 10:03:35PM +, Marcel Ziswiler wrote: On 21 Aug 2015 11:29, Thierry Reding tred...@nvidia.com wrote: Perhaps a good idea would be to simply copy what we have in the kernel and see where (if at all) U-Boot breaks down and fix it to work properly with upstream DTBs.

[U-Boot] [PATCH] driver: misc: correct Kconfig entry

2015-08-26 Thread Peng Fan
Should use FSL_SEC_MON, not CONFIG_FSL_SEC_MON as Kconfig entry. Signed-off-by: Peng Fan peng@freescale.com Cc: Simon Glass s...@chromium.org Cc: Masahiro Yamada yamad...@jp.panasonic.com Cc: Fabio Estevam fabio.este...@freescale.com Cc: York Sun york...@freescale.com Cc: Stefan Roese

[U-Boot] [PATCH V2] mxc: ocotp fix hole in shadow registers

2015-08-26 Thread Peng Fan
There is a hole in shadow registers address map of size 0x100 between bank 5 and bank 6 on iMX6QP, iMX6DQ, iMX6SDL, iMX6SX and iMX6UL. Bank 5 ends at 0x6F0 and Bank 6 starts at 0x800. When reading the fuses, we should account for this hole in address space. Similar hole exists between bank 14 and

[U-Boot] [PATCH] imx-common: timer: clean up code

2015-08-26 Thread Peng Fan
We can reuse common functions in lib/time.c, but not reimplement functions in imx-common/time.c. Only keep timer_init ,get_tbclk and implement timer_read_counter in imx-common/time.c. Signed-off-by: Peng Fan peng@freescale.com Cc: Stefano Babic sba...@denx.de Cc: Fabio Estevam

Re: [U-Boot] [PATCH] spi: cadence_qspi: Enable quad mode for read and programming

2015-08-26 Thread Marek Vasut
On Wednesday, August 26, 2015 at 09:30:07 AM, Chin Liang See wrote: On Wed, 2015-08-26 at 08:57 +0200, ma...@denx.de wrote: On Wednesday, August 26, 2015 at 02:09:55 AM, Chin Liang See wrote: Enable the quad output fast read and quad input fast program support. Quad mode is supported by

Re: [U-Boot] Periodic task

2015-08-26 Thread Ran Shalit
On Wed, Aug 26, 2015 at 10:05 AM, Heiko Schocher h...@denx.de wrote: Hello Ran, Am 26.08.2015 um 08:09 schrieb Ran Shalit: On Wed, Aug 26, 2015 at 7:45 AM, Heiko Schocher h...@denx.de wrote: Hello Ran, Am 25.08.2015 um 22:03 schrieb Ran Shalit: Hello, I need to do some periodic very

[U-Boot] about reproducible builds (was Re: [PATCH v3 2/2] Makefile: Add SOURCE_DATE_TZ)

2015-08-26 Thread Holger Levsen
Hi Chris, On Mittwoch, 26. August 2015, Chris Packham wrote: Just for my own understanding is the reproducible team a u-boot thing or a debian thing? I'm not really active in any of the debian projects so maybe someone there should pick this up if it's a debian thing. the reproducible team

Re: [U-Boot] [PATCH v3 2/2] Makefile: Add SOURCE_DATE_TZ

2015-08-26 Thread Chris Packham
On Wed, Aug 26, 2015 at 12:09 AM, Paul Kocialkowski cont...@paulk.fr wrote: Le jeudi 13 août 2015 à 18:08 +1200, Chris Packham a écrit : Along with SOURCE_DATE_EPOCH SOURCE_DATE_TZ can be used to recreate a build with a specific date timestamp. This allows the verification of source supplied

Re: [U-Boot] [PATCH] spi: cadence_qspi: Enable quad mode for read and programming

2015-08-26 Thread Marek Vasut
On Wednesday, August 26, 2015 at 10:42:57 AM, Chin Liang See wrote: On Wed, 2015-08-26 at 09:57 +0200, ma...@denx.de wrote: On Wednesday, August 26, 2015 at 09:30:07 AM, Chin Liang See wrote: On Wed, 2015-08-26 at 08:57 +0200, ma...@denx.de wrote: On Wednesday, August 26, 2015 at

Re: [U-Boot] Periodic task

2015-08-26 Thread Ran Shalit
On Wed, Aug 26, 2015 at 12:29 PM, Heiko Schocher h...@denx.de wrote: Hello Ran, Am 26.08.2015 um 10:57 schrieb Ran Shalit: On Wed, Aug 26, 2015 at 10:05 AM, Heiko Schocher h...@denx.de wrote: Hello Ran, Am 26.08.2015 um 08:09 schrieb Ran Shalit: On Wed, Aug 26, 2015 at 7:45 AM, Heiko

Re: [U-Boot] [PATCH V2 2/3] mtd: nand: mxs check maximum ecc that platfrom supports

2015-08-26 Thread Stefano Babic
On 26/08/2015 03:30, Peng Fan wrote: On Tue, Aug 25, 2015 at 09:14:58PM -0500, Scott Wood wrote: On Wed, 2015-08-26 at 08:33 +0800, Peng Fan wrote: Hi Scott, On Tue, Aug 25, 2015 at 04:05:56PM -0500, Scott Wood wrote: On Tue, 2015-07-21 at 16:15 +0800, Peng Fan wrote: Check maximum ecc

Re: [U-Boot] [PATCH] spi: cadence_qspi: Enable quad mode for read and programming

2015-08-26 Thread Chin Liang See
On Wed, 2015-08-26 at 09:57 +0200, ma...@denx.de wrote: On Wednesday, August 26, 2015 at 09:30:07 AM, Chin Liang See wrote: On Wed, 2015-08-26 at 08:57 +0200, ma...@denx.de wrote: On Wednesday, August 26, 2015 at 02:09:55 AM, Chin Liang See wrote: Enable the quad output fast read and

Re: [U-Boot] [PATCH v3 2/2] Makefile: Add SOURCE_DATE_TZ

2015-08-26 Thread Paul Kocialkowski
Le mercredi 26 août 2015 à 21:08 +1200, Chris Packham a écrit : On Wed, Aug 26, 2015 at 12:09 AM, Paul Kocialkowski cont...@paulk.fr wrote: Le jeudi 13 août 2015 à 18:08 +1200, Chris Packham a écrit : Along with SOURCE_DATE_EPOCH SOURCE_DATE_TZ can be used to recreate a build with a

Re: [U-Boot] [PATCH] omap-common: SYS_BOOT fallback logic correction

2015-08-26 Thread Paul Kocialkowski
Le mercredi 26 août 2015 à 08:24 +0200, Hannes Schmelzer a écrit : Hi Paul, thanks for sending this fix. Basically i can now bring up my board with UART. Further i want to discuss the whole thing a bit, before we can finish. On 25.08.2015 17:40, Paul Kocialkowski wrote: The

[U-Boot] [PATCH v2 2/5] net: fix netconsole when CONFIG_DM_ETH is set

2015-08-26 Thread Bernhard Nortmann
This patches uses the eth_is_active() function to work around issues that prevented compilation with the newer driver model. Signed-off-by: Bernhard Nortmann bernhard.nortm...@web.de --- Changes in v2: - add net: prefix to commit message drivers/net/netconsole.c | 14 +++--- 1 file

[U-Boot] [PATCH v2 1/5] net: expose eth_is_active() function to test network device state

2015-08-26 Thread Bernhard Nortmann
The previous eth_device struct returned by eth_get_dev() allowed code to directly query the state member field. However, with CONFIG_DM_ETH this data gets encapsulated (i.e. private), and eth_get_dev() returns a udevice struct 'abstraction' instead. This breaks legacy code relying on the former

[U-Boot] [PATCH v2 4/5] net: support NETCONSOLE option via Kconfig

2015-08-26 Thread Bernhard Nortmann
This patch introduces CONFIG_NETCONSOLE as an option to the Kconfig system. Joe Hershberger pointed out that it may not be entirely free of problems, as many boards predating the driver model define this symbol directly via include files. In case they're not properly migrated, their NetConsole

Re: [U-Boot] [PATCH] omap-common: SYS_BOOT fallback logic correction

2015-08-26 Thread Paul Kocialkowski
By the way, would you like to add am33xx support to the SYS_BOOT-based fallback interface? There is already get_sysboot_value on am33xx code (that is unused), I suggest that you use that function to write a proper omap_sys_boot_device in boot.c, as is done on omap platforms (and get rid of

[U-Boot] [PATCH v2 5/5] sunxi: add NetConsole by default for Banana Pi/Pro

2015-08-26 Thread Bernhard Nortmann
Simon Glass and Joe Hershberger suggested adding at least one test case for the CONFIG_DM_ETH plus CONFIG_NETCONSOLE options. This patch enables NetConsole as a default for the Banana Pi/Pro sunxi boards. (By the nature of this patch it could probably be extended later to include all sunxi

[U-Boot] [PATCH v2 3/5] net: avoid eth_unregister() call when function is unavailable

2015-08-26 Thread Bernhard Nortmann
CONFIG_NETCONSOLE causes common/bootm.c to call eth_unregister() for network device shutdown. However, with CONFIG_DM_ETH this function is no longer defined. This is a workaround to avoid the call in that case, and solely rely on eth_halt(). In case this is insufficient, a proper way to

[U-Boot] [PATCH v2 0/5] fix NetConsole for CONFIG_DM_ETH

2015-08-26 Thread Bernhard Nortmann
With the introduction of driver model and accompanying changes, outdated code in netconsole.c leads to compilation errors when both CONFIG_NETCONSOLE and CONFIG_DM_ETH are set. This is a series of patches to fix these issues and get NetConsole working again with DM_ETH. v2 adds some proper

Re: [U-Boot] [PATCH v2 1/3] arm: Enable CONFIG_SYS_GENERIC_BOARD for all boards

2015-08-26 Thread Stefano Babic
On 19/08/2015 06:35, Simon Glass wrote: All boards should be converted to generic board by now. Change the rest over. If this causes run-time breakages then we can remove those boards. Signed-off-by: Simon Glass s...@chromium.org --- For boards I am maintainer (flea3, mx51evk, mcx,

Re: [U-Boot] [PATCH v2 1/3] arm: Enable CONFIG_SYS_GENERIC_BOARD for all boards

2015-08-26 Thread Simon Glass
Hi, On 25 August 2015 at 01:44, Christian Riesch christian.rie...@omicron.at wrote: Hi Simon, On Wed, Aug 19, 2015 at 6:35 AM, Simon Glass s...@chromium.org wrote: All boards should be converted to generic board by now. Change the rest over. If this causes run-time breakages then we can

Re: [U-Boot] [PATCH v2 1/3] arm: Enable CONFIG_SYS_GENERIC_BOARD for all boards

2015-08-26 Thread Evgeni Dobrev
On 08/19/15 07:35, Simon Glass wrote: All boards should be converted to generic board by now. Change the rest over. If this causes run-time breakages then we can remove those boards. Signed-off-by: Simon Glass s...@chromium.org For the nas220 board: Acked-by: Evgeni Dobrev

Re: [U-Boot] [PATCH v2 1/3] arm: Enable CONFIG_SYS_GENERIC_BOARD for all boards

2015-08-26 Thread Igor Grinberg
On 08/19/15 07:35, Simon Glass wrote: All boards should be converted to generic board by now. Change the rest over. If this causes run-time breakages then we can remove those boards. Signed-off-by: Simon Glass s...@chromium.org For the compulab part: Acked-by: Igor Grinberg

Re: [U-Boot] [PATCH] ARM: ti_armv7_common: Use partuuid for detecting mmc root fs

2015-08-26 Thread Tom Rini
On Wed, Aug 26, 2015 at 07:48:37PM +0530, Lokesh Vutla wrote: Linux kernel can enumerate mmc sd as either mmcblk0 or mmcblk1. But u-boot default environment assumes that sd always populates as mmcblk0. With this the root fs is not being mounted when mmc sd is enumerated as mmcblk1. So use

Re: [U-Boot] [PATCH] spi: cadence_qspi: Enable quad mode for read and programming

2015-08-26 Thread Jagan Teki
On 26 August 2015 at 19:29, Marek Vasut ma...@denx.de wrote: On Wednesday, August 26, 2015 at 03:47:28 PM, Jagan Teki wrote: On 26 August 2015 at 13:00, Chin Liang See cl...@altera.com wrote: On Wed, 2015-08-26 at 08:57 +0200, ma...@denx.de wrote: On Wednesday, August 26, 2015 at 02:09:55

Re: [U-Boot] [PATCH v2 02/10] net: e1000: Fix build warnings for 32-bit

2015-08-26 Thread Joe Hershberger
Hi Bin, On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng bmeng...@gmail.com wrote: commit 6497e37 net: e1000: Support 64-bit physical address causes compiler warnings on 32-bit U-Boot build below. drivers/net/e1000.c: In function 'e1000_configure_tx': drivers/net/e1000.c:4982:2: warning: right

Re: [U-Boot] [PATCH] spi: cadence_qspi: Enable quad mode for read and programming

2015-08-26 Thread Marek Vasut
On Wednesday, August 26, 2015 at 04:39:40 PM, Jagan Teki wrote: On 26 August 2015 at 19:29, Marek Vasut ma...@denx.de wrote: On Wednesday, August 26, 2015 at 03:47:28 PM, Jagan Teki wrote: On 26 August 2015 at 13:00, Chin Liang See cl...@altera.com wrote: On Wed, 2015-08-26 at 08:57 +0200,

Re: [U-Boot] [PATCH v2 01/10] net: Revert tftp: adjust settings to be suitable for 100Mbit ethernet

2015-08-26 Thread Joe Hershberger
On Wed, Aug 26, 2015 at 8:17 AM, Bin Meng bmeng...@gmail.com wrote: Commit 620776d tftp: adjust settings to be suitable for 100Mbit ethernet causes the following error message when trying to load a file using 'tftp' command via a tftp server. TFTP error: 'Unsupported option(s) requested'

[U-Boot] [PATCH] ARM: ti_armv7_common: Use partuuid for detecting mmc root fs

2015-08-26 Thread Lokesh Vutla
Linux kernel can enumerate mmc sd as either mmcblk0 or mmcblk1. But u-boot default environment assumes that sd always populates as mmcblk0. With this the root fs is not being mounted when mmc sd is enumerated as mmcblk1. So use partuuid to update root= option in default environment. Defining all

Re: [U-Boot] [PATCH] spi: cadence_qspi: Enable quad mode for read and programming

2015-08-26 Thread Simon Glass
Hi Marek, On 25 August 2015 at 23:57, Marek Vasut ma...@denx.de wrote: On Wednesday, August 26, 2015 at 02:09:55 AM, Chin Liang See wrote: Enable the quad output fast read and quad input fast program support. Quad mode is supported by Cadence QSPI controller. Signed-off-by: Chin Liang See

Re: [U-Boot] [PATCH] driver: misc: correct Kconfig entry

2015-08-26 Thread Simon Glass
On 26 August 2015 at 00:41, Peng Fan peng@freescale.com wrote: Should use FSL_SEC_MON, not CONFIG_FSL_SEC_MON as Kconfig entry. Signed-off-by: Peng Fan peng@freescale.com Cc: Simon Glass s...@chromium.org Cc: Masahiro Yamada yamad...@jp.panasonic.com Cc: Fabio Estevam

Re: [U-Boot] [PATCH] omap-common: SYS_BOOT fallback logic correction

2015-08-26 Thread Tom Rini
On Wed, Aug 26, 2015 at 12:51:07PM +0200, Paul Kocialkowski wrote: [snip] On all OMAP platforms, USB peripheral loading is done via bulk USB and I suspect it is the same on am33xx platforms. Actually no! :( On OMAP3/4/5 (so dra7xx/am57xx) it's the same bulk USB. On AM33xx/AM43xx it's (in

Re: [U-Boot] [PATCH] spi: cadence_qspi: Enable quad mode for read and programming

2015-08-26 Thread Marek Vasut
On Wednesday, August 26, 2015 at 03:19:21 PM, Simon Glass wrote: Hi Marek, On 25 August 2015 at 23:57, Marek Vasut ma...@denx.de wrote: On Wednesday, August 26, 2015 at 02:09:55 AM, Chin Liang See wrote: Enable the quad output fast read and quad input fast program support. Quad mode is

Re: [U-Boot] [PATCH] spi: cadence_qspi: Enable quad mode for read and programming

2015-08-26 Thread Chin Liang See
On Wed, 2015-08-26 at 15:37 +0200, ma...@denx.de wrote: On Wednesday, August 26, 2015 at 03:13:15 PM, Chin Liang See wrote: Hi, [...] Yah, that is a nice enhancement in order to keep up with controller enhancement. We definitely want to explore and enable that at U-Boot in the

Re: [U-Boot] [PATCH] spi: cadence_qspi: Enable quad mode for read and programming

2015-08-26 Thread Jagan Teki
On 26 August 2015 at 13:00, Chin Liang See cl...@altera.com wrote: On Wed, 2015-08-26 at 08:57 +0200, ma...@denx.de wrote: On Wednesday, August 26, 2015 at 02:09:55 AM, Chin Liang See wrote: Enable the quad output fast read and quad input fast program support. Quad mode is supported by

Re: [U-Boot] Periodic task

2015-08-26 Thread Heiko Schocher
Hello Ran, Am 26.08.2015 um 10:57 schrieb Ran Shalit: On Wed, Aug 26, 2015 at 10:05 AM, Heiko Schocher h...@denx.de wrote: Hello Ran, Am 26.08.2015 um 08:09 schrieb Ran Shalit: On Wed, Aug 26, 2015 at 7:45 AM, Heiko Schocher h...@denx.de wrote: Hello Ran, Am 25.08.2015 um 22:03 schrieb

Re: [U-Boot] [PATCH v5 06/13] imx: system counter driver for imx7d and mx6ul

2015-08-26 Thread Stefano Babic
On 25/08/2015 23:16, Alonso Adrian wrote: Hi Stefano, -Original Message- From: Stefano Babic [mailto:sba...@denx.de] Sent: Sunday, August 23, 2015 11:07 AM To: Alonso Lazcano Adrian-B38018 aalo...@freescale.com; u- b...@lists.denx.de; sba...@denx.de; Estevam Fabio-R49496

Re: [U-Boot] DWMMC crontroller in Exynos4412

2015-08-26 Thread Przemyslaw Marczak
Hi Humberto, On 08/26/2015 03:40 PM, Humberto López León wrote: Hi community, thank you all for answering my questions. On 08/26/2015 02:53 AM, Przemyslaw Marczak wrote: Hi, On 08/26/2015 08:23 AM, Jaehoon Chung wrote: On 08/26/2015 11:26 AM, Simon Glass wrote: +Samsung people Hi, On 25

Re: [U-Boot] Exynos 5800/5422 CPU ID inconsistency.

2015-08-26 Thread Simon Glass
Hi Przemyslaw, On 26 August 2015 at 06:09, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello, The s5p_cpu_id variable is set in here: arch/arm/mach-exynos/include/mach/cpu.h For value 0x422, found in pro id register, the s5p_cpu_id is set as 0x5800. I think, that hiding the real info

Re: [U-Boot] DWMMC crontroller in Exynos4412

2015-08-26 Thread Humberto López León
Hi community, thank you all for answering my questions. On 08/26/2015 02:53 AM, Przemyslaw Marczak wrote: Hi, On 08/26/2015 08:23 AM, Jaehoon Chung wrote: On 08/26/2015 11:26 AM, Simon Glass wrote: +Samsung people Hi, On 25 August 2015 at 13:10, Humberto López León humbe...@uclv.cu

Re: [U-Boot] Can't start Linux if U-Boot built with CONFIG_WATCHDOG

2015-08-26 Thread Paul Murphy
Matthew Lear matt at bubblegen.co.uk writes: Hello all, I've added watchdog support based on U-Boot (git) for the m68k coldfire mcf54455evb platform. I've fed the patch to the maintainer to help in development. However, I am unable to start my m68k w/MMU coldfire Linux kernel from

[U-Boot] Exynos 5800/5422 CPU ID inconsistency.

2015-08-26 Thread Przemyslaw Marczak
Hello, The s5p_cpu_id variable is set in here: arch/arm/mach-exynos/include/mach/cpu.h For value 0x422, found in pro id register, the s5p_cpu_id is set as 0x5800. I think, that hiding the real info is wrong and misleading. I don't have documentation for E5800, but maybe there is some

[U-Boot] [PATCH v2 05/10] dm: eth: Correctly detect alias in eth_get_dev_by_name()

2015-08-26 Thread Bin Meng
When given a device name string, we should test to see if it is really an alias like eth#. Signed-off-by: Bin Meng bmeng...@gmail.com --- Changes in v2: - Change to use strncmp() net/eth.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net/eth.c b/net/eth.c index

[U-Boot] [PATCH v2 04/10] dm: test: Add a new test case for dm_test_eth_rotate

2015-08-26 Thread Bin Meng
Add one more ethernet device node in the sandbox test device tree, with name 'sbe5'. This is to support a new test case for testing network device rotation. Signed-off-by: Bin Meng bmeng...@gmail.com --- Changes in v2: - New patch to add a new test case for dm_test_eth_rotate

[U-Boot] [PATCH v2 08/10] net: pch_gbe: Convert to driver model

2015-08-26 Thread Bin Meng
This commit converts pch_gbe ethernet driver to driver model. Since this driver is only used by Intel Crown Bay board, the conversion does not keep the non-dm version. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Joe Hershberger joe.hershber...@ni.com Acked-by: Simon Glass

[U-Boot] [PATCH v2 07/10] x86: crownbay: Convert to use CONFIG_DM_ETH for E1000

2015-08-26 Thread Bin Meng
Since E1000 driver has been converted to driver model, enable it on Intel Crown Bay. But the Intel Topcliff GbE driver has not been converted to driver model yet, disable it for now. Signed-off-by: Bin Meng bmeng...@gmail.com --- Changes in v2: None board/intel/crownbay/crownbay.c | 6 --

[U-Boot] [PATCH v2 09/10] net: pch_gbe: Add Kconfig option

2015-08-26 Thread Bin Meng
Add Kconfig option in preparation for moving board to use Kconfig. Signed-off-by: Bin Meng bmeng...@gmail.com --- Changes in v2: - Add PHYLIB Kconfig option and let PCH_GBE select PHYLIB drivers/net/Kconfig | 15 +++ 1 file changed, 15 insertions(+) diff --git

[U-Boot] [PATCH v2 10/10] x86: crownbay: Enable CONFIG_PCH_GBE

2015-08-26 Thread Bin Meng
Now that we have converted the pch_gbe driver to driver moel, enable it on Intel Crown Bay board. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org --- Changes in v2: - Remove CONFIG_PHYLIB from crownbay.h configs/crownbay_defconfig | 1 +

Re: [U-Boot] [PATCH v4 03/33] pinctrl: Add the concept of peripheral IDs

2015-08-26 Thread Simon Glass
Hi Masahiro, On 25 August 2015 at 21:51, Masahiro Yamada yamada.masah...@socionext.com wrote: 2015-08-26 13:38 GMT+09:00 Simon Glass s...@chromium.org: Hi Masahiro, On 25 August 2015 at 21:30, Masahiro Yamada yamada.masah...@socionext.com wrote: Hi Simon, 2015-08-25 0:12 GMT+09:00 Simon

Re: [U-Boot] [PATCH 3/5] arm: tegra30: video: integrate display driver for t30

2015-08-26 Thread Simon Glass
Hi, On 26 August 2015 at 00:39, Thierry Reding tred...@nvidia.com wrote: On Mon, Aug 24, 2015 at 10:03:35PM +, Marcel Ziswiler wrote: On 21 Aug 2015 11:29, Thierry Reding tred...@nvidia.com wrote: Perhaps a good idea would be to simply copy what we have in the kernel and see where (if

Re: [U-Boot] [PATCH v2 02/10] net: e1000: Fix build warnings for 32-bit

2015-08-26 Thread Simon Glass
Hi, On 26 August 2015 at 06:17, Bin Meng bmeng...@gmail.com wrote: commit 6497e37 net: e1000: Support 64-bit physical address causes compiler warnings on 32-bit U-Boot build below. drivers/net/e1000.c: In function 'e1000_configure_tx': drivers/net/e1000.c:4982:2: warning: right shift count =

Re: [U-Boot] [PATCH 3/5] arm: tegra30: video: integrate display driver for t30

2015-08-26 Thread Simon Glass
Hi Thierry, On 26 August 2015 at 00:29, Thierry Reding tred...@nvidia.com wrote: On Tue, Aug 25, 2015 at 10:03:13AM -0600, Simon Glass wrote: On 25 August 2015 at 05:02, Thierry Reding tred...@nvidia.com wrote: On Mon, Aug 24, 2015 at 10:58:48AM -0600, Simon Glass wrote: On 24 August 2015

Re: [U-Boot] [PATCH] spi: cadence_qspi: Enable quad mode for read and programming

2015-08-26 Thread Chin Liang See
On Wed, 2015-08-26 at 19:17 +0530, Jagan Teki wrote: On 26 August 2015 at 13:00, Chin Liang See cl...@altera.com wrote: On Wed, 2015-08-26 at 08:57 +0200, ma...@denx.de wrote: On Wednesday, August 26, 2015 at 02:09:55 AM, Chin Liang See wrote: Enable the quad output fast read and quad

Re: [U-Boot] [PATCH v2 1/9] x86: minnowmax: Add access to GPIOs E0, E1, E2

2015-08-26 Thread Simon Glass
On 22 August 2015 at 14:58, Simon Glass s...@chromium.org wrote: These GPIOs are accessible on the pin header. Add pinctrl settings for them so that we they can be adjusted using the 'gpio' command. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None

  1   2   >