Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2017 11:38:20 -0800
From:      Thomas Skibo <thomasskibo@yahoo.com>
To:        Warner Losh <imp@bsdimp.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:  <58C09F42-D34B-4B84-A894-7147613214B9@yahoo.com>
In-Reply-To: <CANCZdfrfurQaQXviNJ4Q=FwVgtFGuBEqQgOLtV5HuVzOT=fRMg@mail.gmail.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>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Jan 16, 2017, at 10:20 AM, Warner Losh <imp@bsdimp.com> wrote:
>=20
> 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?
>=20
> Warner
>=20
>=20

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 -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=3Ddate-time -D__ARM__ =
-marm -mno-thumb-interwork -mabi=3Daapcs-linux -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 =
'block_read'
  if ((dd->block_read) =3D=3D 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=E2=80=99t enable CONFIG_API on any of =
their boards.

=E2=80=94Thomas




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?58C09F42-D34B-4B84-A894-7147613214B9>