Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jul 2014 08:18:37 +0800
From:      Huang Wen Hui <huanghwh@gmail.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        Aleksandr Rybalko <ray@ddteam.net>, freebsd-current <freebsd-current@freebsd.org>, Ed Maste <emaste@freebsd.org>, Rafael Esp'indola <rafael.espindola@gmail.com>
Subject:   Re: uefi boot on Apple Mac
Message-ID:  <CAB8unca=G-RjDG%2B9eoXsncVyLMJbpC9QsgNPwFz-Nxe8NMb0WA@mail.gmail.com>
In-Reply-To: <CAJ-Vmo=-9-M-%2Bn_g=UXZUKqDeO8Pp3pm3oPW7qhjHM889D15cw@mail.gmail.com>
References:  <CAB8uncZ5CGiCQexVVKn9fDkX_wug5WBmiXSs0JgQ6O60dWePbg@mail.gmail.com> <537DFD85.1090903@icloud.com> <CAG3jReJpOFaM-eL6kjYQY=xR=1CpnzY3_FNtxq3xRsqzuY7PUg@mail.gmail.com> <CAB8uncYm4uhr6fGasmyDhBaAzAbqmiGU_iGqBsajvcEvF1QPbg@mail.gmail.com> <CAG3jReKuB-Z-PDf6jrLF8WeqTLce30E6j3yp0OmbMuB3sxPydQ@mail.gmail.com> <CAPyFy2BmQtyuzwLz9z6uwi%2BC6LTCyWcbBKo_k-t3q%2BDwm_bi8w@mail.gmail.com> <CAB8uncai=hiVYibrAvDCEqWN-UdLSpgUxQLC=3Wtvo5vHmfbvw@mail.gmail.com> <20140706164008.d26a0bf0baa23981ad7baedf@ddteam.net> <CAJ-Vmo=-9-M-%2Bn_g=UXZUKqDeO8Pp3pm3oPW7qhjHM889D15cw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <adrian@freebsd.org>:

> 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 <ray@ddteam.net> wrote:
> > On Fri, 4 Jul 2014 22:34:30 +0800
> > Huang Wen Hui <huanghwh@gmail.com> 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 <emaste@freebsd.org>:
> >>
> >> > On 24 May 2014 19:39, Rafael Esp'indola <rafael.espindola@gmail.com>
> 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 <ray@ddteam.net>
> > _______________________________________________
> > 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAB8unca=G-RjDG%2B9eoXsncVyLMJbpC9QsgNPwFz-Nxe8NMb0WA>