Re: [U-Boot-Users] [PATCH 1/1] Add support for ATMELAT91SAM9G20EKboard

2008-07-25 Thread Ulf Samuelsson
1SAM9G41) || \ defined(CONFIG_AT91SAM9M10) || \ defined(CONFIG_AT91SAM9M11) || \ defined(CONFIG_AT91CAP9) || \ defined(CONFIG_AT572D940) This statement will have to be updated every time a new MCU is released. Having the statment #if defined(CONFIG_AT91) should definitely reduce the main

Re: [U-Boot-Users] new to U-Boot, how do I get started for Atmel at91sam9261ek

2008-06-15 Thread Ulf Samuelsson
/Linux4SAM/U-Boot You will need: ftp://ftp.denx.de/pub/u-boot/u-boot-1.1.5.tar.bz2and applyftp://www.linux4sam.org/pub/uboot/u-boot-1.1.5_atmel_1.6/u-boot-1.1.5_atmel_1.6.diff > Best regards, > > Wolfgang Denk Best Regards Ulf Samuelsson[EMAIL PROTECTED] Atmel Nordic AB Mai

Re: [U-Boot-Users] [PATCH 1/2] AT572D940HF-EB Support v2 (SDHC support part 1)

2008-06-13 Thread Ulf Samuelsson
have any AT91 boards? > > Best regards, > > Wolfgang Denk Best Regards Ulf Samuelsson[EMAIL PROTECTED] Atmel Nordic AB Mail: Box 2033, 174 02 Sundbyberg, Sweden Visit: Kavallerivägen 24, 174 58 Sundbyberg, Sweden Phone +46 (8) 441 54 22 Fax +46 (8) 441 54 29 G

Re: [U-Boot-Users] [PATCH 1/2] AT572D940HF-EB Support v2 (SDHC support part 1)

2008-06-12 Thread Ulf Samuelsson
Haavard Skinnemoen wrote: > On Thu, 12 Jun 2008 19:19:47 +0200 > "Ulf Samuelsson" <[EMAIL PROTECTED]> wrote: > >> Haavard Skinnemoen wrote: >>> It's a bit hard to see what your proposal is all about when you >>> create a new file instead of m

Re: [U-Boot-Users] [PATCH 1/2] AT572D940HF-EB Support v2 (SDHC support part 1)

2008-06-12 Thread Ulf Samuelsson
w SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > ___ > U-Boot-Users mailing list > U-Boot-Users@lists.sourceforge.net > https://

Re: [U-Boot-Users] [PATCH 1/3] SDHC Support for AT572d940HF-EB

2008-06-12 Thread Ulf Samuelsson
g OE-QuoteFix. > <http://home.in.tum.de/~jain/software/oe-quotefix/> My main problem is how to get my 500-1000 email sorting rules over to a new client, so QuoteFix is probably the best choice. Best Regards Ulf Samuelsson

Re: [U-Boot-Users] [PATCH 1/3] SDHC Support for AT572d940HF-EB

2008-06-12 Thread Ulf Samuelsson
ards, Antonio Best Regards Ulf Samuelsson - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/serv

Re: [U-Boot-Users] [PATCH 1/3] SDHC Support for AT572d940HF-EB

2008-06-12 Thread Ulf Samuelsson
r card found > No MMC card found > > Thanks in advance, > Best Regards, > > Pierre > > I do not think that Antonio has any AT91SAM9260 boards. Pls check what is happening with a JTAG emulator and propose a patch. Best Regards Ulf Samuelsson ---

Re: [U-Boot-Users] help in understand the address of standaloneapplications, ARM MCU

2008-05-11 Thread Ulf Samuelsson
uld work? > >> flash_LED.bin" system also hangs... > > Probably because you are overwriting the exception vectors? > >> I must say that with my dev. board comes an "hello world" example which is >> an >> empty function :-( -- but even I don

Re: [U-Boot-Users] [PATCH]: Fix for bug: U-boot environment corruptby reading uninitialized flash memory instead of RAM.

2008-05-11 Thread Ulf Samuelsson
gt;env_valid. Or, put the other way round, we always set > GD_FLG_RELOC long before gd->env_valid get's set. > > Thus your change above is just redundant. > > > Now, if your board does not perform proper relocation

Re: [U-Boot-Users] [Patch 2/4] U-Boot-V2: ARM: introduceCONFIG_SKIP_RELOCATION

