Diva: Difference between revisions
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
You need a Diva board with a Linux kernel with Xenomai extensions, and a filesystem with relative user-space libraries. | You need a Diva board with a Linux kernel with Xenomai extensions, and a filesystem with relative user-space libraries. | ||
== Download PLC runtime software from Axel == | == Download PLC runtime software from Axel == | ||
You can download | You can download the archive '''TargetDiva_141015.tar.bz2''' from the section '''Downloads''' of our website, under section '''Run-times PLC''' and '''Diva board PLC Run-time''' | ||
Uncompress the archive on a Unix-type filesystem. | |||
== Copy DTB on target board == | |||
Copy the file '''./kernel_dtb/am335x-axel.dtb''' on your board. | |||
Please refer to instruction here: http://wiki.dave.eu/index.php/Booting_Linux_Kernel. | |||
Example: if you are booting from a tftp server, copy the file in the tftp publish directory and then, on your board u-boot prompt, type | |||
setenv dtb_file am335x-axel.dtb | |||
saveenv | |||
== Copy Linux kernel on target board == | |||
Copy the file '''./kernel_dtb/uImage_axel''' on your board. | |||
Please refer to instruction here: http://wiki.dave.eu/index.php/Booting_Linux_Kernel. | |||
Example: if you are booting from a tftp server, copy the file in the tftp publish directory and then, on your board u-boot prompt, type | |||
setenv bootfile uImage_axel | |||
saveenv | |||
Revision as of 16:29, 15 October 2014
PLC Runtime configuration on Diva board
The following instructions will help you to set up a Diva board from Dave, so that it can be used as a PLC target, with the ability to configure generic modules for I/O on CANopen fieldbus.
Prerequisites
- Owning a Diva board with Divelk and Daku daughter-boards or equivalent hardware, and Linux-Xenomai kernel and filesystem.
Please see following link: http://www.dave.eu/dave-cpu-module-am335x-diva.html
- Have a development environment for your Diva, please refer to the documentation here:
http://wiki.dave.eu/index.php/Category:Diva and http://wiki.dave.eu/index.php/Booting_Linux_Kernel
Installation steps
Set up a Diva board
You need a Diva board with a Linux kernel with Xenomai extensions, and a filesystem with relative user-space libraries.
Download PLC runtime software from Axel
You can download the archive TargetDiva_141015.tar.bz2 from the section Downloads of our website, under section Run-times PLC and Diva board PLC Run-time Uncompress the archive on a Unix-type filesystem.
Copy DTB on target board
Copy the file ./kernel_dtb/am335x-axel.dtb on your board. Please refer to instruction here: http://wiki.dave.eu/index.php/Booting_Linux_Kernel. Example: if you are booting from a tftp server, copy the file in the tftp publish directory and then, on your board u-boot prompt, type
setenv dtb_file am335x-axel.dtb saveenv
Copy Linux kernel on target board
Copy the file ./kernel_dtb/uImage_axel on your board. Please refer to instruction here: http://wiki.dave.eu/index.php/Booting_Linux_Kernel. Example: if you are booting from a tftp server, copy the file in the tftp publish directory and then, on your board u-boot prompt, type
setenv bootfile uImage_axel saveenv