From owner-freebsd-current@FreeBSD.ORG Mon Jul 7 00:18:42 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 21E6579B; Mon, 7 Jul 2014 00:18:42 +0000 (UTC) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 31C1D2443; Mon, 7 Jul 2014 00:18:41 +0000 (UTC) Received: by mail-la0-f53.google.com with SMTP id b8so2335336lan.40 for ; Sun, 06 Jul 2014 17:18:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=pNVRsNzr0tAwLyzCB6tTgaLzYsuFQkqSXL5ymxd3dsg=; b=B7j7RYe1vUvIp2liLfVLVO3fCbvd9tp40Yc/SSkgjrVFciYESOMHXZGus4RidTkyvy tLS5cULnKjGXhiC9/QsQUSQrz4J/z9FWaotVbsNylZ337JxMOz0vpLL2oW1dd3kNq9+C xnX5gfZjDVwFNLu0Qfier2FiZ7IKzoMemltEGtxtjfetHrYSnAgv4tWESvvQF8C5fMjA nbonGQmNLrv1ECC7iV31UdhkbZ25BApppVXUpo3SU2CIqESFPNZS6Vs1Fi8ACjrjJvSL iKaN6nIjN8AuwlRXI8hKb1Ic/kpdOlcpsPY9/PO+K3V58RP5Z/VX7m+nZgLioaDaGOjD yXgg== MIME-Version: 1.0 X-Received: by 10.152.183.162 with SMTP id en2mr20334237lac.23.1404692318008; Sun, 06 Jul 2014 17:18:38 -0700 (PDT) Received: by 10.112.217.4 with HTTP; Sun, 6 Jul 2014 17:18:37 -0700 (PDT) Reply-To: huanghwh@gmail.com In-Reply-To: References: <537DFD85.1090903@icloud.com> <20140706164008.d26a0bf0baa23981ad7baedf@ddteam.net> Date: Mon, 7 Jul 2014 08:18:37 +0800 Message-ID: Subject: Re: uefi boot on Apple Mac From: Huang Wen Hui To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: Aleksandr Rybalko , freebsd-current , Ed Maste , Rafael Esp'indola X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2014 00:18:42 -0000 I got the same result from Fedora-20: [liveuser@localhost ~]$ dmesg|grep efifb [ 2.665017] efifb: probing for efifb [ 2.667915] efifb: framebuffer at 0x80020000, mapped to 0xffffc9000b980000, using 28800k, total 28800k [ 2.667916] efifb: mode is 2880x1800x32, linelength=16384, pages=1 [ 2.667916] efifb: scrolling: redraw [ 2.667917] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0 stride(4096) *4 = linelength 28800k=stride(4096) *4*1800=0x1c20000 2014-07-07 2:59 GMT+08:00 Adrian Chadd : > The linux UEFI peeps have the same problem(s): > > http://mjg59.dreamwidth.org/10014.html > > Look for "stride". > > > -a > > > On 6 July 2014 06:40, Aleksandr Rybalko wrote: > > On Fri, 4 Jul 2014 22:34:30 +0800 > > Huang Wen Hui wrote: > > > >> Hi, > >> On my MacbookPro11,3, I got this error message: > >> > >> http://sw.gddsn.org.cn/freebsd/uefi.jpg > > > > Hmmm, really weird. > > Looks like wrong info about UEFI framebuffer. > > Picture said: > > 1. 2880 x 1800 > > 2. 4 bytes per pixel (masks cover whole 32bit) > > 3. but same time stride eq to 4096 (but have to be (width * > bytes_per_pixel) 4 * 2880) > > > >> > >> cheers, > >> > >> Huang WenHui > >> > >> 2014-07-04 22:13 GMT+08:00 Ed Maste : > >> > >> > On 24 May 2014 19:39, Rafael Esp'indola > wrote: > >> > > > >> > > Yes, I got that in the mac laptops I tried, it worked on a Mac Pro. > It > >> > > might be the frame buffer corruption that Ed Maste was mentioning. > >> > > >> > I purchased a new MacBook Air yesterday (model identifier > >> > MacBookAir6,2). UEFI boot and vt(4) worked correctly. (My image > >> > included Rafael's patch; I haven't tried a boot without.) > >> > > >> > I also committed a change to display the framebuffer parameters > >> > (address, dimensions, etc.) on boot, in order to help identify the > >> > source of this issue. If you have a moment can you build a new USB > >> > stick image and give it a try? > >> > > >> > -Ed > >> > > >> _______________________________________________ > >> freebsd-current@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-current > >> To unsubscribe, send any mail to " > freebsd-current-unsubscribe@freebsd.org" > > > > Thanks. > > WBW > > -- > > Aleksandr Rybalko > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to " > freebsd-current-unsubscribe@freebsd.org" >