i.MX8M-Plus Linux Release Y2023.03 (Yocto)

  • i.MX8M-Plus Linux Release Y2023.03 (Yocto)


    This is a maintenance release for fsimx8mp. fsimx8mp is the software currently for all boards from F&S that are based on the i.MX8M-Plus Quad CPU from NXP (or i.MX8M-Plus for short). Currently this consists of the boards armStoneMX8MP, PicoCoreMX8MP, PicoCoreMX8MPr2 and efusMX8MP. 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.


    The release consists of two files:


    fsimx8mp-Y2023.03.tar.bz2

    This is the main release itself containing all sources, the binary images, the documentation, examples and the toolchain.


    sdcard-fsimx8mp-Y2023.03.tar.bz2

    If you copy the contents of this archive to an SD card, you can install our precompiled standard system in a very straightforward and comfortable way on the board. The SD card archive is meant for people who just want to try a release first without having to download the quite large main archive. Its content is also contained in the main release archive, so if you want to download the main archive anyway, you don't need to bother with the SD card archive.


    These tar archives are compressed with bzip2. So to see the files, you first have to unpack the archives

    Code

    1. tar xvf fsimx8mp-Y2023.03.tar.bz2

    This will create a directory fsimx8mp-Y2003.03 that contains all the files of the release.


    Please read the file doc/FSiMX8MP_FirstSteps_eng.pdf. It describes the first steps when working with the board and gives references to further reading.


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

    Known Issues


    The Link LED of the PicoCoreMX8MPr2 revision 1.00 is inverted. It will be on, if no link is detected and off if a link is detected.

    The Activity will be indicated through blinking as expected. Unfortunately, this can not be fixed by software.


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


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

    !!! Important !!!


    Please note that the update from older nboot, uboot version to the newer is necessary

    for both bootloader nboot and u-boot in the same update procedure.


    Do not update only one bootloader!


    !!! Important !!!
    =========================================================================




    Release Notes for fsimx8mp-Y2023.03


    Here are some highlights of this release.


    1. New version numbering


    We have changed the way how we name versions. In the past we had a version number made up of a major part m and a minor part n. Then we used Vm.n for Buildroot releases and Ym.n for Yocto releases. Release versions were counted individually for each CPU architecture. But then a "new" CPU type unfortunately had a smaller version number than an

    "old" CPU, even if the code was coming from the same sources or was even newer. This caused some irritations and misunderstandings of what release is actually the newest.


    So from now on we will use the year and month of the release instead, preceeded by a 'B' for Buildroot releases and a 'Y' for Yocto releases. For example the "B2019.08" of this release indicates a

    Buildroot based release from August 2019.



    2. New U-Boot 2020.04


    We have a considerably newer U-Boot now. One of the main new features is display support, so basically U-Boot can now be used to show a splash screen.


    U-Boot will also show more information about the CPU type now, for example temperature range, possible speed, etc. The command "clocks" will show much more information about internal clock rates. And USB storage devices are detected faster than before.


    U-Boot has experienced quite a lot of internal restructuring. For example it now also supports configuration via a Kconfig menu, similar to Linux kernel and Buildroot. After configuration with


    make fsimx8mp_defconfig


    simply call


    make menuconfig


    to show the menu. There you can select and de-select entries or move to sub-menus.


    Moving all configuration options from the previous header file to this menu is a long-term and still on-going process. So not all features are available in the menu, yet.


    U-Boot is now compiled and running in THUMB mode. This saves space that is needed for all the display code.



    3. New Linux kernel 5.4.70


    The Linux kernel is now based on 5.4.70. By default, we are using the Image format of the kernel now.

    • Improvements and optimizations in memory management, for example better heap and page management (tmpfs, shmem), better protection against attacks by implementing stack, heap and memory randomization.
    • Performance optimizations for the network stack, like faster TCP connections, quick killing of hanging network links, more features for the packet filter (firewall), smaller latencies on WLAN.
    • Optimizations in block layer, for example better Device Mapper for LVM, improved parallel access to directories, more efficient access to SSDs, parallel access for NFS, kernel support for file copy, server-side copy for CIFS, NFS, XFS, support for hard discs with host-managed SMR (Shingled Magnetic Recording).
    • Optimizations on file systems (NTRFS, EXT4, F2FS, NFS, XFS, Overlayfs, Ceph), new cluster filesystem Orangefs
    • Many improvements in graphics stack, like DRM (Direct Rendering Manager), new open source graphics driver etnaviv for Vivante graphics on i.MX CPUs (etnaviv = vivante backwards)
    • Better load balancing of processes to CPU cores, new cgroups v2, improved power and frequency handling, new cpufreq governor schedutil.
    • New GPIO infrastructure not using sysfs, supposed to be faster.
    • Support for USB SuperSpeedPlus (USB 3.1).
    • Many many new and improved drivers for WLAN chips, touch controllers, audio codecs, cameras, MMC/SD cards, etc.


    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.



    4. Yocto 3.0 (Zeus)


    With this release systemd will be the default init system for the example-fus-images.


    Systemd is a init system and service manager for Linux operating systems. It provides a system and service manager that runs as PID 1 and starts the rest of the system. Systemd provides aggressive parallelization capabilities, uses socket and D-Bus activation for starting services, offers on-demand starting of daemons, keeps track of processes using Linux control groups,

    maintains mount and automount points, and implements an elaborate transactional dependency-based service control logic. [Source: https://www.freedesktop.org/wiki/Software/systemd/]


    It is configured via the systemclt application.


    Also the root file system will now be mounted as read-write by default. This can be changed to read-only when setting up the build enviroment via the fus-setup-release.sh script. See LinuxOnFSBoards_eng.pdf for a detailed description.



    5. Documentation


    In the past, the documentation that was included in the release package itself was often superseded by newer versions on our website. But people continued to use the outdated version of the release, causing unnecessary complications.


    To avoid this, from now on only the software related documentation is directly included in the release and we have added a chapter to FSiMX8MP_FirstSteps_eng.pdf that contains direct links to the appropriate resources on our website. There you can download the newest versions of hardware documentations, schematics, layout files, certificates, accessories, add-ons, adapters and similar things.


    The software documentation is completely reworked. The FSiMX8MP_FirstSteps_eng.pdf document now really only shows a basic introduction to the work with boards of the fsimx8mp architecture. And there is a new document LinuxOnFSBoards_eng.pdf that shows a more in-depth view of a Linux system in general and of the F&S versions of NBoot, U-Boot, Linux and Yocto in particular. This is still work in progress, some chapters are not fully done yet and will be revised in the future. Check our website from time to time to see if there is a newer version of this document.



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


    The following list shows the most noticable changes in this release in more detail since our last regular i.MX8M-Plus release. 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 changelog.


    u-boot-2020.04-fsimx8mp-Y2023.03 (09.03.2023)


    Supported boards: armStoneMX8MP, PicoCoreMX8MP, PicoCoreMX8MPr2, efusMX8MP



    • spi:fspi: Correct structure definition for supported commands
    • fsimx8mp: Add board support for efusMX8MP
    • fsimx8mp: Add support for I2C6
    • Improve Uboot versioning
    • Remove certain u-boot commands for secure boot
    • Add secure boot for fsimx8mp
    • Fix OC-RAM Layout for fsimx8mp
    • Add support for op-tee
    • Add i.MX8MN support for Secure Boot
    • Support signed Linux images on i.MX8M based Boards
    • Add support for signed U-Boot Images for i.MX8M Boards
    • Improve functions from arch/arm/mach-imx/checkboot.c
    • Add Option to menuconfig to toggle secure boot messages
    • Add functionality for Secure Boot on i.MX8MM Boards


    linux-5.4.70-fsimx8mp-Y2023.03 (09.03.2024)

    Supported boards: armStoneMX8MP, PicoCoreMX8MP, PicoCoreMX8MPr2, efusMX8MP



    • fsimx8mp: Enable drivers for efusmx8mp in fsxim8mp_defconfig
    • drm:bridge:lt9211: Improve rgb output mode
    • drm/fb-helper: Add missed unlocks in setcmap_legacy()
    • MLK-25731: drm: imx: hdp: correct ipg clk disable
    • squash gpu: drm: bridge: synopsys: dw-hdmi: turn off power at end of interrupt routine
    • gpu: drm: bridge: synopsys: dw-hdmi: turn off power at end of interrupt routine
    • gpu: drm: bridge: cadence: cdns-hdmi-core: set cec phys_addr from edid
    • drm: bridge: dw-hdmi: check hdmi value in resume
    • Add support for efusmx8mp
    • Fix armstonemx8mp recording issue
    • ASoC: wm8960: Support headphone jack detection function
    • Add device tree version
    • Add ads1015 adc driver to defconfig
    • Add F&S Linux Version
    • Fix picocoremx8mpr2-lcdif-j070wvtc0211.dts
    • Improve bdinfo driver


    yocto-3.0-fsimx8mp-Y2023.03 (10.03.2023 based on Yocto 3.0 Zeus)

    Supported boards: armStoneMX8MP, PicoCoreMX8MP, PicoCoreMX8MPr2, efusMX8MP



    • fsimx8mp: Add support for efusmx8mp
    • Add support to change UBOOT_LOCALVERSION


    atf-5.4.70-fsimx8mp-Y2023.03 (10.03.2023)

    Supported boards: armStoneMX8MP, PicoCoreMX8MP, PicoCoreMX8MPr2, efusMX8MP


    • Change bl31 for fsimx8mp to new one
    • Change the op-tee load address for fsimx8mm
    • Add domain permission for UART2 on M7
    • Add possibility to deactivate debug UART for fsimx8mp
    • Add DEBUG_CONSOLE for imx8mn
    • Add domain permission for UART2 on M4



    Examples


    • No changes



    Documentation


    • Update to version 1.3 of FSiMX8MP_FirstSteps_eng.pdf
    • Update to version 0.15 of LinuxOnFSBoards_eng.pdf


    Please download the hardware documentation directly from our website. Then you always have the newest version.


    Your F&S Support Team

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • !!! Important !!!


    Please note that the update from older nboot, uboot version to the newer is necessary

    for both bootloader nboot and u-boot in the same update procedure.


    Do not update only one bootloader!


    Your F&S Support Team

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Hello,


    today NXP shut down the web site source.codeaurora.org. This means that the download URL in our "yocto-download" script is't correct. Please change the URL and MANIFEST enviroments as follows:

    DOWNLOAD_URL=https://github.com/nxp-imx/imx-manifest

    MANIFEST=imx-5.4.70-2.3.11.xml


    Your F&S Support Team

    F&S Elektronik Systeme GmbH
    As this is an international forum, please try to post in English.
    Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

  • Patch for Yocto package sources

    Additionally, to the former comment with instructions to change the download sources, we also provide this Patch.

    This patch fixes the sources of these packages, so they can be downloaded from their new location at github.


    Copy this patch to the Yocto directory yocto-3.0-fus and apply it with:


    Code
    1. patch -p1 < 0001-Fix-fsimx8mp-Y2023.03-package-sources.patch


    Your F&S Support Team