Re: [U-Boot] how can i change u-boot load address?

2008-10-07 Thread Wolfgang Denk
Dear Roman, In message [EMAIL PROTECTED] you wrote: Can the value of TEXT_BASE be arbitrary chosen for test purposes? No, it cannot. You have to define a memory map for your system, which will result in certain restrictions for the choice of TEXT_BASE. In general, you have to understand what

Re: [U-Boot] [PATCH 1/3 v2] ppc4xx: Add AMCC Arches boardsupport(dual 460GT)

2008-10-07 Thread Wolfgang Denk
Dear Victor Gallardo, In message [EMAIL PROTECTED] you wrote: I reviewed this again. It cannot be part of default config. We need to do it at PREBOOT because eth_register() updates this variable each time at boot. It assigns ethact to the first ethernet port it discovers. In Arches, we need

Re: [U-Boot] how can i change u-boot load address?

2008-10-07 Thread Hebbar
Hi Wolfgang Denk, wd wrote: I'm trying to understand how it's done on ARM -- On ARM it's being done wrong - no real relocation is preformed; instead, U-Boot is liked to a fixed address in RAM. The startup code (mostly assembler) can run from ROM (too). If you can tell me

Re: [U-Boot] Antwort: Re: Antwort: Re: PATCH: IXP465 support and some IXP4xx rework, Sidewinder board support

2008-10-07 Thread michael
Hi, Here are my patches. Maybe you want to test them. I didn't use or update the ixdp465 but you can use the sidewinder_config as starting point. Order is: ixp425_rework.patch ixp465.patch I see only the ixp465.patch. Some comments: - remove c++ comment - i prefer sdram controller

[U-Boot] [PATCH 2/4] ppc4xx: Fix DU440 GPIO configuration

2008-10-07 Thread matthias . fuchs
From: Matthias Fuchs [EMAIL PROTECTED] Signed-off-by: Matthias Fuchs [EMAIL PROTECTED] --- board/esd/du440/du440.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/board/esd/du440/du440.c b/board/esd/du440/du440.c index 8765cc1..5cff9f5 100644 ---

[U-Boot] Antwort: Re: PATCH: IXP465 support and some IXP4xx rework, Sidewinder board support

2008-10-07 Thread h . sattler
michael [EMAIL PROTECTED] schrieb am 07.10.2008 12:14:48: Hi, [EMAIL PROTECTED] wrote: Hi, on the matter of getting u-boot work with the ADI Sidewinder Reference Platform, I found the previously posted patches and used them as starting point for my own patch set. The

Re: [U-Boot] how can i change u-boot load address?

2008-10-07 Thread Wolfgang Denk
Dear Roman, In message [EMAIL PROTECTED] you wrote: On ARM it's being done wrong - no real relocation is preformed; What do you mean by real relocation? As per start.S bootcode is copied from ROM to RAM. Copied to a fixed address where it is actiually already linked for. See my

Re: [U-Boot] PATCH: IXP465 support and some IXP4xx rework, Sidewinder board support

2008-10-07 Thread michael
Hi, [EMAIL PROTECTED] wrote: Hi, on the matter of getting u-boot work with the ADI Sidewinder Reference Platform, I found the previously posted patches and used them as starting point for my own patch set. The Sidewinder board works with this patch, including ECC (optional). There is a

Re: [U-Boot] how can i change u-boot load address?

