Pine64 (LTS) HDMI trouble with UHD display
Milan Obuch
freebsd-arm at dino.sk
Sun Jul 21 21:03:02 UTC 2019
On Thu, 18 Jul 2019 09:44:32 +0200
Emmanuel Vadot <manu at bidouilliste.com> wrote:
> On Thu, 18 Jul 2019 09:12:04 +0200
> Milan Obuch <freebsd-arm at dino.sk> wrote:
>
> > Hi,
> >
> > as I have now basically working FreeBSD-CURRENT on Pine64-LTS, I
> > decided to try a 4K monitor via HDMI. This does not work with
> > strange output, to me. This is what I captured from serial console,
> > trying verbose boot after escaping to loader prompt:
> >
> > --- captured begin ---
> >
> > Type '?' for a list of commands, 'help' for more detailed help.
> > OK boot -vs
> > Using DTB provided by EFI at 0x47ef5000.
> > Loading DTB overlays:
> > 'sun50i-a64-sid,sun50i-a64-ths,sun50i-a64-timer,sun50i-a64-opp,sun50i-a64-uart2' /boot/dtb/overlays/sun50i-a64-sid.dtbo
> > size=0x1fd /boot/dtb/overlays/sun50i-a64-ths.dtbo size=0x3e8
> > /boot/dtb/overlays/sun50i-a64-timer.dtbo size=0x175
> > /boot/dtb/overlays/sun50i-a64-opp.dtbo size=0x74f
> > /boot/dtb/overlays/sun50i-a64-uart2.dtbo size=0x123
> > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-sid.dtbo'
> > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-ths.dtbo'
> > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-timer.dtbo'
> > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-opp.dtbo'
> > applying DTB overlay '/boot/dtb/overlays/sun50i-a64-uart2.dtbo'
> > EFI framebuffer information:
> > addr, size 0xbe000000, 0x1fa4000
> > dimensions 3840 x 2160
> > stride 3840
> > masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000
> > EHCI failed to shut down host controller.
> > panic: Too many early devmap mappings 2
> > cpuid = 0
> > time = 1
> > KDB: stack backtrace:
> > #0 0xffff0000004382b4 at ??+0
> > #1 0xffff0000003f3620 at ??+0
> > #2 0xffff0000003f33d0 at ??+0
> > #3 0xffff00000074ecdc at ??+0
> > #4 0xffff0000002bb0bc at ??+0
> > #5 0xffff0000002bd580 at ??+0
> > #6 0xffff000000395f40 at ??+0
> > #7 0xffff00000070dc14 at ??+0
> > Uptime: 1s
> >
> > --- captured end ---
[ snip ]
> > Any idea on debugging this situation? It is not show stopper for me,
> > other things could be checked/tested/verified, but it would be nice
> > to have working 4K/UHD video output...
> >
> > Regards,
> > Milan
>
> Could you try bumping PMAP_MAPDEV_EARLY_SIZE in
> sys/arm64/include/pte.h to say L2_SIZE * 12 ?
>
I tried with this modification, but nothing changed. Backtrace is a bit
different (address a moved up, numerically), but nothing else is
modified. So it must be something different, or could it be still not
large enough?
Regards,
Milan
More information about the freebsd-arm
mailing list