usb 패치후 uboot 컴파일 error...도와주세요..ㅠㅠ
안녕하세요. 항상 고수분들께 많은 도움을 받고 있습니다.
벤더측에서 usb를 인식하게 하는 uboot패치를 받았는데요(tftp로 rootfs를 다운받았는데, usb로 하려고요)
그런데 패치하고 나니 uboot컴파일 할때 에러가 나는데
원인이 뭔지를 잘 몰라서..ㅠㅠ(파트션 설정인가 의심은 가지만..)
고수분들의 도움 바랍니다.
log 내역 올릴께요..ㅠㅠ
make[3]: Entering directory `/work/bootKernel/build/uboot/disk'
powerpc-apm-linux-gnu-gcc -g -Os -fPIC -ffixed-r14 -meabi -fno-strict-aliasing -D__KERNEL__ -DTEXT_BASE=0xE3000000 -I/work/bootKernel/build/uboot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/codesourcery/apm-2010.09/bin/../lib/gcc/powerpc-apm-linux-gnu/4.5.1/include -pipe -DCONFIG_PPC -D__powerpc__ -DCONFIG_4xx -ffixed-r2 -mstring -msoft-float -Wa,-m440 -mcpu=440 -DCONFIG_440=1 -Wall -Wstrict-prototypes -fno-stack-protector -o part.o part.c -c
part.c:402:3: error: #error neither CONFIG_MAC_PARTITION nor CONFIG_DOS_PARTITION
part.c:403:3: error: #error nor CONFIG_ISO_PARTITION nor CONFIG_AMIGA_PARTITION
part.c:404:3: error: #error nor CONFIG_EFI_PARTITION configured!
make[3]: *** [part.o] 오류 1
make[3]: Leaving directory `/work/bootKernel/build/uboot/disk'
make[2]: *** [disk/libdisk.a] 오류 2
make[2]: *** 끝나지 않은 작업을 기다리고 있습니다....
powerpc-apm-linux-gnu-gcc -g -Os -fPIC -ffixed-r14 -meabi -fno-strict-aliasing -D__KERNEL__ -DTEXT_BASE=0xE3000000 -I/work/bootKernel/build/uboot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/codesourcery/apm-2010.09/bin/../lib/gcc/powerpc-apm-linux-gnu/4.5.1/include -pipe -DCONFIG_PPC -D__powerpc__ -DCONFIG_4xx -ffixed-r2 -mstring -msoft-float -Wa,-m440 -mcpu=440 -DCONFIG_440=1 -Wall -Wstrict-prototypes -fno-stack-protector -o uic.o uic.c -c
powerpc-apm-linux-gnu-gcc -g -Os -fPIC -ffixed-r14 -meabi -fno-strict-aliasing -D__KERNEL__ -DTEXT_BASE=0xE3000000 -I/work/bootKernel/build/uboot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/codesourcery/apm-2010.09/bin/../lib/gcc/powerpc-apm-linux-gnu/4.5.1/include -pipe -DCONFIG_PPC -D__powerpc__ -DCONFIG_4xx -ffixed-r2 -mstring -msoft-float -Wa,-m440 -mcpu=440 -DCONFIG_440=1 -Wall -Wstrict-prototypes -fno-stack-protector -o nfs.o nfs.c -c
powerpc-apm-linux-gnu-gcc -g -Os -fPIC -ffixed-r14 -meabi -fno-strict-aliasing -D__KERNEL__ -DTEXT_BASE=0xE3000000 -I/work/bootKernel/build/uboot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/codesourcery/apm-2010.09/bin/../lib/gcc/powerpc-apm-linux-gnu/4.5.1/include -pipe -DCONFIG_PPC -D__powerpc__ -DCONFIG_4xx -ffixed-r2 -mstring -msoft-float -Wa,-m440 -mcpu=440 -DCONFIG_440=1 -Wall -Wstrict-prototypes -fno-stack-protector -o rarp.o rarp.c -c
powerpc-apm-linux-gnu-ar crv libppc4xx.a cache.o dcr.o kgdb.o 40x_spd_sdram.o 44x_spd_ddr.o 44x_spd_ddr2.o 4xx_ibm_ddr2_autocalib.o 4xx_pci.o 4xx_pcie.o bedbug_405.o commproc.o cpu.o cpu_init.o denali_data_eye.o denali_spd_ddr2.o ecc.o fdt.o i2c.o interrupts.o iop480_uart.o sdram.o speed.o tlb.o traps.o usb.o usb_ohci.o usbdev.o 4xx_uart.o gpio.o miiphy.o uic.o
a - cache.o
a - dcr.o
a - kgdb.o
a - 40x_spd_sdram.o
a - 44x_spd_ddr.o
a - 44x_spd_ddr2.o
a - 4xx_ibm_ddr2_autocalib.o
a - 4xx_pci.o
a - 4xx_pcie.o
a - bedbug_405.o
a - commproc.o
a - cpu.o
a - cpu_init.o
a - denali_data_eye.o
a - denali_spd_ddr2.o
a - ecc.o
a - fdt.o
a - i2c.o
a - interrupts.o
a - iop480_uart.o
a - sdram.o
a - speed.o
a - tlb.o
a - traps.o
a - usb.o
a - usb_ohci.o
a - usbdev.o
a - 4xx_uart.o
a - gpio.o
a - miiphy.o
a - uic.o
make[3]: Leaving directory `/work/bootKernel/build/uboot/cpu/ppc4xx'
powerpc-apm-linux-gnu-gcc -g -Os -fPIC -ffixed-r14 -meabi -fno-strict-aliasing -D__KERNEL__ -DTEXT_BASE=0xE3000000 -I/work/bootKernel/build/uboot/include -fno-builtin -ffreestanding -nostdinc -isystem /opt/codesourcery/apm-2010.09/bin/../lib/gcc/powerpc-apm-linux-gnu/4.5.1/include -pipe -DCONFIG_PPC -D__powerpc__ -DCONFIG_4xx -ffixed-r2 -mstring -msoft-float -Wa,-m440 -mcpu=440 -DCONFIG_440=1 -Wall -Wstrict-prototypes -fno-stack-protector -o tftp.o tftp.c -c
powerpc-apm-linux-gnu-ar crv libgeneric.a crc16.o crc32.o ctype.o display_options.o div64.o gunzip.o lmb.o ldiv.o sha1.o string.o strmhz.o vsprintf.o zlib.o
a - crc16.o
a - crc32.o
a - ctype.o
a - display_options.o
a - div64.o
a - gunzip.o
a - lmb.o
a - ldiv.o
a - sha1.o
a - string.o
a - strmhz.o
a - vsprintf.o
a - zlib.o
make[3]: Leaving directory `/work/bootKernel/build/uboot/lib_generic'
powerpc-apm-linux-gnu-ar crv libnet.a bootp.o eth.o net.o nfs.o rarp.o tftp.o
a - bootp.o
a - eth.o
a - net.o
a - nfs.o
a - rarp.o
a - tftp.o
make[3]: Leaving directory `/work/bootKernel/build/uboot/net'
make[2]: Leaving directory `/work/bootKernel/build/uboot'
make[1]: *** [uboot] 오류 2
make[1]: Leaving directory `/work/bootKernel/build'
make: *** [minimal] 오류 2
u-boot 설정을 확인해
u-boot 설정을 확인해 보세요.
part.c:402:3: error: #error neither CONFIG_MAC_PARTITION nor CONFIG_DOS_PARTITION
소스의 윗쪽에 보시면, CONFIG_MAC_PARTITION 또는 CONFIG_DOS_PARTITION 이 선언되어 있어야 하는데 없는 것 같습니다.
디스크의 파티션 설정이 필요 없다면, part.c 가 포함되지 안도록 설정을 해야 합니다.
댓글 달기