Re: [U-Boot-Users] [PATCH] ppc: Revert patch 70431e8a that used _start instead of CFG_MONITOR_BASE

2008-04-23 Thread Joakim Tjernlund
-Original Message- From: Kim Phillips [mailto:[EMAIL PROTECTED] Sent: den 22 april 2008 19:28 To: Joakim Tjernlund Cc: 'Stefan Roese'; u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] [PATCH] ppc: Revert patch 70431e8a that used _start instead of CFG_MONITOR_BASE

Re: [U-Boot-Users] Question about smc911x driver (16/32 Bit support)

2008-04-23 Thread Jens Gehrlein
Hi Ben, Ben Warren schrieb: Hi Jens, On Tue, Apr 22, 2008 at 5:18 AM, Jens Gehrlein [EMAIL PROTECTED] wrote: Hi, in the source code there is a preprocessor directive #error SMC911X: Only 32-bit bus is supported. We use a LAN9215i, which has a 16 Bit data interface only, connected to

Re: [U-Boot-Users] ppc4xx: gpio setup broken for ppc405ep

2008-04-23 Thread Markus Brunner
After some emails with John from AMCC here are the Results: About the random tri-state select settings in the tables for alternate function for 440EP The values in the PPC440EP User's Manual (Revision 1.26 - March 20, 2008) that's on the web look correct to me. Tables 29-6, 29-7 29-8 are

Re: [U-Boot-Users] USB SUPPORT

2008-04-23 Thread michael
Hi, [EMAIL PROTECTED] wrote: --- Introduction --- This thread concerns possible problems with fs/fat/fat.c (incorrect fatls output and inaccessible files via fatload) even when recent git patches have been applied to fat.c. VFAT is enabled. Michael Trimarchi wrote: Can you give an

Re: [U-Boot-Users] [PATCH v3] crc32: use uint32_t rather than unsigned long

2008-04-23 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:02 Mon 31 Mar , Mike Frysinger wrote: The envcrc.c does sizeof(unsigned long) when calculating the crc, but this is done with the build toolchain instead of the target toolchain, so if the build is a 64bit system but the target is 32bits, the size will obviously be wrong. This

Re: [U-Boot-Users] How to set CPU speed to 266mhz s3c2410?

