Re: [U-Boot] [UBI] git pull request

2008-10-20 Thread Wolfgang Denk
Dear "Kyungmin Park", In message <[EMAIL PROTECTED]> you wrote: > > Now you can use the latest UBI u-boot tree at > http://git.denx.de/?p=u-boot/u-boot-ubi.git;a=summary Please use the "git-request-pull" command to generate the pull requests. Also, please make sure to include information

Re: [U-Boot] [PATCH 1/1] add tool to check patch and file for CFG_ presence

2008-10-20 Thread Mike Frysinger
On Thursday 16 October 2008, Jean-Christophe PLAGNIOL-VILLARD wrote: > +find_config_errors: > + @echo "Search for config errors" > + @git-grep CFG_ | cut -d: -f1 | sort -u | xargs -I {} > tools/find_config_errors -f {} + `git grep`, not `git-grep` -mike signature.asc Description: This i

Re: [U-Boot] [PATCH] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions

2008-10-20 Thread Mike Frysinger
On Monday 20 October 2008, Timur Tabi wrote: > Mike Frysinger wrote: > > dont wait ... it'll be a bit before i post it, so it'll be easier if i > > just rebase against that > > If I post the patch that assumes that that i2c_reg_read() passes 1 instead > of 0, it'll break blackfin. no it wont. as

[U-Boot] [PATCHv2][iMX31] Change to use "do_div" macro

2008-10-20 Thread Tomohiro Masubuchi
Hi, I've fixed which Jean-Christophe pointed out. Regards, Tomohiro Signed-off-by: Tomohiro Masubuchi <[EMAIL PROTECTED]> Change to use the "do_div" macro. cpu/arm1136/mx31/interrupts.c | 58 +++- 1 files changed, 45 insertions(+), 13 deletions(-) di

[U-Boot] [PATCH] ARM/Versatile port: Removed unused functions

2008-10-20 Thread Roman Mashak
Removal of never used functions. Signed-off-by: Roman Mashak <[EMAIL PROTECTED]> --- board/versatile/versatile.c | 22 -- 1 files changed, 0 insertions(+), 22 deletions(-) diff --git a/board/versatile/versatile.c b/board/versatile/versatile.c index 3b9b020..0f35caa 100644 -

Re: [U-Boot] [PATCH][RFC] Update U-Boot's build timestamp on every compile

2008-10-20 Thread Peter Tyser
Hi Kim, > > Use the GNU 'date' command to auto-generate a new U-Boot > > timestamp on every compile. > > > > Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> > > --- > > I noticed that the build time of U-Boot was not updated on every > > compile which occassionally threw me for a loop as to whethe

[U-Boot] [UBI] git pull request

2008-10-20 Thread Kyungmin Park
Hi, Now you can use the latest UBI u-boot tree at http://git.denx.de/?p=u-boot/u-boot-ubi.git;a=summary It has minor cleanup after previous post and provides the reference usage using apollon board which has OneNAND. Makefile |1 board/apollon/Makefile |4

Re: [U-Boot] [PATCH][RFC] Update U-Boot's build timestamp on every compile

2008-10-20 Thread Kim Phillips
On Fri, 17 Oct 2008 17:51:21 -0500 Peter Tyser <[EMAIL PROTECTED]> wrote: > Use the GNU 'date' command to auto-generate a new U-Boot > timestamp on every compile. > > Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> > --- > I noticed that the build time of U-Boot was not updated on every > compile

Re: [U-Boot] FDT include file problems

2008-10-20 Thread Jerry Van Baren
Wolfgang Denk wrote: > Dear Jerry Van Baren, > > In message <[EMAIL PROTECTED]> you wrote: >> Google hasn't been very helpful for answering the question of how to >> handle endian issues in userland (non-kernel) code. Hmmm. Grrr. Maybe >> I'm not asking it the right question. > > This patch

Re: [U-Boot] [PATCH 2/2 V2] IOMUX: Add console multiplexing support.

2008-10-20 Thread Ben Warren
Wolfgang Denk wrote: > Dear Gary Jennejohn, > > In message <[EMAIL PROTECTED]> you wrote: > >> I looked at this some more. eth_initialize() is called in every >> architecture-specific library which means changing 8 files to move >> it up to before the initialization of netconsole. >> >> netcons

[U-Boot] [PATCH v2] 85xx: properly document MPC85xx_PORDEVSR2_SEC_CFG

2008-10-20 Thread Timur Tabi
Commit f7d190b1 corrected the value of MPC85xx_PORDEVSR2_SEC_CFG, but forgot to add a comment that the correct value disagrees with the 8544 reference manual. The changelog for that commit is also wrong, as it says "bit 28" when it should be "bit 24". Signed-off-by: Timur Tabi <[EMAIL PROTECTED]>

