Jump to content

robertoj

Members
  • Posts

    574
  • Joined

  • Last visited

Posts posted by robertoj

  1. Hi Pami,

     

    I haven't had time to check your connection list and DTS.

    The LCD you showed is exactly the same I have :)  I have both ili9486 and ili9488, and they work with the same connections, same DTS, same bin, same driver :)

     

    You should be able to copy all the wiring I describe in the DTS, the DTS, bin/txt and armbianEnv.txt line, and it should work.

    Start from a fresh self-built armbian OS, with the panel-mipi-dbi driver activated in the linux config phase.

  2. A long time ago, I made an armbian guide, which included adding a kernel patch. Can you try this method?

     

    "Move them* to ~/armbian-2023.05/build/userpatches/kernel/archives/sunxi-6.1 (using the scp command or sshfs)"

     

    * would mean the cpio file (use diff3 to convert to patch file**) and any linux configuration patches needed to make your initramfs.

     

    ** diff3 linux_orig_source_folder linux_source_folder_with_cpio_file

     

    https://github.com/robertojguerra/orangepi-zero-full-setup/blob/main/README2.md#73-add-the-tv-encoder-driver-to-the-linux-kernel-source

  3. Forumtrekker: I am 99% sure that if you see the LCD working OK once, with kungfupancake or any other a txt/bin file, for just console text, it will work for any graphics.

    There's an issue with plymouth: it modifies the initrd in a way that it loses track of the bin file, and the kernel driver fails to load. See:

    https://forum.armbian.com/topic/53568-how-to-add-a-specific-single-file-in-the-initrdimg-ideally-automatically-with-update-initramfs/#comment-221767

     

    I am running my SPI at 40MHz fine with 20cm wires. I don't have time to see your DTS file, but are you using the same CS pin as I do? I have noticed there's a default "chip select" pin, which makes everything work better. If you are using panel-mipi-dbi driver, don't use any additional DTS for the LCD, not even additional SPI DTS, and armbianEnv.txt that refer to the LCD.

     

    According to the notro wiki, the ili9486 and ili9488 will only work with RGB888 mode (because we use SPI). There's the "format" parameter line just for that, in my DTS.

     

    Can you send a good photo of your LCD front and back? My method is for a Red PCB LCD. I don't know the brand, but it is not Waveshare, Creality or any known company. Sorry, saying "Chinese LCD" is like saying "wet water": redundant and not specific.

     

    pami: the english in your post is fine, but you can separate ideas and separate processes in paragraphs, to let me focus in one problem at a time :)

     

    Many LCD guides, due to being so old, use the fbcopy driver, or another "classic framebuffer" driver. I could make my ili9341 work with it, but since I learned to use the panel-mipi-dbi I only started using that. It get's you more fluid animations and probably Linux will prefer it in the future.

     

    If one dtbo file and a python script makes your LCD work fine, share that script and DTBO (best if you can decompile the DTBO into DTS), in this thread, as attached files. Send more photos of your LCD.

     

    AI suggestions will only work if the solution is well documented somewhere in the internet, and the AI has found it. AI will re-word the answer and take credit for it.

  4. I see that this configuration is a kernel build feature, not an armbian-developed function:

     

    https://cateee.net/lkddb/web-lkddb/INITRAMFS_SOURCE.html

    https://unix.stackexchange.com/questions/479415/how-does-linux-know-where-the-rootfs-is

     

    So, you can post your question in many more linux discussion places. I hope you get the answer :) (and share here).

     

    Have you ever got this INITRAMFS_SOURCE configuration work, outside of Armbian... for example building the kernel from source by itself?

  5. I don't know about customizing the initrd during the armbian build process.

     

    But this is the way to customize it AFTER you get armbian running in your board

     

    https://forum.armbian.com/topic/53568-how-to-add-a-specific-single-file-in-the-initrdimg-ideally-automatically-with-update-initramfs/#comment-221767

     

    I know it is not YOUR OWN INITRD, but maybe you can work with it.

     

    Large language models are more useful when the answer exists somewhere in a popular website.

     

    If no human has written about it, ChatGPT or Gemini will not give you the answer.

     

    Have you tried replacing the uImage file in the /boot folder, with your own initrd, converted to uinitrd?

  6. Thank you for testing my instructions :) I was on vacation, and I didn't remember to check this until now :)

     

    Which LCD are you using? Which kernel driver are you using for it? All the questions in your post depend on the LCD model and the driver you used.

    (I am using panel-mipi-dbi, which I know that it has lost its ability to display X11 graphics since a few months ago)

     

    Can you 100% say that you don't have X11?

    You don't need to use the same kernel version I use. The newer version you have is preferable 🆗

     

    I am glad you can use the Trixie labwc. Personally, I am using Bookworm in the meantime, since its the only way I know to get H264 hardware acceleration.

     

    With Trixie's labwc, do you ever get desktop crashes when you log out?

  7. If you use your own boardconfig file, or edit another boardconfig file, you may be missing some configs or device tree overlay, and make problems in configuring SPI and GPIO pins.

     

    I always use boardconfig that's included in armbian-build, specifically for Orange Pi Zero 3, by following the text menu, and not editing any file.

  8. All this time, I thought you were using a custom H618 board hardware. Now it is clear to me, that you  have an Orange Pi Zero 3, 

     

    In armbian build, make sure you don't add any configuration files. Just do "./compile.sh" and when you get the menu for board selection, press the button "Unsupported/CSC" (or something like that).

    The text menu will turn red. Press OK and you will see a list of more Linux boards. Press "P" to quickly scroll down, then "UP" to find Orange Pi Zero 3.

     

    Then choose the option for Linux edge, and choose that you want to configure linux.

  9. On 12/11/2025 at 3:27 AM, vd3 said:

    I am talking about hdmi audio. Analog audio works fine on both kernels. HDMI-Audio doesn't work in 6.16.8 kernel. I'll keep using v25.11.0-trunk.190 with kernel 6.15.4 for now since HDMI works there. I might experiment with those configs later, or perhaps it will get fixed in a future version. Thanks.

     

    Posting this interesting event, in case someone can see why it worked:

    Banana Pi M4 zero (H618) gained HDMI audio when upgrading to Linux 6.12.30

    https://forum.armbian.com/topic/50773-bpi-m4-zero-hdmi-audio/

    But in this thread, there's a report that upgrading to 6.16.8 (from 6.15.4) lost HDMI audio :(

  10. Can you clarify that you made a custom H618 board :) ?? (not exactly Orange Pi Zero 3?).

     

    If I remember correctly, you had previous success with an ili9341 and the same linux board?

     

    You need to compare the DTS that worked for you (with ilitek, ili9341, right?) and the new DTS you are trying to modify (with panel-mpi-dbi, for ili9488).

     

    Make sure you haven't changed the GPIO in the DTS, and the connections in the LCD and your Linux board.

     

    If the ili9341 was working for you with the H616 armbian configuration, changing to H618 might need changes in the LCD DTS from that change.... to make those SPI pins to be addressed correctly.

    That previous H616 armbian configuration... what Linux board was it meant for?

     

    Change back to the configuration that made your board work with the ili9341.

  11. Now that you can replicate the crash anytime. Right after it crashes:

     

    $ dmesg

    $ journalctl -u lighdtm

     

    Also, try another application that will use the LCD continuously, without starting X11:

     

    $ mplayer -vo fbdev2:/dev/fb0 videofile.mp4 (use a 320x240 approx video, so it will be smooth without hardware acceleration)

     

    If it works, then maybe X11 is the problem, not the LCD driver.

     

    I wish more people switched to 100% Wayland in their HDMI monitors and LCDs. I have a method.

    If you want it too: https://forum.armbian.com/topic/55882-critique-or-improve-my-method-to-get-a-lightweight-labwc-desktop/#comment-227469

     

  12. I am glad you made the LCD work with a DRM driver :D

     

    Three clarifications:

    the driver panel-mipi-dbi is provided in the OS image you write in the microSD.

    The DTS is something you get from this thread, and install it with armbian-add-overlay.

    Kungfupancake provides a txt or a bin file that defines the configuration sent to the LCD, when the kernel driver starts, and instructions on how to install it.

     

    The panel-mipi-dbi driver (the recent versions I tried) does not support X11, and you need 100% Wayland, and 0% X11

    See my thread to install rpi-greeter (one of the 2 login managers that work with Wayland), and Labwc:

     

  13. Yes, One/some/all of those kernel configs may be needed for analog audio.

     

    Start with the activating configs that correlate with the missing kernel modules

    * snd_soc_sunxi_machine

    * snd_soc_sunxi_ahub

    * snd_soc_sunxi_ahub_dam

     

    If it still doesn't work, activate all the 2 other linux kernel configs: internalcodec and aaudio

  14. That's good news :D

     

    You are using lightdm with the default greeter GUI, right? That means that your LCD driver can support X11. Are you still using adafruit,yx240qv29?

     

    Maybe the lightdm service is getting confused about which display to use.

    What do you get with: $ ls /dev/fb*  ?

    Make sure that you don't connect an HDMI LCD at the same time.

     

    Which desktop(s) do you use? XFCE and Gnome?

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines