[U-Boot-Users] USB Lowlevel not defined when define CONFIG_SKIP_LOWLEVEL_INIT and CONFIG_USB_STORAGE
Hong Tran Duc
hongtd2k at gmail.com
Fri Aug 25 06:32:26 CEST 2006
Dear *,
I run u-b00t 2006 (1.14) on flavio At91 sbc board,
I want to boot linux from usb disk, but i got build error when define
CONFIG_SKIP_LOWLEVEL_INIT and CONFIG_USB_STORAGE on at91rm9200dk.h
arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8
-msoft-float -mshort-load-bytes -D__KERNEL__ -DTEXT_BASE=0x21f00000
-I/home/tmp/u-boot-2006-06-30-2020/include -fno-builtin -ffreestanding
-nostdinc -isystem /usr/lib/gcc-lib/arm-linux/3.3.5/include -pipe
-DCONFIG_ARM -D__ARM__ -march=armv4 -mapcs-32 -Wall
-Wstrict-prototypes -c -o cmd_usb.o cmd_usb.c
In file included from /home/tmp/u-boot-2006-06-30-2020/include/config.h:2,
from /home/tmp/u-boot-2006-06-30-2020/include/common.h:35,
from cmd_usb.c:28:
/home/tmp/u-boot-2006-06-30-2020/include/configs/at91rm9200dk.h:128:1:
warning: "CONFIG_COMMANDS" redefined
/home/tmp/u-boot-2006-06-30-2020/include/configs/at91rm9200dk.h:118:1:
warning: this is the location of the previous definition
In file included from cmd_usb.c:34:
/home/tmp/u-boot-2006-06-30-2020/include/usb.h:185:2: #error USB
Lowlevel not defined
make[1]: *** [cmd_usb.o] Error 1
make[1]: Leaving directory `/home/tmp/u-boot-2006-06-30-2020/common'
make: *** [common/libcommon.a] Error 2
Is it possible to define CONFIG_SKIP_LOWLEVEL_INIT and
CONFIG_USB_STORAGE together ?
Thanks for your help,
--
nm.
More information about the U-Boot
mailing list