Re: [U-Boot] [PATCH 2/2] support blackfin board initialization in generic board_f

2014-07-30 Thread Sonic Zhang
Hi Tom, On Tue, Jul 29, 2014 at 8:33 PM, Tom Rini tr...@ti.com wrote: On Thu, Jul 24, 2014 at 10:47:02AM +0800, Sonic Zhang wrote: From: Sonic Zhang sonic.zh...@analog.com - init hardware watchdog if applicable - use CONFIG_SYS_MONITOR_LEN as the gd monitor len for Blackfin - reserve u-boot

Re: [U-Boot] [PATCH 1/1] env_mmc: support env partition setup in runtime

2014-07-30 Thread Igor Grinberg
Hi Jeroen, On 07/29/14 20:44, Jeroen Hofstee wrote: Hello Dmitry, On 29-07-14 11:46, Dmitry Lifshitz wrote: Add callback with __weak annotation to allow setup of environment partition number in runtime from a board file. Propagate mmc_switch_part() return value into init_mmc_for_env()

[U-Boot] [PATCH v2 1/2] blackfin: convert blackfin board_f and board_r to use generic board init functions

2014-07-30 Thread Sonic Zhang
From: Sonic Zhang sonic.zh...@analog.com - move blackfin specific cpu init code from blackfin board.c to cpu.c - remove blackfin specific board init code and invoke generic board_f fron cpu init entry - rename section name bss_vma to bss_start in order to match the generic board init code - add

[U-Boot] [PATCH v2 2/2] support blackfin board initialization in generic board_f

2014-07-30 Thread Sonic Zhang
From: Sonic Zhang sonic.zh...@analog.com - init hardware watchdog if applicable - use CONFIG_SYS_MONITOR_LEN as the gd monitor len for Blackfin - reserve u-boot memory at the top field of the RAM for Blackfin - avoid refer to CONFIG_SYS_MONITOR_LEN, which is not defined by Blackfin

Re: [U-Boot] [PATCH v2 1/4] MAINTAINERS: add initial version

2014-07-30 Thread Masahiro Yamada
Hi Daniel, Could you fix one more, please? On Tue, 29 Jul 2014 13:59:16 +0200 Daniel Schwierzeck daniel.schwierz...@gmail.com wrote: +FLATTENED DEVICE TREE +M: Jerry Van Baren vanba...@cideas.com +S: Maintained +T: git git://git.denx.de/u-boot-fdt.git +F: lib/libftd/ Typo.

[U-Boot] SPL and an LCD splash screen on AM335x

2014-07-30 Thread Andy Pont
Hello! We are currently working on the specification for a project using the TI AM335x where the overall system boot time has to be reduced as far as possible. In order to achieve that I am proposing that we implement a board specific spl_start_uboot() function which under normal circumstances

Re: [U-Boot] SPL and an LCD splash screen on AM335x

2014-07-30 Thread Heshsham Abdul Basit
Hi Andy, I also tried to boot Linux directly on my Zynq board. But I could not understand the instructions given in readme.falcon, so the project is stalled. google *falcon mode U-boot , *you will find couple of presentations, and in doc you have readme.falcon.txt that explains this with an

[U-Boot] [PATCH] [blackfin] bf609: add register define required by core B on dual core BF609 processor

2014-07-30 Thread Aaron Wu
Add register define required by core B on dual core BF609 processor Signed-off-by: Aaron Wu aaron...@analog.com --- arch/blackfin/include/asm/mach-bf609/BF609_def.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/blackfin/include/asm/mach-bf609/BF609_def.h

[U-Boot] [PATCH] test email

2014-07-30 Thread Przemyslaw Marczak
Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- test.c | 1 + 1 file changed, 1 insertion(+) create mode 100644 test.c diff --git a/test.c b/test.c new file mode 100644 index 000..40e6141 --- /dev/null +++ b/test.c @@ -0,0 +1 @@ +#include test \ No newline at end of file --

Re: [U-Boot] [PATCH] [blackfin] bf609: add register define required by core B on dual core BF609 processor

2014-07-30 Thread Sonic Zhang
Hi Aaron, Applied. Thanks, Sonic On Wed, Jul 30, 2014 at 3:15 PM, Aaron Wu aaron...@analog.com wrote: Add register define required by core B on dual core BF609 processor Signed-off-by: Aaron Wu aaron...@analog.com --- arch/blackfin/include/asm/mach-bf609/BF609_def.h |2 ++ 1 file

Re: [U-Boot] [PATCH] test email

2014-07-30 Thread Przemyslaw Marczak
Hello, On 07/30/2014 09:36 AM, Przemyslaw Marczak wrote: Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- test.c | 1 + 1 file changed, 1 insertion(+) create mode 100644 test.c diff --git a/test.c b/test.c new file mode 100644 index 000..40e6141 --- /dev/null +++ b/test.c

Re: [U-Boot] SPL and an LCD splash screen on AM335x

2014-07-30 Thread Stefano Babic
Hi Andy, On 30/07/2014 08:43, Andy Pont wrote: Hello! We are currently working on the specification for a project using the TI AM335x where the overall system boot time has to be reduced as far as possible. In order to achieve that I am proposing that we implement a board specific

