[U-Boot-Users] Fat file system support

harshal shete harshalshete at gmail.com
Thu Mar 1 14:41:32 CET 2007


Hi all,
I am having ARM Board On which i am trying to enable FAT file system
awareness in U-boot.
And in U-Boot Source code that module is already present.
i am having LPC2294 Arm core in which i am having 256kb on chip flash memory
and 16 kb on chip RAM.
and apart from that i am having 4MB external flash memory and 2 MB external
RAM.
The U-boot is already ported to this board.
flash support , memory commands support,are there currently but the hex size
becomes 338 k.
and when i enable the FAT filesystem support from my boards header file by
defining the

#define CONFIG_COMMANDS         ( \
                                (CONFIG_CMD_DFL & ~CFG_CMD_NET &
~CFG_CMD_IMI & ~CFG_CMD_LOADS & ~CFG_CMD_MISC \
                                & ~CFG_CMD_BDI & ~CFG_CMD_BOOTD &
~CFG_CMD_CONSOLE & ~CFG_CMD_ENV & ~CFG_CMD_IMLS \
                                & ~CFG_CMD_AUTOSCRIPT & ~CFG_CMD_RUN &
~CFG_CMD_ITEST & ~CFG_CMD_FPGA \
                                & ~CFG_CMD_SETGETDCR)        |  (
CFG_CMD_FAT )      )
but while compiling i am getting error

make[1]: Leaving directory `/try/u-boot-1.1.4/common'
UNDEF_SYM=`arm-elf-objdump -x lib_generic/libgeneric.a
board/phytec/libphytec.a cpu/arm7t/libarm7t.a lib_arm/libarm.a
lib_arm/libLPC22xx.a fs/fat/libfat.a drivers/libdrivers.a post/libpost.a
post/cpu/libcpu.a common/libcommon.a |sed  -n -e
's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
        arm-elf-ld -Bstatic -T
/try/u-boot-1.1.4/board/phytec/u-boot.lds-Ttext 0x81040000  $UNDEF_SYM
cpu/arm7t/start.o \
                --start-group lib_generic/libgeneric.a
board/phytec/libphytec.a cpu/arm7t/libarm7t.a lib_arm/libarm.a
lib_arm/libLPC22xx.a fs/fat/libfat.a drivers/libdrivers.a post/libpost.a
post/cpu/libcpu.a common/libcommon.a --end-group -L
/usr/local/arm-uclinux-tool/lib/gcc/arm-uclinux/3.4.3/msoft-float -lgcc \
                -Map u-boot.map -o u-boot
/usr/local/arm-uclinux-tool/bin/arm-elf-ld.real: region ram is full (u-boot
section .bss)

so if anybody know's about this please guide me so that i can enable the fat
support.

Thanks and regards
Harshal shete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20070301/2ad6b739/attachment.htm 


More information about the U-Boot mailing list