[uClinux-dev] Call for Presentation for the Embedded Systems and Open Hardware session of the 10th Libre Software Meeting (Nantes, France, July 2009)

2009-01-28 Thread Patrice Kadionik
Dear all, Please find below the Call For Presentation to the LSM meeting for the Embedded Systems and Open Hardware session. Sincerely Yours; Patrice. === The Libre Software Meeting (LSM) is an annual event on free

Re: [uClinux-dev] why no-mmu cannot support binfmt_aout.c

2009-01-28 Thread loody
2009/1/28 Jamie Lokier ja...@shareable.org: loody wrote: File is not an object file so, it seems I have to make a object relocation file to let this tool, arm-linux-elf2flt, work. but how? Don't use the tool directly, use it with GCC as you found: 2. I use -Wl,-elf2flt=-s1024 with

Re: [uClinux-dev] why no-mmu cannot support binfmt_aout.c

2009-01-28 Thread Greg Ungerer
Hi Loody, loody wrote: I try 2 another cross-toolchains today. 1. buildroot, 2. arm-uclinux, download from Codesourcery. The transformation of elf to FLAT of them is quite different. I get help from buildroot maintainer, so I can build buildroot with elf2flt successfully. a. When I use

Re: [uClinux-dev] why no-mmu cannot support binfmt_aout.c

2009-01-28 Thread loody
You are really making things difficult for yourself to start out. My suggestion, get the uClinux-dist, use the arm-linux compiler linked from uclinux.org. I specifically use the GDB/ARMulator target. Build it as is and run it on the Skyeye emulator. Use that as a starting point. Regards

RE: [uClinux-dev] why no-mmu cannot support binfmt_aout.c

2009-01-28 Thread Gavin Lambert
Quoth loody: At beginning, I use the combination you suggest, but uclinux makes me cry when I find that the only executable file format that can run on uclinux is FLAT. This is because the other file formats rely on the VMM being able to make code/data appear at specific addresses. Without a

Re: [uClinux-dev] build uclinux successfully but get cpu unknow exception

2009-01-28 Thread loody
my cpu is arm940T. Try adding -mcpu=arm940t to the GCC command, and remove -march=armv4t and -mtune=arm9tdmi from it (your example has them). Hi: Thanks for your help :) the situation is still the same when I follow the instructions you suggest. I will try another combinations as well. BTW,

[uClinux-dev] Nintendo GBA Supported?!?! When was this added to the ARM series?

2009-01-28 Thread Gregg Levine
Hello! For the record when was the Nintendo GBA officially supported by this project? The steps to create a something also tell me that I am quite literally breaking new ground here. Does this mean that no one else has created something for the GBA? For example it suggested that I select a

Re: [uClinux-dev] Nintendo GBA Supported?!?! When was this added to the ARM series?

2009-01-28 Thread Greg Ungerer
Hi Gregg, Gregg Levine wrote: For the record when was the Nintendo GBA officially supported by this project? I dunno about for the record, but I first coded up some basic support in early 2003. That work has been in uClinux-dist code packages from then. I only ever worked on the GBA

Re: [uClinux-dev] build uclinux successfully but get cpu unknow exception

2009-01-28 Thread Greg Ungerer
Hi Loody, loody wrote: my cpu is arm940T. Try adding -mcpu=arm940t to the GCC command, and remove -march=armv4t and -mtune=arm9tdmi from it (your example has them). Hi: Thanks for your help :) the situation is still the same when I follow the instructions you suggest. I will try another

Re: [uClinux-dev] build uclinux successfully but get cpu unknow exception

2009-01-28 Thread Jamie Lokier
loody wrote: Try adding -mcpu=arm940t to the GCC command, and remove -march=armv4t and -mtune=arm9tdmi from it (your example has them). the situation is still the same when I follow the instructions you suggest. (I use Codesourcery gcc but assign buildroot lib.) Ah... The faulting

Re: [uClinux-dev] why no-mmu cannot support binfmt_aout.c

2009-01-28 Thread loody
Why is only supporting FLAT a problem for you? (It is not entirely true to say uClinux only supports FLAT, some uClinux architectures support fdelf-pic). Sorry for using the word, ONLY. Tears will make the screen blur, you know. :-( I don't know how to make a flat with the arm-linux

Re: [uClinux-dev] why no-mmu cannot support binfmt_aout.c

2009-01-28 Thread Jamie Lokier
loody wrote: When I use -Wl,-elf2flt,-s32768 to compile my hellow.c. It should say -wL,-elf2flt=-s32768. Note the = (equal sign). b. When I use -Wl,-elf2flt to compile my hellow.c. it will say: arm-linux-uclibcgnueabi/bin/ld.real: error: no memory region specified for loadable section

Re: [uClinux-dev] why no-mmu cannot support binfmt_aout.c

2009-01-28 Thread Jamie Lokier
loody wrote: e1a0e00fmov lr, pc e12fff13bx r3 What is the specialty of the instruction, mov lr,pc, which let arm cpu fail? Both of those instructions can put the CPU into Thumb mode. If it doesn't support Thumb, you get an instruction fault. mov lr,pc is

Re: [uClinux-dev] why no-mmu cannot support binfmt_aout.c

2009-01-28 Thread Greg Ungerer
Hi Loody, loody wrote: Why is only supporting FLAT a problem for you? (It is not entirely true to say uClinux only supports FLAT, some uClinux architectures support fdelf-pic). Sorry for using the word, ONLY. Tears will make the screen blur, you know. :-( I don't know how to make a

Re: [uClinux-dev] why no-mmu cannot support binfmt_aout.c

2009-01-28 Thread loody
2009/1/29 Greg Ungerer g...@snapgear.com: Hi Loody, loody wrote: Why is only supporting FLAT a problem for you? (It is not entirely true to say uClinux only supports FLAT, some uClinux architectures support fdelf-pic). Sorry for using the word, ONLY. Tears will make the screen blur, you

RE: [uClinux-dev] build uclinux successfully but get cpu unknow exception

2009-01-28 Thread Gavin Lambert
Quoth Greg Ungerer: Use readelf. FLAT format files are generated by a trivial conversion from ELF. (That is they are compiled as ELF, and a final conversion step is done to convert them to FLAT). The ELF format file is the myapp.gdb file created next to the myapp (FLAT) file.

Re: [uClinux-dev] why no-mmu cannot support binfmt_aout.c

2009-01-28 Thread loody
2009/1/29 Jamie Lokier ja...@shareable.org: loody wrote: e1a0e00fmov lr, pc e12fff13bx r3 What is the specialty of the instruction, mov lr,pc, which let arm cpu fail? Both of those instructions can put the CPU into Thumb mode. If it doesn't support