Changes

Jump to: navigation, search

Software Manual (Diva)

223 bytes added, 16:10, 2 October 2014
m
4.4 Building the software components outside Yocto
<pre>
dvdk@dvdk-vm:~/divelk/linux-am33x.git$ make diva_defconfigdvdk@dvdk-vm:~/divelk/linux-am33x.git$ make uImageam335x-divelk.dtb
</pre>
The former command selects the default DIVA configuration, while the latter builds the kernel binary image with the required u-boot headerand the dtb binary.
Default linux kernel configuration can be changed by using the standard ''menuconfig'', ''xconfig'', ''gconfig'' make target.
Subsequent builds just require ''uImage'' make target to update the binary image.
Once the build process is complete, the kernel binary image is stored into the <code>arch/arm/boot/uImage</code> file, while the dtb is stored into the <code>linux-am33x/arch/arm/boot/dts/am335x-divelk. This dtb</code> file . These files can be copied to the <code>/srv/tftp/divelk/</code> directory with the following commandcommands:
<pre>
dvdk@dvdk-vm:~/divelk/linux-am33x.git$ sudo cp arch/arm/boot/uImage /srv/tftp/divelk/dvdk@dvdk-vm:~/divelk/linux-am33x$ sudo cp arch/arm/boot/dts/am335x-divelk.dtb /srv/tftp/divelk/
</pre>
=== Build/configure U-Boot only ===
Enter the U-Boot sources directory (''~/divelk/u-boot-am33x.git'') and run the following commands:
<pre>
dvdk@dvdk-vm:~/divelk/u-boot-am33x.git$ make diva_spibootdvdk@dvdk-vm:~/divelk/u-boot-am33x.git$ make
</pre>
<pre>
dvdk@dvdk-vm:~/divelk/linuxu-boot-am33x.git$ sudo cp MLO MLO.byteswap u-boot.img /srv/tftp/divelk/
</pre>

Navigation menu