[U-Boot] [PATCH v2] ppc: cleanup compilererrors/warnings

2009-03-26 Thread Heiko Schocher
actual u-boot top of tree builds with warnings/errors for the following boards: ads5121 cpci5200 mecp5200 v38b IAD210 MBX MBX860T NX823 RPXClassic debris PN62 following patch solves this. Signed-off-by: Heiko Schocher h...@denx.de --- changes since v1: - eth_putenv_enetaddr() substituted by

Re: [U-Boot] [PATCH-ARM] S3C2440: Add support for Embest SBC2440-II Board

2009-03-26 Thread Jean-Christophe PLAGNIOL-VILLARD
On 00:14 Thu 26 Mar , kevin.morf...@fearnside-systems.co.uk wrote: Adds support for the Embest SBC2440-II Board (see http://www.embedinfo.com/english/product/sbc2440-II.asp) with u-boot programmed in NOR flash. Implementation is based on the existing u-boot support for s3C2410-based

[U-Boot] [PATCH 1/3] Add LSDMR (SDRAM Mode Register) definition on localbus

2009-03-26 Thread Kumar Gala
The masks for various bit defines of LSDMR are common and thus we can define them in one place rather than replicating them in each config.h Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- include/asm-ppc/fsl_lbc.h | 27 +++ 1 files changed, 27 insertions(+), 0

[U-Boot] [PATCH 2/3] 85xx: Use common LSDMR defines from asm/fsl_lbc.h

2009-03-26 Thread Kumar Gala
Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- board/freescale/mpc8541cds/mpc8541cds.c | 14 board/freescale/mpc8548cds/mpc8548cds.c | 10 +++--- board/freescale/mpc8555cds/mpc8555cds.c | 14 board/freescale/mpc8560ads/mpc8560ads.c |1 +

[U-Boot] [PATCH] ads5121: enable instruction cache

2009-03-26 Thread wd
From: Wolfgang Denk w...@denx.de Enabling the instruction cache significantly accelerates U-Boot operations like CRC checking, image uncompression, etc. Kudos to Andrea Scian for pointing out. Signed-off-by: Wolfgang Denk w...@denx.de --- include/configs/ads5121.h |2 +- 1 files changed, 1

Re: [U-Boot] [PATCH 1/2] LPC2468 support

2009-03-26 Thread Remco Poelstra
Jean-Christophe PLAGNIOL-VILLARD schreef: No, thumb code is less efficient in terms of performance, but this single file needs thumb code. See LPC2292. what is the Difference? until a real big gap please do not use thumb IAP entries need thumb code. This is not a problem, they are only

Re: [U-Boot] [PATCH 2/2] LPC2468 example board

2009-03-26 Thread Remco Poelstra
Jean-Christophe PLAGNIOL-VILLARD schreef: please clean up first before a full review Hi, This patch is outdated. After the part 1 patch is OK, I'll work on this part. I'll include your comments then. Kind regards, Remco Poelstra ___ U-Boot

Re: [U-Boot] [PATCH 1/2] LPC2468 support

2009-03-26 Thread Remco Poelstra
Jean-Christophe PLAGNIOL-VILLARD schreef: I'm not an expert in assembly, but at first I had immap.h included in start.S and it complained about invalid instructions, so if I combine hardware.h and immap.h, then there must be some way of making sure that the assembler ignores the C code in

Re: [U-Boot] [PATCH v2 3/7] drivers/twserial: Add protocol driver for three wire serial interface.

2009-03-26 Thread Detlev Zundel
Hi Wolfgang, Dear Detlev Zundel, In message 1237998478-18452-4-git-send-email-...@denx.de you wrote: This pretty unintelligent interface is used on some RTC chips. Signed-off-by: Detlev Zundel d...@denx.de ... diff --git a/include/tws.h b/include/tws.h new file mode 100644 index

Re: [U-Boot] [RFC] cfi_flash and complex address mapping

2009-03-26 Thread Stefan Roese
On Wednesday 25 March 2009, thomas.lan...@infineon.com wrote: I'm in the process of preparing some code for a new board and want to use the generic cfi flash driver. The problem is EBU (External Bus Unit) of the chip, which is internally 32bit. Which SoC is this btw? The access to 8/16bit

Re: [U-Boot] [PATCH 1/2] LPC2468 support

2009-03-26 Thread Remco Poelstra
Remco Poelstra schreef: Yes I do. They are straight from the LPC2292 code, so once they were considered OK. I checked out the the write{s,l,b} functions in asm/io.h, but although they look similar, for some reason they simply don't work. Given the similarities between the write{s,l,b} and

[U-Boot] You have won 1.000.000.00. Euro

2009-03-26 Thread Mrs. Holt, Dillon S.
Confirmation Reference Number: 78-45-2-12-47-66-4 reply to E-mail to:frank.daniels...@gmail.com You have won #128;1.000.000.00. Euro (One million Euro) in the Euro Millions Email Sweepstakes Program Corporation, held on the 16th of March 2009. In London, United Kingdom. Please contact the

Re: [U-Boot] [PATCH v2 4/4] Flex-OneNAND boundary setting command

2009-03-26 Thread Amul Kumar Saha
Hi Scott, I believe that typecasting a UL to an int, is OK. Do let me know. The compiler will implicitly cast unsigned long to int. The explicit cast is unnecessary clutter which makes it harder to find casts that aren't OK. Accepted and changed. Thank You Amul.

Re: [U-Boot] minicom garbled

2009-03-26 Thread Jerry Van Baren
SlinceArm wrote: Hi , Wolfgang Denk Thank for your reply : ) U-Boot 1.1.4 is prehistoric, please use reacent code. And minicom is officially unsupported (see the repective entry in the U-Boot manual). Ok , i will try to install u-boot-2009-03 in my board But , is any other setting

