Re: [U-Boot] A question about unconfigured pads check in omap24xx_i2c

2013-11-07 Thread Heiko Schocher
Hello Lubomir, Am 07.11.2013 08:57, schrieb Lubomir Popov: Hi Heiko, On 07-Nov-13 7:14, Heiko Schocher wrote: Hello Lubomir, Am 06.11.2013 14:19, schrieb Lubomir Popov: On 06-Nov-13 14:12, Nikita Kiryanov wrote: In drivers/i2c/omap24xx_i2c.c there are a few checks that attempt to detect

Re: [U-Boot] [PATCH 0/4] udoo: Improve stability of DDR3 setting

2013-11-07 Thread Stefano Babic
Hi Giuseppe, On 06/11/2013 21:30, Giuseppe Pagano wrote: Move udoo configuration files to board/udoo/ folder. Align clock configuration and DDR3 calibration to Seco suggested value to increase system stability. There are some basic issues with your patchset. First, patches are corrupted by

Re: [U-Boot] A question about unconfigured pads check in omap24xx_i2c

2013-11-07 Thread Lubomir Popov
Heiko, On 07-Nov-13 10:04, Heiko Schocher wrote: Hello Lubomir, Am 07.11.2013 08:57, schrieb Lubomir Popov: Hi Heiko, On 07-Nov-13 7:14, Heiko Schocher wrote: Hello Lubomir, Am 06.11.2013 14:19, schrieb Lubomir Popov: On 06-Nov-13 14:12, Nikita Kiryanov wrote: In

Re: [U-Boot] livetime of boards

2013-11-07 Thread Heiko Schocher
Hello Wolfgang, Tom, Am 06.11.2013 08:50, schrieb Wolfgang Denk: Dear Tom, In message20131105203736.GM5925@bill-the-cat you wrote: We have the real problem, that we have a lot of old boards, which are unmaintained in U-Boot, and we have no chance to find out, if this boards are longer

Re: [U-Boot] [PATCH 4/4] udoo: fix watchdog setting

2013-11-07 Thread Stefano Babic
Hi Giuseppe, On 06/11/2013 21:44, Giuseppe Pagano wrote: To have watchdog quiet during kernel boot it is necessary to change gpio wdt trigger direction. Sorry, this is not a good explanation. You force a GPIO to drop a feture, instead of disabling the feature itself. And maybe some other

Re: [U-Boot] [PATCH 09/14] ARM: AM43xx: mux: Update mux data

2013-11-07 Thread Lokesh Vutla
On Wednesday 06 November 2013 10:11 PM, Vaibhav Bedia wrote: On Wed, Nov 6, 2013 at 8:32 AM, Lokesh Vutla lokeshvu...@ti.com wrote: On Wednesday 06 November 2013 06:13 PM, Vaibhav Bedia wrote: On Mon, Nov 4, 2013 at 11:20 PM, Lokesh Vutla lokeshvu...@ti.com wrote: Updating the mux data for

Re: [U-Boot] [PATCH 3/4] udoo: Adjust default boot envirnment

2013-11-07 Thread Stefano Babic
Hi Giuseppe, On 06/11/2013 21:44, Giuseppe Pagano wrote: Change u-boot default environment for uDoo board to: - mount /dev/mmcblk0p1 partition - activate hdmi monitor by default (instead of nothing) Signed-off-by: Giuseppe Pagano giuseppe.pag...@seco.com Cc: sba...@denx.de ---

Re: [U-Boot] [PATCH 1/4] udoo: Add Ethernet support.

2013-11-07 Thread Stefano Babic
Hi Giuseppe, On 06/11/2013 21:33, Giuseppe Pagano wrote: Add Ethernet and networking support on uDoo board (FEC + phy Micrel) Signed-off-by: Giuseppe Pagano giuseppe.pag...@seco.com Cc: sba...@denx.de --- diff -uNr a/board/udoo/udoo.c b/board/udoo/udoo.c --- a/board/udoo/udoo.c +++

Re: [U-Boot] [PATCH 2/4] udoo: Add SATA disk support.

2013-11-07 Thread Stefano Babic
Hi Giuseppe, On 06/11/2013 21:37, Giuseppe Pagano wrote: Add Sata support on uDoo Board. Signed-off-by: Giuseppe Pagano giuseppe.pag...@seco.com Cc: sba...@denx.de --- diff -uNr a/board/udoo/udoo.c b/board/udoo/udoo.c --- a/board/udoo/udoo.c 2013-11-06 18:45:22.0 +0100

Re: [U-Boot] [PATCH v8 0/5] mtd: nand: omap: optimize and clean-up of OMAP NAND driver

2013-11-07 Thread matti kaasinen
Hi Pekon, Thank you for your answers. Please find my answers/comments to your questions below. 2013/11/6 Gupta, Pekon pe...@ti.com Hi Matti and Matthias Sorry I was away from my mailbox so couldn't reply you earlier. I'm still away from my setup and other boards, so cannot replicate the

Re: [U-Boot] [RFC][PATCH 0/5] SATA support for OMAP5 uevm

2013-11-07 Thread Enric Balletbo Serra
Hi Roger, Thanks for the patches! 2013/11/6 Roger Quadros rog...@ti.com: Hi, This series adds SATA support for OMAP5 uevm board. This is an RFC patchset for review only. Patches are based on v2013.10. cheers, -roger --- Roger Quadros (5): ahci: Error out with message on malloc()

