OpenEmbedded / Angstrom : use the demo root filesystemBoot to the installed rootfsCheck Load Linux with u-boot chapter in the u-boot page to know how to load a Linux kernel. Once loaded, the Linux kernel tries to mount a root file system ; command line parameters can indicate a location of such a rootfs. This option can be specified during the build process of through a u-boot environment variable. Here is a sample command line for booting in the proper partition of the NAND FLASH : address indicated in the mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2which leads to the following u-boot command to setup the environment : setenv bootargs 'mem=64M console=ttyS0,115200 root=/dev/mtdblock1 rw rootfstype=jffs2' saveenv Once the Linux kernel and root filesystem loaded, you can access the Linux console through the serial line plugged on DBGU port. Fit application set to your needsWhile building the rootfs imageThe AT91 demo policy is to bring the user more application to figure out what the capacities of the CPU are. We add then more packages at build time. The way to add packages to a base Angstrom image at building time is to add a new recipe, stating that it requires the base recipe, and to modify the RDEPENDS = "\ [..] ${ANGSTROM_EXTRA_INSTALL}" Check the attached ANGSTROM_EXTRA_INSTALL += " \ <package_name> \ <another_package_or_task> \ <..> \ " The complete process of how to build the rootfs is described in the How to build Angstrom for AT91 from sourceschapter. This point is discussed in details in this acticle : The correct way to add packages to an OpenEmbedded Image. With pre-built packets in handsReferring to the Angstrom Manual, you can check how to install new packages in an existing Angstrom distribution. 5. Installing Software and Package Management. So, there is always the ability to add applications to an already built distribution. Here is different mean to add packaged applications to a running system. Install application packages over the networkReference chapter in the Angstrom manual. Here is the Opkg official website. On the target, Angstrom feeds are discussed in the Angstrom Wiki. Information on available packages are stored on particular files: the
ProcedureOn the host machine :
On the target
Install application packages from local storageReference chapter in the Angstrom manual.You can pick those packages in the You can install
| ||||||||||||||
|
没有评论:
发表评论