• Content Count

  • Joined

  • Last visited

 Content Type 


Member Map






Everything posted by mix359

  1. Sadly that is what it show even during the uboot phase. About xorg, I don't have any X server installed at the moment (to keep the dmesg a bit cleaner... with Xorg installed it was really a mess...) Do you suggest to make some other try with it installed? Thanks Cheers Mix
  2. No, I haven't tried compiling it myself, the driver is the one shipped with the 5.6.12 kernel and I'm surprise too it doesn't work... For that reason I was trying to find what I was doing wrong, but all the changes I'm doing at the moment doesn't seam to change anything on the result: the display always show a random/out of sync image and in the dmesg there always that vblank sync errors. I've also take a look at what as changed in the driver code from the version that is ship with the 5.4.x kernel and the 5.6.x and there's seam to be only refactor done massively to all the panel driver (but I don't know if after that changes someone have tried the driver again). So I can't directly compare with the situation of gavinb, because there's can be some untested changes in the driver that can cause the issue. If you take a look at those driver history on github you can see that the one shipped with the 5.4.x kernel is the one done by Jagan. After that there's many little modification but done massively https://github.com/torvalds/linux/commits/master/drivers/gpu/drm/panel/panel-feiyang-fy07024di26a30d.c Sadly I would like to help debugging a bit but from a first look I can't understand what they're doing in the code after the initialization... I'm missing many pieces and can't find a resource online that document the function their are calling and why... Don't know if it's the case to stop trying with the 5.6.x at the moment and switch back to the 5.4.x Cheers Mix
  3. I've checked the dt patches and I've found out something interesting about the touchscreen that I was missing, but sadly even making in my dt overlay the same change, the screen still show random gray lines... and there's still the same errors in the dmesg caused by the panel_feiyang_fy07024di26a30d driver. I would like to make a little bit of debugging of that driver, but I don't know where to start debugging C code like that.... @Gavinb does the screen work to you with the patch you have done? do you have the "vblank wait timed out" error in dmesg? can I ask you an help debugging the situation? Thanks Cheers
  4. I've tried something like this in my boot.cmd/boot.scr: setenv video-mode sunxi:1024x600,monitor=lcd,hpd=0,edid=1 But nothing changed... There's still the error in the dmesg and random image on the screen... Searching on the web about that message I've found this: https://patchwork.freedesktop.org/patch/334084/ This is similar to what's happening to me... but even if it have done this patch, I still get the error... Hoping that Jagan would answer to my email
  5. My daily update (hope this post limit will disappear soon) @Learnincurve Yep, you where right, there was a parameter missing in the overlay, and there wasn't any trace of the panel in the dmesg... Looking around I've found that there is a driver for the Feiyang lcd (thanks for the model information) and also an old example of dt config: https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/display/panel/feiyang%2Cfy07024di26a30d.txt So using that, I've created a user dt overlay to use the lcd, here's the code: https://pastebin.com/EAXhSjHL With that overlay enabled, the lcd backlight turned on (hurray... a sign of life!), but show random gray lines, like if the clock is wrong in any way. Also it take a very long time to complete the boot, because of an error that appear multiple times before continue the boot, that talk about vblank timeout. Here's a chunk from the dmesg: I've tried finding other information online (there was a similar issue mentioned by the creator of the driver with a patch, but that patch was not applied to the kernel) but I haven't found nothing more than this... Maybe it's something related to the configuration I've done in the overlay, but it's really similar to the one in the example.... I'm also trying to contact the developer that have created the lcd driver and some patch to enable the dsi on the sun50i-a64 hoping he can help me with those errors. I will let you know if it answer me... If you have some other suggestions or some other ideas to try, is really appreciated Thanks Cheers Mix
  6. Hi to all, Sorry but for some reason I can post only once a day... so i had to wait... I've done some other test and research. First thing, thanks to have point me to the device tree/overlay world... I've studied a bit how that work and I've decompiled the pine64+ file dtb file, to find out those paragraph: Haven't found a way to upload here, so if someone is interested, this is the decompiled sun50i-a64-pine64-plus.dts on pastebin: https://pastebin.com/nRkD0hep Searching around I've found that those two were disabled by the status = "disabled", so after some search I managed to create a little overlay that enable it (d-phy is a sort of dependency, without it dsi doesn't work). Here's the dts if someone are interested: You can compile it with something like: dtc -O dtb -o sun50i-a64-mipi-dsi.dtbo -b 0 -@ sun50i-a64-mipi-dsi.dts Now, looking into dmesg i can finally found some reference to the dsi, but sadly the screen doesn't power on. Here's a little bit of the dmesg: [ 5.606040] sun6i-mipi-dsi 1ca0000.dsi: 1ca0000.dsi supply vcc-dsi not found, using dummy regulator [ 5.627202] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800010ce9570) [ 5.628628] sun4i-drm display-engine: bound 1200000.mixer (ops 0xffff800010ce9570) [ 5.629099] sun4i-drm display-engine: No panel or bridge found... RGB output disabled [ 5.629121] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xffff800010ce5a50) [ 5.629302] sun4i-drm display-engine: bound 1c0d000.lcd-controller (ops 0xffff800010ce5a50) [ 5.629341] sun4i-drm display-engine: bound 1ca0000.dsi (ops sun6i_dsi_ops [sun6i_mipi_dsi]) [ 5.649211] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy) So it seam to me that it's not finding the attached lcd panel... So my doubt now is: does I need to set up something other to make it work? for example some lcd parameters? or some other parameters in the overlay? Maybe something related to lcd-controller? There's any resource somewhere when I can find some information about how to configure lcd panel in this kernel version? PS: meanwhile I've tried flashing on another SD card an old version of armian with the 3.10 kernel version, where the lcd work perfectly. Sadly the device tree files are completely different from the one in the 5.6 kernel and talk about disp and lcd0, that doesn't exist in the new dts. Thanks to all Cheers Mix
  7. I've flashed a 5.4 Bionic on my Pine64 (kickstarter edition) and I've switched to Nightly release & the 5.6.12 kernel, but I have no idea how to "enable" the support... (and it hasn't started working... the LCD is still off) I've tried adding both the pine64_lcd=on and the monitor=lcd row to the /boot/armbianEnv.txt (don't know if it's required) but nothing changed. Taking a first look I can't see any a64 DT overlay regarding the dsi or mipi dsi. If I search inside the "/boot/dtb/allwinner/sun50i-a64-pine64.dtb" file, I can find a reference to "sun50i-a64-mipi-dsi", but nothing more. Any suggestion of something to try, to make it work? Thanks Cheers Mix