[U-Boot] Size of external u-boot commands

2009-03-26 Thread Jon Smirl
My networking hardware needs microcode loaded into it before it will function. What's the best method to load this code? It's 70KB. My current u-boot image is 170KB. I started working with the code in examples and api_examples. But the hello world programs built using those APIs are 65-72KB in

Re: [U-Boot] Size of external u-boot commands

2009-03-26 Thread Jerry Van Baren
Jon Smirl wrote: My networking hardware needs microcode loaded into it before it will function. What's the best method to load this code? It's 70KB. My current u-boot image is 170KB. I started working with the code in examples and api_examples. But the hello world programs built using those

Re: [U-Boot] Size of external u-boot commands

2009-03-26 Thread Jon Smirl
On Thu, Mar 26, 2009 at 9:52 AM, Jerry Van Baren gerald.vanba...@ge.com wrote: Jon Smirl wrote: My networking hardware needs microcode loaded into it before it will function. What's the best method to load this code? It's 70KB. My current u-boot image is 170KB. I started working with the

Re: [U-Boot] [RFC] cfi_flash and complex address mapping

2009-03-26 Thread thomas.langer
In message 200903261103.28452...@denx.de you wrote: #define FLASH_FIXUP_ADDR_8(addr) ((void*)((ulong)(addr)^2)) #define FLASH_FIXUP_ADDR_16(addr) ((void*)((ulong)(addr)^2)) ... Yes, I think this could be accepted. The overall impact on the driver is not too big. Let's see if

[U-Boot] build u-boot and ubl for DM355

2009-03-26 Thread Vijay Soni
Can some one tell how to build u-boot and ubl for DM355 to be located on its NandFlash? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Size of external u-boot commands

2009-03-26 Thread Rafal Jaworowski
On 2009-03-26, at 15:21, Jon Smirl wrote: Libraries appear to be the problem. A program that just returns is 100 bytes, add a puts(hello world) and it is 65KB. I had expected the u-boot app examples to be smart and use the copy of those libraries in the u-boot image. For example the demo

Re: [U-Boot] Size of external u-boot commands

2009-03-26 Thread Jon Smirl
On Thu, Mar 26, 2009 at 10:43 AM, Rafal Jaworowski r...@semihalf.com wrote: On 2009-03-26, at 15:21, Jon Smirl wrote: Libraries appear to be the problem. A program that just returns is 100 bytes, add a puts(hello world) and it is 65KB. I had expected the u-boot app examples to be smart and

Re: [U-Boot] Size of external u-boot commands

