Re: [U-Boot] PCIe switch questions

2009-08-13 Thread Stefan Roese
On Friday 14 August 2009 01:33:57 dbrazeau wrote: > Hi. I'm planning on using a IDT PCIe switch on our custom board with a > PPC_460 cpu. I have searched the internet and haven't found much in the > way of references of using a IDT PCIe switch and a PPC with U-boot. I was > just wondering if I sh

Re: [U-Boot] License Problems for standalone application at u-boot

2009-08-13 Thread Peter Chen
Dear Wolfgang, I have still some puzzled which you wrote below : 1. Does jump table means the function lists which the standalone applications uses? 2. If the functions includes some u-boot header file, it belongs to derived work or not? Thank you! NOTE! This copyright does *not* cover the so

Re: [U-Boot] [PATCH 1/1 v2][Net] Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API

2009-08-13 Thread Ben Warren
On Thu, Aug 13, 2009 at 1:07 AM, Wolfgang Denk wrote: > Dear Ben Warren, > > In message <1250145251-23438-1-git-send-email-biggerbadder...@gmail.com> > you wrote: > > All in-tree boards that use this controller have CONFIG_NET_MULTI added > > Also: > > - changed CONFIG_DRIVER_CS8900 to CONFIG_C

[U-Boot] MX31 SDRAM size

2009-08-13 Thread alfred steele
Hi, We are thinking of migrating to a 256M chip on the MX31 3stack based board. WHich all config variables have to be changed apart from "SDRAM_SIZE" and no of banks(CSD0)? Thanks, Alfred. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/

Re: [U-Boot] License Problems for standalone application at u-boot

2009-08-13 Thread Wolfgang Denk
Dear Peter, in message <1250220295.7144.18.ca...@nchen-desktop> you wrote: > > We have a standalone application, and u-boot will supply jump address > and some services to this application. > I wonder are there any license problems (GPL or u-boot) for our > standalone application at below conditi

[U-Boot] License Problems for standalone application at u-boot

2009-08-13 Thread Peter Chen
Dear u-boot authors, We have a standalone application, and u-boot will supply jump address and some services to this application. I wonder are there any license problems (GPL or u-boot) for our standalone application at below condition: 1. Some services which we wrote have included some u-boot he

[U-Boot] PCIe switch questions

2009-08-13 Thread dbrazeau
Hi. I'm planning on using a IDT PCIe switch on our custom board with a PPC_460 cpu. I have searched the internet and haven't found much in the way of references of using a IDT PCIe switch and a PPC with U-boot. I was just wondering if I should expect any issue with U-Boot/Linux communicating wit

Re: [U-Boot] NAND issues

2009-08-13 Thread alfred steele
> That controls whether the "jffs2" command supports NAND. Iis it a MUST HAVE if you are using a jffs2 root filesystem? I mean do i have to turn on "CONFIG_JFFS2_NAND" if i have a jff2 rootfs. Are there any other configuration flags i need to turn on for JFFS2 support? Thanks, Alfred. _

Re: [U-Boot] ext2fs.c/ext2fs_mount() fails when inode_size = 256

2009-08-13 Thread Bob Furber
Wolfgang Denk wrote: >> Thanks Wolfgang. You were right. I had used u-boot-2009.08-rc1 which >> still had the 128 byte inode size hard-coded in >> ...\u-boot-2009.08-rc1\fs\ext2\ext2fs.c. Upgrading to u-boot-2009.08-rc2 >> now allows me to boot from 2GB SD cards formatted with Ubuntu-2.6.27. >>

Re: [U-Boot] ext2fs.c/ext2fs_mount() fails when inode_size = 256

2009-08-13 Thread Wolfgang Denk
Dear Bob Furber, In message <4a848a12.2070...@steroidmicros.com> you wrote: > > Thanks Wolfgang. You were right. I had used u-boot-2009.08-rc1 which > still had the 128 byte inode size hard-coded in > ...\u-boot-2009.08-rc1\fs\ext2\ext2fs.c. Upgrading to u-boot-2009.08-rc2 > now allows me to b

