OpenEmbedded/Yocto for UDOO Boards

Discussion in 'Yocto' started by graugans, Nov 7, 2015.

  1. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Andrea Rovai and Manuel Malagon like this.
  2. Manuel Malagon

    Manuel Malagon New Member

    Joined:
    Apr 29, 2016
    Messages:
    13
    Likes Received:
    2
    Andrea Rovai likes this.
  3. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Login: root
    Password:

    There is no password needed

    Gesendet von meinem FP2 mit Tapatalk
     
    Manuel Malagon likes this.
  4. Manuel Malagon

    Manuel Malagon New Member

    Joined:
    Apr 29, 2016
    Messages:
    13
    Likes Received:
    2
    Hey man thanks so much for helping. Now I'm able to play around with the board. Nevertheless I have another question.

    I would like to add some code into the u-boot. The reason that I need it into U-Boot is because I need that piece of code to be executed as soon as the board is plugged.

    So my question is, what should I do to add my code into the u-boot and then create the image again?

    Thanks!!
     
  5. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    What kind of code you want to add? Because u-boot has a powerful scripting engine
     
  6. Manuel Malagon

    Manuel Malagon New Member

    Joined:
    Apr 29, 2016
    Messages:
    13
    Likes Received:
    2
    I need to add code to send some bytes to the LP5521 RGB LED driver chip. I have one that I have connected to the board and actually I'm currently using it from linux to indicate several statuses of my application but I need that the LED go RED as soon as I power the board and there is where u-boot enters the scene.

    Either by a u-boot script or C code is fine, I just have no idea what steps to follow to add this small piece of functionality to u-boot.

    Thanks!!
     
  7. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
  8. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    modjo likes this.
  9. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    modjo likes this.
  10. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Hi all, i make a try this evening to program the sam3x on udoo quad with arduino ide (from external pc). I follow the tutorial here but arduino ide don't find the device (i removed the jumper J18 and identified the port com before :rolleyes:). After that i tested this : http://www.udoo.org/docs/Arduino_DUE_(Sam3x)/Troubleshooting_Programming_Arduino_Due_from_External_PC.html
    but i have this error when i try to program the card with arduino ide (1.6.9 and 1.6.5) :
    SAM-BA operation failed
    ERASE FLASH
    An idea ?
     
  11. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    This needs some investigation. UDOO Quad/Dual needs another tooling AFAIK something called bossac. And the arduino tooling may expects the UDOO to have a special IP or do you try over USB cable?

    Gesendet von meinem FP2 mit Tapatalk
     
  12. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Okay, looks like the Arduino GUI uses USB to serial in your case I'll check the schematic and try to find some time this afternoon to investigate it on my own.

    Gesendet von meinem FP2 mit Tapatalk
     
    modjo likes this.
  13. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    This morning i'm trying on another pc (under kubuntu 14.10) and i have this message on arduino ide 1.6.9 :

    /home/mls/.arduino15/packages/UDOO/tools/bossac-udoo/1.3a-1.0/bossac-udoo: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/mls/.arduino15/packages/UDOO/tools/bossac-udoo/1.3a-1.0/bossac-udoo)
     
  14. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Have you installed 32Bit libraries

    Gesendet von meinem FP2 mit Tapatalk
     
  15. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    ...good question, i will check ...
     
  16. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    After a check; yes this package is already install :

    lib32z1 lib32ncurses5 lib32bz2-1.0
     
  17. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    After watching the match yesterday I found no time to test :(

    Gesendet von meinem FP2 mit Tapatalk
     
  18. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Yes and sorry for that but we are in final :D
     
  19. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Yeah, they forgot football is all about goals :)

    Gesendet von meinem FP2 mit Tapatalk
     
  20. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Hi @graugans i have 2 anothers questions, i would like to add a ftp server on my image (for quad), i didn't find anything on it for the moment. Can you just confirm if i would like to add one i have just to add in my local.conf this for example :

    MACHINE_FEATURES_append = " \
    lvds7 \
    pure-ftpd \
    "
    pure-ftpd is a part of meta-networking already use ...

    Another question, on my quad, i add a sata disk. I can saw it, mount it manually but if i would to mount it automatically at startup can you advise me a script or procedure please ?

    under a detail of my sdd :

    Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disklabel type: dos
    Disk identifier: 0x00096d0b

    Device Boot Start End Sectors Size Id Type
    /dev/sda1 2048 488390655 488388608 232.9G 83 Linux
     

Share This Page