Re: [U-Boot] u-boot fails to uncompress a gzip'ed -9 kernel

2009-01-27 Thread Norbert van Bolhuis
This is a MPC8313E-RDB board problem. We have 2 REV A4 boards. I can reproduce this problem on both of the MPC8313E-RDB boards with any version of u-boot with a compressed file which contains 1 or more dynamic codes blocks and a final fixed codes block. I have a 5k gzipped file for which the

[U-Boot] [PATCH] Add 16bpp BMP support

2009-01-27 Thread Mark Jackson
This patch adds 16bpp BMP support to the common lcd code. At the moment it's only been tested on the MIMC200 AVR32 board, but the hooks are in place to extend this to other platforms. Signed-off-by: Mark Jackson m...@mimc.co.uk --- common/lcd.c | 54

Re: [U-Boot] [PATCH] Add 16bpp BMP support

2009-01-27 Thread Wolfgang Denk
Dear Mark Jackson, In message 497edf68.7050...@mimc.co.uk you wrote: This patch adds 16bpp BMP support to the common lcd code. At the moment it's only been tested on the MIMC200 AVR32 board, but the hooks are in place to extend this to other platforms. Signed-off-by: Mark Jackson

[U-Boot] [PATCH] Remove static type from gunzip_bmp()

2009-01-27 Thread Mark Jackson
THe current bmp routines support gzipped files, but compilation fails due to the gunzip_bmp() function being defined as static. This patch fixes this problem. Signed-off-by: Mark Jackson m...@mimc.co.uk --- common/cmd_bmp.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[U-Boot] [PATCH v2] Add 16bpp BMP support

2009-01-27 Thread Mark Jackson
This patch adds 16bpp BMP support to the common lcd code. At the moment it's only been tested on the MIMC200 AVR32 board, but the hooks are in place to extend this to other platforms. Signed-off-by: Mark Jackson m...@mimc.co.uk --- common/lcd.c | 55

[U-Boot] [PATCH v2] Remove static type from gunzip_bmp()

2009-01-27 Thread Mark Jackson
The current bmp routines support gzipped files, but compilation fails (under AVR32) due to the gunzip_bmp() function being defined as static. This patch fixes this problem. Signed-off-by: Mark Jackson m...@mimc.co.uk --- common/cmd_bmp.c |4 ++-- 1 files changed, 2 insertions(+), 2

Re: [U-Boot] [PATCH v2 9/9] AVR32: Board support for ATEVK1100

2009-01-27 Thread Gunnar Rangøy
On Mon, Jan 26, 2009 at 8:50 PM, Wolfgang Denk w...@denx.de wrote: Dear ?ISO-8859-1?Q?Gunnar_Rangøy?, In message e1b3d0a60901260635s668877b9j7368427832acf...@mail.gmail.com you wrote: ... +#undef CONFIG_CMD_AUTOSCRIPT Is there a specific reason for not allowing to use shell scripts?

Re: [U-Boot] [PATCH v2] Add 16bpp BMP support

2009-01-27 Thread Wolfgang Denk
Dear Mark Jackson, In message 497ef0c4.3060...@mimc.co.uk you wrote: This patch adds 16bpp BMP support to the common lcd code. At the moment it's only been tested on the MIMC200 AVR32 board, but the hooks are in place to extend this to other platforms. ... +#if defined(CONFIG_PXA250)

Re: [U-Boot] [PATCH v2] Remove static type from gunzip_bmp()

2009-01-27 Thread Wolfgang Denk
Dear Mark Jackson, In message 497ef15a.6050...@mimc.co.uk you wrote: The current bmp routines support gzipped files, but compilation fails (under AVR32) due to the gunzip_bmp() function being defined as static. This patch fixes this problem. Signed-off-by: Mark Jackson m...@mimc.co.uk

Re: [U-Boot] [PATCH v2] Add 16bpp BMP support

2009-01-27 Thread Wolfgang Denk
Dear Mark, In message 497efc3e.8050...@mimc.co.uk you wrote: What if I just remove all the extranous #defines all together ? And just leave the inner #if defined(CONFIG_ATMEL_LCD_BGR555) ? Well, we probably don't need to add code for 16bpp support on systems that cannot make use of it.

