Chinaunix首页 | 论坛 | 博客
  • 博客访问: 9147473
  • 博文数量: 1726
  • 博客积分: 12961
  • 博客等级: 上将
  • 技术积分: 19850
  • 用 户 组: 普通用户
  • 注册时间: 2009-01-09 11:25
个人简介

偷得浮生半桶水(半日闲), 好记性不如抄下来(烂笔头). 信息爆炸的时代, 学习是一项持续的工作.

文章分类

全部博文(1726)

文章存档

2024年(2)

2023年(26)

2022年(112)

2021年(217)

2020年(157)

2019年(192)

2018年(81)

2017年(78)

2016年(70)

2015年(52)

2014年(40)

2013年(51)

2012年(85)

2011年(45)

2010年(231)

2009年(287)

分类: Android平台

2016-04-06 17:29:03

I’ve recently upgraded to Ubuntu 12.04 and this is a great operating system. However, if you do some arm development and expect to be able to install cross libraries (armel/armhf) or easily generate an arm rootfs using the tools you’ve been used to, you’ll be disappointed.

In Ubuntu 11.10 (Oneiric), I used xapt and dpkg-cross to retrieve armel libraries, but it’s  , at least on my system. I’ve been told to switch to  because this will be how it’s done from now on. But I soon discovered this is  as quite a few packages are not multiarched yet  .

Ubuntu developers also decided to  (which makes sense since xapt/dpkg-cross will be deprecated), so if you want to generate a rootfs the “gool ol’” way (which won’t be supported much longer), you’d have to install an Oneric chroot to run rootstock, or copy the rootstock script in Pangolin.

There are 2 ways to get an Ubuntu rootfs now:

  1. Download the official Ubuntu-Core 12.04  armel or armhf image (a minimal image without X). This is the recommend method, especially if stability is the most important for you, or if you need armel.
  2. Download one of the monthly Linaro armhf releases. That’s the image you’ll want if you need the latest developments. This version should work just fine, but is not as thoroughly tested as the official Ubuntu release.

If you select method 1, you’ll then need to install the needed packages with apt-get. In case your target board only support Wi-Fi (i.e. no Ethernet), you may have to download the required packages (e.g. wireless-tools, wpa-supplicant…) and install them manually (TBC).

To get the armel rootfs:

wget http://cdimage.ubuntu.com/ubuntu-core/releases/12.04/release/ubuntu-core-12.04-core-armel.tar.gz

and the armhf roofs:

wget http://cdimage.ubuntu.com/ubuntu-core/releases/12.04/release/ubuntu-core-12.04-core-armhf.tar.gz

Several Ubuntu rootfs are available with the monthly Linaro releases:

  • Ubuntu Desktop (Official Linaro Release) -  e.g. April 2012 Release (492 MB)
  • ARM Linux Internet Platform (ALIP), a lightweight distribution for internet browsing and emails. April 2012 Release (248 MB)
  • Nano – A minimal image with terminal access only. April 2012 Release (36 MB)
  • Developer – Same as nano but with development tools, e.g. gcc, gdb, libtool, automake… (aka build essentials). April 2012 Release (146 MB)
  • Server (which was not available last month)

You can get the latest images monthly from  usually released around the 25th.   

阅读(1878) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~