Difference between revisions of "Buildroot directories"

From InCircuit
Jump to: navigation, search
(Created page with 'After generating a new image the first time, a couple of new folders were created. The directory binaries contains the generated images, within a project-specific subdirectory. T…')
 

Revision as of 16:08, 18 January 2011

After generating a new image the first time, a couple of new folders were created. The directory binaries contains the generated images, within a project-specific subdirectory. The name of this project usally corresponds to the .config file, initially be copied, but can be changed within make menuconfig under build options. Within the directory project_build_avr32 or project_build_arm, depending on your ICnova OEM, there is a directory of the same name. Within this directory you can find the sources of the compiled kernel, the bootloader and the busybox as well as a template for the generated filesystem. This template can be found in the directotry root. Any file you copy in a subdirectory of that, can be found in the filesystemimage after the next time make was called. So if there is a application compiled extern from the toolchain, it just have to be copied within usr/bin of that directory and is automaticly contained in the filesystemimage. But there are tight differences between this template and the content of the generated images. Eg the nodes within the directory dev, the device-nodes, are plain files in the template but special files within the image. Because of these differences, the template-directory isn't bootable directly. After the ICnova is booted, per default any file within the directory /tmp is written to the systems RAM only, so no access of the real filesystem is made.

Personal tools