Re: [U-Boot] [PATCH v2 6/8] arm/km: rename mgcoge2un to mgcoge3un

2011-05-05 Thread Valentin Longchamp
Dear Wolfgang Denk, Wolfgang Denk wrote: Dear Valentin Longchamp, In message 4dc10fec.1050...@keymile.com you wrote: The current differences between our kirkwood boards are not many, but since we have new boards coming where the difference number is going to grow, it is going to be hard

Re: [U-Boot] [PATCH v2 3/8] arm/km: add BootROM config file for memphis SDRAM

2011-05-05 Thread Valentin Longchamp
Wolfgang Denk wrote: Dear Valentin Longchamp, In message 4dc1092e.4080...@keymile.com you wrote: You are just adding file here, whereas it is not being used. Is it like dead code to me. Yes, it is not used with the u-boot build system, we have a small script that wraps around it. As

Re: [U-Boot] boot-up time optimization. Where to start?

2011-05-05 Thread Alexander Stein
Dear Wolfgang, Am Donnerstag, 5. Mai 2011, 07:32:20 schrieb Wolfgang Denk: In message 201105030848.17576.alexander.st...@systec-electronic.com you wrote: This specific version was selected due to relocation problems on ARM. But I expect the dcache doesn't have that big influence on the

Re: [U-Boot] [PATCH] ppc, mgcoge: add DIP switch detection

2011-05-05 Thread Holger Brunck
Hi, On 05/04/2011 10:01 PM, Wolfgang Denk wrote: Dear Holger Brunck, In message 1295951175-3635-1-git-send-email-holger.bru...@keymile.com you wrote: From: Andreas Huber andreas.hu...@keymile.com This reads the DIP switch on mgcoge. The DIP switch is connected to the BFTICU (0x4089)

Re: [U-Boot] boot-up time optimization. Where to start?

2011-05-05 Thread Wolfgang Denk
Dear Alexander Stein, In message 201105050906.35834.alexander.st...@systec-electronic.com you wrote: Are you also still using the old environment code in your port, or is the new, hash table based one? When using the old code, there are additional penalties for using a needlessly big

Re: [U-Boot] [PATCH] ppc, mgcoge: add DIP switch detection

2011-05-05 Thread Wolfgang Denk
Dear Holger Brunck, In message 4dc24dea.7010...@keymile.com you wrote: This patch breaks compiling of the mgcoge2ne board: ... In the already posted patch serie http://lists.denx.de/pipermail/u-boot/2011-May/091976.html the problem is fixed, should I repost the patch powerpc/km82xx:

Re: [U-Boot] [PATCH] ppc, mgcoge: add DIP switch detection

2011-05-05 Thread Holger Brunck
Hi, On 05/05/2011 09:29 AM, Wolfgang Denk wrote: Dear Holger Brunck, In message 4dc24dea.7010...@keymile.com you wrote: This patch breaks compiling of the mgcoge2ne board: ... In the already posted patch serie http://lists.denx.de/pipermail/u-boot/2011-May/091976.html the problem is

Re: [U-Boot] [PATCH 2/8] net/net.c: cosmetic: variable initializations

2011-05-05 Thread Mike Frysinger
On Wed, May 4, 2011 at 12:42, Luca Ceresoli wrote: Mike Frysinger wrote: On Wed, May 4, 2011 at 08:40, Luca Ceresoli wrote:  - ERROR: that open brace { should be on the previous line ... -uchar          NetCDPAddr[6] = -                       { 0x01, 0x00, 0x0c, 0xcc, 0xcc, 0xcc }; +uchar  

Re: [U-Boot] [PATCH] nand_spl: nand_boot.c: Remove CONFIG_SYS_NAND_READ_DELAY

2011-05-05 Thread Sughosh Ganu
hi Stefan, On Wed May 04, 2011 at 11:44:14AM +0200, Stefan Roese wrote: There are multiple reasons why this define should be removed: First it saves some space and therefore fixes a problem we have on the canyonlands_nand and glacier_nand targets right now. Second, the define was hackish

Re: [U-Boot] [PATCH v2] PPC405EX CHIP_21 erratum

2011-05-05 Thread Eibach, Dirk
v2: Correct checkpatch errors/warnings re: whitespace, comment style, etc. Move PVR logic out of board config file. Simplify ifdef structure. Signed-off-by: Steve Falco sfa...@harris.com Works for me, thanks! Tested on custom board using #define CONFIG_SYS_4xx_CHIP_21_405EX_SECURITY.

Re: [U-Boot] [PATCH] powerpc/85xx: Add basic support for P1010RDB

2011-05-05 Thread Kumar Gala
On May 4, 2011, at 1:02 PM, Scott Wood wrote: On Wed, 4 May 2011 12:34:20 -0500 Kumar Gala ga...@kernel.crashing.org wrote: On May 4, 2011, at 12:31 PM, Haiying Wang wrote: On Wed, 2011-05-04 at 22:53 +0530, Poonam Aggrwal wrote: +sinclude $(obj).depend +

Re: [U-Boot] [PATCH v2] PPC405EX CHIP_21 erratum

2011-05-05 Thread Stefan Roese
Hi Steve, On Wednesday 04 May 2011 16:53:50 Steven A. Falco wrote: v2: Correct checkpatch errors/warnings re: whitespace, comment style, etc. Move PVR logic out of board config file. Simplify ifdef structure. Those comments above below below the --- line of the patch. This way they will not

Re: [U-Boot] Memory size detection on P1011

2011-05-05 Thread York Sun
Felix, On Thu, 2011-05-05 at 16:17 +0300, Felix Radensky wrote: Hi, I'm working on a custom board based on P1011. There are 2 board flavours, with either 128MB or 256MB of soldered DDR2 SDRAM. Having u-boot image per board works fine, but I'd like to have a single image and use

Re: [U-Boot] [PATCH v2 4/8] km/common: implement boardId HWkey checks as u-boot cmd

2011-05-05 Thread Holger Brunck
Hi, On 05/05/2011 12:11 AM, Wolfgang Denk wrote: Dear Holger Brunck, In message 02d1e3f265123ff0296b1c38b227f6d30393ee77.1304508448.git.holger.bru...@keymile.com you wrote: From: Thomas Herzmann thomas.herzm...@keymile.com BoardId and HWKey are used to identify the HW class of a given

Re: [U-Boot] Memory size detection on P1011

2011-05-05 Thread Felix Radensky
Hi York, On 05/05/2011 04:29 PM, York Sun wrote: Felix, On Thu, 2011-05-05 at 16:17 +0300, Felix Radensky wrote: Hi, I'm working on a custom board based on P1011. There are 2 board flavours, with either 128MB or 256MB of soldered DDR2 SDRAM. Having u-boot image per board works fine, but

[U-Boot] [PATCH v3] PPC405EX CHIP_21 erratum

2011-05-05 Thread Steven A. Falco
APM errata CHIP_21 for the 405EX/EXr (from the rev 1.09 document dated 4/27/11) states that rev D processors may wake up with the wrong feature set. This patch implements the APM-proposed workaround. To enable this patch for your board, add the appropriate define for your CPU to your board

Re: [U-Boot] [PATCH] powerpc/mpc8xxx: reword max tCKmin message

2011-05-05 Thread Kumar Gala
On May 2, 2011, at 10:40 PM, York Sun wrote: On Mon, 2011-05-02 at 20:19 -0700, Tabi Timur-B04825 wrote: On Mon, May 2, 2011 at 8:51 PM, York Sun york...@freescale.com wrote: - printf(The DIMM max tCKmin is %d ps, + printf(The combined minimum tCKmin is %d ps,

[U-Boot] Memory size detection on P1011

2011-05-05 Thread Felix Radensky
Hi, I'm working on a custom board based on P1011. There are 2 board flavours, with either 128MB or 256MB of soldered DDR2 SDRAM. Having u-boot image per board works fine, but I'd like to have a single image and use get_ram_size() to detect memory size at runtime. So far I had no luck. The only

[U-Boot] [PATCH v6 4/5] Put common autoload code into auto_load() function

2011-05-05 Thread Simon Glass
This is a small clean-up patch. TEST=Build U-Boot, try bootp and check it auto-loads. Signed-off-by: Simon Glass s...@chromium.org --- net/bootp.c | 76 +- 1 files changed, 33 insertions(+), 43 deletions(-) diff --git a/net/bootp.c

[U-Boot] [PATCH v6 3/5] Add documentation for USB Host Networking

2011-05-05 Thread Simon Glass
This describes what it is for, devices supported, how to enable for your board in U-Boot, setting up the server, and notes about MAC addresses. Signed-off-by: Simon Glass s...@chromium.org --- doc/README.usb | 157 +++- 1 files changed, 156

[U-Boot] [PATCH v6 2/5] Add Ethernet hardware MAC address framework to usbnet

2011-05-05 Thread Simon Glass
Built-in Ethernet adapters support setting the mac address by means of a ethaddr environment variable for each interface (ethaddr, eth1addr, eth2addr). This adds similar support to the USB network side, using the names usbethaddr, usbeth1addr, etc. They are kept separate since we don't want a USB

[U-Boot] [PATCH v6 1/5] Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter

2011-05-05 Thread Simon Glass
The SMSC95XX is a USB hub with a built-in Ethernet adapter. This adds support for this, using the USB host network framework. TEST=usb start; bootp; tftp ... Changes for v2: - Coding style cleanup - Changed some comments as suggested - eth_set_hwaddr - eth_write_hwaddr - tided up other

[U-Boot] [PATCH v6 5/5] usbeth: asix: Do a fast init if link already established

2011-05-05 Thread Simon Glass
The Asix driver takes the link down during init() and then brings it back up. This commit changes this so that if a link has already been established successfully we simply check that the link is still good. This reduces the delay between successive network commands. TEST=bootp; tftp ... - see

Re: [U-Boot] [PATCH] ppc, mgcoge: add DIP switch detection

2011-05-05 Thread Wolfgang Denk
Dear Holger Brunck, In message 4dc253a5.6010...@keymile.com you wrote: As the merge window is closed, this new patch series will not go into this upcoming release any more. Sorry but why this? The initial patch serie was postet on april 8th:

Re: [U-Boot] [PATCH] powerpc/85xx: Add basic support for P1010RDB

2011-05-05 Thread Wolfgang Denk
Dear Kumar Gala, In message 2cf0740e-8067-456c-b3aa-1d8ce3a76...@kernel.crashing.org you wrote: This loop is similar to what nand_spl/nand_boot.c is using. It's ugly, but the goal here is small code rather than cleanliness. Is the timebase running at this point? How much code is

Re: [U-Boot] Memory size detection on P1011

2011-05-05 Thread Wolfgang Denk
Dear York Sun, In message 1304602168.21927.16.camel@oslab-l1 you wrote: I don't think get_ram_size works for your case. If you want to test the You are wrong. We have been doing this for a long time on many boards with similar properties. DDR to find the correct size, you have to initialize

Re: [U-Boot] [PATCH v2 4/8] km/common: implement boardId HWkey checks as u-boot cmd

2011-05-05 Thread Wolfgang Denk
Dear Holger Brunck, In message 4dc2ab4a@keymile.com you wrote: This patch has checkpatch warnings. Please fix. Ok the one warning that we exceed 80 characters per line is fixed, sorry for that. But there are two warnings remaining: WARNING: consider using strict_strtoul in

[U-Boot] Western Union Promo....

2011-05-05 Thread Western Union Promo
You have $35,000USD in cash credit by the International Monetary Funds(IMF) via western union. Confirm this receipt by replying or contact ( wubonaza...@w.cn ) the due process unit officer. Details required: Full Name,Address,Tel,Occupation ___ U-Boot

Re: [U-Boot] Memory size detection on P1011

2011-05-05 Thread Felix Radensky
Hi Wolfgang, On 05/05/2011 09:24 PM, Wolfgang Denk wrote: Dear York Sun, In message1304602168.21927.16.camel@oslab-l1 you wrote: I don't think get_ram_size works for your case. If you want to test the You are wrong. We have been doing this for a long time on many boards with similar

Re: [U-Boot] [PATCH v6 4/5] Put common autoload code into auto_load() function

2011-05-05 Thread Mike Frysinger
On Thu, May 5, 2011 at 12:52, Simon Glass wrote: +static void auto_load(void) +{ +       char *s = getenv(autoload); const char *s +       if (s != NULL) { +               if (*s == 'n') { +                       /* +                        * Just use BOOTP to configure system; +        

[U-Boot] [PATCH v2 0/7] Tegra2: USB Host Support patch series

2011-05-05 Thread Simon Glass
This patch series adds USB host support to Tegra2. It has been tested on Seaboard. Since the Tegra2 includes a vast number of registers it is critical that we make it as easy and error-free as possible to write code which accesses those registers. So a simple bitfield access mechanism is provided

[U-Boot] [PATCH v2 6/7] Tegra2: Add USB support

2011-05-05 Thread Simon Glass
This adds basic USB support for port 0. The other port is not supported by this CL. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/include/asm/arch-tegra2/tegra2.h |2 + arch/arm/include/asm/arch-tegra2/usb.h| 217 board/nvidia/common/Makefile

[U-Boot] [PATCH v2 3/7] Tegra2: Add more clock support

2011-05-05 Thread Simon Glass
This adds functions to enable/disable clocks and reset to on-chip peripherals. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/cpu/armv7/tegra2/Makefile |2 +- arch/arm/cpu/armv7/tegra2/ap20.c | 57 ++ arch/arm/cpu/armv7/tegra2/clock.c | 163

[U-Boot] [PATCH v2 7/7] Tegra2: config: enable network booting

2011-05-05 Thread Simon Glass
This enables networking booting using a USB dongle plugged into the side seaboard port. Signed-off-by: Simon Glass s...@chromium.org --- include/configs/seaboard.h |5 +++ include/configs/tegra2-common.h | 66 +-- 2 files changed, 68 insertions(+),

[U-Boot] [PATCH v2 2/7] Tegra2: Add microsecond timer functions

2011-05-05 Thread Simon Glass
These functions provide access to the high resolution microsecond timer and tidy up a global variable in the code. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/cpu/armv7/tegra2/timer.c| 27 +-- arch/arm/include/asm/arch-tegra2/timer.h | 34

[U-Boot] [PATCH v2 1/7] Tegra2: Add bitfield access macros

2011-05-05 Thread Simon Glass
To use these, set things up like this: struct uart_ctlr *uart = (struct uart_ctlr *)UART_PA_START; #define UART_PA_START 0x6700 /* Physical address of UART */ #define UART_FBCON_RANGE 5:3 /* Bit range for the FBCON field */ enum { /* An enum

[U-Boot] [PATCH v2 4/7] Tegra2: add additional pin multiplexing features

2011-05-05 Thread Simon Glass
This adds an enum for each pin and some functions for changing the pin muxing setup. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/cpu/armv7/tegra2/Makefile|2 +- arch/arm/cpu/armv7/tegra2/pinmux.c| 54 ++ arch/arm/include/asm/arch-tegra2/pinmux.h | 156

[U-Boot] [PATCH v2 5/7] Tegra2: Use clock and pinmux functions to simplify code

2011-05-05 Thread Simon Glass
Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/cpu/armv7/tegra2/ap20.c | 47 +--- arch/arm/include/asm/arch-tegra2/clk_rst.h | 39 ++- board/nvidia/common/board.c| 13 --- 3 files changed, 25 insertions(+),

Re: [U-Boot] [PATCH v6 4/5] Put common autoload code into auto_load() function

2011-05-05 Thread Simon Glass
On Thu, May 5, 2011 at 12:29 PM, Mike Frysinger vap...@gentoo.org wrote: On Thu, May 5, 2011 at 12:52, Simon Glass wrote: +static void auto_load(void) +{ + char *s = getenv(autoload); const char *s + if (s != NULL) { + if (*s == 'n') { +

Re: [U-Boot] Memory size detection on P1011

2011-05-05 Thread Wolfgang Denk
Dear Felix Radensky, In message 4dc2f72f.2050...@embedded-sol.com you wrote: The closest example of using get_ram_size() I've found is for MPC8548 TQM boards. But all these boards have 4-bank memory devices, so I'm sure my case was tested. Don't you think there can be a problem with

Re: [U-Boot] [PATCH v6 4/5] Put common autoload code into auto_load() function

2011-05-05 Thread Wolfgang Denk
Dear Mike Frysinger, In message banlktinaphyey48wskj4pezy6sxwdcr...@mail.gmail.com you wrote: On Thu, May 5, 2011 at 12:52, Simon Glass wrote: +static void auto_load(void) +{ + char *s = getenv(autoload); const char *s Agreed. + if (s != NULL) { + if (*s

[U-Boot] Please help debugging continuous loop

2011-05-05 Thread Rogan Dawes
Hi folks, I was fortunate enough to resuscitate my DNS323 (Feroceon board) after flashing a dodgy image to it. Now I am trying to get it working in RAM first, before writing it to flash. I have configured CONFIG_SYS_TEXT_BASE to be 0x300, I then use OpenOCD to load the u-boot.bin file to

Re: [U-Boot] [PATCH v6 4/5] Put common autoload code into auto_load() function

2011-05-05 Thread Simon Glass
On Thu, May 5, 2011 at 12:48 PM, Wolfgang Denk w...@denx.de wrote: Dear Mike Frysinger, put the TftpStart into a new else, then there's no need for the inline return ... I disagree here. As is, we save one level of nesting, which is always a good thing. On contrary, the else in the

Re: [U-Boot] boot-up time optimization. Where to start?

2011-05-05 Thread Simon Glass
On Thu, May 5, 2011 at 11:10 AM, Charles Manning mannin...@actrix.gen.nzwrote: On Thursday 05 May 2011 17:32:20 Wolfgang Denk wrote: Dear Alexander Stein, In message 201105030848.17576.alexander.st...@systec-electronic.com you wrote: This specific version was selected due to

[U-Boot] building uncompressed image

2011-05-05 Thread Charles Krinke
I am a bit confused with mkimage. I am trying to build and boot an uncompressed image for a ppc8323. I can run mkimage with a -C none option and get a 3.6Mbyte kernel (compressed it is about 1.6MBytes), but when I boot it with bootm, I hang after loading the device tree near 0x03ff. It

[U-Boot] RFC: auto-generate ARM mach-types.h file from ARM machine database

2011-05-05 Thread Michael Schwingen
Hi, to conclude the discussion in the thread Re: [U-Boot] Update and Cut down mach types, I tried a short patch that demonstrates how to automatically generate the mach-types.h file from a database dump (from http://www.arm.linux.org.uk/developer/machines/?action=new). This has multiple

Re: [U-Boot] [PATCH] powerpc/mpc8xxx: reword max tCKmin message

2011-05-05 Thread York Sun
On Thu, 2011-05-05 at 10:04 -0500, Timur Tabi wrote: Kumar Gala wrote: That still needs some work, IMHO. I think you might need the word which before doesn't. However, even with that, it's not clear what's wrong. Where does the bad value of mclk_ps come from? It happens

[U-Boot] [Patch v2] powerpc/mpc8xxx: reword max tCKmin message

2011-05-05 Thread York Sun
Reword The DIMM max tCKmin is ... to The DDR clock is faster than the slowest DIMM(s) can support. Fixed interger type in printf as well. Signed-off-by: York Sun york...@freescale.com --- .../cpu/mpc8xxx/ddr/lc_common_dimm_params.c|6 +++--- 1 files changed, 3 insertions(+), 3

[U-Boot] T4,T5,T8 tube factory from china

2011-05-05 Thread Peter Tong
Dear Purchase manager, This is Peter from Top East China Industry Limited. We are pleased to get to konw that you are presently on the market for Saving energy lamp. Now we have new Saving energy lamp.Such as 2U,3U,4U , T4,T5,T8 tube and so on. If you interested,please load our website:

Re: [U-Boot] RFC: auto-generate ARM mach-types.h file from ARM machine database

2011-05-05 Thread Mike Frysinger
On Thu, May 5, 2011 at 17:48, Michael Schwingen wrote: --- a/Makefile +++ b/Makefile @@ -469,7 +469,7 @@ $(obj)System.map:   $(obj)u-boot  # This target actually generates 2 files; autoconf.mk and autoconf.mk.dep.  # the dep file is only include in this top level makefile to determine when  

[U-Boot] [PATCH 1/1] Fix hang when entering udelay after GPTIMER2 overflows (about 22 minutes on AM37x)

2011-05-05 Thread rick
From: Rick Bronson r...@efn.org Signed-off-by: Rick Bronson r...@efn.org --- arch/arm/cpu/armv7/omap-common/timer.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/cpu/armv7/omap-common/timer.c b/arch/arm/cpu/armv7/omap-common/timer.c index 9beebb1..3c9d488