Re: [U-Boot] u-boot ls cmd oops Unknown node type.

2010-07-27 Thread H. Johnny
Too late to inform that the u-boot oops because u-boot is 1.3.0 doesn't support JFFS2 summary and my kernel enable it. Disable JFFS2 summary support in Linux kernel then u-boot oops disappear. BRs, H. Johnny 2010/5/13 H. Johnny : > Hi All, > > It seems the following answer is wrong. The u-boot can

[U-Boot] A bl command question about smdk2410 in u-boot-2010.06

2010-07-27 Thread Jianchun Zhou
Hi, folks: I am new to U-Boot, and now learning the code of it. I have configured u-boot for smdk2410 board, and I really got a binary file named u-boot. And I disassembled it, I got this fragment of code(generated from source code file start.S): .. 33f80050 : 33f80050:e10f

Re: [U-Boot] [PATCH 0/2] ARMV7: Add support for the Versatile Express Quad Cortex A9 platform

2010-07-27 Thread Paulraj, Sandeep
> Subject: [U-Boot] [PATCH 0/2] ARMV7: Add support for the Versatile Express > Quad Cortex A9 platform > Please send patches using git-send-email instead of attachments ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/

[U-Boot] [PATCH 2/2] ARMV7: Fix baudrate change capabilities

2010-07-27 Thread Matt Waddel
The pl01x serial driver was lacking the code to switch baudrates from the command line. Fixed by simply saving the new baudrate and calling serial_init() again. Signed-off-by: Matt Waddel diff --git a/drivers/serial/serial_pl01x.c b/drivers/serial/serial_pl01x.c index c645cef..5cd5b9c 100644 --

[U-Boot] [PATCH 0/2] ARMV7: Add support for the Versatile Express Quad Cortex A9 platform

2010-07-27 Thread Matt Waddel
Adds support for the ARM quad-core Cortex-A9 processor. This system includes a motherboard(Versatile Express), daughterboard(Coretile), and an SOC(Cortex-A9 quad core). The serial port, ethernet, and flash systems work with these additions. Fixes a bug in the "set baudrate xxx" functionality. Mat

[U-Boot] [PATCH 1/2] ARMV7: Versatile Express Coretile quad-core Cortex-A9 support

2010-07-27 Thread Matt Waddel
Adds support for the ARM quad-core Cortex-A9 processor. This system includes a motherboard(Versatile Express), daughterboard(Coretile), and SOC(Cortex-A9 quad core). The serial port, ethernet, and flash systems work with these additions. The naming convention is: SOC -> CortexA9 quad core = ca9

[U-Boot] [PATCH 1/3] miiphy: constify device name

2010-07-27 Thread Mike Frysinger
The driver name does not need to be writable, so constify it. Signed-off-by: Mike Frysinger --- arch/arm/cpu/arm920t/at91rm9200/ether.c |4 +- arch/arm/cpu/ixp/npe/include/npe.h |4 +- arch/arm/cpu/ixp/npe/miiphy.c |4 +- arch/m68k/include/asm/fec.h |4

[U-Boot] [PATCH 3/3] miiphy: leverage current_mii cache more

2010-07-27 Thread Mike Frysinger
For code that uses miiphy_{read,write}, every call invokes a full look up of the mii list. There is already a "current_mii" cache that is used by some code, but have the miiphy_{read,write} function use it as well. This does increase the code size slightly, but I think it's worth it. Signed-off-

[U-Boot] [PATCH 2/3] miiphy: unify device list lookup

2010-07-27 Thread Mike Frysinger
Rather than have every func re-implement the list walking code, do it one local function. This shrinks the resulting object code a little while making the source much more manageable. Signed-off-by: Mike Frysinger --- common/miiphyutil.c | 100 --

[U-Boot] omap3 dram_init not calling get_sdr_cs_size() for second bank

2010-07-27 Thread Michael Grundy
Hi - Our board's mtype is DDR_DISCRETE, the current dram_init will only call get_sdr_cs_size for DDR_COMBO and DDR_STACKED. An older version had the CS0 and CS1 calls consecutively. I'm not sure if something else should be checked prior to the get_sdr_cs_size(CS1) or put the call somewhere after m

[U-Boot] Using YAFFS in u-boot

2010-07-27 Thread Peter Barada
Does anyone have a "cheat sheet" for how to use yaffs2 in u-boot? There's not much documentation and google isn't turning up anything useful (i.e. u-boot command example(s)). I'm trying to use a portion of the NAND in my OMAP3 system for YAFFS (and have it interoperate with Linux). Thanks in adva

[U-Boot] problems building uboot 2010.03 for the P2020DS board