2009-03-26 Thread Jon Smirl
On Thu, Mar 26, 2009 at 11:06 AM, Jon Smirl jonsm...@gmail.com wrote: On Thu, Mar 26, 2009 at 10:43 AM, Rafal Jaworowski r...@semihalf.com wrote: On 2009-03-26, at 15:21, Jon Smirl wrote: Libraries appear to be the problem. A program that just returns is 100 bytes, add a puts(hello world)

[U-Boot] [PATCH] karef/metrobox/xpedite1k: fix eth_setenv_enetaddr typos

2009-03-26 Thread Mike Frysinger
The function is called eth_setenv_enetaddr, not eth_putenv_enetaddr. Signed-off-by: Mike Frysinger vap...@gentoo.org CC: Ben Warren biggerbadder...@gmail.com --- board/sandburst/karef/karef.c |8 board/sandburst/metrobox/metrobox.c |8 board/xpedite1k/xpedite1k.c

Re: [U-Boot] Size of external u-boot commands

2009-03-26 Thread Mike Frysinger
On Thursday 26 March 2009 09:47:08 Jon Smirl wrote: My networking hardware needs microcode loaded into it before it will function. What's the best method to load this code? It's 70KB. can the microcode access external memory (i.e. where u-boot lives) ? iirc, the external functions are not

Re: [U-Boot] [PATCH] drivers/net/tsec.c - mii_parse_sr does not wait for auto-negotiation completion bug fix

2009-03-26 Thread Michael Zaidman
On Tue, Mar 24, 2009 at 9:01 PM, Peter Tyser pty...@xes-inc.com wrote: Hi Michael, On Tue, 2009-03-24 at 19:57 +0200, Michael Zaidman wrote: drivers/net/tsec.c - mii_parse_sr does not wait for auto-negotiation completion bug fix In the case when the MIIM_STATUS_LINK is 0 i.e. link is down

[U-Boot] [PATCH] ppc4xx: Sequoia: Fix TLB reassignment in NAND booting code

2009-03-26 Thread Stefan Roese
This patch fixes a bug in the Sequoia TLB init code to reconfigure the correct TLB (boot space) after running from RAM. This bug was introduced with patch 4d332dbeb08f5863d1ea69d91a00c5499d3a87ed [ppc4xx: Make Sequoia boot vxWorks] which changed the order of the TLB in the Sequoia init.S file.

Re: [U-Boot] [PATCH v2 3/7] drivers/twserial: Add protocol driver for three wire serial interface.

2009-03-26 Thread Detlev Zundel
Hi Wolfgang, In message 1237998478-18452-4-git-send-email-...@denx.de you wrote: This pretty unintelligent interface is used on some RTC chips. Signed-off-by: Detlev Zundel d...@denx.de ... diff --git a/include/tws.h b/include/tws.h new file mode 100644 index 000..bfa8d58 ---

Re: [U-Boot] [PATCH] drivers/net/tsec.c - mii_parse_sr does not wait for auto-negotiation completion bug fix

