Re: [U-Boot] Multiple device support - none at all?

2009-03-12 Thread Heiko Schocher
Hello ksi, k...@koi8.net wrote: [...] > Eh, I did offer such a model for I2C :) And that model can be extended to > anything else. That is what I'm actually implementing for my new board. But > that goes into $(BOARD)/* because I simply don't have time for pushing it > into the U-Boot proper. I wa

Re: [U-Boot] [PATCH] Add bank configuration to FSL spd_sdram.c

2009-03-12 Thread Liu Dave-R63238
> The routine assumed 4 bank SDRAMs, enhance to configure for 4 > or 8 bank SDRAMs. > > Signed-off-by: Gerald Van Baren > --- > > I haven't made much headway on adapting the cpu/mpc8/ddr > routines to the 83xx (8360). It has some 85xx (86xx) > assumptions in that needs to be pulled out.

[U-Boot] [PATCH] Add bank configuration to FSL spd_sdram.c

2009-03-12 Thread Jerry Van Baren
The routine assumed 4 bank SDRAMs, enhance to configure for 4 or 8 bank SDRAMs. Signed-off-by: Gerald Van Baren --- I haven't made much headway on adapting the cpu/mpc8/ddr routines to the 83xx (8360). It has some 85xx (86xx) assumptions in that needs to be pulled out. Meanwhile, the cpu/m

Re: [U-Boot] [PATCH] MPC5200 FEC MII speed register

2009-03-12 Thread Jon Smirl
On Wed, Mar 11, 2009 at 3:08 PM, Jon wrote: > From: Jon Smirl Who's the maintainer for the mpc5200 core code? It isn't clear from the MAINTAINERS file. > Set a non-zero speed in the MII register so that MII commands will work. > > Signed-off-by: Jon Smirl > --- >  drivers/net/mpc5xxx_fec.c |  

[U-Boot] CPU with USB host mode and a USB console

2009-03-12 Thread Jon Smirl
I see in the readme that u-boot can be configured as a USB serial device on processor that can function as a USB device. My CPU, the mpc5200, only supports USB host. Has anyone tried this the other way around? Plugging in a USB to serial convert to the target system USB and getting console that wa

Re: [U-Boot] [PATCH] PowerPC MPC85xx: don't hang on read exception

2009-03-12 Thread Liu Dave-R63238
> I agree that this is the better approach, and I would be delighted if > somebody would write and submit that code for both u-boot and Linux. > It's a few hundred lines and takes careful testing, as we found with > our proprietary OS. In fact. u-boot has some support for these error events, check

Re: [U-Boot] [PATCH 17/26 v2] tools/Makefile: Give precedence to U-Boot's include directory

2009-03-12 Thread Andy Fleming
On Thu, Mar 12, 2009 at 6:53 PM, Peter Tyser wrote: > On Fri, 2009-03-13 at 00:19 +0100, Wolfgang Denk wrote: >> Dear Mike Frysinger, >> >> In message <200903121901.23433.vap...@gentoo.org> you wrote: >> > >> > On Thursday 12 March 2009 15:49:06 Peter Tyser wrote: >> > > Update include search path

Re: [U-Boot] [PATCH 17/26 v2] tools/Makefile: Give precedence to U-Boot's include directory

2009-03-12 Thread Peter Tyser
On Fri, 2009-03-13 at 00:19 +0100, Wolfgang Denk wrote: > Dear Mike Frysinger, > > In message <200903121901.23433.vap...@gentoo.org> you wrote: > > > > On Thursday 12 March 2009 15:49:06 Peter Tyser wrote: > > > Update include search path so that the includes in U-Boot's include/ > > > directory h

Re: [U-Boot] [PATCH 17/26 v2] tools/Makefile: Give precedence to U-Boot's include directory

2009-03-12 Thread Wolfgang Denk
Dear Mike Frysinger, In message <200903121901.23433.vap...@gentoo.org> you wrote: > > On Thursday 12 March 2009 15:49:06 Peter Tyser wrote: > > Update include search path so that the includes in U-Boot's include/ > > directory have precedence over system includes. This allows crc32.c > > to use U

