博航社区

 找回密码
 立即注册博航社区

用新浪微博连接

一步搞定

QQ登录

只需一步,快速开始

查看: 10782|回复: 0
打印 上一主题 下一主题

How to Run Ubuntu 10.04 on your PandaBoard(1) [复制链接]

Rank: 2

跳转到指定楼层
楼主
发表于 2011-9-6 13:03:45 |只看该作者 |倒序浏览
分享到:
There are few locations on the Internet very useful in helping us getting the information we need to run Ubuntu on PandaBoard. However, it took me quite a while to read all that and find the correct and exact steps I need to take to have a stable and working Ubuntu system at the end. So, I decided to have this knol specific to PandaBoard to help me and others in doing the same.


Contents

    Items you will need: What Options do we Have? Using the Pre-Installed OMAP4 Images To Run the Demo Release follow these steps: Find and download the correct Ubuntu image Maverick 10.10 Install the image to your SD Flash Run your new Ubuntu system and enable Ethernet connection Change the default password to default user "ubuntu" Add new user and set the password, then add the user to sudo group Install GUI xfce4 :-) more fun with PandaBoard :-) Enabling the WiFi and BlueTooth  on PandaBoard Install SSH and Configure it to have a better security to be able to connect to the board later for development Change you HostName of your PandaBoard
  • Some References

Items you will need:


  • Ubuntu Host computer, or any Linux based OS, Preferable Ubuntu
  • Internet connection
  • Be familiar with how to install packages on Ubntu
  • PandaBoard, or any other ARM based board like, BeagleBoard, GumStix Overo, or others you might have to search the differences in hardware and adjust for that

What Options do we Have?
  • Using the Pre-Installed OMAP4 Images, it is full and stuffed with the full Ubuntu Net-book
  • Follow the Demo release which is very basic and will be a way to star from the ground up

Using the Pre-Installed OMAP4 Images

I will have to go in more details later, but for now, follow this link it will send you to OMAP Images from Ubuntu.com
then you need to go and get the OMAP4 Addons

To Run the Demo Release follow these steps:Find and download the correct Ubuntu image Maverick 10.10

    • Go to this link and download the image Ubuntu Maverick
    • I suggest you go and visit this link and get the latest release
    • You will need to unpack it
      • tar xJf ubuntu-10.10-r7-minimal-armel.tar.xz


Install the image to your SD Flash

    • CD to the new folder and run the script file
      • cd ubuntu-10.10-r7-minimal-armel
      • sudo ./setup_sdcard.sh --mmc /dev/sdX --uboot panda
    • Replace sdX with the correct dev name to your SD card
    • You might be asked to install some packages first, copy the list of packages and install them then run the script again
    • This is going to take a few minutes
    • Once the script is done you are ready to insert the SD card into your PandaBoard

Run your new Ubuntu system and enable Ethernet connection

Once you insert the SD card into the PandaBoard you should be able to power it and see Ubuntu start.  First thing we will need to enable the network after you login.  Again, the user ID: ubuntu and Password: temppwd
type the following to test available Ethernet Devices
sudo ifconfig -a
This command will show you a list of devices eth0, usb0, or usb1
On my PandaBoard it is usb1
sudo dhclient usb1



Change the default password to default user "ubuntu"

    • You can always change the default user "ubuntu" password on your PandaBoard
    • Actually, I strongly recommend that you do that for security so make your own password
    • If you logged in as "ubuntu" then all you need is to type  passwd
      • You will get a prompt asking you for original password which is "temppwd"
      • Another prompt asking for new password, type your new password
      • Another prompt asking you to confirm the password, re-Type your new password
      • that is it, make sure you remember the new password or write down somewhere
      • I would always recommend to create another user account and make that account part of sudoers for backup, so go a head and read the next topic if you need to create a new user
    • If you are logged in as a different user that is just fine,
      • go a head and type "su ubuntu"  this command will set you as if you were logged in as ubuntu
      • Type the password as mentioned before "temppwd"
      • Now follow the previous steps from 1 to 5 above as if you are logged in as ubuntu user
      • when you are done, type  "exit" this will make you exit using the user ubuntu

Add new user and set the password, then add the user to sudo group

    • To add new user we use "adduser" command
    • Open a terminal, and type sudo adduser user_name
    • Replace user_name with the new user you are adding
    • You will be asked to enter new UNIX password for the new user, then verify it
    • Make sure you choose a strong password and make a note of it
    • You will be asked few times for more information such as Full Name, Room Number, ... you do not have to enter any values and just press Enter
    • You will get the question "Is the information correct? [Y/n]" Type y after you verify the information you typed and press Enter
    • The new user account has been created successfully!
    • now to get your user to be in the sudoers group follow this link "add user to sudoers"

Install GUI xfce4 :-) more fun with PandaBoard :-)

At some point you will need to run a GUI on your PandaBoard.  There are few desktops you can install, but, the one I tested successfully is xfce4 desktop, very nice and runs smooth on the PandaBoard.  Here is how to install it:

  • Make sure you enable the network on your PandaBoard, follow steps mentioned above
  • Run sudo apt-get update then sudo apt-get upgrade to make sure your system is up-to-date
  • Run sudo apt-get install xfce4 gdm xubuntu-gdm-theme xubuntu-artwork xserver-xorg-video-omap3 network-manager
  • when it is done you will be able to restart your system and boot right to the new desktop

分享到: QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
分享分享0 收藏收藏0 转发到微博

使用道具 举报

Archiver|手机版|谷歌地图|百度地图|官网地图|淘宝链接|博航智能圈 - ARM嵌入式AI物联网IOT机器人

GMT+8, 2024-5-7 15:02 , Processed in 0.042938 second(s), 7 queries , Gzip On, Memcache On.

club.broadon.net

© 2007-2012 BroadOn

回顶部