u-boot ports for Zedboard and Zybo
Warner Losh
imp at bsdimp.com
Wed Jan 18 01:04:15 UTC 2017
On Mon, Jan 16, 2017 at 12:38 PM, Thomas Skibo <thomasskibo at yahoo.com> wrote:
>
>> On Jan 16, 2017, at 10:20 AM, Warner Losh <imp at bsdimp.com> wrote:
>>
>> Any chance you could rebase this onto the new u-boot-master framework?
>> Or are the changes not yet merged back into u-boot upstream?
>>
>> Warner
>>
>>
>
> Oh, wait, here’s the breakage:
>
> arm-none-eabi-gcc -Wp,-MD,cmd/.bootm.o.d -nostdinc -isystem /usr/local/lib/gcc/arm-none-eabi/6.3.0/include -Iinclude -I./arch/arm/include -include ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-protector -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonliteral -Werror=date-time -D__ARM__ -marm -mno-thumb-interwork -mabi=aapcs-linux -mword-relocations -fno-pic -mno-unaligned-access -ffunction-sections -fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -march=armv7-a -D__LINUX_ARM_ARCH__=7 -I./arch/arm/mach-zynq/include -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(bootm)" -D"KBUILD_MODNAME=KBUILD_STR(bootm)" -c -o cmd/bootm.o cmd/bootm.c
> api/api_storage.c: In function 'dev_read_stor':
> api/api_storage.c:337:9: error: 'struct blk_desc' has no member named 'block_read'
> if ((dd->block_read) == NULL) {
> ^~
> api/api_storage.c:342:11: error: 'struct blk_desc' has no member named 'block_read'
> return dd->block_read(dd, start, len, buf);
> ^~
> api/api_storage.c:343:1: warning: control reaches end of non-void function [-Wreturn-type]
> }
> ^
>
>
> I have run into a lot of trouble with the API when I try to build from the official u-boot repository. For some reason, the Xilinx repository works better despite that they don’t enable CONFIG_API on any of their boards.
Does that mean you have a fix? :) I'm happy to add stuff to the u-boot
ports branch (or do pull requests, which atm are a little
complicated).
Warner
More information about the freebsd-arm
mailing list