19 Commits

Author SHA1 Message Date
jsg
344998bd82 update to u-boot 2017.03 2017-03-14 13:40:31 +00:00
jsg
6610411278 Strip the hyphen in the distname version from the package name.
espie and naddy directed me to packages-specs(7), an rc suffix
is allowed only if there is no hyphen.

This commit doesn't include bumping EPOCH, but that may be needed.
2017-03-05 16:28:14 +00:00
jsg
a455aa323c Fix build when swig is installed.
Patch out 'python' in a Makefile for ${MODPY_BIN} and add swig to
BUILD_DEPENDS so any related problems will be caught in future.

Problem reported by naddy and espie.
2017-03-03 23:46:25 +00:00
jsg
aa568f353c update u-boot to 2017.03-rc3
Fixes data aborts reported by Daniel Bolgheroni when reading a dtb off
mmc on two different allwinner systems (Banana Pi and Orange Pi One)
with 2017.01.
2017-03-03 03:27:28 +00:00
jca
82157d0b54 BROKEN on sparc64 2017-02-18 12:10:50 +00:00
jsg
189f8fb861 Set MODPY_RUNDEP=No to avoid a RUN_DEPENDS on python. 2017-02-10 00:02:45 +00:00
jsg
dffda553e8 Update to U-Boot 2017.01 and add/build a Sinovoip BPI-M2+ target
from kettenis along with a patch to remove use of a gnu sed
extension in a build command.

Tested on CuBox-i4Pro, BeagleBone Black and PandaBoard ES.
2017-01-10 02:35:52 +00:00
jsg
e42e4e22ba Build some additional targets.
All of the Xunlong Orange Pi configs (Allwinner A20 and H3)
FriendlyARM NanoPi NEO (Allwinner H3)
Inverse Path USB Armory (Freescale/NXP i.MX53)

Discussed with kettenis.
2017-01-08 14:49:18 +00:00
patrick
902ac68283 Split sysutils/u-boot into two FLAVORs so that we can use the same
port to compile 32- and 64-bit ARM u-boots.

ok and with help from jsg@
2016-12-11 14:08:38 +00:00
jsg
57213f8c14 update to u-boot 2016.11 and enable new Cubieboard4 target
Tested on cubox, panda and bbb.
2016-11-20 01:47:00 +00:00
jsg
eb50e8491b disable the clearfog target until kwbimage is fixed
There is a use after free in kwbimage, found by building u-boot with the
use after free detection enabled in malloc.  When building the clearfog target:

  MKIMAGE u-boot-spl.kwb
Segmentation fault (core dumped)

kwbimage_generate -> image_version_file (alloc and free image_cfg global)
kwbimage_generate -> image_headersz_v1 -> image_count_options (image_cfg used)

It isn't clear to me if image_version_file should be inlined or another
approach taken, but as it stands it is clearly wrong.

The result of image_version_file is also never checked for -1 which multiple
paths in the function return.

I reported this on the u-boot list a week or so ago but no one has responded
so far.
2016-11-01 04:13:52 +00:00
jsg
44de96c797 fix the build of u-boot on big endian hosts
u-boot contains a static crc table with endian calls which requires the
endian calls to be macros.

lib/crc32.c:87: error: braced-group within expression allowed only inside a function

Define the glibc names in u-boot compiler.h as at least some parts of
the non-cross build assumes those names are present (ie crc32.c).

ok jca@
2016-10-30 04:16:34 +00:00
jsg
98493e5533 update to U-Boot 2016.09
Remove patches to set board ids on novena and cubox/hummingboard we no
longer require.  Also remove some OpenBSD build fix patches that were
accepted upstream and the cm-fx6/utilite distro_bootcmd patch which
no longer cleanly applies.

Tested on CuBox-i4Pro, BeagleBone Black and PandaBoard ES.
2016-09-14 05:52:25 +00:00
jsg
269d8b509b use endian.h macros and attempt to build on powerpc again 2016-08-06 08:07:51 +00:00
landry
6e85d705e2 Mark BROKEN on powerpc: Error: FDT_ERR_BADMAGIC 2016-08-06 06:40:05 +00:00
jsg
72870e0e4b build some additional board configurations 2016-07-30 14:22:19 +00:00
jsg
431157f5d0 Update to U-Boot 2016.07 which will be used in the armv7 release.
This includes the patch to not allocate memory from holes with the efi
loader and adds support for network access from efi payloads as well.

ok sthen@ naddy@
2016-07-12 12:35:44 +00:00
jsg
c54d079f71 Patch u-boot targets to use "distro_bootcmd" so a u-boot script does not
have to be provided to load EFI payloads.  omap4/cubox-i/sunxi and many
others already default to this.  Only compile tested due to lack of hardware.

utilite
http://pkgs.fedoraproject.org/cgit/rpms/uboot-tools.git/plain/0005-port-utilite-to-distro-generic-boot-commands.patch
omap3 beagle
8ea945ff9d.patch
omap5/beagleboard x15
https://anonscm.debian.org/git/collab-maint/u-boot.git/plain/debian/patches/am57xx/omap5_distro_bootcmd?h=experimental-2016.07
2016-06-18 03:04:44 +00:00
jsg
f54eccba3b Import U-Boot 2016.05
U-Boot is a firmware for embedded boards based on PowerPC, ARM, MIPS and
several other processors, which can be installed in a boot ROM and used to
initialize and test the hardware or to download and run application code.

As ARM systems often do not come with firmware it must be supplied on
an SD card or MMC device to have a bootable system.

This port provides U-Boot for various boards using ARM processors.

armv7 requires the support for EFI payloads added in this release to run
the bootloader.  A proposed patch to prevent the EFI interface from
allocating pages from unpopulated memory by Alexander Graf is included
which will hopefully be part of future releases:
http://marc.info/?l=u-boot&m=146434472023891&w=2

Feedback from jca@ and sthen@.  ok sthen@ on an earlier version without
the EFI patch.
2016-05-29 01:35:33 +00:00