[U-Boot] i2c loop command

2013-05-27 Thread TigerLiu
Hi, experts: There is an iloop command in older version uboot. Current uboot also included i2c loop cmd. It's an infinite loop on i2c_read. So, when to use this command? Just for debugging I2C read function? Best wishes, ___ U-Boot mailing list

Re: [U-Boot] [PATCH] powerpc/CoreNet: Allow pbl images to take u-boot images != 512K

2013-05-27 Thread Xie Shaohui-B21989
Hi, Chris, For the init value of next_pbl_cmd, there was a patch at below link can be used: http://lists.denx.de/pipermail/u-boot/2013-March/150260.html this patch with your modification below should can meet your requirement: -static unsigned char mem_buf[60]; +static unsigned char

Re: [U-Boot] [HELP]: sf: winbond: add W25Q32

2013-05-27 Thread Jagan Teki
Hi, Thanks for your response. On Mon, May 27, 2013 at 11:09 AM, Rajeshwari Birje rajeshwari.bi...@gmail.com wrote: Hi Jagan, Hope following reply answer your query. On Sat, May 25, 2013 at 2:08 AM, Jagan Teki jagannadh.t...@gmail.com wrote: Hi, Any update on this, is this a different

Re: [U-Boot] [PATCH v3 0/6] arm: mvf600: Add Freescale Vybrid MVF600 CPU and MVF600TWR board support

2013-05-27 Thread Stefano Babic
On 24/05/2013 08:18, Wang Huan-B18965 wrote: [Alison Wang] We usually named the Powerpc(before QorIQ) as MPC and ColdFire as MCF, So we generally named the Vybrid as MVF. We had some internal discussion for this, and we think we should use VF instead of MVF, we will follow the internal

Re: [U-Boot] [HELP]: sf: winbond: add W25Q32

2013-05-27 Thread Jagan Teki
Hi Rajeshwari, On Mon, May 27, 2013 at 11:59 AM, Jagan Teki jagannadh.t...@gmail.com wrote: Hi, Thanks for your response. On Mon, May 27, 2013 at 11:09 AM, Rajeshwari Birje rajeshwari.bi...@gmail.com wrote: Hi Jagan, Hope following reply answer your query. On Sat, May 25, 2013 at 2:08

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-27 Thread Lukasz Majewski
Hi Heiko, Hello Tom, Am 24.05.2013 19:12, schrieb Tom Rini: On Fri, May 24, 2013 at 07:42:01PM +0300, Pantelis Antoniou wrote: Hi Heiko, On May 24, 2013, at 7:39 PM, Heiko Schocher wrote: Hello, just digging in DFU support in U-Boot for an upcoming board support based on an

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-27 Thread Heiko Schocher
Hello Lukasz, Am 27.05.2013 09:02, schrieb Lukasz Majewski: Hi Heiko, Hello Tom, Am 24.05.2013 19:12, schrieb Tom Rini: On Fri, May 24, 2013 at 07:42:01PM +0300, Pantelis Antoniou wrote: Hi Heiko, On May 24, 2013, at 7:39 PM, Heiko Schocher wrote: Hello, just digging in DFU support

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-27 Thread Pantelis Antoniou
Hi Guys, On May 27, 2013, at 10:28 AM, Heiko Schocher wrote: Hello Lukasz, Am 27.05.2013 09:02, schrieb Lukasz Majewski: Hi Heiko, Hello Tom, Am 24.05.2013 19:12, schrieb Tom Rini: On Fri, May 24, 2013 at 07:42:01PM +0300, Pantelis Antoniou wrote: Hi Heiko, On May 24, 2013, at

Re: [U-Boot] [PATCH 5/6] spl: Make CONFIG_SPL_BUILD contain more functionality