[U-Boot] Implementing spl_start_uboot() for directly booting linux

2014-07-30 Thread Heshsham Abdul Basit
Hello, I am trying to directly boot the kernel i.e without u-boot, on my Xilinx Zynq based microzed board. I understand that for that I must implement the function spl_start_uboot() in spl.c Right now the definition is: #ifdef CONFIG_SPL_OS_BOOT int spl_start_uboot(void) { /* boot linux

Re: [U-Boot] Implementing spl_start_uboot() for directly booting linux

2014-07-30 Thread Stefano Babic
Hi Abdul, On 30/07/2014 10:21, Heshsham Abdul Basit wrote: Hello, I am trying to directly boot the kernel i.e without u-boot, on my Xilinx Zynq based microzed board. I understand that for that I must implement the function spl_start_uboot() in spl.c Right now the definition is:

Re: [U-Boot] [PATCH v4 0/15] Kconfig for U-Boot

2014-07-30 Thread Masahiro Yamada
Hi Simon, On Mon, 28 Jul 2014 04:43:35 +0100 Simon Glass s...@chromium.org wrote: Also some thoughts for the future: 1. The 'menuconfig' option makes it obvious that we are dealing with U-Boot / SPL / TPL. Can we do the same for 'xconfig'? Sorry, I could not understand what you mean.

Re: [U-Boot] [PATCH v2 1/4] MAINTAINERS: add initial version

2014-07-30 Thread Masahiro Yamada
Hi Daniel, One more update, please. On Tue, 29 Jul 2014 13:59:16 +0200 Daniel Schwierzeck daniel.schwierz...@gmail.com wrote: +FLATTENED DEVICE TREE +M: Jerry Van Baren vanba...@cideas.com Please replace with M: Simon Glass s...@chromium.org Simon will pick up FDT

[U-Boot] Please pull u-boot-sunxi.git/master

2014-07-30 Thread Hans de Goede
Hi Albert Please pull from u-boot-sunxi.git/master for a set of patches adding AHCI, EHCI, PSCI support + support for 14 new boards. The following changes since commit 9d195a546179bc732aba9eacccf0a9a3db591288: ARM: HYP/non-sec: remove MIDR check to validate CBAR (2014-07-28 17:19:55 +0200)

Re: [U-Boot] [PATCH v1 22/25] tools/kwboot: Sync with latest barebox version to support Armada XP

2014-07-30 Thread Stefan Roese
Hi Luka, On 30.07.2014 01:16, Luka Perkov wrote: snip -#define KWBOOT_MSG_REQ_DELAY 1000 /* ms */ -#define KWBOOT_MSG_RSP_TIMEO 1000 /* ms */ +#define KWBOOT_MSG_REQ_DELAY 10 /* ms */ +#define KWBOOT_MSG_RSP_TIMEO 50 /* ms */ Unfortunately these settings do not work with Armada XP.

Re: [U-Boot] [PATCH v2 1/4] MAINTAINERS: add initial version

2014-07-30 Thread Daniel Schwierzeck
On 30.07.2014 10:33, Masahiro Yamada wrote: Hi Daniel, One more update, please. On Tue, 29 Jul 2014 13:59:16 +0200 Daniel Schwierzeck daniel.schwierz...@gmail.com wrote: +FLATTENED DEVICE TREE +M: Jerry Van Baren vanba...@cideas.com Please replace with M:Simon Glass

Re: [U-Boot] [PATCH v4 0/15] Kconfig for U-Boot

2014-07-30 Thread Simon Glass
Hi Masahiro, On 30 July 2014 09:27, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, On Mon, 28 Jul 2014 04:43:35 +0100 Simon Glass s...@chromium.org wrote: Also some thoughts for the future: 1. The 'menuconfig' option makes it obvious that we are dealing with U-Boot / SPL /

[U-Boot] [PATCH V4 5/9] video: Add driver for Parade PS8625 dP to LVDS bridge

2014-07-30 Thread Ajay Kumar
From: Vadim Bendebury vben...@chromium.org The initialization table comes from the Illustration of I2C command for initialing PS8625 document supplied by Parade. Signed-off-by: Vadim Bendebury vben...@chromium.org Signed-off-by: Ajay Kumar ajaykumar...@samsung.com Acked-by: Simon Glass

[U-Boot] [PATCH V4 2/9] arm: exynos: Add RPLL for Exynos5420

2014-07-30 Thread Ajay Kumar
RPLL is needed to drive the LCD panel on Exynos5420 based boards. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com Acked-by: Simon Glass s...@chromium.org Tested-by: Simon Glass s...@chromium.org --- arch/arm/cpu/armv7/exynos/clock_init.h |3 +++

[U-Boot] [PATCH V4 0/9] peach_pit: Add support for FIMD, DP and parade chip

2014-07-30 Thread Ajay Kumar
Patchset V1: https://www.mail-archive.com/u-boot@lists.denx.de/msg140596.html Patchset V2: https://www.mail-archive.com/u-boot@lists.denx.de/msg141203.html Patchset V3: http://lists.denx.de/pipermail/u-boot/2014-July/183096.html Changes from V1: [PATCH V2 3/10] : Don't mix cpu_is and proid_is

