Posts by bkeohane

    Dear F&S,


    I came across a mismatch between the document efusA9_Hardware_eng and efusA9-GPIO-ReferenceCard_eng.


    The pin 59 of the J1 connector is stated as "Output" pin by efusA9_Hardware_eng:




    while the GPIO reference card says, it is an "IO" configurable pin (same for the efusA9R2 GPIO reference card):




    Which statement is true? I'd love to know shortly since I am in the process of building a schematic and I want to use that pin as an input pin.


    Cheers.

    Good morning,


    as Yocto ends its LTS for Kirkstone this April, I was asking myself, if F&S plans to make an official release for supporting Scarthgap with the i.MX6, and eFusA9R2, respectively.


    Best,


    Bjørn

    Hello,


    thanks for your response!


    There was an issue in my schematic: The +5V only go into the IN line of the MIC2026, but not on the OUTA line (as it is in the case of your SINTF board).


    I fixed it by connecting the 5V to the OUTA line. It works now.



    Thanks!


    Issue solved.

    Hello,


    I can successfully use my custom install script with the SINTF base board for eFus. However, in my target device, I use a custom PCB, where the Hub Controller of SINTF board (USB2514) is not placed. The USB P/N lines are directly connected to pins 214 and 216 of the goldfinger adapter:



    Inside UBoot on SINTF board, the hub and my USB flash (SanDisk Cruzer Blade) are deteced as follows:

    Code
    1. efusA9r2 # usb tree
    2. USB device tree:
    3. 1 Hub (480 Mb/s, 0mA)
    4. | u-boot EHCI Host Controller
    5. |
    6. +-2 Hub (480 Mb/s, 2mA)
    7. |
    8. +-3 Mass Storage (480 Mb/s, 200mA)
    9. SanDisk Cruzer Blade 00015032032525212029

    On my custom PCB, it is not recognized by UBoot:

    Code
    1. efusA9r2 # usb tree
    2. USB device tree:
    3. 1 Hub (480 Mb/s, 0mA)
    4. u-boot EHCI Host Controller


    I reckon, there is a way to tell UBoot to look for my USB Stick and not for the Hub? Do you have any hint, where to check and patch the UBoot build in Yocto?


    Thanks!

    Ok, I found, that the mkimage command is done in fs-installscript.bb.

    I have created a fs-installscript.bbappend:


    I placed my_install.txt with my custom changes to /home/developer/fsimx6-Y2024.04/build/yocto-fus/sources/meta-fus/recipes-config/images/files.


    it works now. Issue closed (or maybe there is a more elegant solution?).


    Thanks.

    Hi there,


    I would like to customize the install.scr provided by F&S, in my special case, I want to install a bitmap to UserDef partition and setup the display settings in UBoot.

    Doing this manually worked great. However, placing the commands in install.scr will fail the installation.


    I did some research and found, the install.scr needs to be compiled to an image script with a certain CRC in its header. I did this using mkimage:

    Code
    1. $ mkimage -A arm -O u-boot -T script -C none -n "F&S install script" -d install.cmd install.scr


    So I have generated a new install.scr from a install.cmd, which includes my changes. I can check, that the script is compiled correctly

    Code
    1. $ mkimage -l install.scr
    2. Image Name: F&S install script
    3. Created: Mon Sep 15 12:17:15 2025
    4. Image Type: ARM U-Boot Script (uncompressed)
    5. Data Size: 3039 Bytes = 2.97 KiB = 0.00 MiB
    6. Load Address: 00000000
    7. Entry Point: 00000000
    8. Contents:
    9. Image 0: 3031 Bytes = 2.96 KiB = 0.00 MiB


    But when placing it onto a USB drive alongside with my files to install, it fails:

    Code
    1. ---- Trying install from usb 0 with install.scr ----
    2. Loading /install.scr ... done!
    3. Failed!
    4. ---- No install script found ----


    I have attached the install.cmd file to this post. I can see, that the header in my new install.scr shows a lot of NULs (when opened in VS code or Notepad++). I also made sure, the install.cmd is written in Unix-style (using dos2unix command).

    Any suggestions on how to get a custom install.scr running?

    Thanks!

    Files

    Hello,


    I have installed Qt 6.8 on the Feodra 36 VM with Y04.2024 release and I have built a core-image-base image with my Qt application, using my commercial Qt license and the Qt 6.8 installation.

    However, I researched, that it is better to use Yocto 5 "Scarthgap" with Qt 6.8.


    Do you see any major concerns in using Yocto 4 "Kirkstone" with Qt 6.8? The image runs and my application is running without errors.


    I have checked the shared object file of Qt6Core on my iMX6 after image installation using the command:


    Code
    1. $ strings /usr/lib/libQt6Core.so.6.8.0 | grep "Qt "


    One line caught my eye:


    Code
    1. "Incompatible processor. This Qt build requires the following features:
    2. Qt 6.8.0 (arm-little_endian-ilp32-eabi-hardfloat shared (dynamic) release build; by GCC 11.4.0)"


    I see, the build and compilation were successful, however, the line "Incompatible processor" made me a bit nervous :)


    Full output of the strings command is in the attached txt file.


    Cheers.

    Files

    • output.txt

      (969 Byte, downloaded 238 times, last: )

    Thank you, Sir, this worked great. Issue closed.

    Hi,


    I have achieved to successfully run two displays (LVDS + HDMI) with correct color encoding using Wayland Weston, and running an instance of Weston in clone-mode:


    Code
    1. /usr/bin/weston --modules=systemd-notify.so --tty=1 --device=/dev/fb0,/dev/fb2 --clone-mode

    Here, the content of fb0 is successfully cloned to fb2.


    It works, but I now experience severe lag on the LVDS screen and the touch inputs are also delayed.


    Additionally, I had to tune down the HDMI resolution to 900x600 to get it to work (a higher resolution causes the false color rendering on the LVDS).


    Since using DRM/KMS is not an option, what can be done to get rid of the lag and running a duplication to HDMI smoothly?

    The eFusA9R2 has a GPU and 2 IPUs, so I assume, it should be capable of such things.


    Thanks!

    Hi,


    I indeed used the wrong chokes. The chokes Murata DLP11S need to be used, as stated in your HW documentation.
    After removing them, the HDMI works.


    Here is a good overview about using chokes in high speed differential layouts: consumer-signal

    I will rework my layout.


    Thanks. Topic closed.


    I use I2C_C for the SGTL5000 audio codec, and my layout also used I2C_C for the HDMI EDID (SDA,SLC), may this cause the issue of a nun.functional HMDI output? Is there a pinmux for this?

    Hello,


    I have drawn and layoutet a HDMI connector onto a custom board, and I took the SINTF hardware documentation as template.

    On SINTF, HDMI is working, but not on my custom board. I took another look at the documentation and realized, there exists a HDMI_DDCCEC_AUX_P pin (J24 plug). This one is not shown on J6 plug. Do we need it?


    I have attached the layout and schematic of my custom PCB. Pin 154 is connected to GND while 156 is the HDMI_DDCCEC_AUX_N signal.


    Thanks!

    In my console output shared before, I noticed:


    Code
    1. imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_5 = 0x00800000
    2. imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00100000

    After some investigation, I come to the conclusion, that clone mode is not stable on this hardware with fbdev.


    Would you also relate to this?

    For LVDS, I use


    For HDMI, it is


    Code
    1. #define CONFIG_EFUSA9_HDMI_BPP 32
    2. #define CONFIG_EFUSA9_HDMI_PIX_FMT "RGB24"
    3. #define CONFIG_EFUSA9_HDMI_MODE_STR "1280x720M@60"

    See attached file for full DTS settings. We use a custom display.

    Hello,

    Quote

    However, I thing it is important to unblank the HDMI display before starting weston with the clone mode.

    Is this done correctly?

    Yes. Before starting any weston instance, I unblanked fb2. The application on LVDS remains blurry rendered with color shifts.


    I have attached the console output, when starting Weston in two instances in clone-mode and starting my GUI app.


    Thanks!

    Hi,


    thanks for your answer. It works.


    However, I experience false colors of the application rendered on the LVDS screen, as soon as I unblank fb2/ clone to the second weston instance on HDMI.


    The colors on HDMI are correct, whatsoever. Feel free to check the image I attached, to see what happens.

    Any suggestions? I feel, the switch to the open source driver that supports DRM is doable but may be an overload, especially since the HDMI feature shall be very simple.


    May any Kernel display driver configs (e.g. IPU settings) or device tree configs help (hardware mirroring)?


    Thanks!

    Hi,


    thanks for your answer.

    Quote

    Another would be to try to use the same framebuffer for both outputs. This however would require the displays to support the same resolution.

    Would this be an option?

    Our LVDS display is 1280x800, and I set the HDMI resolution to 1280x720 in the device tree. If there are a few pixels missing on the bottom, it is ok. So yes, this would be a quick solution.


    Is it also done in the device tree? May it will work, if the HDMI monitor requires hotplugging?

    I tried to make the HDMI use the same IPU as LVDS:

    Code
    1. #ifdef CONFIG_EFUSA9_HDMI
    2. &hdmi_core {
    3.     ipu_id = <0>;
    4.     disp_id = <0>;
    5.     // ...
    6. }


    But it does not work. I assume, it is because of different display timings.


    Hence, I am asking myself, how to achive a simple copy of the LVDS output to the HDMI output.


    Thank you!