Re: [U-Boot] [PATCH v2] Add NanoBone board support

2013-08-11 Thread Mark Jackson
On 22/04/13 13:46, Mark Jackson wrote: NanoBone Specification: --- CPU: TI AM335x Memory: 256MB DDR3 64MB NOR flash 256MB NAND flash 128KB FRAM Ethernet: 2 x 10/100 connected to SMSC LAN8710 PHY USB: 1 x USB2.0 Type A I2C: 2Kbit EEPROM

Re: [U-Boot] [PATCH 1/3] spi: Add zynq qspi controller driver

2013-08-11 Thread thomas.langer
Hi Jagan, + +/* Definitions of the flash commands - Flash insts in ascending order */ +#define ZYNQ_QSPI_FLASH_INST_WRSR0x01/* Write status register */ +#define ZYNQ_QSPI_FLASH_INST_PP 0x02/* Page program */ +#define ZYNQ_QSPI_FLASH_INST_WRDS0x04/* Write

[U-Boot] [PATCH] omap1510inn: arm925t: remove support

2013-08-11 Thread Albert ARIBAUD
omap1510inn is orphan and has been for years now. Reove it and, as it was the only arm925t target, also remove arm925t support. Signed-off-by: Albert ARIBAUD albert.u.b...@aribaud.net --- MAINTAINERS | 2 - MAKEALL | 1 - README

Re: [U-Boot] [PATCH 1/3] spi: Add zynq qspi controller driver

2013-08-11 Thread Jagan Teki
Hi, On Sun, Aug 11, 2013 at 3:42 PM, thomas.lan...@lantiq.com wrote: Hi Jagan, + +/* Definitions of the flash commands - Flash insts in ascending order */ +#define ZYNQ_QSPI_FLASH_INST_WRSR0x01/* Write status register */ +#define ZYNQ_QSPI_FLASH_INST_PP 0x02/* Page

[U-Boot] [RFC PATCH] env: add default env size for CONFIG_ENV_IS_NOWHERE

2013-08-11 Thread Bo Shen
when CONFIG_ENV_IS_NOWHERE is enabled, it is still need to define CONFIG_ENV_SIZE. So, add a default size (1024 Bytes) to avoid compile error if not define CONFIG_ENV_SIZE Signed-off-by: Bo Shen voice.s...@gmail.com --- The default value for CONFIG_ENV_SIZE (1024 Bytes) maybe not the better

[U-Boot] [PATCH] arm: atmel: sama5d3: fix typo error for CONFIG_ENV_IS_NOWHERE

2013-08-11 Thread Bo Shen
fix typo error for CONFIG_ENV_IS_NOWHERE from CONIG_ENV_IS_NOWHERE Signed-off-by: Bo Shen voice.s...@gmail.com --- include/configs/sama5d3xek.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/sama5d3xek.h b/include/configs/sama5d3xek.h index

[U-Boot] [PATCH 0/3] openrd: Check U-Boot size at build time

2013-08-11 Thread Sascha Silbe
Tom Rini tr...@ti.com writes: Yes, you can try using CONFIG_BOARD_SIZE_LIMIT, which is missing from the README, but does have a few examples (git grep around). A patch to document it, and then a patch to enable for openrd would be much appreciated. Thanks! Thanks for the pointer. Here we

[U-Boot] [PATCH 3/3] openrd: fail build if U-Boot would overlap with environment in flash

2013-08-11 Thread Sascha Silbe
Set CONFIG_BOARD_SIZE_LIMIT so we'll notice at build time if U-Boot has grown so large that it would overlap with the environment area in flash, rather than bricking the device at run-time on first saveenv. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- include/configs/openrd.h | 5 +

[U-Boot] [PATCH 1/3] README: document CONFIG_BOARD_SIZE_LIMIT

2013-08-11 Thread Sascha Silbe
CONFIG_BOARD_SIZE_LIMIT was introduced by f3a14d37 [Makefile: allow boards to check file size limits] and is in use by several boards, but never got documented. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- README | 5 + 1 file changed, 5 insertions(+) diff --git a/README b/README

