Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 06 Apr 2018 10:43 AM by  Adam Ford
Ubuntu on torpedo DM3730
 39 Replies
Sort:
You are not authorized to post a reply.
Page 1 of 212 > >>
Author Messages
Przemysław Nogieć
New Member
New Member
Posts:25


--
16 Jan 2017 03:31 AM

    Hi everyone,

    I've got Torpedo DM3730 + wifi + development kid for it and i've got guestion: it is possible to boot from SD card 'normal' Ubuntu (eg. 14.04 LTS). If it so, how a can create bootable CD card?

    Thanks for reply.

    Regards,
    Przemyslaw

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    16 Jan 2017 06:54 AM
    I am not sure I understand you question. Are you asking if you can run Ubuntu 14 on the Torpedo or build the Torpedo code from Ubuntu 14?

    adam
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    16 Jan 2017 07:03 AM
    I want to run Ubuntu on Torpedo.
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    16 Jan 2017 07:25 AM
    My main question is : Is it possible to run on the Torpedo system like Ubuntu, Kubuntu etc with all GUI support (not just the Linux Kernel) - i want to have system on Torpedo like Raspberian on Rasberry. EG. Odroid has also its own distribution of Ubuntu (Banana PI too) and I need to run Linux (Ubuntu) on Torpedo.
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    16 Jan 2017 02:12 PM
    I had to do some digging.

    I was able to take a modern kernel (4.8+) with a device tree setup for my display and I built the kernel.

    I then put Ubuntu-Core on the Linux partition then installed the kernel modules on it and it worked, but I don't yet have a GUI available. The modern GUI's appear to require OpenGL / 3D acceleration, and TI doesn't yet have that working in the modern kernels for this processor.

    I'll try to spend some time here and there on it, but I can't promise it'll be fast.

    In the meantime, if you want to you can experiment with it, I found the armhf versions appear to work with the Torpedo (except for GUI):

    http://cdimage.ubuntu.com...ses/14.04.5/release/

    http://cdimage.ubuntu.com...ses/16.04.1/release/


    I had to set the 'optargs' boot parameter to single in order to login as root and create subsequent user accounts.
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    17 Jan 2017 01:18 AM
    Hi Adam,

    thanks for your replies.

    I'll try ubuntu base 14.04.5 for armhf.
    Can you help me and tell me how to make bootable SD card for torpedo with ubuntu 14.04 armhf?

    Thanks
    Przemysław
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    17 Jan 2017 04:01 AM
    I've got one more question: have you maybe used page: https://linuxlink.timesys.com ?
    That page can generate different kernels for Torpedo
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    17 Jan 2017 08:07 AM
    I used a newer 4.x kernel. We have some (beta) instructions for using a Modern kernel located here:

    http://support.logicpd.co...talid=0&EntryId=3053

    Checkout Section 3.2.1. Instead of decompressing the tarball from Buildroot to extract your rootfs, use the tarball from Ubuntu.

    I haven't tried it, but if you want to try the stock kernel (3.0)

    Checkout Section 3.2.11 the older User Guide http://support.logicpd.co...talid=0&EntryId=1392


    The second partition would require you to extract all the Ubuntu files. The User Guide will help you setup the U-boot parameters to configure it to boot from the SD card.

    I wasn't able to get the GUI working because some of the newer GUI's require 3D accereration and we don't have that working yet.

    The Timesys kernel (I was told) might have the 3D acceleration working. We sent them our kernels and they wrap their filesystem around it. I haven't personally used their filesystem, but we have supported them in the past.

    adam
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    18 Jan 2017 12:20 AM
    Thanks Adam so much for reply. I'll try everything out.

    Regards,
    Przemyslaw
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    18 Jan 2017 02:34 AM
    I've got question: where i can find default configurations needed in step:
    $ cp omap3_logic_buildroot_defconfig buildroot-2016.02/.config
    $ cp omap3_logic_kernel_defconfig linux-4.4.9/arch/arm/configs/.
    ?
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    18 Jan 2017 03:37 AM
    Nevermind, i've found these files in VM for Mainstream linux.
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    19 Jan 2017 07:28 AM
    Hello,

    I've succesfully installed and run kernel 4.4.9 on Torpedo :) I also installed X11 window package to kernel, bul kernel doesn't see any displays (on the development board). Can you tell me which packacge I have to install (some kind of driver?) for recognizing avaliable displays or how can i add display in linux kernel.

    Thanks for replies.

    Przemyslaw
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    19 Jan 2017 07:35 AM
    when i type 'startx' i get:


    Fatal server error:
    (EE) no screens found(EE)
    (EE)
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    (EE)
    (EE) Server terminated with error (1). Closing log file.
    xinit: giving up
    xinit: unable to connect to X server: Connection refused
    xinit: server error



    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    19 Jan 2017 07:45 AM
    The 4.4 Kernel doesn't have video support because some of the PWM migration to device tree wasn't complete which is another reason we considered the 4.4 build beta.

    I am going to see if I can find some patches for the 4.4 Kernel for you that will enable video. The newer, 4.9 Kernel has video support, but it's setup by default for the older display. I attempted to change it, but my patches to the mainline kernel were rejected because it would break any boards using the older display.

    Either way, I need to give you a patch. Would you prefer a 4.9 based patch or a 4.4 based patch?

    adam
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    20 Jan 2017 01:34 AM
    Adam, I've got 4.4.9 kernel so I want 4.4, thanks so much.
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    23 Jan 2017 01:07 AM
    Hi Adam again,

    can you tell me how can i include the patch you've sent me in my kernel?
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    23 Jan 2017 02:40 AM
    Again nevermind, I've updated kernel.
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    23 Jan 2017 04:20 AM
    I've got another question: I've installed (in kernel) direct FB and i want to try it out. But if i run dfbtest_window (f. e. ) i get
    (!) Tests/Window: 'layer->CreateWindow( layer, &m_desc_sub, &window )' failed!
    --> Access to the resource is denied
    (!) RunTest: 'CreateSubWindow' failed!
    --> Access to the resource is denied
    [[ main ]] Shutting down...
    (!!!) *** UNIMPLEMENTED [fusion_dispatch] *** [fusion.c:3937]

    what might be the problem?

    What i want to do is to run these test or run the LCD touchsreen (and display anything).
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    23 Jan 2017 06:51 AM
    I don't have much experience with DirectFB. If you're trying to use the Touch Screen, have you experimented with the 'ts_calibrate' tool?

    It's the touch screen calibration tool. It should display some cross-hairs to touch which will help the touch screen driver calibrate itself.

    Since you'e trying to get video working, I should also mention that there are some timings issues I have had with the display driver and the stock Logic PD display panel.

    To work around them, I had to play with the defconfig file to make sure the display drivers are loaded in advance of the back light. To do this, I had to make the display drivers part of the kernel, and I made the backlight into a module.

    I haven't had much luck getting video to work on Ubuntu, and I haven't figured out why.

    adam
    Przemysław Nogieć
    New Member
    New Member
    Posts:25


    --
    24 Jan 2017 12:52 AM
    Hi,

    can you tell me what changes i have to make in defconfig (by def config do you mean duildroot_defconfig or kernel_def_config? ) to make sure that the display drivers are loaded? And how can I make the display drivers part of kernel and how can I make the backlight into a module?

    Regards
    Przemyslaw

    You are not authorized to post a reply.
    Page 1 of 212 > >>