UDOObuntu 2 with Kernel 3.14

Discussion in 'Linux Ubuntu' started by Andrea Rovai, Jul 28, 2015.

  1. chiefwigms

    chiefwigms New Member

    Joined:
    Oct 19, 2013
    Messages:
    15
    Likes Received:
    0
    I see 1wire made it into the kernel, but the dtsi for the quad hasn't been modified - have you guys verified it works with a 1wire device?
     
  2. Francesco

    Francesco Active Member

    Joined:
    Jun 23, 2015
    Messages:
    220
    Likes Received:
    110
    I will check it against a ds18b20 next week. Btw in the first release all external pins will be set as GPIOs in the device tree. Then we will investigate how to easily reconfigure the pins (eg dt overlay).
     
  3. chiefwigms

    chiefwigms New Member

    Joined:
    Oct 19, 2013
    Messages:
    15
    Likes Received:
    0
    tried this weekend - didn't detect any of my temp sensors
     
  4. karohe

    karohe New Member

    Joined:
    Sep 9, 2013
    Messages:
    3
    Likes Received:
    2
    Hi,
    Is it possible to upload the File System for UDOObuntu 2.0 so I can compile QT 5.5. I eventually would like to use QT5 and PyQt to compile and run Gui programs.

    Thanks
     
    modjo likes this.
  5. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    Can't you extract it from image itself?
     
  6. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Hi Karohe, did you compile with success Qt5.5 on Udoobuntu2 ? If yes, can you post the procedure to do it, is it more simple for you ?
    Otherwise, if you want to have the FS of udoobuntu2, you can try this :

    • Insert the SD card with udoobuntu2 into a host PC.
    • go to the path in which you want to store the backup file image on your hard drive
    # cd <path>
    • create the backup of the first 1MB of the device and skip the first KB.
    # dd if=/dev/sdx of=<image file name> bs=512 count=2000
    (WARNING: THIS COMMAND MAY DELETE YOUR HARD DRIVE PARTITION. PLEASE
    MAKE SURE YOU ARE WRITING TO THE CORRECT DEVICE!!!)
    • make sure that the partition is mounted
    # df -h
    • in the output of this command you can see the /dev/sdx item and the relative mounting
    point (reffered to as /media/sdcard)
    go to the mounting point
    # cd /media/sdcard
    create an archive of the entire content of the SD partition, specifying the destination path:
    # tar -czpf <dest. Path>/<archive name>.tar.gz ./ --numeric-owner
    At the end of this procedure you will have two files: one relative to the u-boot and boot
    environment with size 1MB, and an archive file with the content of the SD partition.
     
  7. karohe

    karohe New Member

    Joined:
    Sep 9, 2013
    Messages:
    3
    Likes Received:
    2
    So what worked for me was to basically go through UDOOBUNTU repository and install every package related to qt5. Mind you this is qt5.2.1.
    Then I installed and compiled SIP. It took a few try because of some missing packages. But I eventually figured it out using guides online. Then I compiled and installed PyQt 5.2.1. I had some problems with compiling it. The python-dev package was installed in /usr/include. But the compiler was looking for them at /usr/local/include/. This can be fixed in config file before compiling or just by being laze and copying those files to /usr/local/include. That's what I did and it worked.

    Now I can create a GUI in my ubuntu in my desktop and run it on UDOO. pretty sweet.
     
    vpeter likes this.
  8. sirrab

    sirrab UDOOer

    Joined:
    Jul 26, 2014
    Messages:
    258
    Likes Received:
    31
    Any time frame for a re-release with bug fixes, new features, etc.?
     
  9. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    I'm sorry, but not before end of November.
     
  10. chiefwigms

    chiefwigms New Member

    Joined:
    Oct 19, 2013
    Messages:
    15
    Likes Received:
    0
    the real answer is not until their next kickstarter to make it look like the software works...
     
  11. Francesco

    Francesco Active Member

    Joined:
    Jun 23, 2015
    Messages:
    220
    Likes Received:
    110
  12. sirrab

    sirrab UDOOer

    Joined:
    Jul 26, 2014
    Messages:
    258
    Likes Received:
    31
  13. sirrab

    sirrab UDOOer

    Joined:
    Jul 26, 2014
    Messages:
    258
    Likes Received:
    31
  14. Francesco

    Francesco Active Member

    Joined:
    Jun 23, 2015
    Messages:
    220
    Likes Received:
    110
    please, could you connect to the CN6 micro-USB port with the J18 jumper inserted, open the serial port and see where it hangs?
     
  15. sirrab

    sirrab UDOOer

    Joined:
    Jul 26, 2014
    Messages:
    258
    Likes Received:
    31
    Looks like this is a server version. I can log in as udooer:udooer. To get a desktop WIMP interface, I'm on my own?
     
  16. sirrab

    sirrab UDOOer

    Joined:
    Jul 26, 2014
    Messages:
    258
    Likes Received:
    31
  17. Francesco

    Francesco Active Member

    Joined:
    Jun 23, 2015
    Messages:
    220
    Likes Received:
    110
    Could you please post the result of:
    service lightdm status

    and test if
    service lightdm restart

    helps? You could also try to reflash the SD image, for me LigthDM starts automatically.
     
  18. sirrab

    sirrab UDOOer

    Joined:
    Jul 26, 2014
    Messages:
    258
    Likes Received:
    31
    lightdm start/running, process 839
     
  19. Francesco

    Francesco Active Member

    Joined:
    Jun 23, 2015
    Messages:
    220
    Likes Received:
    110
    Have you changed anything in u-boot environment variables (eg. video)?
    By default this images turns on the HDMI port. In any case, if X will not start, you will se a text-based login on the HDMI video out. Is your screen recognizing the input signal or neither that?
     
  20. sirrab

    sirrab UDOOer

    Joined:
    Jul 26, 2014
    Messages:
    258
    Likes Received:
    31
    Just reflashed the uSD card, no changes made to u-boot environment variables. There is an error message early in the boot sequence saying "** Unable to read file uEnv.txt **".
     

Share This Page