[U-Boot] [PATCH V4 1/9] exynos_fb: Remove usage of static defines

2014-07-30 Thread Ajay Kumar
Previously, we used to statically assign values for vl_col, vl_row and vl_bpix using #defines like LCD_XRES, LCD_YRES and LCD_COLOR16. Introducing the function exynos_lcd_early_init() would take care of this assignment on the fly by parsing FIMD DT properties, thereby allowing us to remove

[U-Boot] [PATCH V4 6/9] ARM: exynos: Add missing declaration for gpio_direction_input

2014-07-30 Thread Ajay Kumar
This patch adds missing declaration for gpio_direction_input function, thereby helps in resolving compilation warnings. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com Acked-by: Simon Glass s...@chromium.org Tested-by: Simon Glass s...@chromium.org --- arch/arm/include/asm/arch-exynos/gpio.h

[U-Boot] [PATCH V4 4/9] video: exynos_fimd: Add framework to disable FIMD sysmmu

2014-07-30 Thread Ajay Kumar
On Exynos5420 and newer versions, the FIMD sysmmus are in on state by default. We have to disable them in order to make FIMD DMA work. This patch adds the required framework to exynos_fimd driver, and disables FIMD sysmmu on Exynos5420. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com Acked-by:

[U-Boot] [PATCH V4 7/9] exynos5420: add callbacks needed for exynos_fb driver

2014-07-30 Thread Ajay Kumar
Add initialization code for peach_pit panel, parade bridge chip, and backlight. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com Acked-by: Simon Glass s...@chromium.org Tested-by: Simon Glass s...@chromium.org --- arch/arm/include/asm/arch-exynos/system.h |3 +

[U-Boot] [PATCH V4 9/9] CONFIGS: peach-pit: Enable display for peach_pit board

2014-07-30 Thread Ajay Kumar
Enable drivers for FIMD, DP and parade bridge chip. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com Acked-by: Simon Glass s...@chromium.org Tested-by: Simon Glass s...@chromium.org --- include/configs/peach-pit.h | 10 ++ 1 file changed, 10 insertions(+) diff --git

[U-Boot] [PATCH V4 8/9] ARM: exynos: peach_pit: Add DT nodes for fimd and parade bridge chip

2014-07-30 Thread Ajay Kumar
This patch adds DT properties for fimd and the parade bridge chip present on peach_pit. The panel supports 1366x768 resolution. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com Acked-by: Simon Glass s...@chromium.org Tested-by: Simon Glass s...@chromium.org ---

[U-Boot] [PATCH V4 3/9] arm: exynos: Add get_lcd_clk and set_lcd_clk callbacks for Exynos5420

2014-07-30 Thread Ajay Kumar
Add get_lcd_clk and set_lcd_clk callbacks for Exynos5420 needed by exynos video driver. Also, configure ACLK_400_DISP1 as the parent for MUX_ACLK_400_DISP1_SUB_SEL. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com Acked-by: Simon Glass s...@chromium.org Tested-by: Simon Glass s...@chromium.org

Re: [U-Boot] [PATCH v4 0/15] Kconfig for U-Boot

2014-07-30 Thread Masahiro Yamada
Hi Simon, On Wed, 30 Jul 2014 10:08:53 +0100 Simon Glass s...@chromium.org wrote: Hi Masahiro, On 30 July 2014 09:27, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, On Mon, 28 Jul 2014 04:43:35 +0100 Simon Glass s...@chromium.org wrote: Also some thoughts for the

Re: [U-Boot] Implementing spl_start_uboot() for directly booting linux

2014-07-30 Thread Heshsham Abdul Basit
On 30 July 2014 13:56, Stefano Babic sba...@denx.de wrote: Hi Abdul, On 30/07/2014 10:21, Heshsham Abdul Basit wrote: Hello, I am trying to directly boot the kernel i.e without u-boot, on my Xilinx Zynq based microzed board. I understand that for that I must implement the function

Re: [U-Boot] [PATCH v4 0/15] Kconfig for U-Boot

2014-07-30 Thread Simon Glass
Hi Masahiro, On 30 July 2014 10:34, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, On Wed, 30 Jul 2014 10:08:53 +0100 Simon Glass s...@chromium.org wrote: Hi Masahiro, On 30 July 2014 09:27, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, On Mon, 28 Jul

[U-Boot] [PATCH v3 0/16] Introduce driver model serial uclass

2014-07-30 Thread Simon Glass
This series adds support for a serial uclass, enabling serial drivers to be converted to use driver model. Unfortunately this is quite a complicated process for a number of reasons: - serial is used before relocation, but driver model does not support this - stdio member functions are not passed

[U-Boot] [PATCH v3 07/16] sandbox: dts: Add a serial console node

2014-07-30 Thread Simon Glass
If the sandbox device tree is provided to U-Boot (with the -d flag) then it will use the device tree version in preference to the built-in device. The only difference is the colour. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Change pre-reloc fdt property to

[U-Boot] [PATCH v3 03/16] dm: Add a uclass for serial devices

2014-07-30 Thread Simon Glass
Serial devices support simple byte input/output and a few operations to find out whether data is available. Add a basic uclass for serial devices to be used by drivers that are converted to driver model. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Automatically bind the

