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

2012-09-12 Thread Lukasz Majewski
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 branch won't be pulled into u-boot/master in the near future?

Re: [U-Boot] [PATCH v4 1/2] i2c:soft:multi: Support for multiple soft I2C buses at Samsung boards

2012-09-12 Thread Lukasz Majewski
Hi Minkyu, > Support for multiple soft I2C buses. > > Multibus I2C support is achieved by defining get_multi_{sda|scl}_pin > functions to switch between multiple "soft" I2C buses. > > Common definition of I2C_X I2C buses is provided at . > > TEST HW: > Samsung's Exynos4210 evt.0.1 - Trats

[U-Boot] Help Required [imx35pdk_u-boot]

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 and page size is

Re: [U-Boot] [PATCH v4 1/2] i2c:soft:multi: Support for multiple soft I2C buses at Samsung boards

2012-09-12 Thread Minkyu Kang
Dear Lukasz, On 12 September 2012 16:06, Lukasz Majewski wrote: > Hi Minkyu, > >> Support for multiple soft I2C buses. >> >> Multibus I2C support is achieved by defining get_multi_{sda|scl}_pin >> functions to switch between multiple "soft" I2C buses. >> >> Common definition of I2C_X I2C buses is

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

2012-09-12 Thread Marek Vasut
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 is not specific to Blackfin as gcc didn't add it > until 4.6.x. I actuall

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

2012-09-12 Thread Tetsuyuki Kobayashi
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 board config file and replace HAS_ICIC67. drivers/i2c/sh_i2c.c| 30 ++

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

2012-09-12 Thread Tetsuyuki Kobayashi
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 --git a/drivers/i2c/sh_i2c.c b/drivers/i2c/sh_i2c.c index e3ee804..60bad52 1006

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

2012-09-12 Thread Tetsuyuki Kobayashi
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/kzm9g.c index 93ca9d7..22f581a 100644 --- a/board/kmc/kzm9g/kzm9g.c +++ b/board/kmc

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

2012-09-12 Thread Tetsuyuki Kobayashi
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 files changed, 19 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/sh_i2c.c

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

2012-09-12 Thread Tetsuyuki Kobayashi
Hi, Iwamatsu-san Hello, Heiko Iwamatu-san, thank you for review. This is v2 patch for sh_i2c. Now "i2c dev" and "i2c probe" also work properly on KZM-A9-GT board. I think this modification is common for R-mobile, but I have SH73A0 document only. Iwamatu-san, please review this. This patch set is

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

2012-09-12 Thread Tetsuyuki Kobayashi
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/i2c/sh_i2c.c | 44 1 file changed,

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

2012-09-12 Thread Tetsuyuki Kobayashi
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/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c index 0679be6..93ca9d7 100644 --- a/boa

[U-Boot] [PATCH v2 3/9] i2c: sh_i2c.c: adjust for SH73A0

2012-09-12 Thread Tetsuyuki Kobayashi
Adjust i2c_raw_read() in sh_i2c.c to work for SH73A0. After this patch, "i2c md" and "i2c mw" command on U-Boot work properly on KZM-A9-GT board. Signed-off-by: Tetsuyuki Kobayashi --- Changes for v2: - none drivers/i2c/sh_i2c.c|4 include/configs/kzm9g.h |2 +- 2 files chang

[U-Boot] [PATCH v2 2/9] i2c: sh_i2c.c: correct BUSY bit define in ICSR

2012-09-12 Thread Tetsuyuki Kobayashi
Correct BUSY bit define in ICSR from (1<<3) to (1<<4). Signed-off-by: Tetsuyuki Kobayashi --- Changes for v2: - none drivers/i2c/sh_i2c.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/sh_i2c.c b/drivers/i2c/sh_i2c.c index b98fce5..03dfa7a 100644 --- a/drive

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

2012-09-12 Thread Tetsuyuki Kobayashi
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 Kobayashi --- Changes for v2: - new drivers/i2c/sh_i2c.c | 29 +

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

2012-09-12 Thread stefano babic
Am 12/09/2012 04:42, schrieb Liu Hui-R64343: >> -Original Message- >> From: Fabio Estevam [mailto:feste...@gmail.com] >> Sent: Wednesday, September 12, 2012 10:33 AM >> To: Liu Hui-R64343 >> Cc: Estevam Fabio-R49496; sba...@denx.de; u-boot@lists.denx.de >> Subject: Re: [U-Boot] [PATCH 1/2]

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

2012-09-12 Thread Tetsuyuki Kobayashi
Some mails seems to be missing. I am sending again.. Hi, Iwamatsu-san Hello, Heiko Iwamatu-san, thank you for review. This is v2 patch for sh_i2c. Now "i2c dev" and "i2c probe" also work properly on KZM-A9-GT board. I think this modification is common for R-mobile, but I have SH73A0 document on

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

2012-09-12 Thread Tetsuyuki Kobayashi
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 board config file and replace HAS_ICIC67. drivers/i2c/sh_i2c.c| 30 ++

[U-Boot] [PATCH v2 2/9] i2c: sh_i2c.c: correct BUSY bit define in ICSR