Re: [U-Boot] [PATCH] AT91SAM9263-pm9263-support

2008-10-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:24 Mon 20 Oct , Ilko Iliev wrote: > This patch adds support for the PM9263 board of Ronetix GmbH > (www.ronetix.at) > > Signed-off-by: Ilko Iliev <[EMAIL PROTECTED]> > > --- > MAKEALL |1 + > Makefile |3 + > board/ronet

Re: [U-Boot] [PATCH 2/2][for v2008.10] 85xx: Using proper I2C source clock divider for MPC8544

2008-10-20 Thread Kumar Gala
On Oct 20, 2008, at 2:22 PM, Wolfgang Denk wrote: > Dear Jerry Van Baren, > > In message <[EMAIL PROTECTED]> you wrote: >> >>> Would it really have been so hard to add this line? >>> >>> /* The MPC8544 RM says it's bit 26, but it's really bit 28 */ >> >> I have to agree with Timur, we *need* a co

Re: [U-Boot] [PATCH 2/2 V2] IOMUX: Add console multiplexing support.

2008-10-20 Thread Wolfgang Denk
Dear Gary Jennejohn, In message <[EMAIL PROTECTED]> you wrote: > > I looked at this some more. eth_initialize() is called in every > architecture-specific library which means changing 8 files to move > it up to before the initialization of netconsole. > > netconsole is intialized in devices_init

Re: [U-Boot] [PATCH] AT91SAM9263-pm9263-support

2008-10-20 Thread Robert Schwebel
On Mon, Oct 20, 2008 at 06:24:43PM +0200, Ilko Iliev wrote: > This patch adds support for the PM9263 board of Ronetix GmbH > (www.ronetix.at) Please note that u-boot-v2 has also a port for the PM9263: http://git.denx.de/?p=u-boot/u-boot-v2.git;a=summary Marc, you may also have some comments about

Re: [U-Boot] [PATCH 2/2 V2] IOMUX: Add console multiplexing support.

2008-10-20 Thread Wolfgang Denk
Dear Gary Jennejohn, In message <[EMAIL PROTECTED]> you wrote: > > Yes, but I did this part first because it's small and easily generated. > Since it also affects net I wanted to get it to the custodian. The other > part adds the console multiplexing and isn't directly related to this. If the ot

Re: [U-Boot] [PATCH 2/2][for v2008.10] 85xx: Using proper I2C source clock divider for MPC8544

2008-10-20 Thread Wolfgang Denk
Dear Jerry Van Baren, In message <[EMAIL PROTECTED]> you wrote: > > > Would it really have been so hard to add this line? > > > > /* The MPC8544 RM says it's bit 26, but it's really bit 28 */ > > I have to agree with Timur, we *need* a comment in the source code for > future reference. The git

Re: [U-Boot] [PATCH] AT91SAM9263-pm9263-support

2008-10-20 Thread Wolfgang Denk
Dear Ilko Iliev, In message <[EMAIL PROTECTED]> you wrote: > This patch adds support for the PM9263 board of Ronetix GmbH > (www.ronetix.at) > > Signed-off-by: Ilko Iliev <[EMAIL PROTECTED]> > > --- > MAKEALL |1 + > Makefile |3

[U-Boot] [PATCH][RFC] bootm: Added CONFIG_BOOTM_{LINUX, NETBSD, RTEMS}

