Re: [U-Boot] [PATCH 1/1] Fix for running examples on OMAP3 EVM board

2009-03-04 Thread Nishanth Menon
Manikandan Pillai said the following on 03/05/2009 07:55 AM: > Example binaries to be downloaded to 0x8030 for OMAP3 EVMs. > > Signed-off-by: Manikandan Pillai > --- > examples/Makefile |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/examples/Makefile b/examples

[U-Boot] [PATCH 1/1] Fix for running examples on OMAP3 EVM board

2009-03-04 Thread Manikandan Pillai
Example binaries to be downloaded to 0x8030 for OMAP3 EVMs. Signed-off-by: Manikandan Pillai --- examples/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/examples/Makefile b/examples/Makefile index dbcfa92..d2e811a 100644 --- a/examples/Makefile +++ b/examp

Re: [U-Boot] [PATCH 00/15] tools/Makefile cleanup and win32 tool support

2009-03-04 Thread Mike Frysinger
On Wednesday 04 March 2009 18:32:50 Peter Tyser wrote: > This patch series attempts to do 2 things: > 1. Add support for generating win32 versions of the tools in tools/ > 2. Cleanup tools/Makefile somewhat > > In the process of #1 I couldn't help but work on #2 a bit:) Let me > know if people wou

Re: [U-Boot] [PATCH 03/15] tools/Makefile: Build bmp_logo only when LCD or VIDEO logos are enabled

2009-03-04 Thread Mike Frysinger
On Wednesday 04 March 2009 18:58:42 Peter Tyser wrote: > On Wed, 2009-03-04 at 18:48 -0500, Mike Frysinger wrote: > > On Wednesday 04 March 2009 18:32:53 Peter Tyser wrote: > > > Signed-off-by: Peter Tyser > > > --- > > > tools/Makefile | 107 > > > +--

Re: [U-Boot] [PATCH 12/15] Add support for building native win32 tools

2009-03-04 Thread Mike Frysinger
On Wednesday 04 March 2009 18:33:02 Peter Tyser wrote: > --- a/README > +++ b/README > +Note: If you wish to generate WIN32 versions of the utilities in WIN32 -> Windows > + the tools directory you can use the MinGW toolchain > + (http://www.mingw.org). Set your HOST tools to the MinGW

Re: [U-Boot] [PATCH 11/15] elf.h: Add missing int32_t typedef for WIN32 compilers

2009-03-04 Thread Peter Tyser
On Wed, 2009-03-04 at 18:54 -0500, Mike Frysinger wrote: > On Wednesday 04 March 2009 18:33:01 Peter Tyser wrote: > > Signed-off-by: Peter Tyser > > --- > > include/elf.h |1 + > > 1 files changed, 1 insertions(+), 0 deletions(-) > > > > diff --git a/include/elf.h b/include/elf.h > > index a9

Re: [U-Boot] [PATCH 14/15] Deleted unused tools/Makefile.win32

2009-03-04 Thread Mike Frysinger
i would change "Deleted unused" in the summary to "Delete now unused" -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 03/15] tools/Makefile: Build bmp_logo only when LCD or VIDEO logos are enabled

2009-03-04 Thread Peter Tyser
On Wed, 2009-03-04 at 18:48 -0500, Mike Frysinger wrote: > On Wednesday 04 March 2009 18:32:53 Peter Tyser wrote: > > Signed-off-by: Peter Tyser > > --- > > tools/Makefile | 107 > > +--- 1 files changed, > > 55 insertions(+), 52 deletions(-) >

Re: [U-Boot] [PATCH] Fix OneNAND ipl to read 256KB

