Download An Introduction to Embedded Programming in a Linux Environment
Transcript
Other Embedix SDK Topics Remembering what we learned in the previous chapter, and how powerful Target Wizard can be, we can safely work, making our advanced Embedix as painless as possible. Before we get started, it is important to point out some of the thought processes in this chapter. Since you already have experience with Target Wizard you should already know how to change options. In this chapter, the options you need will be explained, but changing to those options will be your responsibility. This is nothing more than what was learned in the previous chapter. In this chapter we want to focus on the concepts and the ultimate goal of an embedded kernel, we are trying to not focus on the details behind the ultimate goal. The steps and examples in this chapter are based on an ide hard drive. An example might state hda or hdb. if you have a scsi hard drive or other medium, then you will need to make the appropriate adjustment 9 - 2 Creating a Rescue Disk In the previous chapter, one of the mini projects was to create a rescue disk. Although this seems very straight forward, there are some hidden concepts behind building the rescue disk. This section will walk you through the process of building the rescue disk, and booting into the new kernel. The concept of a rescue disk in Embedix SDK is that the rescue disk is for booting the embedded kernel. It is not meant to boot a PC that does not contain an embedded kernel. Step 1: If you have not done so, open the Target Wizard program, and either create a new project or open an older saved project. You could load a project which you worked with in the previous chapter. We will be making changes to the Build Image Options Group. Step 2: Navigate to the Build Image Options Group and double click. Step 3: Navigate to the Install Target Image during Build Image and double click Step 4: Navigate to Create Rescue Floppy for a Root File System and double click Step 5: Choose Target Root Device Type. By default this option is set to IDE. This represents where the current image is located. In creating a rescue disk, Target Wiz- 174 An Introduction to Embedded Programming in a Linux Environment