2008-10-07 Thread Gururaja Hebbar K R
Hi, -Original Message- From: Wolfgang Denk [mailto:[EMAIL PROTECTED] Subject: Re: [U-Boot] how can i change u-boot load address? U wouldnt see mapping the vector on (most) ARM Platforms because they use u-boot as secondary bootloader I don't have reliable statistical

Re: [U-Boot] [PATCH 07/12 v2] ARM: OMAP3: Add memory and syslib common files, add NAND support

2008-10-07 Thread Nishanth Menon
Dirk Behme said the following on 10/07/2008 04:42 AM: Scott Wood wrote: On Fri, Oct 03, 2008 at 12:40:25PM +0200, [EMAIL PROTECTED] wrote: +#include common.h +#include asm/io.h +#include asm/arch/mem.h +#include linux/mtd/nand_ecc.h + +#if defined(CONFIG_CMD_NAND) + +#include nand.h

[U-Boot] Antwort: Re: Antwort: Re: Antwort: Re: PATCH: IXP465 support and some IXP4xx rework, Sidewinder board support

2008-10-07 Thread h . sattler
michael [EMAIL PROTECTED] schrieb am 07.10.2008 14:16:15: Here are my patches. Maybe you want to test them. I didn't use or update the ixdp465 but you can use the sidewinder_config as starting point. Order is: ixp425_rework.patch ixp465.patch I see only the ixp465.patch. ??? The

Re: [U-Boot] [PATCH 07/12 v2] ARM: OMAP3: Add memory and syslib common files, add NAND support

2008-10-07 Thread Dirk Behme
Unfortunately, except Nishanth's comments, I didn't get any further help (e.g. from TI) for this yet. So I started to look at this myself. Please forgive everything I missed as I'm no NAND expert. Maybe you like to explain some additional details regarding what I missed ;) First version of

Re: [U-Boot] Run hello world with Uboot !

2008-10-07 Thread Andrejs Cainikovs
http://www.denx.de/wiki/DULG/UBootStandalone Kind regards, Andrejs Cainikovs thaoth wrote: Hi, I'm working on SH7727 T-Engine Board (MS7727CP02)(sh3) and I'm trying to load Hello World example in U-boot (use Serial, ymodem and hello_world.bin), ... = loady 0x8e00 ## Ready for binary

[U-Boot] PATCH: IXP465 support and some IXP4xx rework, Sidewinder board support

2008-10-07 Thread h . sattler
Hi, on the matter of getting u-boot work with the ADI Sidewinder Reference Platform, I found the previously posted patches and used them as starting point for my own patch set. The Sidewinder board works with this patch, including ECC (optional). There is a minimum set of ifdefs in

Re: [U-Boot] how can i change u-boot load address?

2008-10-07 Thread Wolfgang Denk
Dear Gururaja Hebbar K R, In message [EMAIL PROTECTED] you wrote: U wouldnt see mapping the vector on (most) ARM Platforms because they use u-boot as secondary bootloader I don't have reliable statistical data to judge if the most is correct, or if it actually is only a few configurations

Re: [U-Boot] Run hello world with Uboot !

2008-10-07 Thread Wolfgang Denk
Dear Mathieu, In message [EMAIL PROTECTED] you wrote: I've also tried to go 0x8004 with the same result. Tried? You mean you do not know the exact entry point address? Did you read the FAQ??? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev

Re: [U-Boot] [PATCH] Olimex SAM9-L9260 board support

2008-10-07 Thread Cristian Birsan
Dear Wolfgang Denk, Regarding the following: +#define ROUND(A, B)(((A) + (B)) ~((B) - 1)) +/* + * Size of malloc() pool + */ +#define CFG_MALLOC_LEN ROUND(3 * CONFIG_ENV_SIZE + 128*1024, 0x1000) I tried to include the common.h file in my configuration file but this breaks

Re: [U-Boot] [PATCH 07/12 v2] ARM: OMAP3: Add memory and syslib common files, add NAND support

2008-10-07 Thread Scott Wood
On Tue, Oct 07, 2008 at 11:42:38AM +0200, Dirk Behme wrote: Is it OK if config gets written before control, or if this whole thing gets done out of order with respect to other raw writes? Hmm. I replaced this with the version from Nishanth's U-Boot v2 (see link above). If this isn't ok, can

Re: [U-Boot] [PATCH 07/12 v2] ARM: OMAP3: Add memory and syslib common files, add NAND support

2008-10-07 Thread Scott Wood
On Tue, Oct 07, 2008 at 06:25:11AM -0500, Nishanth Menon wrote: Dirk Behme said the following on 10/07/2008 04:42 AM: It doesn't differ ;) So I removed this and tried to use default nand_read_buf16() instead: nand-read_buf = nand_read_buf16; in board_nand_init(). But this doesn't

Re: [U-Boot] [PATCH 07/12 v2] ARM: OMAP3: Add memory and syslib common files, add NAND support

2008-10-07 Thread Scott Wood
Menon, Nishanth wrote: I do not get it either.. ECCPOS is in offset bytes, and oobfree should be {.offset=20,.length=44} /*I always hated struct initialization done as above..*/, but then, Why not offset 14, length 50? How about this part being used by ubi/jffs2 or some fs.. I cant think

Re: [U-Boot] [PATCH 07/12 v2] ARM: OMAP3: Add memory and syslib common files, add NAND support

2008-10-07 Thread Dirk Behme
Scott Wood wrote: On Tue, Oct 07, 2008 at 11:42:38AM +0200, Dirk Behme wrote: Is it OK if config gets written before control, or if this whole thing gets done out of order with respect to other raw writes? Hmm. I replaced this with the version from Nishanth's U-Boot v2 (see link above). If

Re: [U-Boot] [PATCH 07/12 v2] ARM: OMAP3: Add memory and syslib common files, add NAND support

2008-10-07 Thread Dirk Behme
Scott Wood wrote: On Tue, Oct 07, 2008 at 06:25:11AM -0500, Nishanth Menon wrote: Dirk Behme said the following on 10/07/2008 04:42 AM: It doesn't differ ;) So I removed this and tried to use default nand_read_buf16() instead: nand-read_buf = nand_read_buf16; in board_nand_init(). But this

Re: [U-Boot] [PATCH 07/12 v2] ARM: OMAP3: Add memory and syslib common files, add NAND support

2008-10-07 Thread Menon, Nishanth
-Original Message- From: Scott Wood [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 07, 2008 12:30 PM To: Nishanth Menon Cc: Dirk Behme; u-boot@lists.denx.de; Kamat, Nishant; Menon, Nishanth Subject: Re: [U-Boot] [PATCH 07/12 v2] ARM: OMAP3: Add memory and syslib common files, add

[U-Boot] [PATCH 0/3] iMX31: Add iMX31 support to boots from NAND

2008-10-07 Thread Alan Carvalho de Assis
This serie of patches adds support to iMX31PDK board to boot directly from NAND. Notice these patches don't add support to MTD NAND Flash support to U-Boot (like reading and saving environment parameters in Flash because MTD NAND Flash driver still needs further revision). For people willing to

[U-Boot] [PATCH 1/3] iMX31: Reducing start.S size to let boot from NAND

2008-10-07 Thread Alan Carvalho de Assis
From eeb4a71a3565098ba43aeb83be163731065a039d Mon Sep 17 00:00:00 2001 From: Alan Carvalho de Assis [EMAIL PROTECTED] Date: Sun, 5 Oct 2008 19:57:22 -0300 Subject: [PATCH] iMX31: Reducing start.S size to let boot from NAND iMX31 NAND Flash Controller has a 2KB RAM buffer, but the current start.S

Re: [U-Boot] [PATCH 07/12 v2] ARM: OMAP3: Add memory and syslib common files, add NAND support

2008-10-07 Thread Scott Wood
Dirk Behme wrote: Otherwise, either add something to the MTD API that the nand command can call, or have your own board-specific command defined in the board file. Don't put platform-specific ifdefs in generic files. Do you have any example how to extend MTD API You'd need to add callbacks

[U-Boot] [PATCH 3/3] iMX31: Add support to iMX31PDK board boots from NAND Flash

2008-10-07 Thread Alan Carvalho de Assis
From ae5af322e53d00d021f6d4aa39c6916e1d3e12b7 Mon Sep 17 00:00:00 2001 From: Alan Carvalho de Assis [EMAIL PROTECTED] Date: Sun, 5 Oct 2008 20:00:59 -0300 Subject: [PATCH] iMX31: Add support to iMX31PDK board boots from NAND Flash This patch adds support to iMX31PDK board to boot directly from

Re: [U-Boot] [PATCH 2/3] iMX31: Add support to copy NAND Flash code to RAM

2008-10-07 Thread Scott Wood
Alan Carvalho de Assis wrote: From 473120de8390abd78014cac9fe0925cb49f57fbe Mon Sep 17 00:00:00 2001 From: Alan Carvalho de Assis [EMAIL PROTECTED] Date: Sun, 5 Oct 2008 19:59:47 -0300 Subject: [PATCH] iMX31: Add support to copy NAND Flash code to RAM This code is executed from internal 2KB

[U-Boot] SDRAM controller initialization code

2008-10-07 Thread Muzammil Ahmed
Hi, I'm using Yosemite board (PPC440EP) for my development with U-Boot firmware version 1.3.4. Where in source code, I can find code regarding 'initializaiton of SDRAM controller'? Also, code regarding 'initialization of EBC'? (please be more explanable) Thanks in advance, Muzammal Ahmed

[U-Boot] Help With TFTP

2008-10-07 Thread Quick X
Hello. I seem to be having a small problem with transfering files from my machine to the at91sam9261-ek board via tftp. I'm using the following: --Files Used (Build From newest Buildroot using at91sam9261ek_defconfig)-- Bootstrap: at91sam9261ek-dataflashboot-2.3.4.bin U-Boot:

Re: [U-Boot] [PATCH 1/6] Make DDR interleaving mode work correctly

2008-10-07 Thread Andy Fleming
If Kim and Jon approve, I'll pull these 6 patches into my 85xx-next branch. On Fri, Oct 3, 2008 at 11:36 AM, Haiying Wang [EMAIL PROTECTED] wrote: Fix some bugs: 1. Correctly set intlv_ctl in cs_config. 2. Correctly set sa, ea in cs_bnds when bank interleaving mode is enabled. 3. Set

[U-Boot] Problem with flash on a MPC5200B board

2008-10-07 Thread Sylvain Lamontagne
Hi Everyone I'm pretty new to U-Boot and Embedded system globally, but in the last few weeks I have learn a lot and I'm now trying to port correctly U-Boot v 1.3.4 to a custom board based on a Icecube. I'm able to boot a linux kernel with it when I use the RAM with the bootm command.

Re: [U-Boot] [PATCH] Olimex SAM9-L9260 board support

2008-10-07 Thread Cristian Birsan
Dear all, In the previous patch i removed the code from the section below. +#ifdef CONFIG_RESET_PHY_R +void reset_phy(void) +{ +#ifdef CONFIG_MACB +/* + * Initialize ethernet HW addr prior to starting Linux, + * needed for nfsroot + */ +eth_init(gd-bd);

Re: [U-Boot] U-boot Saveenv question -- final tested solution

2008-10-07 Thread Jerry Van Baren
Suresh Bhaskaran wrote: -Original Message- From: Jerry Van Baren [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2008 10:07 AM To: Suresh Bhaskaran Cc: Andrejs Cainikovs; u-boot@lists.denx.de Subject: Re: [U-Boot] U-boot Saveenv question Suresh Bhaskaran wrote: 1. I

Re: [U-Boot] [PATCH 1/6] Make DDR interleaving mode work correctly

2008-10-07 Thread Jon Loeliger
Andy Fleming wrote: If Kim and Jon approve, I'll pull these 6 patches into my 85xx-next branch. On Fri, Oct 3, 2008 at 11:36 AM, Haiying Wang [EMAIL PROTECTED] wrote: Fix some bugs: 1. Correctly set intlv_ctl in cs_config. 2. Correctly set sa, ea in cs_bnds when bank interleaving mode is

Re: [U-Boot] [PATCH] Olimex SAM9-L9260 board support

2008-10-07 Thread Wolfgang Denk
Dear Cristian Birsan, In message [EMAIL PROTECTED] you wrote: I used again setenv ethaddr 00:04:25:12:34:56 in u-boot. After saveenv and reboot i used md command to display the EMAC 0xFFFC4000 (named MACB in the driver ) registers setenv affects only the U-Boot environment variables. It

[U-Boot] [PATCH 1/3 v4] ppc4xx: Add AMCC Arches board support (dual 460GT)

2008-10-07 Thread Adam Graham
The Arches Evaluation board is based on the AMCC 460GT SoC chip. This board is a dual processor board with each processor providing independent resources for Rapid IO, Gigabit Ethernet, and serial communications. Each 460GT has it's own 512MB DDR2 memory, 32MB NOR FLASH, UART, EEPROM and

[U-Boot] [PATCH 2/3 v4] ppc4xx: Add static support for 44x IBM SDRAM Controller

2008-10-07 Thread Adam Graham
This patch add the capability to configure a PPC440 based IBM SDRAM Controller with static, compiled-in, values. PPC440 memory subsystem includes a Memory Queue core. Signed-off-by: Adam Graham [EMAIL PROTECTED] Signed-off-by: Victor Gallardo [EMAIL PROTECTED] --- v2: - No changes. v3: -

[U-Boot] [PATCH 3/3 v4] ppc4xx: Add routine to retrieve CPU number

2008-10-07 Thread Adam Graham
Provide a weak defined routine to retrieve the CPU number for reference boards that have multiple CPU's. Default behavior is the existing single CPU print output. Reference boards with multiple CPU's need to provide a board specific routine. See board/amcc/arches/arches.c for an example.

Re: [U-Boot] [PATCH] Red Black Tree support

2008-10-07 Thread Kyungmin Park
On Mon, Oct 6, 2008 at 4:26 PM, Wolfgang Denk [EMAIL PROTECTED] wrote: Dear Kyungmin Park, In message [EMAIL PROTECTED] you wrote: RB-tree support on U-Boot Now it's used at UBI module. Of course other modules can use it. ... I understand the code is a verbatim copy from the LInux kernel?

[U-Boot] [PATCH] Red Black Tree support v2

2008-10-07 Thread Kyungmin Park
RB-tree support on U-Boot Now it's used at UBI module. Of course other modules can use it. If you want to use it, please define CONFIG_RBTREE Signed-off-by: Kyungmin Park [EMAIL PROTECTED] --- diff --git a/include/linux/rbtree.h b/include/linux/rbtree.h new file mode 100644 index

Re: [U-Boot] how can i change u-boot load address?

2008-10-07 Thread Roman Mashak
Hello 2008/10/7 Wolfgang Denk [EMAIL PROTECTED]: The advantage of the PowerPC implementation with relocation is that we can measure the actual size of memory present on the board, and then relocate U-Boot to the very end of the RAM, leaving nearly th When you say end of the RAM', I

Re: [U-Boot] [PATCH 1/6] Make DDR interleaving mode work correctly

2008-10-07 Thread Kumar Gala
On Oct 7, 2008, at 4:38 PM, Andy Fleming wrote: If Kim and Jon approve, I'll pull these 6 patches into my 85xx-next branch. The code doesn't impact 83xx and thus not sure why you need Kim's ack. - k On Fri, Oct 3, 2008 at 11:36 AM, Haiying Wang [EMAIL PROTECTED] wrote: Fix some bugs: