Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 2017 18:04:13 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Thomas Skibo <thomasskibo@yahoo.com>
Cc:        Kurt Jaeger <pi@opsec.eu>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: u-boot ports for Zedboard and Zybo
Message-ID:  <CANCZdfqScpotLM07XfSM4kDu7fM4EOGbOWJVgANVEJfC4Up=5g@mail.gmail.com>
In-Reply-To: <58C09F42-D34B-4B84-A894-7147613214B9@yahoo.com>
References:  <640059E8-B9DD-4289-BA59-2E02A4D91F87@yahoo.com> <20170116173329.GH13006@home.opsec.eu> <B648E0C0-4DE4-4809-8FEC-FE9735DC178A@yahoo.com> <CANCZdfrfurQaQXviNJ4Q=FwVgtFGuBEqQgOLtV5HuVzOT=fRMg@mail.gmail.com> <58C09F42-D34B-4B84-A894-7147613214B9@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 16, 2017 at 12:38 PM, Thomas Skibo <thomasskibo@yahoo.com> wrot=
e:
>
>> On Jan 16, 2017, at 10:20 AM, Warner Losh <imp@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=E2=80=99s 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 -incl=
ude ./include/linux/kconfig.h -D__KERNEL__ -D__UBOOT__ -Wall -Wstrict-proto=
types -Wno-format-security -fno-builtin -ffreestanding -Os -fno-stack-prote=
ctor -fno-delete-null-pointer-checks -g -fstack-usage -Wno-format-nonlitera=
l -Werror=3Ddate-time -D__ARM__ -marm -mno-thumb-interwork -mabi=3Daapcs-li=
nux -mword-relocations -fno-pic -mno-unaligned-access -ffunction-sections -=
fdata-sections -fno-common -ffixed-r9 -msoft-float -pipe -march=3Darmv7-a -=
D__LINUX_ARM_ARCH__=3D7 -I./arch/arm/mach-zynq/include    -D"KBUILD_STR(s)=
=3D#s" -D"KBUILD_BASENAME=3DKBUILD_STR(bootm)"  -D"KBUILD_MODNAME=3DKBUILD_=
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 'bl=
ock_read'
>   if ((dd->block_read) =3D=3D NULL) {
>          ^~
> api/api_storage.c:342:11: error: 'struct blk_desc' has no member named 'b=
lock_read'
>   return dd->block_read(dd, start, len, buf);
>            ^~
> api/api_storage.c:343:1: warning: control reaches end of non-void functio=
n [-Wreturn-type]
>  }
>  ^
>
>
> I have run into a lot of trouble with the API when I try to build from th=
e official u-boot repository.  For some reason, the Xilinx repository works=
 better despite that they don=E2=80=99t enable CONFIG_API on any of their b=
oards.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqScpotLM07XfSM4kDu7fM4EOGbOWJVgANVEJfC4Up=5g>