Inflexion UI Demo on i.MX53: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
en>Peter K (1 Version importiert) |
Peter (Diskussion | Beiträge) K (1 Version importiert) |
(kein Unterschied)
|
Aktuelle Version vom 31. Oktober 2023, 09:03 Uhr
This page contains instructions how to set up the Inflexion UI demo on Bluetechnix i.MX53 modules.
Demo Video
Want to watch our demonstration video first? Click here!
Software versions
- Bluetechnix Linux BSP release 1.2
- Inflexion UI for i.MX processors version 2.3
- Get Inflexion UI via https://go.mentor.com/imxinflexion (You have to register)
Instructions
- Install the package on a Windows PC. The install folder (mgc/) also contains binaries for the target Linux OS and source code for the demo application. So you should copy the folder to your Linux PC where you compile the Linux BSP with LTIB usually. You will need it there later.
- Documentation is installed at
<inflexion_install_path>/mgc/embedded_2011_03_iMX/docs/pdfdocs/
- The setup procedure for LTIB-generated root file systems is described in Chapter 3: Working with Inflexion UI on Linux in PDF file
embedded_inflexion_ui_imx_user.pdf
- Download the i.MX53 hardware codecs package from the Freescale website.
IMX_MMCODECS_11.05.tar.gz
- Unpack it and copy the package files to /opt/freescale/pkgs/ (on the PC where you compile the Linux BSP with LTIB):
cp IMX_MMCODECS_11.05/Ltib\ Files/*.tar.gz /opt/freescale/pkgs/
- Unpack the .spec files and copy them to the LTIB installation directory:
cd IMX_MMCODECS_11.05/Ltib\ Files/ unzip ltib_spec_patch_base_on_11.05.01.zip cp ltib_spec_patch_base_on_11.05.01/* <ltib install folder>/ltib/dist/lfs-5.1/fsl-mm/
- We need to change LTIB configuration a bit. Go to your LTIB folder and run
./ltib -c
- In Package list, select freetype, libpng, zlib, and amd-gpu-bin-mx51.
- In Package list-->Freescale Multimedia Plugins/Codecs, select fsl-mm-codec-libs and gstreamer-fsl-plugins
- Back to main configuration menu, select Configure the kernel, then choose Exit and Save.
- Kernel Configuration:
- Enable General Setup --> POSIX Message Queues
- Disable Device Drivers --> Graphics Support --> Console display driver support --> Framebuffer Console support
- Exit and Save
- Now, LTIB compiles added packages and creates the rootfs.
- After this is finished, copy
<install_path>/mgc/embedded_2011_03_iMX/InflexionUI-Runtime-2.3/Linux/inflexionui/libs/armeabi/iMX5x/gles2/libinflexionui.so
to LTIB's rootfs/usr/lib/ folder (This is the Inflexion UI library).
- Now, we must compile the Inflexion UI demo, so add the default compiler to your $PATH. From the LTIB folder, run
source set-toolchain-path
- Build the demo application
cd <inflexion_install_path>/mgc/embedded_2011_03_iMX/InflexionUI-Runtime-2.3/Linux/demo/inflexion_demo make LTIB_ROOTFS=<ltib_rootfs_path>
where <ltib_install_path> is the complete path to LTIB's rootfs folder.
- Copy bin/inflexionui_demo to rootfs/usr/bin in LTIB's rootfs folder.
- Set up a bootable SD card for the CM-i.MX53/Qseven-i.MX537 by running ./setup_sdcard.sh. It will contain the Inflexion UI demo. (Alternatively, you may boot via NFS.)
- Boot the CM-i.MX53 from the SD card. For the Qseven-i.MX537, wait until it has loaded U-Boot, hit any key to stop autoboot, and type
run bootcmd_mmc
- to run Linux from the SD card.
- Log in and run
inflexionui_demo
READY!
Demo operation
If you have connected a USB keyboard, navigate with the following keys:
- Up, down, right, left: Use the arrow keys
- Back: Use the Tab key