[U-Boot] [PATCH v3 02/16] dm: Adjust lists_bind_fdt() to return the bound device

2014-07-30 Thread Simon Glass
Allow the caller to find out the device that was bound in response to this call. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Add new change to enhance lists_bind_fdt() Changes in v2: None drivers/core/lists.c | 10 +++--- drivers/core/root.c | 2 +-

[U-Boot] [PATCH v3 16/16] dm: tegra: Use V_NS16550_CLK only in SPL builds

2014-07-30 Thread Simon Glass
Since Tegra now uses driver model for serial, adjust the definition of V_NS16550_CLK so that it is clear that this is only used for SPL. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Add new patch to use V_NS16550_CLK only in SPL builds Changes in v2: None

[U-Boot] [PATCH v3 13/16] dm: serial: Add driver model support for ns16550

2014-07-30 Thread Simon Glass
Add driver model support so that ns16550 can support operation both with and without driver model. Add a suitable device tree binding also. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Add new patch to support driver model in ns16550 Changes in v2: None

[U-Boot] [PATCH v3 04/16] Set up stdio earlier when using driver model

2014-07-30 Thread Simon Glass
Since driver model registers itself with the stdio subsystem, and we want to avoid delayed registration and other complexity associated with the current serial console, move the stdio subsystem init earlier when driver model is used for serial. This simplifies the implementation. Should there be

[U-Boot] [PATCH v3 05/16] sandbox: Convert serial driver to use driver model

2014-07-30 Thread Simon Glass
Adjust the sandbox serial driver to use the new driver model uclass. The driver works much as before, but within the new framework. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: - Rename struct device to struct udevice drivers/serial/sandbox.c | 67

[U-Boot] [PATCH v3 08/16] dm: exynos: Mark exynos5 console as pre-reloc

2014-07-30 Thread Simon Glass
We will need the console before relocation, so mark it that way. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Change pre-reloc fdt property to 'u-boot,dm-pre-reloc' Changes in v2: None arch/arm/dts/exynos5.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH v3 11/16] dm: serial: Move baud rate calculation to ns16550.c

2014-07-30 Thread Simon Glass
Move the function that calculates the baud rate divisor into ns16550.c so it can be used by that file. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Add new patch to move baud rate calculation to ns16550.c Changes in v2: None drivers/serial/ns16550.c| 18

[U-Boot] [PATCH v3 14/16] tegra: dts: Add serial port details

2014-07-30 Thread Simon Glass
Some Tegra device tree files do not include information about the serial ports. Add this and also add information about the input clock speed. The console alias needs to be set up to indicate which port is used for the console. Also add a binding file since this is missing. Signed-off-by: Simon

[U-Boot] [PATCH v3 06/16] sandbox: serial: Support a coloured console

2014-07-30 Thread Simon Glass
The current sandbox serial driver is a pretty trivial example and does not have the featues that might be needed for other board serial drivers. To help provide a better example, add a text colour property to the device tree for sandbox. This uses platform data, a device tree node, driver private

[U-Boot] [PATCH v3 01/16] serial: Set up the 'priv' pointer when creating a serial device

2014-07-30 Thread Simon Glass
The stdio_dev structure has a private pointer for its creator, but it is not set up by the serial system. Set it to point to the serial device so that it can be found by code called by stdio. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Fix typo in commit message Changes in

[U-Boot] [PATCH v3 10/16] dm: Make driver model available before board_init()

2014-07-30 Thread Simon Glass
For some boards board_init() will change GPIOs, so we need to have driver model available before then. Adjust the board init to arrange this, but enable it for driver model only, just to be safe. This does create additional #ifdef logic, but it is safer than trying to make a pervasive change

[U-Boot] [PATCH v3 15/16] RFC: dm: tegra: Enable driver model for serial

2014-07-30 Thread Simon Glass
Use driver model for serial ports (for test and comment only). Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Add new patch to enable driver model for seial on tegra Changes in v2: None include/configs/tegra-common.h | 8 +++- 1 file changed, 7 insertions(+), 1

[U-Boot] [PATCH v3 12/16] dm: serial: Collect common baud rate code in ns16550

2014-07-30 Thread Simon Glass
The same sequence is used in several places, so move it into a function. Note that UART_LCR_BKSE is an alias for UART_LCR_DLAB. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Add new patch to collect common baud rate code in ns16550 Changes in v2: None

[U-Boot] [PATCH v3 09/16] dm: exynos: Move serial to driver model

2014-07-30 Thread Simon Glass
Change the Exynos serial driver to work with driver model and switch over all Exynos5 boards to use it. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Avoid reordering functions Changes in v2: None drivers/serial/serial_s5p.c | 255

[U-Boot] [PATCH 2/2] fdt: Sync up with libfdt

2014-07-30 Thread Simon Glass
This brings in changes up to commit f9e91a48 in the libfdt repo. Mostly this is whitespace/minor changes. But there are a few new features: - fdt_size_cells() and fdt_address_cells() - fdt_resize() Signed-off-by: Simon Glass s...@chromium.org --- include/libfdt.h | 73