Re: [U-Boot] [PATCH v2] Add 16bpp BMP support

2009-01-27 Thread Mark Jackson
Wolfgang Denk wrote: Dear Mark, In message 497efc3e.8050...@mimc.co.uk you wrote: What if I just remove all the extranous #defines all together ? And just leave the inner #if defined(CONFIG_ATMEL_LCD_BGR555) ? Well, we probably don't need to add code for 16bpp support on systems that

[U-Boot] [PATCH v3] Remove static type from gunzip_bmp()

2009-01-27 Thread Mark Jackson
The current bmp routines support gzipped files, but compilation fails (under AVR32) due to the gunzip_bmp() function being defined as static. This patch fixes this problem. The gunzip_bmp routine has also now been defined in the lcd.h header file. Signed-off-by: Mark Jackson m...@mimc.co.uk ---

[U-Boot] Reset command on u-boot command line not working

2009-01-27 Thread Ajeesh Kumar
Hello , We have a custom board similar to EP8548A board, custom board has MPC8548E alone with 4 onboard DDR2 SDRAM(total 512MB). Only one chip select is used. Below is the code snippet in u-boot, which will initialize the DDR2 SDRAM. Fortunately, When ever I give a hard reset( via switch) HRST#

Re: [U-Boot] Reset command on u-boot command line not working

2009-01-27 Thread Roman Mashak
Hello 2009/1/27, Ajeesh Kumar aje...@tataelxsi.co.in: [skip] But, when I give the command reset on the u-boot command line, system hangs printing The below on the console: /***/ U-Boot 1.2.0 (Jan 27 2009 - 17:17:39) [skip] Probably the

Re: [U-Boot] [PATCH] ne2000: take MAC address from config if available

2009-01-27 Thread Daniel Mack
Picking up an acient thread, On Sun, Dec 14, 2008 at 12:39:10PM +0100, Daniel Mack wrote: On Sun, Dec 14, 2008 at 12:12:24PM +0100, Wolfgang Denk wrote: This adds CONFIG_NE2000_NOPROM. If set, the ethernet MAC address is taken from the environment variable 'ethaddr' and the NIC is

Re: [U-Boot] [PATCH 1/1] arm: fix some arch_number definition

2009-01-27 Thread Jean-Christophe PLAGNIOL-VILLARD
On 13:02 Tue 27 Jan , Detlev Zundel wrote: Hi Jean-Christophe, Note that there are other places where this is used - these must be changed, too - for example: board/lpc2292sodimm/lpc2292sodimm.c: 42 /* arch number MACH_TYPE_ARMADILLO - not official*/

Re: [U-Boot] [PATCH] ne2000: take MAC address from config if available

2009-01-27 Thread Wolfgang Denk
Dear Daniel, In message 20090127130912.ga25...@buzzloop.caiaq.de you wrote: I can send a new version of this patch following this, but I wonder why such a logic has to be implemented in the ethernet drivers and did not find a well-defined place in some kind of layer all drivers make use

[U-Boot] Nasty gunzip problem on MPC8313E-RDB

2009-01-27 Thread Norbert van Bolhuis
We have 2 MPC8313E-RDB REVA4 boards. u-boot always fails to uncompress certain compressed files. Either the board will hang or a checkstop occurs. The problem occurs on both our MPC8313E-RDB REVA4 boards. Probably memory is overwritten at the end of RAM (where u-boot is relocated to). When

Re: [U-Boot] Reset command on u-boot command line not working

2009-01-27 Thread Ajeesh Kumar
Hello Mashak, I'm using the u-boot what I got with the development board (EP8548A) and we have a custom board Which is pretty similar to that. And I don't want to take any risk in changing the u-boot because is have Stipulated time. I'm done with the custom board bring up as of now, I have

Re: [U-Boot] [PATCH 1/3 v3] MIPS: Add VCT board series support (Part 1/3)

2009-01-27 Thread Shinya Kuribayashi
Wolfgang Denk wrote: Stefan, I'm going to fold all patches into sinble commit, ok? That's ok with me. Not sure if Wolfgang has an objection though, since he might have problems tracking the status of the patches. Wolfgang, an objections from you? Yes, indeed. I like to see commits

Re: [U-Boot] Reset command on u-boot command line not working

2009-01-27 Thread Ajeesh Kumar
Hello, I too got this info, but due to stipulated time, I cant shift to newer version now. I assumed that as development used the same u-boot thought of going with the same. Please help me. Thanks, Ajeesh Kumar -Original Message- From: Wolfgang Denk [mailto:w...@denx.de] Sent:

[U-Boot] [GIT PULL] MIPS updates

2009-01-27 Thread Shinya Kuribayashi
Hi Wolfgang, please pull U-Boot/MIPS repository to pick up the following changes. Thanks in advance, Shinya --- The following changes since commit 8f86a3636ef88427f880610638e80991adc41896: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx are available

[U-Boot] [PATCH v3] Add 16bpp BMP support

2009-01-27 Thread Mark Jackson
This patch adds 16bpp BMP support to the common lcd code. Use CONFIG_BMP_16BPP and set LCD_BPP to LCD_COLOR16 to enable the code. At the moment it's only been tested on the MIMC200 AVR32 board, but extending this to other platforms should be a simple task !! Signed-off-by: Mark Jackson

Re: [U-Boot] Reset command on u-boot command line not working

2009-01-27 Thread Kumar Gala
On Jan 27, 2009, at 8:13 AM, Ajeesh Kumar wrote: Hello, I too got this info, but due to stipulated time, I cant shift to newer version now. I assumed that as development used the same u-boot thought of going with the same. Please help me. Thanks, Ajeesh Kumar Odds are that the

Re: [U-Boot] [PATCH/RFC, 0/2] I2C rework -- what do you think?

2009-01-27 Thread Heiko Schocher
Hello ksi, k...@koi8.net wrote: Hi everyone, Here is the first draft of major I2C subsystem rework. This is not a patch that should be applied to the tree--it will break systems with I2C busses over multiplexers and probably something else--but rather a Request For Comments. I would like to

Re: [U-Boot] Reset command on u-boot command line not working

2009-01-27 Thread Wolfgang Denk
Dear Ajeesh Kumar, In message vsnlchnfe00165wytn400055...@vsnlchnfe001.vsnlxchange.com you wrote: I too got this info, but due to stipulated time, I cant shift to newer version now. I assumed that as development used the same u-boot thought of going with the same. Please help me. Feel

Re: [U-Boot] u-boot fails to uncompress a gzip'ed -9 kernel

2009-01-27 Thread Tor Krill
Hi Norbert, I missed the start of this thread. So my apologies if im barking up the wrong tree :) We had problems uncompressing zImages on our 8313 board. But always suspected some memory timing issues, or perhaps some strangeness in 8313. I tracked our problems down to a specific line in

Re: [U-Boot] Reset command on u-boot command line not working

2009-01-27 Thread Jayakrishnan M
Dear Ajeesh Kumar, Odds are that the reset command isn't doing a full board reset and just resetting the core and thus you are seeing some hang from that. - k You may check your board design also. Is HRESET routed to all components on your board? Is the switch giving HRESET or triggering any

[U-Boot] Backup Booting

2009-01-27 Thread Pawel Pastuszak
Hi Guys, I was wondering if there is any think like backup booting and secondary image for example lets say i am booting an image and it fails CRC check etc... i want to to validate that the backup image is good and then overwrite the current image with the backup image and be able to boot of

Re: [U-Boot] Backup Booting

2009-01-27 Thread Wolfgang Denk
Dear Pawel Pastuszak, In message 8ff29df80901270734h2791b9f3qf72b99830860c...@mail.gmail.com you wrote: I was wondering if there is any think like backup booting and secondary image for example lets say i am booting an image and it fails CRC check etc... i want to to validate that the

Re: [U-Boot] Backup Booting

