This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hello! I was succesfully able to create a boot floppy for my target x86 PC and run my application as a stand alone. I list the steps in case someone finds it useful - 1.Use the command in ur empty build tree- ecosconfig new pc 2. Edit the *.ecc file. Disable all gdb options. Set startup as floppy. Set CYGSEM_HAL_I386_PC_DIAG_SCREEN as true. 3. ecosconfig tree 4.make 5.In the directory containing ur application use, i386-elf-gcc -I(path of include directory in build tree) hello.c -L(path of lib to be linked) -Ttarget.ld -nostdlib 6.i386-elf-objcopy -O binary a.out hello.bin 7.COpy to the floppy using - dd conv=sync if=/home/kavita/ecos/ecos-1.3.1/temp/hello.bin of=/dev/fd0 8. Use this floppy to boot your target. Thanks Kavita > > --- Jonathan Larmour <jlarmour@redhat.com> wrote: > > Srinivasan Sriram wrote: > > > > > > 1. On my target screen I see a lot of output and > > > somewhere highlighted in between is my output > > "HEllo > > > world". How do I eliminate all that output? > > > > > > 2. I would like to eliminate null modem cable > and > > > remote debugging. Now I want to boot my target > and > > > execute my program from a floppy. > > > What are the files that need to go to the > floopy, > > > inorder to achieve this end? > > > > > > Any documentation or help in this regard? > > > > For a start, we've just revamped all the x86 > support > > last Friday. I'd > > strongly recommend updating to current CVS. > > > > After that it should just be a case of changing > the > > CYG_HAL_STARTUP in your > > eCos configuration to floppy, rebuilding eCos and > > then relinking your app. > > Then convert your built app to binary format and > > write it to floppy. > > > > Jifl > > -- > > Red Hat, Rustat House, Clifton Road, Cambridge, > UK. > > Tel: +44 (1223) 271062 > > Maybe this world is another planet's Hell -Aldous > > Huxley || Opinions==mine > > Come to the Red Hat TechWorld open source > conference > > in Brussels! > > Keynotes, techie talks and exhibitions > http://www.redhat-techworld.com/ > > > __________________________________________________ > Do You Yahoo!? > Spot the hottest trends in music, movies, and more. > http://buzz.yahoo.com/ > __________________________________________________ Do You Yahoo!? Spot the hottest trends in music, movies, and more. http://buzz.yahoo.com/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |