Re: [U-Boot] [PATCH] Add support for LPC2468 from NXP

2010-06-08 Thread Remco Poelstra
Hi, Op 2-6-2010 12:03, Wolfgang Denk schreef: > Dear Remco Poelstra, > > In message<1274098916-1805-1-git-send-email-remco.poels...@duran-audio.com> > you wrote: >> Add Support for LPC2468 from NXP >> >> Basic startup code >> Internal flash is usppo

Re: [U-Boot] [PATCH] Add support for LPC2468 from NXP

2010-06-03 Thread Remco Poelstra
register access and other almost identical code using C-structure based access. Maybe these SOC's are in the same process of getting converted to C-structures? Main point: What do you want me to do? I fixed the other minor comments, so I can send a new patch if you want. Regards, Remc

Re: [U-Boot] [PATCH] Add support for LPC2468 from NXP

2010-06-02 Thread Remco Poelstra
468_t; >> + >> +typedef struct can1_2468 { >> +u8 fixme[0x4000]; >> +} can1_2468_t; >> + >> +typedef struct can2_2468 { >> +u8 fixme[0x4000]; >> +} can2_2468_t; >> + >> +typedef struct i2c1_2468 { >> +u8 fixme[0x4000]; >> +} i2c1_2468_t; >> > ... > > > Do we _really_ need all this? > Yes and no. Not all H/W is used. That may well change in the future as more peripherals are supported. I do also believe that it is more readable if the mapping of the memory is reflected in the file, rather than undefined chunks, just because momentarily a peripheral isn't needed. I think this provides a better base for future development. Kind regards, Remco Poelstra ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] Add support for LPC2468 from NXP

2010-06-02 Thread Remco Poelstra
Op 17-5-2010 14:21, Remco Poelstra schreef: > Add Support for LPC2468 from NXP > > Basic startup code > Internal flash is uspported (for environment storage) > > --- Hi, Can someone please review this code? Or is there something terribly wrong with this patch? Regard

Re: [U-Boot] [PATCH] Add support for LPC2468 from NXP

2010-05-20 Thread Remco Poelstra
On 17-05-10 14:21, Remco Poelstra wrote: > Add Support for LPC2468 from NXP > > Basic startup code > Internal flash is uspported (for environment storage) > Hi, Can someone review my patch please? Kind regards, Remco Poelstra ___

Re: [U-Boot] [PATCH v2] Add support for LPC2468 from NXP

2010-05-18 Thread Remco Poelstra
ething wrong? Can someone check the Mailman logs? Kind regards, Remco Poelstra ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] Add support for LPC2468 from NXP

2010-05-17 Thread Remco Poelstra
5cbc845..3cdf22d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -708,6 +708,10 @@ Manikandan Pillai omap3_evm ARM CORTEX-A8 (OMAP3xx SoC) +Remco Poelstra + + LPC2468 LPC2468 + Stelian Pop at91cap9adk ARM926EJS (AT91CAP9 SoC) diff --git a/MAKEALL b

[U-Boot] [PATCH] Add support for LPC2468 from NXP

2010-05-17 Thread Remco Poelstra
5cbc845..3cdf22d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -708,6 +708,10 @@ Manikandan Pillai omap3_evm ARM CORTEX-A8 (OMAP3xx SoC) +Remco Poelstra + + LPC2468 LPC2468 + Stelian Pop at91cap9adk ARM926EJS (AT91CAP9 SoC) diff --git a/MAKEALL b

Re: [U-Boot] [PATCH v2] Add support for LPC2468 from NXP

2010-05-12 Thread Remco Poelstra
On 12-05-10 15:01, Remco Poelstra wrote: > Add support for LPC2468 from NXP > > Basic startup code > Internal flash is supported (for environment storage) > > Signed-off-by: Remco Poelstra > > --- >MAINTAINERS

Re: [U-Boot] [PATCH v2] Add support for LPC2468 from NXP

2010-05-12 Thread Remco Poelstra
Add support for LPC2468 from NXP Basic startup code Internal flash is supported (for environment storage) Signed-off-by: Remco Poelstra --- MAINTAINERS |4 + MAKEALL |1 + Makefile

[U-Boot] [PATCH] Add support for LPC2468 from NXP