[U-Boot] Please fix warning of Exynos

2014-07-30 Thread Masahiro Yamada
Hi, Samsung developers, I notice the following warning when building Exynos family: arch/arm/cpu/armv7/exynos/clock.c: In function 'clock_get_periph_rate': arch/arm/cpu/armv7/exynos/clock.c:263:47: warning: array subscript is above array bounds [-Warray-bounds] struct clk_bit_info

[U-Boot] [PATCH 1/2] fdt: Rename fdt_resize() to fdt_shrink_to_minimum()

2014-07-30 Thread Simon Glass
Since libfdt now has an fdt_resize() function, we need to rename the U-Boot one. Signed-off-by: Simon Glass s...@chromium.org --- common/cmd_fdt.c | 2 +- common/fdt_support.c | 2 +- common/image-fdt.c| 2 +- include/fdt_support.h | 2 +- 4 files changed, 4 insertions(+), 4

[U-Boot] Please fix warning of gw_ventana board

2014-07-30 Thread Masahiro Yamada
Hi Tim Harvey, I am afraid I see a warning when building gw_ventana board. board/gateworks/gw_ventana/gw_ventana.c: In function 'setup_board_gpio': board/gateworks/gw_ventana/gw_ventana.c:987:27: warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations] if

[U-Boot] [PATCH] omap: clean-up dead configs

2014-07-30 Thread Masahiro Yamada
The following configs are not defined at all. - CONFIG_OMAP1510 - CONFIG_OMAP_1510P1 - CONFIG_OMAP_SX1 - CONFIG_OMAP3_DMA - CONFIG_OMAP3_ZOOM2 - CONFIG_OMAP_INNOVATOR Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Tom Rini tr...@ti.com --- drivers/dma/Makefile

[U-Boot] [PATCH v2 2/2] env_mmc: support env partition setup in runtime

2014-07-30 Thread Dmitry Lifshitz
Add callback with __weak annotation to allow setup of environment partition number in runtime from a board file. Propagate mmc_switch_part() return value into init_mmc_for_env() instead of -1 in case of failure. Signed-off-by: Dmitry Lifshitz lifsh...@compulab.co.il Signed-off-by: Igor Grinberg

[U-Boot] [PATCH 1/2] env_mmc: add mmc_get_env_addr() prototype

2014-07-30 Thread Dmitry Lifshitz
Add missing mmc_get_env_addr() prototype in environment.h Signed-off-by: Dmitry Lifshitz lifsh...@compulab.co.il --- include/environment.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/include/environment.h b/include/environment.h index 08679ae..d7a1adf 100644 ---

[U-Boot] [PATCH] drivers: rtc: remove dead drivers

2014-07-30 Thread Masahiro Yamada
The following configs are not defined at all: - CONFIG_RTC_DS1388 - CONFIG_RTC_ISL1208 - CONFIG_RTC_MX27 - CONFIG_RTC_PL031 - CONFIG_RTC_RS5C372A - CONFIG_SYS_DS1388_TCR_VAL Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- README| 1 - drivers/rtc/Makefile

[U-Boot] [PATCH] drivers: net: remove dead drivers

2014-07-30 Thread Masahiro Yamada
The following configs are not defined at all: - CONFIG_FTMAC110 - CONFIG_INCA_IP_SWITCH - CONFIG_PBL2800_ETHER - CONFIG_PHY_ICPLUS Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- drivers/net/Makefile | 3 - drivers/net/ftmac110.c| 480

Re: [U-Boot] Please fix warning of Exynos

2014-07-30 Thread Jaehoon Chung
Hi, Masahiro. Thanks for pointing out. I will check it. Best Regards, Jaehoon Chung On 07/30/2014 06:59 PM, Masahiro Yamada wrote: Hi, Samsung developers, I notice the following warning when building Exynos family: arch/arm/cpu/armv7/exynos/clock.c: In function

[U-Boot] [PATCH v7 00/12] Add support to Odroid U3/X2

2014-07-30 Thread Przemyslaw Marczak
This patch set introduces changes to common Samsung code as a preparation of new board support: - boot device check - code cleanup - automatic init order of mmc drivers - automatic setting of dfu entities which depends on boot device - pre reset function call for board own implementation - setting

[U-Boot] [PATCH v7 03/12] arch:exynos: boot mode: add get_boot_mode(), code cleanup

2014-07-30 Thread Przemyslaw Marczak
This patch introduces code clean-up for exynos boot mode check. It includes: - removal of typedef: boot_mode - move the boot mode enum to arch-exynos/power.h - add bootmode for sequence: eMMC 4.4 ch4 / SD ch2 - add new function: get_boot_mode() for OM[5:1] pin check - update spl boot code

[U-Boot] [PATCH v7 06/12] samsung:board: misc_init_r: call set_dfu_alt_info()

2014-07-30 Thread Przemyslaw Marczak
This change enable automatic setting of dfu alt info on every boot. This is useful in case of booting one u-boot binary from multiple media. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- board/samsung/common/board.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[U-Boot] [PATCH v7 01/12] samsung: misc: fix soc revision setting in the set_board_info()