Re: [U-Boot] [PATCH 0/4] Network defrag

2009-08-13 Thread Wolfgang Denk
Dear Robin Getz, In message <200908131747.20194.rg...@blackfin.uclinux.org> you wrote: > > > I have to admit that I am no friend of this puts_quiet() thingy. > > How much time do we really save on a normal system? > > A small fraction. Thanks for measuring it. > As the network gets faster, and

Re: [U-Boot] [PATCH] Add support to mkconfig for setting simple #defines in config.h

2009-08-13 Thread Scott Wood
On Thu, Aug 13, 2009 at 10:15:11PM +0200, Wolfgang Denk wrote: > Nope, this doesn't work. > > We have many names with more than one underscore in it (all the > CONFIG_CMD_* and CONFIG_SYS_* and CONFIG_BOOTP_* and ...). So? Let the board config file translate from the target names into the real n

Re: [U-Boot] ext2fs.c/ext2fs_mount() fails when inode_size = 256

2009-08-13 Thread Bob Furber
Wolfgang Denk wrote: Thanks Wolfgang. You were right. I had used u-boot-2009.08-rc1 which still had the 128 byte inode size hard-coded in ...\u-boot-2009.08-rc1\fs\ext2\ext2fs.c. Upgrading to u-boot-2009.08-rc2 now allows me to boot from 2GB SD cards formatted with Ubuntu-2.6.27. Thanks, Bob

Re: [U-Boot] [PATCH 0/4] Network defrag

2009-08-13 Thread Robin Getz
On Wed 12 Aug 2009 17:30, Wolfgang Denk pondered: > Dear Ben Warren, > > In message <4a832bce.9060...@gmail.com> you wrote: > > > > Sure, if you don't mind re-compiling. I think it might be an > > opt-outable message via puts_quiet() > > It seems we start having a mess here, with features bound

Re: [U-Boot] [PATCH V4] Add support for the galaxy5200

2009-08-13 Thread Wolfgang Denk
Dear "Eric Millbrandt", In message <20090813150849.m86...@coldhaus.com> you wrote: > Add support for the DEKA Research and Development galaxy5200 board > > The galaxy5200 is an Freescale mpc5200 based embedded industrial control > board. > > Signed-off-by: Eric Millbrandt > --- > > Changes si

Re: [U-Boot] RFC: "make DESTDIR=xxx install" ?

2009-08-13 Thread Wolfgang Denk
Dear Ulf Samuelsson, In message <4a84779f.7010...@atmel.com> you wrote: > > This still means that the external buildsystem need to > know the internals of u-boot. You always have to know the interface to the U-Boot build framework, there is no way around that. > There is nothing to stop me calli

Re: [U-Boot] RFC: "make DESTDIR=xxx install" ?

2009-08-13 Thread Ulf Samuelsson
k...@koi8.net skrev: > On Thu, 13 Aug 2009, Ulf Samuelsson wrote: > >> Many packages support installing the resulting binary in another >> location, but U-Boot does not. >> >> When you use buildsystems like buildroot and openembedded, >> you want to collect the end result in a target directory, >>

Re: [U-Boot] RFC: "make DESTDIR=xxx install" ?

2009-08-13 Thread Ulf Samuelsson
Wolfgang Denk skrev: > Dear Ulf Samuelsson, > > In message <4a843392.4020...@atmel.com> you wrote: >> Many packages support installing the resulting binary in another >> location, but U-Boot does not. >> >> When you use buildsystems like buildroot and openembedded, >> you want to collect the end r

Re: [U-Boot] [PATCH] Add support to mkconfig for setting simple #defines in config.h

2009-08-13 Thread Mike Frysinger
On Thursday 13 August 2009 16:15:11 Wolfgang Denk wrote: > Mike Frysinger wrote: > > > Consider a target such as BOARDNAME_66MHz_NANDBOOT_PCISLAVE. > > > > > > It could then invoke "$(MKCONFIG) -D $@ -a configname arch cpu board". > > > mkconfig would break up the -D argument into: > > > > > > #def

Re: [U-Boot] [PATCH] mx31ads: update board configuration

