Re: [U-Boot] [PATCH v2 7/7] mpc83xx: Add gdsys hrcon board

2014-11-18 Thread Stefan Roese
On 13.11.2014 19:21, dirk.eib...@gdsys.cc wrote: From: Dirk Eibach The gdsys hrcon board is based on a Freescale MPC8308 SOC. It boots from NOR-Flash, kernel and rootfs are stored on SD-Card. On board peripherals include: - 1x GbE (optional) - Lattice ECP3 FPGA connected via eLBC and PCIe Sig

Re: [U-Boot] [PATCH v2 6/7] board: iocon: Fix uninitialized access

2014-11-18 Thread Stefan Roese
On 13.11.2014 19:21, dirk.eib...@gdsys.cc wrote: From: Dirk Eibach Wolfgang Denk found this issue using cppcheck: (error) Uninitialized variable: fpga_features Signed-off-by: Dirk Eibach Applied to u-boot-ppc4xx/master. Thanks, Stefan ___ U-Boot

Re: [U-Boot] [PATCH v2 5/7] board: iocon: Fix fpga index in print_fpga_info()

2014-11-18 Thread Stefan Roese
On 13.11.2014 19:21, dirk.eib...@gdsys.cc wrote: From: Dirk Eibach Signed-off-by: Dirk Eibach Applied to u-boot-ppc4xx/master. Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 4/7] board: dlvision-10g: Compile fix

2014-11-18 Thread Stefan Roese
On 13.11.2014 19:21, dirk.eib...@gdsys.cc wrote: From: Dirk Eibach Signed-off-by: Dirk Eibach Applied to u-boot-ppc4xx/master. Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 3/7] common: Fix cmd_fpgad addressing

2014-11-18 Thread Stefan Roese
On 13.11.2014 19:21, dirk.eib...@gdsys.cc wrote: From: Dirk Eibach Addressing was completely broken for cmd_fpgad. Signed-off-by: Dirk Eibach Applied to u-boot-ppc4xx/master. Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.de http://lis

Re: [U-Boot] [PATCH v2 2/7] mtd: Handle 29LV800BT

2014-11-18 Thread Stefan Roese
On 13.11.2014 19:21, dirk.eib...@gdsys.cc wrote: From: Dirk Eibach The device id makes u-boot think that this chip needs cfi_reverse_geometry(), which is not the case. Add it to jedec_flash, so it is handled properly. Signed-off-by: Dirk Eibach Applied to u-boot-ppc4xx/master. Thanks, Stef

Re: [U-Boot] [PATCH v2 1/7] board: dlvision: Reduce memory footprint

2014-11-18 Thread Stefan Roese
On 13.11.2014 19:21, dirk.eib...@gdsys.cc wrote: From: Dirk Eibach Tune dlvision configuration similar to other gdsys boards to reduce memory footprint. Signed-off-by: Dirk Eibach Applied to u-boot-ppc4xx/master. Thanks, Stefan ___ U-Boot mailin

Re: [U-Boot] [PATCH v2 0/7] Update gdsys board support

2014-11-18 Thread Stefan Roese
Hi Dirk, On 19.11.2014 07:30, Dirk Eibach wrote: thanks for having a look. As I said I am preparing a RFC for migrating things to generic PHY, but this will be bigger step scheduled for v2015.04. Thanks, that is good to know. I'll pull all your patches into the ppc4xx repository now and push

Re: [U-Boot] [PATCH v3 3/5] ls102xa: HYP/non-sec: support for ls102xa boards

2014-11-18 Thread li.xi...@freescale.com
Hi Albert, > -Original Message- > From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] > Sent: Tuesday, November 18, 2014 3:18 PM > To: Xiubo Li-B47053 > Cc: Sun York-R58495; Jin Zhengxiong-R64188; u-boot@lists.denx.de > Subject: Re: [PATCH v3 3/5] ls102xa: HYP/non-sec: support for ls10

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-18 Thread Wolfgang Denk
Dear Albert, In message <20141119074214.3d414ce6@lilith> you wrote: > > For -mauto-it, it is not documented in the gas documentation online or > in my current as' --target-help. I'll dig this deeper today, but barring > any scream from me, the change above is fine globally in U-Boot. Apparently

Re: [U-Boot] [PATCH] ubi: reset relevant globals in ubi_exit()

