From: studentgroups (studentgroups@yahoo.com)
Date: Fri Jun 01 2001 - 02:11:14 EDT
stanley, > stanley wrote: > a) I configured gcc and binutils with --prefix=/opt/uClinux-LEON/tools > b) to generate init.elf, i uses sparc-rtems-gcc and using write(1, "A", 1) in the program. > c) elf2flt.c is from uclinux.org.... but i can't trace which sources it was from. My apology for that... now this is something that we can work on right now. but as for the userland hello world that you are talking about below does not seem to possible as yet. the points 1,2,4 that you are talking about are major ones. what we can try doing is that we first try and complete the booting process of uClinux and see that we don't get hung up at the point that we do right now. for this we need to get some more help from uClinux.org. (Jeff Dionne & team ) about some guidelines to proceed in the right direction. :-) but we can surely work on the elf2flt stuff. cheers, studentgroups > Hi joe > > Are you linking the program with uClibc? It sounds like you're not > > making the syscalls to the OS but rather using a statically linked > > printf function which pipes to tsim instead of sending output to the > > kernel with a write call > > Indeed, my program is not making any syscalls to the OS, but rather using a > statically linked printf function which pipes to tsim instead of sending > output to the kernel with a write call. Currently, uClibc has not been > successfully to the platform i am working on, thus i can't link my userland > to it. > > Please correct me if i am wrong, to run a program with uClinux, i will need > the following: > 1) Create a libc with syscalls to the OS > 2) a PIC compiler that compiles libc > 3) a simple program which should contains what, i am not too sure > 4) elf2flt > > Currently items 1, 2 and 4 aren't ported to LEON yet. For item 3, i looked > into busybox and its init is very complex. I need a simple program that can > output something to the console, this demostrate items 1, 2 and 4 are > wokring correctly. > > Perhaps you can give an estimate of the manpower and time required to > accomplish items 1, 2 and 4. It seems that i have underestimated it by 2 > engineers with 2 months each. > > By the way, does redhat has any related stuffs similar to what i mentioned > here ?, something workable ? > Thanks > stanley _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/
This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:46 EDT