0% found this document useful (0 votes)
16 views2 pages

Ubuntu Linux Image for DE1-SoC Board

This document summarizes an Ubuntu-based Linux image for the DE1-SoC board. The image includes OpenCL support and sample programs, 256MB of CMA memory allocated, example apps like hello world programs, and ROS installed for ARM systems. Revision histories show updates like installing Intel's OpenCL runtime, fixing the ADC core, and adding Python and C libraries for controlling DE1-SoC peripherals. The default IP addresses and included VNC server allow graphical access.

Uploaded by

41454545
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views2 pages

Ubuntu Linux Image for DE1-SoC Board

This document summarizes an Ubuntu-based Linux image for the DE1-SoC board. The image includes OpenCL support and sample programs, 256MB of CMA memory allocated, example apps like hello world programs, and ROS installed for ARM systems. Revision histories show updates like installing Intel's OpenCL runtime, fixing the ADC core, and adding Python and C libraries for controlling DE1-SoC peripherals. The default IP addresses and included VNC server allow graphical access.

Uploaded by

41454545
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

Ubuntu-based Linux image for the DE1-SoC board.

For details on using the image,


refer to the document "Using Linux on the DE1-SoC"

Desktop GUI: via VNC

Kernel: 3.18

Default sof: DE1 SoC Computer (loaded after bootup via init.d script)

SD Card size requirement: 8GB

U-Boot loads sof: Yes

Included features:
-OpenCL support, and sample openCL programs: helloworld, vector_add, swapper,
boardtest
-256MB CMA region allocated (for OpenCL or other applications)

Included Apps:
-helloworld
-increment_leds
-pushbutton_ieq_handler
-simple_python_gui
-simple_java_gui

REVISIONS LIST:
<Apr 2 2019>
-Installed ROS for ARM systems. For more information, and exact steps on what was
done, see installing_ros_on_de_series.txt

<Jun 13 2018>
-Updated C4DE/PyDE device drivers to print out warnings when incorrect arguments
are provided.

<May 8 2018>
-Updated OpenCL runtime to Intel environment from Altera
-Updated OpenCL init script to support OpenCL makefiles that use env var
INTELFPGAOCLSDKROOT

<Apr 30 2018>
-Updated computer system rbf to fix adc core

<Jan 31 2018>
-Updated computer system rbf
-Example programs intended for use with the Using Linux on DE-Series Boards
tutorial are now in ~/tutorial_files
-Updated PyDE, C4DE libraries and drivers. These files are now located in
~/Linux_Libraries
-Drivers are now located in ~/Linux_Libraries/drivers instead of
/lib/modules/3.18.0/kernel/drivers/IntelFPGAUP/
-Drivers are no longer automatically loaded at boot

<Aug 8 2017>
-Added "PyDE" Python library for using the peripherals included in the DE1-SoC
Computer System (LEDs, HEX, KEYs, SWs, VGA, Accelerometer)
-Added C4DE audio support and example

<Jul 10 2017>
-Added "C4DE" C library for using the peripherals included in the DE1-SoC Computer
System (LEDs, HEX, KEYs, SWs, VGA, Accelerometer)
-Added drivers for the peripherals included in the DE1-SoC Computer System, in
/lib/modules/3.18.0/kernel/drivers/IntelFPGAUP/. These drivers are used together
with C4DE.

<Mar 3 2017>
-Uninstalled unnecessary programs
-Added python GUI example

<Oct 18 2016>
-zeroed out bits in partitions to reduce the compressed image size

<Aug 18 2016>
-kernel is now 3.18

<June 17 2016>
-Wifi drivers built into kernel + firmware
-Added VNC server which automatically runs on boot
-VNC display size can be adjusted using xrandr
-clipboard sharing support
-Default STATIC ip [Link] on eth0:1 and [Link] on eth0:2
-FTP server (user: root password: password)
-New apps: gvim, emacs, codeblocks
-Fixed kbuild warnings due to timestamps
-misc directory with ip config scripts, program fpga script

Common questions

Powered by AI

The Ubuntu-based Linux image for the DE1-SoC board includes OpenCL support with sample programs like helloworld and vector_add. It requires an 8GB SD card and the U-Boot system loader. The system includes a 256MB CMA region for applications like OpenCL. Additional features are a VNC server that runs automatically, FTP server, and numerous included applications such as gvim, emacs, and codeblocks. Also, it includes built-in WiFi drivers and can be accessed via a static IP configuration .

OpenCL sample programs like helloworld and vector_add play a crucial role in facilitating developer training by providing practical examples of how to implement OpenCL applications on the DE1-SoC. They serve as reference templates, helping developers understand the setup and execution of OpenCL kernels, streamlining both learning and application prototyping. These samples also help in validating the OpenCL setup and offer a baseline for performance comparisons in custom applications .

Relocating example programs and tutorial files to ~/tutorial_files and ~/Linux_Libraries organizes resources, making them more accessible for developers. This restructuring supports efficient development workflows by reducing the time spent locating resources, thereby enhancing productivity. It also facilitates easier updates and version management of tutorial resources, ensuring developers always work with the latest tools .

Revisions include moving device drivers from /lib/modules/3.18.0/kernel/drivers/IntelFPGAUP/ to ~/Linux_Libraries/drivers. Drivers are no longer loaded automatically on boot, giving developers more control over resource management and system setup. This change implies a more manual setup process, but allows tailored initialization sequences, potentially reducing overhead and resource consumption for specific applications .

The OpenCL runtime environment for the DE1-SoC has been updated from the Altera environment to the Intel environment, with changes such as updating the OpenCL init scripts to support makefiles utilizing the INTELFPGAOCLSDKROOT environment variable. This shift allows developers to better leverage Intel's optimizations for OpenCL applications, thus potentially improving performance and compatibility with Intel's suite of OpenCL development tools .

Installing ROS (Robot Operating System) on ARM systems extends the capabilities of the DE1-SoC by enabling it to support complex robotic frameworks, which simplifies building and managing robotic applications. This installation provides developers with a comprehensive set of tools and libraries, facilitating the integration of different robotic devices .

Fixing kbuild warnings and performing kernel updates improve the stability and maintainability of the DE1-SoC system by addressing potential sources of instability and inconsistencies in kernel operations. Such updates ensure improved compatibility with user applications and reduce the likelihood of runtime errors. These changes enhance overall system reliability and facilitate easier maintenance over time, supporting long-term usability of the platform .

The DE1-SoC's default static IP settings—192.168.0.123 on eth0:1 and 192.168.1.123 on eth0:2—require configuring network devices to match these settings to ensure connectivity. Adjustments might need to be made to accommodate these IPs into existing network infrastructure, such as assigning compatible IP addresses or configuring routers and switches. Understanding these settings is crucial for establishing reliable FTP and VNC connections .

The addition of Python (PyDE) and C (C4DE) libraries for peripheral interfacing significantly streamlines the development process for applications that require interaction with hardware peripherals such as LEDs and accelerometers. These libraries abstract lower-level hardware operations, allowing developers to write higher-level code more efficiently. This can enhance productivity, reduce the learning curve, and result in faster prototyping and deployment of hardware-interactive applications on the DE1-SoC .

The addition of VNC server capabilities that run automatically on boot significantly enhances the user experience by providing remote access to the DE1-SoC's graphical interface without needing direct physical access to the board. This feature improves accessibility and convenience, particularly for remote development and testing environments, allowing users to easily manage and monitor the system's functionalities from any location connected to the network .

You might also like