2008-04-23 Thread michael
Hi, p wrote: Sorry for the newb question but I've been googling like mad and can't find any clues (or more likely, can't understand what I do find). I'm looking at speed.c under /cpu/arm920t/s3c24xx and thinking this is the business end of CPU speed setting. I've been greping the source to

[U-Boot-Users] [PATCH] ppc4xx fixup ebc clock in FDT for 405GP/EP

2008-04-23 Thread Markus Brunner
On ppc405EP and ppc405GP (at least) the ebc is directly attached to the plb and not to the opb. This patch will try to fixup /plb/ebc if /plb/opb/ebc doesn't exist. Signed-off-by: Markus Brunner [EMAIL PROTECTED] --- diff --git a/cpu/ppc4xx/fdt.c b/cpu/ppc4xx/fdt.c index afcb974..da27d0e

Re: [U-Boot-Users] How to set CPU speed to 266mhz s3c2410?

2008-04-23 Thread Martin Krause
Hi p, [EMAIL PROTECTED] wrote on Tuesday, April 22, 2008 3:10 AM: Sorry for the newb question but I've been googling like mad and can't find any clues (or more likely, can't understand what I do find). I'm looking at speed.c under /cpu/arm920t/s3c24xx and thinking this is the business end

Re: [U-Boot-Users] USB SUPPORT

2008-04-23 Thread michael
Hi, Can you try this one? Revert my last one patch? It change the test code, before the while. I use your script on a Compact Flash and it looks fine for me (under linux). Regards Michael Check if the entry is a valid dir_slot entry, otherwise it is a dentry and the name has to be taken by

Re: [U-Boot-Users] pci memory booting on ppc460

2008-04-23 Thread Stefan Roese
On Tuesday 22 April 2008, David Hawkins wrote: So, its not impossible, but it does seem like more work than using Flash to boot the board. Full ACK from me. I would always recommend to use a small NOR FLASH with a full-blown U-Boot for booting from NOR with full DDR2 setup etc. All this will

Re: [U-Boot-Users] intended behavior of bootm

2008-04-23 Thread Matthias Fuchs
Hi Wolfgang, thanks for your reply. That's the kind of thing I wanted to hear. Now I will start playing around ;-) Matthias On Tuesday 22 April 2008 22:49, Wolfgang Denk wrote: In message [EMAIL PROTECTED] you wrote: Now I have to find a (simple) solution to solve my problem:

[U-Boot-Users] [PATCH] USB: fix those pesky aliasing warnings caused by gcc-4.2

2008-04-23 Thread Markus Klotzbücher
USB: fix those pesky aliasing warnings caused by gcc-4.2 Signed-off-by: Markus Klotzbuecher [EMAIL PROTECTED] Signed-off-by: Detlev Zundel [EMAIL PROTECTED] --- drivers/usb/usb_ohci.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/usb_ohci.c

Re: [U-Boot-Users] [PATCH] USB: remove a cpu bug workaround for an unsupported architecture

2008-04-23 Thread Markus Klotzbücher
USB: remove a cpu bug workaround for an unsupported architecture. Signed-off-by: Markus Klotzbuecher [EMAIL PROTECTED] --- drivers/usb/usb_ohci.c | 22 -- 1 files changed, 4 insertions(+), 18 deletions(-) diff --git a/drivers/usb/usb_ohci.c b/drivers/usb/usb_ohci.c

Re: [U-Boot-Users] [PATCH] M18 flash (Sibley) support (attempt 2)

2008-04-23 Thread Vasiliy Leoenenko
Hi, Stefan Sorry, but I really forgot about this patch. Could you please resend this patch against the current tot, since it doesn't apply cleanly anymore? I prepared patch for u-boot version 1.3.2. Any comments and suggestions are welcome. Code(included below) was verified on Mainstone II

[U-Boot-Users] Kernel hanging after lmb_end_of_DRAM() function

2008-04-23 Thread gforgcc
Hi geeks, i am trying to bring up the latest kernel on EP8248 target, i am using U-boot-1.3.2 and linux-2.6.25-rc8, i started debugging using BDI2000 which helped me to know atleast what is going wrong, i have added some printk's in the kernel source but still i am not able to find where and what

Re: [U-Boot-Users] USB SUPPORT get_vfatname

2008-04-23 Thread michael
Hi, michael wrote: Hi, Can you try this one? Revert my last one patch? It change the test code, before the while. I use your script on a Compact Flash and it looks fine for me (under linux). Regards Michael

Re: [U-Boot-Users] PPC440EPx/sequoia TLB question...

2008-04-23 Thread Stefan Roese
On Wednesday 23 April 2008, Dave Littell wrote: From …/board/amcc/sequoia/init.S: /* TLB-entry for Internal Registers OCM */ tlbentry( 0xe000, SZ_16M, 0xe000, 0, AC_R|AC_W|AC_X|SA_I ) Why is this memory region not marked Guarded? It would seem to meet the definition of

Re: [U-Boot-Users] AMCC PPC440EPx/sequoia stability question...

2008-04-23 Thread Stefan Roese
On Wednesday 23 April 2008, Dave Littell wrote: I'm working on an AMCC PPC440EPx-based platform that's similar to the Sequoia. The board runs pretty well, but occasionally takes exceptions both in U-Boot and while running Linux. The exceptions vary from Illegal Instructions to FP Unavailable

Re: [U-Boot-Users] Running Linux from ARCH=powerpc on Sequoia board

2008-04-23 Thread Stefan Roese
Hi Larry, On Tuesday 22 April 2008, Grant Likely wrote: Currently, I can build zImage for Sequoia using the powerpc architecture, and load it using U-Boot without a separate FDT binary. Is this the best way to run a Linux from the powerpc tree? Sorry, I don't understand what you're

[U-Boot-Users] [PATCH 1/2] Add the Harris QUAD100HD AMCC 405EP-based board.

2008-04-23 Thread Gary Jennejohn
Add the Harris QUAD100HD AMCC 405EP-based board. Signed-off-by: Gary Jennejohn [EMAIL PROTECTED] --- MAINTAINERS |4 + MAKEALL |1 + Makefile|3 + board/quad100hd/Makefile| 51 ++ board/quad100hd/config.mk | 24 +

[U-Boot-Users] [PATCH 2/2] Add the Harris QUAD100HD AMCC 405EP-based board.

2008-04-23 Thread Gary Jennejohn
Add the Harris QUAD100HD AMCC 405EP-based board. Signed-off-by: Gary Jennejohn [EMAIL PROTECTED] --- diff --git a/board/quad100hd/nand.c b/board/quad100hd/nand.c new file mode 100644 index 000..964dd4b --- /dev/null +++ b/board/quad100hd/nand.c @@ -0,0 +1,156 @@ +/* + * (C) Copyright 2008 +

Re: [U-Boot-Users] AMCC PPC440EPx/sequoia stability question...

2008-04-23 Thread Mike Nuss
Stefan wrote: At this point all possibilities are on the table and I'm looking for any input from anyone with experience (good, bad, or whatever) with this processor and/or designs similar to the Sequoia. If you scan the U-Boot mailing list for 440EPx/Denali DDR2 problems, you will

Re: [U-Boot-Users] ppc4xx: gpio setup broken for ppc405ep

2008-04-23 Thread Stefan Roese
On Wednesday 23 April 2008, Markus Brunner wrote: After some emails with John from AMCC here are the Results: About the random tri-state select settings in the tables for alternate function for 440EP Thanks for the update here. snip The high/low addresses of the select registers of 405EP

Re: [U-Boot-Users] pci memory booting on ppc460

2008-04-23 Thread ayman
On Wed, Apr 23, 2008 at 10:26:51AM +0200, Stefan Roese wrote: Full ACK from me. I would always recommend to use a small NOR FLASH with a full-blown U-Boot for booting from NOR with full DDR2 setup etc. All this will be hard to implement with all the restrictions for booting from PCI (even

[U-Boot-Users] Pull request: u-boot-video

2008-04-23 Thread Rodolfo Giometti
The following changes since commit a49e0d177a0749614b316ec847fb623f09c82c07: Matthias Fuchs (1): video: Add missing free for logo memory are available in the git repository at: git://git.denx.de/u-boot-video.git master

Re: [U-Boot-Users] pci memory booting on ppc460

2008-04-23 Thread David Hawkins
Hi Ame, Yes, what is the main reason you want to do this? Ok, here is what I want to do. I have a board that has several PPC460s on it. Each has its own DDR2. One of them is the master and boots up normally today with uboot, launches linux, etc. What I want to do is have that master

Re: [U-Boot-Users] Kernel hanging after lmb_end_of_DRAM() function.

2008-04-23 Thread Scott Wood
On Tue, Apr 22, 2008 at 09:12:11PM -0700, gforgcc wrote: i am trying to bring up the latest kernel on EP8248 target, i am using U-boot-1.3.2 and linux-2.6.25-rc8, i started debugging using BDI2000 which helped me to know atleast what is going wrong, i have added some printk's in the kernel

Re: [U-Boot-Users] Question about smc911x driver (16/32 Bit support)

2008-04-23 Thread Ben Warren
Hi Magnus, On Wed, Apr 23, 2008 at 6:35 AM, Magnus Lilja [EMAIL PROTECTED] wrote: Hi Jens, On Wed, Apr 23, 2008 at 8:37 AM, Jens Gehrlein [EMAIL PROTECTED] wrote: in the source code there is a preprocessor directive #error SMC911X: Only 32-bit bus is supported. We use a

Re: [U-Boot-Users] Question about smc911x driver (16/32 Bit support)

2008-04-23 Thread Magnus Lilja
Hi Ben, Well, the i.MX31 Litekit board has a 16-bit LAN9117 and that seems to work with the 32-bit flag set in the config file. That's good news. I would prefer, though, to break this into two 16-bit accesses so we don't need to wonder what architectures it would work on. Would

[U-Boot-Users] how to make a standalone linux device

2008-04-23 Thread Avinash Vijayvergia
Hi I am working on AT91SAM9260EK eval board from atmel. I have been using uboot to load an NFS root file system on a Linux server. I need to load the linux kernel to the dataflash to make it standalone product. Can someone help me with the how to for it? Thanks Avinash

[U-Boot-Users] ppc440: EBC 32-bit bus width setting

2008-04-23 Thread Andrew E. Mileski
This affects EBC_BXCR_BW_32BIT defined in include/ppc440.h According to the AMCC 440EPx User Manual (v1.14), pg 591, figure 22-18, BW (bits 17:18) should be 10 for a 32-bit bus width. This is also repeated for the NAND controller, section 23.4.5 on pg 600. According to the IBM 440GX User's

[U-Boot-Users] [PATCH] fsl_pci: Only modify registers if we have them

2008-04-23 Thread Kumar Gala
pme_msg_det exists only on PCIe controllers only set it if we are a bridge. Signed-off-by: Kumar Gala [EMAIL PROTECTED] --- A fix for 1.3.3. drivers/pci/fsl_pci_init.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/pci/fsl_pci_init.c

[U-Boot-Users] FW: USB SUPPORT get_vfatname

2008-04-23 Thread Ken.Fuchs
Michael, I copied all files in fs/fat from git repository u-boot-at91. Made trivial changes to compile it with my code base. Added your latest get_vfatname patch, but it had no effect on the issue. fatls still doesn't list filenames in some FAT32 filesystems, including the one built via the

[U-Boot-Users] TFTP block size is too high

2008-04-23 Thread Jared Holzman
Does anyone else have problems with the new default tftp block size of 1468 (set in tftp.c) being too large? I was getting corruption of the d/led images until I dropped it down to 1200. I'm afraid I don't have time to determine the real maximum size before corruption occurs. Does someone else

Re: [U-Boot-Users] AMCC PPC440EPx/sequoia stability question...

2008-04-23 Thread Josh Boyer
On Wed, 2008-04-23 at 14:49 +0200, Stefan Roese wrote: On Wednesday 23 April 2008, Dave Littell wrote: At this point all possibilities are on the table and I'm looking for any input from anyone with experience (good, bad, or whatever) with this processor and/or designs similar to the

Re: [U-Boot-Users] Running Linux from ARCH=powerpc on Sequoia board

2008-04-23 Thread Larry Johnson
Stefan Roese wrote: Hi Larry, On Tuesday 22 April 2008, Grant Likely wrote: Currently, I can build zImage for Sequoia using the powerpc architecture, and load it using U-Boot without a separate FDT binary. Is this the best way to run a Linux from the powerpc tree? Sorry, I don't understand

Re: [U-Boot-Users] AMCC PPC440EPx/sequoia stability question...

2008-04-23 Thread Dave Littell
Stefan Roese wrote: On Wednesday 23 April 2008, Dave Littell wrote: I'm working on an AMCC PPC440EPx-based platform that's similar to the Sequoia. The board runs pretty well, but occasionally takes exceptions both in U-Boot and while running Linux. The exceptions vary from Illegal

Re: [U-Boot-Users] Running Linux from ARCH=powerpc on Sequoia board

2008-04-23 Thread Grant Likely
On Wed, Apr 23, 2008 at 7:11 PM, Larry Johnson [EMAIL PROTECTED] wrote: Thanks Stefan, Grant, and Wolfgang for your comments. Method 2 is working for me, as it turns out that files cuImage.sequoia and zImage are identical. That is because zImage is simply linked to the first target in the

[U-Boot-Users] [RFC] Implementing Boot Image Fallback on U-Boot

2008-04-23 Thread Makito SHIOKAWA
Boot Image Fallback is a mechanism that enables a system to fallback to a known good boot image in the event of catastrophic boot failure (i.e. failure to boot, panic on boot, failure to initialize HW/SW). (CGL Availability Requirements Definition V4.0: AVL.9.0). On system especially used in

Re: [U-Boot-Users] [RFC] Implementing Boot Image Fallback on U-Boot

2008-04-23 Thread Matthias Fuchs
Hi, take a look at Wolfgang's last posting from Tuesday on the 'intended behavior of bootm'. The bootlimit/altbootcmd function (in your case probably together with a hardware watchdog) could be the stuff you are (and I was) looking for. Matthias On Thursday 24 April 2008 04:53:48 Makito

Re: [U-Boot-Users] ppc440: EBC 32-bit bus width setting

2008-04-23 Thread Stefan Roese
On Wednesday 23 April 2008, Andrew E. Mileski wrote: This affects EBC_BXCR_BW_32BIT defined in include/ppc440.h According to the AMCC 440EPx User Manual (v1.14), pg 591, figure 22-18, BW (bits 17:18) should be 10 for a 32-bit bus width. This is also repeated for the NAND controller, section

[U-Boot-Users] [PATCH 1/1] NE2000: Fix regresssion introduced by e710185aae90 on non AX88796

2008-04-23 Thread Jean-Christophe PLAGNIOL-VILLARD
Move non-inlied functions into specific drivers file Set get_prom as weak Coding Style Cleanup Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD [EMAIL PROTECTED] Signed-off-by: Vlad Lungu [EMAIL PROTECTED] --- drivers/net/Makefile |5 +- drivers/net/ax88796.c | 156