2009-03-26 Thread Peter Tyser
Hi Michael, Hi Peter, Thanks for the reference. I found this thread very interesting. Before I submitted the patch I also wondered if it is possible for the link status to be OK while auto-negotiation has not been completed yet. So I dived into the IEEE-802.3 spec (Clause

Re: [U-Boot] Size of external u-boot commands

2009-03-26 Thread Jon Smirl
On Thu, Mar 26, 2009 at 11:10 AM, Jon Smirl jonsm...@gmail.com wrote: On Thu, Mar 26, 2009 at 11:06 AM, Jon Smirl jonsm...@gmail.com wrote: On Thu, Mar 26, 2009 at 10:43 AM, Rafal Jaworowski r...@semihalf.com wrote: On 2009-03-26, at 15:21, Jon Smirl wrote: Libraries appear to be the

[U-Boot] U-Boot's need for MMU

2009-03-26 Thread cmfairfa
Hi, I am wondering what the ramifications of not using the MMU in U-Boot are? I have an MPC8360 (e300 core) where it is capable of disabling the MMU via the MSR[IR] and MSR[DR] bits. Before disabling the MMU, I'm just wondering why U-Boot bothers to set up the MMU on CPU's that providing

Re: [U-Boot] U-Boot's need for MMU

2009-03-26 Thread Scott Wood
cmfai...@rockwellcollins.com wrote: Hi, I am wondering what the ramifications of not using the MMU in U-Boot are? I have an MPC8360 (e300 core) where it is capable of disabling the MMU via the MSR[IR] and MSR[DR] bits. Before disabling the MMU, I'm just wondering why U-Boot bothers to set

[U-Boot] Please pull u-boot-ppc4xx

2009-03-26 Thread Stefan Roese
The following changes since commit 33e88c557b29c84c52039ba05993fa70fe62afe3: Jon Smirl (1): mpc5200: suppress printf until console initialized are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git master Stefan Roese (1): ppc4xx: Sequoia: Fix TLB

[U-Boot] Problems with ext2ls SD

2009-03-26 Thread DVM
Hi I am working on a port of 1.3.4 to the LPC313x and I am having some trouble with the ext2fs. U-Boot reads blocks 0x00, 0x02, 0x08, 0x200. I modified the code to dump the block data as it is read verified that the data is correct. The ext2ls command returns nothing, I guess thats because

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

2009-03-26 Thread TC Liew
Richard, I used 6 for most platforms. 1 is lowest priority - 7 - is the highest. Regards, TsiChung On Thu, Mar 19, 2009 at 4:15 PM, Richard Retanubun richardretanu...@ruggedcom.com wrote: Richard Retanubun wrote: Hi TC, TC Liew wrote: Richard,  Is there a purpose that you used DTIMER 3

[U-Boot] [PATCH] Coldfire M5271: Activate u-boot system timer interrupt.

2009-03-26 Thread Richard Retanubun
From abd87852f80b84e77ab264acdb36e7814302b097 Mon Sep 17 00:00:00 2001 From: Richard Retanubun richardretanu...@ruggedcom.com Date: Thu, 26 Mar 2009 15:26:01 -0400 Subject: [PATCH] Coldfire M5271: Activate u-boot system timer interrupt. This patch assigns the u-boot system timer interrupt to

Re: [U-Boot] Size of external u-boot commands

2009-03-26 Thread Wolfgang Denk
Dear Jon Smirl, In message 9e4733910903260647w549a97acv7101ea9347a76...@mail.gmail.com you wrote: My networking hardware needs microcode loaded into it before it will function. What's the best method to load this code? It's 70KB. My current u-boot image is 170KB. I started working with the

Re: [U-Boot] Size of external u-boot commands

2009-03-26 Thread Jon Smirl
On Thu, Mar 26, 2009 at 4:27 PM, Wolfgang Denk w...@denx.de wrote: Dear Jon Smirl, In message 9e4733910903260647w549a97acv7101ea9347a76...@mail.gmail.com you wrote: My networking hardware needs microcode loaded into it before it will function. What's the best method to load this code? It's

[U-Boot] [PATCH 2/3] MPC85xx: Load and enable QE microcode patch in IRAM

2009-03-26 Thread Haiying Wang
For the silicon which doesn't have ROM support in QE, it always needs to load a pre-built ucode binary to IRAM so that QE can work. Signed-off-by: Haiying Wang haiying.w...@freescale.com Signed-off-by: Hillel Avni hillel.a...@freescale.com --- drivers/qe/qe.c |9 + drivers/qe/qe.h |

[U-Boot] [PATCH 1/3] MPC85xx: Add MPC8569 CPU support

2009-03-26 Thread Haiying Wang
There is a workaround for MPC8569 CPU Errata, which needs to set Bit 13 of LBCR in 4K bootpage. We setup a temp TLB for eLBC controller in bootpage, then invalidate it after LBCR bit 13 is set. Signed-off-by: Haiying Wang haiying.w...@freescale.com --- cpu/mpc85xx/Makefile |1 +

[U-Boot] [PATCH 3/3] MPC85xx: Add MPC8569MDS board support

2009-03-26 Thread Haiying Wang
This patch adds MPC8569MDS board support. The UART, QE UEC1 and UEC2, BRD EEPROM on I2C2 bus, PCI express and DDR3 SPD are supported in this patch. Signed-off-by: Haiying Wang haiying.w...@freescale.com Signed-off-by: Hillel Avni hillel.a...@freescale.com --- MAKEALL

Re: [U-Boot] Size of external u-boot commands

2009-03-26 Thread Wolfgang Denk
Dear Jon Smirl, In message 9e4733910903261350v21bf16c5l5729927048e0d...@mail.gmail.com you wrote: I'm not sure how you calculate sizes, or how you link your applications. Note that classical standalone application do not link against any libraries, so they are really small: The *.bin

Re: [U-Boot] AT91 Pull Request

2009-03-26 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message 20090325213454.gb18...@game.jcrosoft.org you wrote: Hi Wolfgang, Please pull The following changes since commit ee1702d75a30d076139d1841383a1fa7220a0e11: Wolfgang Denk (1): Merge branch 'next' of ../next are available in the

Re: [U-Boot] Please pull u-boot-ppc4xx

2009-03-26 Thread Wolfgang Denk
Dear Stefan Roese, In message 200903261839.54706...@denx.de you wrote: The following changes since commit 33e88c557b29c84c52039ba05993fa70fe62afe3: Jon Smirl (1): mpc5200: suppress printf until console initialized are available in the git repository at:

Re: [U-Boot] Size of external u-boot commands

2009-03-26 Thread Jon Smirl
On Thu, Mar 26, 2009 at 5:15 PM, Wolfgang Denk w...@denx.de wrote: Dear Jon Smirl, In message 9e4733910903261350v21bf16c5l5729927048e0d...@mail.gmail.com you wrote: I'm not sure how you calculate sizes, or how you link your applications. Note that classical standalone application do not

Re: [U-Boot] [PATCH 3/3] 83xx: Use common LSDMR defines from asm/fsl_lbc.h

2009-03-26 Thread Kim Phillips
On Thu, 26 Mar 2009 01:34:39 -0500 Kumar Gala ga...@kernel.crashing.org wrote: Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- include/configs/MPC8323ERDB.h | 26 - include/configs/MPC832XEMDS.h | 26 - include/configs/MPC8349EMDS.h | 62

Re: [U-Boot] [PATCH] drivers/net/tsec.c - mii_parse_sr does not wait for auto-negotiation completion bug fix

2009-03-26 Thread Michael Zaidman
Hi Peter, On Thu, Mar 26, 2009 at 6:26 PM, Peter Tyser pty...@xes-inc.com wrote: Hi Michael, Hi Peter, Thanks for the reference. I found this thread very interesting.     Before I submitted the patch I also wondered if it is possible for     the link status to be OK while auto-negotiation

Re: [U-Boot] [PATCH] omap3: mmc: mmc2 support

2009-03-26 Thread Dirk Behme
Minkyu Kang wrote: There are 3 MMC/SD/SDIO host controllers inside the device. This patch will support mmc2 and mmc3. By this patch, the MMC controller actually used is configured by CONFIG_MMC_INDEX at compile time? I.e. setting CONFIG_MMC_INDEX to 1 will use mmc1, 2 will switch to mmc2 and

Re: [U-Boot] omap3: write to mmc

2009-03-26 Thread Dirk Behme
Minkyu Kang wrote: Hi, I have question or request about omap3 mmc. I want to write the image to mmc. But, omap3_mmc has no function for it. You want to say that OMAP3 MMC driver lacks MMC write support? Yes, looks so ;) Do you have some patches for omap3_mmc? or.. How about

Re: [U-Boot] Size of external u-boot commands

2009-03-26 Thread Wolfgang Denk
Dear Jon Smirl, In message 9e4733910903261435x598055f8m74c5ac03ad16b...@mail.gmail.com you wrote: The *.bin format is not smart enough to encode gaps. It just puts in 60KB of zeros. Yes, of course. A binary image cannot have holes in it. My ELF files are 73KB. -rwxr-xr-x 1 jonsmirl

Re: [U-Boot] Size of external u-boot commands

2009-03-26 Thread Jon Smirl
On Thu, Mar 26, 2009 at 7:26 PM, Wolfgang Denk w...@denx.de wrote: Dear Jon Smirl, In message 9e4733910903261435x598055f8m74c5ac03ad16b...@mail.gmail.com you wrote: The *.bin format is not smart enough to encode gaps. It just puts in 60KB of zeros. Yes, of course. A binary image cannot