[U-Boot] [PATCH 2/3] Makefile: check native boot image sizes against CONFIG_BOARD_SIZE_LIMIT

2013-08-11 Thread Sascha Silbe
The purpose of CONFIG_BOARD_SIZE_LIMIT is to make sure that U-Boot fits into the space reserved for it in some permanent storage. This includes any overhead incurred by native boot image formats, so check the final image against the size limit, too. Signed-off-by: Sascha Silbe

Re: [U-Boot] [RESEND PATCH v2 00/20] sf: Add common probe support

2013-08-11 Thread Sascha Silbe
Hello Jagan, Jagan Teki jagannadh.t...@gmail.com writes: Please find the test branch for this patch series, here. http://git.denx.de/?p=u-boot/u-boot-spi.git;a=shortlog;h=refs/heads/master-test Request to test these changes on your boards. Let me know for any issues. Thanks for setting up

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

2013-08-11 Thread Sascha Silbe
Hi Albert, Albert ARIBAUD albert.u.b...@aribaud.net writes: On Mon, 15 Jul 2013 08:19:57 -0400, Tom Rini tr...@ti.com wrote: On Mon, Jul 15, 2013 at 11:23:54AM +0200, Sascha Silbe wrote: With v2013.07-rc3, we are now at 376344B (~ 96% of 384KiB) for openrd_ultimate when built on Debian

Re: [U-Boot] [RFC PATCH] env: add default env size for CONFIG_ENV_IS_NOWHERE

2013-08-11 Thread Wolfgang Denk
Dear Bo Shen, In message 1376230503-25331-1-git-send-email-voice.s...@gmail.com you wrote: when CONFIG_ENV_IS_NOWHERE is enabled, it is still need to define CONFIG_ENV_SIZE. So, add a default size (1024 Bytes) to avoid compile error if not define CONFIG_ENV_SIZE I don;t understand the

[U-Boot] [PATCH] i.MX: Add documentation on how to use SPI NOR on MX28evk

2013-08-11 Thread Mårten Wikman
This adds necessary information on how to use U-boot on SPI NOR on MX28evk Signed-off-by: Marten Wikman marten.wik...@novia.fi --- board/freescale/mx28evk/README | 26 ++ boards.cfg | 1 + doc/README.mxs | 25 +

[U-Boot] [PATCH] kirkwood: use 64bit integer for IDE LBA sector numbers

2013-08-11 Thread Sascha Silbe
Many recent hard disks are larger than 2TiB. They still use a logical sector size of 512, so 32-bit sector numbers are insufficient (and even with 4K logical sector size we'd exceed the limit once there are 16TiB drives). Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de ---

[U-Boot] [PATCH v6] NET: mvgbe: avoid unused variable warning when used without phylib support

2013-08-11 Thread Sascha Silbe
Avoid a recently introduced unused variable warning for boards that use mvgbe but not phylib. Signed-off-by: Sascha Silbe t-ub...@infra-silbe.de --- v5-v6: Split out from CuBox support patch series. drivers/net/mvgbe.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 1/1] ARM: igep00x0.h: Enable raw initrd support

2013-08-11 Thread Javier Martinez Canillas
Now that IGEP base boards default environment use the bootz command to boot a zImage instead of a uImage, it makes sense to add support to supply a raw initrd image to the kernel if needed. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- include/configs/igep00x0.h |

Re: [U-Boot] [PATCH 07/11] video: Encapsulate font in video_font_data.h

2013-08-11 Thread Marek Vasut
Dear Anatolij Gustschin, Hi, On Tue, 30 Jul 2013 23:37:57 +0200 Marek Vasut ma...@denx.de wrote: This patch moves all the font configuration values into video_font_data.h so they are all in the right place with the font. The video_font.h now only includes video_font_data.h and will

[U-Boot] [PATCH] spi: mxs: Configure chipselect after block reset

