Re: [uClinux-dev] ARM7TDMI zImage booting

2013-07-31 Thread Plüss Tobias TA . E . 1001
Hi, I uploaded my code n the web: http://files.kooltek.net/linuxlpc24xx.tar.bz2 Could somebody have a look at it? I know there is some port fof uClinux for lpc24xx, but this uses the 2.6 kernel, which is very old compared to the 3.x kernel. It also doesn't use the device tree, but I would like

Re: [uClinux-dev] ARM7TDMI zImage booting

2013-07-31 Thread Plüss Tobias TA . E . 1001
clinux.org]" im Auftrag von "Daniel Glöckner [daniel...@gmx.net] Gesendet: Dienstag, 30. Juli 2013 11:31 An: uClinux development list Betreff: Re: [uClinux-dev] ARM7TDMI zImage booting Hi Tobias, On Mon, Jul 29, 2013 at 03:13:43PM +, Plüss Tobias TA.E.1001 wrote: > With the help o

Re: [uClinux-dev] ARM7TDMI zImage booting

2013-07-30 Thread Daniel Glöckner
Hi Tobias, On Mon, Jul 29, 2013 at 03:13:43PM +, Plüss Tobias TA.E.1001 wrote: > With the help of this, I could see that the Code works until it > reaches inflate.c, Line 579. There it comes to an endless loop, > and I don't know why :-( Do you have some idea? sorry, no idea. Does it get stuc

Re: [uClinux-dev] ARM7TDMI zImage booting

2013-07-29 Thread Plüss Tobias TA . E . 1001
obias Von: uclinux-dev-boun...@uclinux.org [uclinux-dev-boun...@uclinux.org]" im Auftrag von "Daniel Glöckner [daniel...@gmx.net] Gesendet: Sonntag, 28. Juli 2013 14:38 An: uClinux development list Betreff: Re: [uClinux-dev] ARM7TDMI zImage booting Hi Tobias, On Sun,

Re: [uClinux-dev] ARM7TDMI zImage booting

2013-07-28 Thread Alan Carvalho de Assis
If you need help about how to create the uncompressed kernel image: http://free-electrons.com/blog/uncompressed-linux-kernel-on-arm/ On 7/28/13, Alan Carvalho de Assis wrote: > Hi Tobias, > > On 7/28/13, Plüss Tobias TA.E.1001 wrote: >> Hi Alan, >> >> I already have enabled EARLY_PRINTK. It is

Re: [uClinux-dev] ARM7TDMI zImage booting

2013-07-28 Thread Alan Carvalho de Assis
Hi Tobias, On 7/28/13, Plüss Tobias TA.E.1001 wrote: > Hi Alan, > > I already have enabled EARLY_PRINTK. It is even in the device tree as a > bootarg. > Ok > When I use zImage, I can only see the message "uncompressing Linux..." > before the kernel crashes. > > Could you tell me why I need spec

Re: [uClinux-dev] ARM7TDMI zImage booting

2013-07-28 Thread Plüss Tobias TA . E . 1001
ev-boun...@uclinux.org]" im Auftrag von "Daniel Glöckner [daniel...@gmx.net] Gesendet: Sonntag, 28. Juli 2013 14:38 An: uClinux development list Betreff: Re: [uClinux-dev] ARM7TDMI zImage booting Hi Tobias, On Sun, Jul 28, 2013 at 12:22:54PM +, Plüss Tobias TA.E.1001 wrote: > It seems

Re: [uClinux-dev] ARM7TDMI zImage booting

2013-07-28 Thread Daniel Glöckner
Hi Tobias, On Sun, Jul 28, 2013 at 12:22:54PM +, Plüss Tobias TA.E.1001 wrote: > It seems difficult to find out what causes the crash. Because when I step > through the code, many many instructions work without any problem; > yesterdeay in the evening, I stepped about half an hour through the

Re: [uClinux-dev] ARM7TDMI zImage booting