2009-01-27 Thread Pawel Pastuszak
Where do i find the manual? On Tue, Jan 27, 2009 at 10:41 AM, Wolfgang Denk w...@denx.de wrote: Dear Pawel Pastuszak, In message 8ff29df80901270734h2791b9f3qf72b99830860c...@mail.gmail.com you wrote: I was wondering if there is any think like backup booting and secondary image for

[U-Boot] Watchdog timer and booting in Linux kernel

2009-01-27 Thread Sachin Rane
Hi, I am using u-boot and linux kernel on our custom PPC440gx board. The board was booting without any issue. The board started rebooting while booting in linux kernel after enabled the watchdog timer in u-boot by defining 'CONFIG_WATCHDOG'. I have observed that the board gets reset while

Re: [U-Boot] Backup Booting

2009-01-27 Thread Wolfgang Denk
Dear Pawel Pastuszak, In message 8ff29df80901270743t7962d14aia1cf7b613899d...@mail.gmail.com you wrote: Where do i find the manual? Hm.. does google u-boot manual ring a bell? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235

Re: [U-Boot] Watchdog timer and booting in Linux kernel

2009-01-27 Thread Wolfgang Denk
Dear Sachin Rane, In message 73fa539107892c4c8c7a5aca10c161c85be...@mx2.alphioncorp.local you wrote: I am using u-boot and linux kernel on our custom PPC440gx board. The board was booting without any issue. The board started rebooting while booting in linux kernel after enabled the

[U-Boot] [PATCH v3 1/5] OMAP3: Add common power code, README, and BeagleBoard

2009-01-27 Thread Dirk Behme
Add BeagleBoard support, common power code and README. Signed-off-by: Jason Kridner jkrid...@beagleboard.org Signed-off-by: Dirk Behme dirk.be...@googlemail.com --- Changes in v3: - Fix missing entry in MAKEALL This patch replaces v2 version of this patch. All other v2 version patches are still

Re: [U-Boot] Backup Booting

2009-01-27 Thread Pawel Pastuszak
Yes i found it. http://www.denx.de/wiki/view/DULG/UBootBootCountLimit Thanks for your kind words. ;-) Regards, Pawel On Tue, Jan 27, 2009 at 11:57 AM, Wolfgang Denk w...@denx.de wrote: Dear Pawel Pastuszak, In message 8ff29df80901270743t7962d14aia1cf7b613899d...@mail.gmail.com you wrote:

[U-Boot] IP_t should be a packed struct

2009-01-27 Thread Luigi 'Comio' Mantellini
Hi ML, I'm working on a mips target and I used qemu_mips target to simulate my target (that I hope to have in the next week...) Following my activities I noticed that IP_t structure is no defined with attribute packed. I noticed this issue because using a self-made toolchain

Re: [U-Boot] Backup Booting

2009-01-27 Thread Wolfgang Denk
Dear Pawel Pastuszak, In message 8ff29df80901271011m3b7adc76u627162f9c5b3a...@mail.gmail.com you wrote: Yes i found it. http://www.denx.de/wiki/view/DULG/UBootBootCountLimit Thisi s only part two. The first part (using an alternative image in case the first one has a bad CRC, etc. can for

Re: [U-Boot] [ppc4xx] Please pull git://www.denx.de/git/u-boot-ppc4xx.git

2009-01-27 Thread Wolfgang Denk
Dear Stefan Roese, In message 200901261047.36562...@denx.de you wrote: The following changes since commit 8f86a3636ef88427f880610638e80991adc41896: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx are available in the git repository at:

Re: [U-Boot] [cfi-flash] Please pull git://www.denx.de/git/u-boot-cfi-flash.git

2009-01-27 Thread Wolfgang Denk
Dear Stefan Roese, In message 200901261125.51840...@denx.de you wrote: The following changes since commit 8f86a3636ef88427f880610638e80991adc41896: Wolfgang Denk (1): Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx are available in the git repository at:

Re: [U-Boot] [GIT PULL] MIPS updates