2010-07-27 Thread Rajat Jain
Hi, I just downloaded the lastest 2010.03 uboot and ran into linker issues while I was trying to build for the Freecale P2020DS board. The complete log is quite big and the list restricts on message size, however the bottom line / error is: [ra...@alt-linux u-boot-2010.03]$ [ra...@alt-linux u-boo

Re: [U-Boot] Usage of bi_env ?

2010-07-27 Thread Dirk Behme
On 15.07.2010 23:21, Wolfgang Denk wrote: > Dear Dirk Behme, > > In message<4c349814.2000...@googlemail.com> you wrote: >> With U-Boot 2010.03 on an ARM board, the output of 'bdinfo' command gives: >> >> ... >> env_t = 0x >> ... >> >> The code in common/cmd_bdinfo.c for this is >> >> bd_t

[U-Boot] [RFC PATCH] Remove unused variable bi_env

2010-07-27 Thread Dirk Behme
Variable bi_env is unsued. Remove it. Signed-off-by: Dirk Behme --- Note: This patch is RFC because it is compile tested on ARM, only. Anybody able to test it for AVR, i386 and MIPS? Index: u-boot.git/common/cmd_bdinfo.c =

Re: [U-Boot] [PATCH] Adds driver for Xilinx' xps_spi SPI controller

2010-07-27 Thread Graeme Smecher
Hi all, I neglected to point out that this driver has been tested with Thomas Chou's mmc_spi patches, and appears to work with SPI flash (Winbond w25q64) as well. A quick diff shows this driver is nearly identical to the altera_spi driver. The only differences are: * the CS register is

[U-Boot] [PATCH] Adds driver for Xilinx' xps_spi SPI controller

2010-07-27 Thread Graeme Smecher
--- drivers/spi/Makefile |1 + drivers/spi/xilinx_spi.c | 171 ++ 2 files changed, 172 insertions(+), 0 deletions(-) create mode 100644 drivers/spi/xilinx_spi.c diff --git a/drivers/spi/Makefile b/drivers/spi/Makefile index dfcbb8b..34e0f31 10

[U-Boot] Adds driver for Xilinx' xps_spi SPI controller

2010-07-27 Thread Graeme Smecher
Adds a driver for Xilinx' xps_spi controller. This code differs in only trivial ways from the altera_spi driver. It plays nice with Thomas Chou's mmc_spi driver, as well as with SPI flash. Documentation for the SPI core is available here: http://www.xilinx.com/support/documentation/ip_documen

Re: [U-Boot] uboot auto restart on dm355,why?

2010-07-27 Thread yaojin liu
Now i found that it is the problem of TSTC(). How did it happen? 2010/7/27 yaojin liu > hi ,all. > I cannot use the nand flash, so i decide to load the uboot through UART,and > it works. > but it seems not stable , when i type help or printenv(or use the autoboot > delay, see followings), it wil

[U-Boot] uboot auto restart on dm355,why?

2010-07-27 Thread yaojin liu
hi ,all. I cannot use the nand flash, so i decide to load the uboot through UART,and it works. but it seems not stable , when i type help or printenv(or use the autoboot delay, see followings), it will restart. but command "boot" or "setenv"(when i uncomment autoboot delay) are ok. I don't have a

Re: [U-Boot] drivers/net/enc28j60.c - generalisation, how?

2010-07-27 Thread Martin Krause
Reinhard Meyer (-VC) wrote on Tuesday, July 27, 2010 9:29 AM: > Martin Krause schrieb: >> Hi all, >>> Some time ago I modified the current encc28j60 driver to use the >> generic SPI api and to work with CONFIG_NET_MULTI. It was for a >> project not part of mainline U-Boot (and a bit of a hack), so

[U-Boot] [PATCH-V4] at91: Update meesc board to new SoC access

2010-07-27 Thread Daniel Gorsulowski
* convert meesc board to use c stucture SoC access * change gpio access to at91_gpio syntax * moved CONFIG_SYS_HZ below board and cpu defines (purely cosmetic) Signed-off-by: Daniel Gorsulowski --- v2: fixed copyright changing error according to Wolfgangs hint v3: removed some whitespace

Re: [U-Boot] drivers/net/enc28j60.c - generalisation, how?

2010-07-27 Thread Martin Krause
Hi all, u-boot-boun...@lists.denx.de wrote on Monday, July 26, 2010 4:51 PM: > On Sunday, July 25, 2010, Reinhard Meyer > wrote: >> Mike Frysinger wrote: >> >> On Sunday, July 25, 2010 20:07:31 Reinhard Meyer wrote: >> >> >> I can rename the current driver to like "enc28j60_lpc2292.c" and >> m

Re: [U-Boot] drivers/net/enc28j60.c - generalisation, how?

2010-07-27 Thread Reinhard Meyer (-VC)
Martin Krause schrieb: > Hi all, >> Some time ago I modified the current encc28j60 driver to use the > generic SPI api and to work with CONFIG_NET_MULTI. It was for a > project not part of mainline U-Boot (and a bit of a hack), so I > didn't post the patches on the mailing list. > > Reinhard, if y