Posts by fs-support_PG

    Hello,


    I am assuming you are using the rather old release fsimx8mp-Y2023.03?


    In this release the u-boot environment address was defined in the u-boot device tree

    https://github.com/FSEmbedded/…ts/picocoremx8mp.dtsi#L43


    so your /etc/fw_env.config should look look like this

    Code
    1. # Configuration file for fw_(printenv/setenv) utility fsimx8mp-Y2023.03.
    2. # F&S Block device
    3. /dev/mmcblk0boot0 0x00138000 0x4000
    4. /dev/mmcblk0boot0 0x0013C000 0x4000


    Please note, that in newer releases, the definition moved to the NBoot config

    https://github.com/FSEmbedded/…nboot/nboot-info.dtsi#L88


    and your /etc/fw_env.config should look look like this


    Code
    1. # Configuration file for fw_(printenv/setenv) utility starting fsimx8mp-Y2023.09.
    2. # F&S Block device
    3. /dev/mmcblk0boot0 0x00040000 0x4000
    4. /dev/mmcblk0boot1 0x00040000 0x4000



    Your F&S Support Team

    Hello,


    although the efusa9 and efusa9r2 are very similar, they are two different boards which each need their own device tree.

    It seems, that you are using a efusa9r2 device tree on a efusa9 board. Although, this might boot, it will not work as expected.


    You firstly need to create an additional patch with your display for the efusa9 board and use the efusa9.dtb.

    Please contact us via E-Mail regarding this patch.


    Your F&S Support Team

    Hello,


    in fact, cs-gpio has been set to active high in the device tree since the beginning:

    https://github.com/FSEmbedded/…armstonea9r2qdl.dtsi#L549


    but you are right, it should be active low by default.

    For some reason, this device tree entry seemed to be ignored in earlier releases, and now seems to work.


    We will investigate on this.

    Could you try to set this entry to active low and check, if it works correctly then?


    Code
    1. cs-gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;



    Your F&S Support Team

    Hello,


    which release are you using?


    Did you try to reinstall the image with a different USB stick or SD card? maybe something went wrong when flashing the image?


    Your F&S Support Team

    F&S Development Machine with Fedora 36 for arm32 V1.4

    There is a new Virtual Machine with Fedora36 in your download section available (My F&S / Tools-Linux /VirtualMachines/Fedora36/32-bit (i.MX6)/ F_S_Development_Machine-Fedora_36-arm32_V1.4.ova). The structure of the virtual machine is listed below.


    Content:

    • fsimx6ul-B2023.12 (/home/developer/fsimx6ul-B2023.12)
    • fsimx6sx-B2024.01 (/home/developer/fsimx6sx-B2024.01)
    • fsimx6ul-Y2024.03 (/home/developer/fsimx6ul-Y2024.03)
    • fsimx6-B2024.04 (/home/developer/fsimx6-B2024.04)
    • fsimx6-Y2024.04 (/home/developer/fsimx6-Y2024.04)

    New Content:

    • fsimx6-Y2024.04 (/home/developer/fsimx6-Y2024.04)

    Your F&S Support Team

    F&S i.MX6 Yocto Release 2024.04 (fsimx6-Y2024.04)


    Please see the file


    doc/FSiMX6_FirstSteps_eng.pdf


    for a description of how everything is installed and used. This doc sub-directory also contains other documentation, for example about the hardware of the boards and the starter kits.


    This is a major release for all F&S boards and modules based on the i.MX6 CPUs from NXP.


    Currently these are the modules armStoneA9, armStoneA9r2, armStoneA9r3, armStoneA9r4, efusA9, efusA9r2, PicoMODA9, NetDCUA9, QBlissA9, QBlissA9r2


    More boards may be added to this family in the future.

    All these boards can work with software that is created from this release package.


    Please note that Buildroot releases use a 'Y' for the version number. The version counting is independent form other releases.


    The release consists of the following files and directories:


    • Readme.txt Release notes (this text)
    • setup-buildroot Script to download and install the Buildroot release
    • binaries/ Precompiled images (full names)
    • sdcard/ Precompiled images (names as expected by
    • install script)
    • doc/ Hardware and software manuals, schematics


    Here are some highlights of this release.


    1. New Linux Kernel 5.15.148


    The Linux kernel is now based on 5.15.148

    - New optimizations for EXT4.

    - OverlayFS has better performance and copying up more attributes.

    - Many graphics improvements among the DRM/KMS drivers.

    - Linux 5.15 I/O can achieve up to ~3.5M IOPS per-core.

    - The PREEMPT_RT locking code was merged as a big step forward towards getting the real-time (RT) patches upstreamed in the Linux kernel.

    - Various scheduler improvements.

    - Various power management improvements.

    - Opt-in L1 data cache flushing on context switching as a security feature for the paranoid and other specialized conditions.

    - Improvements around compile-time and run-time detection of buffer overflows.

    - Additional protection around side channel attacks via clearing used registers prior to returning, making use of the compiler-side support.


    (https://www.phoronix.com/review/linux-515-features)


    Of course, there are also many changes for other CPU types (like x86) and other graphics cores (like AMD, Nvidia, Intel) but these are not of interest here.


    2. New bootloader U-Boot 2021.04


    The U-Boot is now based on 2021.04.

    Additional to the security and feature updates of the mainline U-Boot, there have been many updates on the fsimage command and the general layout of the bootloaders in the flash memory.


    3. New Yocto version 4.0 Kirkstone


    Updating Yocto to Version 4.0 Kirkstone. This provides many new package versions like Qt6.3 or Chroium 101.

    We have also updated the poky layer to version 4.0.16


    4. Improved Image versioning


    The exact versions of Nboot, U-Boot and Linux Kernel will now be printed during the boot process.

    If the image is build with an tagged commit the tag name will be printed.

    If the commit is not tagged, the git commits hash will be printed.

    If the image is based on an uncommitted git, the flag "-dirty" will be added to the last commits name.


    We use an own Linux version string that will be printed additionally to the mainline Linux version. This way modules that are built for the same Linux version with just some slight changes, can still be loaded without rebuilding the whole rootfile system.


    Linux device trees are also versioned with the current version of the linux git.


    You can check the versions of the different components at runtime at /sys/bdinfo/


    5. New Release concept over github


    We now provide our Linux gits over github at https://github.com/FSEmbedded.

    All release and pre-release states will be pushed here.

    For now, we will not push each single commit to github.


    Also the release sources are not added to the release tar anymore, but will be downloaded from github during the setup process.


    The versions of the different gits of a release can be looked up in the fs-release-manifest.xml file in the release tar directory.


    6. New Azurewave wlan driver


    Additional to the mainline SD-BT-8997 driver we now provide the NXP version. This driver supports additional security features, optimized. STA and AP modes and improved roaming.


    To activate the nxp mlan driver uncomment the respective lines in:

    recipes-kernel/kernel-modules/files/mxm-wifiex.conf

    Also comment out the line for the mainline mwifiex driver.


    Please note that bluetooth is currently not supported with the nxp-mlan driver. For Bluetooth please use the mainline driver.



    Known Issues


    1. The ADP-mPCIe-Wlan adapter does not work with this release


    The PCIe card is recogniced correctly, but the mwifiex-pcie driver load.03


    =========================================================================


    The following list shows the most noticeable changes in this release in more detail since our last release for this platform. Please note that the

    source code is also used for other platforms. This is why you will also find references to other CPU types and F&S boards here in the change log.


    nbootimx6_51.bin (VN51)

    ------------------------------------

    Supported boards: armStoneA9, armStoneA9r2, armStoneA9r3, armStoneA9r4,

    efusA9, efusA9r2, PicoMODA9, NetDCUA9, QBlissA9, QBlissA9r2


    [VN49]

    - 0005378: [NBoot] Ad9 support for new boards efusA9Xr2, armStoneA9R3,

    armStoneA9r4, PicoCoreMX6SXr2


    [VN50]

    - 0005541: [NBoot] NAND dump does not work

    - 0005540: [NBoot] Memory errors on armStoneA9

    - 0005542: [NBoot] Board revision is wrong on armStoneA9


    [VN51]

    - 0005951: [NBoot] Add new board NetDCUA7

    - 0005950: [NBoot] Add secure boot for UL with MMC




    u-boot-2021.04-fsimx6-2024.04

    -----------------------------------------------

    Supported boards: armStoneA9, armStoneA9r2, armStoneA9r3, armStoneA9r4,

    efusA9, efusA9r2, PicoMODA9, NetDCUA9, QBlissA9, QBlissA9r2


    - Update to NXP u-boot-2021.04

    - Improve Uboot versioning

    - Fix bootaux command

    - Fix fat_size for files bigger than 2GB

    - Drop board revision from BOARD-CFG names

    - addfsheader.sh: Check for crc32 and xxd before using them

    - Remove sha256 and led blinking support


    linux-5.15.71-fsimx6-2024.04

    -----------------------------------------------

    Supported boards: armStoneA9, armStoneA9r2, armStoneA9r3, armStoneA9r4,

    efusA9, efusA9r2, PicoMODA9, NetDCUA9, QBlissA9, QBlissA9r2


    - Update to NXP Linux Version lf-5.15.71-2.2.1

    - Switch to FSL_ASOC_CARD sound driver for sgtl5000

    - Add F&S Versioning for kernel and device tree

    - Improve uart dma support

    - Add leds-pca963x-fus driver and revert the original to the mainline driver

    - Improve SDIO stability for Azurewave wlan chips

    - Add support to disable pin controls nodes in the device tree

    - Apply patches from mainline linux-5.15.131

    - Fix Realtek Ethernet Phy Bug in Low Power Mode

    - Fix backlight flicker for inverted pwm

    - Use common dtsi files for efus and armstone boards



    meta-fus-fsimx6-2024.04

    -----------------------------------------------

    Supported boards: armStoneA9, armStoneA9r2, armStoneA9r3, armStoneA9r4,

    efusA9, efusA9r2, PicoMODA9, NetDCUA9, QBlissA9, QBlissA9r2


    - Create standalone meta-fus repository

    - Update meta-fus to Kirkstone (Yocto 4.0)

    - Add new packages to fus-image-std: fiwared, can-utils, libgpiod-tools, spitools

    - Fix out-of-tree kernel module building

    - Add optional nxp-wifi driver support for Azurewave wlan

    - Add calibration file for TSC2004 touch chip

    - Add layer versions to the final image

    - Set default Linux terminal to vt100

    - Remove Kernel Image from the rootfs

    - Add F&S psplash Logo

    - Update fsimx6 machine to Yocto 4.0

    - Remove fbi, use weston-image instead

    - Add touchscreen calibration for SX8654




    linux-examples-fus-fs1

    --------


    (no changes)




    Documentation

    -------------


    - Update to version 4.4 of FSiMX6_FirstSteps_eng.pdf

    - Update to version 0.22 of LinuxOnFSBoards_eng.pdf


    Please download the hardware documentation directly from our website.

    Then you always have the newest version.

    Hello,


    We would like to avoid hosting binaries files in a git repository, as it is not good practice and github restricts filesizes to 50MB max

    (https://docs.github.com/en/rep…out-large-files-on-github)


    What we are already planning, is hosting a git repository with the defconfig files of the toolchains and adding the binarie files as github releases, hosted on our SFTP servers.

    (https://docs.github.com/en/rep…-on-github/about-releases)


    Would this also be sufficient for you?


    Your F&S Support Team

    Hello,


    it basically works like descried for USB Stick in Chapter 7.2 Installation to eMMC in
    https://www.fs-net.de/assets/d…n/LinuxOnFSBoards_eng.pdf


    The main difference is, that you can't split the sysimg into smaller parts with the tftp command.


    If your sysimg fits in your DRAM at once you can simply run

    Code
    1. tftp emmc-fsimx8mp.sysimg
    2. # Round up. eMMC Blocksize is 512
    3. setexpr filesize_blk ${filesize} + 1ff
    4. setexpr filesize_blk ${filesize_blk } / 200
    5. # Select user partition
    6. mmc dev 2 0
    7. # Write from the beginning if the user partition
    8. # size is given in blocks
    9. mmc write ${loadaddr} 0 ${filesize_blk}


    If your sysimg is bigger than your DRAM, you will have to split it into smaller parts on your PC (e.g. using dd) and write the latter image-part to the respective offset (also given in blocksize).


    Your F&S Support Team

    F&S Development Machine with Fedora 36 for arm32 V1.3

    There is a new Virtual Machine with Fedora36 in your download section available (My F&S / Tools-Linux /VirtualMachines/Fedora36/32-bit (i.MX6)/ F_S_Development_Machine-Fedora_36-arm32_V1.3.ova). The structure of the virtual machine is listed below.


    Content:

    • fsimx6ul-B2023.12 (/home/developer/fsimx6ul-B2023.12)
    • fsimx6sx-B2024.01 (/home/developer/fsimx6sx-B2024.01)
    • fsimx6ul-Y2024.03 (/home/developer/fsimx6ul-Y2024.03)
    • fsimx6-B2024.04 (/home/developer/fsimx6-B2024.04)

    New Content:

    • fsimx6-B2024.04 (/home/developer/fsimx6-B2024.04)

    Your F&S Support Team

    F&S i.MX6 Buildroot Release 2024.04 (fsimx6-B2024.04)


    Please see the file


    doc/FSiMX6_FirstSteps_eng.pdf


    for a description of how everything is installed and used. This doc sub-directory also contains other documentation, for example about the hardware of the boards and the starter kits.

    This is a major release for all F&S boards and modules based on the i.MX6 CPUs from NXP.

    Currently these are the modules

    armStoneA9, armStoneA9r2, armStoneA9r3, armStoneA9r4, efusA9, efusA9r2, PicoMODA9, NetDCUA9, QBlissA9, QBlissA9r2

    More boards may be added to this family in the future. All these boards can work with software that is created from this release package.

    Please note that Buildroot releases use a 'Y' for the version number. The version counting is independent form other releases.


    The release consists of the following files and directories:


    • Readme.txt Release notes (this text)
    • setup-buildroot Script to download and install the Buildroot release
    • binaries/ Precompiled images (full names)
    • sdcard/ Precompiled images (names as expected by
    • install script)
    • doc/ Hardware and software manuals, schematics



    Here are some highlights of this release.



    1. New Linux Kernel 5.15.148


    The Linux kernel is now based on 5.15.148

    - New optimizations for EXT4.

    - OverlayFS has better performance and copying up more attributes.

    - Many graphics improvements among the DRM/KMS drivers.

    - Linux 5.15 I/O can achieve up to ~3.5M IOPS per-core.

    - The PREEMPT_RT locking code was merged as a big step forward towards getting the real-time (RT) patches upstreamed in the Linux kernel.

    - Various scheduler improvements.

    - Various power management improvements.

    - Opt-in L1 data cache flushing on context switching as a security feature for the paranoid and other specialized conditions.

    - Improvements around compile-time and run-time detection of buffer overflows.

    - Additional protection around side channel attacks via clearing used registers prior to returning, making use of the compiler-side support.


    (https://www.phoronix.com/review/linux-515-features)


    Of course, there are also many changes for other CPU types (like x86) and other graphics cores (like AMD, Nvidia, Intel) but these are not of interest here.


    2. New bootloader U-Boot 2021.04


    The U-Boot is now based on 2021.04.

    Additional to the security and feature updates of the mainline U-Boot, there have been many updates on the fsimage command and the general layout of the bootloaders in the flash memory.


    3. New Buildroot version 2023.02.6


    Updating Buildroot to Version 2023.02.6. This provides many new package versions like Weston 10.0.3, imx-gpu-viv 6.4.3.p4.8 or Busybox 1.36.1.

    There is also a package for QT6.3 available, but it currently doesn't support the examples and crosscompiled qmake, so it is reather experimental in this release.


    4. Improved Image versioning


    The exact versions of Nboot, U-Boot and Linux Kernel will now be printed during the boot process.

    If the image is build with an tagged commit the tag name will be printed.

    If the commit is not tagged, the git commits hash will be printed.

    If the image is based on an uncommitted git, the flag "-dirty" will be added to the last commits name.


    We use an own Linux version string that will be printed additionally to the mainline Linux version. This way modules that are built for the same Linux version with just some slight changes, can still be loaded without rebuilding the whole rootfile system.


    Linux device trees are also versioned with the current version of the linux git.


    You can check the versions of the different components at runtime at /sys/bdinfo/


    5. New Release concept over github


    We now provide our Linux gits over github at https://github.com/FSEmbedded.

    All release and pre-release states will be pushed here.

    For now, we will not push each single commit to github.


    Also the release sources are not added to the release tar anymore, but will be downloaded from github during the setup process.


    The versions of the different gits of a release can be looked up in the fs-release-manifest.xml file in the release tar directory.


    Known Issues:


    1. The ADP-mPCIe-Wlan adapter does not work with this release


    The PCIe card is recogniced correctly, but the mwifiex-pcie driver load.


    =========================================================================


    The following list shows the most noticeable changes in this release in more detail since our last release for this platform. Please note that the

    source code is also used for other platforms. This is why you will also find references to other CPU types and F&S boards here in the change log.


    nbootimx6_51.bin (VN51)

    ------------------------------------

    Supported boards: armStoneA9, armStoneA9r2, armStoneA9r3, armStoneA9r4,

    efusA9, efusA9r2, PicoMODA9, NetDCUA9, QBlissA9, QBlissA9r2


    [VN49]

    - 0005378: [NBoot] Ad9 support for new boards efusA9Xr2, armStoneA9R3,

    armStoneA9r4, PicoCoreMX6SXr2


    [VN50]

    - 0005541: [NBoot] NAND dump does not work

    - 0005540: [NBoot] Memory errors on armStoneA9

    - 0005542: [NBoot] Board revision is wrong on armStoneA9


    [VN51]

    - 0005951: [NBoot] Add new board NetDCUA7

    - 0005950: [NBoot] Add secure boot for UL with MMC




    u-boot-2021.04-fsimx6-2024.04

    -----------------------------------------------

    Supported boards: armStoneA9, armStoneA9r2, armStoneA9r3, armStoneA9r4,

    efusA9, efusA9r2, PicoMODA9, NetDCUA9, QBlissA9, QBlissA9r2


    - Update to NXP u-boot-2021.04

    - Improve Uboot versioning

    - Fix bootaux command

    - Fix fat_size for files bigger than 2GB

    - Drop board revision from BOARD-CFG names

    - addfsheader.sh: Check for crc32 and xxd before using them

    - Remove sha256 and led blinking support


    linux-5.15.71-fsimx6-2024.04

    -----------------------------------------------

    Supported boards: armStoneA9, armStoneA9r2, armStoneA9r3, armStoneA9r4,

    efusA9, efusA9r2, PicoMODA9, NetDCUA9, QBlissA9, QBlissA9r2


    - Update to NXP Linux Version lf-5.15.71-2.2.1

    - Switch to FSL_ASOC_CARD sound driver for sgtl5000

    - Add F&S Versioning for kernel and device tree

    - Improve uart dma support

    - Add leds-pca963x-fus driver and revert the original to the mainline driver

    - Improve SDIO stability for Azurewave wlan chips

    - Add support to disable pin controls nodes in the device tree

    - Apply patches from mainline linux-5.15.131

    - Fix Realtek Ethernet Phy Bug in Low Power Mode

    - Fix backlight flicker for inverted pwm

    - Use common dtsi files for efus and armstone boards


    buildroot-fsimx6-2024.04

    -----------------------------------------------

    Supported boards: armStoneA9, armStoneA9r2, armStoneA9r3, armStoneA9r4,

    efusA9, efusA9r2, PicoMODA9, NetDCUA9, QBlissA9, QBlissA9r2


    - Update fsimx6 to Buildroot 2023.02.6

    - Update fsimx6 IMX specific packages to NXP Yocto version lf-5.15.71-2.2.1

    - Add F&S Kernel and U-Boot versioning

    - Add F&S psplash bootscreen

    - Add support for weston fbdev-backend.




    Examples fs1

    --------


    (no changes)




    Toolchain

    ---------

    fs-toolchain-11.2-armv7ahf.tar.bz2 for Linux




    Documentation

    -------------


    - Update to version 4.4 of FSiMX6_FirstSteps_eng.pdf

    - Update to version 0.22 of LinuxOnFSBoards_eng.pdf


    Please download the hardware documentation directly from our website.

    Then you always have the newest version.

    Hello,


    these pins are only available on boards without the MIPI2LVDS bridge.

    So they should be working on the PCoreMX8MM-V6-LIN but not on the PCoreMX8MM-V5-LIN.


    Are they not working on the PCoreMX8MM-V6-LIN as well?


    Your F&S Support Team

    Hello,


    we mostly used MBR, because NXP uses it in their WIC images, which we used as a template for our sysimage.


    There might be problems with older Windows PC versions, if you want to mount your filesystem via the ums U-boot command to Windows.

    But with Windows 10 starting, this should not be an issue.

    We are thinking about switching to GPT with the next major releases by default.


    Your F&S Support Team