2009-01-27 Thread Wolfgang Denk
Dear Shinya Kuribayashi, In message 497f1752.1060...@ruby.dti.ne.jp you wrote: Hi Wolfgang, please pull U-Boot/MIPS repository to pick up the following changes. Thanks in advance, Shinya --- The following changes since commit 8f86a3636ef88427f880610638e80991adc41896: Wolfgang

Re: [U-Boot] [PATCH] Fix gunzip in case of insufficient output buffer

2009-01-27 Thread Wolfgang Denk
Dear Matthias Fuchs, In message 200901021511.42036.matthias.fu...@esd-electronics.com you wrote: U-Boot's gunzip() function does not handle the return code of zlib's inflate() function correctly. gunzip() is implemented to uncompress all input data in one run. So the correct return code for

Re: [U-Boot] Backup Booting

2009-01-27 Thread Pawel Pastuszak
Yeah i understand completely . thanks for pointing me in the right direction... P.S: I like this quote better ;-) Give a man a fish and he won't starve for a day. Teach a man how to fish and he won't starve for his entire life. -- Calvin Keegan Regards, Pawel On Tue, Jan 27, 2009 at

Re: [U-Boot] sprintf side effect, a bug?

2009-01-27 Thread E Robertson
On Monday 26 January 2009 04:30:36 pm Wolfgang Denk wrote: Dear E Robertson, In message 200901261453.10434.e.robertson@gmail.com you wrote: It seems that sprintf() is modifying at least two bytes from the source and I have duplicate this with different varibles. For instance, I have a

Re: [U-Boot] sprintf side effect, a bug?

