Login
Username:

Password:



Language Choice

FAQ

    Some typical questions about ELITE/BSP, as well as having Linux on C Controller module are listed.

ELITE

  General  Show
What is Lineo uLinux ELITE ("ELITE")?
    Standing for Embedded Linux Integrated Tools & Environments, it is Lineo's embedded Linux cross development environment to develop most suitable Linux for your product.
What's included in ELITE/BSP Q24DHCCPU-LS Basic Edition? 
    • OS to operate user CPU of Q24DHCCPU-LS
        (Kernel and packages customize for Q24DHCCPU-LS)
    • System to operate on Q24DHCCPU-LS and development environment to create user application
        (Cross development environment: toolchain, development header, library files)
    • Image generating function to install OS
    • Debugger (command line debugger)
    • MELSEC I/F sample driver
What's the system requirements?
    OS: CentOS 5.9, 6.5 32bit or later
    CPU: Intel Core2Duo processor
    RAM: 2GB or larger recommended
    HDD: Minimum 5GB free space (10GB or larger recommended)
    Other: Network card
    CD-ROM drive
    LCD (1024x768 or larger recommended)
Is ELITE installable in multiple computers?
    A MAC address-based license key is required for installation of ELITE. Please purchase a license for each computer on which ELITE will be installed.
Any support comes with ELITE/BSP Q24DHCCPU-LS Basic Edition?  
    • Usage navigation (during term of agreement)
    • Access to the website (eldmicc) exclusively for C Controller module developers
      The following development support is also available with extra fee. Please contact us at sales@lineo.co.jp for details.
    • Basic engineering service
    • Premium engineering service
What's the license form?  
    One annual license (subscription) for one installation destination (PC).
    The license includes the right to use ELITE, its update and navigation (support).
Is ELITE usable by non-root user?
    It is possible as changing /etc/sudoers and execute $ sudo elite command. Refer to Lineo uLinux ELITE User Guild
    for details.
Which kernel is used?  
How should uLinux RunTime license developed by ELITE be treated?
    uLinux (Linux generated by ELITE) is fully open source, thus incurs no costs to use it in C Controller module
    including Runtime license.
What packages/libraries does BSP include?  
Execution file generated in other environment (i.e. binary for general distribution) can be executed
as-is with ELITE?  
    Since execution files must be built for the same configuration as Linux environment where files are executed, it may cause a problem of link library version conflict and such.
What's the standards for C Programming Language for development?  
    It is based on the ANSI-C standard.
Does ELITE support 64bit operating system?  
    It doesn't support 64bit OS, but supports CentOS 5.9, 6.5 32bit or later.
What about C Controller module with 64bit operating system?  
    No, it's not supported.
Is User Manual in Japanese language?  
    ELITE/BSP is provided in Japanese and English and selectable at the time of purchase.
    Installation CD-ROM contains User Manual of the selected language accordingly.
    Website (eldmicc) is provided in Japanese and English.
What servers does BSP provide?  
    SSH, FTP and SAMBA are enabled as default and set to start at the time of target startup.
    For other servers and packages that BSP Q24DHCCPU-LS Basic Edition provides, see http://eldmicc.lineo.co.jp/packagelist/v45/.
What external storage is connectable to the Q24DHCCPU-LS?  
    SD card, USB memory and such are available.
What debugging methods does ELITE adopt?  
    ELITE supports gdb and uses two ways to debug.
    One is to run gdb directly in C Controller module, and the other is to start gdbserver for remote debugging.
Is ELITE evaluable?
    Please contact us.
How to find out product license key of ELITE?
    Please check a license key/login account notification email sent to you from ELITE/BSP License Key Support
    (CL Order License) at the beginning of use.

    OR

    Execute the following command on a PC on which ELITE is installed.

    # cat /etc/uSolutions/.ELITE/conf | grep LICENSE
    LICENSEKEY=XXXXXX-XXXXXX-XXXXXX-XXXXXX-XX   
    


How to find out product serial number of ELITE?
    Please check your ELITE installation CD label.
    A license key/login account notification email sent to you at the beginning of use also has product serial number.


  InstallationShow
Have the following error message while installation.
    -----------------
    cp: cannot create regular file `/etc/uSolutions/install_files/./installer': Permission denied
    cp: cannot create regular file `/etc/uSolutions/install_files/./installinfo': Permission denied
    Could not copy file.
    -----------------

    Probably SELinux is enabled in your computer and process within installer cannot be carried out. Disable SELinux, change its setting and reboot the computer.
  Environmental Settings表示
"localhost login:" appears but unable to log in by given user name/password after installing on a
target with an installation disk created by deploy wizard.
    Installation disk created by deploy wizard of Q24DHCCPU-LS BSP will complete the whole installation process automatically, and it does not require such operation.
    Therefore, it is considered that an installation disk is not properly created due to incorrect PATH environmental variable when "localhost login:" appears.
    For setting method of PATH environmental variable, refer to the following article in Document: BSP User Guide.
  • BSP Installation - Installing BSP (Linux version)
  • Setup Steps of PATH Environment Variable
  • *Restart ELITE after changing PATH environmental variable.

Development Environment

  JREShow
Having program aborted at ELITE boot
    java command may not be for JRE.
    Change setting by alternative.
    # alternatives --install /usr/bin/java java /usr/java/default/bin/java 16023

    #Change default setting alternatives --config java
    #Show detailed list alternatives --display java

Device list (Operability confirmed)

  Device ListShow
Which SD memory card are usable?
      Lineo confirmed operations of the following.
    • MITSUBISHI SDHC Class 6 4GB (NZ1MEM-4GBSD)
    • MITSUBISHI SDHC Class 6 8GB (NZ1MEM-8GBSD)
    • MITSUBISHI SDHC Class 6 16GB (NZ1MEM-16GBSD)
    • MITSUBISHI SD 2GB (L1MEM-2GBSD)
    • MITSUBISHI SDHC Class 6 4GB (L1MEM-4GBSD)
Which USB device are usable?
    • USB Flash Memory
    • USB Hub (*Self-powered recommended)
    • USB Keyboard
    • USB Mouse
    • USB PS/2 Converter (SANWA SUPPLY USB-CVPS2)
    • USB Printer
        The following printers supported by CUPS (Common Unix Printing System) are usable. Driver for Linux provided by a manufacturer may be needed additionally. Build may be needed depending on an environment.
      • EPSON: Consult manufacturer website for details
      • CANON: Consult manufacturer website for details
      • Visit the following link for supported status of other printers.
    • USB CD-ROM drive
      • IO-DATA DVR-UN18E
      • Logitec LDR-MA24U2
    • Other USB devices supported by Linux Kernel 2.6.35.13
Is serial device operation validated?  
    Operation of the following device is validated.
    • USB-serial conversion cable: Arvel SRC06-USB
    • *Kernel configuration is set as below at the time of operation check.
        --------
          -> Device Drivers
            -> USB support (USB_SUPPORT [=y])
              -> USB Serial Converter support (USB_SERIAL [=y])
            -> USB FTDI Single Port Serial Driver
        --------

Technical Information

  Access to Peripheral Unit  Show
Is it directly accessible to each unit of MELSEC-Q series from Linux?   
    All the access to unit is via system CPU and direct access is not permitted.
    Access to system CPU from Linux is through the MELSEC I/F sample Driver provided in BSP.
How data transfer is carried out between system CPU (VxWorks) and user CPU (Linux)?   
    Shared memory is used for data transfer.
Do you have any method or driver to access to peripheral unit?   
    MELSEC I/F sample Driver in BSP enables access to peripheral unit.
  Linux System Show
General user gets an error as trying to change his/her password. NEW
    The passwd command in BSP is a busybox package applet and links to/bin/busybox.
    Furthermore, SETUID is not set in /bin/busybox, general user cannot change password of any user including his/her own.

    $ passwd
    passwd: must be suid to work properly
     

    Use the setting below to allow changing own password to general user.

    Note:

    When setting SETUID bit in /bin/busybox, the following command is enabled for general user. (Within a command by default setting of BSP busybox.)

    passwd / su


    Refer to "Enable passwd command only" for such settings.

    Set SETUID bit in /bin/busybox

    How to set SETUID bit

    1. Login as root

    2. Set SETUID bit in /bin/busybox

    # chmod 4755 /bin/busybox


    Enable passwd command only

    Have two busybox binaries and set SETUID bit to one of them

    Copy busybox binary, set SETUID bit to one of the binaries and link passwd command to a busybox binary with SETUID bit.

    Procedures

    1. Login as root

    2. Copy /bin/busybox

    # cd /bin
    # cp -a busybox busybox.suid

    3. Set SETUID bit in /bin/busybox

    # chmod 4755 /bin/busybox.suid

    4. Recreate /sbin/passwd link

    # cd /usr/bin
    # rm -f passwd
    # ln -s ../../busybox.suid passwd


  Application Development  Show
