Changes

Jump to: navigation, search

Development Environment HowTo (NELK)

1,173 bytes added, 07:32, 3 May 2012
Build/configure Linux kernel only
=== Build/configure Linux kernel only ===
 
If needed, user can configure and build only the Linux kernel (this is useful, for example, if you are a kernel driver developer).
 
Enter the ''EZSDK_INSTALL_DIR'' and type:
 
<pre class="workstation-terminal">
make linux
</pre>
 
This will build Linux uImage (suitable for U-Boot) and modules
 
To change the default configuration, execute:
 
<pre class="workstation-terminal">
make linux_menuconfig
</pre>
 
The usual Linux curses configuration interface will allow configuration changes.
 
To revert to the default configuration, type:
 
<pre class="workstation-terminal">
make linux_defconfig
</pre>
 
The configuration name in specified inside ''EZSDK_INSTALL_DIR/Rules.make'' into the variable ''DEFAULT_LINUXKERNEL_CONFIG''
 
Two additional target are provided:
 
<pre class="workstation-terminal">
make linux_install
</pre>
 
Copy the binaries (uImage and modules) inside the root file system (see ''EXEC_DIR'' variable inside ''EZSDK_INSTALL_DIR/Rules.make'')
 
{{Board Specific Information|text=Please note that, after running ''make linux_install'', the user should run the command ''depmod'' from the target shell
<pre class="board-terminal">root@naon:~# depmod</pre>
}}
=== Build/configure U-Boot only ===

Navigation menu