˚Angstr¨om Manual– Embedded Power –Merciadri1Luca, Ko¨en2KooiJune 29, [email protected]@student.utwente.nl
CHAPTER 1. WARNINGSCHAPTER 1WarningsBeforebeginning to speak about˚Angstr¨om, here are some problems you could encounter whentrying it:1.Installing˚An
CHAPTER 2. INSTALLATION OPTIONSCHAPTER 2Installation optionsFor a given device, there are different possibilites to try˚Angstr¨om on it:1. Using the i
CHAPTER 3. LOOPBACK IMAGECHAPTER 3Loopback ImageContents3.1 Use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CHAPTER 3. LOOPBACK IMAGE 3.2. INTERESTConsequently, even if you hard-reset the device, doing all the given steps will, if you have alreadytried˚Angst
CHAPTER 4. LIVERAM DISKSCHAPTER 4LiveRam DisksContents4.1 Interest . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
CHAPTER 4. LIVERAM DISKS 4.3. EASY VERSIONS1. A boot loader finds the kernel image on the disk, loads it into memory, and starts it,2. The kernel initi
CHAPTER 4. LIVERAM DISKS 4.4. HARD VERSIONS4.4.2 In PracticePractically, you may wonder how all these files can be found, as, even with some searches o
CHAPTER 4. LIVERAM DISKS 4.4. HARD VERSIONS4.4.2.2 The OutfileThere is nothing to say about the outfile, except that giving it a representative name is
CHAPTER 4. LIVERAM DISKS 4.4. HARD VERSIONS#!/bin/sh# Run this to build the boot bundle# L. 01-Nov-09dt="‘date +%d%m%y-%H%M%S‘"./make-bootbu
CHAPTER 4. LIVERAM DISKS 4.5. KEXECBOOTS4.5 Kexecboots4.5.1 CreditsYuri Bushmelev, Thomas Kunze and Matthew Allum are the authors of the kexecboot.4.5
CONTENTS CONTENTSContentsThanks 1License 2I History 3II Installation 51 Warnings 62 Installation options 73 Loopback Image 83.1 Use . . . . . . . . .
CHAPTER 4. LIVERAM DISKS 4.5. KEXECBOOTSThekexecbootkernel’s command line arguments are set in the default recipe file, i.e.recipes/kexecboot/linux-kex
CHAPTER 4. LIVERAM DISKS 4.5. KEXECBOOTS1.Zauruses with default bootloader and MTD partitioning have only1.2 Mbof free space inNAND to hold kernel. Mo
CHAPTER 4. LIVERAM DISKS 4.5. KEXECBOOTS(a)Nobootablepar-ti-tionsfound.(b)Twopar-ti-tionsfromSD-card.Figure 4.5.1: Kexecboots’ screenshots.18
CHAPTER 5. DIFF. IMG. FOR DIFF. PURP.CHAPTER 5Different Images for Different PurposesAccording to [5], there are different types of images. They are rep
CHAPTER 5. DIFF. IMG. FOR DIFF. PURP. 5.1. FORMATSExtension Description.tar.gz, .tar.bz2, .cpio.gz Archived root filesystem (rootfs), suitablefor insta
CHAPTER 6. HARDWARECHAPTER 6HardwareUnfortunately, embedded devices vary greatly in their architecture and system software, andas of now, no generic i
CHAPTER 6. HARDWARE 6.1. SUPPORTED DEVICES2. Sharp Zaurus family (old method, kernel in NAND). Please follow the following links,according to your dev
CHAPTER 6. HARDWARE 6.1. SUPPORTED DEVICES8. Pandora Handheld (see http://openpandora.org/).The h2000 create random problems because of WM 2005. Seeht
CHAPTER 7. AFTER INSTALLATIONCHAPTER 7After Installation7.1 First Steps7.1.1 Security Before EverythingOnceyou have installed˚Angstr¨om and booted int
CHAPTER 7. AFTER INSTALLATION 7.1. FIRST STEPSsession when logging into X, “Language” dropdown. After˚Angstr¨om install, it will contain twochoices: “
CONTENTS CONTENTS4.5.4 Way of Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174.5.5 Consequences . . . . . . . . .
CHAPTER 8. BUG TRACKING SYSTEMCHAPTER 8Bug Tracking SystemFor the bug tracking system, please use BugZilla (http://bugs.openembedded.org/). That is th
Part IIIBuilding27
All˚Angstr¨om images are built using OpenEmbedded. We here describe the steps (comingfrom [8]) which are necessary to setup an environment where you c
http://cgit.openembedded.org/cgit.cgi/openembedded/tree/conf/machine?h=stable/2009.(c) Start building. Use# set environment variablessource source-me.
Part IVThe˚Angstr¨om System30
CHAPTER 9. INTRODUCTIONCHAPTER 9IntroductionThe˚Angstr¨om system1is a Linux distribution (distro) for embedded devices (PDAs, Beagleboards,Mobile Phon
CHAPTER 10. PACKAGING SYSTEMCHAPTER 10Packaging SystemSome info comes from [5].10.1 IntroductionAsany modern distribution,˚Angstr¨om is fully package-
CHAPTER 10. PACKAGING SYSTEM 10.3. COMMANDS• GPG signed packages and feeds.Consequently, we shall speak only about opkg here.The feeds for the 2007 im
CHAPTER 10. PACKAGING SYSTEM 10.4. SELECTING PACKAGES10.4 Selecting PackagesAs with any Linux distro, there are oftentimes different packages availabl
CHAPTER 11. USECHAPTER 11Use11.1 The UserOnce you have installed˚Angstr¨om, you can modify your owner’s info by editing/etc/gpe/gpe-ownerinfo.data11.2
CONTENTS CONTENTS11.3.4.3 WEP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4011.3.4.4 WPA . . . . . . . . . . . . . . .
CHAPTER 11. USE 11.3. GLOBAL NETWORKINGifconfig• Bring interface interfacename up:ifconfig interfacename uporifup interfacename• Bring interface inter
CHAPTER 11. USE 11.3. GLOBAL NETWORKINGnet.ipv4.ip_forward = 0is already there. You can then reload the config usingsysctl -p /etc/sysctl.confwhich sho
CHAPTER 11. USE 11.3. GLOBAL NETWORKINGshould display some devices, but at least usb0. If necessary, you may runifup usb0(ifusb0is already there, no n
CHAPTER 11. USE 11.3. GLOBAL NETWORKINGpand -connect xx:xx:xx:xx:xx:xxon the other where the xx’s are the parts of the MAC address of the other device
CHAPTER 11. USE 11.3. GLOBAL NETWORKING11.3.4.2 CommandsCommands for WiFi are supposed to be known (iwconfig,iwlist, . . . ), as they are universal. H
CHAPTER 11. USE 11.4. ERRORS YOU COULD ENCOUNTER#/etc/wp_supplicant.confctrl_interface=/var/run/wpa_supplicantctrl_interface_group=0eapol_version=1ap_
CHAPTER 12. GETTING MORE HELPCHAPTER 12Getting More HelpTheobjective of this booklet was to provide an easy way to find fresh info about˚Angstr¨om.It i
INDEX INDEXIndex.cpio.gz, 20.exe, 20.ext2, 20.ext2.bz2, 20.img, 20.img.bz2, 20.jffs2, 20.summary.jffs2, 20.tar.bz2, 20.tar.gz, 20base-image, 19bootbun
BIBLIOGRAPHY BIBLIOGRAPHYBibliography[1]BitBake, BitBake (Example 4.7), 2010.http://bitbake.berlios.de/manual/ch04s02.html#id870480.[2]Y. Bushmelev, P
CONTENTS CONTENTSThanksI(Luca Merciadri) would sincerely want to thanksAndrea Adamifor his information aboutkexec-stuff,Yuri Bushmelevfor his details
LicenseThe Angstr¨om Manual is under Creative Commons (CC) BY-SA license. In this, BY and SA globallymean ([3,4]) that others can remix, tweak, and bu
Part IHistory3
˚Angstr¨om was started by a small group of people who worked on the OpenEmbedded,OpenZaurus and OpenSimpad projects to unify their effort to make a st
Part IIInstallation5
Komentáře k této Příručce