This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to install the Linux EZ SDK on brand new Beaglebone.

Other Parts Discussed in Thread: LINUXEZSDK-SITARA

Hi

I've purchased a Beaglebone, and it comes with an SD that has Angstrom on it.

I saw that TI is also supplying an official OS for the Beaglebone, so I was trying to get info and figure out if I would prefer more to run the graphical UI via LCD, or run the Angstrom with Gnome via DVI cape.

Now from what I can tell, to install the EZ SDK, you need a card that has 2 partitions; on one of these partitions there is the start_here script that would run the installer (once that the board has been hooked up via USB to a linux machine).

I don't have such image, my SD card show just 1 partition (BEAGLE_BONE), which is mounted when I plug the board via USB; there is no trace of the start_here script.

I've found a page on your site where you have the download (http://www.ti.com/tool/linuxezsdk-sitara#descriptionArea), I've downloaded the image for the Beaglebone (ti-sdk-am335x-evm-05.06.00.00-Linux-x86-Install), but it is not in IMG format so I am not sure how to put it on the SD card.

Is there a page that shows the instructions to install the OS on the Beaglebone, when there is no SD card with the TI image available?

Thanks !

  • Thanks for the link Biser,

    I've tried to follow the instructions, but I have 2 problems:

    1) I've downloaded PSP-04.06.00.08, to get the files needed (mksd-am335x.sh, MLO, u-boot.img, uImage and nfs.tar.gz). I've copied the first 4 in a dir in my home, as per instructions. But I cannot see anywhere the nfs.tar.gz

    2) When I run the script, i get an error  "incorrect rootfs location", which is probably the error message for not having nfs.tar.gz?

    Is there any direct download for the nfs.tar.gz?

    Thanks!

  • Hello Fulvio

    I am not IT staff , but I'm using beagleBone and
    I installed SDK Linux on SD-Card
    (installed  new kernel image to blank SD-CARD).
    I'm sorry if this comment makes cofuse you..

    Perhaps you have downloaded AM335xSDK from Downloadpage,
    http://software-dl.ti.com/dsps/dsps_public_sw/am_bu/sdk/AM335xSDK/latest/index_FDS.html

    as the same page you will find "Sitara Linux Software Developer's Guide"
    (fileName:sitara-linuxsdk-sdg-05.06.00.00.pdf)

    in that Developer's Guide , descrives how to make SD Card.(P266 in PDF)

    According to that manual, to make bootable sd-card , execute the command; create-sdcard.sh.
    that command should be executed in Ubunts OS in VirtualPC in your PC.
    (before execute the command , you must install AM335xSDK to Ubunts OS)

    you can find same information at
    Sitara Linux SDK create SD card script WebPage
    http://processors.wiki.ti.com/index.php/Sitara_Linux_SDK_create_SD_card_script

    I hope you get some hits.

    thanks

  • Hi Fumio

    Thanks for the reply; glad to see another BB user :)

    So this is where I am, after going back and forth with the docs :

    -Got the SDK on my linux machine; the basic info about how to install it was found on this board by mistake (basically once downloaded the installer, you need to set the x permissions or it won't run), changed that and the TI SDK was finally installed on my Ubuntu (altho i can't run the setup.sh in the ti-sdk since my ubuntu is 12.10, which is not supported). All the info says that you gotta run the script on the TI-SDK sd card in the beaglebone, but it seems that the script is just running the installer; I wish I would find this info 3 days ago :)

    - Found about the create-sdcard, and ran it using the default image, but when I pop the card in the BB, I get nothing....the "heartbeat" led stay off, same for the one that shows SD activity. The LCD also does not even power up (tried with both the LCD cape on and off). If I pop back the SD card with Angstrom everything works again.

    I have checked the partitions, and I get 2 partitions after using create-sdcard.sh, but for some reasons the beaglebone won't boot with it.

    I've downloaded the ti-sdk-am335x-evm-05.06.00.00-Linux-X86-install and the ti-sdk-beagleboard-05.05.01.00-Linux-x86-install and neither of them is able to make a bootable BeagleBone SD card, running ti SDK on the board.

    From your comment, it seems that you did exactly what I tried already, so I don't really get what am I missing here.

    Were you able to just pop in the BB the sd card, created by create-sdcard.sh and boot correctly the board?

    Thanks!

  • To Fulvio

    So far as I've read your comments , I think your  process is  correct .

    >Were you able to just pop in the BB the sd card, created by create-sdcard.sh and boot correctly the board?

    I was create bootable SD-Card on Ubunts and insert SD-Card to BeagleBone and booted.

    For any hits for you ,  I write all of  my command  log at GoogleDocumet. Please read the docuemt  and find out  what is  different. (the command log  was too long  to write this board system ,  so I write in GoogleDocument)

    Please check this ---->

       Document Title:    [ti_sdk_setup]

       URL:  https://docs.google.com/document/d/17rOGdnQONnO-1hoE4IfKX7oqche22aimH94E6vZDckM/edit

    In this document , I describe  how to check  the output of each commands.  All of sequences are  complex and many  options  are exists .So I don't know whether  my process is correct or not. But finally I make a SD-Card and booted BeagleBone. I hope this document might help you.

    My native language is Japanese , so the document  will contain many strange expressions..  sorry.

  • Domo Arigato Fumio!

    I will get the doc and give it a try to see what I ddi wrong; thanks a lot!

  • Ok, I went trough the whole document and finally I was able to make a bootable SD card!

    The problem was the setup.sh script; once that I modified the script so it would run on my Ubuntu version, everything went fine.

    Now how can I actually have the UI to load on the BeagleBone? I have the LCD cape attached already, but at boot it stays dark.

    Thanks a lot!

  • To Fulvio

    >finally I was able to make a bootable SD card!

    It was good!

    >Now how can I actually have the UI to load on the BeagleBone?

    I don't have LCD Cape , so I did't execute any GUI applications.

    according to the TI's Manual..

    http://processors.wiki.ti.com/index.php/Matrix_Users_Guide
    To Launching Matrix GUI System

    ---------------------------------------
    >> /etc/init.d/matrix-gui-2.0 start
    ---------------------------------------

    and following folders might be related to GUI Demo appliction.
           /usr/bin/SGX/demos ... SGX Graphics Accelerator(maybe)
           /usr/bin/qtopia ... Qt GUI Widgets?

  • Thanks a lot!

    I've tried to launch it, but I get nothing on the screen....it stays black basically. Altho the gui process seems to start. Am I missing some steps to be able to use the LCD? I don't get anything from a package update, all seems to be to the latest version.

    root@am335x-evm:/etc/init.d# ./matrix-gui-2.0 start
    /etc/init.d
    Removing stale PID file /var/run/matrix-gui-2.0.pid.
    Starting Matrix GUI application.

  • To Fulvio

    I don't have LCD Cape , so my advice may will be exact.. sorry.
    So I hope to get any advice from TI staff.

    ...............

    As I checked again on my BeagleBone , I found  incorrect informations in my advice.

    correct infomations are as following

    (1)the matrix-gui-2.0 is automatically executed when boot up BeagleBone
    (2)the matrix-gui Demo is Server-Client Model

    <<i'll explain in  detail>>

    As I posted message that you should execute following command

    /etc/init.d/matrix-gui-2.0 start

    but this command is already executed when boot BeagleBone(Linux SDK).

    <<the reason>>

    Linux on BeaglBone is runlevel as 5 and in /etc/rc5.d directory
    set matrix-gui-2.0 should be executed.

    file:/etc/rc5.d/S97matrix-gui-2.0

    If you want to confirm matrix process is running or not ,
    please check by following command after boot up BeagleBone.

    ps | grep http

    if httpd process is running , you can find httpd process.

    eg
    # ps | grep http
    1322 nobody 2448 S /usr/sbin/thttpd -d /srv/www -p 8080

    in this state, matrix demo process(httpd) is running and
    it's listening port is 8080

    (2)According to the manual, GUI Demo(matrix) will be displays
    automatically in LCD Device.
    But on your system LCD is still dark, you'd better check
    th client application. please execute following command

    matrix_browser -qws http://localhost:8080

    This command will start the browser application on BeagleBone.
    I have no LCD Device so this command is failed. My BeagleBone shows
    following messages.

    # matrix_browser -qws http://localhost:8080
    QScreenLinuxFb::connect: No such file or directory
    Error opening framebuffer device /dev/fb0

    perherps I have no LCD so /dev/fb0 will be not exists and error..
    or .. not ??


    I have no LCD, so my advice is limit , sorry.
    As I've written you'd better get info from TI staff.
    or ,, how about make a new post such as
    [ I installed Linux SDK matrix demo but LCD is till black]
    (sorry for poor English skill)

    If I have LCD cape , I may give you answer , but LCD cape is little bit expensive.

    I hope your system will work correctry..

  • No worries Fumio, I am learning a lot from your posts, which is my main objective, so your help is really valuable for me!

    I've checked and in fact the matrix process is running; I've also tried to start it and I can see that the PID of the matrix-GUI is saved in a file (var/run/matrix-gui-2.0.pid), and in fact that PID is correctly running. So the problem doesn't seems to be the GUI on the OS.

    I've tried to run the command to visualize the browser and I get the same error as you get; this means that at boot, the OS does not see the LCD cape at all, so it never creates the frame buffer device. At this point I can only assume that there is some sort of change to make in the config files, to let the OS to see the LCD (Angstrom see the cape without problems, so I would exclude a malfunction on the LCD cape.)

    I will take your suggestion and open a different topic, to see why the LCD is not working. Thanks a lot!

  • To Fulvio

    Thanks for quick reply.

    > the OS does not see the LCD cape at all

    I think so. This probrem is caused by unable to  find the LCD device by OS  and it may not be loaded an adequate device driver for LCD.

    >I will take your suggestion and open a different topic

    I hope you will get  a  good advice.

  • Fumio, thanks for setting up the doc. It was really helpful.

  • Hello Paras

    >thanks for setting up the doc. It was really helpful.

    Thank you for your comment.

    If  there is a mistake or question about  that document ,  please tell me.  

    (it was just workaround and unofficial document..)