Re: [U-Boot] [PATCH 0/4]: imx: mx6: use OTP for temperature grade and freq grade

2015-05-08 Thread Markus Niebel
Hello Tim, Am 07.05.2015 um 17:55 schrieb Tim Harvey: On Tue, Apr 28, 2015 at 10:31 AM, Tim Harvey thar...@gateworks.com wrote: On Tue, Apr 28, 2015 at 10:11 AM, Stefan Roese s...@denx.de wrote: Hi Tim, On 28.04.2015 17:44, Tim Harvey wrote: The MX6 has OTP bits specifying the processor

Re: [U-Boot] [PATCH v7 00/17] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

2015-05-08 Thread Jan Kiszka
On 2015-04-21 07:18, Jan Kiszka wrote: Changes in v7: - rebased over master - fixed issue that prevented secure boot with all cores = replace ap_pm_init with psci_board_init hook - enable CONFIG_ARMV7_BOOT_SEC_DEFAULT for tegra to avoid problems with default config of current Linux

Re: [U-Boot] [PATCH] arm, imx6, i2c: add I2C4 for MX6DL

2015-05-08 Thread Heiko Schocher
Hello Stefano, Am 08.05.2015 09:05, schrieb Stefano Babic: Hi Heiko, On 12/04/2015 10:14, Heiko Schocher wrote: add I2C4 modul for MX6DL based boards. Signed-off-by: Heiko Schocher h...@denx.de --- checkpatch shows: WARNING: line over 80 characters +#define MXC_CCM_CCGR1_I2C4_SERIAL_MASK

[U-Boot] Uboot ext4write command error

2015-05-08 Thread ve...@vestas.com
Hello, I've a regression test case for ext4write command which writes a 100MB file to a SD card ext4 partition continuously 1000 times. Initially this 100MB file is loaded from the same SD card's FAT partition with fatload command. When i run the test case, after 800 iterations, I've got the

Re: [U-Boot] [VOTING REQUIRED] Re: U-Boot mini summit

2015-05-08 Thread Wolfgang Denk
Hi everybody, last reminder: The poll for date and location of the next U-Boot summit will end on Sunday. Until then, you can vote at http://doodle.com/8mf8xhhbsugtirpa Current status: October 5-7, 2015 April 4-6, 2016 ELCEELC

Re: [U-Boot] [PATCH] arm, imx6, i2c: add I2C4 for MX6DL

2015-05-08 Thread Stefano Babic
Hi Heiko, On 12/04/2015 10:14, Heiko Schocher wrote: add I2C4 modul for MX6DL based boards. Signed-off-by: Heiko Schocher h...@denx.de --- checkpatch shows: WARNING: line over 80 characters +#define MXC_CCM_CCGR1_I2C4_SERIAL_MASK (3 MXC_CCM_CCGR1_I2C4_SERIAL_OFFSET)

[U-Boot] [PATCH v2 4/4] autoboot.c: Add feature to stop autobooting via SHA256 encrypted password

2015-05-08 Thread Stefan Roese
This patch adds the feature to only stop the autobooting, and therefor boot into the U-Boot prompt, when the input string / password matches a values that is encypted via a SHA256 hash and saved in the environment. This feature is enabled by defined these config options:

Re: [U-Boot] [PATCH v1 1/2] cmd_sf: Add command sf info to show current device info

2015-05-08 Thread haikun.w...@freescale.com
On 5/8/2015 1:53 PM, Jagan Teki wrote: On 8 May 2015 at 08:14, haikun.w...@freescale.com haikun.w...@freescale.com wrote: On 5/7/2015 7:44 PM, Jagan Teki wrote: On 6 May 2015 at 02:30, Simon Glass s...@chromium.org wrote: On 5 May 2015 at 05:37, haikun.w...@freescale.com

Re: [U-Boot] [PATCH v1 3/4] autoboot.c: Move config options to Kconfig

2015-05-08 Thread Stefan Roese
Hi Simon, On 08.05.2015 01:51, Simon Glass wrote: On 7 May 2015 at 06:13, Stefan Roese s...@denx.de wrote: This patch moves the following config options to Kconfig: CONFIG_AUTOBOOT_KEYED CONFIG_AUTOBOOT_PROMPT CONFIG_AUTOBOOT_DELAY_STR CONFIG_AUTOBOOT_STOP_STR AUTOBOOT_KEYED_CTRLC

Re: [U-Boot] [PATCH v1 3/4] autoboot.c: Move config options to Kconfig

2015-05-08 Thread Stefan Roese
Hi Masahiro, On 08.05.2015 05:30, Masahiro Yamada wrote: 2015-05-08 8:51 GMT+09:00 Simon Glass s...@chromium.org: Hi Stefan, On 7 May 2015 at 06:13, Stefan Roese s...@denx.de wrote: This patch moves the following config options to Kconfig: CONFIG_AUTOBOOT_KEYED CONFIG_AUTOBOOT_PROMPT

[U-Boot] [PATCH] ARM: BeagleBoard-x15: Rev A2x5: Change UART3 mux

2015-05-08 Thread Lokesh Vutla
UART3 RX and TX pins are now moved to support uart download capability on the platform. Old pins are now GPIOs routed to expansion ports. All original boards should either have been returned for modifications or already modified for the required change and maintaining compatibility for older

Re: [U-Boot] [PATCH V2] sf: Add support for flag status register on Micron chips