2014-11-18 Thread Heiko Schocher
Hello Andrew, Am 17.11.2014 07:21, schrieb Heiko Schocher: Hello Andrew, Am 14.11.2014 14:31, schrieb Andrew Ruder: On 11/14/2014 12:20 AM, Heiko Schocher wrote: Good catch, but wondering, why this not poped up in my tests, as I did such a test ... Are you on 2014.10? I don't think this is

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-18 Thread Albert ARIBAUD
Hello Stefan, On Tue, 18 Nov 2014 19:37:18 +0100, Stefan Agner wrote: > diff --git a/arch/arm/config.mk b/arch/arm/config.mk > index f0eafd6..ddbc8dc 100644 > --- a/arch/arm/config.mk > +++ b/arch/arm/config.mk > @@ -30,6 +30,8 @@ PF_CPPFLAGS_ARM := $(call cc-option, -mthumb > -mthumb-interwork,

Re: [U-Boot] [PATCH v3] .travis.yml: build u-boot on travis-ci

2014-11-18 Thread Wolfgang Denk
Dear Roger, In message <1416377222-22192-1-git-send-email-r.me...@siemens.com> you wrote: > > +env: > + global: > +- PATH=$PATH:/tmp/dtc Should /tmp/dtc not go first in PATH, in case an older version of dtc is already installed on the build host? Best regards, Wolfgang Denk -- DENX So

Re: [U-Boot] [PATCH v3] .travis.yml: build u-boot on travis-ci

2014-11-18 Thread Wolfgang Denk
Dear Roger, In message <1416377222-22192-1-git-send-email-r.me...@siemens.com> you wrote: > From: "Meier, Roger" > > Goal: > - building all variants of U-Boot with multiple configurations > - code quality checks and metrics > - https://travis-ci.org/u-boot/u-boot/builds > > Changes for v3

Re: [U-Boot] [PATCH v2 0/7] Update gdsys board support

2014-11-18 Thread Dirk Eibach
Hi Kim, thanks for having a look. As I said I am preparing a RFC for migrating things to generic PHY, but this will be bigger step scheduled for v2015.04. Cheers Dirk ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-b

[U-Boot] [PATCH v3] .travis.yml: build u-boot on travis-ci

2014-11-18 Thread Roger Meier
From: "Meier, Roger" Goal: - building all variants of U-Boot with multiple configurations - code quality checks and metrics - https://travis-ci.org/u-boot/u-boot/builds Changes for v3: - fix patch format (recognized by Andreas Färber) - get in touch with GitHub about the orphan u-boot

[U-Boot] [PATCH U-Boot] ARM: rpi_b: detect board revision

2014-11-18 Thread Stephen Warren
Detect the board revision early during boot, and print the decoded model name. Eventually, this information can be used for tasks such as: - Allowing/preventing USB device mode; some models have a USB device on- board so only host mode makes sense. Others connect the SoC directly to the USB co

Re: [U-Boot] [PATCH v2 0/7] Update gdsys board support

2014-11-18 Thread Kim Phillips
On Tue, 18 Nov 2014 13:59:12 +0100 Stefan Roese wrote: > On 18.11.2014 13:55, Dirk Eibach wrote: > > do you see any chance too get this merged soon? "mpc83xx: Add gdsys > > hrcon board" fixes a build failure and it would be nice to get it in > > before rc2. > > > > Kim offered to ack " mpc83xx: A

Re: [U-Boot] [PATCH] Freescale t104x: Do not exclude SGMII

2014-11-18 Thread York Sun
On 10/24/2014 07:49 AM, Joakim Tjernlund wrote: > fman_port_enet_if() tests if FM1_DTSEC2 or FM1_DTSEC4 uses > RGMII or MII and if not returns PHY_INTERFACE_MODE_NONE. > This excludes testing for SGMII further down. > > Remove the unconditional "else return PHY_INTERFACE_MODE_NONE" > so SGMII can

[U-Boot] [Patch v2] driver/ddr/fsl: Fix MRC_CYC calculation for DDR3

2014-11-18 Thread York Sun
For DDR controller version 4.7 or newer, MRC_CYC (mode register set cycle time) is max(tMRD, tMOD). tMRD is 4nCK, or 8nCK (RDIMM). tMOD is max(12nCK, 15ns) according to JEDEC spec. DDR4 is not affected by this change. Signed-off-by: York Sun --- Change log v2: Apply the change only to DDR contr

Re: [U-Boot] [PATCH ] MMC: add MMC_VERSION_5_0

2014-11-18 Thread Jaehoon Chung
Acked-by: Jaehoon Chung On 11/18/2014 11:13 PM, Markus Niebel wrote: > From: Markus Niebel > > Signed-off-by: Markus Niebel > --- > drivers/mmc/mmc.c | 3 +++ > include/mmc.h | 1 + > 2 files changed, 4 insertions(+) > > diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c > index 24b0989.

Re: [U-Boot] u-boot, fsl_espi.c driver

2014-11-18 Thread Jagan Teki
On 18 November 2014 14:42, Joakim Tjernlund wrote: > Ping? > > Joakim Tjernlund/Transmode wrote on 2014/10/29 19:43:14: Couldn't understand what discussion is going, does some issue in driver or any plan to write new code, please let me know - we can plan accordingly and kill the thread. >> >> "

Re: [U-Boot] [SOLVED] loadb problem.

2014-11-18 Thread bomellberg
The TESTING variable was defined to debug the Spifilib library that is needed for quad spi flash on lpc cpus. As you can see in the very first post, I made some printfs and a 10 ms delay. I removed those as well, so in the end perhaps they were the culprit. I had a previous loady problem, which w

Re: [U-Boot] [PATCH 0/2] spl: MMC U-Boot image load from raw partition

2014-11-18 Thread Albert ARIBAUD
Hello Tom, On Tue, 18 Nov 2014 08:52:37 -0500, Tom Rini wrote: > On Sat, Nov 15, 2014 at 09:27:20PM +0100, Albert ARIBAUD wrote: > > Hello Paul, > > > > On Thu, 13 Nov 2014 23:16:09 +0100, Paul Kocialkowski > > wrote: > [snip] > > > Well I think it makes sense to not call this dead code as long

Re: [U-Boot] [PATCH] sunxi: gmac: Update bananapi fixup to the new CONFIG_TARGET_ structure

2014-11-18 Thread Ian Campbell
On Tue, 2014-11-11 at 13:21 +0100, Zoltan HERPAI wrote: > The magic bit toucher needs to be updated to reflect the new board Kconfig > structure > > Signed-off-by: Zoltan HERPAI Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@lists.denx.de ht

Re: [U-Boot] [PATCH 0/5] PL01x: baudrate & line control fixes

2014-11-18 Thread vikasm
Thanks Simon, On 11/17/2014 09:30 PM, Simon Glass wrote: Hi Vikas, On 18 November 2014 00:17, Vikas Manocha wrote: This patchset fixes the pl01x driver esp for pl011 baudrate & line control. Vikas Manocha (5): serial: pl01x: pass pl01x_type to set baudrate serial: pl01x: fix pl011 baud

[U-Boot] [PATCH v5 3/3] stv0991: enable default and misc command configs

2014-11-18 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- Changes in v5: - replaced '+' with 'and' in the patch subject line - patch subject changed to active voice from passive Changes in v4: None Changes in v3: - removed period from commit message Changes in v2: None include/configs/stv0991.h | 21 ++

[U-Boot] [PATCH v5 0/3] add support for new arch stv0991

2014-11-18 Thread Vikas Manocha
This patchset add support for new arch stv0991. Changes in v5: - merged maintainers info in first patch of the series - replaced '+' with 'and' in the patch subject line - patch subject changed to active voice from passive Changes in v4: - rebased to current master - added maintainers info Chang

[U-Boot] [PATCH v5 2/3] stv0991: enable ethernet support

2014-11-18 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- Changes in v5: None Changes in v4: None Changes in v3: - removed period from commit message arch/arm/cpu/armv7/stv0991/clock.c | 14 arch/arm/cpu/armv7/stv0991/pinmux.c| 14 arch/arm/include/asm/arch-stv099

[U-Boot] [PATCH v5 1/3] stv0991: Add basic stv0991 architecture support

2014-11-18 Thread Vikas Manocha
stv0991 architecture support added. It contains the support for following blocks - Timer - uart Signed-off-by: Vikas Manocha --- Changes in v5: - added maintainers info Changes in v4: - added maintainers info - rebased to current master Changes in v3: - removed period from commit message Chan

Re: [U-Boot] [SOLVED] loadb problem.

2014-11-18 Thread Wolfgang Denk
Dear Bo, In message <1416300182202-196641.p...@n7.nabble.com> you wrote: > > Upon looking at the transfers more closely on the scope, I found that the > board sometimes answered the PC in the middle of receiving a packet. I found > that this was due to a global DEBUG being turned on in the config

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-18 Thread Stefan Agner
On 2014-11-18 17:07, Stefan Agner wrote: > On 2014-11-14 15:01, Simon Glass wrote: >> Hi Victor, >> >> On 13 November 2014 09:29, Victor Ascroft wrote: >>> Hello, >>> >>> I am working with a Cortex A5 Freescale Vybrid Processor. Since a thumb >>> build leads to a saving of almost 1 MB for my u-bo

[U-Boot] [PATCH] driver/ddr/fsl: Fix tMOD calculation for DDR3

2014-11-18 Thread York Sun
JEDEC specifies tMOD = max(12nCK, 15ns) for DDR3. This value is used in mode register set cycle time. Signed-off-by: York Sun --- drivers/ddr/fsl/ctrl_regs.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/ddr/fsl/ctrl_regs.c b/drivers/ddr/fsl/ctrl_regs.c ind

Re: [U-Boot] [PATCH v4 0/4] add support for new arch stv0991

2014-11-18 Thread vikasm
Hello Simon, On 11/17/2014 09:19 PM, Simon Glass wrote: Hi Vikas, On 18 November 2014 01:30, Vikas Manocha wrote: This patchset add support for new arch stv0991. Changes in v4: - rebased to current master - added maintainers info Changes in v3: - removed period from commit messages Changes

Re: [U-Boot] [PATCH v4 3/4] stv0991: default + misc command configs enabled

2014-11-18 Thread vikasm
Hello Albert, On 11/17/2014 11:29 PM, Albert ARIBAUD wrote: Hello Vikas, (nitpicking) can you replace '+' in the subject with 'and' ? ok, i will submit the v5. (nitpicking yet more) can you keep the "action" form for the subject rather than "action done", i.e., "stv0991: enable default and

Re: [U-Boot] [PATCH v4 1/4] stv0991: Add basic stv0991 architecture support

2014-11-18 Thread vikasm
Thanks Albert, On 11/17/2014 11:21 PM, Albert ARIBAUD wrote: Hello Vikas, On Mon, 17 Nov 2014 17:30:25 -0800, Vikas Manocha wrote: stv0991 architecture support added. It contains the support for following blocks - Timer - uart Signed-off-by: Vikas Manocha --- Changes in v4: - added maintai

Re: [U-Boot] [PATCH v3 3/3] arm: odroid: usb: add support for usb host including ethernet

2014-11-18 Thread Suriyan Ramasami
Hello Przemyslaw, On Tue, Nov 18, 2014 at 3:09 AM, Przemyslaw Marczak wrote: > Hello Suriyan, > > On 11/18/2014 04:30 AM, Suriyan Ramasami wrote: >> >> Hello Minkyu Kang/Przemyslaw and of course anyone else who can direct me, >> >> Thanks for the commit. >> >> I just realized that the code i

Re: [U-Boot] [PATCH v3 4/8] common: spl: Add interactive DDR debugger support for SPL image

2014-11-18 Thread York Sun
On 11/17/2014 11:02 PM, Albert ARIBAUD wrote: > Hello York, > > On Mon, 17 Nov 2014 15:00:42 -0800, York Sun > wrote: >> On 10/27/2014 06:48 PM, Wang Huan-B18965 wrote: >>> Hello, Albert, >>> >> >> > --- > Change log: > v3: Gave more explaination in the commit. > v2: No change.

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-18 Thread Stefan Agner
On 2014-11-14 15:01, Simon Glass wrote: > Hi Victor, > > On 13 November 2014 09:29, Victor Ascroft wrote: >> Hello, >> >> I am working with a Cortex A5 Freescale Vybrid Processor. Since a thumb >> build leads to a saving of almost 1 MB for my u-boot image and consequently >> to faster serial do

Re: [U-Boot] [PATCH 0/2] mxssb: trivial fixes

2014-11-18 Thread Marek Vasut
On Tuesday, November 18, 2014 at 10:33:44 AM, Marc Kleine-Budde wrote: > Hey, Hi! > this is a trivial patch series for the mxssb tool. Please review and apply. The mxssb tool is dead, the U-Boot has support for generating the MXS images directly (see tools/mxsimage.[ch]). Can you please verify i

Re: [U-Boot] [PATCH v4 2/2] sunxi: video: Add simplefb support

2014-11-18 Thread Simon Glass
Hi Hans, On 18 November 2014 14:54, Hans de Goede wrote: > Hi, > > On 11/18/2014 03:32 PM, Simon Glass wrote: >> Hi Hans, >> >> >> On 18 November 2014 11:23, Hans de Goede wrote: >>> Hi, >>> >>> On 11/17/2014 07:39 PM, Simon Glass wrote: Hi Hans, On 17 November 2014 15:48, Hans d

Re: [U-Boot] [PATCH v4 2/2] sunxi: video: Add simplefb support

2014-11-18 Thread Hans de Goede
Hi, On 11/18/2014 03:32 PM, Simon Glass wrote: > Hi Hans, > > > On 18 November 2014 11:23, Hans de Goede wrote: >> Hi, >> >> On 11/17/2014 07:39 PM, Simon Glass wrote: >>> Hi Hans, >>> >>> On 17 November 2014 15:48, Hans de Goede wrote: From: Luc Verhaegen Add simplefb support,

Re: [U-Boot] [PATCH 8/8] dm: core: abolish u-boot, dm-pre-reloc property

2014-11-18 Thread Simon Glass
Hi Masahiro, On 18 November 2014 12:51, Masahiro Yamada wrote: > Hi Simon, > > > > On Mon, 17 Nov 2014 18:17:43 + > Simon Glass wrote: > >> Hi Masahiro, >> >> On 17 November 2014 08:19, Masahiro Yamada wrote: >> > The driver model provides two ways to pass the device information, >> > platf

Re: [U-Boot] [PATCH v3 3/3] arm: odroid: usb: add support for usb host including ethernet

2014-11-18 Thread Przemyslaw Marczak
Hello Minkyu, On 11/18/2014 03:05 PM, Minkyu Kang wrote: Dear Przemyslaw Marczak, On 18/11/14 20:14, Przemyslaw Marczak wrote: Dear Minkyu, On 11/18/2014 09:14 AM, Minkyu Kang wrote: Hi, On 18/11/14 12:30, Suriyan Ramasami wrote: Hello Minkyu Kang/Przemyslaw and of course anyone else who c

Re: [U-Boot] [PATCH v4 2/2] sunxi: video: Add simplefb support

2014-11-18 Thread Simon Glass
Hi Hans, On 18 November 2014 11:23, Hans de Goede wrote: > Hi, > > On 11/17/2014 07:39 PM, Simon Glass wrote: >> Hi Hans, >> >> On 17 November 2014 15:48, Hans de Goede wrote: >>> From: Luc Verhaegen >>> >>> Add simplefb support, note this depends on the kernel having support for >>> the clock

Re: [U-Boot] [PATCH v4 1/2] fdt_support: Add a fdt_setup_simplefb_node helper function

2014-11-18 Thread Simon Glass
Hi Hans, On 18 November 2014 11:18, Hans de Goede wrote: > > Hi Simon, > > On 11/17/2014 07:32 PM, Simon Glass wrote: > > Hi Hans, > > > > On 17 November 2014 15:48, Hans de Goede wrote: > >> Add a generic helper to fill and enable simplefb nodes. > >> > >> The first user of this will be the sun

Re: [U-Boot] [PATCH] mcf: Fix cppcheck errors about uninitialized variables

2014-11-18 Thread Tom Rini
On Fri, Nov 14, 2014 at 02:23:46PM +0100, Wolfgang Denk wrote: > Dear Albert, > > In message <20141114134733.01c82023@lilith> you wrote: > > > > > - u8 bootmode; > > > + u8 bootmode = 0; > > > > If you set bootmode to the default 0 value at declaration, then the code > > that follows in the sour

Re: [U-Boot] [PATCH v6 2/4] mx6: thermal: Add i.MX6 CPU thermal sensor support

2014-11-18 Thread Fabio Estevam
Hi Stefano, On Mon, Nov 17, 2014 at 10:49 AM, Stefano Babic wrote: > I have some conceptional question here. This introduces a new set or, > better, "class" of drivers, as we are used to see in kernel as > "thermal". As we discussed in last u-boot mini summit, the preferred way > to introduce ne

Re: [U-Boot] [PATCH 5/5] sun6i: Add new CSQ_CS908 board

2014-11-18 Thread Ian Campbell
On Tue, 2014-11-18 at 13:47 +0100, Hans de Goede wrote: > Hi, > > On 11/17/2014 08:03 PM, Ian Campbell wrote: > > On Sun, 2014-11-16 at 17:16 +0100, Hans de Goede wrote: > >> The CSQ CS908 is an A31s based top-set box, with 1G RAM, 8G NAND, > >> rtl8188etv usb wifi, 2 USB A receptacles (1 connecte

Re: [U-Boot] [PATCH 3/5] sun6i: dram: Do not try to initialize a second dram chan on A31s

2014-11-18 Thread Ian Campbell
On Tue, 2014-11-18 at 13:34 +0100, Hans de Goede wrote: > Hi, > > On 11/17/2014 08:00 PM, Ian Campbell wrote: > > On Sun, 2014-11-16 at 17:16 +0100, Hans de Goede wrote: > >> The A31s only has one dram channel, so do not bother with trying to > >> initalize > > > > "initialize" > > Fixed in my

Re: [U-Boot] [PATCH 1/5] sun6i: Make dram clk and zq value Kconfig options

2014-11-18 Thread Ian Campbell
On Tue, 2014-11-18 at 12:32 +0100, Hans de Goede wrote: > Hi, > > On 11/17/2014 07:54 PM, Ian Campbell wrote: > > On Sun, 2014-11-16 at 17:16 +0100, Hans de Goede wrote: > > > >> +config DRAM_ZQ > >> + int "sun6i dram zq value" if EXPERT > >> + default 123 > > > > == 0x7b, which differs from t

Re: [U-Boot] [PATCH v3 3/3] arm: odroid: usb: add support for usb host including ethernet

2014-11-18 Thread Minkyu Kang
Dear Przemyslaw Marczak, On 18/11/14 20:14, Przemyslaw Marczak wrote: > Dear Minkyu, > > On 11/18/2014 09:14 AM, Minkyu Kang wrote: >> Hi, >> >> On 18/11/14 12:30, Suriyan Ramasami wrote: >>> Hello Minkyu Kang/Przemyslaw and of course anyone else who can direct me, >>> >>> Thanks for the commit.

[U-Boot] [PATCH ] MMC: add MMC_VERSION_5_0

2014-11-18 Thread Markus Niebel
From: Markus Niebel Signed-off-by: Markus Niebel --- drivers/mmc/mmc.c | 3 +++ include/mmc.h | 1 + 2 files changed, 4 insertions(+) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 24b0989..144c7f7 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -1001,6 +1001,9 @@ stati

[U-Boot] [PATCH ] MMC: fix user capacity for partitioned eMMC card

2014-11-18 Thread Markus Niebel
From: Markus Niebel if the card claims to be high capacity and the card is partitioned the capacity shall still be read from ext_csd SEC_COUNT even if the resulting capacity is smaller than 2 GiB Signed-off-by: Markus Niebel --- drivers/mmc/mmc.c | 15 +++ include/mmc.h | 3 ++

Re: [U-Boot] [PATCH 0/2] spl: MMC U-Boot image load from raw partition

2014-11-18 Thread Tom Rini
On Sat, Nov 15, 2014 at 09:27:20PM +0100, Albert ARIBAUD wrote: > Hello Paul, > > On Thu, 13 Nov 2014 23:16:09 +0100, Paul Kocialkowski > wrote: [snip] > > Well I think it makes sense to not call this dead code as long as it > > *can be* enabled and used on another supported board (for that matte

Re: [U-Boot] [PATCH v8 2/3] Odroid-XU3: Add support for Odroid-XU3

2014-11-18 Thread Przemyslaw Marczak
Hello Hyungwon, On 11/18/2014 12:44 PM, Przemyslaw Marczak wrote: Hello, On 11/18/2014 02:57 AM, Hyungwon Hwang wrote: Dear Przemyslaw Marczak, +/* + * FIXME: The number of bank is actually 8. But there is no way to reserver the + * last 16 Mib in the last bank now. So I just excluded the la

[U-Boot] [PATCH] mx6sabresd: Access SRC_SBMR1 register via structure

2014-11-18 Thread Fabio Estevam
In U-boot it is preferred to access the register via structure pointer, so convert it such style. Signed-off-by: Fabio Estevam --- board/freescale/mx6sabresd/mx6sabresd.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/fr

Re: [U-Boot] [PATCH v2 0/7] Update gdsys board support

2014-11-18 Thread Stefan Roese
On 18.11.2014 13:55, Dirk Eibach wrote: do you see any chance too get this merged soon? "mpc83xx: Add gdsys hrcon board" fixes a build failure and it would be nice to get it in before rc2. Kim offered to ack " mpc83xx: Add gdsys hrcon board". Stefan, can you please get this through your repo aft

Re: [U-Boot] [PATCH v2 0/7] Update gdsys board support

2014-11-18 Thread Dirk Eibach
Hi Kim, Hi Stefan, do you see any chance too get this merged soon? "mpc83xx: Add gdsys hrcon board" fixes a build failure and it would be nice to get it in before rc2. Kim offered to ack " mpc83xx: Add gdsys hrcon board". Stefan, can you please get this through your repo afterwards? Cheers Dirk

Re: [U-Boot] [PATCH 8/8] dm: core: abolish u-boot, dm-pre-reloc property

2014-11-18 Thread Masahiro Yamada
Hi Simon, On Mon, 17 Nov 2014 18:17:43 + Simon Glass wrote: > Hi Masahiro, > > On 17 November 2014 08:19, Masahiro Yamada wrote: > > The driver model provides two ways to pass the device information, > > platform data and device tree. Either way works to bind devices and > > drivers, bu

Re: [U-Boot] [PATCH 4/5] sun6i: Drop some "unknown magic" from dram init

2014-11-18 Thread Hans de Goede
Hi, On 11/17/2014 08:01 PM, Ian Campbell wrote: > On Sun, 2014-11-16 at 17:16 +0100, Hans de Goede wrote: >> This bit of code is the rtc ram being used to detect coming out of >> "super-standby" mode, and if that is the case, going out of self-refresh >> mode. >> >> Since we do not support "super

Re: [U-Boot] [PATCH 5/5] sun6i: Add new CSQ_CS908 board

2014-11-18 Thread Hans de Goede
Hi, On 11/17/2014 08:03 PM, Ian Campbell wrote: > On Sun, 2014-11-16 at 17:16 +0100, Hans de Goede wrote: >> The CSQ CS908 is an A31s based top-set box, with 1G RAM, 8G NAND, >> rtl8188etv usb wifi, 2 USB A receptacles (1 connected through the OTG >> controller), ethernet, 3.5 mm jack with a/v out

[U-Boot] [PATCH] bootz: fix silent console

2014-11-18 Thread Markus Niebel
From: Markus Niebel fixup was lost during split between command code and logic. Signed-off-by: Markus Niebel --- common/bootm.c | 2 +- common/cmd_bootm.c | 6 ++ include/bootm.h| 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/common/bootm.c b/common/bootm.c in

Re: [U-Boot] [PATCH v2 08/17] dm: i2c: Add a uclass for I2C

2014-11-18 Thread Heiko Schocher
Hello Masahiro, Am 18.11.2014 13:32, schrieb Masahiro Yamada: Hi Simon, On Tue, 11 Nov 2014 10:46:24 -0700 Simon Glass wrote: The uclass implements the same operations as the current I2C framework but makes some changes to make it fit driver model better: - Remove the chip address from API

Re: [U-Boot] [PATCH 3/5] sun6i: dram: Do not try to initialize a second dram chan on A31s

2014-11-18 Thread Hans de Goede
Hi, On 11/17/2014 08:00 PM, Ian Campbell wrote: > On Sun, 2014-11-16 at 17:16 +0100, Hans de Goede wrote: >> The A31s only has one dram channel, so do not bother with trying to initalize > > "initialize" Fixed in my local tree. >> a second channel. >> >> Signed-off-by: Hans de Goede >> --- >>

Re: [U-Boot] [PATCH v2 08/17] dm: i2c: Add a uclass for I2C

2014-11-18 Thread Masahiro Yamada
Hi Simon, On Tue, 11 Nov 2014 10:46:24 -0700 Simon Glass wrote: > The uclass implements the same operations as the current I2C framework but > makes some changes to make it fit driver model better: > > - Remove the chip address from API calls > - Remove the address length from API calls > - Re

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-18 Thread Stefan Agner
On 2014-11-14 15:01, Simon Glass wrote: > Hi Victor, > > On 13 November 2014 09:29, Victor Ascroft wrote: >> Hello, >> >> I am working with a Cortex A5 Freescale Vybrid Processor. Since a thumb >> build leads to a saving of almost 1 MB for my u-boot image and consequently >> to faster serial do

[U-Boot] [PATCH 1/4] tqma6: (cosmetic) remove CONFIG_FLASH_SECTOR_SIZE

2014-11-18 Thread Markus Niebel
From: Markus Niebel This is nowhere documented and only used by two other boards. Replace it with TQMA6_SPI_FLASH_SECTOR_SIZE. Signed-off-by: Markus Niebel --- include/configs/tqma6.h | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/include/con

[U-Boot] [RESEND PATCH 0/4] tqma6: improvements and cleanup

2014-11-18 Thread Markus Niebel
From: Markus Niebel This series contains some cosmetic and code cleanups. No functional changes. resend because of typo in Mailaddress. Markus Niebel (4): tqma6: (cosmetic) remove CONFIG_FLASH_SECTOR_SIZE tqma6: add missing include tqma6: add warning on failed setup_i2c tqma6: use imx_d

[U-Boot] [PATCH 4/4] tqma6: use imx_ddr_size

2014-11-18 Thread Markus Niebel
From: Markus Niebel Signed-off-by: Markus Niebel --- board/tqc/tqma6/tqma6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/tqc/tqma6/tqma6.c b/board/tqc/tqma6/tqma6.c index b7f4eb7..e480d57 100644 --- a/board/tqc/tqma6/tqma6.c +++ b/board/tqc/tqma6/tqma6.c @@ -51,7 +

[U-Boot] [PATCH 2/4] tqma6: add missing include

2014-11-18 Thread Markus Niebel
From: Markus Niebel Add include needed to have prototype for board_spi_cs_gpio Signed-off-by: Markus Niebel --- board/tqc/tqma6/tqma6.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/tqc/tqma6/tqma6.c b/board/tqc/tqma6/tqma6.c index fd1bd59..5e913d7 100644 --- a/board/tqc/tqma6/tqma

[U-Boot] [PATCH 3/4] tqma6: add warning on failed setup_i2c

2014-11-18 Thread Markus Niebel
From: Markus Niebel setup_i2c has a return value. Use it to give feedback on error. Signed-off-by: Markus Niebel --- board/tqc/tqma6/tqma6.c | 10 -- board/tqc/tqma6/tqma6_mba6.c | 10 -- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/board/tqc/tqma6/tqma6

Re: [U-Boot] [PATCH v8 1/3] exynos5: fix GPIO information of exynos5420

2014-11-18 Thread Przemyslaw Marczak
Hello, On 11/18/2014 03:29 AM, Hyungwon Hwang wrote: Thanks for your reviews. I did not know that the code from Simon Glass is merged. I will remove this patch will be removed from the next version. Thanks. Best regards, Hyungwon Hwang On Mon, 17 Nov 2014 10:51:21 +0100 Przemyslaw Marczak wr

Re: [U-Boot] [PATCH v8 2/3] Odroid-XU3: Add support for Odroid-XU3

2014-11-18 Thread Przemyslaw Marczak
Hello, On 11/18/2014 02:57 AM, Hyungwon Hwang wrote: Dear Przemyslaw Marczak, +/* + * FIXME: The number of bank is actually 8. But there is no way to reserver the + * last 16 Mib in the last bank now. So I just excluded the last bank + * temporally. + */ It's not prober solution, since non-d

Re: [U-Boot] [PATCH 1/5] sun6i: Make dram clk and zq value Kconfig options

2014-11-18 Thread Hans de Goede
Hi, On 11/17/2014 07:54 PM, Ian Campbell wrote: > On Sun, 2014-11-16 at 17:16 +0100, Hans de Goede wrote: > >> +config DRAM_ZQ >> +int "sun6i dram zq value" if EXPERT >> +default 123 > > == 0x7b, which differs from the previous default of 0x78 (not by much, > but still) Right, this is d

Re: [U-Boot] [PATCH v2] odroid: Turn blue LED on

2014-11-18 Thread Przemyslaw Marczak
Hello Suriyan, On 11/18/2014 12:50 AM, Suriyan Ramasami wrote: To indicate that U-Boot is active, turn on the blue LED. Signed-off-by: Suriyan Ramasami --- Changes in v2: - Przemyslaw Marczak, Add gpio_request call. Changes in v1: - First try board/samsung/odroid/odroid.c | 5 + 1 f

Re: [U-Boot] [PATCH v4 2/2] sunxi: video: Add simplefb support

2014-11-18 Thread Hans de Goede
Hi, On 11/17/2014 07:39 PM, Simon Glass wrote: > Hi Hans, > > On 17 November 2014 15:48, Hans de Goede wrote: >> From: Luc Verhaegen >> >> Add simplefb support, note this depends on the kernel having support for >> the clocks property which has recently been added to the simplefb devicetree >>

Re: [U-Boot] [PATCH v4 1/2] fdt_support: Add a fdt_setup_simplefb_node helper function

2014-11-18 Thread Hans de Goede
Hi Simon, On 11/17/2014 07:32 PM, Simon Glass wrote: > Hi Hans, > > On 17 November 2014 15:48, Hans de Goede wrote: >> Add a generic helper to fill and enable simplefb nodes. >> >> The first user of this will be the sunxi display code. >> >> lcd_dt_simplefb_configure_node is also a good candidat

Re: [U-Boot] [PATCH v3 3/3] arm: odroid: usb: add support for usb host including ethernet

2014-11-18 Thread Przemyslaw Marczak
Dear Minkyu, On 11/18/2014 09:14 AM, Minkyu Kang wrote: Hi, On 18/11/14 12:30, Suriyan Ramasami wrote: Hello Minkyu Kang/Przemyslaw and of course anyone else who can direct me, Thanks for the commit. I just realized that the code in this particular patch is missing the gpio_request() ca

Re: [U-Boot] [PATCH v3 3/3] arm: odroid: usb: add support for usb host including ethernet

2014-11-18 Thread Przemyslaw Marczak
Hello Suriyan, On 11/18/2014 04:30 AM, Suriyan Ramasami wrote: Hello Minkyu Kang/Przemyslaw and of course anyone else who can direct me, Thanks for the commit. I just realized that the code in this particular patch is missing the gpio_request() call before calling the gpio_direction_outpu

[U-Boot] [PATCH 2/2] arm, at91, axm: add SPL support for axm

2014-11-18 Thread Heiko Schocher
add SPL support also for the axm board. Signed-off-by: Heiko Schocher --- configs/axm_defconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configs/axm_defconfig b/configs/axm_defconfig index c0e8da2..076ad0f 100644 --- a/configs/axm_defconfig +++ b/configs/axm_defc

[U-Boot] [PATCH 1/2] arm, at91: corvus board updates

2014-11-18 Thread Heiko Schocher
- corvus board fix problems with toshiba nand chips on the corvus board problems with toshiba chips Manufacturer ID: 0x98 Chip ID: 0xdc encounterd. Solve this in the following way: - set other nand timings - enable CONFIG_SYS_NAND_READY_PIN - correct the MACH_TYPE setting Signed-off-by

[U-Boot] [PATCH v1 0/3] arm, am335x: siemens board updates

2014-11-18 Thread Heiko Schocher
This series contains some updates for the am335x based boards from siemens. - Patch: arm, am335x, siemens: fix factoryset interpretation fixes an error in the siemens factoryset implementation - Patch: arm, am335x, siemens: read COMP/ver from factoryset reads also the "COMP/ver" value from the

[U-Boot] [PATCH v1 2/3] arm, am335x, siemens: read COMP/ver from factoryset

2014-11-18 Thread Heiko Schocher
Signed-off-by: Heiko Schocher --- board/siemens/common/factoryset.c | 10 ++ board/siemens/common/factoryset.h | 1 + 2 files changed, 11 insertions(+) diff --git a/board/siemens/common/factoryset.c b/board/siemens/common/factoryset.c index d98e59d..be0091d 100644 --- a/board/siemens/

[U-Boot] [PATCH v1 3/3] arm, am335x: siemens boards add FIT support

2014-11-18 Thread Heiko Schocher
add FIT support and set "boardid" from factoryset records "DEV/id" and "COMP/ver". "boardid" is used for selecting which fit configuration gets booted on the board. Signed-off-by: Heiko Schocher --- board/siemens/common/board.c | 9 - board/siemens/common/factoryset.c | 18 +++

[U-Boot] [PATCH v1 1/3] arm, am335x, siemens: fix factoryset interpretation

2014-11-18 Thread Heiko Schocher
a record could contain other records, so after an ">" (begin mark) there not always come an end mark "<", instead a ">" is possible. Take care of this. Signed-off-by: Heiko Schocher --- board/siemens/common/factoryset.c | 26 ++ 1 file changed, 18 insertions(+), 8 delet

[U-Boot] [PATCH 0/2] mxssb: trivial fixes

2014-11-18 Thread Marc Kleine-Budde
Hey, this is a trivial patch series for the mxssb tool. Please review and apply. regards, Marc ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 2/2] mxssb: fix uninitialized variables warnings

2014-11-18 Thread Marc Kleine-Budde
These warning are generated by: gcc version 4.9.1 (Debian 4.9.1-19) mxssb.c: In function ‘main’: mxssb.c:1580:10: warning: ‘ilen’ may be used uninitialized in this function [-Wmaybe-uninitialized] ret = sb_build_dcd_block(ictx, cmd, SB_DCD_CHK_EQ | ilen); ^ mxssb.c:1553:12: note: ‘i

[U-Boot] [PATCH 1/2] mxssb: Makefile: build with optimisation (-O2) by default

2014-11-18 Thread Marc Kleine-Budde
Signed-off-by: Marc Kleine-Budde --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a8dbea3a861b..af3deb920785 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -CFLAGS=`pkg-config --cflags libcrypto` -Wall -Wextra +CFLAGS=`pkg-config --c

Re: [U-Boot] [PATCH v8 0/6] fs: fat/ext4/sandbox - Deal with files greater than 2GB

2014-11-18 Thread Pavel Machek
On Mon 2014-11-17 14:39:33, Suriyan Ramasami wrote: > The commands fatls/ext4ls give negative values when dealing with files > greater than 2GB. > The commands fatsize/ext4size do not update the variable filesize for > these files. > > To deal with this, the fs functions have been modified to take

Re: [U-Boot] [PATCH v2] .travis.yml: build u-boot on travis-ci

2014-11-18 Thread Meier, Roger
Hello, > Hi, > > Am 14.11.2014 um 14:58 schrieb Roger Meier: > > --- > > Changes for v2: > > - use latest device tree compiler (suggested by Daniel Schwierzeck) > > - add sandbox (suggested by Daniel Schwierzeck) > > - seperate echo and execution of TEST_CMD > > - remove BUILD_NCPUS( part

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

2014-11-18 Thread Guillaume GARDET
In SPL MMC, boot modes are exclusive. So, if MMCSD_MODE_RAW fails, the board hangs. This patch allows to try MMCSD_MODE_FS then, if available. It has been tested on a pandaboard (rev. A3). Signed-off-by: Guillaume GARDET Cc: Tom Rini --- common/spl/spl_mmc.c | 3 ++- 1 file changed, 2 inserti

Re: [U-Boot] [PATCH] MAINTAINERS: add me as a maintainer of UBI

2014-11-18 Thread Kyungmin Park
On Tuesday, November 18, 2014, Stefan Roese wrote: > On 18.11.2014 09:08, Heiko Schocher wrote: > >> Add me for UBI custodian. >> >> Signed-off-by: Heiko Schocher >> > > Acked-by: Stefan Roese Acked-by: Kyungmin Park > > Thanks, > Stefan > > ___ >

Re: [U-Boot] u-boot, fsl_espi.c driver

2014-11-18 Thread Joakim Tjernlund
Ping? Joakim Tjernlund/Transmode wrote on 2014/10/29 19:43:14: > > "mingkai...@freescale.com" wrote on 2014/10/28 12:17:24: > > > > Hi Joakim and York, > > Hi yourself, been travelling or a few days. > > > > > I apologize for the delayed response and thanks for your catch up, Joakim > > In

Re: [U-Boot] [PATCH 2/2] spi: add common spi3 controller driver

2014-11-18 Thread Scott Jiang
2014-11-17 3:23 GMT+08:00 Jagan Teki : > Hi Scott, > > On 25 September 2014 14:55, Scott Jiang wrote: >> SPI3 controller is not only used on BF609 platform. So we add a common >> controller >> driver and leave machine specific configuration in board drivers. >> Remove obsolete spi6xx.h and select

[U-Boot] [SOLVED] loadb problem.

2014-11-18 Thread bomellberg
Dear Wolfgang, Upon looking at the transfers more closely on the scope, I found that the board sometimes answered the PC in the middle of receiving a packet. I found that this was due to a global DEBUG being turned on in the configuration file for the board. When I removed all of the following:

[U-Boot] [PATCH v1 0/3] arm, at91: taurus board updates

2014-11-18 Thread Heiko Schocher
This series enables THUMB mode in SPL for the taurus board. On this hw are 16k only for SPL code, so THUMB mode is needed, because we need to detect the nor flash on the spi bus. This is needed because we want to erase sector 0 of the spi nor flash if the recovery button is pressed in SPL. Heiko

[U-Boot] [PATCH v1 3/3] taurus, spl: erase also spi flash if recovery button is pressed

2014-11-18 Thread Heiko Schocher
if in SPL mode recovery button is pressed, erase also spi flash from offset 0 to CONFIG_SYS_NAND_U_BOOT_SIZE on the taurus board. Signed-off-by: Heiko Schocher --- board/siemens/taurus/taurus.c | 24 +++- include/configs/taurus.h | 18 +- 2 files changed

[U-Boot] [PATCH v1 2/3] arm, at91: enable thumb mode for taurus board in SPL

2014-11-18 Thread Heiko Schocher
Signed-off-by: Heiko Schocher --- include/configs/taurus.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/taurus.h b/include/configs/taurus.h index 20194ae..06725cd 100644 --- a/include/configs/taurus.h +++ b/include/configs/taurus.h @@ -26,6 +26,11 @@ #define CONFIG

[U-Boot] [PATCH v1 1/3] arm, arm926ejs: make thumb mode compileable

2014-11-18 Thread Heiko Schocher
in thumb mode compiler says for example for arch/arm/lib/cache-cp15.c when enabling CONFIG_SYS_THUMB_BUILD: {standard input}: Assembler messages: {standard input}:373: Error: selected processor does not support Thumb mode `mrc p15,0,r4,c1,c0,0' {standard input}:416: Error: selected processor does

  1   2   >