Learnincurve

Members
  • Content Count

    96
  • Joined

  • Last visited

About Learnincurve

  • Rank
    Advanced Member

Recent Profile Visitors

981 profile views
  1. So I finally tried installing the latest 5.4.43 build from Armbian. I applied your overlay, compiled and loaded from armbianEnv.txt and added the setenv video-mode sunxi:1024x600,monitor=lcd,hpd=0,edid=1 line. For me, the backlight works, but nothing else does. I decompiled the /boot/dtb/allwinner/sun50i-a64-pine64.dtb file, changed the dsi@1ca0000 { compatible = "allwinner,sun50i-a64-mipi-dsi"; reg = <0x1ca0000 0x1000>; interrupts = <0x00 0x59 0x04>; clocks = <0x02 0x1c>; resets = <0x02 0x05>; phys = <0x41>; phy-names = "dphy"; status = "disabled"; #address-cells = <0x01>; #size-cells = <0x00>; phandle = <0x84>; port { endpoint { remote-endpoint = <0x42>; phandle = <0x1e>; }; }; }; section to dsi@1ca0000 { compatible = "allwinner,sun50i-a64-mipi-dsi"; reg = <0x1ca0000 0x1000>; interrupts = <0x00 0x59 0x04>; clocks = <0x02 0x1c>; resets = <0x02 0x05>; phys = <0x41>; phy-names = "dphy"; status = "enabled"; #address-cells = <0x01>; #size-cells = <0x00>; phandle = <0x84>; port { endpoint { remote-endpoint = <0x42>; phandle = <0x1e>; }; }; }; I couldn't find any other references in that file and recompiled it. dmesg | grep dsi lists nothing, while dmesg | grep mipi [ 3.505719] vcc-mipi: Bringing 2900000uV into 3300000-3300000uV [ 6.603912] Modules linked in: cpufreq_dt zram sch_fq_codel g_serial libcomposite ip_tables x_tables autofs4 realtek axp20x_usb_power pinctrl_axp209 axp20x_regulator phy_sun6i_mipi_dphy dwmac_sun8i mdio_mux i2c_mv64xxx pwm_bl and dmesg | grep display root@pine64:~# dmesg | grep drm [ 5.394228] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped. I also tried adding feiyang_fy07024di26a30 and sun6i_mipi_dsi to /etc/modules. with same result.
  2. Just looking at Gavinb's latest commit. He is compiling the panel and dsi code into the kernel, instead of loading as modules. https://github.com/GavinBa/build/commit/73850d2db3814418d865304befd2afb370865f6c Perhaps that is a solution?
  3. Not really. I was just wondering whether it was an xorg issue, but if the message is from uboot, then you are right that something is wrong at a deeper level. Guess we'll just have to wait a little longer. Despite reading the Armbian Documentation many times, I'm still really hazy about applying the uboot video mode options: Cheers!
  4. Does the screen display anything when it intitialises, early in the uboot process, or is garbage the first thing you see? Also, do you see anything in the xorg logs that would give you more information?
  5. I'm suprised if the driver is buggy as it is in mainline. Did you just load the builtin driver or did you compile Jagan's from C? If you compiled, that could be the problem. BR.
  6. Gavinb has added DT patches (for sopine) at https://github.com/GavinBa/build/tree/Pine64-V5.4_MIPI_DSI/patch/kernel/sunxi-current You might want to look at the changes to see if anything is missing from your DT.
  7. Tried, and failed to send this yesterday: Well done! Sounds like you're making real progress now. Regarding the Feiyang, that driver is now included as a kernel module, so it should be enough to make sure it's loaded. The default resolution is a bit weird. 1024x600 if memory serves me right. I've no idea about the timings tho'. I'm guessing, that as this is now mainline, that the modeline, once we know what it is, can be set in xorg, or maybe needs to be specified as part of the kconfig video mode settings at https://docs.armbian.com/Hardware_Allwinner/ I'm a bit busy today, but will try to take a look when I can.
  8. Just a guess, but do you see any more in the device tree referencing vcc-dsi. Could it be that the voltages are not being set?? Regarding the panel, it's a Feiyang FY07024DI26A30-D DSI panel. Do you see any references to that?
  9. Could you send the content of the "/boot/dtb/allwinner/sun50i-a64-pine64.dtb" file? Could be that you need to do something from https://docs.armbian.com/User-Guide_Allwinner_overlays/ ? I don't think earlier versions of that file contained any reference to sun50i-a64-mipi-dsi". If there's no equivalent .dtbo file, that might indicate that the overlay is still a work in progress. Have you grepped dmesg for any mention of DSI? Cheers!
  10. Has anyone tries the new, 5.4.40 or 5.6.8 (dev branch) nightly builds and seen whether they contain the DT bindings for DSI? I have flashed my SD so many time's that I don't want to keep doing it (on the offchance). On the other hand, if the bindings are now there...
  11. So if you have the overlay from your previous sopine build , could you just attach it here so we could test? I'd be happy to do that, as I have a working 5.6 build (apart from the device tree).
  12. Fantastic news Gavinb! Thank you very much! I'm sorry I haven't been of any help regarding creating the overlay myself. Will the overlay be available for the pine64+ as well as the sopine64?
  13. Hi, If you want to compile, just follow the instructions at https://docs.armbian.com/Developer-Guide_Build-Preparation/ but it shouldn''t be necessary, as Armbian 20.05 will use it and the nightly builds already contain it. The problem is not the kernel, but the device tree bindings (DTB), which has been fixed for MIPI-DSI for the Pine64so (in this thread), but I still haven't figured out how to do it for the pine64+ and don't know if it is taken care of in the nightly builds or the sources. If it is, I still haven't figured out how to enable it at boot time. I hope that someone can explain that in this thread, as pretty much everything we need is now in the mainline kernel.
  14. Thanks Gavinb, That's a good Easter project. As I don't know my way around the sources very well, can you tell me which files(s) tool look for? Thanks very much!