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.

Ubuntu filesystem on DM8148

Hi All,

I have a DM8148 evm and I am planning to bring up Ubuntu-10.04 filesystem on the target board instead of the busy box minimal fs supplied with the EZSDK (version 5_05_02_00).

I have recompiled my kernel with inotify support.

I referred to the below link but it is not clear enough:

https://wiki.ubuntu.com/ARM/RootfsFromScratch


Can somebody please guide me on the exact steps I need to follow to bring up ubuntu 10.04 with X and GUI support on DM8148?

Thanks in advance

  • Margarita Gashova,

    Thanks for the reply. We have already gone through the forum but we couldn't find anything substantial.

    I wanted to know whether installing rootstock and running the rootstock command is more than enough to get the ubuntu filesystem running on dm8148 ?

    If there is a guide on how to bring up ubuntu filesystem on dm8148 it would really be helpful.

    Thanks and Regards.

  • Hello,

    kiran kumar6 said:
    I wanted to know whether installing rootstock and running the rootstock command is more than enough to get the ubuntu filesystem running on dm8148 ?

    I haven't tried.

    kiran kumar6 said:
    If there is a guide on how to bring up ubuntu filesystem on dm8148 it would really be helpful.

    Since, I know there is no such kind of document but I will check.

    You could try to post your query in our linux forum:

    http://e2e.ti.com/support/embedded/linux/default.aspx

    Best Regards,

    Margarita

  • Download ubuntu-core-12.04-armel.tar.gz from ubuntu website
    http://old-releases.ubuntu.com/releases/ubuntu-core/releases/12.04/release/

    ===========static edit of the rootfs==========
    1. Remvoe root password from /etc/shadow
    2. config /etc/network/interfaces and /etc/resolv.conf
    3. copy ttyO0.conf to /etc/init 
    ==========boot up system================

    install other packages as you needed.

  • Margarita Gashova

    Thanks for the information. I will post my query in the above mentioned forum.

  • Hongfeng Wang,

    Thanks for the reply.

    I tried the above mentioned steps and now I can login to ubuntu. The ubuntu filesystem is up and running on dm8148. But I am unable to get any kind of graphical output on HDMI port.

    Is it because X is not present in the filesystem or due to syslink and other modules not inserted before run level 5?

    Looking forward to your reply.

    Thanks and Regards

  • I never tried Xwindows on DM8148, you can refer to this article:

    http://processors.wiki.ti.com/index.php/DM814X_AM387X_VPSS_Video_Driver_User_Guide#Load_VPSS.2C_Fbdev.2C_and_V4L2_Display_Driver_Modules

  • On dm8148 apt-get update is not working properly. I get the following errors while running apt-get update on dm8148 using ubuntu-core-12.04-core-armel or ubuntu-core-12.04.4-core-armhf filesystems.

    root@localhost:~# apt-get update
    Err http://ports.ubuntu.com precise Release.gpg
      Temporary failure resolving 'ports.ubuntu.com'
    Err http://ports.ubuntu.com precise-updates Release.gpg
      Temporary failure resolving 'ports.ubuntu.com'
    Err http://ports.ubuntu.com precise-security Release.gpg
      Temporary failure resolving 'ports.ubuntu.com'
    Reading package lists... Done
    W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/precise/Release.gpg  Temporary failure resolving 'ports.ubuntu.com'

    W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/precise-updates/Release.gpg  Temporary failure resolving 'ports.ubuntu.com'

    W: Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/precise-security/Release.gpg  Temporary failure resolving 'ports.ubuntu.com'

    W: Some index files failed to download. They have been ignored, or old ones used instead.

    I am not able to install any package on dm8148. Please guide me to resolve this issue.

    Thanks in advance

  • have you set up your DNS? edit /etc/resolv.conf
    add line
    nameserver your_dns_server_ip

  • Hi Hongfeng Wang,

    Thank you very much for your timely support.

    We added our DNS server IP in etc/resolv.conf file and now apt-get is working.

    Our main objective is to get X up and running so that we can get display on HDMI and run opencv based applications.

    We had tried to run it on ezsdk minimal fs but cvshowimage API was failing.

    Can you please let us know if anyone else has tried the same before with the ubuntu armhf or armel filesystems on DM8148 and was able to render successfully?

    Thanks and Regards,

    Kiran

  • Hi,

    Ubuntu-core-12.04-armel filesystem is up and running on TIdm8148. I installed X11and all X windows related package using apt-get utility on dm8148 properly.

    But when I run applications such as gedit, synaptic etc which uses X on dm8148, I get the following message on minicom:

    ** (gedit:29955): WARNING **: Command line `dbus-launch --autolaunch=d8149dabd6653298901627770002b9d8 --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.\n

    Gtk-WARNING **: cannot open display: :0.0

    How to remove this warning?

    Thanks in advance