Discussion:
[uClinux-dev] Porting uClinux to a specific board
Plüss Tobias TA.E.1001
2013-03-28 08:27:44 UTC
Permalink
Hi guys

I would like to use uClinux on an ARM7 board which I built by myself. It contains a NXP LPC2468 processor and uses external FLASH (8M) and SDRAM (64M), which I think should be enough memory for uClinux.
Okay, what I did so far is to download the Kernel sources (3.8.4, I would like to use recent Kernel). Then, I created my mach-lpc2468 folder and created various C-files for my hardware specific stuff.
I also created a machine record, but I don't exactly know, what data has to be in there, and I don't exactly know what to do with the interrupt controller and stuff.
Anyway, my Kernel compiles now, but of course, it does not yet work correctly, but I hope somebody can help me with the machine record and the device tree.

Many thanks in advance!
Lennart Sorensen
2013-03-28 14:23:40 UTC
Permalink
On Thu, Mar 28, 2013 at 08:27:44AM +0000, Pl?ss Tobias TA.E.1001 wrote:
> I would like to use uClinux on an ARM7 board which I built by myself. It contains a NXP LPC2468 processor and uses external FLASH (8M) and SDRAM (64M), which I think should be enough memory for uClinux.
> Okay, what I did so far is to download the Kernel sources (3.8.4, I would like to use recent Kernel). Then, I created my mach-lpc2468 folder and created various C-files for my hardware specific stuff.
> I also created a machine record, but I don't exactly know, what data has to be in there, and I don't exactly know what to do with the interrupt controller and stuff.
> Anyway, my Kernel compiles now, but of course, it does not yet work correctly, but I hope somebody can help me with the machine record and the device tree.

It looks like someone already did uclinux for that CPU some years ago:

http://mailman.uclinux.org/pipermail/uclinux-dev/2007-May/042858.html

Maybe those patches would be helpful.

--
Len Sorensen
Plüss Tobias TA.E.1001
2013-03-29 11:45:47 UTC
Permalink
Hi Len,

thanks for your reply. Yes, I know this project. The source code is now available in Google Code, and I checked out the SVN repository. I studied the code, and try to adopt it for the Kernel 3.8.4, but this is not very easy since many things have changed since this port was written (and it is unmaintained since 2007).
I have now a Kernel that compiles for my board, but what I don't exactly know is

a) where are the interrupt vectors for the ARM7TDMI processor?
b) what shall I do with the interrupt controller, the UARTs and stuff, since there is now this "device tree" thing, which I don't understand completely (until now, at least).

Bye Tobias

________________________________________
Von: uclinux-dev-bounces at uclinux.org [uclinux-dev-bounces at uclinux.org]" im Auftrag von "Lennart Sorensen [lsorense at csclub.uwaterloo.ca]
Gesendet: Donnerstag, 28. M?rz 2013 15:23
An: uClinux development list
Betreff: Re: [uClinux-dev] Porting uClinux to a specific board

On Thu, Mar 28, 2013 at 08:27:44AM +0000, Pl?ss Tobias TA.E.1001 wrote:
> I would like to use uClinux on an ARM7 board which I built by myself. It contains a NXP LPC2468 processor and uses external FLASH (8M) and SDRAM (64M), which I think should be enough memory for uClinux.
> Okay, what I did so far is to download the Kernel sources (3.8.4, I would like to use recent Kernel). Then, I created my mach-lpc2468 folder and created various C-files for my hardware specific stuff.
> I also created a machine record, but I don't exactly know, what data has to be in there, and I don't exactly know what to do with the interrupt controller and stuff.
> Anyway, my Kernel compiles now, but of course, it does not yet work correctly, but I hope somebody can help me with the machine record and the device tree.

It looks like someone already did uclinux for that CPU some years ago:

http://mailman.uclinux.org/pipermail/uclinux-dev/2007-May/042858.html

Maybe those patches would be helpful.

--
Len Sorensen
_______________________________________________
uClinux-dev mailing list
uClinux-dev at uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev at uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
Loading...