Re: [U-Boot] [PATCH 17/26 v2] tools/Makefile: Give precedence to U-Boot's include directory

2009-03-12 Thread Mike Frysinger
On Thursday 12 March 2009 15:49:06 Peter Tyser wrote: > Update include search path so that the includes in U-Boot's include/ > directory have precedence over system includes. This allows crc32.c > to use U-Boot's zlib.h header which removes the previously required > symlinked zlib.h. this seems p

Re: [U-Boot] At91 mass storage device

2009-03-12 Thread Remy Bohmer
Hello, Please don't top post. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? (see http://www.netmeister.org/news/learn2quote.html) 2009/3/12 E Robertson : > I'm using git

Re: [U-Boot] Multiple device support - none at all?

2009-03-12 Thread ksi
On Thu, 12 Mar 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > > > That's true but... It is not that unusual to have several similar interfaces > > on a board. There is nothing obscure or weird in that. But allowing for only > > one of those interfaces (whichever

Re: [U-Boot] At91 mass storage device

2009-03-12 Thread E Robertson
I'm using git source from a few weeks back, sometime early part of last month. Have those changes merged or are they somewhere else? On Thu, Mar 12, 2009 at 3:49 PM, Remy Bohmer wrote: > Hello, > >> I've got a problem recognizing a USB mass storage device on the >> at91sam9263ek. >> I'm not fam

Re: [U-Boot] [PATCH 01/26 v2] Makefile: Make autoconf.mk a dependency of the depend target

2009-03-12 Thread Wolfgang Denk
Dear Peter Tyser, In message <1236892324.17861.33.ca...@localhost.localdomain> you wrote: > > Testing/development was done on the "master" branch, but I did verify > the series applies cleanly to the "next" branch. The binaries generated > when using the "next" branch code "appeared" to work at a

Re: [U-Boot] [PATCH v2] at91: change CONFIG_SYS_HZ to 1000

2009-03-12 Thread Wolfgang Denk
Dear Detlef Vollmann, In message <49b97998.2080...@vollmann.ch> you wrote: > > >> +#if (CONFIG_SYS_HZ != 1000) > >> +#error "CONFIG_SYS_HZ must be set to 1000 for this CPU" > >> +#endif > > no need please remove > As I already wrote in another message, I don't think so. > All current boards that u

Re: [U-Boot] Multiple device support - none at all?

2009-03-12 Thread Wolfgang Denk
Dear k...@koi8.net, In message you wrote: > > That's true but... It is not that unusual to have several similar interfaces > on a board. There is nothing obscure or weird in that. But allowing for only > one of those interfaces (whichever one chooses) supported by a given binary > is what is wei

Re: [U-Boot] [PATCH 01/26 v2] Makefile: Make autoconf.mk a dependency of the depend target

2009-03-12 Thread Peter Tyser
On Thu, 2009-03-12 at 22:00 +0100, Wolfgang Denk wrote: > Dear Peter Tyser, > > In message <1236887355-31359-2-git-send-email-pty...@xes-inc.com> you wrote: > > The original code did not generate autoconf.mk until after some targets > > dependencies had already been calculated, for example the dir

Re: [U-Boot] [PATCH v2] at91: change CONFIG_SYS_HZ to 1000

2009-03-12 Thread Detlef Vollmann
Jean-Christophe PLAGNIOL-VILLARD wrote: > On 02:58 Wed 25 Feb , Detlef Vollmann wrote: >> /* >> + * This code essentially ignores the settings of AT91_MASTER_CLOCK >> + * and CONFIG_SYS_HZ, so we just bail out if they're not set to >> + * the canonical values. >> + */ >> +#if (CONFIG_SYS_HZ !

Re: [U-Boot] [PATCH 01/26 v2] Makefile: Make autoconf.mk a dependency of the depend target

2009-03-12 Thread Wolfgang Denk
Dear Peter Tyser, In message <1236887355-31359-2-git-send-email-pty...@xes-inc.com> you wrote: > The original code did not generate autoconf.mk until after some targets > dependencies had already been calculated, for example the directories in > the SUBDIRS variable > > Signed-off-by: Peter Tyser

Re: [U-Boot] At91 mass storage device

2009-03-12 Thread Remy Bohmer
Hello, > I've got a problem recognizing a USB mass storage device on the at91sam9263ek. > I'm not familiar with this interface and I'm hoping someone might be > able to shed some light on it. > I enable debug hoping something might catch my eyes but so far > nothing. At one point I was > unable to

[U-Boot] fat32 cluster size check

2009-03-12 Thread twebb
I see that a fix for cluster size checking for fat32 was commited in 8ce4e5... "Fix checking fat32 cluster size." One question I have is that I implemented the fix but still see occasional problems with fatls and fatload failing with "Invalid FAT entry". Is the max value for the new macro CHECK_

Re: [U-Boot] Multiple device support - none at all?

2009-03-12 Thread ksi
On Thu, 12 Mar 2009, Wolfgang Denk wrote: > Dear k...@koi8.net, > > In message you wrote: > > > > It is supposed to be a "Universal" bootloader. Here is what wiki says: > > There is a certain difference between "universal" and "omnipotent". > Note that it's called "U-Boot", not "O-Boot". That

[U-Boot] [PATCH 24/26 v2] tools/Makefile: Simplify HOST_CFLAGS/HOST_LDFLAGS generation

2009-03-12 Thread Peter Tyser
Signed-off-by: Peter Tyser --- tools/Makefile | 15 +++ 1 files changed, 3 insertions(+), 12 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 25f8150..6a40d88 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -35,22 +35,13 @@ TOOLSUBDIRS = # multiple symbol defini

[U-Boot] [PATCH 22/26 v2] tools/Makefile: Use auto-generated object file dependencies

2009-03-12 Thread Peter Tyser
Files in the SRCS variable have their dependencies automatically generated so remove duplicate explicit dependencies Signed-off-by: Peter Tyser --- tools/Makefile | 24 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/tools/Makefile b/tools/Makefile ind

[U-Boot] [PATCH 21/26 v2] tools/Makefile: Remove symlinks for remaining source files

2009-03-12 Thread Peter Tyser
Signed-off-by: Peter Tyser --- Makefile |3 +-- tools/Makefile | 43 +-- 2 files changed, 14 insertions(+), 32 deletions(-) diff --git a/Makefile b/Makefile index ef95339..dfcb71b 100644 --- a/Makefile +++ b/Makefile @@ -3481,8 +3481,7 @@ clobb

[U-Boot] [PATCH 25/26 v2] Add support for building native win32 tools

2009-03-12 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 20/26 v2] tools/Makefile: Dynamically generate libfdt object dependencies

2009-03-12 Thread Peter Tyser
Add the libfdt files to the SRCS variable so that they have their dependencies automatically generated Signed-off-by: Peter Tyser --- tools/Makefile | 13 ++--- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 99423b2..e3abf56 100644

[U-Boot] [PATCH 23/26 v2] tools/Makefile: Create generic build rules

2009-03-12 Thread Peter Tyser
Create a few generic build rules to replace the current method which has 1 build target for each file Signed-off-by: Peter Tyser --- tools/Makefile | 55 +++ 1 files changed, 7 insertions(+), 48 deletions(-) diff --git a/tools/Makefile b/too

[U-Boot] [PATCH 26/26 v2] Delete now unused tools/Makefile.win32

2009-03-12 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 19/26 v2] tools/Makefile: Remove symlinks for fdt targets

2009-03-12 Thread Peter Tyser
Signed-off-by: Peter Tyser --- Makefile |3 +-- tools/Makefile | 32 +++- 2 files changed, 8 insertions(+), 27 deletions(-) diff --git a/Makefile b/Makefile index 4bee5ca..ef95339 100644 --- a/Makefile +++ b/Makefile @@ -3482,8 +3482,7 @@ clobber: clean

[U-Boot] [PATCH 06/26 v2] tools/Makefile: Remove HOSTARCH HOSTOS defines

2009-03-12 Thread Peter Tyser
The values of HOSTARCH and HOSTOS which are exported from the top-level Makefile should be used Signed-off-by: Peter Tyser --- tools/Makefile | 12 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 9e9ee15..e87daaf 100644 --- a/t

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