2015-05-08 Thread b48...@freescale.com
Hi Jagan, So much long time no feedback, could you please apply this patch? Thanks, Zhiqiang -Original Message- From: Hou Zhiqiang [mailto:b48...@freescale.com] Sent: Saturday, October 11, 2014 2:40 PM To: u-boot@lists.denx.de Cc: Sun York-R58495; Hu Mingkai-B21284; Hou

Re: [U-Boot] [PATCH] arm, imx6: add support for aristainetos2 board

2015-05-08 Thread Stefano Babic
Hi Heiko, On 12/04/2015 10:24, Heiko Schocher wrote: add support for imx6dl based aristainetos2 board U-Boot 2015.04-rc5-00066-g60f6ed4 (Apr 10 2015 - 08:46:27) CPU: Freescale i.MX6DL rev1.1 at 792 MHz Reset cause: WDOG Board: aristaitenos2 Watchdog enabled I2C: ready DRAM:

[U-Boot] [PATCH] arm: mx6: ddr3: Remove dead code

2015-05-08 Thread Nikolay Dimitrov
imx6 mmdc supports data rates up to 1066 MT/s, so remove the code handling higher data rates. Signed-off-by: Nikolay Dimitrov picmas...@mail.bg --- arch/arm/cpu/armv7/mx6/ddr.c | 22 -- 1 file changed, 22 deletions(-) diff --git a/arch/arm/cpu/armv7/mx6/ddr.c

[U-Boot] [PATCH v3 8/8] mtd: vf610_nfc: enable ONFI detection

2015-05-08 Thread Stefan Agner
This changes enable ONFI detection. The Read ID command now allows one address byte which is needed for ONFI detection. To read the ONFI parameter page, the NAND_CMD_PARAM need to be supported. The CMD code enables one command and one address byte along with reading data from flash using R/B#, as

[U-Boot] [PATCH v3 6/8] mtd: vf610_nfc: add Freescale NFC controller configs to Kconfig

2015-05-08 Thread Stefan Agner
This commit allows users to enable/disable the Freescale NFC controller found in systems like Vybrid (VF610), MPC5125, MCF54418 or Kinetis K70 via Kconfig with more detailed help docs. Signed-off-by: Stefan Agner ste...@agner.ch --- configs/colibri_vf_defconfig | 2 ++

[U-Boot] [PATCH v3 3/8] mtd: vf610_nfc: allow bitflips in an empty page

2015-05-08 Thread Stefan Agner
Allow bit flips in a empty page up to half of the recoverable bits (strength / 2). Signed-off-by: Stefan Agner ste...@agner.ch --- drivers/mtd/nand/vf610_nfc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/vf610_nfc.c b/drivers/mtd/nand/vf610_nfc.c index

[U-Boot] [PATCH v3 5/8] mtd: vf610_nfc: use in-band bad block table

2015-05-08 Thread Stefan Agner
Use in-band bad block table (NAND_BBT_NO_OOB) which allows to use the full OOB for hardare ECC purposes. Since there is no ECC correction on the OOB it is also safer to use in-band area to store the bad block table marker. Signed-off-by: Stefan Agner ste...@agner.ch ---

[U-Boot] [PATCH v3 1/8] mtd: vf610_nfc: remove caching of page in buffer

2015-05-08 Thread Stefan Agner
To improve performance we remember the current page in the buffer and avoid reading it twice. This implicit page cache increases complexity while does not increase performance in real world cases. This patch removes that feature. Acked-by: Bill Pringlemeir bpringlem...@nbsps.com Signed-off-by:

[U-Boot] [PATCH v3 7/8] mtd: vf610_nfc: add 32-error correction option for HW ECC

2015-05-08 Thread Stefan Agner
Add option to choose between current 24-error correction and 32-error correction through Kconfig. 32-error correction allow to use NAND chips which require up to 8-bit error correction per 512 byte (when using 2K pages). Signed-off-by: Stefan Agner ste...@agner.ch --- drivers/mtd/nand/Kconfig

[U-Boot] [PATCH v3 0/8] mtd: vf610_nfc: various fixes and improvements

2015-05-08 Thread Stefan Agner
This patchset contains various improvements and enhancements to the NAND flash controller found on Vybrid (vf610) and other Freescale platforms. It's a merge and follow up of two patchset sent earlier: - mtd: vf610_nfc: remove caching of page in page buffer

[U-Boot] [PATCH 02/12] dm: pmic: max77686: update driver code

2015-05-08 Thread Przemyslaw Marczak
This update includes: - add implementation of pmic_reg_count() method - pmic_bind_children() - update function call name - Kconfig: add new line at the end of file Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- drivers/power/pmic/Kconfig| 2 +- drivers/power/pmic/max77686.c |

[U-Boot] [PATCH 01/12] dm: pmic: code cleanup of PMIC uclass driver

2015-05-08 Thread Przemyslaw Marczak
The cleanup includes: - pmic.h - fix mistakes in a few comments - pmic operations: value 'reg_count' - redefine as function call - fix function name: pmic_bind_childs() - pmic_bind_children() - pmic_bind_children: increment child_info pointer if operation in loop fail Signed-off-by: Przemyslaw

[U-Boot] [PATCH 00/12] PMIC/REGULATOR cleanup and Sandbox tests

2015-05-08 Thread Przemyslaw Marczak
Hello! This patchset cleanups the POWER framework V4, which is applied into u-boot-dm/next tree. The main changes: - pmic/regulator uclasses cleanup - each commit message describes the changes in details. - added sandbox PMIC emulated device support, which consists of three drivers: pmic

[U-Boot] [PATCH 05/12] common: cmd pmic: command cleanup

2015-05-08 Thread Przemyslaw Marczak
This commit cleanups the use of function: failed(). The new function name is: failure(), and it is used for print errno and the errno-related message only. The second change is choosing PMIC device by it's name, instead of seq number. Thanks to this change, for set the current device, call of

[U-Boot] [PATCH v3 4/8] mtd: vf610_nfc: implement OOB only read

2015-05-08 Thread Stefan Agner
Implement read of OOB area only. When using column and sector size properties, only parts of the page can be read. However, this works only when hardware ECC is disabled, otherwise the ECC engine would ruin the data in the buffer. To allow OOB only reads, three points had to be addressed: - Set

[U-Boot] [PATCH v3 2/8] mtd: vf610_nfc: remove read on SEQIN

2015-05-08 Thread Stefan Agner
Since we do not support sub-page writes anyway, reading the page back to the controller on SEQIN command is not required. Remove the page read on SEQIN. However, the column/page values relevant to the SEQIN command, hence set the column/row address on SEQIN command. Signed-off-by: Stefan Agner

Re: [U-Boot] [PATCH 0/4]: imx: mx6: use OTP for temperature grade and freq grade

2015-05-08 Thread Nikolay Dimitrov
Hi Tim, On 05/08/2015 06:42 PM, Tim Harvey wrote: On Thu, May 7, 2015 at 11:57 PM, Markus Niebel list-09_u-b...@tqsc.de wrote: Hello Tim, snip IMX6Q automotive (1GHz capable) powering up at 800MHz: - before: CPU: Freescale i.MX6Q rev1.2 at 792 MHz - after Patch 1/4: CPU: Freescale

Re: [U-Boot] [PATCH v4 02/26] sandbox: Use defconfig to enable features

2015-05-08 Thread Simon Glass
On 7 May 2015 at 03:48, Joe Hershberger joe.hershber...@ni.com wrote: Stop using the sandbox arch Kconfig to override defaults for config options. This is a bit of abuse and may be causing build problems. Signed-off-by: Joe Hershberger joe.hershber...@ni.com --- Changes in v4: -New for

Re: [U-Boot] [PATCH v2 1/6] pci: Move pci_hose_phys_to_bus() to pci_common.c

2015-05-08 Thread Simon Glass
On 7 May 2015 at 07:34, Bin Meng bmeng...@gmail.com wrote: pci_hose_phys_to_bus() is needed by several drivers. Move it to pci_common.c to avoid a broken build when CONFIG_DM_PCI is on. Signed-off-by: Bin Meng bmeng...@gmail.com --- Changes in v2: - Drop the patch to wrap CONFIG_E1000

Re: [U-Boot] [PATCH 1/2] pxe: Fix crash if 'sysboot' is run without args

2015-05-08 Thread Simon Glass
On 7 May 2015 at 12:29, Tuomas Tynkkynen tuomas.tynkky...@iki.fi wrote: Previously, a NULL pointer dereference would occur if the 'sysboot' command is executed without any arguments. Signed-off-by: Tuomas Tynkkynen tuomas.tynkky...@iki.fi --- common/cmd_pxe.c | 2 +- 1 file changed, 1

Re: [U-Boot] [PATCH 4/4] ARM: bcm283x: Switch to generic timer

2015-05-08 Thread Stephen Warren
On 05/06/2015 12:13 PM, Marek Vasut wrote: On Wednesday, May 06, 2015 at 05:52:37 PM, Stephen Warren wrote: [...] So, if now is close to 0x7fff (which it can), then if endtime is big-ish, diff will become negative and this udelay() will not perform the correct delay, right ? I don't

Re: [U-Boot] [PATCH 4/4] ARM: bcm283x: Switch to generic timer

2015-05-08 Thread Stephen Warren
On 05/06/2015 01:51 PM, Tyler Baker wrote: On 6 May 2015 at 11:13, Marek Vasut ma...@denx.de wrote: On Wednesday, May 06, 2015 at 05:52:37 PM, Stephen Warren wrote: [...] So, if now is close to 0x7fff (which it can), then if endtime is big-ish, diff will become negative and this udelay()

Re: [U-Boot] [PATCH 4/4] ARM: bcm283x: Switch to generic timer

2015-05-08 Thread Marek Vasut
On Friday, May 08, 2015 at 06:06:41 PM, Stephen Warren wrote: [...] * Obtain lease * Transfer kernel, dtb, ramdisk without stalling/timing out * Do this 10 times in a row with a power cycle in between Hope this help clarify the situation in some way, OK, but if you apply Marek's

[U-Boot] [PATCH 09/12] sandbox: add: sandbox PMIC device drivers: I2C emul, pmic, regulator

2015-05-08 Thread Przemyslaw Marczak
This commit adds emulation of sandbox PMIC device, which includes: - PMIC I2C emulation driver - PMIC I/O driver (UCLASS_PMIC) - PMIC regulator driver (UCLASS_REGULATOR) The sandbox PMIC has 12 significant registers and 4 as padding to 16 bytes, which allows using 'i2c md' command with the

Re: [U-Boot] [PATCH 4/4] ARM: bcm283x: Switch to generic timer

2015-05-08 Thread Stephen Warren
On 05/08/2015 10:31 AM, Marek Vasut wrote: On Friday, May 08, 2015 at 06:03:34 PM, Stephen Warren wrote: On 05/06/2015 12:13 PM, Marek Vasut wrote: On Wednesday, May 06, 2015 at 05:52:37 PM, Stephen Warren wrote: [...] So, if now is close to 0x7fff (which it can), then if endtime is

