Ubuntu Core Snappy on Udoo

Discussion in 'Other OS' started by freedomotic, Feb 9, 2015.

  1. freedomotic

    freedomotic Member

    Joined:
    Oct 19, 2013
    Messages:
    77
    Likes Received:
    6
  2. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    Just trying to make an image. It works on SolidRun's CuBox-i so should also on Udoo.
    I will post image and instructions soon (hoping today).
     
  3. freedomotic

    freedomotic Member

    Joined:
    Oct 19, 2013
    Messages:
    77
    Likes Received:
    6
    Great!!
    I could collaborate as tester.
     
  4. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    Download, extract and write image to SD card. It is for Udoo Quad. But someone can try on Dual.
    udoo-snappy.img.gz

    For first version it boots but I think something is wrong. I'm trying to install webdm but it doesn't start. Don't know why not. Need investigation.

    Also date is not set correctly (seems general problem). It must be set with command like
    Code:
    sudo date -s "Feb 10 18:24:00 UTC 2015"
    Work is inspired by dz0ny who port Snappy to Cubox-i. Thank you.
    Build script is also available. I noticed that program ubuntu-device-flash created disk image with GPT partition table but then u-boot overwrites it. That's why I'm converting disk from GPT to MBR format when running flashtool-asset commands. For now it seems to work but not sure if this is long term solution.
     
  5. freedomotic

    freedomotic Member

    Joined:
    Oct 19, 2013
    Messages:
    77
    Likes Received:
    6
    Great! Is it for dual or quad core? Or no difference?
     
  6. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    Tested on Quad. But someone could try on Dual. Seems OpenELEC runs on both so this could also.
     
  7. freedomotic

    freedomotic Member

    Joined:
    Oct 19, 2013
    Messages:
    77
    Likes Received:
    6
    Hi,
    I just started the image on Quad Core. It works!
    I set the date with your proposed command. It's ok. What problem did you find with it?
     
  8. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    Try installing webdm for example. In my case it got installed but web server not started after reboot.
     
  9. freedomotic

    freedomotic Member

    Joined:
    Oct 19, 2013
    Messages:
    77
    Likes Received:
    6
    Ok, I'll try. What about your date problem?
     
  10. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    Seems this is problem with Snappy itself. At least what google found. Must add one package like ntp client and then system would be set with correct time. But for this I need to study little more how to achieve that.
     
  11. freedomotic

    freedomotic Member

    Joined:
    Oct 19, 2013
    Messages:
    77
    Likes Received:
    6
    I made some tests.
    First of all if you doesn't set the date it's impossible to install any app.
    Infact server certificate verification failes, maybe because it can't check the expire date.
    After setting the date I installed webdm with
    Code:
    sudo snappy install webdm
    Installation ok but impossible to access locally or remotely with http://192.168.0.234:4200 (192.168.0.234 is the default ip).
    I checked that avahi-daemon is not running.
    All ok with my cloud installation on Amazon EC2 .
     
  12. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    Version2: everything works as expected. Setting date not needed, apps can be installed, ...

    Download, extract and write image to SD card: udoo-snappy.img.gz

    Now I have no idea what to do with it :p
     
  13. freedomotic

    freedomotic Member

    Joined:
    Oct 19, 2013
    Messages:
    77
    Likes Received:
    6
    First of all the image could be added to the download section of Udoo.
     
  14. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    How?
     
  15. freedomotic

    freedomotic Member

    Joined:
    Oct 19, 2013
    Messages:
    77
    Likes Received:
    6
    I can ask Udoo's administrators.
    What changes have done from the first version to fix the problems?
     
  16. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    Before I was using program ubuntu-device-flash from one deb archive which I though it's ok (I'm building on Ubuntu 12.04.5 LTS where is no ppa for this). But now I installed Ubuntu Vivid an copied this file from there. And all the problems went away (building ones and running too).
     
  17. humblehacker

    humblehacker New Member

    Joined:
    Apr 7, 2014
    Messages:
    16
    Likes Received:
    0
    I only just learned about Ubuntu Core when I saw it available for the Raspberry Pi and it looks awesome! I also noticed Canonical has UDOO listed as an official partner on the Ubuntu Core webpage, but couldn't find anything on the Udoo download page. Is the link posted above the most recent version?
     
  18. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    I think version made by me is the only one that exist.
    And I don't really see potential right now. Or doesn't even understand the purpose.
     
  19. freedomotic

    freedomotic Member

    Joined:
    Oct 19, 2013
    Messages:
    77
    Likes Received:
    6
    Hi vpeter
    I'm working with your image to create a snap for our domotic framework.
    Would you like to collaborate for testing?
    Thanks
     
  20. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    Thanks. But I just created this image to be useful for others.

    Let us inform about the progress anyway - maybe someone would use it.
     

Share This Page