2014-07-30 Thread Przemyslaw Marczak
The byte order of soc revision was inverted, now it is fixed. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Piotr Wilczek p.wilc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- board/samsung/common/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH v7 07/12] arm:reset: call the reset_misc() before the cpu reset

2014-07-30 Thread Przemyslaw Marczak
On an Odroid U3 board, the SOC is unable to reset the eMMC card in the DWMMC mode by the cpu software reset. Manual reset of the card by switching proper gpio pin - fixes this issue. Such solution needs to add a call to pre reset function. This is done by the reset_misc() function, which is

[U-Boot] [PATCH v7 09/12] samsung: misc: use board specific functions to set env board info

2014-07-30 Thread Przemyslaw Marczak
This change adds setup of environmental board info using get_board_name() and get_board_type() functions for config CONFIG_BOARD_TYPES. This is useful in case of running many boards with just one config. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Piotr Wilczek

[U-Boot] [PATCH v7 05/12] samsung: misc: add function for setting $dfu_alt_info

2014-07-30 Thread Przemyslaw Marczak
This change introduces new common function: - set_dfu_alt_info() - put dfu system and bootloader setting into $dfu_alt_info. functions declaration: - char *get_dfu_alt_system(void) - char *get_dfu_alt_boot(void) - void set_dfu_alt_info(void) and new config: -

[U-Boot] [PATCH v7 08/12] samsung: board: enable support of multiple board types

2014-07-30 Thread Przemyslaw Marczak
This change adds declaration of functions: - set_board_type() - called at board_early_init_f() - get_board_type() - called at checkboard() For supporting multiple board types in a one config - it is welcome to display the current board model. This is what get_board_type() should return.

[U-Boot] [PATCH v7 11/12] odroid: add odroid U3/X2 device tree description

2014-07-30 Thread Przemyslaw Marczak
This is a standard description for Odroid boards. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Cc: Tom Rini tr...@ti.com --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/exynos4412-odroid.dts | 70 ++

[U-Boot] [PATCH v7 10/12] odroid: add board file for Odroid X2/U3 based on Samsung Exynos4412

2014-07-30 Thread Przemyslaw Marczak
This board file supports standard features of Odroid X2 and U3 boards: - Exynos4412 core clock set to 1000MHz and MPLL peripherial clock set to 800MHz, - MAX77686 power regulator, - USB PHY, - enable XCL205 - power for board peripherials - check board type: U3 or X2. - enable Odroid U3 FAN cooler

[U-Boot] [PATCH v7 04/12] board:samsung: check the boot device and init the right mmc driver.

2014-07-30 Thread Przemyslaw Marczak
It is possible to boot device using a micro SD or eMMC slots. In this situation, boot device should be registered as a block device 0 in the MMC framework, because CONFIG_SYS_MMC_ENV_DEV is usually set to 0 in the most config cases. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com ---

[U-Boot] [PATCH v7 12/12] odroid: add odroid_config

2014-07-30 Thread Przemyslaw Marczak
This config is valid for two devices: - Odroid X2, - Odroid U3. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Cc: Tom Rini tr...@ti.com --- Changes v2: - odroid config: add CONFIG_DFU_ALT_BOOTLOADER - odroid config: change name of

[U-Boot] [PATCH v7 02/12] exynos: pinmux: fix the gpio names for exynos4x12 mmc

2014-07-30 Thread Przemyslaw Marczak
This change fixes the bad gpio configuration for the exynos dwmmc. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Beomho Seo beomho@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Cc: Jaehoon Chung jh80.ch...@samsung.com --- arch/arm/cpu/armv7/exynos/pinmux.c | 4 ++-- 1 file

[U-Boot] [U-boot] Origen board boot failed with 2014.07 source code

2014-07-30 Thread TigerLiu
Hi, singh: I have an Origen(Cortex-A9 Dual Core, Exynos 4210) development board.(InSignal produced) I followed below steps to verify the latest u-boot release code: 1. build uboot make origen_config make all then it will origen-spl.bin in spl dir. 2. run dd command to burn raw images

Re: [U-Boot] [PATCH 3/3] test: ums: Add script for testing UMS gadget operation

2014-07-30 Thread Lukasz Majewski
Hi Stephen, On 07/29/2014 07:45 AM, Lukasz Majewski wrote: This commit adds new test for UMS USB gadget to u-boot mainline tree. It it similar in operation to the one already available in test/dfu directory. Patches 1 and 2, Acked-by: Stephen Warren swar...@nvidia.com For this

Re: [U-Boot] [PATCH v1 2/4] get_maintainer.pl: import script from linux 3.15

2014-07-30 Thread Simon Glass
Hi Daniel, On 26 July 2014 19:54, Daniel Schwierzeck daniel.schwierz...@gmail.com wrote: Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com Can you please check this? I see differences between this script and the Linux v3.15 version (commit 1860e37). Regards, Simon

Re: [U-Boot] [PATCH v1 3/4] get_maintainer.pl: adapt to U-Boot tree

2014-07-30 Thread Simon Glass
On 26 July 2014 19:54, Daniel Schwierzeck daniel.schwierz...@gmail.com wrote: Switch core maintainer to Tom Rini. Adapt directory layout for git tree detection. Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com Tested with some local patches and patman. Acked-by: Simon Glass