Re: [U-Boot] ARM: interrupt_init before relocation, write fails

2013-11-07 Thread Albert ARIBAUD
Hi Joe, On Wed, 6 Nov 2013 09:18:53 -0700, Joe Kulikauskas jkulikaus...@cardinalpeak.com wrote: Hi, Rob, yes that's correct. To Albert's question: the disassembled instruction I had showed LDR R3,ff0a0fc0 is load of r3 with address of the variable holding the stack address; this

Re: [U-Boot] [PATCH v4 0/8] Provide a mechanism to avoid using #ifdef everywhere

2013-11-07 Thread Albert ARIBAUD
Hi Wolfgang, On Wed, 06 Nov 2013 08:24:44 +0100, Wolfgang Denk w...@denx.de wrote: Dear Simon Glass, In message 1382800457-26608-1-git-send-email-...@chromium.org you wrote: Many parts of the U-Boot code base are sprinkled with #ifdefs. This makes different boards compile different

[U-Boot] test

2013-11-07 Thread Igor Grinberg
test -- Regards, Igor. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] livetime of boards

2013-11-07 Thread Andreas Bießmann
Hello all together, On 11/07/2013 09:17 AM, Heiko Schocher wrote: Am 06.11.2013 08:50, schrieb Wolfgang Denk: In message20131105203736.GM5925@bill-the-cat you wrote: snip problem description Full ACK, we need some way to track which board is working with the current ToT or at least on a

Re: [U-Boot] [PATCH v8 0/5] mtd: nand: omap: optimize and clean-up of OMAP NAND driver

2013-11-07 Thread matti kaasinen
Pekon, Please find the nand dumps from oob area below. UBIFS volume created and edited in Linux. Linux: OOB Data: ff ff ff ff ff ff ff ff ff ff ff ff 5c 87 73 23 OOB Data: ae 36 a6 16 fc 81 dd 8e f0 ff ff ff ff ff ff ff OOB Data: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff OOB Data:

Re: [U-Boot] Pull request: u-boot-imx

2013-11-07 Thread Albert ARIBAUD
Hi Stefano, On Tue, 05 Nov 2013 15:23:19 +0100, Stefano Babic sba...@denx.de wrote: Hi Albert, please pull from u-boot-imx, thanks ! The following changes since commit 262f08d6ea18a62f827b8ccb60f355ca2eaf6e2b: zynq: Use arch_cpu_init() instead of lowlevel_init() (2013-10-17 08:34:45

Re: [U-Boot] Pull request - arm/zynq

2013-11-07 Thread Albert ARIBAUD
Hi Michal, On Wed, 06 Nov 2013 09:28:16 +0100, Michal Simek mon...@monstr.eu wrote: Hi Albert, please pull these two patches to your arm next branch. It depends on zynq: Use arch_cpu_init() instead of lowlevel_init() (sha1: 262f08d6ea18a62f827b8ccb60f355ca2eaf6e2b) patch which you have in

Re: [U-Boot] livetime of boards

2013-11-07 Thread Heiko Schocher
Hello Andreas, Am 07.11.2013 10:37, schrieb Andreas Bießmann: Hello all together, On 11/07/2013 09:17 AM, Heiko Schocher wrote: Am 06.11.2013 08:50, schrieb Wolfgang Denk: In message20131105203736.GM5925@bill-the-cat you wrote: snip problem description Full ACK, we need some way to

Re: [U-Boot] [PATCH 0/4] udoo: Improve stability of DDR3 setting

2013-11-07 Thread Giuseppe Pagano
Hi Stefano, On Thu, 2013-11-07 at 09:12 +0100, Stefano Babic wrote: Hi Giuseppe, On 06/11/2013 21:30, Giuseppe Pagano wrote: Move udoo configuration files to board/udoo/ folder. Align clock configuration and DDR3 calibration to Seco suggested value to increase system stability. There

Re: [U-Boot] [RFC][PATCH 0/5] SATA support for OMAP5 uevm

2013-11-07 Thread Roger Quadros
+Aneesh. Hi Enric, On 11/07/2013 10:52 AM, Enric Balletbo Serra wrote: Hi Roger, Thanks for the patches! 2013/11/6 Roger Quadros rog...@ti.com: Hi, This series adds SATA support for OMAP5 uevm board. This is an RFC patchset for review only. Patches are based on v2013.10. cheers,

Re: [U-Boot] [PATCH 0/4] udoo: Improve stability of DDR3 setting

2013-11-07 Thread Stefano Babic
Hi Giuseppe, On 07/11/2013 11:41, Giuseppe Pagano wrote: Sorry, I used vim and imported patch as a file in evolution, I understood too late that I also need to change Format from normal to preformatted. In the future I will use git send-email. Ok Please take a look at the rules to

Re: [U-Boot] livetime of boards

2013-11-07 Thread Albert ARIBAUD
Hi Heiko, On Thu, 07 Nov 2013 11:39:08 +0100, Heiko Schocher h...@denx.de wrote: Right, boards.cfg gets unhandy ... Hmm .. what with the column Staus ... instead of Active it would be more informative to have there the livetime counter, and a single digit saves some characters ;-) I'm

Re: [U-Boot] livetime of boards

