[U-Boot] [PATCH v2] add new board nas62x0

2012-03-18 Thread Luka Perkov
Add support for new boards RaidSonic ICY BOX NAS6210 and NAS6220 boards. Only difference between boards is number of SATA ports. By default we use only one SATA port. Signed-off-by: Luka Perkov ub...@lukaperkov.net Signed-off-by: Gerald Kerma drea...@doukki.net --- Changes from version v1: *

Re: [U-Boot] [PATCH v2] add new board nas62x0

2012-03-18 Thread Luka Perkov
On Sun, Mar 18, 2012 at 12:40:54AM +0100, Luka Perkov wrote: Add support for new boards RaidSonic ICY BOX NAS6210 and NAS6220 boards. Only difference between boards is number of SATA ports. By default we use only one SATA port. Sorry wrong commit message. Please use this: Add support for

[U-Boot] coding style of boards.cfg

2012-03-18 Thread Luka Perkov
I'm willing to write a patch for boards.cfg that would not mix spaces and tabs in this file. What is the prefered way - spaces or tabs? Regards, Luka ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] How to specify the TEXT_BASE

2012-03-18 Thread jingchaotian6
Hi All, I am working on the porting of uboot at freescale MPC8360, now stuck on the address TEXT_BASE. in our board, the address of Nor Flash is 0xfc00_-0x_, the high 1MB from 0xfff0_ is used for boot rom. could you instruct me how to specify the TEXT_BASE? is the same to the

Re: [U-Boot] [PATCH] powerpc/83xx: increment malloc heap size for the MPC832x MDS boards

2012-03-18 Thread Wolfgang Denk
Dear Tabi Timur-B04825, In message CAOZdJXUem_-mgDSqF+p4R0npZQ6qu14G1yexQCBUe2G=nr2...@mail.gmail.com you wrote: Doubling it is kind of aggressive strategy. You know exactly how much free room needs to be guaranteed, so why don't you auto-adjust the size? -#define

Re: [U-Boot] [PATCH v2] add new board nas62x0

2012-03-18 Thread Wolfgang Denk
Dear Luka Perkov, In message 20120317234054.ga21...@w500.lan you wrote: Add support for new boards RaidSonic ICY BOX NAS6210 and NAS6220 boards. Just a tiny detail... ... +/* + * Version number information + */ +#ifdef CONFIG_BOARD_IS_IB_NAS6210 +# define CONFIG_IDENT_STRING RaidSonic

Re: [U-Boot] [PATCH v2] add new board nas62x0

2012-03-18 Thread Marek Vasut
Dear Luka Perkov, Add support for new boards RaidSonic ICY BOX NAS6210 and NAS6220 boards. Only difference between boards is number of SATA ports. By default we use only one SATA port. [...] diff --git a/board/Marvell/ib62x0/ib62x0.h b/board/Marvell/ib62x0/ib62x0.h new file mode 100644

[U-Boot] [PATCH v3] add new board nas62x0

2012-03-18 Thread Luka Perkov
Add support for new boards RaidSonic ICY BOX NAS6210 and NAS6220. Only difference between boards is number of SATA ports. Signed-off-by: Luka Perkov ub...@lukaperkov.net Signed-off-by: Gerald Kerma drea...@doukki.net --- Changes from version v2: * use defined() in macros for board selection

Re: [U-Boot] [PATCH v3] video: cfb_console: Make the software cursor non-destructive

2012-03-18 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message 20111205220742.18ed6e2f@wker you wrote: On Thu, 1 Dec 2011 00:50:50 +0100 Anatolij Gustschin ag...@denx.de wrote: From: Gabe Black gabebl...@chromium.org When printing the string \r\n to the framebuffer console, the first character of the current

Re: [U-Boot] [PATCH 2/4] dfu: generic backend parts

2012-03-18 Thread Wolfgang Denk
Dear Andrzej Pietrasiewicz, In message 000601cccea3$4a41f750$dec5e5f0$%p...@samsung.com you wrote: Thank you for your review. As far as I remember this patch series was a quick-and-dirty attempt at splitting the implementation into parts so that Stefan Shmidt could continue his work with his

Re: [U-Boot] [PATCH v3] video: cfb_console: Make the software cursor non-destructive

