Re: [U-Boot] [PATCHv2] ARM: Add Altera SOCFPGA Cyclone5

2012-09-12 Thread Stefan Roese
On 09/12/2012 06:56 PM, Tom Rini wrote: > On Tue, Sep 11, 2012 at 07:53:17AM +0200, Stefan Roese wrote: >> Hi Pavel, >> >> On 09/11/2012 02:21 AM, Pavel Machek wrote: > From: Dinh Nguyen > > Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. > > Applied on top of trin

[U-Boot] Pull request for ARM zynq

2012-09-12 Thread Michal Simek
Hi Albert, CC: Joe and Tom a month ago I have sent 4 Xilinx ARM zynq patches to mailing list (v2) (reminder yesterday) and I haven't got any reaction from anybody. The first patches were commented by Joe and problems fixed in the next version. There is one network driver which should require AC

Re: [U-Boot] [PATCH v2 0/7] gpt: GUID Partition Table (GPT) restoration

2012-09-12 Thread Lukasz Majewski
Hi Tom, Thanks for review. > On 09/12/2012 07:50 AM, Lukasz Majewski wrote: > > This patch series provides a new command - "gpt" for eMMC partition > > table (in the GPT format) restoration. > > > > As a pre-work, some cleanup at the part_efi.c file was performed to > > remove custom macros and

Re: [U-Boot] Help Required [imx35pdk]

2012-09-12 Thread Muhammad Usman
I am totally agree with you Fabio. By reading the README.txt, it gives clear impression regarding NAND that it can also be used as an alternate. The text should be modify for NAND so that no one further stuck on it. On Thu, Sep 13, 2012 at 9:55 AM, Fabio Estevam wrote: > Hi Stefano, > > On Wed,

Re: [U-Boot] Help Required [imx35pdk]

2012-09-12 Thread Muhammad Usman
Dear Stefano, You really explained well. I have got it now. For now I have left the NAND flash and instead I'm now using NOR. I have successfully boot Linux with the latest kernel 3.5.3 from NOR. Thanks a lot for all your support. On Thu, Sep 13, 2012 at 2:44 AM, stefano babic wrote: > Am 12/09

Re: [U-Boot] [PATCH 0/9 V2] EXYNOS5: Add Audio support

2012-09-12 Thread Rajeshwari Birje
Hi All, Do let me know if any more comments on this patchset. Regards, Rajeshwari Shinde. On Wed, Aug 22, 2012 at 12:14 PM, Rajeshwari Shinde wrote: > This patchset adds the audio support for EXYNOS5. > This patchset plays a predefined beep sound. > > This patchset is based on the following pa

Re: [U-Boot] [PATCH v2 9/9] arm: rmobile: kzm9g: enable I2C2

2012-09-12 Thread Nobuhiro Iwamatsu
On Wed, Sep 12, 2012 at 5:46 PM, Tetsuyuki Kobayashi wrote: > Set gpio config for I2C2. > > Signed-off-by: Tetsuyuki Kobayashi > --- > Changes for v2: > - new > > board/kmc/kzm9g/kzm9g.c |2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9

Re: [U-Boot] [RESEND PATCH v2 0/9] i2c for R-mobile

2012-09-12 Thread Nobuhiro Iwamatsu
Hi, Thank you for this work. If you have a time, could you update sh_i2c using set/clrbits functions? these functions is included in asm/io.h. For example, you can change from writeb(readb(&base->iccr) & ~SH_I2C_ICCR_ICE, &base->iccr); to clrbits_8(&base->iccr, SH_I2C_ICCR_ICE); . Best regards,

Re: [U-Boot] [PATCH v2 8/9] arm: rmobile: kzm9g: enable I2C1

2012-09-12 Thread Nobuhiro Iwamatsu
On Wed, Sep 12, 2012 at 5:46 PM, Tetsuyuki Kobayashi wrote: > Supply clock to I2C1 and release resetting. > > Signed-off-by: Tetsuyuki Kobayashi > --- > Changes for v2: > - new > > board/kmc/kzm9g/kzm9g.c |5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/board/kmc

Re: [U-Boot] [PATCH v2 7/9] i2c: sh_i2c.c: remove unused function

2012-09-12 Thread Nobuhiro Iwamatsu
On Wed, Sep 12, 2012 at 5:46 PM, Tetsuyuki Kobayashi wrote: > irq_wait() was not used. So removed it to elminate compiler warnings. > > Signed-off-by: Tetsuyuki Kobayashi > --- > Changes for v2: > - new > > drivers/i2c/sh_i2c.c | 16 > 1 file changed, 16 deletions(-) > > diff

Re: [U-Boot] [PATCH v2 6/9] i2c: sh_i2c.c: check error in i2c_read and i2c_write

2012-09-12 Thread Nobuhiro Iwamatsu
On Wed, Sep 12, 2012 at 5:21 PM, Tetsuyuki Kobayashi wrote: > Before this patch, i2c_{read,write} always returned 0. > Check TACK in i2c_raw_{read,write} so that i2c_{read,write} return non-zero > when error. > > Signed-off-by: Tetsuyuki Kobayashi > --- > Changes for v2: > - new > > drivers/i2

Re: [U-Boot] [PATCH v2 1/9] i2c: sh_i2c.c: support iccl and icch extension

2012-09-12 Thread Nobuhiro Iwamatsu
On Wed, Sep 12, 2012 at 5:46 PM, Tetsuyuki Kobayashi wrote: > R-mobile SoC (at least SH73A0) has extension bits to store 8th bit of iccl > and icch. > This patch add support for the extentin bits. > > Signed-off-by: Tetsuyuki Kobayashi > --- > Changes for v2: > - define CONFIG_SH_I2C_8BIT at bo

