http://tuxamito.com/wiki/index.php?title=U-Boot_bootloader_compilation_(for_mini6410_board)&feed=atom&action=historyU-Boot bootloader compilation (for mini6410 board) - Revision history2024-03-29T07:47:34ZRevision history for this page on the wikiMediaWiki 1.31.12http://tuxamito.com/wiki/index.php?title=U-Boot_bootloader_compilation_(for_mini6410_board)&diff=34&oldid=prevDaniel at 13:49, 26 April 20132013-04-26T13:49:04Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 13:49, 26 April 2013</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l22" >Line 22:</td>
<td colspan="2" class="diff-lineno">Line 22:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* <code>APLL_SDIV xx</code></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* <code>APLL_SDIV xx</code></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* <code>CONFIG_SYNC_MODE</code></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* <code>CONFIG_SYNC_MODE</code></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">----</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"><comments/></ins></div></td></tr>
</table>Danielhttp://tuxamito.com/wiki/index.php?title=U-Boot_bootloader_compilation_(for_mini6410_board)&diff=33&oldid=prevDaniel: Created page with "== Compiling BootLoader == This is the piece of software that setups the board before loading the Operating System. In this section we will compile the source of the bootload..."2013-04-26T09:49:43Z<p>Created page with "== Compiling BootLoader == This is the piece of software that setups the board before loading the Operating System. In this section we will compile the source of the bootload..."</p>
<p><b>New page</b></p><div>== Compiling BootLoader ==<br />
<br />
This is the piece of software that setups the board before loading the Operating System. In this section we will compile the source of the bootloader.<br />
<br />
You can get the source code from:<br />
* the mini6410 support DVD (recommended)<br />
* [https://mega.co.nz/#!XlxxDCSC!IVE__hg8ogOdYc-cC1voXSYv5RsgS2VVz8B2Pjc1qSs patched version to run at 666 Mhz]<br />
<br />
Extract the sourcecode, enter the directory and run depending on the amount of RAM in your board:<br />
* <code>make mini6410_nand_config-ram128</code><br />
* <code>make mini6410_nand_config-ram256</code><br />
<br />
And then:<br><br />
<code>make</code><br />
<br />
As result you will have a file called ''u-boot.bin''.<br />
<br />
===Changing clocks===<br />
For overclocking (or underclocking) of the CPU and the RAM you have to modify the file ''include/configs/mini6410.h''. Comment the default <code>#define CONFIG_CLK_532_133_66</code> and uncomment any other of the <code>CONFIG_CLK</code> lines. You can also uncomment <code>CONFIG_CLK_OTHERS</code> and define the values of:<br />
* <code>APLL_MDIV xx</code><br />
* <code>APLL_PDIV xx</code><br />
* <code>APLL_SDIV xx</code><br />
* <code>CONFIG_SYNC_MODE</code></div>Daniel