2012-03-18 Thread Anatolij Gustschin
Hello Wolfgang, On Sun, 18 Mar 2012 19:38:57 +0100 Wolfgang Denk w...@denx.de wrote: ... drivers/video/cfb_console.c | 109 +-- 1 files changed, 53 insertions(+), 56 deletions(-) Applied to u-boot-video/master. Thanks! It appears this

Re: [U-Boot] [PATCH v2] CPCI750: Add CPCI-HD/2 support

2012-03-18 Thread Wolfgang Denk
Dear Reinhard Arlt, In message 4ebc1d4d.4010...@esd.eu you wrote: From: Reinhard Arlt reinhard.a...@esd.eu This patch adds support for the esd CPCI-HD/2 board to u-boot for CPCI-CPU/750. As the primary devices on the CPCI-HD/2 board are connected to device 1 and 3, the device must be

Re: [U-Boot] [PATCH 1/4] net/miiphy/serial: drop duplicate NAMESIZE define

2012-03-18 Thread Wolfgang Denk
Dear Mike Frysinger, In message 1320970267-22297-1-git-send-email-vap...@gentoo.org you wrote: A few subsystems are using the same define NAMESIZE. This has been working so far because they define it to the same number. However, I want to change the size of eth_device's NAMESIZE, so rather

Re: [U-Boot] [PATCH v2] bootvx: Clear and disable data cache, and call vxWorks with parameter.

2012-03-18 Thread Wolfgang Denk
Dear Reinhard Arlt, In message 4ec6accc.5070...@esd.eu you wrote: From: Reinhard Arlt reinhard.a...@esd.eu This patch clear and disable the data cache for vxWorks. The entry point sysInit(int) intended by Windriver to be called from the vxWorks bootrom, a very small vxWorks system. The

Re: [U-Boot] [PATCH v2] add new board nas62x0

2012-03-18 Thread Luka Perkov
Hi Marek, On Sun, Mar 18, 2012 at 04:15:53PM +0100, Marek Vasut wrote: + * Copyright (C) 2011 G??rald Kerma drea...@doukki.net Can you please fix your name here? I think your mail agent is not displaying UTF8 characters correctly. If this is a problem we could change it if Gerald is ok with

Re: [U-Boot] [PATCH v3] video: cfb_console: Make the software cursor non-destructive

2012-03-18 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message 20120318200142.5b4d5dba@wker you wrote: This patch was included in my last pull request and is already in mainline [1]. Unfortunately it caused some issues on N900 as reported Strange. I don;t know how I missed it. Thanks. by Pali Rohár. He already

Re: [U-Boot] [PATCH v3 01/15] bootstage: Create an initial header for boot progress integers

2012-03-18 Thread Wolfgang Denk
Dear Simon Glass, In message 1326590698-7767-2-git-send-email-...@chromium.org you wrote: At present boot_stage_progress() is called with various magic numbers. The new bootstage.h header will be used to turn these into symbolic names throughout the code. The intent is not that these

Re: [U-Boot] [PATCH v3 02/15] bootstage: Make use of BOOTSTAGE_ID_RUN_OS in show_boot_progress()

2012-03-18 Thread Wolfgang Denk
Dear Simon Glass, In message 1326590698-7767-3-git-send-email-...@chromium.org you wrote: This changes the number 15 as used in boot_stage_progress() to use the new name provided for it. This is a separate patch because it touches so many files. Signed-off-by: Simon Glass s...@chromium.org

Re: [U-Boot] [PATCH v3 03/15] bootstage: Use show_boot_error() for -ve progress numbers

2012-03-18 Thread Wolfgang Denk
Dear Simon Glass, In message 1326590698-7767-4-git-send-email-...@chromium.org you wrote: Rather than the caller negating our progress numbers to indicate an error has occurred, which seems hacky, add a function to indicate this. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Mike

Re: [U-Boot] [PATCH v3 04/15] bootstage: Convert progress numbers 1-9 into enums

2012-03-18 Thread Wolfgang Denk
Dear Simon Glass, In message 1326590698-7767-5-git-send-email-...@chromium.org you wrote: Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: - Set BOOTSTAGE_ID_START to 0 explicitly board/bf533-stamp/bf533-stamp.c| 18 +++--- board/hermes/hermes.c

Re: [U-Boot] [PATCH v3 05/15] bootstage: Convert progress numbers 10-19 to enums