Re: [U-Boot] [PATCH v2 5/9] i2c: sh_i2c: enable i2c_probe

2012-09-12 Thread Nobuhiro Iwamatsu
On Wed, Sep 12, 2012 at 5:46 PM, Tetsuyuki Kobayashi wrote: > Before this patch i2c_probe() always returned 0 and "i2c probe" command did > not work properly. > > Modify i2c_set_addr() to check TACK when waiting DTE and make i2c_probe() > call this function. > > Signed-off-by: Tetsuyuki Kobayash

Re: [U-Boot] [PATCH v2 4/9] i2c: sh_i2c.c: support I2C2, I2C3 and I2C4

2012-09-12 Thread Nobuhiro Iwamatsu
On Wed, Sep 12, 2012 at 5:21 PM, Tetsuyuki Kobayashi wrote: > sh_i2c.c support I2C0 and I2C1. This patch extends it to I2C4. > > Signed-off-by: Tetsuyuki Kobayashi > --- > Changes for v2: > - new > > drivers/i2c/sh_i2c.c| 15 +++ > include/configs/kzm9g.h |5 - > 2 fil

Re: [U-Boot] [PATCH 1/2] mx6q: Factor out common DDR3 init code

2012-09-12 Thread Fabio Estevam
Hi Stefano, On Wed, Sep 12, 2012 at 7:06 PM, stefano babic wrote: > Ok - before you put your next version, is imx-common the right place fir > it ? I mean, in imx-common we should put code that can be shared among > different Freescale's SOCs. The imximage you want to share is common to > some b

Re: [U-Boot] Help Required [imx35pdk]

2012-09-12 Thread Fabio Estevam
Hi Stefano, On Wed, Sep 12, 2012 at 6:44 PM, stefano babic wrote: > U-Boot for mx35pdk runs from NOR and not from NAND. There is no support > to run from NAND. Even if I can "convince" the board to boot from NAND, > this was not pushed to mainline. I explain why. Reading board/freescale/mx35pdk

Re: [U-Boot] [PATCH] fdt: Check if the FDT address is configured

2012-09-12 Thread Jerry Van Baren
Hi Marek, I'll queue this up this weekend. The merge window for v2012.10 closed September 18. Unless there is an overriding urgency, the patch will go into the following release. On 09/05/2012 02:34 AM, Marek Vasut wrote: > In case the "fdt addr" command wasn't ran yet and any other "fdt" > sub

Re: [U-Boot] [PATCH 1/2] libfdt: Add support for appending the values to a existing property

2012-09-12 Thread Jerry Van Baren
Hi Kim, Minghuan, On 09/12/2012 08:08 PM, Kim Phillips wrote: > On Mon, 27 Aug 2012 19:38:59 -0500 > Kim Phillips wrote: > >> From: Minghuan Lian >> >> Some properties may contain multiple values, these values may need >> to be added to the property respectively. this patch provides this >> fun

Re: [U-Boot] [PATCH 3/7] S3C24XX: Add serial driver

2012-09-12 Thread José Miguel Gonçalves
Hi Marek, On 09/12/2012 10:01 PM, Marek Vasut wrote: Dear José Miguel Gonçalves, Serial driver for the S3C24XX SoCs. Signed-off-by: José Miguel Gonçalves --- drivers/serial/Makefile |1 + drivers/serial/s3c24xx_serial.c | 146 +++ 2 files ch

Re: [U-Boot] [PATCH V5 1/2] ext4fs ls load support

2012-09-12 Thread Tom Rini
On 09/12/2012 03:57 PM, Rob Herring wrote: > On 09/12/2012 05:49 PM, Tom Rini wrote: >> On Mon, Aug 13, 2012 at 01:28:19PM -0500, Rob Herring wrote: >>> On 08/13/2012 06:52 AM, Wolfgang Denk wrote: Dear Rob Herring, In message <50244d5a.3080...@gmail.com> you wrote: > > I rep

Re: [U-Boot] [PATCH 5/7] S3C24XX: Add NAND Flash driver

2012-09-12 Thread Marek Vasut
Dear José Miguel Gonçalves, > On 09/13/2012 01:24 AM, Marek Vasut wrote: > > Dear José Miguel Gonçalves, > > > >> Hi Scott, > >> > >> On 09/13/2012 12:20 AM, Scott Wood wrote: > >>> On 09/12/2012 06:16 PM, José Miguel Gonçalves wrote: > Hi Marek, > > On 09/12/2012 10:11 PM, Marek

Re: [U-Boot] [PATCH 5/7] S3C24XX: Add NAND Flash driver