2008-10-20 Thread Kumar Gala
Added the ability to config out bootm support for Linux, NetBSD, RTEMS Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- Looking for suggestions on how to deal with enabling LINUX, NETBSD, and RTEMS. common/cmd_bootm.c | 20 1 files changed, 20 insertions(+), 0 deletions(

[U-Boot] [PATCH] AT91SAM9263-pm9263-support

2008-10-20 Thread Ilko Iliev
This patch adds support for the PM9263 board of Ronetix GmbH (www.ronetix.at) Signed-off-by: Ilko Iliev <[EMAIL PROTECTED]> --- MAKEALL |1 + Makefile |3 + board/ronetix/pm9263/Makefile| 60 + board/ronetix/pm9263/c

[U-Boot] [PATCH 2/2] bootm: support subcommands in linux ppc bootm

2008-10-20 Thread Kumar Gala
Add support for 'bdt', 'cmdline', 'prep' to the linux PPC bootm. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> --- lib_ppc/bootm.c | 271 +++ 1 files changed, 175 insertions(+), 96 deletions(-) diff --git a/lib_ppc/bootm.c b/lib_ppc/bootm.c in

[U-Boot] [PATCH 1/2] bootm: Add subcommands

2008-10-20 Thread Kumar Gala
Add the ability to break the steps of the bootm command into several subcommands: start, loados, ramdisk, fdt, bdt, cmdline, prep, go. This allows us to do things like manipulate device trees before they are passed to a booting kernel or setup memory for a secondary core in multicore situations.

Re: [U-Boot] [PATCH 2/2 V2] IOMUX: Add console multiplexing support.

2008-10-20 Thread Gary Jennejohn
On Mon, 20 Oct 2008 15:57:32 +0200 Gary Jennejohn <[EMAIL PROTECTED]> wrote: > On Mon, 20 Oct 2008 15:24:53 +0200 > Wolfgang Denk <[EMAIL PROTECTED]> wrote: > > > I have to admit that I don't like the idea of splitting the > > GD_FLG_DEVINIT into several, unrelated parts of the code. > > > > I d

Re: [U-Boot] Atmel AT91RM9200: U-Boot refuses to copy to a particular sector of flash memory

2008-10-20 Thread 7words . sg
Hello, The U-Boot version I am using is 1.1.2. I forgot to mention my sector sizes: they are as given in the AT49BV163D data sheet. Sectors up to address 0x are 8KB in size, while all others after 0x0001 are 64KB. And the commands I use are: * tftpboot 2000 uimage * cp.b 200

Re: [U-Boot] [PATCH] i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functions

2008-10-20 Thread Timur Tabi
Mike Frysinger wrote: > dont wait ... it'll be a bit before i post it, so it'll be easier if i just > rebase against that If I post the patch that assumes that that i2c_reg_read() passes 1 instead of 0, it'll break blackfin. -- Timur Tabi Linux kernel developer at Freescale ___

Re: [U-Boot] [PATCH 2/2 V2] IOMUX: Add console multiplexing support.

2008-10-20 Thread Gary Jennejohn
On Mon, 20 Oct 2008 15:24:53 +0200 Wolfgang Denk <[EMAIL PROTECTED]> wrote: Dear Wolfgang Denk, > Is there another part of the patch, part 1/2, too? > Yes, but I did this part first because it's small and easily generated. Since it also affects net I wanted to get it to the custodian. The other

Re: [U-Boot] [PATCH 2/2 V2] IOMUX: Add console multiplexing support.

2008-10-20 Thread Wolfgang Denk
Dear Gary Jennejohn, Is there another part of the patch, part 1/2, too? In message <[EMAIL PROTECTED]> you wrote: > > When both CONFIG_SYS_CONSOLE_IS_IN_ENV and CONFIG_NETCONSOLE are defined the > user can have stdout set to nc (netconsole). > > This causes problems because u-boot will try to w

Re: [U-Boot] [PATCH v2] bootm: Move to using a function pointer table for the boot os function

2008-10-20 Thread Kumar Gala
On Oct 20, 2008, at 2:28 AM, Wolfgang Denk wrote: > Dear Kumar Gala, > > In message <6FA5D356-5762-4185- > [EMAIL PROTECTED]> you wrote: >> This removes a bit of code and makes it easier for the upcoming sub bootm command support to call into the proper OS specific handler. >

Re: [U-Boot] [PATCH 2/2][for v2008.10] 85xx: Using proper I2C source clock divider for MPC8544

2008-10-20 Thread Jerry Van Baren
Timur Tabi wrote: > Kumar Gala wrote: > >>> How about adding a comment that the RM is wrong? Any time the code >>> disagrees with the RM, it *has* to be documented. >> Its documented in the commit. > > Sorry, but that's just not good enough for me. I *hate* it when people say > that > it is.

Re: [U-Boot] [PATCH 2/2 V2] IOMUX: Add console multiplexing support.

2008-10-20 Thread Gary Jennejohn
When both CONFIG_SYS_CONSOLE_IS_IN_ENV and CONFIG_NETCONSOLE are defined the user can have stdout set to nc (netconsole). This causes problems because u-boot will try to write to nc as soon as GD_FLG_DEVINIT is set in gd->flags, which happens before the network devices are initialized in net/eth.

Re: [U-Boot] [PATCH][iMX31] Change to use "do_div" macro

2008-10-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:06 Mon 20 Oct , Tomohiro Masubuchi wrote: > I tryed to build u-boot by Sourcery G++ Lite 2008q3-41 for ARM GNU/Linux. > But, it was failed with some link error of divide function. > Thus, I changed to use the "do_div" macro to calculate the dividing. > > In my environment, the "next" bra

Re: [U-Boot] Atmel AT91RM9200: U-Boot refuses to copy to a particular sector of flash memory

2008-10-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:16 Mon 20 Oct , Ki Chi Leung wrote: > Hello list, hi Could you specify the U-Boot version. the command sequence that you use please Best Regards, J. > > I am trying to load a Linux 2.6.22 kernel uimage on the flash memory > of a custom Atmel AT91RM9200 board. From U-Boot the flash memo

Re: [U-Boot] FDT include file problems

2008-10-20 Thread Wolfgang Denk
Dear Jerry Van Baren, In message <[EMAIL PROTECTED]> you wrote: > > Google hasn't been very helpful for answering the question of how to > handle endian issues in userland (non-kernel) code. Hmmm. Grrr. Maybe > I'm not asking it the right question. This patch seems to work for me: diff --gi

[U-Boot] Load a kernel image

2008-10-20 Thread Ivan Llopard
Hi list, I'm working with an embeded system. I'm sure you know about the microprocessor NIOS2. I have chose u-boot and it runs perfectly in my platform. But it can't read my memory SD card how i have it configured. I would like to know how to load the kernel image (uclinux) in memory correctly by m

Re: [U-Boot] FDT include file problems

2008-10-20 Thread Wolfgang Denk
Dear Jerry Van Baren, In message <[EMAIL PROTECTED]> you wrote: > > ...and if I were not rushing so much, I would have found that myself > instead of looking stupid. :-( > > Google hasn't been very helpful for answering the question of how to > handle endian issues in userland (non-kernel) cod

Re: [U-Boot] FDT include file problems

2008-10-20 Thread Jerry Van Baren
Wolfgang Denk wrote: > Dear Jerry Van Baren, > > In message <[EMAIL PROTECTED]> you wrote: >>> ... >>> In file included from /home/wd/git/u-boot/include/libfdt_env.h:33, >>> from fdt.c:51: >>> /usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel >>> header; in

[U-Boot] Atmel AT91RM9200: U-Boot refuses to copy to a particular sector of flash memory

2008-10-20 Thread Ki Chi Leung
Hello list, I am trying to load a Linux 2.6.22 kernel uimage on the flash memory of a custom Atmel AT91RM9200 board. From U-Boot the flash memory map is as follows: U-Boot> flinfo DataFlash:AT45DB161 Nb pages: 4096 Page Size:528 Size= 2162688 bytes Logical address: 0xC000 Area 0: C0

Re: [U-Boot] [PATCH] Handle environment variables like commands

2008-10-20 Thread stefano babic
Wolfgang Denk wrote: > > The idea of the extension is that something like > > => bootm ${kernel} ${fdt} ${ramdisk} > > will still work. > > Unfortunately, it doesn't, as we have no way to pass the arguments to > the (substituted) command to the commands run in the executed script. yes, t

Re: [U-Boot] CFI Driver Problem: flash not ready

2008-10-20 Thread stefano babic
Wolfgang Denk wrote: > Why the heck does flash_is_busy() return 0 when the flashobviously is > still busy? flash_is_busy() implements the toggling check. Of course, it should work, but I remember I had in the past a similar problem and I switched to the DQ7 bit algorithm (for erasing, it means I c

[U-Boot] [PATCH][iMX31] Change to use "do_div" macro

2008-10-20 Thread Tomohiro Masubuchi
I tryed to build u-boot by Sourcery G++ Lite 2008q3-41 for ARM GNU/Linux. But, it was failed with some link error of divide function. Thus, I changed to use the "do_div" macro to calculate the dividing. In my environment, the "next" branch with this patch worked correctly. Signed-off-by: Tomohiro

Re: [U-Boot] [PATCH v2] bootm: Move to using a function pointer table for the boot os function

2008-10-20 Thread Wolfgang Denk
Dear Kumar Gala, In message <[EMAIL PROTECTED]> you wrote: > > >> This removes a bit of code and makes it easier for the upcoming sub > >> bootm > >> command support to call into the proper OS specific handler. > >> > >> Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> > >> --- ... > >> @@ -119,6

Re: [U-Boot] FDT include file problems

2008-10-20 Thread Wolfgang Denk
Dear Jerry Van Baren, In message <[EMAIL PROTECTED]> you wrote: > > > ... > > In file included from /home/wd/git/u-boot/include/libfdt_env.h:33, > > from fdt.c:51: > > /usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel > > header; include instead! ... > Do

Re: [U-Boot] [PATCH] TQM8260: environment in flash instead EEPROM, baudrate 115k

2008-10-20 Thread Wolfgang Denk
Dear Heiko Schocher, In message <[EMAIL PROTECTED]> you wrote: > > Is this somewhere reproducible? Kind of. It happens pretty r4eliably on weak power supplies (too high impadance, too slow voltage rise times) where the TQM8260 whould go through a series of quick startup - reset sequences when po