2012-03-18 Thread Wolfgang Denk
Dear Simon Glass, In message 1326590698-7767-6-git-send-email-...@chromium.org you wrote: Signed-off-by: Simon Glass s...@chromium.org Acked-by: Mike Frysinger vap...@gentoo.org --- board/bf533-stamp/bf533-stamp.c | 10 +- board/matrix_vision/mvbc_p/mvbc_p.c |2 +-

Re: [U-Boot] [PATCH v3 06/15] bootstage: Convert progress numbers 20-41 to enums

2012-03-18 Thread Wolfgang Denk
Dear Simon Glass, In message 1326590698-7767-7-git-send-email-...@chromium.org you wrote: Signed-off-by: Simon Glass s...@chromium.org --- arch/powerpc/lib/board.c |2 +- arch/sparc/lib/board.c|2 +- arch/x86/lib/board.c | 18 +- board/hermes/hermes.c

Re: [U-Boot] [PATCH v3 07/15] bootstage: Convert IDE progress numbers to enums

2012-03-18 Thread Wolfgang Denk
Dear Simon Glass, In message 1326590698-7767-8-git-send-email-...@chromium.org you wrote: This changes over the IDE progress numbers to use enums from bootstage.h. Signed-off-by: Simon Glass s...@chromium.org --- common/cmd_ide.c| 46 +++---

Re: [U-Boot] [PATCH v3 08/15] bootstage: Convert NAND progress numbers to enums

2012-03-18 Thread Wolfgang Denk
Dear Simon Glass, In message 1326590698-7767-9-git-send-email-...@chromium.org you wrote: This changes over the NAND progress numbers to use enums from bootstage.h. Signed-off-by: Simon Glass s...@chromium.org --- common/cmd_nand.c | 34 +-

Re: [U-Boot] [PATCH v3 09/15] bootstage: Convert net progress numbers to enums

2012-03-18 Thread Wolfgang Denk
Dear Simon Glass, In message 1326590698-7767-10-git-send-email-...@chromium.org you wrote: This changes over the network-related progress numbers to use enums from bootstage.h. Signed-off-by: Simon Glass s...@chromium.org --- board/Seagate/dockstar/dockstar.c |2 +-

Re: [U-Boot] [PATCH v3 10/15] bootstage: Convert FIT progress numbers to enums

2012-03-18 Thread Wolfgang Denk
Dear Simon Glass, In message 1326590698-7767-11-git-send-email-...@chromium.org you wrote: This changes over all the FIT image progress numbers to use enums from bootstage.h. Signed-off-by: Simon Glass s...@chromium.org --- common/cmd_bootm.c | 44

Re: [U-Boot] [PATCH v3 11/15] timer: add microsecond boot func

2012-03-18 Thread Wolfgang Denk
Dear Simon Glass, In message 1326590698-7767-12-git-send-email-...@chromium.org you wrote: Define timer_get_boot_us() which returns the number of microseconds since boot. If undefined then we use get_timer() * 1000. We can fit this in a 32-bit register which keeps everyone happy on the

Re: [U-Boot] [PATCH v4 12/15] bootstage: Replace show_boot_progress/error() with bootstage_...()

2012-03-18 Thread Wolfgang Denk
Dear Simon Glass, In message 1329177081-29496-13-git-send-email-...@chromium.org you wrote: These calls should not be made directly any more, since bootstage will call the show_boot_...() functions as needed. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Adjust

Re: [U-Boot] [PATCH v4 13/15] bootstage: Implement core microsecond boot time measurement

2012-03-18 Thread Wolfgang Denk
Dear Simon Glass, In message 1329177081-29496-14-git-send-email-...@chromium.org you wrote: This defines the basics of a new boot time measurement feature. This allows logging of very accurate time measurements as the boot proceeds, by using an available microsecond counter. To enable the

Re: [U-Boot] [PATCH v3 14/15] bootstage: Plumb in bootstage calls for basic operations

2012-03-18 Thread Wolfgang Denk
Dear Simon Glass, In message 1326590698-7767-15-git-send-email-...@chromium.org you wrote: This inserts bootstage calls into tftp, usb start and bootm. We could go further, but this is a reasonable start to illustrate the concept. Signed-off-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] [PATCH v4 15/15] bootstage: arm: Add bootstage calls in board and bootm

2012-03-18 Thread Wolfgang Denk
Dear Simon Glass, In message 1329177081-29496-16-git-send-email-...@chromium.org you wrote: Add calls to bootstage before and after relocation, and just before jumping to the OS. The idea here is you can call bootstage_report() to get a report. Additionally, if you define

Re: [U-Boot] [PATCH v2 0/2] Add i2c TPM driver

2012-03-18 Thread Wolfgang Denk
Dear Che-Liang Chiou, In message 20111219112511.1eddc135a...@gemini.denx.de I wrote: In message 1324288224-5075-1-git-send-email-clch...@chromium.org you wrote: This patchset adds an i2c bus based TPM driver. Are there any users of this driver? I see we are adding TPM code, but so

Re: [U-Boot] [PATCH 1/2] cmd_fat: add FAT write command

2012-03-18 Thread Wolfgang Denk
Dear Maximilian, In message 1331632670-14874-1-git-send-email-...@tigris.de you wrote: From: Donggeun Kim dg77.kim at Once CONFIG_FAT_WRITE is defined, users can invoke 'fatwrite' command that saves data in RAM as a FAT file. Thanks for picking up this patch. A few minor comments: Please

[U-Boot] [PATCH] BOOT: Add RAW ramdisk support to bootz

2012-03-18 Thread Rob Herring
From: Marek Vasut marek.va...@gmail.com This patch allows loading RAW ramdisk via bootz command. The raw ramdisk is loaded only in case it's size is specified: bootz kernel addr ramdisk addr:ramdisk size fdt addr For example: bootz 0x4200 0x4300:0x12345 0x4400 Signed-off-by:

Re: [U-Boot] MMC broken after a7778f8fbee098c78b1fa1e1331313a7e217fb30

2012-03-18 Thread Grazvydas Ignotas
On Sun, Mar 4, 2012 at 10:06 PM, Pali Rohár pali.ro...@gmail.com wrote: Hi, this commit is breaking MMC support on Nokia N900: a7778f8fbee098c78b1fa1e1331313a7e217fb30 omap_hsmmc: Wait for CMDI to be clear I'm geting only error message timedout waiting on cmd inhibit to clear and I cannot

Re: [U-Boot] [PATCH] Enable high speed support for USB device framework and usbtty

2012-03-18 Thread Marek Vasut
Hi, Yes, ep0.c has direct access to the device field. I'll omit the usbd_device_qualifier_descriptor function in V2. How's V2 going? Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] Enabling nand createbbt command

2012-03-18 Thread Bud Miljkovic
Charles I looked at where I could set the startBlock and endBlock (btw - start_block and end_block are used in cmd_onenand.c) and I saw that in yaffscfg.c (flashDev-startBlock = 0; for yaffsVersion == 2). Is this the place do change flashDev-endBlock = nBlocks - 1; to flashDev-endBlock = N - 1,

[U-Boot] [PULL] u-boot-usb/master

2012-03-18 Thread Marek Vasut
The following changes since commit f933e84e3497bddf29b8183ca6ee37a7a12e9ac3: bootstage: arm: Add bootstage calls in board and bootm (2012-03-18 21:43:17 +0100) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to

Re: [U-Boot] [PATCH] ARM: Fix malloc area size for versatile and integrator

2012-03-18 Thread Linus Walleij
On Sat, Mar 17, 2012 at 3:41 AM, Marek Vasut ma...@denx.de wrote: These boards couldn't save their environment because they couldn't malloc() the whole size of the sector. Signed-off-by: Marek Vasut ma...@denx.de Cc: Linus Walleij linus.wall...@linaro.org Acked-by: Linus Walleij

Re: [U-Boot] [PATCH] ARM: Fix malloc area size for versatile and integrator

2012-03-18 Thread Marek Vasut
Dear Linus Walleij, On Sat, Mar 17, 2012 at 3:41 AM, Marek Vasut ma...@denx.de wrote: These boards couldn't save their environment because they couldn't malloc() the whole size of the sector. Signed-off-by: Marek Vasut ma...@denx.de Cc: Linus Walleij linus.wall...@linaro.org

Re: [U-Boot] OMAP USB, beagle-xm fail

