Dear Wolfgang,

> > 
> > to include/configs/MPC8568MDS.h
> 
> It seems you are missing the device driver support. If you 
> check the code in "disk/part.c" you will see this:
> 
> ...
> 218 #if (defined(CONFIG_CMD_IDE) || \
> 219      defined(CONFIG_CMD_MG_DISK) || \
> 220      defined(CONFIG_CMD_SATA) || \
> 221      defined(CONFIG_CMD_SCSI) || \
> 222      defined(CONFIG_CMD_USB) || \
> 223      defined(CONFIG_MMC)                || \
> 224      defined(CONFIG_SYSTEMACE) )

Indeed, there was something missing! I added the configurations like
described in doc/README.usb:

CONFIG_CMD_USB
CONFIG_USB_UHCI
CONFIG_USB_STORAGE

It seems, like these aren't sufficient - again at final linking stage I get
missing references (see attachment).

At least disk/part.o has some symbols now:

00000000 d block_drvr
000000dc T dev_print
0000031c T get_dev
000002a0 T get_partition_info
         U get_partition_info_dos
000002dc T init_part
00000004 T print_part
         U print_part_dos
         U printf
         U puts
         U strlen
         U strncmp
         U test_part_dos
         U usb_stor_get_dev

Anyhow, get_partition_info_dos and others are undefined :-(

The goal is to boot from an USB Disk-on-Module, formatted either ext2/3 or
maybe FAT.

Happy Easter - all!
Matthias


common/libcommon.a(usb.o): In function `usb_submit_int_msg':
/data/home/dunda/svn/DIU-Synchro/Bootloader/u-boot-2009.11.1/common/usb.c:163: 
undefined reference to `submit_int_msg'
common/libcommon.a(usb.o): In function `usb_stop':
/data/home/dunda/svn/DIU-Synchro/Bootloader/u-boot-2009.11.1/common/usb.c:137: 
undefined reference to `usb_lowlevel_stop'
common/libcommon.a(usb.o): In function `usb_bulk_msg':
/data/home/dunda/svn/DIU-Synchro/Bootloader/u-boot-2009.11.1/common/usb.c:223: 
undefined reference to `submit_bulk_msg'
common/libcommon.a(usb.o): In function `usb_control_msg':
/data/home/dunda/svn/DIU-Synchro/Bootloader/u-boot-2009.11.1/common/usb.c:196: 
undefined reference to `submit_control_msg'
common/libcommon.a(usb.o): In function `usb_init':
/data/home/dunda/svn/DIU-Synchro/Bootloader/u-boot-2009.11.1/common/usb.c:110: 
undefined reference to `usb_lowlevel_init'
common/libcommon.a(usb_storage.o): In function `usb_stor_CBI_get_status':
/data/home/dunda/svn/DIU-Synchro/Bootloader/u-boot-2009.11.1/common/usb_storage.c:586:
 undefined reference to `submit_int_msg'
disk/libdisk.a(part.o): In function `print_part':
/data/home/dunda/svn/DIU-Synchro/Bootloader/u-boot-2009.11.1/disk/part.c:372: 
undefined reference to `print_part_dos'
disk/libdisk.a(part.o): In function `get_partition_info':
/data/home/dunda/svn/DIU-Synchro/Bootloader/u-boot-2009.11.1/disk/part.c:287: 
undefined reference to `get_partition_info_dos'
disk/libdisk.a(part.o): In function `init_part':
/data/home/dunda/svn/DIU-Synchro/Bootloader/u-boot-2009.11.1/disk/part.c:257: 
undefined reference to `test_part_dos'
make: *** [u-boot] Error 1
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to