2008-05-07 Thread Ulf Samuelsson
st about anything than a parallel flash, maybe it is better to have a CONFIG_COPY_TO_SDRAM than its negative form. Whats the big benefit of beeing able to select where U-boot runs? I could understand if there was a need for a compile time parameter. Best Regards Ulf Samuelsson --

Re: [U-Boot-Users] [PATCH 09/21] AT91SAM9261EK support

2008-05-07 Thread Ulf Samuelsson
utility generating the binary during the build Best Regards Ulf Samuelsson - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still

Re: [U-Boot-Users] [RFC] AT91 reorganisation

2008-04-26 Thread Ulf Samuelsson
f should maybe be common with avr32. Best Regards Ulf Samuelsson - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use pri

Re: [U-Boot-Users] Want to add command in uboot

2008-04-17 Thread Ulf Samuelsson
o DBGU. Aborted by pressing a combination of keys (Ctrl-C three times?). > Best regards, > > Wolfgang Denk > Best Regards Ulf Samuelsson - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don

Re: [U-Boot-Users] [PATCH] Add support for AT91RM9200EK board

2008-04-15 Thread Ulf Samuelsson
e list, too. > Fine, Once someone replaces the flash driver for the DK with CFI driver, and test it... I can use this as the base for an AT91RM9200EK patch. Best Regards Ulf Samuelsson[EMAIL PROTECTED] Atmel Nordic AB Mail: Box 2033, 174 02 Sundbyberg, Sweden Visit: Kavalleriväg

Re: [U-Boot-Users] [PATCH] Add support for AT91RM9200EK board

2008-04-15 Thread Ulf Samuelsson
mel specific version for which there exist no good method for non-Atmel people to submit patches. I think the most practical approach to allow getting rid of the Atmel specific version is to include the legacy stuff (AT91RM9200 related) first. Then move the shared stuff to an board/atmel/common directory to

Re: [U-Boot-Users] [PATCH] Add build date environment variable

2008-04-14 Thread Ulf Samuelsson
ch uses it. I plan to submit these patches later, but they depend on having other things included. Best Regards Ulf Samuelsson - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year&#x

Re: [U-Boot-Users] [PATCH] Add support for Atmel flash

2008-04-14 Thread Ulf Samuelsson
> > Le lundi 14 avril 2008 à 08:00 +0200, Ulf Samuelsson a écrit : >> > Le samedi 12 avril 2008 à 21:03 +0200, Ulf Samuelsson a écrit : >> >> Add ID codes for most recent Atmel NOR flashes >> > >> > Is there any added value on using the atmel flash d

Re: [U-Boot-Users] [PATCH] Add support for Atmel flash

2008-04-13 Thread Ulf Samuelsson
> Le samedi 12 avril 2008 à 21:03 +0200, Ulf Samuelsson a écrit : >> Add ID codes for most recent Atmel NOR flashes > > Is there any added value on using the atmel flash driver instead of the > standard CFI driver ? It surely doesn't have any on the SAM9/CAP9 > board

Re: [U-Boot-Users] [PATCH] Add support for AT91RM9200EK board

2008-04-13 Thread Ulf Samuelsson
> > Le samedi 12 avril 2008 à 22:06 +0200, Ulf Samuelsson a écrit : >> Add support for the AT91RM9200EK Board. > > Hi Ulf, > > I do have a few issues with your patch. As you have seen, I started > adapting the Atmel changes for the AT91SAM boards, and in doing so I

[U-Boot-Users] [PATCH] Add support for AT91RM9200EK board

2008-04-12 Thread Ulf Samuelsson
Add support for the AT91RM9200EK Board. Signed-off-by: Ulf Samuelsson <[EMAIL PROTECTED]> diff -urN u-boot.cmp/board/atmel/at91rm9200ek/at91rm9200ek.c u-boot/board/atmel/at91rm9200ek/at91rm9200ek.c --- u-boot.cmp/board/atmel/at91rm9200ek/at91rm9200ek.c 1970-01-01 01:00:00.0 +0100

[U-Boot-Users] [PATCH] Add build date environment variable

2008-04-12 Thread Ulf Samuelsson
Add environment for the date when U-Boot is built Signed-off-by: Ulf Samuelsson <[EMAIL PROTECTED]> diff -urN u-boot.cmp/Makefile u-boot/Makefile --- u-boot.cmp/Makefile 2008-04-12 20:56:58.0 +0200 +++ u-boot/Makefile 2008-04-12 21:06:23.0 +0200 @@ -42,6 +42,8 @@