Re: [U-Boot] [PATCH v2 8/8] mtd: vf610_nfc: enable ONFI detection

2015-05-08 Thread Stefan Agner
On 2015-04-21 01:17, Scott Wood wrote: On Wed, 2015-04-08 at 16:44 +0200, Stefan Agner wrote: +case ALT_BUF_ONFI: +/* Reverse byte since the controller uses big endianness */ +c = nfc-column % 4; +c = nfc-column - c + (3 - c); These two lines can be

Re: [U-Boot] [PATCH 4/4] ARM: bcm283x: Switch to generic timer

2015-05-08 Thread Marek Vasut
On Friday, May 08, 2015 at 06:03:34 PM, Stephen Warren wrote: On 05/06/2015 12:13 PM, Marek Vasut wrote: On Wednesday, May 06, 2015 at 05:52:37 PM, Stephen Warren wrote: [...] So, if now is close to 0x7fff (which it can), then if endtime is big-ish, diff will become negative and

Re: [U-Boot] [PATCH v7 00/17] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

2015-05-08 Thread Tom Warren
Sorry, Jan. Too many unmaskable interrupts lately ;). I'll take a look today - if it applies OK to u-boot-tegra/master and builds OK, I'll try to get a PR out to Tom/Albert first thing next week. Tom -Original Message- From: Jan Kiszka [mailto:jan.kis...@siemens.com] Sent:

Re: [U-Boot] [PATCH 0/4]: imx: mx6: use OTP for temperature grade and freq grade

2015-05-08 Thread Tim Harvey
On Thu, May 7, 2015 at 11:57 PM, Markus Niebel list-09_u-b...@tqsc.de wrote: Hello Tim, snip IMX6Q automotive (1GHz capable) powering up at 800MHz: - before: CPU: Freescale i.MX6Q rev1.2 at 792 MHz - after Patch 1/4: CPU: Freescale i.MX6Q rev1.2 996 MHz (at 792 MHz) - after Patch 3/4

[U-Boot] [PATCH 07/12] doc: driver-model: pmic-framework.txt - cleanup

2015-05-08 Thread Przemyslaw Marczak
This commit cleanups the PMIC framework documentation. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- doc/driver-model/pmic-framework.txt | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/doc/driver-model/pmic-framework.txt

[U-Boot] [PATCH 06/12] common: cmd regulator: command cleanup

2015-05-08 Thread Przemyslaw Marczak
This commit cleanups the regulator command. The first change, is adjusting regulator dev command to use regulator-name constraint, for setting the operating device. Thanks to this, the regulator_get() function is removed. This also updates do_list() function, with loop over uclass_find_* function

[U-Boot] [PATCH 04/12] odroid u3: cleanup the regulator calls

2015-05-08 Thread Przemyslaw Marczak
Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- board/samsung/odroid/odroid.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/board/samsung/odroid/odroid.c b/board/samsung/odroid/odroid.c index 29de325..32155f1 100644 --- a/board/samsung/odroid/odroid.c

[U-Boot] [PATCH 03/12] dm: regulator: uclass driver code cleanup

2015-05-08 Thread Przemyslaw Marczak
This cleanup includes: - remove of the preprocessor macros which pointed to long name functions - update of the names of some regulator uclass driver functions - cleanup of the function regulator_autoset() - reword of some comments of regulator uclass header file - regulator_get_by_platname: check

[U-Boot] [PATCH 08/12] sandbox: i2c: search child emul dev and check its uclass id

2015-05-08 Thread Przemyslaw Marczak
The function get_emul() in sandbox i2c bus driver, always returns first child as i2c emul device. This may only work for i2c devices with a single child, which is an only i2c emul device. In case when i2c device has more than one child (e.g. PMIC), and one is i2c emul, then the function should

[U-Boot] [PATCH 12/12] test: dm: add sandbox PMIC framework tests

2015-05-08 Thread Przemyslaw Marczak
This change adds new file to sandbox driver model test environment. The file is: test/dm/power.c, and it includes tests for PMIC framework, which includes PMIC uclass and REGULATOR uclass. All tests are based od Sandbox PMIC emulated device. Some test constants for this device are defined in the

[U-Boot] [PATCH 11/12] sandbox: defconfig: enable support of sandbox PMIC drivers

2015-05-08 Thread Przemyslaw Marczak
This commit enables: - emulated i2c PMIC driver - sandbox PMIC I/O driver - sandbox PMIC's regulator driver Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- configs/sandbox_defconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/configs/sandbox_defconfig

[U-Boot] [PATCH 10/12] test: dm: dts: add sandbox pmic i2c node

2015-05-08 Thread Przemyslaw Marczak
This commit adds sandbox PMIC subnode to sandbox i2c bus 0. The PMIC's node includes: - 2x BUCK - 2x LDO Each regulator node include proper constraints: - min, max micro Volts - min, max micro Amps (only first of each type) - always on (BUCK1) - boot on (LDO1) Signed-off-by: Przemyslaw Marczak

[U-Boot] [PATCH] vexpress64: specify CONFIG_SYS_FLASH_CFI_WIDTH

2015-05-08 Thread Ryan Harkin
Testing on the ARM Versatile Express Juno board showed intermittent CFI flash detection problems. Debug output in exception cases showed that the NOR flash was returning incorrect values to a query command: fwc addr 0800 cmd f0 f0f0f0f0 32bit x 8 bit fwc addr 0800 cmd ff

