[U-Boot] Fwd: [PATCH] nand booting support (SPL) for phyCORE-i.MX31

2008-12-01 Thread Maxim Artamonov
Hello, Magnus 29.11.08, 12:59, "Magnus Lilja" <[EMAIL PROTECTED]>: Thank for time that you spend to review this patch. > Hi > 2008/11/29 user <[EMAIL PROTECTED]>: > > nand booting support (SPL) for phyCORE-i.MX31 > >... > > Patch is applicable on v2008.10 release tag master branch. > stgit couldn

Re: [U-Boot] ppc4xx: u-boot sees PCIe endpoint, linux does not.

2008-12-01 Thread Benjamin Herrenschmidt
On Fri, 2008-11-28 at 13:50 +0100, Leon Woestenberg wrote: > Hello, > > AMCC PPC460EX canyonlands board with an FPGA PCIe end point: > > u-boot sees the end point, but Linux does not: > > U-Boot 1.3.3-00249-ga524e11 (Jun 30 2008 - 16:05:51) > CPU: AMCC PowerPC 460EX Rev. A at 800 MHz (PLB=200,

Re: [U-Boot] Fwd: [PATCH] nand booting support (SPL) for phyCORE-i.MX31

2008-12-01 Thread Magnus Lilja
Hi 2008/12/1 Maxim Artamonov <[EMAIL PROTECTED]>: > Hello, Magnus > > 29.11.08, 12:59, "Magnus Lilja" <[EMAIL PROTECTED]>: > >> Your patch seems to have some trailing whitespaces here and there. > It is require to correct in according codestyle? Yes, I think so. >> > #define CCM_MPCTL (CCM

Re: [U-Boot] Installing Linux kernel, nothing to execute in RAM...

2008-12-01 Thread Simon Boman
2008/11/27 Simon Boman <[EMAIL PROTECTED]>: > 2008/11/26 Simon Boman <[EMAIL PROTECTED]>: >> Hi! >> >> I have a modifed MPC8360 platform with a U-boot git-version from October. >> Now I'm trying to install a Linux kernel and everything looks fine >> until it starts to execute the kernel in RAM, the

Re: [U-Boot] Error compiling UBOOT 1.3.4 for AT91RM9200

2008-12-01 Thread Jean-Christophe PLAGNIOL-VILLARD
On 14:14 Sat 29 Nov , Linux RegaTech wrote: > Hello UBOOT mailinglist > > I have encountered a problem when i try to compile any newer version of UBOOT > than V1.2.0 for AT91RM9200, > below is given the output from console when i try to compile the UBOOT V1.3.4 > for AT91RM9200, > could

[U-Boot] frescale NAND FLASH problems

2008-12-01 Thread Carlos kescuin
Hi, everyone: I'm working with u-boot 2008 version for a freescale M5329EVB. I've configured the IDE and Compact flash modules but problems are with NANDFLASH When i try to add #define NANDFLASH_SIZE16 to my sistem and compile I get this error: nand.c: In function 'nand_hwcontrol': nand.c:50

[U-Boot] Uboot AS Space in MPC85xx Start.S

2008-12-01 Thread Vignesh Kumar B
Hi, I am working on the Start.S in the Bootloader code for MPC8572. I find that At some point of time we say we switch to AS=1 when setting TLB. After cpu_early_init_f we switch back to AS=0. So we do this to avoid some mismatch. But when we shift back to AS=0, I want to know what is there in tha

[U-Boot] [PATCH] tools/mkimage: use lseek rather than fstat for file size for -l option

2008-12-01 Thread Peter Korsgaard
Use lseek rather than fstat for file size for list mode, so mkimage -l /dev/mtdblockN works (stat returns st_size == 0 for devices). Notice that you have to use /dev/mtdblockN and not /dev/mtdN, as the latter doesn't support mmap. Signed-off-by: Peter Korsgaard <[EMAIL PROTECTED]> --- tools/mkim

[U-Boot] [PATCH] tools/mkimage: ignore trailing garbage

2008-12-01 Thread Peter Korsgaard
Ignore trailing data after the uimage data and only complain if the file is too small. (E.G. if the uImage was stored in flash and hence padded to the flash sector size). Signed-off-by: Peter Korsgaard <[EMAIL PROTECTED]> --- tools/mkimage.c |9 - 1 files changed, 8 insertions(+), 1

Re: [U-Boot] [PATCH v2] nand: Fix cache and memory inconsistent issue

2008-12-01 Thread Scott Wood
On Fri, Nov 28, 2008 at 08:16:28PM +0800, Dave Liu wrote: > +static void __flush_cache(ulong start, ulong size) No gratuitous underscores. > +{ > + ulong addr, end; > + ulong cache_line = CONFIG_SYS_CACHELINE_SIZE; > + > + end = start + size; > + > + /* clean the dcache, make sure

[U-Boot] Pull requst u-boot-mpc86xx

2008-12-01 Thread Jon Loeliger
Wolfgang, The following changes since commit 2077e348c2a84901022ad95311b47b70361e6daa: Scott Wood (1): NAND: Fix misplaced return statement in nand_{read,write}_skip_bad(). are available in the git repository at: git://www.denx.de/git/u-boot-mpc86xx.git master Becky Bruce (1):

Re: [U-Boot] [PATCH v2 2/2] XPedite5200 board support

2008-12-01 Thread Jon Loeliger
On Wed, 2008-11-26 at 11:15 -0600, Peter Tyser wrote: > Initial support for Extreme Engineering Solutions XPedite5200 - > a MPC8548-based PMC single board computer. > > Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> > diff --git a/include/configs/XPEDITE5200.h b/include/configs/XPEDITE5200.h > ne

[U-Boot] [PATCH 1/2] net: Define IP flag field values

2008-12-01 Thread Peter Tyser
These defines were pulled from the "Add simple IP/UDP fragmentation support" patch from Frank Haverkamp <[EMAIL PROTECTED]>. --- include/net.h |6 ++ net/net.c |6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/include/net.h b/include/net.h index a5a256b..199

[U-Boot] [PATCH 0/2] net: Additional IP fragmentation check

2008-12-01 Thread Peter Tyser
It looks like U-Boot ignores fragmented IP packets with non-zero "fragment offset" fields, but doesn't ignore the initial fragmented IP packet which has a "fragment offset" field value of 0. An additional check was added to catch the initial fragmented packet which should have the "more fragments"

[U-Boot] [PATCH 2/2] net: Add additional IP fragmentation check

2008-12-01 Thread Peter Tyser
Ignore IP packets which have the "more fragments" flag bit set. This flag indicates the IP packet is fragmented and must be ignored by U-Boot. --- net/net.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/net/net.c b/net/net.c index cf1f4fa..b8e09e8 100644 --- a/net/net

Re: [U-Boot] iPAQ 21x support (+PXA3xx NAND flash and MMC)

2008-12-01 Thread Adrian Filipi
--On Saturday, November 29, 2008 09:03:25 AM -0500 Oliver Ford <[EMAIL PROTECTED]> wrote: > Hi, > > I've recently started trying to use U-boot on an iPAQ 214 which runs on > a PXA310 cpu. > I've got the basic boot up, NAND flash and MMC systems working so far. > > > I'm not sure it exactly f

[U-Boot] [Fwd: Re: iPAQ 21x support (+PXA3xx NAND flash and MMC)]

2008-12-01 Thread Oliver Ford
Whoops, I think I missed the list on this one. Daniel Mack wrote: > Yes, absolutely - to me. I'm sitting on this at this very moment :) > > I was also thinking about implementing this as a PXA3xx generic layer > for small pages, large pages, 8bit and 16bit so the same code does not > need to be co

Re: [U-Boot] ppc4xx: u-boot sees PCIe endpoint, linux does not.

2008-12-01 Thread Leon Woestenberg
Hello all, On Mon, Dec 1, 2008 at 9:12 AM, Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > On Fri, 2008-11-28 at 13:50 +0100, Leon Woestenberg wrote: >> >> AMCC PPC460EX canyonlands board with an FPGA PCIe end point: >> >> u-boot sees the end point, but Linux does not: >> >> U-Boot 1.3.3-00249

Re: [U-Boot] iPAQ 21x support (+PXA3xx NAND flash and MMC)

2008-12-01 Thread Oliver Ford
Adrian Filipi wrote: > > I'm pretty interested. NAND on the pxa320 is proving to be a pain > to us. It seems I'd forgotten to cc' the list on my reply to Daniel so I've fw'ed that on now - see that msg for some of the details and the source. It should work ok for the pxa320 but I think ther

[U-Boot] [PATCH] net: Fix TftpStart() ip:filename bug

2008-12-01 Thread Peter Tyser
The TftpStart() function modifies the 'BootFile' string when 'BootFile' contains both an IP address and filename (eg 1.2.3.4:/path/file). This causes subsequent calls to TftpStart to incorrectly parse the TFTP filename and server IP address to use. For example: => tftp 0x10 10.52.0.62:/home/pt

Re: [U-Boot] [PATCH v2] nand: Fix cache and memory inconsistent issue

2008-12-01 Thread Stefan Roese
On Monday 01 December 2008, Scott Wood wrote: > Please factor this out into arch code, and make it shareable with other > NAND code (such as nand_boot.c). Yes, please. > > + /* > > +* We need clean dcache and invalidate > > +* to sync between icache and dcache > > +* before jump to

[U-Boot] [PATCH v4 0/3]Support for XPedite5370 and misc GPIO

2008-12-01 Thread Peter Tyser
Hello, This patch series adds support for the XPedite5370 SBC. Its an MPC8572-based VPX card with a PMC/XMC site. The XPedite5370 includes a significant number of I2C GPIO devices (5) which are used for board configuration. I added support for 2 new I2C gpio devices in a new drivers/gpio director

[U-Boot] [PATCH v4 1/3] Add support for PCA953x I2C gpio devices

2008-12-01 Thread Peter Tyser
Initial support for NXP's 4 and 8 bit I2C gpio expanders (eg pca9537, pca9557, etc). The CONFIG_PCA953X define enables support for the devices while the CONFIG_CMD_PCA953X define enables the pca953x command. The CONFIG_CMD_PCA953X_INFO define enables an 'info' sub-command which provides summary inf

[U-Boot] [PATCH v4 2/3] Add support for Maxim's DS4510 I2C device

2008-12-01 Thread Peter Tyser
Initial support for the DS4510, a CPU supervisor with integrated EEPROM, SRAM, and 4 programmable non-volatile GPIO pins. The CONFIG_DS4510 define enables support for the device while the CONFIG_CMD_DS4510 define enables the ds4510 command. The additional CONFIG_DS4510_INFO, CONFIG_DS4510_MEM, and

Re: [U-Boot] ppc4xx: u-boot sees PCIe endpoint, linux does not.

2008-12-01 Thread Stefan Roese
On Monday 01 December 2008, Leon Woestenberg wrote: > >> Now, if I re-program the end-point FPGA during the u-boot boot > >> time-out, Linux will recognize the end-point. > > > > It's possible that either the reset in between goes bonkers or something > > else causes your FPGA to stop responding. I

[U-Boot] [PATCH v3 0/2] 85xx: Support for XPedite5200

2008-12-01 Thread Peter Tyser
These 2 patches add support for the XPedite5200 SBC - a MPC8548-based PMC card made by Extreme Engineering Solutions. The patches require the following 2 patches to be applied first: - pca953x: Add support for PCA953x I2C gpio devices - XPedite5370 board support changes since v1: - Change alignme

[U-Boot] [PATCH v3 1/2] 85xx: Add PORDEVSR_PCI1 define

2008-12-01 Thread Peter Tyser
Add define used to determine if PCI1 interface is in PCI or PCIX mode. Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> --- include/asm-ppc/immap_85xx.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/asm-ppc/immap_85xx.h b/include/asm-ppc/immap_85xx.h index 75b451d

[U-Boot] [PATCH v3 2/2] XPedite5200 board support

2008-12-01 Thread Peter Tyser
Initial support for Extreme Engineering Solutions XPedite5200 - a MPC8548-based PMC single board computer. Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> --- MAINTAINERS |1 + MAKEALL |1 + Makefile|3 + b

[U-Boot] [PATCH] Remove unused CONFIG_ADDR_STREAMING defines

2008-12-01 Thread Peter Tyser
--- include/configs/ATUM8548.h|1 - include/configs/MPC8536DS.h |1 - include/configs/MPC8540ADS.h |1 - include/configs/MPC8540EVAL.h |1 - include/configs/MPC8541CDS.h |1 - include/configs/MPC8544DS.h |1 - include/configs/MPC8548CDS.h |1 - include/config

Re: [U-Boot] [PATCH v3 2/2] XPedite5200 board support

2008-12-01 Thread Jon Loeliger
On Mon, 2008-12-01 at 13:47 -0600, Peter Tyser wrote: > Initial support for Extreme Engineering Solutions XPedite5200 - > a MPC8548-based PMC single board computer. > > Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> > --- > +/* > + * Use L1 as initial stack > + */ > +#define CONFIG_SYS_INIT_RAM_L

Re: [U-Boot] [PATCH v3 2/2] XPedite5200 board support

2008-12-01 Thread Peter Tyser
On Mon, 2008-12-01 at 14:17 -0600, Jon Loeliger wrote: > On Mon, 2008-12-01 at 13:47 -0600, Peter Tyser wrote: > > Initial support for Extreme Engineering Solutions XPedite5200 - > > a MPC8548-based PMC single board computer. > > > > Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> > > --- > > > +/

Re: [U-Boot] [PATCH v3 2/2] XPedite5200 board support

2008-12-01 Thread Jon Loeliger
On Mon, 2008-12-01 at 14:31 -0600, Peter Tyser wrote: > Which define are you referring to? A quick glance looks like these 3 > defines are used legitimately. Am I missing something? Double *sigh*... I clearly didn't drink enough over the holidays (here). Ignore me. Sorry, jdl _

[U-Boot] [PATCH v2] Remove unused CONFIG_ADDR_STREAMING defines

2008-12-01 Thread Peter Tyser
Signed-off-by: Peter Tyser <[EMAIL PROTECTED]> --- doah, forgot SOB include/configs/ATUM8548.h|1 - include/configs/MPC8536DS.h |1 - include/configs/MPC8540ADS.h |1 - include/configs/MPC8540EVAL.h |1 - include/configs/MPC8541CDS.h |1 - include/configs/MPC8544DS.h

[U-Boot] [PATCH v2] net: Fix TftpStart() ip:filename bug

2008-12-01 Thread Peter Tyser
The TftpStart() function modifies the 'BootFile' string when 'BootFile' contains both an IP address and filename (eg 1.2.3.4:/path/file). This causes subsequent calls to TftpStart to incorrectly parse the TFTP filename and server IP address to use. For example: => tftp 0x10 10.52.0.62:/home/pt

Re: [U-Boot] [PATCH v2] nand: Fix cache and memory inconsistent issue

2008-12-01 Thread Liu Dave
> From: Stefan Roese [mailto:[EMAIL PROTECTED] > On Monday 01 December 2008, Scott Wood wrote: > > Please factor this out into arch code, and make it > shareable with other > > NAND code (such as nand_boot.c). > > Yes, please. > > > > + /* > > > + * We need clean dcache and invalidate > > > +

[U-Boot] pci booting 460ex seems to hang at tlb entries

2008-12-01 Thread Ayman M. El-Khashab
Thanks for any pointers. So here is my current setup, 2 460ex parts bussed together via the PCI bus. The master boots u-boot via flash, reserves some memory, and boots linux. A user process then maps that memory and loads a "flash image" into it. The PIM and POM registers on the master and slav

[U-Boot] Problem building fw_printenv un u-boot 1.3.4

2008-12-01 Thread Pink Boy
Hi, I'm back haxing at u-boot. Specifically I'm trying to build fw_printenv so that I can use u-boots environment to store my boards MAC address. I've been able to build a u-boot that runs off of u-boot-1.3.4 for the AT91RM9200DK. However when I try and build the utilities to read and write t

[U-Boot] [PATCH] lib_ppc: rework the flush_cache

2008-12-01 Thread Dave Liu
- It is possible to miss flush/invalidate the last cache line, we fix it at here. - add the volatile and memory clobber. the bugs is pointed by Scott Wood. Signed-off-by: Dave Liu <[EMAIL PROTECTED]> --- lib_ppc/cache.c | 36 +--- 1 files changed, 17 insertion

[U-Boot] [PATCH v3] nand: Fix cache and memory inconsistent issue

2008-12-01 Thread Dave Liu
we load the secondary stage u-boot image from NAND to system memory by nand_load, but we did not flush d-cache to memory, not invalidate i-cache before we jump to RAM. when the system is cache enable and the TLB/page attribute of system memory is cacheable, it will cause issue. - 83xx family is us

[U-Boot] General Dentists Listing for the United States

2008-12-01 Thread Rucker ghost
Comes with unlimited use license and at a very resonable price: <> 164,297 D.entists <> 158,851 Postal Addresses <> 163,954 Tel #'s <> 77,215 Fax Numbers <> 45,672 business e-mails Until Dec 5 the special introductory price is $290 (reduced from $592) For details please send an email to [EMAI

Re: [U-Boot] [PATCH v3] nand: Fix cache and memory inconsistent issue

2008-12-01 Thread Stefan Roese
On Tuesday 02 December 2008, Dave Liu wrote: > we load the secondary stage u-boot image from NAND to > system memory by nand_load, but we did not flush d-cache > to memory, not invalidate i-cache before we jump to RAM. > when the system is cache enable and the TLB/page attribute > of system memory

[U-Boot] [PATCH] r2dplus/lowlevel_init: coding style fix

2008-12-01 Thread Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[EMAIL PROTECTED]> --- board/renesas/r2dplus/lowlevel_init.S | 42 1 files changed, 21 insertions(+), 21 deletions(-) diff --git a/board/renesas/r2dplus/lowlevel_init.S b/board/renesas/r2dplus/lowlevel_init.S ind

Re: [U-Boot] [PATCH] tools/mkimage: use lseek rather than fstat for file size for -l option

2008-12-01 Thread Thomas De Schampheleire
Hi Peter, On Mon, Dec 1, 2008 at 5:23 PM, Peter Korsgaard <[EMAIL PROTECTED]> wrote: > Use lseek rather than fstat for file size for list mode, so > mkimage -l /dev/mtdblockN works (stat returns st_size == 0 for devices). > > Notice that you have to use /dev/mtdblockN and not /dev/mtdN, as the > l