2012-03-18 Thread Marek Vasut
Dear Tom Rini, On Mon, Feb 13, 2012 at 4:46 AM, Patil, Rachna rac...@ti.com wrote: Hi Govindraj, On Mon, Feb 13, 2012 at 14:29:56, Govindraj wrote: Hi Peter, On Mon, Feb 13, 2012 at 1:52 PM, Peter Meerwald pme...@pmeerw.net wrote: Hello, the recent OMAP USB changes

Re: [U-Boot] u-boot sandbox crash

2012-03-18 Thread Mike Frysinger
On Saturday 17 March 2012 22:12:38 Marek Vasut wrote: =md 0 :Segmentation fault this is because the change to make this work was reverted. i think ppc is broken, but haven't gone through the details to figure things out. -mike signature.asc Description: This is a digitally signed

Re: [U-Boot] coding style of boards.cfg

2012-03-18 Thread Mike Frysinger
On Saturday 17 March 2012 19:46:02 Luka Perkov wrote: I'm willing to write a patch for boards.cfg that would not mix spaces and tabs in this file. What is the prefered way - spaces or tabs? the board entries should use spaces only -mike signature.asc Description: This is a digitally signed

[U-Boot] [PATCH v3] global_data: unify global flag defines

2012-03-18 Thread Mike Frysinger
All the global flag defines are the same across all arches. So unify them in one place, and add a simple way for arches to extend for their needs. Signed-off-by: Mike Frysinger vap...@gentoo.org --- v3 - rebase onto mainline arch/arm/include/asm/global_data.h| 14

Re: [U-Boot] u-boot sandbox crash

2012-03-18 Thread Marek Vasut
Dear Mike Frysinger, On Saturday 17 March 2012 22:12:38 Marek Vasut wrote: =md 0 :Segmentation fault I see. this is because the change to make this work was reverted. i think ppc is broken, but haven't gone through the details to figure things out. -mike Hrm ... I wish I'd

Re: [U-Boot] OMAP USB, beagle-xm fail

2012-03-18 Thread Tom Rini
On Sun, Mar 18, 2012 at 5:13 PM, Marek Vasut ma...@denx.de wrote: Dear Tom Rini, On Mon, Feb 13, 2012 at 4:46 AM, Patil, Rachna rac...@ti.com wrote: Hi Govindraj, On Mon, Feb 13, 2012 at 14:29:56, Govindraj wrote: Hi Peter, On Mon, Feb 13, 2012 at 1:52 PM, Peter Meerwald

Re: [U-Boot] u-boot sandbox crash

2012-03-18 Thread Simon Glass
Hi, On Sun, Mar 18, 2012 at 5:26 PM, Mike Frysinger vap...@gentoo.org wrote: On Saturday 17 March 2012 22:12:38 Marek Vasut wrote: =md 0 :Segmentation fault this is because the change to make this work was reverted.  i think ppc is broken, but haven't gone through the details to

[U-Boot] [PATCH] mxs_spi: Return proper timeout error

2012-03-18 Thread Fabio Estevam
Instead of returning -1, it is preferred to return -ETIMEDOUT in case of timeouts. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/spi/mxs_spi.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/spi/mxs_spi.c b/drivers/spi/mxs_spi.c index

Re: [U-Boot] [PATCH] mxs_spi: Return proper timeout error

2012-03-18 Thread Marek Vasut
Dear Fabio Estevam, Instead of returning -1, it is preferred to return -ETIMEDOUT in case of timeouts. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- drivers/spi/mxs_spi.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/spi/mxs_spi.c

Re: [U-Boot] [PATCH] mxs_spi: Return proper timeout error

2012-03-18 Thread Mike Frysinger
On Sunday 18 March 2012 23:23:35 Fabio Estevam wrote: Instead of returning -1, it is preferred to return -ETIMEDOUT in case of timeouts. the SPI API doesn't care -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot

Re: [U-Boot] [PATCH] mxs_spi: Return proper timeout error

2012-03-18 Thread Marek Vasut
Dear Mike Frysinger, On Sunday 18 March 2012 23:23:35 Fabio Estevam wrote: Instead of returning -1, it is preferred to return -ETIMEDOUT in case of timeouts. the SPI API doesn't care -mike Yep, but returning symbolic value like this is more expressive. Best regards, Marek Vasut