Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4806405
  • 博文数量: 1145
  • 博客积分: 12961
  • 博客等级: 上将
  • 技术积分: 13761
  • 用 户 组: 普通用户
  • 注册时间: 2009-01-09 11:25
  • 认证徽章:

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















分类: 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 broken for Ubuntu 12.04 , at least on my system. I’ve been told to switch to multiarch because this will be how it’s done from now on. But I soon discovered this is work in progress as quite a few packages are not multiarched yet including python .

Ubuntu developers also decided to remove rootstock (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:


and the armhf roofs:


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.   

阅读(975) | 评论(0) | 转发(0) |

登录 注册