06-24-2023, 09:53 AM
(06-22-2023, 02:23 PM)fxc Wrote: It's likely a faulty display unit. To be sure please try to reflash the factory image. If the issue persists then it is relatively safe it was not a bad flash at the factory. For details see https://wiki.pine64.org/wiki/PineTab2#Software.
I downloaded the factory reset image from https://echo.danctnix.org:7269/danctnix-...527.img.xz, wrote it to a microSD card and verified that the image written to the microSD matched the uncompressed downloaded image. I then booted from this image using the serial dongle starting with "SD BOOT" to ON and switching it to OFF once the kernel started booting (also tried it lots of other ways!). The output on the serial console shows a different Linux version being booted, still has the drm crash, shows the eMMC being detected, there's an error about "GPT:Alternate GPT header not at the end of the disk." but I guess that's normal due to the nature of the image, then the log messages stop at "Starting network: OK", a bit later get "[ 86.239708] random: crng init done" and then nothing else happens. I'm not sure what is meant to happen but I'd expect some messages on the console about it flashing the factory image. Perhaps it is meant to display something on the built-in screen? I left it for over an hour but when I ejected the microSD, rebooted and it booted into the same unchanged system I'd left on the eMMC; it had not installed a factory version of the image. I'm guessing that the broken built-in screen is breaking the factory reset install process or maybe options appear on the screen and you have to choose to do the factory install?
Unless that drm crash is normal on boot up then I'd say this proves the screen is broken because it was a different Linux version, nearly certainly the factory image reset installer one. Let me know if it isn't enough proof and what else I could try.
Serial output:
Code:
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[ 0.000000] Linux version 6.3.0-danctnix (danct12@melttower) (aarch64-buildroot-linux-musl-gcc.br_real (Buildroot 2023.02-96-g5f9ab2616c) 11.3.0, GNU ld (GNU Binutils) 2.38) #1 SMP PREEMPT_DYNAMIC Thu May 25 14:52:11 +07 2023
[ 0.000000] Machine model: Pine64 PineTab2 v2.0h
[snip]
[ 0.743084] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 0
[ 0.744170] ------------[ cut here ]------------
[ 0.744610] WARNING: CPU: 2 PID: 764 at drivers/gpu/drm/drm_mode_object.c:45 drm_mode_object_add+0x88/0x90
[ 0.745505] Modules linked in:
[ 0.745798] CPU: 2 PID: 764 Comm: kworker/u8:4 Not tainted 6.3.0-danctnix #1
[ 0.746437] Hardware name: Pine64 PineTab2 v2.0 (DT)
[snip]
[ 0.770071] ---[ end trace 0000000000000000 ]---
[ 0.770625] ------------[ cut here ]------------
[ 0.771056] WARNING: CPU: 2 PID: 764 at drivers/gpu/drm/drm_mode_object.c:242 drm_object_attach_property+0x6c/0xb0
[snip]
[ 1.724991] mmc_host mmc0: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0)
[snip]
[ 1.833135] mmc1: new HS200 MMC card at address 0001
[ 1.841106] mmcblk1: mmc1:0001 SPeMMC 116 GiB
[ 1.852720] mmcblk1: p1 p2
[ 1.858667] mmcblk1boot0: mmc1:0001 SPeMMC 4.00 MiB
[ 1.867860] mmcblk1boot1: mmc1:0001 SPeMMC 4.00 MiB
[ 1.874444] mmcblk1rpmb: mmc1:0001 SPeMMC 4.00 MiB, chardev (245:0)
[ 2.004957] mmc_host mmc2: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0)
[ 2.023033] mmc_host mmc0: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0)
[ 2.024378] Waiting for root device /dev/mmcblk0p4...
[ 2.062221] dwmmc_rockchip fe2b0000.mmc: Successfully tuned phase to 190
[ 2.072082] mmc0: new ultra high speed SDR104 SDXC card at address aaaa
[ 2.079599] mmcblk0: mmc0:REDACTED 59.5 GiB
[ 2.097122] GPT:Primary header thinks Alt. header is not at the end of the disk.
[ 2.103612] GPT:12951591 != 124735487
[ 2.109671] GPT:Alternate GPT header not at the end of the disk.
[ 2.115356] GPT:12951591 != 124735487
[ 2.120229] GPT: Use GNU Parted to correct GPT errors.
[ 2.125349] mmcblk0: p1 p2 p3 p4
[ 2.166240] EXT4-fs (mmcblk0p4): recovery complete
[snip]
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Seeding 256 bits without crediting
Saving 256 bits of non-creditable seed for next boot
Starting network: OK
[ 86.239708] random: crng init done