2012-09-12 Thread José Miguel Gonçalves
On 09/13/2012 01:24 AM, Marek Vasut wrote: Dear José Miguel Gonçalves, Hi Scott, On 09/13/2012 12:20 AM, Scott Wood wrote: On 09/12/2012 06:16 PM, José Miguel Gonçalves wrote: Hi Marek, On 09/12/2012 10:11 PM, Marek Vasut wrote: Dear José Miguel Gonçalves, + +/* + * Hardware specific acc

Re: [U-Boot] [PATCH 5/7] S3C24XX: Add NAND Flash driver

2012-09-12 Thread Marek Vasut
Dear José Miguel Gonçalves, > Hi Scott, > > On 09/13/2012 12:20 AM, Scott Wood wrote: > > On 09/12/2012 06:16 PM, José Miguel Gonçalves wrote: > >> Hi Marek, > >> > >> On 09/12/2012 10:11 PM, Marek Vasut wrote: > >>> Dear José Miguel Gonçalves, > >>> > + > +/* > + * Hardware spec

Re: [U-Boot] [PATCH 5/7] S3C24XX: Add NAND Flash driver

2012-09-12 Thread José Miguel Gonçalves
Hi Scott, On 09/13/2012 12:20 AM, Scott Wood wrote: On 09/12/2012 06:16 PM, José Miguel Gonçalves wrote: Hi Marek, On 09/12/2012 10:11 PM, Marek Vasut wrote: Dear José Miguel Gonçalves, + +/* + * Hardware specific access to control-lines function + */ +static void s3c_nand_hwcontrol(struct

Re: [U-Boot] [PATCH 5/7] S3C24XX: Add NAND Flash driver

2012-09-12 Thread José Miguel Gonçalves
On 09/13/2012 12:45 AM, Marek Vasut wrote: Dear José Miguel Gonçalves, Hi Marek, On 09/12/2012 10:11 PM, Marek Vasut wrote: Dear José Miguel Gonçalves, + +/* + * Hardware specific access to control-lines function + */ +static void s3c_nand_hwcontrol(struct mtd_info *mtd, int cmd, unsigned i

Re: [U-Boot] [PATCH 5/7] S3C24XX: Add NAND Flash driver

2012-09-12 Thread Marek Vasut
Dear José Miguel Gonçalves, > Hi Marek, > > On 09/12/2012 10:11 PM, Marek Vasut wrote: > > Dear José Miguel Gonçalves, > > > >> + > >> +/* > >> + * Hardware specific access to control-lines function > >> + */ > >> +static void s3c_nand_hwcontrol(struct mtd_info *mtd, int cmd, unsigned > >> int c

Re: [U-Boot] using initrd with U-boot on the imx28evk

2012-09-12 Thread Marek Vasut
Dear Bill, > I'm using U-boot version: U-Boot 2012.07 > > Through googling, I've come across several variations of using a > ramdisk. So I selected some things that looked good. So basically, I > am building a rootfs as a ramdisk by: > > dd if=/dev/zero of=./myinitrd.img bs=1M count=35 >

Re: [U-Boot] Pull request: u-boot-mips/master

2012-09-12 Thread Tom Rini
On Thu, Sep 13, 2012 at 01:17:03AM +0200, Daniel Schwierzeck wrote: > Hi Tom, > > The following changes since commit e66443fdb5355e68cfdbbdd37248c4b7eb4968f5: > > Makefile: fix HAVE_VENDOR_COMMON_LIB (2012-08-17 18:07:12 +0200) > > are available in the git repository at: > > git://git.denx.

Re: [U-Boot] Cache alignment warnings on Tegra (ARM)

2012-09-12 Thread Marek Vasut
Dear Stephen Warren, > On 09/12/2012 04:38 PM, Marek Vasut wrote: > > Dear Stephen Warren, > > > >> On 09/12/2012 10:19 AM, Tom Warren wrote: > >>> Folks, > >>> > >>> Stephen Warren has posted an internal bug regarding the cache > >>> alignment 'warnings' seen on Tegra20 boards when accessing MM

Re: [U-Boot] [PATCH 4/7] S3C24XX: Add RTC driver

2012-09-12 Thread José Miguel Gonçalves
Hi Marek, On 09/12/2012 10:03 PM, Marek Vasut wrote: Dear José Miguel Gonçalves, +static inline void rtc_access_disable(void) +{ + s3c24xx_rtc *const rtc = s3c24xx_get_base_rtc(); + uchar rtccon; + + rtccon = readb(&rtc->rtccon); + rtccon &= ~0x01; Magic numbers, fix g

Re: [U-Boot] using initrd with U-boot on the imx28evk

2012-09-12 Thread Bill
I'm using U-boot version: U-Boot 2012.07 Through googling, I've come across several variations of using a ramdisk. So I selected some things that looked good. So basically, I am building a rootfs as a ramdisk by: dd if=/dev/zero of=./myinitrd.img bs=1M count=35 mke2fs -m 1 ./myinitr

Re: [U-Boot] [PATCH 5/7] S3C24XX: Add NAND Flash driver

2012-09-12 Thread Scott Wood
On 09/12/2012 06:16 PM, José Miguel Gonçalves wrote: > Hi Marek, > > On 09/12/2012 10:11 PM, Marek Vasut wrote: >> Dear José Miguel Gonçalves, >> >>> + >>> +/* >>> + * Hardware specific access to control-lines function >>> + */ >>> +static void s3c_nand_hwcontrol(struct mtd_info *mtd, int cmd, >>>

[U-Boot] Pull request: u-boot-mips/master

2012-09-12 Thread Daniel Schwierzeck
Hi Tom, The following changes since commit e66443fdb5355e68cfdbbdd37248c4b7eb4968f5: Makefile: fix HAVE_VENDOR_COMMON_LIB (2012-08-17 18:07:12 +0200) are available in the git repository at: git://git.denx.de/u-boot-mips.git master for you to fetch changes up to b1418d90e7adf236433b1e2bf88e

Re: [U-Boot] [PATCH 5/7] S3C24XX: Add NAND Flash driver

2012-09-12 Thread José Miguel Gonçalves
Hi Marek, On 09/12/2012 10:11 PM, Marek Vasut wrote: Dear José Miguel Gonçalves, + +/* + * Hardware specific access to control-lines function + */ +static void s3c_nand_hwcontrol(struct mtd_info *mtd, int cmd, unsigned int ctrl) +{ + s3c24xx_nand *const nand = s3c24xx_get_base_nand(); +

Re: [U-Boot] Cache alignment warnings on Tegra (ARM)

2012-09-12 Thread Stephen Warren
On 09/12/2012 04:38 PM, Marek Vasut wrote: > Dear Stephen Warren, > >> On 09/12/2012 10:19 AM, Tom Warren wrote: >>> Folks, >>> >>> Stephen Warren has posted an internal bug regarding the cache >>> alignment 'warnings' seen on Tegra20 boards when accessing MMC. Here's >>> the gist: >>> >>> Executi

Re: [U-Boot] [PATCH V5 1/2] ext4fs ls load support

2012-09-12 Thread Rob Herring
On 09/12/2012 05:49 PM, Tom Rini wrote: > On Mon, Aug 13, 2012 at 01:28:19PM -0500, Rob Herring wrote: >> On 08/13/2012 06:52 AM, Wolfgang Denk wrote: >>> Dear Rob Herring, >>> >>> In message <50244d5a.3080...@gmail.com> you wrote: I reported already that the prior version that ext4 has i

Re: [U-Boot] [PATCH V5 1/2] ext4fs ls load support

2012-09-12 Thread Tom Rini
On Mon, Aug 13, 2012 at 01:28:19PM -0500, Rob Herring wrote: > On 08/13/2012 06:52 AM, Wolfgang Denk wrote: > > Dear Rob Herring, > > > > In message <50244d5a.3080...@gmail.com> you wrote: > >> > >> I reported already that the prior version that ext4 has issues with > >> sub-directories. I don't t

Re: [U-Boot] Cache alignment warnings on Tegra (ARM)

2012-09-12 Thread Marek Vasut
Dear Stephen Warren, > On 09/12/2012 10:19 AM, Tom Warren wrote: > > Folks, > > > > Stephen Warren has posted an internal bug regarding the cache > > alignment 'warnings' seen on Tegra20 boards when accessing MMC. Here's > > the gist: > > > > Executing "mmc dev 0" still yields cache warnings: >

Re: [U-Boot] Kernel boot halts with "Verifying Checksum ... Bad Data CRC"

2012-09-12 Thread Marek Vasut
Dear Ellis Andrew, > Hi, > > I'm not sure if this is specifically related to u boot. > > I have compiled a linux kernel, which if I run on a system with flash > memory with 256k sector size there are no problems, however if I rebuild > for a system using flash with 64k sector size the boot proc

Re: [U-Boot] using initrd with U-boot on the imx28evk

2012-09-12 Thread Marek Vasut
Dear Bill, > Has anyone used U-boot on the imx28evk with initrd to setup a small > rootfs in RAM? I need the ability to do have a small temp rootfs to > assist in mounting a full rootfs from a USB for field upgrade purposes. Yes, it's a linux thingie though. What's the problem? What version of u

[U-Boot] [PATCH 7/9] Tegra30: Add config files (common and Cardhu)

2012-09-12 Thread Tom Warren
Signed-off-by: Tom Warren --- include/configs/cardhu.h | 52 +++ include/configs/tegra30-common.h | 188 ++ 2 files changed, 240 insertions(+), 0 deletions(-) create mode 100644 include/configs/cardhu.h create mode 100644 include/configs/te

[U-Boot] [PATCH 9/9] Tegra30: Enable Cardhu build (SPL)

2012-09-12 Thread Tom Warren
This builds & boots to the command prompt on a Cardhu (T30) board. This is a barebones binary - no I2C, USB, MMC, SPI, etc. Drivers for those peripherals to follow. Signed-off-by: Tom Warren --- Makefile| 23 +++ arch/arm/cpu/armv7/Makefile |2 +- ar

[U-Boot] [PATCH 8/9] Tegra30: Add common pinmux config in board_early_init_f

2012-09-12 Thread Tom Warren
Signed-off-by: Tom Warren --- board/nvidia/common/board.c | 27 ++- 1 files changed, 26 insertions(+), 1 deletions(-) diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c index afe832a..4a86c30 100644 --- a/board/nvidia/common/board.c +++ b/board/nvidi

[U-Boot] [PATCH 6/9] Tegra30: Add Cardhu board files

2012-09-12 Thread Tom Warren
Signed-off-by: Tom Warren --- board/nvidia/cardhu/Makefile | 48 board/nvidia/cardhu/cardhu.c | 87 +++ board/nvidia/cardhu/pinmux-config-common.h | 346 3 files changed, 481 insertions(+), 0 deletions(-) create mode 100644 b

[U-Boot] [PATCH 5/9] Tegra: DT: Add preliminary device tree files for T30 Cardhu

2012-09-12 Thread Tom Warren
Signed-off-by: Tom Warren --- arch/arm/dts/tegra30.dtsi | 280 +++ board/nvidia/dts/tegra30-cardhu.dts | 92 2 files changed, 372 insertions(+), 0 deletions(-) create mode 100644 arch/arm/dts/tegra30.dtsi create mode 100644 board/nvidia/

[U-Boot] [PATCH 3/9] Tegra: T30: Add CPU (armv7) files

2012-09-12 Thread Tom Warren
Signed-off-by: Tom Warren --- arch/arm/cpu/armv7/tegra30/Makefile | 48 + arch/arm/cpu/armv7/tegra30/cmd_enterrcm.c | 65 + arch/arm/cpu/armv7/tegra30/config.mk | 26 +++ 3 files changed, 139 insertions(+), 0 deletions(-) c

[U-Boot] [PATCH 2/9] Tegra: T30: Add AVP (arm720t) files

2012-09-12 Thread Tom Warren
Signed-off-by: Tom Warren --- arch/arm/cpu/arm720t/tegra30/Makefile | 48 +++ arch/arm/cpu/arm720t/tegra30/board.h | 25 ++ arch/arm/cpu/arm720t/tegra30/config.mk | 26 ++ arch/arm/cpu/arm720t/tegra30/cpu.c | 570 arch/arm/cpu/arm720t/tegra30/cpu.h

[U-Boot] [PATCH 0/9] Add basic Tegra30 (T30) support

2012-09-12 Thread Tom Warren
This patch series adds basic (boot to cmd prompt) support for Tegra30. This is based on the Tegra20 SPL, which initializes the AVP (ARM7TDMI boot proc) first, then control is transferred to the CPU (A9 quad cluster). It is based on current u-boot-tegra/next. Future patches will add support/drivers

Re: [U-Boot] [PATCH 1/2] mx6q: Factor out common DDR3 init code

2012-09-12 Thread stefano babic
Am 12/09/2012 20:22, schrieb Fabio Estevam: > Jason, > Hi Fabio, > On Tue, Sep 11, 2012 at 11:26 PM, Liu Hui-R64343 wrote: > >> Are you sure that we can use on DDR3 script to cover 3 kind of boards: >> >> ARM2/Sabrelite/SabreSD? Did you do the DDR stress test? > > Ok, looking more closely at

Re: [U-Boot] Help Required [imx35pdk]

2012-09-12 Thread stefano babic
Am 12/09/2012 23:07, schrieb Marek Vasut: > Dear Muhammad Usman, > Hi Muhammad, > Ccing Stefano. > >> I am adding support of imx35pdk in yocto. >> I have done with my bsp. But the u-boot that build in response of my bsp >> only runs over NOR and not on NAND. I spend 2 days on it but failed to d

[U-Boot] [PATCH 2/5] mpc8308rdb: add support for Spansion SPI flash on header J8

2012-09-12 Thread Ira W. Snyder
From: "Ira W. Snyder" The SPI pins are routed to header J8 for testing SPI functionality. A Spansion flash has been wired up and tested on this header. This patch breaks support for the second TSEC interface, since the GPIO pin used as a chip select is pinmuxed with some of the TSEC pins. Signe

[U-Boot] [PATCH 1/5] mpc8xxx_spi: fix SPI support on MPC8308RDB

2012-09-12 Thread Ira W. Snyder
From: "Ira W. Snyder" The MPC8308RDB Reference Manual states that no bits in the SPMODE register are allowed to change while the enable (EN) bit is set. This driver changes the character length bits (LEN) while the enable (EN) bit is set. Clearing the EN bit while changing the LEN bits makes the

[U-Boot] [PATCH 5/5] mpc8308rdb: add support for eSDHC MMC controller

2012-09-12 Thread Ira W. Snyder
From: "Ira W. Snyder" Add support for the onboard eSDHC MMC controller. The hardware on the MPC8308RDB has the following errata: - ESDHC111: manual asynchronous CMD12 is broken - DMA is broken (PIO works) Signed-off-by: Ira W. Snyder --- board/freescale/mpc8308rdb/mpc8308rdb.c |8

[U-Boot] [PATCH 4/5] mpc8308rdb: add support for FIT images

2012-09-12 Thread Ira W. Snyder
From: "Ira W. Snyder" This is very useful on a modern system. Signed-off-by: Ira W. Snyder --- include/configs/MPC8308RDB.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/include/configs/MPC8308RDB.h b/include/configs/MPC8308RDB.h index a24538a..c65635f 100644 ---

[U-Boot] [PATCH 3/5] spansion: add support for S25FL256S1

2012-09-12 Thread Ira W. Snyder
From: "Ira W. Snyder" Add support for the S25FL256S1 flash chip. It is a 256Mb (32MB) flash comprised of 64KB pages. Signed-off-by: Ira W. Snyder --- drivers/mtd/spi/spansion.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/spansion.c b/drivers/

[U-Boot] [PATCH 0/5] mpc8308rdb: improved hardware support

2012-09-12 Thread Ira W. Snyder
From: "Ira W. Snyder" This series improves the hardware support for the Freescale MPC8308RDB board. Optional support for the SPI pins routed to header J8 is added for testing SPI flash chips. This was tested with a Spansion S25FL256S1. This is not enabled by default, because it breaks TSEC2 due

Re: [U-Boot] [PATCH 5/7] S3C24XX: Add NAND Flash driver

2012-09-12 Thread Marek Vasut
Dear José Miguel Gonçalves, > NAND Flash driver with HW ECC for the S3C24XX SoCs. > Currently it only supports SLC NAND chips. > > Signed-off-by: José Miguel Gonçalves > --- > drivers/mtd/nand/Makefile |1 + > drivers/mtd/nand/s3c24xx_nand.c | 269 > ++

Re: [U-Boot] Help Required [imx35pdk]

2012-09-12 Thread Marek Vasut
Dear Muhammad Usman, Ccing Stefano. > I am adding support of imx35pdk in yocto. > I have done with my bsp. But the u-boot that build in response of my bsp > only runs over NOR and not on NAND. I spend 2 days on it but failed to do > so. I read some where that mx35pdk required some external 4-pins

Re: [U-Boot] Code Structure and API functionality of U-Boot

2012-09-12 Thread Marek Vasut
Dear chandan mohanty, > Hi, > I am a new member to u-boot mail list. > I have the source code of u-boot downloaded.I am aware that > /boot,/board,/driver,include/config are the directory of imprtance. > I am trying to read the code. > > 1.I see that there are lots of other files and lots of

Re: [U-Boot] [PATCH 4/7] S3C24XX: Add RTC driver

2012-09-12 Thread Marek Vasut
Dear José Miguel Gonçalves, > RTC driver for the S3C24XX SoCs. > > Signed-off-by: José Miguel Gonçalves > --- > drivers/rtc/Makefile |1 + > drivers/rtc/s3c24xx_rtc.c | 166 > + 2 files changed, 167 > insertions(+) > create mode 100644 drive

Re: [U-Boot] [PATCH 3/7] S3C24XX: Add serial driver

2012-09-12 Thread Marek Vasut
Dear José Miguel Gonçalves, > Serial driver for the S3C24XX SoCs. > > Signed-off-by: José Miguel Gonçalves > --- > drivers/serial/Makefile |1 + > drivers/serial/s3c24xx_serial.c | 146 > +++ 2 files changed, 147 insertions(+) > create mode 10064

[U-Boot] Code Structure and API functionality of U-Boot

2012-09-12 Thread chandan mohanty
Hi,  I am a new member to u-boot mail list.   I have the source code of u-boot downloaded.I am aware that /boot,/board,/driver,include/config are the directory of imprtance.   I am trying to read the code.   1.I see that there are lots of other files and lots of APIs in the above direcories.Can s

[U-Boot] Help Required [imx35pdk]

2012-09-12 Thread Muhammad Usman
I am adding support of imx35pdk in yocto. I have done with my bsp. But the u-boot that build in response of my bsp only runs over NOR and not on NAND. I spend 2 days on it but failed to do so. I read some where that mx35pdk required some external 4-pins bla bla something like that. Also the u-boot

Re: [U-Boot] [PATCH 1/2] mx6q: Factor out common DDR3 init code

2012-09-12 Thread Fabio Estevam
Jason, On Tue, Sep 11, 2012 at 11:26 PM, Liu Hui-R64343 wrote: > Are you sure that we can use on DDR3 script to cover 3 kind of boards: > > ARM2/Sabrelite/SabreSD? Did you do the DDR stress test? Ok, looking more closely at this I will keep the ARM2 DDR3 init as is in my v2 series. sabrelite a

Re: [U-Boot] A little introduction

2012-09-12 Thread Henrik Nordström
ons 2012-09-12 klockan 11:26 +1000 skrev Graeme Russ: > I must make an apology - I had committed to assisting you and Tom in > bringing this port into mainline U-Boot (including investigating the > SPL breakage et. al.). No need to apology. We all have life (to various degrees) outside computers.

Re: [U-Boot] [PATCH 2/2] mx6: Add basic support for mx6qsabresd board.

2012-09-12 Thread Fabio Estevam
Hi Vikram, On Wed, Sep 12, 2012 at 2:30 PM, Vikram Narayanan wrote: > According to this commit, > "CONFIG_SYS_BAUDRATE_TABLE: Add , place there" > (26750c8aee2383a026e0cf89e9310628d3a5a6a0), the above line isn't required > anymore. Right? Yes, you are right. Will remove it in v2. Thanks, Fabi

Re: [U-Boot] [PATCH 2/2] mx6: Add basic support for mx6qsabresd board.

2012-09-12 Thread Vikram Narayanan
On 9/12/2012 12:02 AM, Fabio Estevam wrote: mx6qsabresd is a board based on mx6q SoC with the following features: - 1GB of DDR3 - 1 USB OTG port - 1 HDMI output port - SPI NOR - LVDS panel - Gigabit Ethernet - Camera Connector - eMMC and SD card slot - Audio Add very basic support for it. Signe

Re: [U-Boot] [PATCH v2 0/7] gpt: GUID Partition Table (GPT) restoration

2012-09-12 Thread Tom Rini
On 09/12/2012 07:50 AM, Lukasz Majewski wrote: > This patch series provides a new command - "gpt" for eMMC partition table > (in the GPT format) restoration. > > As a pre-work, some cleanup at the part_efi.c file was performed to > remove custom macros and make GPT related structures more readable

Re: [U-Boot] [PATCH v2 5/7] gpt: Support for GPT (GUID Partition Table) restoration

2012-09-12 Thread Tom Rini
On 09/12/2012 07:50 AM, Lukasz Majewski wrote: > The restoration of GPT table (both primary and secondary) is now possible. > Simple GUID generation is supported. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park [sinp] > + > + printf("GPT successfully written to block device

Re: [U-Boot] [PATCH v2 6/7] gpt: Support for new "gpt" command

2012-09-12 Thread Tom Rini
On 09/12/2012 07:50 AM, Lukasz Majewski wrote: > New command - "gpt" is supported. It restores the GPT partition table. > It looks into the "partitions" environment variable for partitions definition. > It can be enabled at target configuration file with CONFIG_CMD_GPT. > Simple UUID generator has

Re: [U-Boot] [PATCH 1/2] bfin: Disable -fstack-usage

2012-09-12 Thread Tom Rini
On Wed, Sep 12, 2012 at 09:59:30AM +0200, Marek Vasut wrote: > Dear Mike Frysinger, > > > On Tue, Sep 11, 2012 at 3:08 PM, Marek Vasut wrote: > > > The GCC does not support this on blackfin, disable it. > > > > err, no, you're probably using gcc-4.5.x which didn't support > > -fstack-usage. that

Re: [U-Boot] [PATCHv2] ARM: Add Altera SOCFPGA Cyclone5

2012-09-12 Thread Tom Rini
On 09/10/2012 05:21 PM, Pavel Machek wrote: > Hi! > >>> From: Dinh Nguyen >>> >>> Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. >>> >>> Applied on top of trini/WIP/spl-improvements v6 >> [...] >> >> __noreturn attribute to reset_cpu() is still missing, but that's a >> minor thing.

Re: [U-Boot] [PATCHv2] ARM: Add Altera SOCFPGA Cyclone5

2012-09-12 Thread Tom Rini
On Tue, Sep 11, 2012 at 07:53:17AM +0200, Stefan Roese wrote: > Hi Pavel, > > On 09/11/2012 02:21 AM, Pavel Machek wrote: > >>> From: Dinh Nguyen > >>> > >>> Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. > >>> > >>> Applied on top of trini/WIP/spl-improvements v6 > >> [...] > >> >

Re: [U-Boot] Cache alignment warnings on Tegra (ARM)

2012-09-12 Thread Stephen Warren
On 09/12/2012 10:19 AM, Tom Warren wrote: > Folks, > > Stephen Warren has posted an internal bug regarding the cache > alignment 'warnings' seen on Tegra20 boards when accessing MMC. Here's > the gist: > > Executing "mmc dev 0" still yields cache warnings: > > Tegra20 (Harmony) # mmc dev 0 > ERR

Re: [U-Boot] [PATCH V2 4/4] cmd_part: add partition-related command

2012-09-12 Thread Tom Rini
On 09/12/2012 12:00 AM, Lukasz Majewski wrote: > Hi Stephen, Tom, > > >> Rob's series depends on Wolfgang(?)'s u-boot/ext4 branch at present. >> I'm not sure what the status of that branch is right now - is it >> something that's ready to be submitted, or is more work there needed, >> so the bran

Re: [U-Boot] [PATCH V2 4/4] cmd_part: add partition-related command

2012-09-12 Thread Tom Rini
On 09/11/2012 03:52 PM, Stephen Warren wrote: > On 09/05/2012 05:58 PM, Tom Rini wrote: >> On Wed, Sep 05, 2012 at 06:51:58PM -0500, Rob Herring wrote: >>> On 09/05/2012 05:03 PM, Stephen Warren wrote: From: Stephen Warren This implements the following: part uuid mmc 0:1 >

Re: [U-Boot] [PATCH v4] PXE: FDT: Add support for fdt in PXE

2012-09-12 Thread Tom Rini
On Fri, Sep 07, 2012 at 11:06:31AM +0530, Chander Kashyap wrote: > Now DT support is becoming common for all new SoC's. Hence it is better > to have option for getting specific FDT from the remote server. > > This patch adds support for new label i.e. 'fdt'. This will allow to > retrieve 'fdt blo

[U-Boot] Cache alignment warnings on Tegra (ARM)

2012-09-12 Thread Tom Warren
Folks, Stephen Warren has posted an internal bug regarding the cache alignment 'warnings' seen on Tegra20 boards when accessing MMC. Here's the gist: Executing "mmc dev 0" still yields cache warnings: Tegra20 (Harmony) # mmc dev 0 ERROR: v7_dcache_inval_range- stop address is not aligned- 0x3fb6

Re: [U-Boot] [PATCH 2/2] bfin: Fix warning in bfin_mac

2012-09-12 Thread Mike Frysinger
On Wed, Sep 12, 2012 at 10:32 AM, Joe Hershberger wrote: > On Wed, Sep 12, 2012 at 4:51 AM, Marek Vasut wrote: >> Dear Marek Vasut, >>> The buf variable in bfin_mac.c is not used and produces warning, >>> fix it. >>> >>> bfin_mac.c: In function 'bfin_EMAC_send': >>> bfin_mac.c:125:16: warning: vari

Re: [U-Boot] [PATCH v3 5/6] da850/omap-l138: davinci_emac: Suppress auto negotiation if needed

2012-09-12 Thread Tom Rini
On 09/10/2012 10:32 PM, bastian.rupp...@sewerin.de wrote: > Hello, Prabhakar, hello Tom > >> On Monday 10 September 2012 09:38 PM, Tom Rini wrote: >>> On Sun, Sep 9, 2012 at 11:01 PM, wrote: Hello, > Re: [U-Boot] [PATCH v3 5/6] da850/omap-l138: davinci_emac: Suppress > auto neg

[U-Boot] Next steps

2012-09-12 Thread Tom Rini
Hey all, I know some of you have known me for ages, and some of you only as long as my jaunt back into U-Boot over the last year. Rather than talk myself up, I'd like to go with actions to let everyone know you're in good hands. I'd like to ask a few things of the community right now. If you're

[U-Boot] [PATCH v2 7/7] gpt: Enable support for GPT partition table restoration at Samsung's Trats

2012-09-12 Thread Lukasz Majewski
Enable support for GPT partition table restoration at Samsung's Trats development board. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park --- Changes for v2: - New format for default GPT partitions (key=value pairs) - replace size definitions with more readable description(1GiB inste

[U-Boot] [PATCH v2 6/7] gpt: Support for new "gpt" command

2012-09-12 Thread Lukasz Majewski
New command - "gpt" is supported. It restores the GPT partition table. It looks into the "partitions" environment variable for partitions definition. It can be enabled at target configuration file with CONFIG_CMD_GPT. Simple UUID generator has been implemented. It uses the the gd->start_addr_sp for

[U-Boot] [PATCH v2 4/7] gpt: The leXX_to_int() calls replaced with ones defined at

2012-09-12 Thread Lukasz Majewski
From: Chang Hyun Park Custom definitions of le_XX_to_int functions have been replaced with standard ones, defined at Replacement of several GPT related structures members with ones indicating its endianness and proper size. Signed-off-by: Chang Hyun Park Signed-off-by: Lukasz Majewski Signed

[U-Boot] [PATCH v2 2/7] part:efi: Move part_efi.h file to ./include

2012-09-12 Thread Lukasz Majewski
This move is necessary to export gpt header and GPT partition entries to be used with other commands or subsystems (like DFU in the future) Additionally the part_efi.h file has been cleaned-up to supress checkpatch's warnings. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park --- disk

[U-Boot] [PATCH v2 5/7] gpt: Support for GPT (GUID Partition Table) restoration

2012-09-12 Thread Lukasz Majewski
The restoration of GPT table (both primary and secondary) is now possible. Simple GUID generation is supported. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park --- Changes for v2: - Move GPT Header and Page Table Entries generation code to cmd_gpt.c - Provide clean API to use set_gp

[U-Boot] [PATCH v2 3/7] gpt:doc: GPT (GUID Partition Table) documentation

2012-09-12 Thread Lukasz Majewski
Documentation of the GPT format. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park --- Changes for v2: - Typos correction. - Adding guidlines about GPT restoration. - Adding information about GUID generator --- doc/README.gpt | 207 +++

[U-Boot] [PATCH v2 1/7] vsprintf:fix: Change type returned by ustrtoul

2012-09-12 Thread Lukasz Majewski
The ustrtoul shall convert string defined size (e.g. 1GiB) to unsigned long type (as its name implies). Up till now it had returned int, which might cause problems with large numbers (GiB range), when interpreted as U2 signed numbers. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park

[U-Boot] [PATCH v2 0/7] gpt: GUID Partition Table (GPT) restoration

2012-09-12 Thread Lukasz Majewski
This patch series provides a new command - "gpt" for eMMC partition table (in the GPT format) restoration. As a pre-work, some cleanup at the part_efi.c file was performed to remove custom macros and make GPT related structures more readable. Moreover the part_efi.h file has been moved to ./inclu

Re: [U-Boot] [PATCH 2/6] gpt: Replace the leXX_to_int() calls with ones defined at

2012-09-12 Thread Lukasz Majewski
Hi Chang Hyun, > Hello Lukasz, Stephen, > I see there has been quite a few mails going back and forth on the > mailing list on the "gpt: Replace the leXX_to_int() calls with ones > defined at "I haven't been receiving the e-mails because > my samsung e-mail account has expired.(Internship expired

Re: [U-Boot] [PATCH 2/2] bfin: Fix warning in bfin_mac

2012-09-12 Thread Joe Hershberger
On Wed, Sep 12, 2012 at 4:51 AM, Marek Vasut wrote: > Dear Marek Vasut, > >> The buf variable in bfin_mac.c is not used and produces warning, >> fix it. >> >> bfin_mac.c: In function 'bfin_EMAC_send': >> bfin_mac.c:125:16: warning: variable 'buf' set but not used >> [-Wunused-but-set-variable] >>

[U-Boot] [PATCH 2/7] S3C24XX: Add core support for Samsung's S3C24XX SoCs

2012-09-12 Thread José Miguel Gonçalves
This patch adds the support for Samsung's S3C24XX SoCs that have an ARM926EJS core. Currently it supports S3C2412, S3C2413, S3C2416 and S3C2450. Tested on an S3C2416 platform. Signed-off-by: José Miguel Gonçalves --- arch/arm/cpu/arm926ejs/s3c24xx/Makefile | 52 +++ arch/arm/cpu/arm92

[U-Boot] [PATCH 0/7] Add support to MINI2416 board

2012-09-12 Thread José Miguel Gonçalves
Support for the MINI2416 board based on a Samsung's S3C2416 SoC with 64MB DDR2 SDRAM, 256MB NAND Flash, a LAN9220 Ethernet Controller and a WM8731 Audio CODEC. José Miguel Gonçalves (7): ARM: fix relocation on ARM926EJS S3C24XX: Add core support for Samsung's S3C24XX SoCs S3C24XX: Add serial

[U-Boot] [PATCH 7/7] S3C24XX: Add support to MINI2416 board

2012-09-12 Thread José Miguel Gonçalves
The MINI2416 board is based on a Samsung's S3C2416 SoC and has 64MB DDR2 SDRAM, 256MB NAND Flash, a LAN9220 Ethernet Controller and a WM8731 Audio CODEC. This U-Boot port was implemented and tested on a unit bought to Boardcon (http://www.armdesigner.com/) but there are some other chinese providers

[U-Boot] [PATCH 5/7] S3C24XX: Add NAND Flash driver

2012-09-12 Thread José Miguel Gonçalves
NAND Flash driver with HW ECC for the S3C24XX SoCs. Currently it only supports SLC NAND chips. Signed-off-by: José Miguel Gonçalves --- drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/s3c24xx_nand.c | 269 +++ 2 files changed, 270 insertions(+) cr

[U-Boot] [PATCH 3/7] S3C24XX: Add serial driver

2012-09-12 Thread José Miguel Gonçalves
Serial driver for the S3C24XX SoCs. Signed-off-by: José Miguel Gonçalves --- drivers/serial/Makefile |1 + drivers/serial/s3c24xx_serial.c | 146 +++ 2 files changed, 147 insertions(+) create mode 100644 drivers/serial/s3c24xx_serial.c diff --gi

[U-Boot] [PATCH 1/7] ARM: fix relocation on ARM926EJS

2012-09-12 Thread José Miguel Gonçalves
Jumping to board_init_r is not performed due to a bug on address computation. Relocation offsets are not needed when building SPL. Signed-off-by: José Miguel Gonçalves --- arch/arm/cpu/arm926ejs/start.S |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/arm926

[U-Boot] [PATCH 6/7] Add u-boot-ubl.bin target to the Makefile

2012-09-12 Thread José Miguel Gonçalves
Samsung's S3C24XX SoCs need this in order to generate a binary image with the SPL and U-Boot concatenated. Signed-off-by: José Miguel Gonçalves --- Makefile |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 058fb53..595b5f6 100644 --- a/Make

[U-Boot] [PATCH 4/7] S3C24XX: Add RTC driver

2012-09-12 Thread José Miguel Gonçalves
RTC driver for the S3C24XX SoCs. Signed-off-by: José Miguel Gonçalves --- drivers/rtc/Makefile |1 + drivers/rtc/s3c24xx_rtc.c | 166 + 2 files changed, 167 insertions(+) create mode 100644 drivers/rtc/s3c24xx_rtc.c diff --git a/drivers/rtc

Re: [U-Boot] [PATCH 4/4 v3] xilinx: Add new Zynq board

2012-09-12 Thread Michal Simek
On 08/16/2012 08:30 AM, Michal Simek wrote: Add support for Xilinx Zynq board. Signed-off-by: Michal Simek --- v2: Forget to also add config file v3: Change name for serial driver Remove lowlevel_init from board folder Remove XPSS part from timer baseaddr Change name for Zynq g

  1   2   >