2013-11-07 Thread Andreas Bießmann
Hello Heiko, On 11/07/2013 11:39 AM, Heiko Schocher wrote: Am 07.11.2013 10:37, schrieb Andreas Bießmann: On 11/07/2013 09:17 AM, Heiko Schocher wrote: Am 06.11.2013 08:50, schrieb Wolfgang Denk: In message20131105203736.GM5925@bill-the-cat you wrote: snip But you are right, that

Re: [U-Boot] livetime of boards

2013-11-07 Thread Heiko Schocher
Hello Albert, Am 07.11.2013 12:13, schrieb Albert ARIBAUD: Hi Heiko, On Thu, 07 Nov 2013 11:39:08 +0100, Heiko Schocherh...@denx.de wrote: Right, boards.cfg gets unhandy ... Hmm .. what with the column Staus ... instead of Active it would be more informative to have there the livetime

Re: [U-Boot] livetime of boards

2013-11-07 Thread Heiko Schocher
Hello Andreas, Am 07.11.2013 12:24, schrieb Andreas Bießmann: Hello Heiko, On 11/07/2013 11:39 AM, Heiko Schocher wrote: Am 07.11.2013 10:37, schrieb Andreas Bießmann: On 11/07/2013 09:17 AM, Heiko Schocher wrote: Am 06.11.2013 08:50, schrieb Wolfgang Denk: In

Re: [U-Boot] Pull request - arm/zynq

