http://tuxamito.com/wiki/index.php?title=Linux_kernel_compilation_(for_mini6410_board)&feed=atom&action=history
Linux kernel compilation (for mini6410 board) - Revision history
2024-03-29T00:46:21Z
Revision history for this page on the wiki
MediaWiki 1.31.12
http://tuxamito.com/wiki/index.php?title=Linux_kernel_compilation_(for_mini6410_board)&diff=37&oldid=prev
Daniel at 13:49, 26 April 2013
2013-04-26T13:49:56Z
<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-l42" >Line 42:</td>
<td colspan="2" class="diff-lineno">Line 42:</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;"></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;"></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>The compiled kernel is the file ''zImage'' in the directory ''arch/arm/boot/zImage'' inside the kernel sources directory.</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>The compiled kernel is the file ''zImage'' in the directory ''arch/arm/boot/zImage'' inside the kernel sources directory.</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>
Daniel
http://tuxamito.com/wiki/index.php?title=Linux_kernel_compilation_(for_mini6410_board)&diff=26&oldid=prev
Daniel: /* Download Kernel sources */
2013-04-24T10:09:16Z
<p><span dir="auto"><span class="autocomment">Download Kernel sources</span></span></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 10:09, 24 April 2013</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l13" >Line 13:</td>
<td colspan="2" class="diff-lineno">Line 13:</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>|-</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>|-</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>| [https://mega.co.nz/#!m9BhxQiB!JWRnNxZ_vYDFZhiacDhCSlwKOtttmQc34bwcJQA8Gmk FriendlyARM 2.6.38 gcc patched] || 2.6.38 || 2013.04.22 || Patched to work with GCC 4.7+ versions</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>| [https://mega.co.nz/#!m9BhxQiB!JWRnNxZ_vYDFZhiacDhCSlwKOtttmQc34bwcJQA8Gmk FriendlyARM 2.6.38 gcc patched] || 2.6.38 || 2013.04.22 || Patched to work with GCC 4.7+ versions</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;">| [https://mega.co.nz/#!Xk52gL4I!FyM6hnnvcmVL-meUicupwQbL5AEegPIRX3pJ3qFY0N4 TuxamitoSoftware 2.6.38 - TS001] || 2.6.38 || 2013.04.24 || Based on the FriendlyARM kernel:<br>- Patched to work with GCC 4.7+ versions<br>- Exposure of sysfs GPIO<br>- Enabled 1-wire protocol<br>- Enabled i2c<br>- Enabled SPI (not exposed automatically)<br>- Enabled NFSv4 network file system<br>- Enabled ext4 file system<br>- Removed many debugging options<br>- Enabled USB Wireless devices<br>- Reduce creation of logs<br>- Removed INITRAMFS</ins></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>|}</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>|}</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;"></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;"></td></tr>
</table>
Daniel
http://tuxamito.com/wiki/index.php?title=Linux_kernel_compilation_(for_mini6410_board)&diff=25&oldid=prev
Daniel: Created page with "Before starting make sure to have installed in your system an ARM GCC toolchain. ===Download Kernel sources=== Get from the mini6410 support DVD, the FriendlyARM ftp or the l..."
2013-04-23T10:03:53Z
<p>Created page with "Before starting make sure to have installed in your system an ARM GCC toolchain. ===Download Kernel sources=== Get from the mini6410 support DVD, the FriendlyARM ftp or the l..."</p>
<p><b>New page</b></p><div>Before starting make sure to have installed in your system an ARM GCC toolchain.<br />
<br />
===Download Kernel sources===<br />
Get from the mini6410 support DVD, the FriendlyARM ftp or the links in this page the source of the linux kernel. These versions are patched and already include a good configured.<br />
<br />
[https://mega.co.nz/#F!7p5WhQbB!d2R6hxOa-o5ST-xCDXrjfQ See all kernels]<br />
<br />
{| class="wikitable sortable"<br />
|-<br />
! Name !! Version !! Date !! Notes<br />
|-<br />
| [https://mega.co.nz/#!ipQi2QqB!VHkKPXjv7T2WPCfiyevHiER2jCF8gD0Fl7zFMMAHKKo FriendlyARM 2.6.38] || 2.6.38 || 2012.09.04 || Original FriendlyARM kernel<br />
|-<br />
| [https://mega.co.nz/#!m9BhxQiB!JWRnNxZ_vYDFZhiacDhCSlwKOtttmQc34bwcJQA8Gmk FriendlyARM 2.6.38 gcc patched] || 2.6.38 || 2013.04.22 || Patched to work with GCC 4.7+ versions<br />
|}<br />
<br />
===Uncompress the sources===<br />
Uncompress the kernel source file with the command<br />
* <code>tar xzvf linux-xxx.tar.gz</code><br />
or<br />
* <code>tar Xzvf linux-xxx.tar.xz</code><br />
depending on the ending of the file (''tar.gz'' vs ''tar.xz'')<br />
<br />
And then ''cd'' into de directory:<br />
<code>cd linux-xxx</code><br />
<br />
===Configure the kernel===<br />
These kernels are patched with drivers to address hardware in the mini6410 board, but we can do some configuration to for example select the LCD (if any) attached to our board:<br />
* Make sure the configuration file is active: <br><code>cp config_linux_mini6410 .config</code><br />
* Enter the configuration menul <br><code>make menuconfig</code><br>(Note that you might need to install ''ncurses'' library, ''libncurses5-dev'' in Ubuntu / Debian)<br />
* Surf the menu to ''Device Drivers -> Graphics Support -> Support for frame buffer devices -> S3C Framebuffer Support (eXtended) -> Select LCD Type'' and chose the correct LCD.<br />
* Exit the menu saving the changes.<br />
<br />
[[File:Kernelconfig-mini6410-lcd.png|center|LCD Kernel configuration]]<br />
<center>''LCD Kernel configuration''</center><br />
<br />
===Compile the kernel===<br />
Execute:<br />
* <code>make</code><br />
<br />
The compiled kernel is the file ''zImage'' in the directory ''arch/arm/boot/zImage'' inside the kernel sources directory.</div>
Daniel