5.3 Linux Support

20

5.3.6Userland build tool

As mentioned before, we at Boundary Devices use a variant of an older version of the PTXDist tool to keep track of the cross-compilation needs for various libraries. This allows inter-library dependencies to be expressed, and also allows the canonical source locations to be used during a build.

This should really be better documented, but the short and simple build instructions are as follows.

$wget http://boundarydevices.com/userland_20051126.tar.gz

$tar zxvf userland_20051126.tar.gz

$cd userland

$make menuconfig

-- at a minimum, you’ll need to set an archive path to

a writable directory, and validate your kernel and toolchain paths.

$ make cramfs

Note that this takes a while (over an hour on a typical machine), but will result in a cramfs image being created in the userland/ directory.

Also note that installation of the [[tinylogin]] program requires privileges to [[setuid root]]. Because of this, the makefile rules/tinylogin.mak uses the [[sudo]] program. If you don’t have sudo installed, this process will fail. If you do, you may see a password prompt very near the end of the build process (while installing tinylogin into the root filesystem). To avoid this, you can either set your [[sudo]] timeout to something large and perform a sudo operation before kicking off the build, or do as I do and set it negative (no timeout). For reference, refer to this document or [[man sudoers]].

The choice of cramfs is for illustration (and because it requires that everything be compiled and installed). Refer to Section 5.3.8 for more de- tails about the choices available and decisions you need to make regarding deployment.

More specifically, the userland build tool is designed to allow repro- ducible builds of entire userland filesystems and device nodes for embedded Linux distributions.

The general flow of the make is as follows:

1.Configure the system through the kconf tool. This step produces a file named .config in the userland directory.

You should save this file for future reference when you have a set of choices that meet your needs. By saving it off to say good.config, you can copy it back to .config and reproduce the build later.

2.Get the source code for each component. Since downloading all of

December 28, 2005

Revision 2.8

Page 20
Image 20
Sonic Alert 2.8 user manual Linux Support Userland build tool

2.8 specifications

Sonic Alert 2.8 is a state-of-the-art alarm clock designed primarily for individuals with hearing impairments or those who simply require a more robust waking mechanism. Engineered to deliver high-performance features and proprietary technologies, this device stands out as a reliable solution for a restful night and an efficient morning wake-up.

One of the hallmark features of Sonic Alert 2.8 is its powerful bed shaker. This vibration mechanism is designed to be placed under your pillow or mattress, providing a tactile wake-up signal. For individuals who may not respond to traditional auditory alarms, this function ensures that they start their day without being late for appointments or commitments.

The alarm clock also boasts an impressive sound output. With adjustable volume settings, users can customize the alarm sound to their preference, ranging from gentle melodies to loud, attention-grabbing beeps. This flexibility caters to diverse user needs, allowing for a more personalized waking experience.

In terms of visibility, Sonic Alert 2.8 integrates a bright, flashing strobe light that works in conjunction with the auditory alarms. This visual cue appeals to those who may have difficulty hearing and can be beneficial in noisy environments. The strobe light can be set to flash in a specific pattern or color, adding another layer of customization to the waking experience.

Moreover, Sonic Alert 2.8 is engineered with a user-friendly interface, featuring large, easy-to-read display numbers that are perfect for the visually impaired. The intuitive buttons allow for straightforward operation, including setting alarms or toggling through various functions with minimal hassle.

The device is also equipped with a battery backup feature, ensuring that alarms will still sound even during power outages. This functionality provides peace of mind, knowing that important morning engagements won't be missed.

Additionally, Sonic Alert 2.8 is constructed with durable materials, making it a reliable companion for years to come. The sleek design and compact size make it easy to place on any bedside table without taking up excessive space.

Overall, Sonic Alert 2.8 exemplifies innovation in alarm technology, combining advanced features and thoughtful design to cater to users' unique needs. Whether for the hard of hearing or anyone who simply desires a more effective wake-up method, this alarm clock is an ideal choice.