2013-05-27 Thread Zhang Ying-B40530
So, about this patch, what need I do? -Original Message- From: Tom Rini [mailto:tom.r...@gmail.com] On Behalf Of Tom Rini Sent: Saturday, May 25, 2013 3:18 AM To: Wood Scott-B07421 Cc: u-boot@lists.denx.de; Zhang Ying-B40530; aflem...@gmail.com; Xie Xiaobo-R63061; Zhang Ying-B40530

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-27 Thread Heiko Schocher
Hello, Am 27.05.2013 09:35, schrieb Pantelis Antoniou: Hi Guys, On May 27, 2013, at 10:28 AM, Heiko Schocher wrote: Hello Lukasz, Am 27.05.2013 09:02, schrieb Lukasz Majewski: Hi Heiko, Hello Tom, Am 24.05.2013 19:12, schrieb Tom Rini: On Fri, May 24, 2013 at 07:42:01PM +0300,

Re: [U-Boot] i2c loop command

2013-05-27 Thread Heiko Schocher
Hello, Am 27.05.2013 08:08, schrieb tiger...@viatech.com.cn: Hi, experts: There is an iloop command in older version uboot. Current uboot also included i2c loop cmd. Yes. It's an infinite loop on i2c_read. Yes! So, when to use this command? Just for debugging I2C read function? If you

Re: [U-Boot] [PATCH 2/6] mmc: ftsdc010_mci: fix build error if CONFIG_FTSDC010_SDIO is not defined

2013-05-27 Thread Kuo-Jung Su
2013/5/26 Gabor Juhos juh...@openwrt.org: The FTSDC010_DCR_FIFO_RST symbol is conditionally defined in faraday/ftsdc010.h and it is available available when CONFIG_FTSDC010_SDIO is enabled. However the actual driver code unconditionally uses the FTSDC010_DCR_FIFO_RST constant and this causes

Re: [U-Boot] powerpc/mpc8xxx failed to compile: operand out of range

2013-05-27 Thread Jérôme Arzel
On 05/24/2013 10:13:55 PM, Scott Wood wrote: On 05/23/2013 04:52:26 AM, Jérôme Arzel wrote: Hi all, I have an issue when I compile U-Boot for my target machine (P1022DS, 36-bit). Here is the error message: release.S: Assembler messages: release.S:154: Error: operand out of

[U-Boot] [PATCH] OpenRD: relocate environment to 640kB

2013-05-27 Thread Sascha Silbe
U-Boot has become slightly larger than where the environment sector was previously located. Saving the environment would brick the device. Relocate the environment to where it is with the stock (i.e. Marvell USP) U-Boot version. That should give plenty of room for U-Boot to grow, including local

Re: [U-Boot] [PATCH] Wandboard: Add support for Wandboard quad

2013-05-27 Thread Fabio Estevam
Hi Tapani, On Mon, May 27, 2013 at 1:13 AM, Tapani Utriainen tap...@technexion.com wrote: Add support for the Wandboard quad. Signed-off-by: Tapani Utriainen tap...@technexion.com --- boards.cfg | 1 + include/configs/wandboard.h | 2 ++ 2 files changed, 3 insertions(+)

[U-Boot] [PATCH] generic_board: reduce the redundancy of gd_t struct members