2013-11-07 Thread Michal Simek
Hi Albert, On 11/07/2013 10:50 AM, Albert ARIBAUD wrote: Hi Michal, On Wed, 06 Nov 2013 09:28:16 +0100, Michal Simek mon...@monstr.eu wrote: Hi Albert, please pull these two patches to your arm next branch. It depends on zynq: Use arch_cpu_init() instead of lowlevel_init() (sha1:

Re: [U-Boot] [PATCH 4/4] udoo: fix watchdog setting

2013-11-07 Thread Giuseppe Pagano
Hi Stefano, On Thu, 2013-11-07 at 09:19 +0100, Stefano Babic wrote: Hi Giuseppe, On 06/11/2013 21:44, Giuseppe Pagano wrote: To have watchdog quiet during kernel boot it is necessary to change gpio wdt trigger direction. Sorry, this is not a good explanation. You force a GPIO to

Re: [U-Boot] [PATCH 3/4] udoo: Adjust default boot envirnment

2013-11-07 Thread Giuseppe Pagano
Hi Stefano, On Thu, 2013-11-07 at 09:33 +0100, Stefano Babic wrote: Hi Giuseppe, On 06/11/2013 21:44, Giuseppe Pagano wrote: Change u-boot default environment for uDoo board to: - mount /dev/mmcblk0p1 partition - activate hdmi monitor by default (instead of nothing)

Re: [U-Boot] livetime of boards

2013-11-07 Thread Wolfgang Denk
Dear Andreas Bießmann, In message 527b7883.1080...@gmail.com you wrote: The saved information how often a board was runtime tested with the correct SHA1 of the u-boot/master could be quite useful. In the end just the last tested commit will be interesting but it could give some information

Re: [U-Boot] livetime of boards

2013-11-07 Thread Wolfgang Denk
Dear Heiko Schocher, In message 527b7cb0.6040...@denx.de you wrote: Note also that one goal of boards.cfg is to not have multiple files around that have to remain consistent. Yep, exactly. Thats why I think we could collect this in boards.cfg. No, we really want to have a database here,

Re: [U-Boot] livetime of boards

2013-11-07 Thread Wolfgang Denk
Dear Heiko, In message 527b7ee6.4030...@denx.de you wrote: Hmm... I hope we get a lot of such EMails ... and think, this is not a big problem ... Or, maybe, if we get a lot of such EMails, maybe we open a u-boot-testing list? NAK. Mailing lists are good for some kind of information -

Re: [U-Boot] livetime of boards

2013-11-07 Thread Andreas Bießmann
Dear Wolfgang Denk, On 11/07/2013 01:01 PM, Wolfgang Denk wrote: In message 527b7883.1080...@gmail.com you wrote: The saved information how often a board was runtime tested with the correct SHA1 of the u-boot/master could be quite useful. In the end just the last tested commit will be

Re: [U-Boot] livetime of boards

2013-11-07 Thread Heiko Schocher
Hello Wolfgang, Am 07.11.2013 13:06, schrieb Wolfgang Denk: Dear Heiko Schocher, In message527b7cb0.6040...@denx.de you wrote: Note also that one goal of boards.cfg is to not have multiple files around that have to remain consistent. Yep, exactly. Thats why I think we could collect this

Re: [U-Boot] [PATCH 2/5] ARM: OMAP5: Add Pipe3 PHY driver

2013-11-07 Thread Roger Quadros
On 11/06/2013 11:48 PM, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/06/2013 09:47 AM, Roger Quadros wrote: Pipe3 PHY is used by SATA, USB3 and PCIe modules. This is a driver for the Pipe3 PHY. Signed-off-by: Roger Quadros rog...@ti.com [snip] +#define perror(fmt,

Re: [U-Boot] [PATCH 4/5] ARM: OMAP5: Add SATA platform glue

2013-11-07 Thread Roger Quadros
On 11/07/2013 12:11 AM, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/06/2013 09:47 AM, Roger Quadros wrote: Add platform glue logic for the SATA controller. Signed-off-by: Roger Quadros rog...@ti.com [snip] diff --git a/arch/arm/cpu/armv7/omap-common/Makefile

Re: [U-Boot] [PATCH 1/4] udoo: Add Ethernet support.

2013-11-07 Thread Giuseppe Pagano
Hi Stefano, On Thu, 2013-11-07 at 09:38 +0100, Stefano Babic wrote: Hi Giuseppe, On 06/11/2013 21:33, Giuseppe Pagano wrote: Add Ethernet and networking support on uDoo board (FEC + phy Micrel) Signed-off-by: Giuseppe Pagano giuseppe.pag...@seco.com Cc: sba...@denx.de +int

[U-Boot] [PATCH] hash.c: Correct non-hash subcommand crc32 addr-save support

2013-11-07 Thread Tom Rini
In the case of not having CONFIG_CMD_HASH but having CONFIG_CMD_CRC32 enabled (and not CONFIG_CRC32_VERIFY), we end up in this part of the code path on hash_command(). However, we will only have exactly 3 args here, and 3 3 is false, and we will not try and store the hash at the address given as

Re: [U-Boot] [PATCH 2/4] udoo: Add SATA disk support.

2013-11-07 Thread Giuseppe Pagano
On Thu, 2013-11-07 at 09:40 +0100, Stefano Babic wrote: Hi Giuseppe, On 06/11/2013 21:37, Giuseppe Pagano wrote: Add Sata support on uDoo Board. Signed-off-by: Giuseppe Pagano giuseppe.pag...@seco.com Cc: sba...@denx.de --- +#ifdef CONFIG_CMD_SATA +int setup_sata(void)

Re: [U-Boot] [PATCH v8 0/5] mtd: nand: omap: optimize and clean-up of OMAP NAND driver

2013-11-07 Thread matti kaasinen
Hi Pekon, It seems after patching without BCH16 patches that at least OMAP_ECC_BCH8_CODE_HW can't be compatible with Linux 3.8.13 mode. U-Boot drivers/mtd/nand/omap_gpmc.c:omap_select_ecc_scheme states that nand-ecc.bytes = 14 whereas in OMAP_ECC_BCH8_CODE_HW_DETECTION_SW mode setting seems to

Re: [U-Boot] livetime of boards

2013-11-07 Thread Heiko Schocher
Hello Wolfgang, Am 07.11.2013 13:01, schrieb Wolfgang Denk: Dear Andreas Bießmann, In message527b7883.1080...@gmail.com you wrote: [...] maintainer could then see if he needs to pull out a board or if one else run the test before. I fully agree - everybody should be able to provide

Re: [U-Boot] livetime of boards

2013-11-07 Thread Heiko Schocher
Hello Wolfgang, Am 07.11.2013 13:12, schrieb Wolfgang Denk: Dear Heiko, In message527b7ee6.4030...@denx.de you wrote: Hmm... I hope we get a lot of such EMails ... and think, this is not a big problem ... Or, maybe, if we get a lot of such EMails, maybe we open a u-boot-testing list? NAK.

[U-Boot] [PATCH v1] arm: keep all sections in ELF file

2013-11-07 Thread Albert ARIBAUD
Current LDS files /DISCARD/ a lot of sections when linking ELF files, causing diagnostic tools such as readelf or objdump to produce partial output. Keep all section at link stage, filter only at objcopy time so that .bin remains minimal. Signed-off-by: Albert ARIBAUD albert.u.b...@aribaud.net

Re: [U-Boot] [PATCH 1/2] ARM: bcm2835: add missing mbox overscan response field

2013-11-07 Thread Albert ARIBAUD
Hi Andre, On Wed, 23 Oct 2013 21:46:31 +0200, Andre Heider a.hei...@gmail.com wrote: On Wed, Oct 23, 2013 at 05:54:13PM +0100, Stephen Warren wrote: On 10/22/2013 09:27 PM, Andre Heider wrote: Add the missing right field to struct bcm2835_mbox_tag_overscan. This one patch, Acked-by:

Re: [U-Boot] livetime of boards

2013-11-07 Thread Tom Rini
On Thu, Nov 07, 2013 at 10:37:24AM +0100, Andreas Bie?mann wrote: Hello all together, On 11/07/2013 09:17 AM, Heiko Schocher wrote: Am 06.11.2013 08:50, schrieb Wolfgang Denk: [snip] So when you're once again doing some change that requires touching files for some othe rboards, you could

Re: [U-Boot] [PATCH 07/14] ARM: AM43xx: Select clk source for Timer2

2013-11-07 Thread Lokesh Vutla
Hi Vaibhav, On Wednesday 06 November 2013 06:10 PM, Vaibhav Bedia wrote: On Mon, Nov 4, 2013 at 11:20 PM, Lokesh Vutla lokeshvu...@ti.com wrote: Selecting the Master osc clk as Timer2 clock source. I obviously missed the first round of patches for AM43xx here. Why is timer2 being used here?

[U-Boot] [PATCH] designware_i2c: remove 10msec delay in i2c_xfer_finish

2013-11-07 Thread Alexey Brodkin
This delay applies to any data transfer on I2C bus. For example 1kB data read with per-byte access (which happens if environment is stored in I2C EEPROM) takes more than 10 seconds. Moreover data bus driver has to care about bus state and data transfer, but not about internal states of attached

[U-Boot] [PATCH] cmd_eeprom: fix i2c_{read|write} usage if env is in I2C EEPROM

2013-11-07 Thread Alexey Brodkin
Data offset is not used directly in case of I2C EEPROM. Istead it is split into block number and offset within mentioned block. Which are addr[0] and addr[1] respectively. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com cc: Peter

[U-Boot] [PATCH] designware_i2c: disable i2c controller during target address setup

2013-11-07 Thread Alexey Brodkin
As it is stated in DesignWare I2C databook: writes to IC_TAR (0x4) register succeed only when IC_ENABLE[0] is set to 0. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Tom Rini tr...@ti.com cc: Armando Visconti armando.visco...@st.com Cc: Stefan Roese s...@denx.de Cc: Albert ARIBAUD

[U-Boot] [PATCH v2 1/2] arm: make _end compiler-generated

2013-11-07 Thread Albert ARIBAUD
This prevents references to _end from generating absolute relocation records. Signed-off-by: Albert ARIBAUD albert.u.b...@aribaud.net --- Changes in v2: None arch/arm/cpu/arm1136/u-boot-spl.lds| 6 +- arch/arm/cpu/arm920t/ep93xx/u-boot.lds | 5 -

[U-Boot] [PATCH v2 2/2] arm: remove unneeded symbol offsets and _TEXT_BASE

2013-11-07 Thread Albert ARIBAUD
Remove the last uses of symbol offsets in ARM U-Boot. Remove some needless uses of _TEXT_BASE. Remove all _TEXT_BASE definitions. Signed-off-by: Albert ARIBAUD albert.u.b...@aribaud.net --- Changes in v2: - fixed use of _rel_dyn_end instead of _end README |

Re: [U-Boot] livetime of boards

2013-11-07 Thread Andreas Bießmann
Dear Tom Rini, On 11/07/2013 02:31 PM, Tom Rini wrote: On Thu, Nov 07, 2013 at 10:37:24AM +0100, Andreas Bie?mann wrote: Hello all together, On 11/07/2013 09:17 AM, Heiko Schocher wrote: Am 06.11.2013 08:50, schrieb Wolfgang Denk: [snip] So when you're once again doing some change that

[U-Boot] [PATCH 0/2] OMAP5/DRA7: EMIF fixes for lowpower usecases

2013-11-07 Thread Sricharan R
1) Currently the DDR3 memory on DRA7 ES1.0 evm board is enabled using software leveling. This was done since hardware leveling was not working. Now that the right sequence to do hw leveling is identified, use it. This is required for EMIF clockdomain to idle and come back during

