Embedded linux

Discussion in 'Getting Started' started by Musharraf Hussain, Apr 28, 2014.

  1. Musharraf Hussain

    Musharraf Hussain New Member

    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hi all,


    I am new in Linux I have an embedded system that contains Linux 2.6.14 armv5tel. I will compile code into Ubuntu.

    Can anybody tell me :

    1- How can I detect Linux of embedded that is 32bit or 64bit ?
    2- Which version of Ubuntu should I use for development of embedded system ?
    3- Which cross-compiler should I use for compilation ?
  2. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,161
    Likes Received:
    392
    Trophy Points:
    83
    1. use the uname -a command. Example:
    Code:
     uname -a
    Linux ryan-linux-laptop 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
    the x86_64 means 64bit. If it says x86 then the system 32bit.
    2. I don't think you should use Ubuntu for an embedded system. Never the less, using a custom version of14.04 LTS may be best (If using Ubuntu. Debian or something like the Yocto project would be better).
    3. GNU GCC.
  3. Musharraf Hussain

    Musharraf Hussain New Member

    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I typed code :

    uname -a

    Result : (ARM-Linux)
    Linux localhost.localdomain 2.6.14 #258 Thu June 20 10:47:01 CST 2013 armv5tel GNU/Linux.

    Thanks
  4. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,161
    Likes Received:
    392
    Trophy Points:
    83
  5. Musharraf Hussain

    Musharraf Hussain New Member

    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Linux localhost.localdomain 2.6.14 #258 Thu June 20 10:47:01 CST 2013 armv5tel GNU/Linux.

    I have bluetooth USB device and attached to embedded system then it is not blinking.
    I need driver for this device, let me know where I can find it or I will have to develop it.

    If I will have to develop there where I can find tutorial.
  6. GrumpyOldMan

    GrumpyOldMan Active Member

    Messages:
    115
    Likes Received:
    41
    Trophy Points:
    28
    First place to look is in the kernel. Run a make menuconfig and see if there's support for your device. If not, go to the manufacturer's site.

    If you want to develop a driver, the first place to start is to read the docs within the kernel tree.
    ryanvade likes this.

Share This Page