2009-08-13 Thread Guennadi Liakhovetski
On Thu, 13 Aug 2009, Wolfgang Denk wrote: > Bring default environment more in line with other boards; > fix address range for "mtest" command. > > Signed-off-by: Wolfgang Denk > Cc: Guennadi Liakhovetski Having various board configurations look similar has, certainly, advantages, but I've got

Re: [U-Boot] [PATCH] Add support to mkconfig for setting simple #defines in config.h

2009-08-13 Thread Wolfgang Denk
Dear Mike Frysinger, In message <200908131602.20315.vap...@gentoo.org> you wrote: > > > Consider a target such as BOARDNAME_66MHz_NANDBOOT_PCISLAVE. > > > > It could then invoke "$(MKCONFIG) -D $@ -a configname arch cpu board". > > mkconfig would break up the -D argument into: > > > > #define CONF

Re: [U-Boot] [PATCH] Add support to mkconfig for setting simple #defines in config.h

2009-08-13 Thread Mike Frysinger
On Thursday 13 August 2009 14:38:45 Scott Wood wrote: > Mike Frysinger wrote: > > On Thursday 13 August 2009 11:28:09 Scott Wood wrote: > >> Mike Frysinger wrote: > >>> On Friday 07 August 2009 15:22:15 Scott Wood wrote: > On Fri, Aug 07, 2009 at 09:03:03AM -0500, Kumar Gala wrote: > > wh

Re: [U-Boot] ENV_IS_EMBEDDED vs CONFIG_ENV_IS_EMBEDDED

2009-08-13 Thread Wolfgang Denk
Dear Mike Frysinger, In message <200907241634.33639.vap...@gentoo.org> you wrote: > > From 8ea84aa414e204c3259861da80d11ff7cc9fded7 Mon Sep 17 00:00:00 2001 > From: Mike Frysinger > Date: Fri, 24 Jul 2009 15:40:52 -0400 > Subject: [PATCH] unify {CONFIG_,}ENV_IS_EMBEDDED > > Some boards have falle

Re: [U-Boot] Add md5sum and sha1 commands...

2009-08-13 Thread Wolfgang Denk
Dear Robin Getz, In message <200907251607.49314.rg...@blackfin.uclinux.org> you wrote: > From: Robin Getz > > Now that we have sha1 and md5 in lib_generic, allow people to use them on > the command line, for checking downloaded files > > Signed-off-by: Robin Getz > > README |4

Re: [U-Boot] Please pull u-boot-cfi-flash/master

2009-08-13 Thread Wolfgang Denk
Dear Stefan Roese, In message <200908130938.18000...@denx.de> you wrote: > > please pull cfi-flash for this bugfix. > > Thanks. > > The following changes since commit f6e3a1fa92f61083885178101e973c86b419a6f7: > Mike Frysinger (1): > trab: rename spi_init() > > are available in the gi

Re: [U-Boot] [PATCH] Add support to mkconfig for setting simple #defines in config.h