2013-07-28 Thread Plüss Tobias TA . E . 1001
uot; im Auftrag von "Daniel Glöckner [daniel...@gmx.net] Gesendet: Sonntag, 28. Juli 2013 12:33 An: uClinux development list Betreff: Re: [uClinux-dev] ARM7TDMI zImage booting On Sun, Jul 28, 2013 at 09:16:15AM +, Plüss Tobias TA.E.1001 wrote: > So what I did so far is to just step tr

Re: [uClinux-dev] ARM7TDMI zImage booting

2013-07-28 Thread Plüss Tobias TA . E . 1001
ail.com] Gesendet: Sonntag, 28. Juli 2013 13:10 An: uClinux development list Betreff: Re: [uClinux-dev] ARM7TDMI zImage booting Hi Tobias, On 7/28/13, Plüss Tobias TA.E.1001 wrote: ... > > CONFIG_DRAM_BASE=0xa000 > CONFIG_DRAM_SIZE=0x0300 > CONFIG_FLASH_MEM_BASE=0x8000 > CONF

Re: [uClinux-dev] ARM7TDMI zImage booting

2013-07-28 Thread Alan Carvalho de Assis
Hi Tobias, On 7/28/13, Plüss Tobias TA.E.1001 wrote: ... > > CONFIG_DRAM_BASE=0xa000 > CONFIG_DRAM_SIZE=0x0300 > CONFIG_FLASH_MEM_BASE=0x8000 > CONFIG_FLASH_SIZE=0x0040 > > So what I did so far is to just step trough the plain assembly code, without > any debug symbols, and you ca

Re: [uClinux-dev] ARM7TDMI zImage booting

2013-07-28 Thread Daniel Glöckner
On Sun, Jul 28, 2013 at 09:16:15AM +, Plüss Tobias TA.E.1001 wrote: > So what I did so far is to just step trough the plain assembly code, > without any debug symbols, and you can imagine, it's very difficult > to get an idea what this thing is doing :-) In cases like these I tend to search fo

Re: [uClinux-dev] ARM7TDMI zImage booting

2013-07-28 Thread Plüss Tobias TA . E . 1001
ine-specific initialisations (which reside in arch/arm/mach-* directory). Tobias Von: uclinux-dev-boun...@uclinux.org [uclinux-dev-boun...@uclinux.org]" im Auftrag von "Daniel Glöckner [daniel...@gmx.net] Gesendet: Samstag, 27. Juli 2013 18:26

Re: [uClinux-dev] ARM7TDMI zImage booting

2013-07-27 Thread Daniel Glöckner
Hi Tobias, On Sat, Jul 27, 2013 at 02:53:07PM +, Plüss Tobias TA.E.1001 wrote: > >> CONFIG_PROCESSOR_ID > > MANY THANKS for this tip! I have never analysed what this processor ID is > used for; i always thought that it is just some arbitrary number to verify > that the kernel is running on th

Re: [uClinux-dev] ARM7TDMI zImage booting

2013-07-27 Thread Plüss Tobias TA . E . 1001
uClinux development list Betreff: Re: [uClinux-dev] ARM7TDMI zImage booting On Sat, Jul 27, 2013 at 01:01:36PM +, Plüss Tobias TA.E.1001 wrote: > I just looked in the arch/arm/boot/compressed/head.S, and there is this > statement > > .arch armv7-a > > which is definitely wr

Re: [uClinux-dev] ARM7TDMI zImage booting

2013-07-27 Thread Daniel Glöckner
On Sat, Jul 27, 2013 at 01:01:36PM +, Plüss Tobias TA.E.1001 wrote: > I just looked in the arch/arm/boot/compressed/head.S, and there is this > statement > > .arch armv7-a > > which is definitely wrong and makes the kernel not portable to other > architectures. This is done to not be restric

[uClinux-dev] ARM7TDMI zImage booting

2013-07-27 Thread Plüss Tobias TA . E . 1001
Hi everyone, I am trying to run uClinux on an ARM7 LPC2000 chip from NXP. I have some external SDRAM (64M) and Flash (8M). In the Flash, I plan to store the zImage, and in the microcontroller's internal Flash I have some sort of bootloader, which sets up the device tree and then boots the zImag