[U-Boot-Users] [PATCH] Add support for Atmel flash

2008-04-12 Thread Ulf Samuelsson
Add ID codes for most recent Atmel NOR flashes Signed-off-by: Ulf Samuelsson <[EMAIL PROTECTED]> diff -urN u-boot.cmp/include/flash.h u-boot/include/flash.h --- u-boot.cmp/include/flash.h 2008-04-12 07:05:17.0 +0200 +++ u-boot/include/flash.h 2008-04-12 20:57:51.0 +0200 @@

[U-Boot-Users] [PATCH] Reorder ARM boards in Makefile

2008-04-12 Thread Ulf Samuelsson
Rearrange ARM boards in Makefile so that ARM926EJ-S boards are no longer under ARM92xT header. Signed-off-by: Ulf Samuelsson <[EMAIL PROTECTED]> -- Best Regards Ulf Samuelsson diff -urN u-boot.cmp/Makefile u-boot/Makefile --- u-boot.cmp/Makefile 2008-04-12 07:05:14.0 +0200 +++

[U-Boot-Users] [PATCH] Clean up dataflash partitioning

2008-04-12 Thread Ulf Samuelsson
ctor/page boundaries. The CONFIG_NEW_DF_PARTITION was used to create named partitions This is now the default operation, and the CONFIG variable is removed. Signed-off-by: Ulf Samuelsson <[EMAIL PROTECTED]> diff -urN u-boot-0rg/board/atmel/at91cap9adk/Makefile u-boot/board/atmel/at91cap9adk/Mak

Re: [U-Boot-Users] LZMA support (patch)

2008-03-28 Thread Ulf Samuelsson
are developer when the >> flash memory space is a critical resource. > > Frankly, if you are so short with flash you have a h/w design problem. > Lots of applications are cost sensitive, and shaving 50 cents he

Re: [U-Boot-Users] ARM custodian change

2008-03-25 Thread Ulf Samuelsson
> On Thursday 20 March 2008, Nicolas Ferre wrote: >> Ulf Samuelsson atmel.com> writes: >> > > Too bad. I think it would be a good idea, if "they" would try to work >> > > with the "official" U-Boot community again. Now with the custod

Re: [U-Boot-Users] ARM custodian change

2008-03-19 Thread Ulf Samuelsson
> On Wednesday 19 March 2008, Ulf Samuelsson wrote: >> >> Would it not be better if the Atmel ARM was handled by the Atmel AT91 >> >> Product line >> > >> > Could be, I really don't know. I don't remember seeing Atmel ARM patches >>

Re: [U-Boot-Users] ARM custodian change

2008-03-18 Thread Ulf Samuelsson
> On Tuesday 18 March 2008, Ulf Samuelsson wrote: >> > Here a short announcement about a change in the U-Boot ARM custodianship: >> > >> > Since the ARM platform is so broad and has multiple vendor >> > specific "sub-architectures" it seemed necess

Re: [U-Boot-Users] ARM custodian change

2008-03-18 Thread Ulf Samuelsson
lp is really appreciated. > Would it not be better if the Atmel ARM was handled by the Atmel AT91 Product line Best Regards Ulf Samuelsson - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R

Re: [U-Boot-Users] AT91RM9200 USB UHCI

2008-03-12 Thread Ulf Samuelsson
> Is anyone doing any work on this for u-boot? > > Thanks, > I think that the Atmel U-Boot at www.linux4sam.org has USB host support allowing access to a USB memory. Best Regards Ulf Samuelsson - This SF.

Re: [U-Boot-Users] AT91SAM7 port of U-boot?

2008-03-06 Thread Ulf Samuelsson
SRAM. Only big difference is that the SAM9XE has 2 x TWI instead of one, and only 6 serial ports instead of 7. I think it would be much easier to get U-boot running on the SAM9XE. It also has an Ethernet controller so you can do fast downloads. Also, it runs at 200 MHz instead of the ~50 MHz of the

Re: [U-Boot-Users] arm920t RAM relocation broken?

2008-03-06 Thread Ulf Samuelsson
? Then the code is simply wrong. If you run from a serial flash, then the code is already relocated and is executing from SDRAM at this point, so the code will crash. Best Regards Ulf Samuelsson - This SF.net email is s