Re: [U-Boot] Can not boot Linux with new FIT image on ARMv8

2014-07-30 Thread Simon Glass
Hi, On 29 July 2014 10:04, Duxiaoqiang duxiaoqi...@huawei.com wrote: Hi All: I am trying to make use of verified Uboot on ARMv8 FVP platform. I setup environment followed the below procedure, but failed after entered Linux kernel. There was nothing prompt information except Starting

Re: [U-Boot] [PATCH v8 07/13] tools: add genboardscfg.py

2014-07-30 Thread Tom Rini
On Wed, Jul 30, 2014 at 02:08:19PM +0900, Masahiro Yamada wrote: Now the primary data for each board is in Kconfig, defconfig and MAINTAINERS. It is true boards.cfg is needed for MAKEALL and buildman and might be useful to brouse all the supported boards in a single database. But it would

[U-Boot] [PATCH] tools/genboardscfg.py: Don't rely on subprocess.check_output

2014-07-30 Thread Tom Rini
The function subprocess.check_output() only exists in Python 2.7 and later (and there are long term supported distributions that ship with 2.6.x). Replace this with a call to subprocess.Popen() and then checking output via communicate() Signed-off-by: Tom Rini tr...@ti.com ---

Re: [U-Boot] [PATCH v8 07/13] tools: add genboardscfg.py

2014-07-30 Thread Simon Glass
Hi Tom, On 30 July 2014 15:07, Tom Rini tr...@ti.com wrote: On Wed, Jul 30, 2014 at 02:08:19PM +0900, Masahiro Yamada wrote: Now the primary data for each board is in Kconfig, defconfig and MAINTAINERS. It is true boards.cfg is needed for MAKEALL and buildman and might be useful to brouse

Re: [U-Boot] Driver Model and DTS Parsing

2014-07-30 Thread Simon Glass
Hi Stephen, On 12 June 2014 23:31, Stephen Warren swar...@wwwdotorg.org wrote: On 06/11/2014 10:55 PM, Simon Glass wrote: ... Tegra doesn't have much in the device tree for GPIOs - it seems to be all hard-coded in the software. So I ended up with the code you saw which just iterates over a

Re: [U-Boot] [PATCH v8 07/13] tools: add genboardscfg.py

2014-07-30 Thread Tom Rini
On Wed, Jul 30, 2014 at 04:12:09PM +0100, Simon Glass wrote: Hi Tom, On 30 July 2014 15:07, Tom Rini tr...@ti.com wrote: On Wed, Jul 30, 2014 at 02:08:19PM +0900, Masahiro Yamada wrote: Now the primary data for each board is in Kconfig, defconfig and MAINTAINERS. It is true

[U-Boot] [PATCH] test mail

2014-07-30 Thread Masahiro Yamada
Sorry for noise. --- README | 1 + 1 file changed, 1 insertion(+) diff --git a/README b/README index f704eb3..b634ee0 100644 --- a/README +++ b/README @@ -6406,3 +6406,4 @@ Notes: u-boot mailing list. Bigger patches will be moderated. If they are reasonable and not too big, they will be

Re: [U-Boot] [PATCH v5 05/11] exynos: dts: Adjust device tree files for U-Boot

2014-07-30 Thread Simon Glass
Hi Tom, On 28 July 2014 21:27, Tom Rini tr...@ti.com wrote: On Mon, Jul 28, 2014 at 06:11:32AM -0600, Simon Glass wrote: The pinctrl bindings used by Linux are an incomplete description of the hardware. It is possible in most cases to determine the register address of each, but not in all

Re: [U-Boot] [PATCH v8 07/13] tools: add genboardscfg.py

2014-07-30 Thread Simon Glass
Hi Tom, On 30 July 2014 16:22, Tom Rini tr...@ti.com wrote: On Wed, Jul 30, 2014 at 04:12:09PM +0100, Simon Glass wrote: Hi Tom, On 30 July 2014 15:07, Tom Rini tr...@ti.com wrote: On Wed, Jul 30, 2014 at 02:08:19PM +0900, Masahiro Yamada wrote: Now the primary data for each board is in

Re: [U-Boot] [PATCH v3 09/16] dm: exynos: Move serial to driver model

2014-07-30 Thread Tom Rini
On Wed, Jul 30, 2014 at 03:49:46AM -0600, Simon Glass wrote: Change the Exynos serial driver to work with driver model and switch over all Exynos5 boards to use it. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Avoid reordering functions Yay. @@ -108,14 +91,11 @@

Re: [U-Boot] [PATCH v3 09/16] dm: exynos: Move serial to driver model

2014-07-30 Thread Simon Glass
Hi Tom, On 30 July 2014 16:38, Tom Rini tr...@ti.com wrote: On Wed, Jul 30, 2014 at 03:49:46AM -0600, Simon Glass wrote: Change the Exynos serial driver to work with driver model and switch over all Exynos5 boards to use it. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3:

Re: [U-Boot] [PATCH] tools/genboardscfg.py: Don't rely on subprocess.check_output

2014-07-30 Thread Simon Glass
Hi Tom, On 30 July 2014 15:24, Tom Rini tr...@ti.com wrote: The function subprocess.check_output() only exists in Python 2.7 and later (and there are long term supported distributions that ship with 2.6.x). Replace this with a call to subprocess.Popen() and then checking output via

Re: [U-Boot] Driver Model and DTS Parsing

2014-07-30 Thread Stephen Warren
On 07/30/2014 09:26 AM, Simon Glass wrote: Hi Stephen, On 12 June 2014 23:31, Stephen Warren swar...@wwwdotorg.org wrote: On 06/11/2014 10:55 PM, Simon Glass wrote: ... Tegra doesn't have much in the device tree for GPIOs - it seems to be all hard-coded in the software. So I ended up with the

Re: [U-Boot] clang sandbox warning

2014-07-30 Thread Simon Glass
Hi Jeroen, On 10 June 2014 19:38, Jeroen Hofstee jer...@myspectrum.nl wrote: Hello Simon, While trying to find a u-boot make command which likely works with a pre-build clang linux package I got the following warnings: `make CC=clang -no-integrated-as HOSTCC=clang -no-integrated-as

[U-Boot] [PATCH] rsa: Fix two errors in the implementation

2014-07-30 Thread Simon Glass
1. Failure to set the return code correctly 2. Failure to detect the loop end condition when the value is equal to the modulus. Reported-by: Jeroen Hofstee jer...@myspectrum.nl Signed-off-by: Simon Glass s...@chromium.org --- lib/rsa/rsa-sign.c | 1 + lib/rsa/rsa-verify.c | 4 ++-- 2 files

Re: [U-Boot] Driver Model and DTS Parsing

2014-07-30 Thread Simon Glass
Hi Stephen, On 30 July 2014 16:47, Stephen Warren swar...@wwwdotorg.org wrote: On 07/30/2014 09:26 AM, Simon Glass wrote: Hi Stephen, On 12 June 2014 23:31, Stephen Warren swar...@wwwdotorg.org wrote: On 06/11/2014 10:55 PM, Simon Glass wrote: ... Tegra doesn't have much in the device

Re: [U-Boot] [PATCH] tools/genboardscfg.py: Don't rely on subprocess.check_output

2014-07-30 Thread Tom Rini
On Wed, Jul 30, 2014 at 04:46:32PM +0100, Simon Glass wrote: Hi Tom, On 30 July 2014 15:24, Tom Rini tr...@ti.com wrote: The function subprocess.check_output() only exists in Python 2.7 and later (and there are long term supported distributions that ship with 2.6.x). Replace this with

Re: [U-Boot] [PATCH] tools/genboardscfg.py: Don't rely on subprocess.check_output

2014-07-30 Thread Masahiro YAMADA
Hi Tom, 2014-07-30 23:24 GMT+09:00 Tom Rini tr...@ti.com: The function subprocess.check_output() only exists in Python 2.7 and later (and there are long term supported distributions that ship with 2.6.x). Replace this with a call to subprocess.Popen() and then checking output via

Re: [U-Boot] [PATCH] tools/genboardscfg.py: Don't rely on subprocess.check_output

2014-07-30 Thread Tom Rini
On Thu, Jul 31, 2014 at 02:54:43AM +0900, Masahiro YAMADA wrote: Hi Tom, 2014-07-30 23:24 GMT+09:00 Tom Rini tr...@ti.com: The function subprocess.check_output() only exists in Python 2.7 and later (and there are long term supported distributions that ship with 2.6.x). Replace this

Re: [U-Boot] [PATCH] tools/genboardscfg.py: Don't rely on subprocess.check_output

2014-07-30 Thread Tom Rini
On Wed, Jul 30, 2014 at 02:04:50PM -0400, Tom Rini wrote: On Thu, Jul 31, 2014 at 02:54:43AM +0900, Masahiro YAMADA wrote: Hi Tom, 2014-07-30 23:24 GMT+09:00 Tom Rini tr...@ti.com: The function subprocess.check_output() only exists in Python 2.7 and later (and there are long

Re: [U-Boot] [PATCH] tools/genboardscfg.py: Don't rely on subprocess.check_output

2014-07-30 Thread Masahiro YAMADA
Tom, Arg. Do you want me to fold / rework things like that or do you want to post a v9 of just this patch, adapted as you've shown? Either is fine for me. But if you were about to apply v8 (it looks like you are doing the final test), could you rework things, please? No more updates from

Re: [U-Boot] [PATCH] tools/genboardscfg.py: Don't rely on subprocess.check_output

2014-07-30 Thread Masahiro YAMADA
Hi Tom, 2014-07-31 3:04 GMT+09:00 Tom Rini tr...@ti.com: Arg. Do you want me to fold / rework things like that or do you want to post a v9 of just this patch, adapted as you've shown? Either is fine for me. If you were about to apply v8 (I saw you are doing one last build check now),

Re: [U-Boot] [PATCH v8 01/13] kconfig: import Kconfig files from Linux 3.16-rc7

2014-07-30 Thread Tom Rini
On Wed, Jul 30, 2014 at 02:08:13PM +0900, Masahiro Yamada wrote: Import - scripts/kconfig/* - include/linux/kconfig.h from Linux 3.16-rc7. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Reviewed-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom

  1   2   >