2009-03-12 Thread Peter Tyser
Signed-off-by: Peter Tyser --- tools/Makefile | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 14da78d..3c59bba 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -78,7 +78,8 @@ BIN_FILES-y += mkimage$(SFX) BIN_FILES-y += e

[U-Boot] [PATCH 18/26 v2] tools/Makefile: Add libfdt/ to the include search path

2009-03-12 Thread Peter Tyser
This change makes the process of symlinking libfdt_internal.h unnecessary Signed-off-by: Peter Tyser --- Makefile |2 +- tools/Makefile | 15 ++- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index ecb8430..4bee5ca 100644 --- a/Makefi

[U-Boot] [PATCH 04/26 v2] elf.h: Use stdint.h to provide standard typedefs for WIN32

2009-03-12 Thread Peter Tyser
The original code provided an incomplete set of typedefs for WIN32 compiles and replicated the standard typedefs that are already provided by stdint.h Signed-off-by: Peter Tyser --- include/elf.h |7 +-- 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/include/elf.h b/inclu

[U-Boot] [PATCH 16/26 v2] tools/Makefile: Add tools/ to the include search path

2009-03-12 Thread Peter Tyser
This change makes the process of symlinking mkimage.h and fdt_host.h unnecessary Signed-off-by: Peter Tyser --- tools/Makefile |7 +-- 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 35e694d..e1f262b 100644 --- a/tools/Makefile +++ b/t

[U-Boot] [PATCH 08/26 v2] tools/Makefile: Split variable declarations into multiple lines

2009-03-12 Thread Peter Tyser
Split variable declarations into multiple lines and use the standard VAR-y convention. Also move object and binary variable declarations to after config.mk has been included to allow for these lists to utilize the CONFIG_XXX variables. These changes lay the groundwork for conditional compilation

[U-Boot] [PATCH 17/26 v2] tools/Makefile: Give precedence to U-Boot's include directory

2009-03-12 Thread Peter Tyser
Update include search path so that the includes in U-Boot's include/ directory have precedence over system includes. This allows crc32.c to use U-Boot's zlib.h header which removes the previously required symlinked zlib.h. The 'pedantic' gcc flag was also removed to prevent new warnings of "long

[U-Boot] [PATCH 07/26 v2] tools/Makefile: Remove inappropriate double-tabs

2009-03-12 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 e87daaf..4219aef 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -126,164 +126,

[U-Boot] [PATCH 10/26 v2] tools/Makefile: Make img2srec dependent upon CONFIG_CMD_LOADS

2009-03-12 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 3c59bba..b4bd417 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -73,7 +73,7 @@ endif include $(TOPDIR)/config.mk # Generated exe

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

2009-03-12 Thread Peter Tyser
Also conditionally add ncb.o to OBJ_FILES list Signed-off-by: Peter Tyser --- doc/README.NetConsole |6 ++ tools/Makefile|2 ++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/README.NetConsole b/doc/README.NetConsole index 94c8816..639cc12 100644 --- a/doc

[U-Boot] [PATCH 05/26 v2] gen_eth_addr: Use POSIX rand() and srand()

2009-03-12 Thread Peter Tyser
Replace random()/srandom() use with rand()/srand() to support compilation with the mingw toolchain. The rand()/srand() functions are generally more common and are functionally equivalent to the original random()/srandom() calls. Signed-off-by: Peter Tyser --- tools/gen_eth_addr.c |6 +++---

[U-Boot] [PATCH 11/26 v2] tools/Makefile: Make ubsha1 dependent upon CONFIG_SHA1_CHECK_UB_IMG