2009-08-13 Thread Scott Wood
Mike Frysinger wrote: > On Thursday 13 August 2009 11:28:09 Scott Wood wrote: >> Mike Frysinger wrote: >>> On Friday 07 August 2009 15:22:15 Scott Wood wrote: On Fri, Aug 07, 2009 at 09:03:03AM -0500, Kumar Gala wrote: > while [ $# -gt 0 ] ; do > case "$1" in > --) shift ; bre

Re: [U-Boot] [PATCH] Add support to mkconfig for setting simple #defines in config.h

2009-08-13 Thread Mike Frysinger
On Thursday 13 August 2009 11:28:09 Scott Wood wrote: > Mike Frysinger wrote: > > On Friday 07 August 2009 15:22:15 Scott Wood wrote: > >> On Fri, Aug 07, 2009 at 09:03:03AM -0500, Kumar Gala wrote: > >>> while [ $# -gt 0 ] ; do > >>> case "$1" in > >>> --) shift ; break ;; > >>> -a) shift ;

[U-Boot] omap3: HW ECC issue

2009-08-13 Thread Ben Goska
After commit [1] I noticed a problem with the HW ECC no longer working. After looking into it I found that there was a typo that caused the ecc registers to be shifted by 4 bytes. The patch attached corrects the issue, I have verified this on an OSWALD board (for more information about OSWALD see [

Re: [U-Boot] RFC: "make DESTDIR=xxx install" ?

2009-08-13 Thread ksi
On Thu, 13 Aug 2009, Ulf Samuelsson wrote: > Many packages support installing the resulting binary in another > location, but U-Boot does not. > > When you use buildsystems like buildroot and openembedded, > you want to collect the end result in a target directory, > and while you can use interna

Re: [U-Boot] RFC: "make DESTDIR=xxx install" ?

2009-08-13 Thread Wolfgang Denk
Dear Ulf Samuelsson, In message <4a843392.4020...@atmel.com> you wrote: > Many packages support installing the resulting binary in another > location, but U-Boot does not. > > When you use buildsystems like buildroot and openembedded, > you want to collect the end result in a target directory, >

Re: [U-Boot] Incorrect memtest range on MPC8536DS

2009-08-13 Thread Wolfgang Denk
Dear Felix Radensky, In message <4a843b9b.2000...@embedded-sol.com> you wrote: > Hi, > > If run without arguments, mtest hangs on MPC8536DS. > I guess this is because of the following definitions: > > #define CONFIG_SYS_MEMTEST_START0x > #define CONFIG_SYS_MEMTEST_END0x7f

[U-Boot] [PATCH v2] Add driver for the ST M41T94 SPI RTC

2009-08-13 Thread Albin Tonnerre
This RTC is used in some Calao boards. The driver code is taken from the linux rtc-m41t94 driver Signed-off-by: Albin Tonnerre --- Changelog since V1: - Use the common bin2bcd/bcd2bin functions. This patch depends on: 1250170272-25909-2-git-send-email-albin.tonne...@free-electrons.com drive

[U-Boot] RFC: "make DESTDIR=xxx install" ?

2009-08-13 Thread Ulf Samuelsson
Many packages support installing the resulting binary in another location, but U-Boot does not. When you use buildsystems like buildroot and openembedded, you want to collect the end result in a target directory, and while you can use internal knowledge about u-boot to do so, it seems cleaner to m

[U-Boot] Incorrect memtest range on MPC8536DS

2009-08-13 Thread Felix Radensky
Hi, If run without arguments, mtest hangs on MPC8536DS. I guess this is because of the following definitions: #define CONFIG_SYS_MEMTEST_START0x #define CONFIG_SYS_MEMTEST_END0x7fff I was able to successfully run mtest on 0x0010 - 0x1000. What is the largest safe

Re: [U-Boot] [PATCH V4] Add support for the galaxy5200

2009-08-13 Thread Grant Likely
On Thu, Aug 13, 2009 at 9:14 AM, Eric Millbrandt wrote: > Add support for the DEKA Research and Development galaxy5200 board > > The galaxy5200 is an Freescale mpc5200 based embedded industrial control > board. > > Signed-off-by: Eric Millbrandt Looks good to me on a brief review. g. > --- > >

Re: [U-Boot] How do you print/view avaliable devices?

2009-08-13 Thread dbrazeau
This is the command I try to execute in the U-boot console: fatload xsa 0 0x100 /mnt-xsa/someprogram.img output: ** Invalid boot device ** Detlev Zundel wrote: > > Hi dbrazeau, > >> I am trying to run a standalone program from flash but I keep receiving >> ** >> Invalid boot devi

Re: [U-Boot] [PATCH] Add support for USB on PSC3 for the mpc5200

2009-08-13 Thread Grant Likely
On Thu, Aug 13, 2009 at 7:32 AM, Eric Millbrandt wrote: > Support USB on PSC3 on the mpc5200.  Before this patch, enabling USB support > would reconfigure PSC4 and PSC5 to USB.  The mpc5200 does not support USB > enabled on both the standard USB port and PSC3.  This patch masks the > appropriate bi

Re: [U-Boot] [PATCH 0/4] Network defrag

2009-08-13 Thread Robin Getz
On Wed 12 Aug 2009 16:04, Wolfgang Denk pondered: > Dear Robin Getz, > > In message <200908121148.16431.rg...@blackfin.uclinux.org> you wrote: > > > > Some info for the docs, when I was troubleshooting a Ubuntu 9.04 > install. > > Good info, but bad format. Can you please submit this as a patch?

Re: [U-Boot] [PATCH] Add support to mkconfig for setting simple #defines in config.h

2009-08-13 Thread Scott Wood
Mike Frysinger wrote: > On Friday 07 August 2009 15:22:15 Scott Wood wrote: >> On Fri, Aug 07, 2009 at 09:03:03AM -0500, Kumar Gala wrote: >>> while [ $# -gt 0 ] ; do >>> case "$1" in >>> --) shift ; break ;; >>> -a) shift ; APPEND=yes ;; >>> -n) shift ; BOARD_NAME="${1%%_config}"

[U-Boot] [PATCH V4] Add support for the galaxy5200

2009-08-13 Thread Eric Millbrandt
Add support for the DEKA Research and Development galaxy5200 board The galaxy5200 is an Freescale mpc5200 based embedded industrial control board. Signed-off-by: Eric Millbrandt --- Changes since v1: - Amended with comments from Wolfgang - Make change to top level makefile per Wolfgang's sugges

Re: [U-Boot] NAND issues

2009-08-13 Thread Scott Wood
alfred steele wrote: > Just realised that i dis reply instead of "reply all". >> We have been using 2009.1 based version.. We have been using "nand >> read.e/write.e". Is that fine? After skimming through the u-boot code, >> it seems though. >> Please confirm. > Apart from this, what does the "CONF

[U-Boot] config_jffs2_nand

2009-08-13 Thread alfred steele
Hi All, What does the "CONFIG_JFFS2_NAND" do? Looks like its being used in common/cmd_jffs2.c for some erase block specific validation. I am not sure on that. Can anyone help explain? Thanks in advance. -Alfred ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 2/2] Switch from per-driver to common definition of bin2bcd and bcd2bin

2009-08-13 Thread Stefan Roese
On Thursday 13 August 2009 15:31:12 Albin Tonnerre wrote: > Signed-off-by: Albin Tonnerre Acked-by: Stefan Roese Thanks. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)

Re: [U-Boot] [PATCH 1/2] Replace BCD2BIN and BIN2BCD macros with inline functions

2009-08-13 Thread Stefan Roese
On Thursday 13 August 2009 15:31:11 Albin Tonnerre wrote: > In the process, also remove backward-compatiblity macros BIN_TO_BCD and > BCD_TO_BIN and update the sole board using them to use the new bin2bcd > and bcd2bin instead > > Signed-off-by: Albin Tonnerre Acked-by: Stefan Roese Thanks. Ch

Re: [U-Boot] [PATCH] V3 Add support for the galaxy5200

2009-08-13 Thread Peter Tyser
The title should be "[PATCH V3] ...", not "[PATCH] V3 ...". On Thu, 2009-08-13 at 08:13 -0500, Eric Millbrandt wrote: > Removed trailing whitespace introduced in V2 to conform with U-Boot coding > style. > Defined additional chip select region. This should all go below the "---" below. > Signed

[U-Boot] [PATCH] Add support for USB on PSC3 for the mpc5200

2009-08-13 Thread Eric Millbrandt
Support USB on PSC3 on the mpc5200. Before this patch, enabling USB support would reconfigure PSC4 and PSC5 to USB. The mpc5200 does not support USB enabled on both the standard USB port and PSC3. This patch masks the appropriate bits when enabling USB. Signed-off-by: Eric Millbrandt --- READ

[U-Boot] [PATCH 2/2] Switch from per-driver to common definition of bin2bcd and bcd2bin

2009-08-13 Thread Albin Tonnerre
Signed-off-by: Albin Tonnerre --- drivers/rtc/ds12887.c | 12 drivers/rtc/ds1306.c | 18 -- drivers/rtc/ds1307.c | 13 - drivers/rtc/ds1337.c | 13 - drivers/rtc/ds1556.c | 12 drivers/rtc/ds164x.

[U-Boot] [PATCH 1/2] Replace BCD2BIN and BIN2BCD macros with inline functions

2009-08-13 Thread Albin Tonnerre
In the process, also remove backward-compatiblity macros BIN_TO_BCD and BCD_TO_BIN and update the sole board using them to use the new bin2bcd and bcd2bin instead Signed-off-by: Albin Tonnerre --- board/rsdproto/rsdproto.c | 17 - drivers/rtc/m41t62.c| 24 ++

[U-Boot] [PATCH] V3 Add support for the galaxy5200

2009-08-13 Thread Eric Millbrandt
Removed trailing whitespace introduced in V2 to conform with U-Boot coding style. Defined additional chip select region. Signed-off-by: Eric Millbrandt --- MAINTAINERS |4 + MAKEALL |1 + Makefile |6 + board/galaxy5200/Ma

Re: [U-Boot] [PATCH] Add driver for the ST M41T94 SPI RTC

2009-08-13 Thread Albin Tonnerre
On Thu, Aug 13, 2009 at 01:05:37PM +0200, Stefan Roese wrote : > On Thursday 13 August 2009 12:14:30 Albin Tonnerre wrote: > > This RTC is used in some Calao boards. The driver code is taken from the > > linux rtc-m41t94 driver > > > > Signed-off-by: Albin Tonnerre > > --- > > > > I guess the bin2

Re: [U-Boot] LIBFDT - changing command line

2009-08-13 Thread Wolfgang Denk
Dear Jerry Van Baren, In message <4a8405ff.1060...@ge.com> you wrote: > > >> => fdt set /chosen bootargs console=ttyUL\ root=/dev/mtdblock0 > > > > Why not simply > > => fdt set /chosen bootargs "console=ttyUL root=/dev/mtdblock0" > > ? ... > I did not try that last night. I should have beca

Re: [U-Boot] LIBFDT - changing command line

2009-08-13 Thread Jerry Van Baren
Wolfgang Denk wrote: > Dear Jerry Van Baren, > > In message <4a837625.6010...@gmail.com> you wrote: >> => fdt set /chosen bootargs console=ttyUL\ root=/dev/mtdblock0 > > Why not simply > > => fdt set /chosen bootargs "console=ttyUL root=/dev/mtdblock0" > > ? > > Best regards, > > Wolfga

Re: [U-Boot] CFI Flash write speed

2009-08-13 Thread Wolfgang Denk
Dear "A. Geisreiter", In message <006201ca1c0c$55a62ea0$00f28b...@de> you wrote: > > CFG_FLASH_USE_BUFFER_WRITE is already defined in the project-header file. I > have configured the CPU registers for access the flash memory with maximum > speed. But I think it is although very slow. If I use Win

Re: [U-Boot] CFI Flash write speed

2009-08-13 Thread A. Geisreiter
Hello Mr. Denk, CFG_FLASH_USE_BUFFER_WRITE is already defined in the project-header file. I have configured the CPU registers for access the flash memory with maximum speed. But I think it is although very slow. If I use Windows CE to copy something to the flash memory I have transfer rates of 140

Re: [U-Boot] How do you print/view avaliable devices?

2009-08-13 Thread Detlev Zundel
Hi dbrazeau, > I am trying to run a standalone program from flash but I keep receiving ** > Invalid boot device ** when I attempt to load it into memory. I think I'm > just using the wrong device number. I was wondering if there was any way to > print the devices that U-boot can see, so I can fi

Re: [U-Boot] [PATCH] Make TFTP Quiet

2009-08-13 Thread Detlev Zundel
Hi, > On Wed 12 Aug 2009 15:48, Scott Wood pondered: >> On Wed, Aug 12, 2009 at 12:02:33PM +0200, Detlev Zundel wrote: >> > Hi Timur, >> > >> > >> +#ifdef CONFIG_TFTP_QUIET >> > >> +#define puts_quiet(fmt) >> > >> +#else >> > >> +#define puts_quiet(fmt)                puts(fmt); >> > >> +#endif >

Re: [U-Boot] FIT image support ARM architecture ?

2009-08-13 Thread Detlev Zundel
Hi Cyrille, > I'm trying to generate a FIT kernel image. > > I'm using u-boot 1.3.4 / dtc 1.2.0. > > All seems ok when i generates the FIT image > > mkimage -l kernel.itb > > Created: Tue Aug 11 14:51:23 2009 > Image 0 (ker...@1) > Description: Vanilla Linux kernel > Type: Ke

Re: [U-Boot] [PATCH] Add driver for the ST M41T94 SPI RTC

2009-08-13 Thread Stefan Roese
On Thursday 13 August 2009 12:14:30 Albin Tonnerre wrote: > This RTC is used in some Calao boards. The driver code is taken from the > linux rtc-m41t94 driver > > Signed-off-by: Albin Tonnerre > --- > > I guess the bin2bcd and bcd2bin functions belong somewhere in common/ > rather than this partic

Re: [U-Boot] [PATCH] Update the mtd driver name in bootargs for at91-based boards

2009-08-13 Thread Albin Tonnerre
On Sat, Aug 01, 2009 at 10:59:00PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote : > On 17:40 Fri 31 Jul , Albin Tonnerre wrote: > > Hi Wolfgang and Jean-Christophe, > > > > Is this patch being left aside on purpose, or did it get under the radar ? I > > think it would be nice to have that fi

Re: [U-Boot] Write back flash content to SD/MMC Card

2009-08-13 Thread Wolfgang Denk
Dear "A. Geisreiter", In message <004f01ca1bd9$9b5a25b0$d20e71...@de> you wrote: > I use U-Boot for booting Windows CE, not Linux. I need the functionality, > because I will create a custom-built master image. And after I have finished > the image, I will copy the complete flash content to a file

Re: [U-Boot] CFI Flash write speed

2009-08-13 Thread Wolfgang Denk
Dear "A. Geisreiter", please always keep the mailing list on Cc:. Thanks. In message <004e01ca1bd8$a943a8f0$fbcafa...@de> you wrote: > I use U-Boot version 1.3.4 and there I can't find the define > CONFIG_SYS_FLASH_USE_BUFFER_WRITE. Do I need a patch or a newer version of > U-Boot? Well, using

[U-Boot] [PATCH] Add driver for the ST M41T94 SPI RTC

2009-08-13 Thread Albin Tonnerre
This RTC is used in some Calao boards. The driver code is taken from the linux rtc-m41t94 driver Signed-off-by: Albin Tonnerre --- I guess the bin2bcd and bcd2bin functions belong somewhere in common/ rather than this particular driver ... Where should I put them ? drivers/rtc/Makefile |1

Re: [U-Boot] BMP display.

2009-08-13 Thread Wolfgang Denk
Dear Tuma, In message <200908131326.20857.chernigovs...@spb.gs.ru> you wrote: > > I have LCD drivers from TI for OMAP3 evm board. I need to include this files > to my current u-boot. I have .h and .c files with some functional I need. I > want to call some functions implemented in this files fr

Re: [U-Boot] [PATCH 1/1 v2][Net] Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API

2009-08-13 Thread Wolfgang Denk
Dear Ben Warren, In message <1250145251-23438-1-git-send-email-biggerbadder...@gmail.com> you wrote: > All in-tree boards that use this controller have CONFIG_NET_MULTI added > Also: > - changed CONFIG_DRIVER_CS8900 to CONFIG_CS8900 > - changed CS8900_BASE to CONFIG_CS8900_BASE > - changed

[U-Boot] [PATCH] mx31ads: update board configuration

2009-08-13 Thread Wolfgang Denk
Bring default environment more in line with other boards; fix address range for "mtest" command. Signed-off-by: Wolfgang Denk Cc: Guennadi Liakhovetski --- include/configs/mx31ads.h | 62 ++--- 1 files changed, 36 insertions(+), 26 deletions(-) diff --

Re: [U-Boot] LIBFDT - changing command line

2009-08-13 Thread Wolfgang Denk
Dear Michal Simek, In message <4a83db8e.1030...@monstr.eu> you wrote: > ... > > It is working for me. Are you running the "hush" shell or the old > > scripting interpreter? > > old scripting. With hush works + 11kB. Actually this should make no difference. Are you absolutely sure it does? If s

Re: [U-Boot] BMP display.

2009-08-13 Thread Tuma
Hi, All! Thank you, Detlev! Now I have a question. I have LCD drivers from TI for OMAP3 evm board. I need to include this files to my current u-boot. I have .h and .c files with some functional I need. I want to call some functions implemented in this files from main_loop (). I put .h files in

Re: [U-Boot] LIBFDT - changing command line

2009-08-13 Thread Michal Simek
Jerry Van Baren wrote: > Hi Michal, > > Michal Simek wrote: >> Jerry Van Baren wrote: >>> Hi Michal >>> >>> Michal Simek wrote: Hi All, I would like to use fdt for changing command line in DTB but I found there is one problem if I have longer command line which contains >>

Re: [U-Boot] [PATCH 1/1 v2][Net] Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API

2009-08-13 Thread Wolfgang Denk
Dear Ben Warren, In message <1250145251-23438-1-git-send-email-biggerbadder...@gmail.com> you wrote: > All in-tree boards that use this controller have CONFIG_NET_MULTI added > Also: > - changed CONFIG_DRIVER_CS8900 to CONFIG_CS8900 > - changed CS8900_BASE to CONFIG_CS8900_BASE > - changed

Re: [U-Boot] [PATCH] Fix enetaddr initialization with CONFIG_NET_MULTI

2009-08-13 Thread Albin Tonnerre
On Thu, Aug 13, 2009 at 01:01:16AM -0400, Mike Frysinger wrote : > On Tuesday 28 July 2009 11:44:27 Albin Tonnerre wrote: > > When CONFIG_NET_MULTI is defined, the NetLoop code looks in > > eth_get_device()->enetaddr for the MAC address. However, this value may > > not be set. In fact, it will not

[U-Boot] Please pull u-boot-cfi-flash/master

2009-08-13 Thread Stefan Roese
Hi Wolfgang, please pull cfi-flash for this bugfix. Thanks. The following changes since commit f6e3a1fa92f61083885178101e973c86b419a6f7: Mike Frysinger (1): trab: rename spi_init() are available in the git repository at: git://www.denx.de/git/u-boot-cfi-flash.git master John Schmo

Re: [U-Boot] [PATCH] flash: Fix CFI buffer size bug

2009-08-13 Thread Stefan Roese
On Wednesday 12 August 2009 17:55:47 John Schmoller wrote: > Fix bug introduced by 9c048b523413ae5f3ff34e00cf57569c3368ab51. > > The cfi_flash.c driver cast the flash buffer size to a uchar in > flash_write_cfibuffer(). On some flash parts, (tested on Numonyx > part PC32F512M29EWH), the buffer size

Re: [U-Boot] [RFC 0/3] uboot-doc User's Manual Generation Tool

2009-08-13 Thread Mike Frysinger
On Thursday 30 July 2009 05:59:07 Detlev Zundel wrote: > It is on my priority list however to assemble a list of all contributors > and ask them if they agree to relicence their contributions under the > FDL. why not CC-BY-SA ? the wikipedia page has a bunch of references to FDL being a bad idea

Re: [U-Boot] [PATCH] trab: rename spi_init()

2009-08-13 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1250137934-1586-1-git-send-email-vap...@gentoo.org> you wrote: > The local board-specific spi_init() function conflicts with the common SPI > layer, so rename it to something board-specific. > > Signed-off-by: Mike Frysinger > --- > Note: i've only semi-compile t

Re: [U-Boot] [PATCH] trab: rename spi_init()

2009-08-13 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1250137934-1586-1-git-send-email-vap...@gentoo.org> you wrote: > The local board-specific spi_init() function conflicts with the common SPI > layer, so rename it to something board-specific. > > Signed-off-by: Mike Frysinger Thanks. > Note: i've only semi-compi