[U-Boot] [PATCH 2/2] ARM: DRA7/OMAP5: EMIF: Add workaround for bug 0039

2013-11-07 Thread Sricharan R
When core power domain hits oswr, then DDR3 memories does not come back while resuming. This is because when EMIF registers are lost, then the controller takes care of copying the values from the shadow registers. If the shadow registers are not updated with the right values, then this results in

[U-Boot] [PATCH 1/2] ARM: DRA: EMIF: Change DDR3 settings to use hw leveling

2013-11-07 Thread Sricharan R
Currently the DDR3 memory on DRA7 ES1.0 evm board is enabled using software leveling. This was done since hardware leveling was not working. Now that the right sequence to do hw leveling is identified, use it. This is required for EMIF clockdomain to idle and come back during lowpower usecases.

Re: [U-Boot] [PATCH 1/4] udoo: Add Ethernet support.

2013-11-07 Thread Stefano Babic
Hi Giuseppe, On 07/11/2013 13:37, Giuseppe Pagano wrote: +int mx6_rgmii_rework(struct phy_device *phydev) +{ + /* To advertise only 10 Mbs */ + phy_write(phydev, MDIO_DEVAD_NONE, 0x4, 0x61); + phy_write(phydev, MDIO_DEVAD_NONE, 0x9, 0x0c00); + Why only 10 Mb/s ? I think the Micrel

Re: [U-Boot] [PATCH 1/4] udoo: Add Ethernet support.

2013-11-07 Thread Stefano Babic
Hi Giuseppe, On 07/11/2013 13:37, Giuseppe Pagano wrote: +int mx6_rgmii_rework(struct phy_device *phydev) +{ + /* To advertise only 10 Mbs */ + phy_write(phydev, MDIO_DEVAD_NONE, 0x4, 0x61); + phy_write(phydev, MDIO_DEVAD_NONE, 0x9, 0x0c00); + Why only 10 Mb/s ? I think the Micrel

[U-Boot] [PATCH V3 1/2] driver:usb:s3c_udc: add support for Exynos4x12

2013-11-07 Thread Piotr Wilczek
This patch add new defines for usb phy for Exynos4x12. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com --- Chnages for v3: - removed unnecessary empty line Changes for v2: - no changes

[U-Boot] [PATCH V3 2/2] trats2: enable ums support on Trats2

2013-11-07 Thread Piotr Wilczek
This patch adds support for USB and enables 'ums' command on Trats2 board. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com Acked-by: Jaehoon Chung jh80.ch...@samsung.com --- This patch depends on the

Re: [U-Boot] [PATCH 1/2] ARM: DRA: EMIF: Change DDR3 settings to use hw leveling

2013-11-07 Thread Tom Rini
On Thu, Nov 07, 2013 at 08:17:39PM +0530, Sricharan R wrote: Currently the DDR3 memory on DRA7 ES1.0 evm board is enabled using software leveling. This was done since hardware leveling was not working. Now that the right sequence to do hw leveling is identified, use it. This is required for

Re: [U-Boot] [PATCH 1/4] udoo: Add Ethernet support.

2013-11-07 Thread Joe Hershberger
On Thu, Nov 7, 2013 at 8:58 AM, Stefano Babic sba...@denx.de wrote: Hi Giuseppe, On 07/11/2013 13:37, Giuseppe Pagano wrote: +int mx6_rgmii_rework(struct phy_device *phydev) +{ + /* To advertise only 10 Mbs */ + phy_write(phydev, MDIO_DEVAD_NONE, 0x4, 0x61); + phy_write(phydev,

[U-Boot] [PATCH v6 0/17] Driver model implementation, tests, demo and GPIO

2013-11-07 Thread Simon Glass
Note: If you are reviewing this code, but don't have a lot of time, please consider starting with the 'demo' driver (patch 'dm: Add a demonstration/example driver') since it clearly shows how devices and uclasses work. Much of this series consists of test code and plumbing, so is of less interest

[U-Boot] [PATCH v6 09/17] sandbox: config: Enable driver model

2013-11-07 Thread Simon Glass
Use driver model in sandbox to permit running of driver model unit test. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None include/configs/sandbox.h | 1 + 1 file changed, 1 insertion(+) diff

[U-Boot] [PATCH v6 15/17] sandbox: Convert GPIOs to use driver model

2013-11-07 Thread Simon Glass
Convert sandbox over to use driver model GPIOs. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v6: - Rename platform_data to platdata - Use ofdata_to_platdata feature Changes in v5: None Changes in v4: None Changes in v3: - Update sandbox GPIO header file comments Changes in v2:

[U-Boot] [PATCH v6 05/17] sandbox: Build a device tree file for sandbox

2013-11-07 Thread Simon Glass
Add support for building a device tree for sandbox's CONFIG_OF_HOSTFILE option to make it easier to use device tree with sandbox. This adjusts the Makefile to build a u-boot.dtb file which can be passed to sandbox U-Boot with: ./u-boot -d u-boot.dtb Signed-off-by: Simon Glass

[U-Boot] [PATCH v6 06/17] Add cmd_process_error() to report and process errors

2013-11-07 Thread Simon Glass
U-Boot now uses errors defined in include/errno.h which are negative integers. Commands which fail need to report the error and return 1 to indicate failure. Add this functionality in cmd_process_error(). For now this merely reports the error number. It would be possible also to produce a helpful

[U-Boot] [PATCH v6 13/17] dm: Add a demonstration/example driver

2013-11-07 Thread Simon Glass
As an example of how to write a uclass and a driver, provide a demo version of each, accessible through the 'demo' command. To use these with driver model, define CONFIG_CMD_DEMO and CONFIG_DM_DEMO. The two demo drivers are enabled with CONFIG_DM_DEMO_SIMPLE and CONFIG_DM_DEMO_SHAPE.

[U-Boot] [PATCH v6 03/17] sandbox: Correct data sizes and printf() strings in fdtdec.c

2013-11-07 Thread Simon Glass
There are a few warnings in this file when building for sandbox. Addresses coming from the device tree need to be treated as ulong as elsewhere in U-Boot and we must use map_sysmem() to convert to a pointer when needed. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v6: None Changes

[U-Boot] [PATCH v6 10/17] dm: Set up driver model after relocation

2013-11-07 Thread Simon Glass
Make driver model available after relocation, by setting up data structures and scanning for devices using compiled-in platform_data and (when available) the device tree. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v6: - Rename platform_data to platdata Changes in v5: None

[U-Boot] [PATCH v6 16/17] dm: Enable gpio command to support driver model

2013-11-07 Thread Simon Glass
Now that named GPIO banks are supported, along with a way of obtaining the status of a GPIO (input or output), we can provide an enhanced GPIO command for driver model. Where the driver provides its own operation for obtaining the GPIO state, this is used, otherwise a generic version is

[U-Boot] [PATCH v6 02/17] sandbox: Make map_to_sysmem() use a constant pointer

2013-11-07 Thread Simon Glass
Very often a constant pointer is passed to this function, so we should declare this, since map_to_sysmem() does not change the pointer. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v6 01/17] sandbox: Add timer_read_counter() to avoid link error

2013-11-07 Thread Simon Glass
The recent timer refactor caused sandbox to fail to build with an error. lib/libgeneric.o: In function `get_ticks': /home/sjg/c/src/third_party/u-boot/files/lib/time.c:45: undefined reference to `timer_read_counter' Add a definition for timer_read_counter() to avoid this. Signed-off-by: Simon

[U-Boot] [PATCH v6 12/17] dm: Add a 'dm' command for testing

2013-11-07 Thread Simon Glass
This command is not required for driver model operation, but can be useful for testing. It provides simple dumps of internal data structures. Signed-off-by: Simon Glass s...@chromium.org Signed-off-by: Marek Vasut ma...@denx.de Signed-off-by: Pavel Herrmann morpheus.i...@gmail.com Signed-off-by:

[U-Boot] [PATCH v6 14/17] dm: Add GPIO support and tests

2013-11-07 Thread Simon Glass
Add driver model support for GPIOs. Since existing GPIO drivers do not use driver model, this feature must be enabled by CONFIG_DM_GPIO. After all GPO drivers are converted over we can perhaps remove this config. Tests are provided for the sandbox implementation, and are a sufficient sanity check

[U-Boot] [PATCH v6 11/17] dm: Add basic tests

2013-11-07 Thread Simon Glass
Add some tests of driver model functionality. Coverage includes: - basic init - binding of drivers to devices using platform_data - automatic probing of devices when referenced - availability of platform data to devices - lifecycle from bind to probe to remove to unbind - renumbering within a

[U-Boot] [PATCH v6 07/17] dm: Add README for driver model

2013-11-07 Thread Simon Glass
This adds a README to help with understanding of this series. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v6: - Rename platform_data to platdata - Revise and update README Changes in v5: None Changes in v4: None Changes in v3: - Updated README.txt to cover changes since version 2

[U-Boot] [PATCH v6 04/17] sandbox: config: Don't use 64-bit physical memory

2013-11-07 Thread Simon Glass
Sandbox uses an emulated memory map which is quite small. We don't need the CONFIG_PHYS_64BIT option since we can address memory with a 32-bit offset into our ram_buf. Adjust the phys_addr_t and phys_size_t types accordingly. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v6: None

[U-Boot] [PATCH] am33xx: Stop modifying certain EMIF4D registers

2013-11-07 Thread Tom Rini
Based on the definitive guide to EMIF configuration[1] certain registers that we have been modifying (and are documented registers) should be left in their reset values rather than modified. This has been tested on AM335x GP EVM and Beaglebone White. [1]:

Re: [U-Boot] [PATCH] designware_i2c: disable i2c controller during target address setup

2013-11-07 Thread Albert ARIBAUD
Hi Alexey, On Thu, 7 Nov 2013 17:52:18 +0400, Alexey Brodkin alexey.brod...@synopsys.com wrote: As it is stated in DesignWare I2C databook: writes to IC_TAR (0x4) register succeed only when IC_ENABLE[0] is set to 0. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Tom Rini

Re: [U-Boot] livetime of boards

2013-11-07 Thread Wolfgang Denk
Dear Heiko, In message 527b8ba7.2070...@denx.de you wrote: Agreed too. I doubt if a mailing list makes sense to collect such data. It would probably be more efficient to provide a web based service for this. It just has to be easy to submit reports, and to query the status for boards.

Re: [U-Boot] livetime of boards

2013-11-07 Thread Wolfgang Denk
Dear Heiko Schocher, In message 527b8c7f.6060...@denx.de you wrote: All you want to do here is feed a database with data. This is not what mailing lists were made for, so we should really use a more appropriate interface. Ok. But this status report can be in readable text format ;-)

Re: [U-Boot] livetime of boards

2013-11-07 Thread Wolfgang Denk
Dear Tom, In message 20131107133159.GR5925@bill-the-cat you wrote: I feel this is the hard part of the problem, and what we're glossing over. What has to be tested by the board maintainer? What are we going to leave to their discretion? Will am335x_evm not count if I don't dig up the NOR

Re: [U-Boot] livetime of boards

2013-11-07 Thread Tom Rini
On Thu, Nov 07, 2013 at 08:26:57PM +0100, Wolfgang Denk wrote: Dear Tom, In message 20131107133159.GR5925@bill-the-cat you wrote: I feel this is the hard part of the problem, and what we're glossing over. What has to be tested by the board maintainer? What are we going to leave to

Re: [U-Boot] [PATCH 05/14] ARM: AM43XX: board: add support for reading onboard EEPROM

2013-11-07 Thread Vaibhav Bedia
Hi Tom, On Wed, Nov 6, 2013 at 4:37 PM, Tom Rini tr...@ti.com wrote: + + if (header-magic != 0xEE3355AA) { Why is the header the same as AM335x? Shouldn't it be something like 0xEE3344AA or whatever? No, the header is still same. It is 0xEE3355AA. My question was why ;) What's the

Re: [U-Boot] livetime of boards

2013-11-07 Thread Wolfgang Denk
Dear Tom, In message 20131107205133.GT5925@bill-the-cat you wrote: What we need to be careful of here is making sure whatever we grow is both useful and not overly complicated. What I honestly wonder about is automated testing for commands (crc32 pops to mind only because I just fixed

Re: [U-Boot] [PATCH 05/14] ARM: AM43XX: board: add support for reading onboard EEPROM

2013-11-07 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/07/2013 03:56 PM, Vaibhav Bedia wrote: Hi Tom, On Wed, Nov 6, 2013 at 4:37 PM, Tom Rini tr...@ti.com wrote: + + if (header-magic != 0xEE3355AA) { Why is the header the same as AM335x? Shouldn't it be something like 0xEE3344AA or

Re: [U-Boot] [PATCH 07/14] ARM: AM43xx: Select clk source for Timer2

2013-11-07 Thread Vaibhav Bedia
Hi Lokesh, On Thu, Nov 7, 2013 at 8:43 AM, Lokesh Vutla lokeshvu...@ti.com wrote: Hi Vaibhav, On Wednesday 06 November 2013 06:10 PM, Vaibhav Bedia wrote: On Mon, Nov 4, 2013 at 11:20 PM, Lokesh Vutla lokeshvu...@ti.com wrote: Selecting the Master osc clk as Timer2 clock source. I obviously

Re: [U-Boot] [PATCH] am33xx: Stop modifying certain EMIF4D registers

2013-11-07 Thread Vaibhav Bedia
Hi Tom, On Thu, Nov 7, 2013 at 11:42 AM, Tom Rini tr...@ti.com wrote: Based on the definitive guide to EMIF configuration[1] certain registers that we have been modifying (and are documented registers) should be left in their reset values rather than modified. This has been tested on AM335x

Re: [U-Boot] [PATCH 05/14] ARM: AM43XX: board: add support for reading onboard EEPROM

2013-11-07 Thread Vaibhav Bedia
On Thu, Nov 7, 2013 at 4:06 PM, Tom Rini tr...@ti.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/07/2013 03:56 PM, Vaibhav Bedia wrote: Hi Tom, On Wed, Nov 6, 2013 at 4:37 PM, Tom Rini tr...@ti.com wrote: + + if (header-magic != 0xEE3355AA) { Why is the header the

Re: [U-Boot] [PATCH] am33xx: Stop modifying certain EMIF4D registers

2013-11-07 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/07/2013 04:12 PM, Vaibhav Bedia wrote: Hi Tom, On Thu, Nov 7, 2013 at 11:42 AM, Tom Rini tr...@ti.com wrote: Based on the definitive guide to EMIF configuration[1] certain registers that we have been modifying (and are documented

Re: [U-Boot] [PATCH] am33xx: Stop modifying certain EMIF4D registers

2013-11-07 Thread Matt Porter
On Thu, Nov 07, 2013 at 04:16:40PM -0500, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/07/2013 04:12 PM, Vaibhav Bedia wrote: Hi Tom, On Thu, Nov 7, 2013 at 11:42 AM, Tom Rini tr...@ti.com wrote: Based on the definitive guide to EMIF configuration[1] certain

Re: [U-Boot] [PATCH 1/2] ARM: bcm2835: add missing mbox overscan response field

2013-11-07 Thread Stephen Warren
On 11/07/2013 06:29 AM, Albert ARIBAUD wrote: Hi Andre, On Wed, 23 Oct 2013 21:46:31 +0200, Andre Heider a.hei...@gmail.com wrote: On Wed, Oct 23, 2013 at 05:54:13PM +0100, Stephen Warren wrote: On 10/22/2013 09:27 PM, Andre Heider wrote: Add the missing right field to struct

Re: [U-Boot] [RESEND PATCH v14 07/10] arm64: core support

2013-11-07 Thread York Sun
On 10/14/2013 08:34 PM, feng...@phytium.com.cn wrote: From: David Feng feng...@phytium.com.cn Relocation code based on a patch by Scott Wood, which is: Signed-off-by: Scott Wood scottw...@freescale.com Signed-off-by: David Feng feng...@phytium.com.cn --- arch/arm/config.mk

[U-Boot] [PATCH 0/3] gpio_led driver updates

2013-11-07 Thread Igor Grinberg
This simple series enhances the gpio_led driver a bit by some documentation, checking the return value of gpio_request() call, and finally adding support for inverted polarity GPIOs. Igor Grinberg (3): README: document the CONFIG_GPIO_LED symbol gpio_led: check gpio_request() return value

[U-Boot] [PATCH 1/3] README: document the CONFIG_GPIO_LED symbol

2013-11-07 Thread Igor Grinberg
The CONFIG_GPIO_LED symbol does not have any documentation in the README file. Document the CONFIG_GPIO_LED symbol. Signed-off-by: Igor Grinberg grinb...@compulab.co.il --- README | 8 1 file changed, 8 insertions(+) diff --git a/README b/README index 09662a4..55c71fa 100644 ---

[U-Boot] [PATCH 3/3] gpio_led: add support for inverted polarity

2013-11-07 Thread Igor Grinberg
Some GPIO connected LEDs have inverted polarity. Introduce new config option: CONFIG_GPIO_LED_INVERTED_TABLE for the specifying the inverted GPIO LEDs list and add support for this in the gpio_led driver. Signed-off-by: Igor Grinberg grinb...@compulab.co.il --- README | 7

Re: [U-Boot] [PATCH v2 2/2] video: bcm2835: respect the pitch value

2013-11-07 Thread Anatolij Gustschin
On Thu, 24 Oct 2013 20:00:41 +0200 Andre Heider a.hei...@gmail.com wrote: ... @@ -90,6 +94,7 @@ void lcd_ctrl_init(void *lcdbase) w = msg_setup-physical_w_h.body.resp.width; h = msg_setup-physical_w_h.body.resp.height; + bcm2835_pitch = msg_setup-pitch.body.resp.pitch;

[U-Boot] [PATCH 2/3] gpio_led: check gpio_request() return value

2013-11-07 Thread Igor Grinberg
Add a check for the gpio_request() function return value and do not try to configure the GPIO if the gpio_request() call fails. Also, print an error message indicating the gpio_request() has failed. Signed-off-by: Igor Grinberg grinb...@compulab.co.il --- drivers/misc/gpio_led.c | 6 +- 1

Re: [U-Boot] [RESEND PATCH v14 07/10] arm64: core support

2013-11-07 Thread Scott Wood
On Tue, 2013-10-15 at 11:34 +0800, feng...@phytium.com.cn wrote: +/* + * void __asm_flush_dcache_level(level) + * + * clean and invalidate one level cache. + * + * x0: cache level + * x1~x9: clobbered + */ +ENTRY(__asm_flush_dcache_level) + lsl x1, x0, #1 + msr

Re: [U-Boot] [PATCH 1/7] mmc: Add some usefull macro definition

2013-11-07 Thread Jaehoon Chung
Dear Haijun, On 11/05/2013 03:23 PM, Haijun Zhang wrote: Add command class define. Add mmc erase and secure erase define. Add secure erase and trim support bit define. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- include/mmc.h | 49

  1   2   >