2009-01-27 Thread Scott Wood
E Robertson wrote: I did the following: memcpy (gd-bd-bi_enetaddr, MACAddress, sizeof(gd-bd-bi_enetaddr)); memcpy (dupMACAddress, MACAddress, sizeof(dupMACAddress)); printf(Before %02X:%02X:%02X:%02X:%02X:%02X\n,dupMACAddress[0], dupMACAddress[1],

Re: [U-Boot] fat.c:707: warning: array subscript is above array bounds

2009-01-27 Thread Wolfgang Denk
Dear David Hawkins, In message 49443c7f.3020...@ovro.caltech.edu you wrote: In message 2008121325.gn15...@game.jcrosoft.org you wrote: 705 /* Terminate fs_type string. Writing past the end of vistart 706is ok - it's just the buffer. */ 707

Re: [U-Boot] [PATCH] drivers/net/e1000.c: missing terminator for supported devices

2009-01-27 Thread Wolfgang Denk
Dear Stefan Althoefer, In message gije76$19...@ger.gmane.org you wrote: Signed-off-by: Stefan Althoefer stefan.althoe...@web.de --- Fu. copy and paste. This is the tab correct patch. drivers/net/e1000.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

Re: [U-Boot] [PATCH v3] SATA: do not auto-initialize during boot

2009-01-27 Thread Wolfgang Denk
Dear Mike Frysinger, In message 1230009039-20117-1-git-send-email-vap...@gentoo.org you wrote: Rather than have the board code initialize SATA automatically during boot, make the user manually run sata init. This brings the SATA subsystem in line with common U-Boot policy. Rather than

Re: [U-Boot] nand sector size is zero in jffs2 cmds

2009-01-27 Thread Wolfgang Denk
Dear Derek Ou, In message 497dfe89.7020...@siconix.com you wrote: The following patch was tested some time ago. I am in the middle of another task and can not verify this patch with the latest code. Should I just reformat my patch and submit it or should I wait till I can test it with

Re: [U-Boot] [PATCH] drivers/net/e1000.c: missing terminator for supported devices

2009-01-27 Thread Ben Warren
Wolfgang Denk wrote: Dear Stefan Althoefer, In message gije76$19...@ger.gmane.org you wrote: Signed-off-by: Stefan Althoefer stefan.althoe...@web.de --- Fu. copy and paste. This is the tab correct patch. drivers/net/e1000.c |1 + 1 files changed, 1 insertions(+), 0

Re: [U-Boot] Minor bug found in board/zylonite/lowlevel_init.S. 0x300 changed to 300.

2009-01-27 Thread Wolfgang Denk
Dear Tom, In message 4959a41f.50...@ceos.com.au you wrote: | commit 9d803d8c0b7fd9aeb2e708e9e48dd76d7287856d | Author: Markus Klotzb^(n)cher Markus Klotzb^(n)m...@pollux.(none) | Date: Wed Feb 8 18:56:28 2006 +0100 | | Changes: | | * lots of bugfixes in the assembler code |

Re: [U-Boot] [PATCH] soft_i2c.c add option for repeated start in i2c_read()

2009-01-27 Thread Wolfgang Denk
Dear Andrew Dyer, In message 49595ee1.8040...@righthandtech.com you wrote: This patch adds a #define to optionally change the behaviour of i2c_read() in soft_i2c.c to send an I2C repeated start instead of a stop-start between sending the device address pointer write and reading back the

Re: [U-Boot] [PATCH] Add AMD 29LV160DB FLASH support to SBC2410 board.

2009-01-27 Thread Wolfgang Denk
Dear Daniel Schuler, In message 7909dbcf0812292347x63b36946r7b7feb90dcbb5...@mail.gmail.com you wrote: The new SBC-2410A board from Embest now ships with 2MB NOR FLASH, for which CONFIG_AMD_LV160 has been defined in include/configs/sbc2410x.h This chip is already supported in other

Re: [U-Boot] [PATCH] saveenv: standardize enablement

2009-01-27 Thread Wolfgang Denk
Dear Mike Frysinger, In message 1230623965-16546-1-git-send-email-vap...@gentoo.org you wrote: Rather than special casing each environment type for enabling the saveenv command, have them all behave the same. This avoids bitrot as new env sources are added/removed. Signed-off-by: Mike

Re: [U-Boot] [PATCH/RFC, 0/2] I2C rework -- what do you think?

2009-01-27 Thread ksi
On Tue, 27 Jan 2009, Heiko Schocher wrote: Hello ksi, k...@koi8.net wrote: Hi everyone, Here is the first draft of major I2C subsystem rework. This is not a patch that should be applied to the tree--it will break systems with I2C busses over multiplexers and probably something else--but

[U-Boot] [PATCH] NAND jffs2 bug fix - sector size not initialized

2009-01-27 Thread Derek Ou
NAND jffs2 bug fix - sector size not initialized. Signed-off-by: Derek Ou d...@siconix.com --- common/cmd_jffs2.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/common/cmd_jffs2.c b/common/cmd_jffs2.c index 7866c80..f6966f3 100644 --- a/common/cmd_jffs2.c +++

[U-Boot] [PATCH] mpc83xx: fix undefined reference to `flush_cache' error in simpc8313 build

2009-01-27 Thread Kim Phillips
extend commit c70564e6b1bd08f3230182392238907f3531a87e NAND: Fix cache and memory inconsistency issue to add the cache.o dependency to the simpc8313 build and fix this: ...Large Page NAND...Configuring for SIMPC8313 board... nand_boot_fsl_elbc.o: In function `nand_boot':

[U-Boot] [PATCH] Move is_valid_ether_addr() to include/net.h

2009-01-27 Thread Mike Frysinger
Import the is_valid_ether_addr() function from the Linux kernel. Signed-off-by: Mike Frysinger vap...@gentoo.org CC: Ben Warren biggerbadder...@gmail.com --- board/bf537-stamp/bf537-stamp.c | 16 include/net.h | 16 2 files changed, 16

Re: [U-Boot] [PATCH 1/1] jffs2: Fix zero sector_size when not using CONFIG_JFFS2_CMDLINE

2009-01-27 Thread Wolfgang Denk
Dear Tomasz Figa, In message 200812301835.57435.tomasz.f...@gmail.com you wrote: This patch fixes a bug (?) introduced after inclusion of the new JFFS2 code. When not using CONFIG_JFFS2_CMDLINE, the code in cmd_jffs2.c doesn't fill in part-sector_size (keeping it as 0), but a correct value

Re: [U-Boot] nand potential div0

2009-01-27 Thread Wolfgang Denk
Dear Ryan J M, In message dcf6addc0812301719m4af2fcd3teeca516e62681...@mail.gmail.com you wrote: I thought it would be better to check whether chip-ecc.size equal 0 here, I forgot to set ecc.size in board_nand_init() and it trigs a div0 hang. driver/mtd/nand/nand_base.c 2786 /*

Re: [U-Boot] [PATCH 0/5] Command usage cleanup

2009-01-27 Thread Wolfgang Denk
Dear Peter Tyser, In message 1230746884-6510-1-git-send-email-pty...@xes-inc.com you wrote: This patch series attempts to clean up how the usage field of the cmd_tbl_s structure is used. It does 3 things: 1. Adds a cmd_usage() function to print a command's usage 2. Removes the command name

Re: [U-Boot] [PATCH] [REBASED] part_efi: Fix partition size calculation due to inclusive ending LBA.

2009-01-27 Thread Wolfgang Denk
Dear Richard Retanubun, In message 497dbe6a.5090...@ruggedcom.com you wrote: The ending LBA is inclusive. Hence, the partition size should be ((ending-LBA + 1) - starting-LBA) to get the proper partition size. This is confirmed against the results from the parted tool. (e.g. use parted

[U-Boot] [PATCH 02/07 V2] Coldfire: cmd_bdinfo cleanup

2009-01-27 Thread Richard Retanubun
CONFIG_M68K bdinfo cleanup: Fixed compiler warning about baudrate printing. format '%d' expects type 'int', but argument 2 has type 'long unsigned int'. Added printing of cpufreq Signed-off-by: Richard Retanubun richardretanu...@ruggedcom.com --- V2: Same a V1, but fixed the line wrapped @@

Re: [U-Boot] [PATCH] mflash u-boot support

2009-01-27 Thread Wolfgang Denk
Dear Kim, In message 57afda040901052341g3b00f741r445c0ce8d33b7...@mail.gmail.com you wrote: I wrote mflash IO mode block device driver for U-Boot. Thanks for your contribution. Here a few comments: diff --git a/common/Makefile b/common/Makefile index 93e3963..f93e575 100644 ---

Re: [U-Boot] [PATCH v4] SATA: do not auto-initialize during boot

2009-01-27 Thread Wolfgang Denk
Dear Mike Frysinger, In message 1233090741-3150-1-git-send-email-vap...@gentoo.org you wrote: Rather than have the board code initialize SATA automatically during boot, make the user manually run sata init. This brings the SATA subsystem in line with common U-Boot policy. Rather than

Re: [U-Boot] [PATCH] NAND jffs2 bug fix - sector size not initialized

2009-01-27 Thread Wolfgang Denk
Dear Derek, In message 541d21dc51a2ad9d7eb18755215f5605.squir...@webmail.siconix.com you wrote: NAND jffs2 bug fix - sector size not initialized. Signed-off-by: Derek Ou d...@siconix.com --- common/cmd_jffs2.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH 1/5 v2] Clean up diufb command definitions

2009-01-27 Thread Peter Tyser
The diufb command usage formatting is non-standard. It was made standard in preparation for larger command usage updates. Signed-off-by: Peter Tyser pty...@xes-inc.com --- board/ads5121/ads5121_diu.c |2 +- board/freescale/mpc8610hpcd/mpc8610hpcd_diu.c |2 +- 2 files

[U-Boot] [PATCH 0/5 v2] Command usage cleanup

2009-01-27 Thread Peter Tyser
Changes since v1: - Rebase on top of tree This patch series attempts to clean up how the usage field of the cmd_tbl_s structure is used. It does 3 things: 1. Adds a cmd_usage() function to print a command's usage 2. Removes the command name from the usage field for all commands 3. Removes

[U-Boot] [PATCH 2/5 v2] pcs440ep: Clean up led command definition

2009-01-27 Thread Peter Tyser
The pcs440ep's led command usage formatting is non-standard. It was made standard in preparation for larger command usage updates. Signed-off-by: Peter Tyser pty...@xes-inc.com --- board/pcs440ep/pcs440ep.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH 4/5 v2] amcc: Clean up command usage output

2009-01-27 Thread Peter Tyser
Update taihu and taishan commands to use cmd_usage() function to display usage messages. Signed-off-by: Peter Tyser pty...@xes-inc.com --- board/amcc/taihu/lcd.c |6 +++--- board/amcc/taihu/taihu.c |6 +++--- board/amcc/taishan/lcd.c |6 +++--- 3 files changed, 9 insertions(+), 9

Re: [U-Boot] [PATCH] V2 NAND_SPL support for phycore imx31to Scott Wood

2009-01-27 Thread Maxim Artamonov
In message on Friday 12 December 2008 04:55:49 Scott Wood wrote: On Fri, Dec 05, 2008 at 02:13:51PM +0300, Maxim Artamonov wrote: +#ifdef CONFIG_NAND_SPL +/* somewhat macro to reduce bin size for CONFIG_NAND_SPL*/ +.macro FILLREGS begreg, val, count, step Why not use this macro always?

[U-Boot] [PATCH]V3 NAND_SPL support for phycore imx31

2009-01-27 Thread Maxim Artamonov
V3 NAND_SPL support for phycore imx31 This patch is applied on U-Boot v2008.10 release. Changelog: * Added infinitive loop for ecc-error cases; * Correct to code-style; * Was changed mx31_nand_data_output function for support 2-k NAND

[U-Boot] [PATCH] MIPS: Fix compile warning in au1x00_eth.c

2009-01-27 Thread Stefan Roese
This patch fixes this compilation warning: ./MAKEALL dbau1000 Configuring for dbau1x00 board... au1x00_eth.c: In function 'au1x00_send': au1x00_eth.c:158: warning: passing argument 1 of 'virt_to_phys' discards qualifiers from pointer target type ... Seens with ELDK 4.2 (GCC 4.2.2).

Re: [U-Boot] [PATCH v2 5/9] AVR32: macb - Disable 100mbps if clock is slow

2009-01-27 Thread Ben Warren
Hi Gunnar, Gunnar Rangøy wrote: On Fri, Jan 23, 2009 at 4:38 PM, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: On 12:56 Fri 23 Jan , Gunnar Rangoy wrote: From: Olav Morken olav...@gmail.com For 100mbps operation, the ethernet controller requires a 25 MHz clock

Re: [U-Boot] [PATCH v2 1/9] Fix IP alignement problem

2009-01-27 Thread Ben Warren
Gunnar Rangoy wrote: From: Olav Morken olav...@gmail.com This patch removes volatile from: volatile IP_t *ip = (IP_t *)xip; Due to a bug, avr32-gcc will assume that ip is aligned on a word boundary when using volatile, which causes an exception since xip isn't aligned on a word boundary.

[U-Boot] [PATCH] include/image.h: Use explicit function definitions instead of macro trickery

2009-01-27 Thread Petri Lehtinen
Signed-off-by: Petri Lehtinen petri.lehti...@inoi.fi --- I got frustrated while grepping through the sources, trying to find the definitions of these functions. Thinking back, the obvious place to look in the first place would of course have been include/image.h, but it didn't even cross my mind

Re: [U-Boot] [PATCH] ppc4xx: Fix initialization of SDRAM_CODT register in ppc_4xx_ddr2.c

2009-01-27 Thread Adam Graham
Stefan, Carolyn, Yes, I do intend on sending out an AMCC patch to remove the definition for SDRAM_CODT_FEEBBACK_RCV_SINGLE_END and SDRAM_CODT_FEEBBACK_DRV_SINGLE_END. My apologies Carolyn as I should have notified you of this intent. My AMCC patch to remove these SDRAM_CODT bit definitions may

Re: [U-Boot] [PATCH 0/5 v2] Command usage cleanup

2009-01-27 Thread Wolfgang Denk
Dear Peter Tyser, In message 1233100992-30871-1-git-send-email-pty...@xes-inc.com you wrote: Changes since v1: - Rebase on top of tree This patch series attempts to clean up how the usage field of the cmd_tbl_s structure is used. It does 3 things: 1. Adds a cmd_usage() function to print a