Re: [U-Boot] [PATCH v2 4/6] x86: Set CONFIG_NR_DRAM_BANKS to 8 and move it to x86-common.h

2015-05-08 Thread Simon Glass
On 7 May 2015 at 07:34, Bin Meng bmeng...@gmail.com wrote: Some x86 boards set CONFIG_NR_DRAM_BANKS to 1, which causes incorrect DRAM size printed when booting from coreboot, like this: CPU: x86, vendor Intel, device 663h DRAM: 636 KiB Using default environment

Re: [U-Boot] [PATCH 0/4]: imx: mx6: use OTP for temperature grade and freq grade

2015-05-08 Thread Tim Harvey
On Fri, May 8, 2015 at 10:35 AM, Nikolay Dimitrov picmas...@mail.bg wrote: Hi Tim, On 05/08/2015 06:42 PM, Tim Harvey wrote: snip Your right - There is no indication in the IMX6SDLRM that OTP indicates either temperature grade 'or' speed grade, however my testing looks like they implement

Re: [U-Boot] [PATCH 4/4] ARM: bcm283x: Switch to generic timer

2015-05-08 Thread Marek Vasut
On Friday, May 08, 2015 at 06:40:22 PM, Stephen Warren wrote: On 05/08/2015 10:31 AM, Marek Vasut wrote: On Friday, May 08, 2015 at 06:03:34 PM, Stephen Warren wrote: On 05/06/2015 12:13 PM, Marek Vasut wrote: On Wednesday, May 06, 2015 at 05:52:37 PM, Stephen Warren wrote: [...] So,

Re: [U-Boot] Fwd: Recommended SH toolchain

2015-05-08 Thread Joe Hershberger
Changing to Tom's new email address... On Fri, May 8, 2015 at 3:22 PM, Joe Hershberger joe.hershber...@gmail.com wrote: Hi Tom, Nobuhiro, On Mon, Sep 15, 2014 at 8:51 AM, Tom Rini tr...@ti.com wrote: On Tue, Sep 02, 2014 at 02:49:36PM +0300, Vasili Galka wrote: Hi Tom, On Thu, Aug 21, 2014

Re: [U-Boot] About generic board

2015-05-08 Thread Simon Glass
+Mailing list On 8 May 2015 at 00:56, ub...@andestech.com wrote: Dear Simon Glass, This is Rick. Hi Rick, I am U-Boot architecture and board maintainer of ndsd32. I have read your README.generic-board and trying to deprecat arch/nds32/lib/board.c in favour of common/board_f.c and

Re: [U-Boot] [PATCH 3/4] x86: Move FRAMEBUFFER_SET_VESA_MODE etc to video Kconfig

2015-05-08 Thread Simon Glass
On 6 May 2015 at 03:34, Bin Meng bmeng...@gmail.com wrote: CONFIG_FRAMEBUFFER_SET_VESA_MODE and CONFIG_FRAMEBUFFER_VESA_MODE are not x86-specific, so move them to drivers/video/Kconfig and make them depend on VIDEO_VESA driver. Some cosmetic fixes are applied to the Kconfig help text as well.

Re: [U-Boot] Fwd: Recommended SH toolchain

2015-05-08 Thread Tom Rini
On Fri, May 08, 2015 at 03:24:47PM -0500, Joe Hershberger wrote: Changing to Tom's new email address... On Fri, May 8, 2015 at 3:22 PM, Joe Hershberger joe.hershber...@gmail.com wrote: Hi Tom, Nobuhiro, On Mon, Sep 15, 2014 at 8:51 AM, Tom Rini tr...@ti.com wrote: On Tue, Sep 02, 2014

Re: [U-Boot] [PATCH v2 1/6] pci: Move pci_hose_phys_to_bus() to pci_common.c

2015-05-08 Thread Simon Glass
On 8 May 2015 at 11:36, Simon Glass s...@chromium.org wrote: On 7 May 2015 at 07:34, Bin Meng bmeng...@gmail.com wrote: pci_hose_phys_to_bus() is needed by several drivers. Move it to pci_common.c to avoid a broken build when CONFIG_DM_PCI is on. Signed-off-by: Bin Meng

Re: [U-Boot] [PATCH v2 2/6] x86: Support QEMU x86 targets

2015-05-08 Thread Simon Glass
On 7 May 2015 at 07:34, Bin Meng bmeng...@gmail.com wrote: This commit introduces the initial U-Boot support for QEMU x86 targets. U-Boot can boot from coreboot as a payload, or directly without coreboot. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org

Re: [U-Boot] [PATCH 1/4] video: cfb_console: Remove the unnecessary CONFIG_VGA_AS_SINGLE_DEVICE wraps

2015-05-08 Thread Simon Glass
Hi Bin, On 6 May 2015 at 03:34, Bin Meng bmeng...@gmail.com wrote: There are two places in the cfb_console driver that test whether CONFIG_VGA_AS_SINGLE_DEVICE is defined or not, but actually it is unnecessary, hence clean it up. Signed-off-by: Bin Meng bmeng...@gmail.com ---

Re: [U-Boot] [PATCH v2 3/6] x86: Make QEMU the default vendor

2015-05-08 Thread Simon Glass
On 7 May 2015 at 07:34, Bin Meng bmeng...@gmail.com wrote: Now that we have QEMU support, make it the default vendor in the 'make menuconfig' screen. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org Tested-by: Simon Glass s...@chromium.org --- Changes in

Re: [U-Boot] [PATCH v2 4/6] x86: Set CONFIG_NR_DRAM_BANKS to 8 and move it to x86-common.h

2015-05-08 Thread Simon Glass
On 8 May 2015 at 11:36, Simon Glass s...@chromium.org wrote: On 7 May 2015 at 07:34, Bin Meng bmeng...@gmail.com wrote: Some x86 boards set CONFIG_NR_DRAM_BANKS to 1, which causes incorrect DRAM size printed when booting from coreboot, like this: CPU: x86, vendor Intel, device 663h

Re: [U-Boot] [PATCH 4/4] x86: qemu: Add graphics support

2015-05-08 Thread Simon Glass
Hi Bin, On 6 May 2015 at 03:34, Bin Meng bmeng...@gmail.com wrote: It turns out that QEMU x86 emulated graphic card has an built-in option ROM which can be run perfectly under native mode by U-Boot. Signed-off-by: Bin Meng bmeng...@gmail.com --- arch/x86/cpu/qemu/pci.c| 24

Re: [U-Boot] [PATCH v2 5/6] x86: Change coreboot default build configuration to QEMU

2015-05-08 Thread Simon Glass
On 7 May 2015 at 07:34, Bin Meng bmeng...@gmail.com wrote: QEMU is much easier for us test booting U-Boot as a coreboot payload than having a real board like chromebook_link. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org Tested-by: Simon Glass

Re: [U-Boot] [PATCH v2 6/6] x86: Update README.x86 for QEMU support

2015-05-08 Thread Simon Glass
On 7 May 2015 at 07:34, Bin Meng bmeng...@gmail.com wrote: Document how to build and test U-Boot with QEMU. Signed-off-by: Bin Meng bmeng...@gmail.com Acked-by: Simon Glass s...@chromium.org --- Changes in v2: None doc/README.x86 | 65

Re: [U-Boot] [RFC PATCH v1 0/1] Include timezone information in build

2015-05-08 Thread Tom Rini
On Thu, Apr 30, 2015 at 12:38:22PM +1200, Chris Packham wrote: Hi, Recently an eagle-eyed tester pointed out to me that the build time reported in my u-boot build did not match the file timestamp on the server it was stored on. This is because at $dayjob we have a build farm with times

[U-Boot] [PATCH] nand: mxs_nand_spl: support use of env in SPL

2015-05-08 Thread Tim Harvey
in order to use env in the SPL (CONFIG_SPL_ENV_SUPPORT) nand_info, mtd_block_isbad, and mtd_read must be available. Signed-off-by: Tim Harvey thar...@gateworks.com --- drivers/mtd/nand/mxs_nand_spl.c | 112 ++-- 1 file changed, 61 insertions(+), 51

Re: [U-Boot] [PATCH] x86: Remove DECLARE_GLOBAL_DATA_PTR in board files

2015-05-08 Thread Simon Glass
On 30 April 2015 at 12:08, Simon Glass s...@chromium.org wrote: On 30 April 2015 at 05:05, Bin Meng bmeng...@gmail.com wrote: gd is not referenced in those board files so DECLARE_GLOBAL_DATA_PTR should be removed. Signed-off-by: Bin Meng bmeng...@gmail.com ---

Re: [U-Boot] [PATCH 2/4] video: Kconfig: Make VESA driver avaiable for non-x86 boards

2015-05-08 Thread Simon Glass
On 6 May 2015 at 03:34, Bin Meng bmeng...@gmail.com wrote: There is no reason to prevent CONFIG_VIDEO_VESA driver working on non-x86 boards, so remove such limitation. Signed-off-by: Bin Meng bmeng...@gmail.com --- drivers/video/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git

[U-Boot] [PATCH 06/19] imx: ventana: enable DM_SERIAL

2015-05-08 Thread Tim Harvey
mxc_serial supports DM so lets use it. Signed-off-by: Tim Harvey thar...@gateworks.com --- board/gateworks/gw_ventana/gw_ventana.c | 9 + include/configs/gw_ventana.h| 1 + 2 files changed, 10 insertions(+) diff --git a/board/gateworks/gw_ventana/gw_ventana.c

[U-Boot] [PATCH 07/19] imx: ventana: config: enable Thermal support

2015-05-08 Thread Tim Harvey
Signed-off-by: Tim Harvey thar...@gateworks.com --- include/configs/gw_ventana.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h index ea1848a..63af20c 100644 --- a/include/configs/gw_ventana.h +++ b/include/configs/gw_ventana.h

Re: [U-Boot] [PATCH 08/19] imx: ventana: config: use MMC SPL RAW support

2015-05-08 Thread Fabio Estevam
Hi Tim, On Fri, May 8, 2015 at 10:28 PM, Tim Harvey thar...@gateworks.com wrote: Switch to MMC RAW support for SPL. We will place the uboot.img at 69KB. Signed-off-by: Tim Harvey thar...@gateworks.com --- include/configs/gw_ventana.h | 6 ++ 1 file changed, 2 insertions(+), 4

[U-Boot] [PATCH] env_mmc: add error message to pass to set_default_env

2015-05-08 Thread Tim Harvey
Add an error message that gets passed to set_default_env() like env_nand implements. This message is displayed to the user as the reason for falling back to the default environment. Signed-off-by: Tim Harvey thar...@gateworks.com --- common/env_mmc.c | 40

[U-Boot] [PATCH] env_mmc: avoid stack allocation for env