Is it possible to switch programs in user CPU without halting control?   
    It is possible in Linux, with some exceptional instance where system restart is required.
    As to stand-alone user application, just restart application.
Is there any precautions or restrictions when using it as Linux server?   
    It cannot carry out any process beyond capability of ATOM processor (user CPU).
    Also confirm necessary service and whether it is provided as BSP in advance.
How to cross-compile Qt application?  
    Sorry! This information is only available for registered users.
Is jp106 keyboard usable on VT?  
    Sorry! This information is only available for registered users.
Is there a command to shutdown the target?  
    Although Q24DHCCPU-LS BSP does not provide shutdown command, busybox has the poweroff/reboot command,
    so use poweroff command to shutdown the target.
Is Japanese input available on console?  
    Japanese input is not supported.
Can Japanese be displayed on console?  
    Sorry! This information is only available for registered users.
     
  RealTimeShow
Latency of interruption handler
    Interrupt latency on Linux drastically changes depending on existing process at the point and their priorities.

    Although latency has improved compared to previously adopted kernel, it may be necessary to use PreemptRT kernel or to modify driver depending on operational status considering the fact that periodic response is 10ms. However, necessity of these workaround must be determined by carrying out actual operation and validation.
Is the kernel PreemptRT?
    The kernel BSP provides is not PreemptRT, so the PreemptRT Patch will be necessary to use it as PreemptRT.
    Lineo is able to undertake customized development.
  NetworkShow
Is jumbo frame supported?
    It depends on network driver to use. For C Controller module, the following driver is adopted and it supports jumbo frame as seen in the source code.

    - Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support
  SD表示
How to mount SD card?
    SD card is not mounted automatically, so manually mount after card insertion.
    To mount an SD card, execute the following command.

    ex) Mount the 1st partition of SD card

    # mount /dev/mmcblk0p1 /mnt

    Refer to the following article in Document: BSP Q24DHCCPU-LS Addendum for more details.

  • CHAPTER 8 INSTALLATION AND WIRING - 8.4 Inserting and Removing an SD Memory Card
  Installation表示
Linux installation using USB CD-ROM fails (hardware reset) and returns to BIOS. How can it be avoided?
    If you use relevant Q24DHCCPU-LS (details below), installation procedures require some changes due to firmware function addition.
      First five digits of serial number (on front and side of Q24DHCCPU-LS unit) "15082" and subsequent numbers.

    To install Linux on relevant Q24DHCCPU-LS, power up the unit while holding the U EVENT button down.
      *Until POWER lights up on power-supply unit.

Is there any other method other than using CD-ROM when installing Linux to 24DHCCPU-LS?   
    Installation using ISO image is supported, so USB flash drive and SD card are also available.
    Target boot via network (netboot etc.) or installation to the target using network are unsupported.
    It is possible to start kernel (alone) from C Controller unit and have rootfs on a network though.
How to install ISO file (created by deploy wizard) on a target with USB memory (or SD card)?
    Deploy wizard guides how to install with USB CD-ROM drive, but if USB CD-ROM drive is not functional, use USB memory (or SD card) for installation.

    Preliminary preparation

    Install syslinux package to host OS, OR use isohybrid command.

    *To acquire syslinux package, download from the following link or install by yum command.

    syslinux package

    Download and install

    # rpm -i <download RPM>

    Use yum command and install

    # yum install syslinux

    1. Execute up until "Booting Target Board" by Deploy Wizard.

    Installation ISO is created at the following location.

    <projectdir>/installcd.iso

    2. Move to a project directory.

    # cd <projectdir>

    3. Update ISO file by using isohybrid command provided in syslinux package.

    # isohybrid installcd.iso <= ISO file is overwritten.

    4. Write updated ISO file to USB memory by using dd command.

    # dd if=installcd.iso of=/dev/sdX oflag=direct bs=1M

    5. Connect USB memory to the target.

    6. Turn on the target while pressing U EVENT switch of C Controller module.

    Target is started from USB memory and installation is carried out.

    *It works the same for SD card. (Note that SDHC/SDXC card are not usable.)

    *ISO file updated by isohybrid is installable with CD as well.

  Java  Show
Is it possible to run Java (provided in Linux package) in C Controller module?   
    Yes. We perform operation check by jre-7u9-linux-i586.tar.gz.
  Coexistence with VxWorks  Show
Two OS, VxWorks and Linux coexist in Q24DHCCPU-LS?  
    VxWorks runs for system CPU and Linux runs for user CPU.