Firefox OS/Performance/Modifying boot.img: Difference between revisions

Jump to navigation Jump to search
Line 58: Line 58:
One can make the <code>mkbootfs</code> tool by invoking <code>|./build.sh mkbootfs|</code> from the FirefoxOS source tree;
One can make the <code>mkbootfs</code> tool by invoking <code>|./build.sh mkbootfs|</code> from the FirefoxOS source tree;


Now with the command we got from the <code>unmkbootimg</code> utility, we can reconstruct the partition using <code>mkbootimg</code> such that it retains the same settings and kernel parameters. However, if applicable make sure to add <code>|--dt dtblobname|</code> to the end of the command. The utility <code>mkbootimg</code> can be built in the FirefoxOS source tree by invoking <code>|./build.sh mkbootimg|</code> and the resulting binary is found at  
Now with the command we got from the <code>unmkbootimg</code> utility, we can reconstruct the partition using <code>mkbootimg</code> such that it retains the same settings and kernel parameters. As well, if applicable make sure to add <code>|--dt dtblobname|</code> to the end of the command. The utility <code>mkbootimg</code> can be built in the FirefoxOS source tree by invoking <code>|./build.sh mkbootimg|</code> and the resulting binary is found at  


<pre>$SRC_TOP/out/host/$HOST_NAME/bin</pre>  
<pre>$SRC_TOP/out/host/$HOST_NAME/bin</pre>  


This <code>mkbootimg</code> should be used (as opposed to the one bundled with the <code>unmkbootimg</code> tool) especially if the device tree is needed.
This <code>mkbootimg</code> should be used (as opposed to the one bundled with the <code>unmkbootimg</code> tool) especially if the device tree is needed.
Confirmed users
125

edits

Navigation menu