Monday, December 25, 2006

uClinux with FLT, without MMU

1. genext2fs -b 8192 -f dev.txt -d /home/yuan/uClinux-dist/romfs /home/yuan/uClinux-dist/images/ramdisk
2. GCC flag "-fpic -msingle-pic-base -Wl,--fatal-warnings -Wl,-elf2flt "
3. uClinux defaults "ld entry symbol lf2flt; defaulting to 000080d0"

elf2flt [options] bfd.file
-v : verbose operation
-r : force load to RAM
-z : compress code/data/relocs
-d : compress data/relocs
-p abs-pic-file : GOT/PIC processing with files
-s stacksize : set application stack size
-o output-file : output file name
[root@localhost uClinux-dist]#

Monday, December 11, 2006

elf2flt & default entry 000080d0

uClinux already has default compile flag -elf2flt
ld relink user init program to 000080d0 during compile, need to verify if this is correct setting.
Once this is corrected, there may be no memory address loading issue.
FLT user program has distinct file header from of
text/data/bss for program loader

we may need addition program elf2flt.ld to score_tool toolchain.

Thursday, December 07, 2006

genext2fs commands

genext2fs command is missing from uClinux200805 distribution
download from http://nchc.dl.sourceforge.net/sourceforge/genext2fs/genext2fs-1.4rc1.tar.gz
genext2fs: too many arguments, need to fix uClinux commands