Re: [U-Boot-Users] Delete all env vars except read onlys

2008-02-20 Thread Ulf Samuelsson
ult settings. >> > I see this as essential and have implemented this in my own u-boot. I call it "defenv". It is a little different though, It will reinitialize the predefined environment variables to default settings but will not touch the other. If "env default" is imp

Re: [U-Boot-Users] FW: [PATCH][ARM] Rationalize ARM compiler options

2008-02-20 Thread Ulf Samuelsson
e is no reason to force someone to use architecture specific tuning, but that U-boot should allow for people to apply this. > (excluding build systems which treat all warnings as errors)? > > If so, please supply details. > > Regards > > Peter > Best Regards Ulf Samuel

Re: [U-Boot-Users] FW: [PATCH][ARM] Rationalize ARM compiler options

2008-02-20 Thread Ulf Samuelsson
> On Wed, 20 Feb 2008 07:33:47 +0100 > "Ulf Samuelsson" <[EMAIL PROTECTED]> wrote: > >> In this case, reality and the map differs. >> NWFPE toolchains built by cross-tool, buildroot, and www.gnuarm.com >> not sure abnout the last) all bombs when they

Re: [U-Boot-Users] FW: [PATCH][ARM] Rationalize ARM compiler options

2008-02-19 Thread Ulf Samuelsson
easy to replace all fixed parameters with symbolic Makefile variable which can be modified by your make command $ make "MYPARS=-msoft-float" uboot With sensible defaults which can be overriddern, this would solve the problem, without having to locally *patch* the source. When you are buil

Re: [U-Boot-Users] FW: [PATCH][ARM] Rationalize ARM compiler options

2008-02-18 Thread Ulf Samuelsson
. >> I would also accept >> (reluctantly, although it saves lots of space I could waste >> as empty lines ;-) ) >> >> " >> For simplicity, the main (arm) tree processor options use the >> lowest common architecture option (armv4), whatever the &

Re: [U-Boot-Users] Das U-Boot support for Atmel AT91SAM926x-EK (orother boards with an AT91SAM926x processor)?

2008-02-18 Thread Ulf Samuelsson
llenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > U-Boot-Users mailing list > U-Boot-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users > Best Regards Ulf Samuelsson ---

Re: [U-Boot-Users] AT91 Bootstrap in U-boot

2008-02-14 Thread Ulf Samuelsson
91SAM9260-EK and > AT91SAM9261-EK can't support an EBI NOR flash due to intentional design > limitations. They can, by adding a PCB to the EBI connector. There has been some progress here on the S/W side, but I am still waiting for the release. >

Re: [U-Boot-Users] AT91 Bootstrap in U-boot

2008-02-13 Thread Ulf Samuelsson
B (in the AT91SAM9260) and that limits the functionality. U-Boot does not fit, so you have AT91bootstrap. AT91bootstrap needs to run BEFORE U-Boot is started. Best Regards Ulf Samuelsson - This SF.net email is spo

Re: [U-Boot-Users] sam9263ek not booting uboot dataflash

2008-02-12 Thread Ulf Samuelsson
s this a common "user error" problem with ckermit? I've double > checked my config option with uboot docs. > I have used "minicom" a lot when downloading to the AT91RM9200, but I use the special downloading program

Re: [U-Boot-Users] sam9263ek not booting uboot dataflash

2008-02-12 Thread Ulf Samuelsson
define IMG_SIZE 0x2E400 for 185 kB. Best Regards Ulf Samuelsson - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120

Re: [U-Boot-Users] sam9263ek not booting uboot dataflash

2008-02-12 Thread Ulf Samuelsson
ed, so that is not an option. Do you use a dataflashcard? It is easy to mix the chip selects. Recompile the original source and see if you can run that. Otherwise play with LEDs. You can also try the SAM9263EK U-Boot-1.2.0 built by buildroot at "buildroot.uclibc.org". Best Regards

Re: [U-Boot-Users] [PATCH v2] spi: Kill spi_chipsel table and introduce spi_setup()

2008-02-06 Thread Ulf Samuelsson
e 5 Mbps means you load it in about 6 seconds. In this user case, the SPI is probably already initialized by the AT91 bootstrap which loads U-Boot to SDRAM from the dataflash, so any initialization should maybe be optional. Best Regards Ulf Samuelsson ---

Re: [U-Boot-Users] [PATCH 4/5] AT91CAP9 support : board/ files

2008-02-03 Thread Ulf Samuelsson
;board/at91" and "board/avr32" directories for non-atmel boards. > Stelian. > -- > Stelian Pop <[EMAIL PROTECTED]> > Best Regards Ulf Samuelsson - This SF.net email is sponsored by: Microsoft

Re: [U-Boot-Users] [PATCH 4/5] AT91CAP9 support : board/ files

2008-02-01 Thread Ulf Samuelsson
80 +++ > board/at91cap9adk/nand.c| 71 ++ > board/at91cap9adk/u-boot.lds| 57 I think it would be better if these files were located in the "board/atmel/at91cap9adk", instead of "board/at91cap9adk" Maybe Peter can fix that, it sh

Re: [U-Boot-Users] [PATCH 3/5] AT91CAP9 support : cpu/ files

2008-01-31 Thread Ulf Samuelsson
m926ejs/start.S |3 + How much is different from the Atmel AT91SAM926x U-Boot patches on www.linux4sam.org? The CAP9 is very similar to the AT91SAM9263. Should those chips share drivers? Then it would be better to store the files in "cpu/arm926e

Re: [U-Boot-Users] [rfc] new spiflash subsystem

2008-01-30 Thread Ulf Samuelsson
fic driver to do a block transfer. Having a generic driver do the small details of access will remove all possibilities for an efficient driver. There can of course be a driver which sends bytes one by one, as a fallback , but I think this should be an option that can be overridden by a driver f

Re: [U-Boot-Users] [PATCH] make the machid configurable via theenvironment (Was: [PATCH] Changed load address and entrypoint for uImage to ZRELADDR + 6MB)

2008-01-30 Thread Ulf Samuelsson
will allow people in this situation to use the U-Boot on the board without recompilation. Best Regards Ulf Samuelsson - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio

Re: [U-Boot-Users] [rfc] new spiflash subsystem

2008-01-29 Thread Ulf Samuelsson
please quote properly in your replies ==> Mailers can't quote properly when mails are sent as a text attachement. Also quoting does not work when people are sending non-compliant mails allowing long lines. On Tuesday 29 January 2008, Ulf Samuelsson wrote: > &

Re: [U-Boot-Users] [rfc] new spiflash subsystem

2008-01-29 Thread Ulf Samuelsson
not nessarely store u-boot in it? (you can have 2 falsh) OK, let me rephrase the statement: It is stupid to allow the user to *accidently* erase the environment sector and the U-boot area The proposed user interface will do this, if you do not give any address parameters to the erase comma

Re: [U-Boot-Users] [rfc] new spiflash subsystem

2008-01-29 Thread Ulf Samuelsson
e, and that (as is) will never become a part of it. > No, I am referring to code which does exist in the U-Boot tree. - Look how proper quoting can be when the sender of the original mail follows mail standards ... Best Regards Ulf Samuelsson ---

Re: [U-Boot-Users] [rfc] new spiflash subsystem

2008-01-29 Thread Ulf Samuelsson
On Monday 28 January 2008, Ulf Samuelsson wrote: > Unfortunately, this code seems useless, at least for the combination AT91 + > SPI flash. Some issues: > > I believe that the AT45 is not using the same command set as other > SPI flash memories. I think the commands need to b

Re: [U-Boot-Users] [ARM] Add support for AT91CAP9cpu andAT91CAP9A-DK board

2008-01-28 Thread Ulf Samuelsson
something which can be directly used by U-Boot without any further modification. It may make sense to split up the file as well, as Haavard proposes, but preferably, the split should be done at the source. I will forward this request to the AT9

Re: [U-Boot-Users] [rfc] new spiflash subsystem

2008-01-28 Thread Ulf Samuelsson
resources, and you cannot compare two memory areas if the memory area is larger than half the SDRAM size. Best Regards Ulf Samuelsson > /* > * SPI flash driver user interface > * > * Copyright (c) 2005-2008 Analog Devices Inc. > * > * Licensed under the GPL-2 or later. &g

Re: [U-Boot-Users] [patch u-boot git 2/3] better ARM9 compiler options

2008-01-21 Thread Ulf Samuelsson
== > +PLATFORM_CPPFLAGS +=$(call cc-option,-mcpu=arm926ej-s,-march=armv4) > PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) > PLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,$(