2013-08-11 Thread Marek Vasut
The chipselect must be written into the CTRL0 register after the SSP block is reset, otherwise the block will always use ChipSelect #0. Signed-off-by: Marek Vasut ma...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Jagannadha Sutradharudu Teki jagannadh.t...@gmail.com Cc: Otavio

Re: [U-Boot] omap1510inn/arm925t: maintain or remove?

2013-08-11 Thread Marek Vasut
Dear Wolfgang Denk, Dear Albert, In message 20130810084118.2d6c9804@lilith you wrote: Board omap1510inn is marked orphaned. ... Should I try and clean this within my start.S commonalization effort (first submission tonight, BTW) and move the signature generation in ./Makefile as

Re: [U-Boot] [RFC 01/10] New board-specific USB initialization interface

2013-08-11 Thread Marek Vasut
Dear Mateusz Zalega, This commit unifies board-specific USB initialization implementations under one symbol (usb_board_init), declaration of which is available in usb.h. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Reviewed-by:

Re: [U-Boot] [PATCH] omap1510inn: arm925t: remove support

2013-08-11 Thread Tom Rini
On Sun, Aug 11, 2013 at 03:28:41PM +0200, Albert ARIBAUD wrote: omap1510inn is orphan and has been for years now. Reove it and, as it was the only arm925t target, also remove arm925t support. Signed-off-by: Albert ARIBAUD albert.u.b...@aribaud.net Acked-by: Tom Rini tr...@ti.com -- Tom

Re: [U-Boot] [RFC 06/10] icpdas lp8x4x: new USB hardware init interface

2013-08-11 Thread Marek Vasut
Dear Mateusz Zalega, This commit changes name of an existing initialization function to board_usb_init(), so that such functions could be reached by every USB driver and command (ie. do_dfu()). Signed-off-by: Mateusz Zalega m.zal...@samsung.com Signed-off-by: Kyungmin Park

Re: [U-Boot] [PATCH v8 RESEND 2/2] console: usb: kbd: To improve TFTP booting performance

2013-08-11 Thread Marek Vasut
Dear Jim Lin, TFTP booting is slow when a USB keyboard is installed and stdin has usbkbd added. This fix is to change Ctrl-C polling for USB keyboard to every second when NET transfer is running. Signed-off-by: Jim Lin ji...@nvidia.com --- Changes in v2: 1. Change configuration name

Re: [U-Boot] [PATCH v2] Add NanoBone board support

2013-08-11 Thread Tom Rini
On Sun, Aug 11, 2013 at 09:31:00AM +0100, Mark Jackson wrote: On 22/04/13 13:46, Mark Jackson wrote: NanoBone Specification: --- CPU: TI AM335x Memory: 256MB DDR3 64MB NOR flash 256MB NAND flash 128KB FRAM Ethernet: 2 x 10/100 connected

Re: [U-Boot] [PATCH] i.MX: Add documentation on how to use SPI NOR on MX28evk

2013-08-11 Thread Otavio Salvador
On Sun, Aug 11, 2013 at 10:49 AM, Mårten Wikman marten.wik...@novia.fi wrote: This adds necessary information on how to use U-boot on SPI NOR on MX28evk Signed-off-by: Marten Wikman marten.wik...@novia.fi Marten, The patch looks right and complete; I'd just split it in two patches: - add the

[U-Boot] [RFC][PATCH] ARM: mxs: Added application UART driver

2013-08-11 Thread Andreas Wass
The driver is ported from a driver that was implemented using u-boot 2009. The driver makes it possible to use a regular application UART as the U-Boot output console for MXS CPUs. Signed-off-by: Andreas Wass andreas.w...@dalelven.com Cc: Fabio Estevam fabio.este...@freescale.com Cc: Marek Vasut

Re: [U-Boot] [RFC][PATCH] ARM: mxs: Added application UART driver