2009-03-04 Thread Kyungmin Park
On Thu, Mar 5, 2009 at 12:09 AM, Rohit Hagargundgi wrote: > Hi, > > Here is the updated patch. > > Thanks, > Rohit > > Signed-off-by: Rohit Hagargundgi > --- >  include/configs/apollon.h  |    1 + >  onenand_ipl/onenand_read.c |   27 --- >  2 files changed, 21 insertions(+

Re: [U-Boot] [PATCH 11/15] elf.h: Add missing int32_t typedef for WIN32 compilers

2009-03-04 Thread Mike Frysinger
On Wednesday 04 March 2009 18:33:01 Peter Tyser wrote: > Signed-off-by: Peter Tyser > --- > include/elf.h |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/include/elf.h b/include/elf.h > index a9839df..3a948f7 100644 > --- a/include/elf.h > +++ b/include/elf.h > @@ -4

Re: [U-Boot] [PATCH 10/15] gen_eth_addr: Use POSIX rand() and srand()

2009-03-04 Thread Mike Frysinger
On Wednesday 04 March 2009 18:33:00 Peter Tyser wrote: > Replace random()/srandom() use with rand()/srand() to support > compilation with the mingw toolchain i'd add to the changelog that in general, the latter should be more common than the former since they've been around longer. and note that

Re: [U-Boot] [PATCH 03/15] tools/Makefile: Build bmp_logo only when LCD or VIDEO logos are enabled

2009-03-04 Thread Mike Frysinger
On Wednesday 04 March 2009 18:32:53 Peter Tyser wrote: > Signed-off-by: Peter Tyser > --- > tools/Makefile | 107 > +--- 1 files changed, > 55 insertions(+), 52 deletions(-) > > diff --git a/tools/Makefile b/tools/Makefile > index 991ad8b..09512

[U-Boot] [PATCH 15/15] common/Makefile: Conditionally compile env_embedded.o

2009-03-04 Thread Peter Tyser
Signed-off-by: Peter Tyser --- common/Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/Makefile b/common/Makefile index f13cd11..f81f3d8 100644 --- a/common/Makefile +++ b/common/Makefile @@ -51,7 +51,7 @@ COBJS-y += cmd_nvedit.o COBJS-y += env_common.o

[U-Boot] [PATCH 14/15] Deleted unused tools/Makefile.win32

2009-03-04 Thread Peter Tyser
Signed-off-by: Peter Tyser --- tools/Makefile.win32 | 37 - 1 files changed, 0 insertions(+), 37 deletions(-) delete mode 100644 tools/Makefile.win32 diff --git a/tools/Makefile.win32 b/tools/Makefile.win32 deleted file mode 100644 index 69dc44c..000 --

[U-Boot] [PATCH 12/15] Add support for building native win32 tools

2009-03-04 Thread Peter Tyser
Add support for compiling the host tools in the tools directory using the MinGW toolchain. This produces executables which can be used on standard Windows computers without requiring cygwin. One must specify the MinGW compiler and strip utilities as if they were the host toolchain in order to bui

[U-Boot] [PATCH 11/15] elf.h: Add missing int32_t typedef for WIN32 compilers

2009-03-04 Thread Peter Tyser
Signed-off-by: Peter Tyser --- include/elf.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/elf.h b/include/elf.h index a9839df..3a948f7 100644 --- a/include/elf.h +++ b/include/elf.h @@ -45,6 +45,7 @@ #include typedef unsigned char uint8_t; typedef

[U-Boot] [PATCH 13/15] Makefile: Add removal of *.exe file to clean target

2009-03-04 Thread Peter Tyser
Signed-off-by: Peter Tyser --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index e8b4c13..238ab1e 100644 --- a/Makefile +++ b/Makefile @@ -3470,7 +3470,7 @@ clean: @rm -f $(obj)api_examples/demo $(TIMESTAMP_FILE) $(VERSION_FILE)

[U-Boot] [PATCH 10/15] gen_eth_addr: Use POSIX rand() and srand()

2009-03-04 Thread Peter Tyser
Replace random()/srandom() use with rand()/srand() to support compilation with the mingw toolchain Signed-off-by: Peter Tyser --- tools/gen_eth_addr.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/gen_eth_addr.c b/tools/gen_eth_addr.c index 75be385..429b20d

[U-Boot] [PATCH 07/15] tools/Makefile: Make envcrc dependent upon CONFIG_ENV_IS_EMBEDDED

2009-03-04 Thread Peter Tyser
Signed-off-by: Peter Tyser --- tools/Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 3a76a6d..6fccb8a 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -87,7 +87,7 @@ include $(TOPDIR)/config.mk # Generated executable f

[U-Boot] [PATCH 09/15] tools/Makefile: Compile ncb when CONFIG_NETCONSOLE

2009-03-04 Thread Peter Tyser
Signed-off-by: Peter Tyser --- doc/README.NetConsole |6 ++ tools/Makefile|1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/README.NetConsole b/doc/README.NetConsole index 94c8816..639cc12 100644 --- a/doc/README.NetConsole +++ b/doc/README.NetConsole @@

[U-Boot] [PATCH 05/15] tools/Makefile: Make ubsha1 dependent upon CONFIG_SHA1_CHECK_UB_IMG

2009-03-04 Thread Peter Tyser
Signed-off-by: Peter Tyser --- tools/Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 3b90ba6..27a0361 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -88,7 +88,7 @@ include $(TOPDIR)/config.mk BIN_FILES-$(CONFIG_CMD_L

[U-Boot] [PATCH 06/15] tools/Makefile: Make inca-swap-bytes dependent on CONFIG_INCA_IP

2009-03-04 Thread Peter Tyser
Signed-off-by: Peter Tyser --- tools/Makefile |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 27a0361..3a76a6d 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -92,6 +92,7 @@ BIN_FILES-$(CONFIG_SHA1_CHECK_UB_IMG) += ubsha1$(S

[U-Boot] [PATCH 04/15] tools/Makefile: Make img2srec dependent upon CONFIG_CMD_LOADS

2009-03-04 Thread Peter Tyser
Signed-off-by: Peter Tyser --- tools/Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 09512ec..3b90ba6 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -85,7 +85,7 @@ endif include $(TOPDIR)/config.mk # Generated exe

[U-Boot] [PATCH 08/15] tools/Makefile: Make gen_eth_addr dependent upon CONFIG_CMD_NET

2009-03-04 Thread Peter Tyser
Signed-off-by: Peter Tyser --- tools/Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 6fccb8a..6e60c0d 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -89,7 +89,7 @@ BIN_FILES-$(CONFIG_CMD_LOADS) += img2srec$(SFX) BIN_

[U-Boot] [PATCH 03/15] tools/Makefile: Build bmp_logo only when LCD or VIDEO logos are enabled

2009-03-04 Thread Peter Tyser
Signed-off-by: Peter Tyser --- tools/Makefile | 107 +--- 1 files changed, 55 insertions(+), 52 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 991ad8b..09512ec 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -21,57 +21,6 @

[U-Boot] [PATCH 02/15] tools/Makefile: Split variable declarations into multiple lines

2009-03-04 Thread Peter Tyser
Split variable declarations into multiple lines and use the standard VAR-y convention. This should more easily allow conditional compilation of files in the future. Signed-off-by: Peter Tyser --- tools/Makefile | 46 ++ 1 files changed, 34 insertion

[U-Boot] [PATCH 01/15] tools/Makefile: Remove inappropriate double-tabs

2009-03-04 Thread Peter Tyser
Signed-off-by: Peter Tyser --- tools/Makefile | 153 1 files changed, 77 insertions(+), 76 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 9e9ee15..5cce148 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -138,164 +138,

[U-Boot] [PATCH 00/15] tools/Makefile cleanup and win32 tool support

2009-03-04 Thread Peter Tyser
This patch series attempts to do 2 things: 1. Add support for generating win32 versions of the tools in tools/ 2. Cleanup tools/Makefile somewhat In the process of #1 I couldn't help but work on #2 a bit:) Let me know if people would prefer the patches split up. The win32 tools support is based

[U-Boot] [PATCH v3] OMAP3: Add serial number based on die ID

2009-03-04 Thread Dirk Behme
Add serial number based on OMAP3 die ID. Signed-off-by: Dirk Behme --- Changes in v3: - Rename 'serial#' to 'dieid#' - Rebase against U-Boot mainline commit 00cc5595a7caac8066b408774383a956c2e26797 'lcd: Fix compilation warning in common/lcd.c' This patch replaces all older versions of t

[U-Boot] Porting u-boot to a custom fpga/ppc

2009-03-04 Thread NEAL, RYAN
Hello, I am sorry if this is a question that has been answered before. It is just that the entire project is overwhelming right now. So I will ask for some guidance. I need to write/port a bootloader to start a Xilinx virtex5 PPC. It is going to be running on a custom FPGA. I am not

Re: [U-Boot] [PATCH] CONFIG_PRINT_TIME: Measuring boot time.

2009-03-04 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:16 Wed 04 Mar , Benoit Monin wrote: > > This option prefixes every console line with the time in seconds since > power-up. It is inspired by the Linux kernel option PRINTK_TIME and uses > the same output format. > > It can be used to measure the time taken by U-Boot to boot the kernel o

[U-Boot] [PATCH] CONFIG_PRINT_TIME: Measuring boot time.

2009-03-04 Thread Benoit Monin
This option prefixes every console line with the time in seconds since power-up. It is inspired by the Linux kernel option PRINTK_TIME and uses the same output format. It can be used to measure the time taken by U-Boot to boot the kernel or application. For example: [0.003532] U-Boot 2009.03

[U-Boot] [PATCH] ppc: Increase precision of ticks2usec

2009-03-04 Thread Benoit Monin
The tick of some PowerPC cpu is running at high frequency and it can be used to get microsecond precision from it. Make use of div64 to achieve this precision in ticks2usec. Signed-off-by: Benoît Monin --- lib_ppc/time.c | 15 +-- 1 files changed, 5 insertions(+), 10 deletions(-)

Re: [U-Boot] [PATCH] Fix OneNAND ipl to read 256KB

2009-03-04 Thread Rohit Hagargundgi
Hi, Here is the updated patch. Thanks, Rohit Signed-off-by: Rohit Hagargundgi --- include/configs/apollon.h |1 + onenand_ipl/onenand_read.c | 27 --- 2 files changed, 21 insertions(+), 7 deletions(-) diff --git a/include/configs/apollon.h b/include/configs/a

[U-Boot] Ethernet interface

2009-03-04 Thread Remco Poelstra
Hi all, I want to add ethernet support to my LPC2468 processor (using its integrated MAC), but I can't find documentation about what interface to implement. How does U-Boot handle ethernet? What functions do I need to add to get ethernet working? Thanks in advance, Remco Poelstra __

Re: [U-Boot] Coldfire: MCF5271: Periodic HW watchdog petting and sleep function does not work.

2009-03-04 Thread Richard Retanubun
TC Liew wrote: > Richard, > > Can you be more specific on how the MAX6369 WDO and WDI connects to > MCF5271's signal? Is it GPIO? ResetIn? Others? > > Regards, > TsiChung Hi TC, Thanks for responding, WDI is connected to a CPU GPIO, PTIMER[3] on our board and WDO is connected to the activ

Re: [U-Boot] How to Remove the padding bits from u-boot.bin

2009-03-04 Thread Jerry Van Baren
kuldeep nigam wrote: > Hi All, > I am using MIP405T board and trying to reduce the size of u-boot.bin > by disabling the drivers that i didn't need. But the image size is not > changing because it is padding all 1's at the end of the image. Can anyone > tell me how to remove these padding b

Re: [U-Boot] How to Remove the padding bits from u-boot.bin

2009-03-04 Thread Anatolij Gustschin
kuldeep nigam wrote: > Hi All, > I am using MIP405T board and trying to reduce the size of u-boot.bin > by disabling the drivers that i didn't need. But the image size is not > changing because it is padding all 1's at the end of the image. Can anyone > tell me how to remove these padding b

Re: [U-Boot] Vector set up in u-boot for OMAP3530.

2009-03-04 Thread Nishanth Menon
Rahanesh said the following on 03/04/2009 01:23 PM: > I am trying to set up vector table for a my custom RTOS. > > ARM provides 0x: and 0x: as the Vector base address. > > I planned to use 0x: for my development. > > I have decided to hard-code the opcode for the cor

[U-Boot] Vector set up in u-boot for OMAP3530.

2009-03-04 Thread Rahanesh
Hi All, I am trying to port a RTOS to OMAP3530 board. I use CCSv4 and XDS510 PP + JTAG emulator to connect to the board. I am trying to set up vector table for a my custom RTOS. ARM provides 0x: and 0x: as the Vector base address. I planned to use 0x: for my develo

[U-Boot] [PATCH 1/1] example: introduce EXAMPLE_LOAD_ADDR

2009-03-04 Thread Jean-Christophe PLAGNIOL-VILLARD
that could be overwrite in followaing order ARCH CPU SOC BOARD via the corresponding config.mk the value could be exported to the environment to reduce the user mistake when they try to use example's standalone application Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- arm_config.mk

Re: [U-Boot] [PATCH 1/1] Fix for running examples on OMAP3 EVM board

2009-03-04 Thread Jean-Christophe PLAGNIOL-VILLARD
On 10:27 Wed 04 Mar , Pillai, Manikandan wrote: > Hi all, > > For the EVM board, > > $BOARD = evm $CPU = arm_cortexa8 and $ARCH = arm. > $VENDOR = omap3 and $SOC = omap3 > > I can change the check to check BOARD so that it is applicable only > To OMAP3 EVMs. > > ifeq ($(BOARD),evm) > LOAD_A