2012-09-12 Thread Tetsuyuki Kobayashi
Correct BUSY bit define in ICSR from (1<<3) to (1<<4). Acked-by: Nobuhiro Iwamatsu Signed-off-by: Tetsuyuki Kobayashi --- Changes for v2: - none drivers/i2c/sh_i2c.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/sh_i2c.c b/drivers/i2c/sh_i2c.c index b98fce

[U-Boot] [PATCH v2 3/9] i2c: sh_i2c.c: adjust for SH73A0

2012-09-12 Thread Tetsuyuki Kobayashi
Adjust i2c_raw_read() in sh_i2c.c to work for SH73A0. After this patch, "i2c md" and "i2c mw" command on U-Boot work properly on KZM-A9-GT board. Acked-by: Nobuhiro Iwamatsu Signed-off-by: Tetsuyuki Kobayashi --- Changes for v2: - none drivers/i2c/sh_i2c.c|4 include/configs/kzm

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

2012-09-12 Thread Tetsuyuki Kobayashi
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 files changed, 19 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/sh_i2c.c

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

2012-09-12 Thread Tetsuyuki Kobayashi
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 Kobayashi --- Changes for v2: - new drivers/i2c/sh_i2c.c | 29 +

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

2012-09-12 Thread Tetsuyuki Kobayashi
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/i2c/sh_i2c.c | 44 1 file changed,

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

2012-09-12 Thread Tetsuyuki Kobayashi
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 --git a/drivers/i2c/sh_i2c.c b/drivers/i2c/sh_i2c.c index e3ee804..60bad52 1006

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

2012-09-12 Thread Tetsuyuki Kobayashi
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/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c index 0679be6..93ca9d7 100644 --- a/boa

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

2012-09-12 Thread Tetsuyuki Kobayashi
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/kzm9g.c index 93ca9d7..22f581a 100644 --- a/board/kmc/kzm9g/kzm9g.c +++ b/board/kmc

Re: [U-Boot] [Patch] make reset_cpu nonreturn.

2012-09-12 Thread Pavel Machek
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 Pavel Machek
Hi! > 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 > >> [...] > >> > >> __noreturn attribute to reset_cpu() is still missing, but that's a >

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

2012-09-12 Thread Marek Vasut
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] > > Signed-off-by: Marek Vasut > Cc: Mike Frysinger Guess I

[U-Boot] Pull request - microblaze

2012-09-12 Thread Michal Simek
Dear Wolfgang, please pull the following changes to your tree. Thanks, Michal The following changes since commit a6f0c4faa4c65a7b7048b12c9d180d7e1aad1721: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-avr32 are available in the git repository at: git://www.

Re: [U-Boot] [PATCH 2/4 v2] net: Add driver for Zynq Gem IP

2012-09-12 Thread Michal Simek
On 08/16/2012 08:30 AM, Michal Simek wrote: Device driver for Zynq Gem IP. Signed-off-by: Michal Simek CC: Joe Hershberger --- v2: Remove phylib protection Rename driver file name xilinx_gem to zynq_gem Rename XEMACPSS to ZYNQ_GEM Rename gemac_priv to zynq_gem_priv Rename

Re: [U-Boot] [PATCH 1/4 v2] serial: Add Zynq serial driver

2012-09-12 Thread Michal Simek
On 08/16/2012 08:30 AM, Michal Simek wrote: The driver is used on Xilinx Zynq platform. Signed-off-by: Michal Simek --- v2: Use Zynq name instead of Dragonfire and XPSS/XDFUART Rename driver name Remove driver description --- drivers/serial/Makefile |1 + drivers/serial/s

Re: [U-Boot] [PATCH 2/2] ARM: at91sam9x5: enable MCI0 support for 9x5ek board.

2012-09-12 Thread Josh Wu
Hi, Voice On 9/10/2012 4:07 PM, Bo Shen wrote: Hi Josh, On 9/7/2012 18:39, Josh Wu wrote: Signed-off-by: Josh Wu --- arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c | 13 + board/atmel/at91sam9x5ek/at91sam9x5ek.c | 16 include/configs/at91sam9

Re: [U-Boot] [PATCH 3/4 v2] arm: Support new Xilinx Zynq platform

2012-09-12 Thread Michal Simek
On 08/16/2012 08:30 AM, Michal Simek wrote: Add timer driver. Signed-off-by: Michal Simek --- v2: Move lowlevel_init.S from board to cpu folder Remove XPSS prefix Rename XSCUTIMER -> SCUTIMER Keep timer in zynq folder till ARM custodian comments it. --- arch/arm/cpu/armv7/zynq/Mak

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

[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

[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 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 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 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 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 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 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

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] >>

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

[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

[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 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 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 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 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 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 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] 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

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

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

[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 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

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 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] 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] [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] [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] [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] [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 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 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 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 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] 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 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

[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

[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

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

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] 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] 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] [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 > ++

[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

[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 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 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 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 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

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

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

[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

[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 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 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 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 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 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 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

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

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] 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] [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] [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] 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

  1   2   >