2013-08-11 Thread Marek Vasut
Dear Andreas Wass, The driver is ported from a driver that was implemented using u-boot 2009. The driver makes it possible to use a regular application UART as the U-Boot output console for MXS CPUs. Signed-off-by: Andreas Wass andreas.w...@dalelven.com Cc: Fabio Estevam

[U-Boot] [PATCH v3 4/8] MIPS: bootm: refactor initialisation of kernel cmdline

2013-08-11 Thread Daniel Schwierzeck
Move initialisation of Linux command line to separate functions. Also add support for bootm subcommand 'cmdline'. Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- Changes in v3: None Changes in v2: - use debug() macro arch/mips/lib/bootm.c | 130

[U-Boot] [PATCH v3 0/8] MIPS: bootm updates

2013-08-11 Thread Daniel Schwierzeck
- refactoring and optimization of bootm command - add support for logical memory blocks (LMB) - make external init ramdisks working again with recent kernels - add support for bootm subcommand 'cmdline' - prepare bootm for upcoming device tree support - add bootm support for newly added MIPS Malta

[U-Boot] [PATCH v3 3/8] MIPS: bootm: add support for LMB

2013-08-11 Thread Daniel Schwierzeck
This is required for init ramdisk relocation and device tree support. Signed-off-by: Gabor Juhos juh...@openwrt.org Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- Changes in v3: None Changes in v2: None arch/mips/include/asm/config.h | 2 ++ arch/mips/lib/bootm.c |

[U-Boot] [PATCH v3 5/8] MIPS: bootm: refactor initialisation of kernel environment

2013-08-11 Thread Daniel Schwierzeck
Move initialisation of Linux environment to separate functions. Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- Changes in v3: - removed boot_prep_linux_legacy due to dropped patches Changes in v2: None arch/mips/lib/bootm.c | 62

[U-Boot] [PATCH v3 1/8] MIPS: bootm: fix checkpatch.pl warnings

2013-08-11 Thread Daniel Schwierzeck
Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- Changes in v3: None Changes in v2: - fix multi-line comment arch/mips/lib/bootm.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/mips/lib/bootm.c b/arch/mips/lib/bootm.c index

[U-Boot] [PATCH v3 6/8] MIPS: bootm: add support for generic relocation of init ramdisks

2013-08-11 Thread Daniel Schwierzeck
All linux kernels after v2.6 require a page-aligned location of an external init ramdisk. Enable CONFIG_SYS_BOOT_RAMDISK_HIGH to support this with the generic U-Boot relocation code. Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v3 8/8] MIPS: bootm: drop obsolete Qemu specific bootm implementation

2013-08-11 Thread Daniel Schwierzeck
The Qemu specific bootm implementation was intended for a special Qemu target in Linux kernel. But this target has been dropped in v2.6.25-rc1 by commit 302922e5f6901eb6f29c58539631f71b3d9746b8 Author: Ralf Baechle r...@linux-mips.org Date: Tue Jan 29 10:15:02 2008 + [MIPS]

[U-Boot] [PATCH v3 2/8] MIPS: bootm: optimize kernel entry call

2013-08-11 Thread Daniel Schwierzeck
Fix signature of kernel entry function. Mark the kernel entry with __noreturn for better code optimisation. Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- Changes in v3: None Changes in v2: None arch/mips/lib/bootm.c | 11 --- 1 file changed, 4 insertions(+), 7

[U-Boot] [PATCH v3 7/8] MIPS: bootm: add YAMON style Linux preparation/jump code for Qemu Malta

2013-08-11 Thread Daniel Schwierzeck
Signed-off-by: Gabor Juhos juh...@openwrt.org Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- Changes in v3: None Changes in v2: None arch/mips/lib/bootm.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/arch/mips/lib/bootm.c

[U-Boot] [PATCH 0/3] ARM: use r9 for gd instead of r8

2013-08-11 Thread Jeroen Hofstee
To be EABI compliant (r9 is a platform specific register) and as a prepration for building u-boot with clang/llvm (with does / will support r9 as reserved register), store the pointer to gd in r9. Jeroen Hofstee (3): ARM: make reserving the gd register a make variable ARM,relocate: do not use

[U-Boot] [PATCH 1/3] ARM: make reserving the gd register a make variable

2013-08-11 Thread Jeroen Hofstee
Currently all ARM targets spell out that r8 needs to be a reserved register, while using a common crt0.s. Move this to a common make variable so it is not repeated (and can be easily changed) Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- arch/arm/config.mk | 2 ++

[U-Boot] [PATCH 2/3] ARM,relocate: do not use r9

2013-08-11 Thread Jeroen Hofstee
r9 is a platform-specific register in ARM EABI and not per definition a general purpose register. Do not use it while relocating so it can be used for gd. Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- arch/arm/lib/relocate.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[U-Boot] [PATCH 3/3] ARM: use r9 for gd

2013-08-11 Thread Jeroen Hofstee
To be more EABI compliant and as a preparation for building with clang, use the platform-specific r9 register for gd instead of r8. note: The FIQ is not updated since it is not used in u-boot, and under discussion for the time being. The following checkpatch warning is ignoredL WARNING: Use of

[U-Boot] [RFC][PATCH v2] ARM: mxs: Added application UART driver

2013-08-11 Thread Andreas Wass
The driver is ported from a driver that was implemented using u-boot 2009. The driver makes it possible to use a regular application UART as the U-Boot output console for MXS CPUs. Signed-off-by: Andreas Wass andreas.w...@dalelven.com Cc: Fabio Estevam fabio.este...@freescale.com Cc: Marek Vasut

Re: [U-Boot] [PATCH 0/3] ARM: use r9 for gd instead of r8

2013-08-11 Thread Benoît Thébaudeau
Dear Jeroen Hofstee, On Sunday, August 11, 2013 10:58:36 PM, Jeroen Hofstee wrote: To be EABI compliant (r9 is a platform specific register) and as a prepration for building u-boot with clang/llvm (with does / will support r9 as reserved register), store the pointer to gd in r9. If r9 is

Re: [U-Boot] [PATCH] powerpc/eeprom: update MAX_NUM_PORTS to fix program failure

2013-08-11 Thread Timur Tabi
On Thu, Aug 8, 2013 at 5:14 AM, Shengzhou Liu shengzhou@freescale.com wrote: On some boards, the size of EEPROM is 128 Bytes instead of 256. so we set default MAX_NUM_PORTS to 9 rather than previous 23 to avoid the programming failure, we can define MAX_NUM_PORTS in board-specific header

Re: [U-Boot] [PATCH v2 05/12] spi: add Faraday FTSPI010 SPI controller support

2013-08-11 Thread Kuo-Jung Su
Please see the comments on below patch http://patchwork.ozlabs.org/patch/265683/ -- Got it, thanks -- Best wishes, Kuo-Jung Su ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [RFC][PATCH v2] ARM: mxs: Added application UART driver

2013-08-11 Thread Marek Vasut
Dear Andreas Wass, The driver is ported from a driver that was implemented using u-boot 2009. What driver? Anyway, this doesn't go here. If it's ported from LTIB, stick it into the file header in each file (see the other files , like the register definitions or so) for details. The driver

Re: [U-Boot] [PATCH 0/3] ARM: use r9 for gd instead of r8

2013-08-11 Thread Albert ARIBAUD
Hi Benoît, On Mon, 12 Aug 2013 00:08:59 +0200 (CEST), Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: Dear Jeroen Hofstee, On Sunday, August 11, 2013 10:58:36 PM, Jeroen Hofstee wrote: To be EABI compliant (r9 is a platform specific register) and as a prepration for building

Re: [U-Boot] [PATCH 3/3] ARM: use r9 for gd

2013-08-11 Thread Wolfgang Denk
Dear Jeroen Hofstee, In message 1376254719-15594-4-git-send-email-jer...@myspectrum.nl you wrote: To be more EABI compliant and as a preparation for building with clang, use the platform-specific r9 register for gd instead of r8. note: The FIQ is not updated since it is not used in u-boot,