Posts by RSchubert

    Dear Support-Team,


    In the kernel log we have following error:

    Code
    1. leds-pca963x 2-0060: can not write to PCA963x register 8

    It's from static int pca963x_write_reg(struct pca963x *pca963x, u8 reg, u8 value) inside file leds-pca963x-fus.c.


    We just want to check if this can be ignored or not before releasing the new kernel to our devices.

    Any idea?


    Hardware: armstoneA9r3 Rev 2.00

    Software: Buildroot Release fsimx6-B2024.04


    Thanks.

    RS

    Dear Support Team,


    yes, I already have these packages. My problem isn't the audio itself. I guess the problem is the sdma driver.

    I get the same kernel oops (in sdma_transfer_init) e.g. when using aplay. So I guess it's a sdma problem.

    As you see in the links I have provided above, some do have this problem when using sdma together with the tty.

    Additional new info:


    I get the same kernel oops when using imx-smda as kernel module. Then while booting there is no soundcard found. After loading imx-sdma.ko (also firmware sdma-imx6q.bin is required), the soundcard appears in /dev/snd.

    But starting speaker-test again is running into the kernel oops.

    As far as I checked now, this seems not happening when using the default zImage / DevTree binaries.

    Any suggestion where to look / what to check?

    Dear Support-Team,


    there seems to be a problem regarding the sound card in the latest release.

    Hardware: armstoneA9r3 Rev 2.00

    Software: Buildroot Release fsimx6-B2024.04


    Problem: In the "original" binary zImage-fsimx6-B2024.04 and the rootfs_min-fsimx6-B2024.04.ubifs (together with armstonea9r3dl-B2024.04.dtb) there will be:

    Code
    1. ALSA device list:
    2.   No soundcards found.

    Because we have to do some changes in the kernel (for our display and a few other things) and also using an for us optimized rootfs, we have to recompile kernel and rootfs anyway. In the new compiled kernel we have the same problem "No soundcards found." So I was looking for a solution and tried to include the SDMA driver directly into the kernel (not as module). This was working so far that while booting the "SGTL5000" soundcard will be found.

    But when trying to start e.g. speaker-test for testing the output I get a kernel oops. I guess some problems with multiprocessing and the sdma driver.


    Question: Can you confirm these problems or is this caused by some other changes I did on the Kernel / DevTree / RootFS?


    Here the printout of speaker-test and Kernel debug:



    Thanks in advance

    RSchubert

    How to get the toolchain from Yocto?


    Code
    1. bitbake –c populate_sdk fus-image-std
    2. Loading cache: 100% |########################################################################################################################################| Time: 0:00:00
    3. Loaded 4750 entries from dependency cache.
    4. Parsing recipes: 100% |######################################################################################################################################| Time: 0:00:00
    5. Parsing of 3203 .bb files complete (3201 cached, 2 parsed). 4752 targets, 302 skipped, 3 masked, 0 errors.
    6. ERROR: Nothing PROVIDES '–c'

    After multiple tries I succeeded downloading and building all packages. So now I have a compiled Uboot, Kernel, Device Tree, Filesystem.

    The resulting directory now is 340 GB (crazy for expected embedded images of 32 MB at all).


    Question: How to configure the filesystem now? Is there some kind of gui for selecting/deselecting the packages similar to buildroot menuconfig?


    Thanks in advance.

    Dear Support-Team,


    why not using good old Buildroot for i.MX8MP platform? After 5+ years working with your i.MX6 devices I understood Buildroot very well including configuring/updating/adding packages. Now the i.MX8MP platform comes with Yocto release ;(. While building the standard image for the first time I got following error fetching the gstreamer packages:

    Code
    1. ERROR: gstreamer1.0-1.20.3.imx-r0 do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from any source.', 'gitsm://github.com/nxp-imx/gstreamer.git;protocol=https;branch=MM_04.07.02_2210_L5.15.y')

    This happened around package 1000 of more than 6000 packages. The directory now already fills about 20 GB.

    How to fix this error?

    Is there a chance to have a Buildroot release too for this platform?


    At least I hope as a result of Yocto I will get a Toolchain, that I can use to compile U-Boot and Kernel with our own configurations (menuconfig). Also somehow we need to do our own minimal Yocto configuration for a framebuffer version (no X, no wayland). But first we need to get baking the standard image working...


    Thanks in advance.

    Hi, I also remember an issue with the serial port in the new 5.4.70 kernel (RS485). If I remember correctly I fixed this by setting the FIFO to 1 byte (instead of the default value) in the device tree. This is may be only a workaround until a better solution was found:


    rx_fifo_trig = <1>


    Code
    1. &uart4 {
    2.     pinctrl-names = "default";
    3.     pinctrl-0 = <&pinctrl_uart4_1>;
    4.     uart-has-rtscts;
    5.     fsl,rx_fifo_trig = <1>;
    6.     linux,rs485-enabled-at-boot-time;
    7.     status = "okay";
    8. };

    Yes, I tested and you are right (it's also new to me). On a cold start this effect does not occur only after software reboot. But that's also a problem for us, because our customers create projects for our devices and every time they load the projects, the device reboots.


    Kind regards

    Dear support team,


    on our armstoneA9r3 sample with Buildroot fsimx6-B2022.10 release we have the effect/problem of some noise on the Audio Line Out while loading the kernel until the audio output is initialized. Can someone confirm that effect? If yes, what do we need to change in the device tree or in u-boot to initialize the Audio Line Out pins to silence while booting?


    Thanks in advance

    RS

    Tested with with armstoneA9r3 sample on our existing devices and got it working so far.

    (Tested: Ethernet / USB / I2C (Touchcontroller) / RGB / LVDS / Sound / UART / µSD)

    Hint: Please mind using the new devicetree files armstonea9r3.dts and relating !

    Dear Support-Team,


    how long do you think the development will take? We have our whole system built on the 2021.10 release. We waited for months for the hardware - now we at last have a sample board but with an "old" software release only. We get in deep trouble. Help needed!


    Kind reagards

    Dear Support - Team,


    are there changes for the Buildroot Release fsimx6-B2021.10.1 regarding the new PHY on armstoneA9r3 too? Or is this release working out of the box? As I see the Realtek PHY is disabled in the kernel config yet (but maybe we did this by our own).


    Kind regards


    OK, thanks. We will try.

    Another question for creating the cable is: What channel is for odd pixels, what is for even pixels?

    If we make a 1:1 cable, channel 0 will be odd and channel 1 will be even pixels (I would expect it the other way).

    Who can tell us?

    Thanks