Changes between Version 5 and Version 6 of ventana/ubuntu


Ignore:
Timestamp:
12/13/2017 01:45:07 AM (7 years ago)
Author:
Tim Harvey
Comment:

moved non-board specific sections to wiki:ubuntu)

Legend:

Unmodified
Added
Removed
Modified
  • ventana/ubuntu

    v5 v6  
    77While Gateworks cannot fully support all Linux distros, it is relatively simple to overlay a Gateworks Ventana kernel onto any non-Gateworks third party Linux distro rootfs image. For a full list of Linux BSP's for Ventana see [wiki:ventana#bsp here]
    88
    9 See the Gateworks Ventana [wiki:ventana#third_party_linux third party linux] page for more details on how to use other linux distro on Ventana.
    10 
     9This page is dedicated details regarding running Ubuntu on an Gateworks Ventana Board.
     10
     11See also:
     12 * the Gateworks Ventana [wiki:ventana#third_party_linux third party linux] page for more details on how to use other linux distro on Ventana.
     13 * [wiki:ubuntu Gateworks Ubuntu Page for general notes] 
    1114
    1215[=#prebuilt]
     
    105108
    106109
    107 
    108 
    109 
    110 [=#packages]
    111 == Ubuntu Packages ==
    112 Ubuntu inherits its package management from Debian Linux using the 'apt' packaging system and 'deb' packages. The list of package feeds is in /etc/apt/sources.list:
    113 {{{
    114 #!bash
    115 # cat rootfs/etc/apt/sources.list
    116 deb http://ports.ubuntu.com/ubuntu-ports vivid main
    117 deb http://ports.ubuntu.com/ubuntu-ports vivid universe
    118 }}}
    119 
    120 You can search for Ubuntu packages at https://launchpad.net/ubuntu. The search results will show what Ubuntu versions (by name) the package is available in and clicking on the resulting package will show information as to the package feed its contained in.
    121 
    122 The standard Ubuntu package feeds are located at http://ports.ubuntu.com/ubuntu-ports/ and you will find packages in the dist/<ubuntu-version>/<feed> directories. Ubuntu breaks up feeds into the following:
    123  * Main - Officially supported software.
    124  * Restricted - Supported software that is not available under a completely free license.
    125  * Universe - Community maintained software, i.e. not officially supported software.
    126  * Multiverse - Software that is not free. (meaning licensing)
    127 
    128 If you are trying to find out what package an application belongs to you have a few choices:
    129  1. Use {{{dpkg -S}}} on your Ubuntu development host. For example to find the package that contains ifconfig:
    130 {{{
    131 #!bash
    132 $ dpkg -S $(which ifconfig)
    133 net-tools: /sbin/ifconfig
    134 }}}
    135   * ifconfig is in /sbin/ifconfig and is part of the net-tools package
    136   * {{{dpkg -L net-tools}}} will show you everything else contained in that package
    137  2. Use {{{apt-cache search}}}:
    138 {{{
    139 #!bash
    140 $ apt-cache search ifconfig
    141 iproute2 - networking and traffic control tools
    142 net-tools - The NET-3 networking toolkit
    143 gnome-nettool - network information tool for GNOME
    144 inetutils-tools - base networking utilities (experimental package)
    145 libnet-ifconfig-wrapper-perl - multiplatform Perl wrapper for ifconfig
    146 moreutils - additional Unix utilities
    147 wmifinfo - Dockapp that shows information for all interfaces
    148 }}}
    149  3. Googling the question 'what package contains <xyz>'
    150 
    151 Personal Package Archives (PPAs) are package feeds that are not part of Ubuntu and can be used by people to distribute their own personally built packages. To use a PPA you need to first add it to your repository list and update your package sources.
    152 
    153 References:
    154  * [https://help.ubuntu.com/community/Repositories/Ubuntu Ubuntu Software Repositories]
    155  * [http://askubuntu.com/questions/4983/what-are-ppas-and-how-do-i-use-them What are PPAs and how do I use them]
    156 
    157 
    158110[=#kernel]
    159111== Kernel Updates ==
     
    176128}}}
    177129 - use {{{apt-get search linux-image}}} to determine what Ubuntu kernel versions are available
    178 
    179 
    180 
    181 
    182 [=#modem]
    183 == Modem Support ==
    184 Aleksander Morgado (​https://aleksander.es), a key developer behind the !ModemManager, libqmi, and libmbim projects that provide modem support on Ubuntu provides up-to-date Ubuntu PPA's for 14.04 trusty and 16.04 xenial.
    185 
    186 For Xenial:
    187 {{{#!bash
    188 apt-get install software-properties-common # contains add-apt-repository
    189 add-apt-repository ppa:aleksander-m/modemmanager-xenial
    190 apt-get update
    191 apt-get install modemmanager libqmi-utils libmbim-utils network-manager
    192 }}}
    193 
    194 See [wiki:wireless/modem modem] for more info on how to use these packages
    195 
    196 
    197 [=#ssh]
    198 == ssh server ==
    199 The {{{openssh-server}}} package provides an ssh daemon suitable for secure shell (ssh) and secure copy (scp):
    200 {{{
    201 #!bash
    202 apt-get install openssh-server
    203 }}}
    204 
    205 During development it may be useful to enable root ssh capability, which is disabled by default. To do this  edit /etc/ssh/sshd_config, and:
    206 1. comment out the following line:
    207 {{{
    208 #!bash
    209 PermitRootLogin without-password
    210 }}}
    211 2. Just below it, add the following line:
    212 {{{
    213 #!bash
    214 PermitRootLogin yes
    215 }}}
    216 3. Then reload SSH config:
    217 {{{
    218 #!bash
    219 service ssh reload
    220 }}}
    221 
    222130
    223131== Root filesystem Sources ==
     
    855763DISPLAY=:0.0 glxgears -info # ~300fps on IMX6Q
    856764}}}
    857 
    858 == Wireless ==
    859 
    860 Please see [wiki:ventana/ubuntu/wireless here].