2013-05-27 Thread Masahiro Yamada
This commit refactors common/board_f.c and common/board_r.c in order to delete the dest_addr and dest_addr_sp from gd_t struct. As mentioned as follows in include/asm-generic/global_data.h, /* TODO: is this the same as relocaddr, or something else? */ unsigned long dest_addr;/*

Re: [U-Boot] [PATCH] powerpc/CoreNet: Allow pbl images to take u-boot images != 512K

2013-05-27 Thread Chris Packham
On 27/05/13 18:18, Xie Shaohui-B21989 wrote: Hi, Chris, For the init value of next_pbl_cmd, there was a patch at below link can be used: http://lists.denx.de/pipermail/u-boot/2013-March/150260.html Thanks for the pointer. I did check the main u-boot.git tree but didn't search the list.

Re: [U-Boot] [PATCH] drivers:lcd: fix unaligned access on lcd

2013-05-27 Thread Piotr Wilczek
Dear Wolfgang Denk, -Original Message- From: Wolfgang Denk [mailto:w...@denx.de] Sent: Friday, May 24, 2013 8:33 PM To: Piotr Wilczek Cc: u-boot@lists.denx.de; Kyungmin Park Subject: Re: [U-Boot] [PATCH] drivers:lcd: fix unaligned access on lcd Dear Piotr Wilczek, In message

Re: [U-Boot] [PATCH] Wandboard: Add support for Wandboard quad

2013-05-27 Thread Otavio Salvador
On Mon, May 27, 2013 at 1:13 AM, Tapani Utriainen tap...@technexion.comwrote: Add support for the Wandboard quad. Signed-off-by: Tapani Utriainen tap...@technexion.com --- boards.cfg | 1 + include/configs/wandboard.h | 2 ++ 2 files changed, 3 insertions(+) diff

Re: [U-Boot] minimum bdi config to read flash on 85xx

2013-05-27 Thread Monica
We are using BDI3000 to Burn u-boot.bin to Flash memory. The flash we are using is Spansion S29GL512S. As per the flash datasheet we tried programming 4 bytes( using telnet mmb command) write buffer programming cycle. We succeeded. But when we tried programming a binary file ( u-boot.bin) ,it

Re: [U-Boot] minimum bdi config to read flash on 85xx

2013-05-27 Thread Fabio Estevam
Hi Monica, On Mon, May 27, 2013 at 10:01 AM, Monica monic...@hcl.com wrote: We are using BDI3000 to Burn u-boot.bin to Flash memory. The flash we are using is Spansion S29GL512S. As per the flash datasheet we tried programming 4 bytes( using telnet mmb command) write buffer programming

Re: [U-Boot] [PATCH v4 0/4] Factorize ARM relocate_code instances

2013-05-27 Thread Simon Glass
Hi Albert, On Mon, May 20, 2013 at 2:26 AM, Albert ARIBAUD albert.u.b...@aribaud.netwrote: Hi Benoît, On Sun, 19 May 2013 17:57:59 +0200 (CEST), Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: Hi Albert, On Sunday, May 19, 2013 1:48:11 PM, Albert ARIBAUD wrote: This series

Re: [U-Boot] [PATCH v4 0/4] Factorize ARM relocate_code instances

2013-05-27 Thread Albert ARIBAUD
Hi Simon, On Mon, 27 May 2013 07:56:48 -0700, Simon Glass s...@chromium.org wrote: Hi Albert, On Mon, May 20, 2013 at 2:26 AM, Albert ARIBAUD albert.u.b...@aribaud.netwrote: Hi Benoît, On Sun, 19 May 2013 17:57:59 +0200 (CEST), Benoît Thébaudeau benoit.thebaud...@advansee.com

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-27 Thread Wolfgang Denk
Dear Heiko Schocher, In message 51a30f34.7030...@denx.de you wrote: But how to handle a raw nand partition and a ubi partition on one nand? If ubi is a new dfu interface, somebody must start dfu on u-boot with dfu nand .. or dfu ubi .. dependent on which partition has to be updated ...

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-27 Thread Pantelis Antoniou
Hi On May 27, 2013, at 7:25 PM, Wolfgang Denk wrote: Dear Heiko Schocher, In message 51a30f34.7030...@denx.de you wrote: But how to handle a raw nand partition and a ubi partition on one nand? If ubi is a new dfu interface, somebody must start dfu on u-boot with dfu nand .. or dfu

[U-Boot] [PATCH 1/2] wandboard: Use 'wandboard' vendor for the Wandboard boards

2013-05-27 Thread Otavio Salvador
The board needs to be under a 'wandboard' vendor so we can use it to choose the proper Boot Splash image. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- board/wandboard/{ = }/wandboard/Makefile| 0 board/wandboard/{ = }/wandboard/README | 0 board/wandboard/{ =

Re: [U-Boot] [PATCH v4 0/4] Factorize ARM relocate_code instances

2013-05-27 Thread Simon Glass
Hi Albert, On Mon, May 27, 2013 at 9:16 AM, Albert ARIBAUD albert.u.b...@aribaud.netwrote: Hi Simon, On Mon, 27 May 2013 07:56:48 -0700, Simon Glass s...@chromium.org wrote: Hi Albert, On Mon, May 20, 2013 at 2:26 AM, Albert ARIBAUD albert.u.b...@aribaud.netwrote: Hi Benoît,

[U-Boot] [PATCH 2/2] wandboard: Add Boot Splash image with Wandboard logo

2013-05-27 Thread Otavio Salvador
Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- include/configs/wandboard.h | 3 +++ tools/Makefile | 3 +++ tools/logos/wandboard.bmp | Bin 0 - 22390 bytes 3 files changed, 6 insertions(+) create mode 100644 tools/logos/wandboard.bmp diff --git

[U-Boot] [PATCH v2 1/2] wandboard: Use 'wandboard' vendor for the Wandboard boards

2013-05-27 Thread Otavio Salvador
The board needs to be under a 'wandboard' vendor so we can use it to choose the proper Boot Splash image. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v2: - Fix indenting in boards.cfg board/wandboard/{ = }/wandboard/Makefile| 0 board/wandboard/{ =

[U-Boot] [PATCH v2 2/2] wandboard: Add Boot Splash image with Wandboard logo

2013-05-27 Thread Otavio Salvador
Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v2: - Move config changes to video block include/configs/wandboard.h | 2 ++ tools/Makefile | 3 +++ tools/logos/wandboard.bmp | Bin 0 - 22390 bytes 3 files changed, 5 insertions(+) create mode 100644

Re: [U-Boot] [PATCH] Wandboard: Add support for Wandboard quad

2013-05-27 Thread Otavio Salvador
two patches for adding the Boot Splash with Wandboard logo. Please take a look on them and if you agree please base on this to avoid conflicts. (For easyness: http://patchwork.ozlabs.org/bundle/otavio/wandboard-20130527/ ) -- Otavio Salvador O.S. Systems http

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-27 Thread Tom Rini
On Sun, May 26, 2013 at 09:09:22AM +0200, Heiko Schocher wrote: [snip] Ah, looking in drivers/dfu/dfu_mmc.c, they use dfu-layout for switching between DFU_RAW_ADDR, DFU_FS_FAT, DFU_FS_EXT4... After all ... should we add a DFU_UBI and add this to drivers/dfu/dfu_nand.c? Yes, I think we

[U-Boot] [U-BOOT PATCH 6/6] sf: winbond: Add support for W25Q16DW

2013-05-27 Thread Jagannadha Sutradharudu Teki
Add support for Winbond W25Q16DW SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/winbond.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c index e07480b..9fb4910

[U-Boot] [U-BOOT PATCH 5/6] sf: winbond: Add support for W25Q128FW

2013-05-27 Thread Jagannadha Sutradharudu Teki
Add support for Winbond W25Q128FW SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/winbond.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c index 3c0ca88..e07480b

[U-Boot] [U-BOOT PATCH 4/6] sf: winbond: Update the names for W25Q 0x40XX ID's flash parts

2013-05-27 Thread Jagannadha Sutradharudu Teki
Use the exact names for W25Q 0x40XX ID's flash parts, as the same sizes of flashes comes with different ID's. so-that the distinguishes becomes easy with this change. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/winbond.c | 10 +- 1 files changed,

[U-Boot] [U-BOOT PATCH 0/6] sf: spansion|winbond: ID table corrections/updates

2013-05-27 Thread Jagannadha Sutradharudu Teki
This patch series consists of few corrections dones on already commited patches, along with some updates on parts name and few new flash parts are added. Thanks, Jagan. Jagannadha Sutradharudu Teki (6): sf: spansion: Update the name for S25FL256S flash sf: winbond: Add support for W25Q80BW

[U-Boot] [U-BOOT PATCH 2/6] sf: winbond: Add support for W25Q80BW

2013-05-27 Thread Jagannadha Sutradharudu Teki
Add support for Winbond W25Q80BW SPI flash. This patch corrected the flash name, nr_blocks and also commit message header from below patch. sf: winbond: add W25Q32 (sha1: c969abc47033d6f810d3c9dbdb994ea9d691d038) Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com ---

[U-Boot] [U-BOOT PATCH 1/6] sf: spansion: Update the name for S25FL256S flash

2013-05-27 Thread Jagannadha Sutradharudu Teki
As the per the ID tabl the flash is under Uniform 64-kB sector architecture, hence updated with proper name. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/spansion.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH v3 1/2] cmd_sf: Add print mesg for 'sf erase' command

2013-05-27 Thread Jagannadha Sutradharudu Teki
This patch adds a print messages while using 'sf erase' command to make sure that how many bytes erased in flash device. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- common/cmd_sf.c |8 +++- drivers/mtd/spi/spi_flash.c |7 ++- 2 files changed, 5

[U-Boot] [PATCH v3 0/2] cmd_sf: print message support

2013-05-27 Thread Jagannadha Sutradharudu Teki
I agreed that adding new prints will increase the foot-print, but here I have removed the verbose messages from sf_flash and add on cmd_sf. These are much essential for showing print messages while user using sf erase|write|read commands. Thanks, Jagan. Jagannadha Sutradharudu Teki (2):

[U-Boot] [PATCH v3 2/2] cmd_sf: Add print mesgs on sf read/write commands

2013-05-27 Thread Jagannadha Sutradharudu Teki
This patch adds a print messages while using 'sf read' and 'sf write' commands to make sure that how many bytes read/written from/into flash device. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- common/cmd_sf.c | 26 +++---

[U-Boot] [PATCH 1/5] sf: eon|spansion|ramtron: Fix code cleanup

2013-05-27 Thread Jagannadha Sutradharudu Teki
- line over 80 characters - insert the expression in same line Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/eon.c |3 +-- drivers/mtd/spi/ramtron.c |6 -- drivers/mtd/spi/spansion.c |3 ++- 3 files changed, 7 insertions(+), 5

[U-Boot] [PATCH 2/5] sf: sst: Fix code cleanup

2013-05-27 Thread Jagannadha Sutradharudu Teki
- line over 80 characters - add spaces - add tabs Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/sst.c | 32 1 files changed, 20 insertions(+), 12 deletions(-) diff --git a/drivers/mtd/spi/sst.c b/drivers/mtd/spi/sst.c index

[U-Boot] [PATCH 3/5] sf: stmicro: Fix code cleanup

2013-05-27 Thread Jagannadha Sutradharudu Teki
- line over 80 characters - foo * bar - foo *bar - removed unnecessary for single statement blocks. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/stmicro.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH 0/5] sf: Code cleanup patch set

2013-05-27 Thread Jagannadha Sutradharudu Teki
This patch set consist of code clean-up on sf. Thanks, Jagan. Jagannadha Sutradharudu Teki (5): sf: eon|spansion|ramtron: Fix code cleanup sf: sst: Fix code cleanup sf: stmicro: Fix code cleanup sf: Fix line over 80 chars cleanup cmd_sf: Fix code cleanup common/cmd_sf.c |

[U-Boot] [PATCH 5/5] cmd_sf: Fix code cleanup

2013-05-27 Thread Jagannadha Sutradharudu Teki
- line over 80 characters - add tabs Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- common/cmd_sf.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/cmd_sf.c b/common/cmd_sf.c index 0a17782..1daff70 100644 --- a/common/cmd_sf.c +++

[U-Boot] [PATCH 4/5] sf: Fix line over 80 chars cleanup

2013-05-27 Thread Jagannadha Sutradharudu Teki
Code cleanup line over 80 characters. Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/spi_flash.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/spi/spi_flash.c b/drivers/mtd/spi/spi_flash.c index 85a..d2bee3a

[U-Boot] [U-BOOT PATCH] sf: Fix sf read for memory-mapped SPI flashes

2013-05-27 Thread Jagannadha Sutradharudu Teki
Missing return after memcpy is done for memory-mapped SPI flashes, hence added retun 0 after memcpy done. The return is missing in below patch sf: Enable FDT-based configuration and memory mapping (sha1: bb8215f437a7c948eec82a6abe754c226978bd6d) Signed-off-by: Jagannadha Sutradharudu Teki

[U-Boot] [U-BOOT PATCH 3/6] sf: winbond: Correct the nr_blocks used for W25Q32DW

2013-05-27 Thread Jagannadha Sutradharudu Teki
This patch corrected the nr_blocks used for W25Q32DW SPI flash. nr_blcoks are incorrectly assigned on below patch sf: winbond: add W25Q32DW (sha1: 772ba15474f73adc942e817cc072b6e9750836cc) Signed-off-by: Jagannadha Sutradharudu Teki jaga...@xilinx.com --- drivers/mtd/spi/winbond.c |2 +- 1

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-27 Thread Tom Rini
On Mon, May 27, 2013 at 07:29:02PM +0300, Pantelis Antoniou wrote: Hi On May 27, 2013, at 7:25 PM, Wolfgang Denk wrote: Dear Heiko Schocher, In message 51a30f34.7030...@denx.de you wrote: But how to handle a raw nand partition and a ubi partition on one nand? If ubi is a

Re: [U-Boot] [PATCH 1/2] wandboard: Use 'wandboard' vendor for the Wandboard boards

2013-05-27 Thread Wolfgang Denk
Dear Otavio Salvador, In message 1369672312-18774-1-git-send-email-ota...@ossystems.com.br you wrote: The board needs to be under a 'wandboard' vendor so we can use it to choose the proper Boot Splash image. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- board/wandboard/{ =

Re: [U-Boot] [PATCH 2/2] wandboard: Add Boot Splash image with Wandboard logo

2013-05-27 Thread Wolfgang Denk
Dear Otavio Salvador, In message 1369672312-18774-2-git-send-email-ota...@ossystems.com.br you wrote: Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- include/configs/wandboard.h | 3 +++ tools/Makefile | 3 +++ tools/logos/wandboard.bmp | Bin 0 - 22390 bytes

Re: [U-Boot] [PATCH v2 2/2] wandboard: Add Boot Splash image with Wandboard logo

2013-05-27 Thread Wolfgang Denk
Dear Otavio Salvador, In message 1369673122-20455-2-git-send-email-ota...@ossystems.com.br you wrote: Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v2: - Move config changes to video block include/configs/wandboard.h | 2 ++ tools/Makefile | 3

Re: [U-Boot] [PATCH v2 1/2] wandboard: Use 'wandboard' vendor for the Wandboard boards

2013-05-27 Thread Wolfgang Denk
Dear Otavio Salvador, In message 1369673122-20455-1-git-send-email-ota...@ossystems.com.br you wrote: The board needs to be under a 'wandboard' vendor so we can use it to choose the proper Boot Splash image. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v2: - Fix

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-27 Thread Wolfgang Denk
Dear Tom, In message 20130527204127.GY17119@bill-the-cat you wrote: This _may_ be the hard part for UBI. When doing raw block writes for NAND/MMC, we're able to write them out quickly and thus support images larger than RAM. But for filesystems we don't support that notion in general for

Re: [U-Boot] [PATCH v2 1/2] wandboard: Use 'wandboard' vendor for the Wandboard boards

2013-05-27 Thread Otavio Salvador
On Mon, May 27, 2013 at 6:23 PM, Wolfgang Denk w...@denx.de wrote: Dear Otavio Salvador, In message 1369673122-20455-1-git-send-email-ota...@ossystems.com.br you wrote: The board needs to be under a 'wandboard' vendor so we can use it to choose the proper Boot Splash image.

Re: [U-Boot] [PATCH 2/2] wandboard: Add Boot Splash image with Wandboard logo

2013-05-27 Thread Otavio Salvador
On Mon, May 27, 2013 at 6:22 PM, Wolfgang Denk w...@denx.de wrote: Dear Otavio Salvador, In message 1369672312-18774-2-git-send-email-ota...@ossystems.com.br you wrote: Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- include/configs/wandboard.h | 3 +++ tools/Makefile

[U-Boot] [PATCH v3 1/2] build: Use generic boot logo matching

2013-05-27 Thread Otavio Salvador
The boot logo matching is now done in following way: - use LOGO_BMP if it is set, or - use $(BOARD).bmp if it exists in tools/logos, or - use $(VENDOR).bmp if it exists in tools/logos, or - use denx.bmp otherwise. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: -

[U-Boot] [PATCH v3 2/2] wandboard: Add Boot Splash image with Wandboard logo

2013-05-27 Thread Otavio Salvador
Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: - Remove Makefile change as it is not need anymore Changes in v2: - Move config changes to video block include/configs/wandboard.h | 2 ++ tools/logos/wandboard.bmp | Bin 0 - 22390 bytes 2 files changed, 2

Re: [U-Boot] [PATCH v2 1/2] wandboard: Use 'wandboard' vendor for the Wandboard boards

2013-05-27 Thread Otavio Salvador
On Mon, May 27, 2013 at 6:27 PM, Otavio Salvador ota...@ossystems.com.brwrote: On Mon, May 27, 2013 at 6:23 PM, Wolfgang Denk w...@denx.de wrote: Dear Otavio Salvador, In message 1369673122-20455-1-git-send-email-ota...@ossystems.com.br you wrote: The board needs to be under a

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-27 Thread Tom Rini
On Mon, May 27, 2013 at 11:25:52PM +0200, Wolfgang Denk wrote: Dear Tom, In message 20130527204127.GY17119@bill-the-cat you wrote: This _may_ be the hard part for UBI. When doing raw block writes for NAND/MMC, we're able to write them out quickly and thus support images larger than

Re: [U-Boot] [RFC PATCH 4/7] Add Kconfig scripts and related material

2013-05-27 Thread Masahiro Yamada
Hello, Simon. I can push my linux-next somewhere if that would help. It is not necessary if you are going to pick up an official release. I have two more requests when you post version 2. You added Makefile.kbuild at commit Add Kconfig scripts and related material. It seems to already

[U-Boot] [PATCH] fdt: remove unaligned access in fdt_fixup_ethernet()

2013-05-27 Thread Stephen Warren
Some ARM compilers may emit code that makes unaligned accesses when faced with constructs such as: char mac[16] = ethaddr; Replace this with a strcpy() call instead to avoid this. strcpy() is used here, rather than replacing all usage of the mac variable with the string itself, since the loop

Re: [U-Boot] [PATCH] input: simplify key_matrix_decode_fdt()

2013-05-27 Thread Stephen Warren
On 05/26/2013 01:31 PM, Simon Glass wrote: Hi Stephen, On Thu, May 23, 2013 at 3:09 PM, Stephen Warren swar...@wwwdotorg.org mailto:swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com mailto:swar...@nvidia.com We know the exact property names that the code wants

Re: [U-Boot] [PATCH] input: fix unaligned access in key_matrix_decode_fdt()

2013-05-27 Thread Stephen Warren
On 05/26/2013 01:28 PM, Simon Glass wrote: On Wed, May 22, 2013 at 11:48 AM, Stephen Warren swar...@wwwdotorg.org mailto:swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com mailto:swar...@nvidia.com Initialized character arrays on the stack can cause gcc to emit

Re: [U-Boot] [PATCH] arm: Enable -ffunction-sections / -fdata-sections / --gc-sections

2013-05-27 Thread Albert ARIBAUD
Hi Tom, On Thu, 25 Apr 2013 13:40:22 -0400, Tom Rini tr...@ti.com wrote: While other architectures have enabled these gcc / ld options for some time on U-Boot itself, ARM has only been doing this on SPL. Enable this on full U-Boot as well now. Cc: Albert ARIBAUD albert.u.b...@aribaud.net

Re: [U-Boot] [PATCH] fdt: remove unaligned access in fdt_fixup_ethernet()

2013-05-27 Thread Michael Trimarchi
Hi On May 28, 2013 6:02 AM, Stephen Warren swar...@wwwdotorg.org wrote: Some ARM compilers may emit code that makes unaligned accesses when faced with constructs such as: char mac[16] = ethaddr; Recently I have seen some of this emails. I understand the problem but is it a compiler

Re: [U-Boot] [PATCH] fdt: remove unaligned access in fdt_fixup_ethernet()

2013-05-27 Thread Stephen Warren
On 05/27/2013 10:05 PM, Michael Trimarchi wrote: Hi On May 28, 2013 6:02 AM, Stephen Warren swar...@wwwdotorg.org mailto:swar...@wwwdotorg.org wrote: Some ARM compilers may emit code that makes unaligned accesses when faced with constructs such as: char mac[16] = ethaddr; Recently I

[U-Boot] [PATCH V2 REPOST 1/2] lcd: add functions to set up simplefb device tree

2013-05-27 Thread Stephen Warren
simple-framebuffer is a new device tree binding that describes a pre- configured frame-buffer memory region and its format. The Linux kernel contains a driver that supports this binding. Implement functions to create a DT node (or fill in an existing node) with parameters that describe the

[U-Boot] [PATCH V2 REPOST 2/2] ARM: bcm2835: add simplefb DT node during bootz/m

2013-05-27 Thread Stephen Warren
Add a DT simple-framebuffer node to DT when booting the Linux kernel. This will allow the kernel to inherit the framebuffer configuration from U-Boot, and display a graphical boot console, and even run a full SW- rendered X server. Signed-off-by: Stephen Warren swar...@wwwdotorg.org Acked-by:

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-27 Thread Heiko Schocher
Hello Wolfgang, Am 27.05.2013 23:25, schrieb Wolfgang Denk: Dear Tom, In message 20130527204127.GY17119@bill-the-cat you wrote: This _may_ be the hard part for UBI. When doing raw block writes for NAND/MMC, we're able to write them out quickly and thus support images larger than RAM.

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-27 Thread Heiko Schocher
Hello Tom, Am 27.05.2013 21:21, schrieb Tom Rini: On Sun, May 26, 2013 at 09:09:22AM +0200, Heiko Schocher wrote: [snip] Ah, looking in drivers/dfu/dfu_mmc.c, they use dfu-layout for switching between DFU_RAW_ADDR, DFU_FS_FAT, DFU_FS_EXT4... After all ... should we add a DFU_UBI and add

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-27 Thread Heiko Schocher
Hello Tom, Am 27.05.2013 22:41, schrieb Tom Rini: On Mon, May 27, 2013 at 07:29:02PM +0300, Pantelis Antoniou wrote: Hi On May 27, 2013, at 7:25 PM, Wolfgang Denk wrote: Dear Heiko Schocher, In message 51a30f34.7030...@denx.de you wrote: [...] I pretty much agree. UBI looks like it's

Re: [U-Boot] [PATCH v2 1/2] wandboard: Use 'wandboard' vendor for the Wandboard boards

2013-05-27 Thread Wolfgang Denk
Dear Otavio Salvador, In message CAP9ODKo=2zkls5ut6rgmpkudpoxm1ejevh8xv-fwdpjokxz...@mail.gmail.com you wrote: How do you suggest me to handle it? I'd like to have the logo file used when building wandboard. Vendor subdirectories are used for vendors that support several boards, eventually

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-27 Thread Wolfgang Denk
Dear Tom, In message 20130527233735.GZ17119@bill-the-cat you wrote: Where exactly is this 8 MB limit coming into play? In buffering the data. We cannot write a chunk of a file to a filesystem and then append to it, we don't have the API today. Sorry, I still don't get it. Assuming I

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-27 Thread Wolfgang Denk
Dear Heiko, In message 51a427a8.8090...@denx.de you wrote: Where exactly is this 8 MB limit coming into play? You find this in drivers/dfu/dfu.c: static unsigned char __aligned(CONFIG_SYS_CACHELINE_SIZE) dfu_buf[DFU_DATA_BUF_SIZE]; Ah, so it is a DFU

Re: [U-Boot] dfu: dfu and UBI Volumes

2013-05-27 Thread Wolfgang Denk
Dear Heiko, In message 51a42ccd.1020...@denx.de you wrote: I would imagine, but testing and implementation might show a better way, we do UBI as name ubi ubiN volume-name, ie: rootfs ubi ubi0 rootfs user ubi ubi0 user-data and so forth, and augment dfu_nand.c with UBI knowledge, ala