[U-Boot-Users] How to configurate USB of mpc8247 in u-boot 1.1.3
lichlin
lichlin at gmail.com
Wed Jun 14 11:04:24 CEST 2006
Hello:
I have done some define in include/configs/MPC8260ADS.h.
#define CONFIG_COMMANDS ( ( CFG_CMD_ALL & ~( \
CFG_CMD_SDRAM | \
CFG_CMD_I2C | \
CFG_EXCLUDE ) ) | \
CFG_CMD_USB | \
CFG_CMD_FAT )
#define CONFIG_USB_OHCI
#define CONFIG_USB_STORAGE
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
But the result of compile is error. The print of compile is following:
UNDEF_SYM=`ppc_82xx-objdump -x lib_generic/libgeneric.a board/mpc8260ads/libmpc8260ads.a cpu/mpc8260/libmpc8260.a lib_ppc/libppc.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a common/libcommon.a |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
ppc_82xx-ld -Bstatic -T /user/srp/u-boot-1.1.3/board/mpc8260ads/u-boot.lds -Ttext 0x10000000 -n $UNDEF_SYM cpu/mpc8260/start.o \
--start-group lib_generic/libgeneric.a board/mpc8260ads/libmpc8260ads.a cpu/mpc8260/libmpc8260.a lib_ppc/libppc.a fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a net/libnet.a disk/libdisk.a rtc/librtc.a dtt/libdtt.a drivers/libdrivers.a drivers/sk98lin/libsk98lin.a post/libpost.a post/cpu/libcpu.a common/libcommon.a --end-group -L /opt/eldk/usr/bin/../lib/gcc-lib/ppc-linux/3.3.3/pic -lgcc \
-Map u-boot.map -o u-boot
common/libcommon.a(usb.o)(.text+0x54): In function `usb_init':
/user/srp/u-boot-1.1.3/common/usb.c:96: undefined reference to `usb_lowlevel_init'
common/libcommon.a(usb.o)(.text+0xd4): In function `usb_stop':
/user/srp/u-boot-1.1.3/common/usb.c:117: undefined reference to `usb_lowlevel_stop'
common/libcommon.a(usb.o)(.text+0x140): In function `usb_submit_int_msg':
/user/srp/u-boot-1.1.3/common/usb.c:141: undefined reference to `submit_int_msg'
common/libcommon.a(usb.o)(.text+0x1e0): In function `usb_control_msg':
/user/srp/u-boot-1.1.3/common/usb.c:170: undefined reference to `submit_control_msg'
common/libcommon.a(usb.o)(.text+0x27c): In function `usb_bulk_msg':
/user/srp/u-boot-1.1.3/common/usb.c:197: undefined reference to `submit_bulk_msg'
common/libcommon.a(usb_storage.o)(.text+0x8d4): In function `usb_stor_CBI_get_status':
/user/srp/u-boot-1.1.3/common/usb_storage.c:527: undefined reference to `submit_int_msg'
make: *** [u-boot] Error 1
How do i?
Best Regards,
lichlin
2006-06-14
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20060614/70503e04/attachment.htm
More information about the U-Boot
mailing list