2015-05-08 Thread Tim Harvey
Allocating space for temporary env on the stack makes env_relocate_spec() unsuitable for SPL environments which have very little stack. Signed-off-by: Tim Harvey thar...@gateworks.com --- common/env_mmc.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git

[U-Boot] [PATCH] pci: display header for bus scan

2015-05-08 Thread Tim Harvey
If we are displaying detected PCI devices (CONFIG_PCI_SCAN_SHOW) display a 'PCI:' header prior to scan. Signed-off-by: Tim Harvey thar...@gateworks.com --- drivers/pci/pci.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index e1296ca..7f53eb0

Re: [U-Boot] [PATCH] env_mmc: avoid stack allocation for env

2015-05-08 Thread Marek Vasut
On Friday, May 08, 2015 at 11:51:36 PM, Tim Harvey wrote: Allocating space for temporary env on the stack makes env_relocate_spec() unsuitable for SPL environments which have very little stack. Well yeah, but what if you don't have malloc area ? I'd expect that the be the case in SPL quite

[U-Boot] [PATCH] pci: imx: display message if no pcie link

2015-05-08 Thread Tim Harvey
If CONFIG_PCI_SCAN_SHOW enabled then lets print a message of no link was detected. Signed-off-by: Tim Harvey thar...@gateworks.com --- drivers/pci/pcie_imx.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/pci/pcie_imx.c b/drivers/pci/pcie_imx.c index

Re: [U-Boot] [PATCH] env_mmc: avoid stack allocation for env

2015-05-08 Thread Tom Rini
On Sat, May 09, 2015 at 12:15:37AM +0200, Marek Vasut wrote: On Friday, May 08, 2015 at 11:51:36 PM, Tim Harvey wrote: Allocating space for temporary env on the stack makes env_relocate_spec() unsuitable for SPL environments which have very little stack. Well yeah, but what if you don't

Re: [U-Boot] [PATCH] arm, imx6: add support for aristainetos2 board

2015-05-08 Thread Heiko Schocher
Hello Stefano, added Anatolij to cc for the rotate logo question ... Am 08.05.2015 13:19, schrieb Stefano Babic: Hi Heiko, On 12/04/2015 10:24, Heiko Schocher wrote: add support for imx6dl based aristainetos2 board U-Boot 2015.04-rc5-00066-g60f6ed4 (Apr 10 2015 - 08:46:27) CPU: Freescale

Re: [U-Boot] [PATCH 4/4] x86: qemu: Add graphics support

2015-05-08 Thread Bin Meng
Hi Simon, On Sat, May 9, 2015 at 4:43 AM, Simon Glass s...@chromium.org wrote: Hi Bin, On 6 May 2015 at 03:34, Bin Meng bmeng...@gmail.com wrote: It turns out that QEMU x86 emulated graphic card has an built-in option ROM which can be run perfectly under native mode by U-Boot.

Re: [U-Boot] [PATCH 1/4] video: cfb_console: Remove the unnecessary CONFIG_VGA_AS_SINGLE_DEVICE wraps

2015-05-08 Thread Bin Meng
Hi Simon, On Sat, May 9, 2015 at 5:44 AM, Simon Glass s...@chromium.org wrote: Hi Bin, On 6 May 2015 at 03:34, Bin Meng bmeng...@gmail.com wrote: There are two places in the cfb_console driver that test whether CONFIG_VGA_AS_SINGLE_DEVICE is defined or not, but actually it is unnecessary,

[U-Boot] [PATCH 02/19] imx: ventana: display SPL boot device

2015-05-08 Thread Tim Harvey
Display what device the SPL will fetch uboot.img from Signed-off-by: Tim Harvey thar...@gateworks.com --- board/gateworks/gw_ventana/gw_ventana_spl.c | 22 ++ include/configs/gw_ventana.h| 1 + 2 files changed, 23 insertions(+) diff --git

[U-Boot] [PATCH 01/19] imx: ventana: set dtype env var to boot media

2015-05-08 Thread Tim Harvey
Bootscripts for some distro's such as Android can benefit from knowing what boot media its script was loaded from. Signed-off-by: Tim Harvey thar...@gateworks.com --- include/configs/gw_ventana.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH 05/19] imx: ventana: register gpio's with gpio_request

2015-05-08 Thread Tim Harvey
Prior to using a gpio a call to gpio_request() should be called to register it with the gpio subsystem. Signed-off-by: Tim Harvey thar...@gateworks.com --- board/gateworks/gw_ventana/gw_ventana.c | 77 - 1 file changed, 57 insertions(+), 20 deletions(-) diff

[U-Boot] [PATCH 00/19] imx: ventana: misc updates

2015-05-08 Thread Tim Harvey
This collection of patches comprises a set of various updates I've been on for Ventana. In summary: - enable driver model - enable gpio command - enable dm-serial - enable thermal support - fixup for GW522x PCI enumeration - split out common code shared between SPL an U-Boot - pull down

[U-Boot] [PATCH 03/19] imx: ventana: config: enable gpio command

2015-05-08 Thread Tim Harvey
Signed-off-by: Tim Harvey thar...@gateworks.com --- include/configs/gw_ventana.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h index dfe818e..db0cf51 100644 --- a/include/configs/gw_ventana.h +++ b/include/configs/gw_ventana.h @@

[U-Boot] [PATCH 04/19] imx: ventana: config: enable driver model

2015-05-08 Thread Tim Harvey
Enable U-Boot Driver Model (DM). Signed-off-by: Tim Harvey thar...@gateworks.com --- include/configs/gw_ventana.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h index db0cf51..20bc4dc 100644 ---

