Mpc8313erdb not fresh pkg package, put the file into RAMDisk
Generated Rootfs.ext2.gz.uboot by the Ltib compiler it can be used directly uboot. Let's say we've written the appropriate external file to move the RAMDisk in. You can create a pkg package. Then configure the compilation (,. ,)。 Of course, such a method is more troublesome. Then there is a simpler way, do not need to create a new pkg will be able to directly put the file into the RAMDisk inside.
There are two ways to put the file in:
1. In the Ltib installation folder, a new folder named Merge. Then put the files you need to put in the folder, the system in the generation of RAMDisk, will be in the merge all the contents of the copy to RAMDisk "/" root folder
<ltib_install_dir>/merge
2. Create a new directory named merge in the project configuration directory. Then put the files you need to put in the directory, the system when generating RAMDisk, will be in the merge of the entire contents of the copy to RAMDisk "/" root directory
<ltib_install_dir>/config/platform/<board_name>/merge
Because I use Mpc8313erdb, so my folder is: <ltib_install_dir>/config/platform/mpc8313erdb/merge.
Here's a little bit different: the merge under the Ltib root folder is for all projects, and the merge folder in Mpc8313erdb is only for Mpc8313erdb project.
Another point is that the system will first copy the merge under the Ltib root folder and then copy the merge of the detailed item (MPC8313ERDB), which will also be overwritten.
Copyright notice: This article Bo Master original articles, blogs, without consent may not be reproduced.
Original address: http://www.cnblogs.com/bhlsheji/p/4888927.html
Mpc8313erdb not fresh pkg package, put the file into RAMDisk