2010-05-12 Thread Remco Poelstra
Add support for LPC2468 from NXP Basic startup code Internal flash is supported (for environment storage) Signed-off-by: Remco Poelstra --- MAKEALL |1 + Makefile |3 + arch/arm/cpu/arm720t/cpu.c

Re: [U-Boot] LPC2468 again

2010-05-11 Thread Remco Poelstra
On 11-05-10 14:45, Anatolij Gustschin wrote: > On Tue, 11 May 2010 14:40:30 +0200 > Remco Poelstra wrote: > ... > >>>> /usr/local/ELDK/usr/bin/../lib/gcc/arm-linux-gnueabi/4.2.2/soft-float/libgcc.a(_udivdi3.o):(.ARM.exidx+0x0): >>>> undefined

Re: [U-Boot] LPC2468 again

2010-05-11 Thread Remco Poelstra
On 11-05-10 14:25, Anatolij Gustschin wrote: > On Tue, 11 May 2010 14:07:14 +0200 > Remco Poelstra wrote: > > ... > >> Currently I've ported the code to the latest git version. It compiles >> more or less, except for the following error: >> /usr/local/ELD

[U-Boot] LPC2468 again

2010-05-11 Thread Remco Poelstra
Hi all, It's been a while since I was last on this list. Due to a lot of uncertainties in the codebase and a time shortage on my side, I decided that it was better to wait a while to try to get LPC2468 support in u-boot. I do at least have a lot more time now. I would like to have the code adde

Re: [U-Boot] [PATCH 2/2] LPC2468 example board

2009-04-28 Thread Remco Poelstra
Added example board for LPC2468 processor Signed-off-by: Remco Poelstra Date: Tue, 28 Apr 2009 15:04:33 +0200 Subject: [PATCH] Added example board for LPC2468 processor --- board/LPC2468/LPC2468.c | 65 + board/LPC2468/Makefile | 55 + board/LPC2468

Re: [U-Boot] [PATCH 1/2] LPC2468 support

2009-04-28 Thread Remco Poelstra
This patch includes support for the LPC2468 processor from NXP. Signed-off-by: Remco Poelstra --- It now also includes support for the ethernet interface. It does not include any changes to flash related code, until it's known where to put it. Stefan was right that the unreferenced functio

Re: [U-Boot] [PATCH 1/2] LPC2468 support

2009-04-24 Thread Remco Poelstra
This patch includes support for the LPC2468 processor from NXP. Signed-off-by: Remco Poelstra --- A working board example will be submitted when this patch is found to be OK. This patch is against latest git. The previous problem with PUTx vs. writex is solved. From

Re: [U-Boot] Problem cloning Git

2009-04-20 Thread Remco Poelstra
Detlev Zundel schreef: > Just checked here and I don't see any problems. Maybe try again, or try > upgrading git on your end. For the test I used 1.5.6.5 and 1.6.2.2, > both without a problem. Thanks for your reply. Upgrading to a newer version indeed fixed the problem. R

[U-Boot] Problem cloning Git

2009-04-15 Thread Remco Poelstra
tal: Cannot update the ref 'refs/tags/LABEL_2003_03_06_2255'. > Warning: Remote HEAD refers to nonexistent ref, unable to checkout. Am I doing something wrong? Kind regards, Remco Poelstra ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/2] LPC2468 support

2009-03-26 Thread Remco Poelstra
Remco Poelstra schreef: >>> Yes I do. They are straight from the LPC2292 code, so once they were >>> considered OK. I checked out the the write{s,l,b} functions in asm/io.h, >>> but although they look similar, for some reason they simply don't work. >>>

Re: [U-Boot] [PATCH 2/2] LPC2468 example board

2009-03-26 Thread Remco Poelstra
Jean-Christophe PLAGNIOL-VILLARD schreef: > > please clean up first before a full review Hi, This patch is outdated. After the part 1 patch is OK, I'll work on this part. I'll include your comments then. Kind regards, Remco Poelstra __

Re: [U-Boot] [PATCH 1/2] LPC2468 support

2009-03-26 Thread Remco Poelstra
the code already >> in place in U-boot. > I'm preparing a patch series to clean the arm720t to seprate it as arch > and avoid this borring #ifdef Can you explain what you mean here? Kind regards, Remco Poelstra ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/2] LPC2468 support

