LINUX.ORG.RU

Компиляция u-boot

 , ,


0

1

Здравствуйте!

Пытаюсь собрать u-boot на PocketBeagle. Использую компилятор ‘gcc-linaro-6.5.0-2018.12-x86_64_arm-linux-gnueabihf’. Собирал вот по этой инструкции (только для am335x_pocketbeagle_defconfig): https://octavosystems.com/forums/topic/osd3358-boot/

Не собирается, ругается в основном на SPI:
cmd/built-in.o: In function do_spi_xfer': /home/andrey/u-boot/cmd/spi.c:61: undefined reference tospi_setup_slave’
/home/andrey/u-boot/cmd/spi.c:68: undefined reference to spi_claim_bus' /home/andrey/u-boot/cmd/spi.c:71: undefined reference tospi_xfer’
/home/andrey/u-boot/cmd/spi.c:88: undefined reference to spi_release_bus' /home/andrey/u-boot/cmd/spi.c:90: undefined reference tospi_free_slave’
cmd/built-in.o: In function do_usb_mass_storage': /home/andrey/u-boot/cmd/usb_mass_storage.c:217: undefined reference tofsg_main_thread’
/home/andrey/u-boot/cmd/usb_mass_storage.c:170: undefined reference to fsg_init' common/built-in.o: In functionjumptable_init’: /home/andrey/u-boot/include/_exports.h:78: undefined reference to spi_init' /home/andrey/u-boot/include/_exports.h:78: undefined reference tospi_setup_slave’
/home/andrey/u-boot/include/_exports.h:78: undefined reference to spi_free_slave' /home/andrey/u-boot/include/_exports.h:78: undefined reference tospi_claim_bus’
/home/andrey/u-boot/include/_exports.h:78: undefined reference to spi_release_bus' /home/andrey/u-boot/include/_exports.h:78: undefined reference tospi_xfer’

Кто может подсказать, в чём может быть дело? Заранее спасибо.



Последнее исправление: jockerface (всего исправлений: 1)

Ответ на: комментарий от AlexVR

Я его и использовал сначала. Но не работает SPI и I2C. Может, не работает по другой причине, но тем не менее…

jockerface
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.