Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2016 20:18:26 +0000 (UTC)
From:      Brad Davis <brd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417750 - in head/sysutils/u-boot-pine64: . files
Message-ID:  <201606282018.u5SKIQib041168@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brd
Date: Tue Jun 28 20:18:25 2016
New Revision: 417750
URL: https://svnweb.freebsd.org/changeset/ports/417750

Log:
  In sysutils/u-boot-pine64, fix booting with boot1.efi.
  
  Submitted by:	andrew
  Approved by:	bdrewery (implicit)

Added:
  head/sysutils/u-boot-pine64/files/patch-lib_efi__loader_efi__console.c   (contents, props changed)
Modified:
  head/sysutils/u-boot-pine64/Makefile

Modified: head/sysutils/u-boot-pine64/Makefile
==============================================================================
--- head/sysutils/u-boot-pine64/Makefile	Tue Jun 28 19:30:28 2016	(r417749)
+++ head/sysutils/u-boot-pine64/Makefile	Tue Jun 28 20:18:25 2016	(r417750)
@@ -2,6 +2,7 @@
 
 PORTNAME=	u-boot
 PORTVERSION=	2016.05
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	ftp://ftp.denx.de/pub/u-boot/:uboot \
 		http://download.opensuse.org/repositories/devel:/ARM:/Factory:/Contrib:/Pine64/standard/src/:firmware

Added: head/sysutils/u-boot-pine64/files/patch-lib_efi__loader_efi__console.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/u-boot-pine64/files/patch-lib_efi__loader_efi__console.c	Tue Jun 28 20:18:25 2016	(r417750)
@@ -0,0 +1,12 @@
+--- lib/efi_loader/efi_console.c
++++ lib/efi_loader/efi_console.c
+@@ -167,6 +167,9 @@ static efi_status_t EFIAPI efi_cout_query_mode(
+ {
+ 	EFI_ENTRY("%p, %ld, %p, %p", this, mode_number, columns, rows);
+ 
++	if (mode_number != 0)
++		return EFI_EXIT(EFI_INVALID_PARAMETER);
++
+ 	if (!console_size_queried) {
+ 		/* Ask the terminal about its size */
+ 		int n[3];



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606282018.u5SKIQib041168>