2009-03-26 Thread Remco Poelstra
o not I'll prefer to separate arch file I do not understand what you mean with the last part of your comment. Kind regards, Remco Poelstra ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/2] LPC2468 support

2009-03-25 Thread Remco Poelstra
Wolfgang Denk schreef: > Dear Remco Poelstra, > >>> Is there no way we can do without such a #ifdef here? >> The problem is that start.S needs hardware.h, but the code in immap.h >> should not be included in start.S, so I can not merge hardware.h and immap.h > >

Re: [U-Boot] [PATCH 1/2] LPC2468 support

2009-03-25 Thread Remco Poelstra
Wolfgang Denk schreef: > Dear Remco Poelstra, > > In message <49c8be7a.10...@duran-audio.com> you wrote: >> This patch includes support for the LPC2468 processor from NXP. >> >> The example board will follow when this patch is OK. > > Such a comment

Re: [U-Boot] [PATCH 1/2] LPC2468 support

2009-03-24 Thread Remco Poelstra
This patch includes support for the LPC2468 processor from NXP. The example board will follow when this patch is OK. Signed-off-by: Remco Poelstra --- diff -upNr u-boot-orig/cpu/arm720t/interrupts.c u-boot-cleanup/cpu/arm720t/interrupts.c --- u-boot-orig/cpu/arm720t/interrupts.c2009-03

Re: [U-Boot] [PATCH 2/2] LPC2468 example board

2009-03-18 Thread Remco Poelstra
Example board for LPC2468 support Signed-off-by: Remco Poelstra --- diff -upNr u-boot-orig/board/LPC2468/config.mk u-boot/board/LPC2468/config.mk --- u-boot-orig/board/LPC2468/config.mk 1970-01-01 01:00:00.0 +0100 +++ u-boot/board/LPC2468/config.mk 2009-03-18 09:30:20.0

[U-Boot] [PATCH 1/1] LPC2468 support

2009-03-18 Thread Remco Poelstra
This patch includes the LPC2468 processor from NXP. Included is a working board example. Signed-off-by: Remco Poelstra --- http://www.beryllium.net/~remco/u-boot.diff (144kb) ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

[U-Boot] Generic MII interface

2009-03-17 Thread Remco Poelstra
an be separated? Kind regards, Remco Poelstra ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Cleaning up new port

2009-03-17 Thread Remco Poelstra
ches. We will tell you if > they fit. Note that so far there is no LPC2468 support in U-Boot > mainline, so you must provide some complete working board port, or > there would be code which cannot even be compiled, and we don't allow > that. I see, I will provi

[U-Boot] Cleaning up new port

2009-03-17 Thread Remco Poelstra
ly (which is not to be published). I have however no clue on how to do that. What code should belong where? Is there any documentation on the exact code structure of U-boot? Is anyone here interested in LPC2468 support and willing to offer some help? Kind regards, Remc

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 'b

[U-Boot] Problem booting Linux

2009-03-12 Thread Remco Poelstra
and bootm prints: Uncompressing Kernel Image ... Error: Bad gzipped data GUNZIP: uncompress or overwrite error - must RESET board to recover How can I make sure that the Linux image can boot? Kind regards, Remco Poelstra ___ U-Boot mailing list U-Bo

[U-Boot] Ethernet interface

2009-03-04 Thread Remco Poelstra
Hi all, I want to add ethernet support to my LPC2468 processor (using its integrated MAC), but I can't find documentation about what interface to implement. How does U-Boot handle ethernet? What functions do I need to add to get ethernet working? Thanks in advance, Remco Poe

Re: [U-Boot] Strange data behaviour

2009-02-18 Thread Remco Poelstra
In > any case, you should use appropriate accessor functions to access > device registers. I do not know any accessor functions. What do you mean with a "sync"? Kind regards, Remco Poelstra ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Strange data behaviour

2009-02-17 Thread Remco Poelstra
U0THR = hex_data[(0xDEADBEEF>>i*4)&0xF]; U0THR = hex_data[(0xDEADBEEF>>4)&0xF]; } } --- When I run it likes this I get 8 E's. Which is what I expect. When I run it with the commented-out line, I get back 8 0x0's. So it seems that the output is