2009-03-12 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 b4bd417..e314091 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -76,7 +76,7 @@ include $(TOPDIR)/config.mk BIN_FILES-$(CONFIG_CMD_L

[U-Boot] [PATCH 12/26 v2] tools/Makefile: Make inca-swap-bytes dependent on CONFIG_INCA_IP

2009-03-12 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 e314091..942fae2 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -80,6 +80,7 @@ BIN_FILES-$(CONFIG_SHA1_CHECK_UB_IMG) += ubsha1$(S

[U-Boot] [PATCH 14/26 v2] tools/Makefile: Make gen_eth_addr dependent upon CONFIG_CMD_NET

2009-03-12 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 ec35f18..f648d34 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -77,7 +77,7 @@ BIN_FILES-$(CONFIG_CMD_LOADS) += img2srec$(SFX) BIN_

[U-Boot] [PATCH 13/26 v2] tools/Makefile: Make envcrc dependent upon CONFIG_ENV_IS_EMBEDDED

2009-03-12 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 942fae2..ec35f18 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -75,7 +75,7 @@ include $(TOPDIR)/config.mk # Generated executable f

[U-Boot] [PATCH 02/26 v2] Makefile: Add removal of *.exe files to clean target

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

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

2009-03-12 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 03/26 v2] common/Makefile: Conditionally compile env_embedded.o

2009-03-12 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 01/26 v2] Makefile: Make autoconf.mk a dependency of the depend target

2009-03-12 Thread Peter Tyser
The original code did not generate autoconf.mk until after some targets dependencies had already been calculated, for example the directories in the SUBDIRS variable Signed-off-by: Peter Tyser --- Makefile | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Ma

Re: [U-Boot] Multiple device support - none at all?

2009-03-12 Thread Wolfgang Denk
Dear k...@koi8.net, In message you wrote: > > It is supposed to be a "Universal" bootloader. Here is what wiki says: There is a certain difference between "universal" and "omnipotent". Note that it's called "U-Boot", not "O-Boot". > === Cut === > Das U-Boot (Universal Bootloader, short for "Da

Re: [U-Boot] [PATCH v6] Add support for the digsy MTC board.