[U-Boot] [PATCH 10/19] imx: ventana: fix pcie reset for GW522x

2015-05-08 Thread Tim Harvey
The re-assignment of pcie_rst gpio for GW522x needs to occur earlier, before the PCI subsystem calls the toggle funciton. Signed-off-by: Tim Harvey thar...@gateworks.com --- board/gateworks/gw_ventana/gw_ventana.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH 09/19] imx: ventana: (cosmetic) clean up size defines for improved readability

2015-05-08 Thread Tim Harvey
Use the SZ_1M and SZ_1K macros from linuz/sizes.h for improved readability Signed-off-by: Tim Harvey thar...@gateworks.com --- include/configs/gw_ventana.h | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/include/configs/gw_ventana.h

[U-Boot] [PATCH 11/19] imx: ventana: default msata/pci mux to pci before PCI enumeration

2015-05-08 Thread Tim Harvey
PCI enumeration occurs early, before we fully configure our GPIO's. Make sure we steer the MSATA/PCI mux to PCI in board_init to ensure PCI is selected before enumeration. Signed-off-by: Tim Harvey thar...@gateworks.com --- board/gateworks/gw_ventana/gw_ventana.c | 7 --- 1 file changed, 4

[U-Boot] [PATCH 13/19] imx: ventana: move GSC boot watchdog disable function to gsc.c

2015-05-08 Thread Tim Harvey
Move the code that disables the GSC boot watchdog into gsc.c Signed-off-by: Tim Harvey thar...@gateworks.com --- board/gateworks/gw_ventana/gsc.c| 27 +++ board/gateworks/gw_ventana/gsc.h| 1 + board/gateworks/gw_ventana/gw_ventana.c | 24

[U-Boot] [PATCH 12/19] imx: ventana: split out common functions between SPL and uboot

2015-05-08 Thread Tim Harvey
Move shared functions used by both SPL and U-Boot to common.c: - setup_iomux_uart() and uart pad config - gpio pad config In the process also moved the following to common.c in preparation for calling it from the SPL: - split i2c setup into a shared function - move pmic init to setup_pmic()

[U-Boot] [PATCH 08/19] imx: ventana: config: use MMC SPL RAW support

2015-05-08 Thread Tim Harvey
Switch to MMC RAW support for SPL. We will place the uboot.img at 69KB. Signed-off-by: Tim Harvey thar...@gateworks.com --- include/configs/gw_ventana.h | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h index

[U-Boot] [PATCH 14/19] imx: ventana: detect pmic using i2c probe instead of board model

2015-05-08 Thread Tim Harvey
Avoid requiring board-model and probe pmic by its i2c address. This is in preparation for being able to call pmic_setup() from SPL and not need board type. Signed-off-by: Tim Harvey thar...@gateworks.com --- board/gateworks/gw_ventana/common.c | 10 +++---

[U-Boot] [PATCH 19/19] imx: ventana: config: enable Falcon mode

2015-05-08 Thread Tim Harvey
Falcon mode entails the SPL booting the OS directly instead of U-Boot. Signed-off-by: Tim Harvey thar...@gateworks.com --- board/gateworks/gw_ventana/gw_ventana_spl.c | 20 include/configs/gw_ventana.h| 16 2 files changed, 36 insertions(+)

[U-Boot] [PATCH 17/19] imx: ventana: add pmic_setup to SPL

2015-05-08 Thread Tim Harvey
We need to do any PMIC setup in the SPL if we are to bypass U-Boot for falcon mode. Signed-off-by: Tim Harvey thar...@gateworks.com --- board/gateworks/gw_ventana/gw_ventana_spl.c | 3 +++ include/configs/gw_ventana.h| 1 + 2 files changed, 4 insertions(+) diff --git

[U-Boot] [PATCH 16/19] imx: ventana: add gpio setup to SPL

2015-05-08 Thread Tim Harvey
If the SPL is to be used for Falcon mode then we need to make sure it configures basic GPIO (iomux, padconf, and default output levels). Signed-off-by: Tim Harvey thar...@gateworks.com --- board/gateworks/gw_ventana/gw_ventana_spl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[U-Boot] [PATCH 18/19] imx: ventana: add GSC boot watchdog disable to SPL

2015-05-08 Thread Tim Harvey
If the SPL is to be used for Falcon mode then we need to make sure the SPL disable the GSC boot watchdog. Signed-off-by: Tim Harvey thar...@gateworks.com --- board/gateworks/gw_ventana/gw_ventana_spl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[U-Boot] [PATCH 15/19] imx: ventana: use common uart and i2c setup functions in SPL

2015-05-08 Thread Tim Harvey
Now that uart and i2c setup functions have been moved to common.c we can use these and remove code duplication. Signed-off-by: Tim Harvey thar...@gateworks.com --- board/gateworks/gw_ventana/gw_ventana_spl.c | 52 +++-- 1 file changed, 5 insertions(+), 47 deletions(-)

Re: [U-Boot] Fwd: Recommended SH toolchain

2015-05-08 Thread Joe Hershberger
Hi Tom, Nobuhiro, On Mon, Sep 15, 2014 at 8:51 AM, Tom Rini tr...@ti.com wrote: On Tue, Sep 02, 2014 at 02:49:36PM +0300, Vasili Galka wrote: Hi Tom, On Thu, Aug 21, 2014 at 2:07 PM, Vasili Galka vvv...@gmail.com wrote: Hi Nobuhiro, I'm trying to verify the correct build of all SH