2009-03-12 Thread Wolfgang Denk
Dear Grzegorz Bernacki, In message <49b92954.2080...@semihalf.com> you wrote: > Wolfgang Denk wrote: > >> + for (n = 0; n < 6 ; n++) { > >> + addr = addr_of_eth_addr + n; > >> + chip = EEPROM_ADDR + ((addr & 0x300)>>8); > >> + i2c_read(chip, (addr & 0xFF), 1, (uchar *)ð

Re: [U-Boot] Problem booting Linux

2009-03-12 Thread Wolfgang Denk
Dear Remco Poelstra, In message <49b9262f.9080...@duran-audio.com> you wrote: > > I just noticed that when I set the load and entry address to 0xa000 > (the start address of my external RAM), then bootm prints "starting > kernel" and then U-boot resets itself twice > I think I have no id

Re: [U-Boot] Problem booting Linux

2009-03-12 Thread Wolfgang Denk
Dear Remco Poelstra, In message <49b9224c.6090...@duran-audio.com> you wrote: > > linux.bin uImage', I get the following output (mind the absent -C flag): > --- > Image Name: Linux Kernel Image > Created: Thu Mar 12 15:37:01 2009 > Image Type: ARM Linux Kernel Image (gzip compres

[U-Boot] [PATCH v4] OMAP3: Add support for OMAP3 die ID

2009-03-12 Thread Dirk Behme
Read and store OMAP3 die ID in U-Boot environment. Signed-off-by: Dirk Behme --- Changes in v4: - Update commit message, remove 'serial' - Rebase against U-Bootmainline commit 3c92217732edfc0016c3cbdc828471d013d23a36 'Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx' This patch

Re: [U-Boot] Multiple device support - none at all?

2009-03-12 Thread ksi
On Thu, 12 Mar 2009, Detlev Zundel wrote: > Hello ksi (so I'll leave it at that), > > > First of all, there are several bootable devices on a motherboard itself. > > These days almost every motherboard has PATA and some kind of SATA RAID > > controller onboard. Then, it can usually boot off of US

Re: [U-Boot] Multiple device support - none at all?

2009-03-12 Thread Detlev Zundel
Hello ksi (so I'll leave it at that), > First of all, there are several bootable devices on a motherboard itself. > These days almost every motherboard has PATA and some kind of SATA RAID > controller onboard. Then, it can usually boot off of USB while having USB > keyboard/mouse. As for add-on de

[U-Boot] At91 mass storage device

2009-03-12 Thread E Robertson
Hi, I've got a problem recognizing a USB mass storage device on the at91sam9263ek. I'm not familiar with this interface and I'm hoping someone might be able to shed some light on it. I enable debug hoping something might catch my eyes but so far nothing. At one point I was unable to reset the port;

[U-Boot] question about uboot and mpc8548cds

2009-03-12 Thread 阎淼
Hi, all I am a newbie using uboot-1.3.4 on mpc8548cds and I can not bring up my board. system hangs up when executing the instrction: lwz r5, 0(r3) this instruction is accessing the CCSR register after CCSBAR is relocated to 0xe000, and the value of r3 register is 0

Re: [U-Boot] Multiple device support - none at all?

2009-03-12 Thread ksi
On Thu, 12 Mar 2009, Detlev Zundel wrote: > Hi ksi (was it Sergei?), > > >> The fundamental concept of u-boot isn't to handle all your devices, it is > >> to > >> boot linux (or other OS) and use the OS to handle the multiple devices. > > > > The same is true for a PC BIOS, but it DOES handle al

[U-Boot] [PATCH v7 2/2] Add support for the digsy MTC board.

2009-03-12 Thread Grzegorz Bernacki
This is the InterControl custom device based on the MPC5200B chip. Signed-off-by: Grzegorz Bernacki --- This patch depends on changes done under first patch in the series, because it uses define CONFIG_SYS_ATA_CS_ON_I2C2 introduded in there. MAKEALL |1 + Makefile

Re: [U-Boot] Multiple device support - none at all?

2009-03-12 Thread Detlev Zundel
Hi ksi (was it Sergei?), >> The fundamental concept of u-boot isn't to handle all your devices, it is to >> boot linux (or other OS) and use the OS to handle the multiple devices. > > The same is true for a PC BIOS, but it DOES handle all of my devices. And it > allows me to choose which device to

[U-Boot] [PATCH v7 1/2] mpc52xx: Get rid of board-specific #ifdef's in cpu/mpc5xxx/ide.c

2009-03-12 Thread Grzegorz Bernacki
Total5200 and digsy MTC use I2C port 2 pins as a ATA chip select. To avoid adding board-specific ifdefs to cpu/mpc5xxx/ide.c new define CONFIG_SYS_ATA_CS_ON_I2C2 was introduced. It is used by Total5200 and will be used by digsy MTC and other boards with ATA CS on I2C pins. Signed-off-by: Grzegorz

[U-Boot] [PATCH v7 0/2] Add support for the digsy MTC board.

2009-03-12 Thread Grzegorz Bernacki
Version 7: - rebased to the 'next' branch to use new function to manipulate ethaddr - use setbits_be32 and clrbits_be32 - ide changes move to separate patch Version 6: - adjusted kernel console variable to use PSC4 (to reflect recent DTS changes) Version 5: - removed unnecessary braces - c

Re: [U-Boot] [PATCH v6] Add support for the digsy MTC board.

2009-03-12 Thread Grzegorz Bernacki
Wolfgang Denk wrote: >> +for (n = 0; n < 6 ; n++) { >> +addr = addr_of_eth_addr + n; >> +chip = EEPROM_ADDR + ((addr & 0x300)>>8); >> +i2c_read(chip, (addr & 0xFF), 1, (uchar *)ð_addr[n], 1); >> +} > > Can we not do this with a single i2c_read() call wit

Re: [U-Boot] [PATCH] PowerPC MPC85xx: don't hang on read exception

2009-03-12 Thread Andrew Klossner
> Why not use the interrupt mode? > If you use that mode, it will get more valuable information. Currently, > U-boot have a little bit error detection mechanism if you configure > the interrupts and enable the error interrupts. I agree that this is the better approach, and I would be delighted if

Re: [U-Boot] Problem booting Linux

2009-03-12 Thread Remco Poelstra
Remco Poelstra schreef: > Hi all, > > I'm trying to get Linux booting on an ARM7 (NXP LPC2468). I copy the > uImage to 0xa150 and the romfs.bin to 0xa180. I set bootargs to: > root=/dev/ram initrd=0xa180,4000k console=/dev/ttyS0,115200N8 > When I do 'bootm a150', it finds the ima

[U-Boot] Problem booting Linux

2009-03-12 Thread Remco Poelstra
Hi all, I'm trying to get Linux booting on an ARM7 (NXP LPC2468). I copy the uImage to 0xa150 and the romfs.bin to 0xa180. I set bootargs to: root=/dev/ram initrd=0xa180,4000k console=/dev/ttyS0,115200N8 When I do 'bootm a150', it finds the image and tries to uncompress it, but

[U-Boot] [PATCH 8/8 v2] UBIFS: Implement read-only UBIFS support in U-Boot (Part 8)

2009-03-12 Thread Stefan Roese
This patchset adds UBIFS read-only support to U-Boot. The following commands are implemented: - ubifsmount Mount an UBIFS volume - ubifsls List a directory of the mounted UBIFS volume - ubifsload Load a file from the mounted UBIFS volume to memory The U-Boot UBIFS implementation is largel

[U-Boot] [PATCH 7/8 v2] UBIFS: Implement read-only UBIFS support in U-Boot (Part 7)

2009-03-12 Thread Stefan Roese
This patchset adds UBIFS read-only support to U-Boot. The following commands are implemented: - ubifsmount Mount an UBIFS volume - ubifsls List a directory of the mounted UBIFS volume - ubifsload Load a file from the mounted UBIFS volume to memory The U-Boot UBIFS implementation is largel

[U-Boot] [PATCH 1/8 v2] UBIFS: Implement read-only UBIFS support in U-Boot (Part 1)

2009-03-12 Thread Stefan Roese
This patchset adds UBIFS read-only support to U-Boot. The following commands are implemented: - ubifsmount Mount an UBIFS volume - ubifsls List a directory of the mounted UBIFS volume - ubifsload Load a file from the mounted UBIFS volume to memory The U-Boot UBIFS implementation is largel

Re: [U-Boot] [PATCH v6] Add support for the digsy MTC board.

2009-03-12 Thread Wolfgang Denk
Dear Grzegorz Bernacki, In message <12345332203460-git-send-email-...@semihalf.com> you wrote: > > Signed-off-by: Grzegorz Bernacki I was about to apply this as John probably has very little time to care about this. But I have a few comments / requests first: ... > +void static set_ethaddr(vo

Re: [U-Boot] [PATCH] 83xx: correctly set encryption and I2C bus 0 clock

2009-03-12 Thread Wolfgang Denk
Dear Norbert van Bolhuis, In message <49b8b26b.4090...@aimvalley.nl> you wrote: > > Yes I just cut-n-pasted it. > I hope it's better now. No, it is not better. Patches should be sent inline, and not as attachments. It would be best if you used git-send-email to post the patch. Also, your Signed

Re: [U-Boot] [PATCH 1/1] Fix JFFS2 NOR sector size routine

2009-03-12 Thread Mark Jackson
On 11/03/09 18:29, Scott Wood wrote: > On Wed, Mar 11, 2009 at 09:54:20AM +, Mark Jackson wrote: >> diff --git a/common/cmd_jffs2.c b/common/cmd_jffs2.c >> index d0a7cea..2f3b3a9 100644 >> --- a/common/cmd_jffs2.c >> +++ b/common/cmd_jffs2.c >> @@ -1814,7 +1814,12 @@ static inline u32 get_part_

[U-Boot] [PATCH] ppc4xx: lwmon5: Only use one CS (rank) in DDR2 configuration

2009-03-12 Thread Stefan Roese
This patch fixes a problem spotted by Mikhail Zolotaryov on Sequoia with the DDR2 configuration to only use one CS (rank). As this code is most likely copied from the original Sequoia version, this error was copied as well. This patch also removes some dead code. Signed-off-by: Stefan Roese ---

[U-Boot] [PATCH] ppc4xx: PMC440: Only use one CS (rank) in DDR2 configuration

2009-03-12 Thread Stefan Roese
This patch fixes a problem spotted by Mikhail Zolotaryov on Sequoia with the DDR2 configuration to only use one CS (rank). As this code is most likely copied from the original Sequoia version, this error was copied as well. Signed-off-by: Stefan Roese --- board/esd/pmc440/sdram.c |2 +- 1 fi