From 9a293641b9abf9e4fca34f46a2de781f50847da9 Mon Sep 17 00:00:00 2001 From: "Westergreen, Dalon" Date: Wed, 29 Mar 2017 15:41:36 -0700 Subject: Initial commit of de10-nano recipes Please note that this is purely for development. Only superficial efforts have been made to resolve security concerns, and it should be noted that the board ships with an EMPTY ROOT PASSWORD and support for root login via ssh. This allows passwordless access to the board via ssh. recipes-bsp/u-boot: Contains the uboot 2017.03rc2 recipe and patches to support the de10-nano board recipes-connectivity/avahi: bbappend to remove unwanted packages recipes-connectivity/bluez: bbappend to add --compat to the bluetooth service to support legacy SDP APIs recipes-connectivity/openssh: bbappend to add a custom sshd_config recipes-core/base-files: bbappend to customize fstab and inputrc recipes-core/imagemagick: bbappend to change build configuration for the de10-nano board recipes-core/packagegroups: bbappend to remove an unwanted package recipes-core/webkit: bbappend to remove support for opengl recipes-demo: Various demo applications recipes-devtools: MRAA and UPM recipes recipes-images/angstrom/de10-nano-image.bb: DE10-Nano image definition recipes-kernel/de10-nano-linux-firmware: FPGA related firmware required for fpga configuration and devicetree overlay support recipes-kernel/linux: bbappend to customize configuration of linux kernel as well as patch in the de10-nano devicetree recipes-misc: various initialization and systemd scripts recipes-qt/qt5: bbappend to modify qt build options recipes-support/neon: bbappend to remove unwanted package recipes-support/upower: bbappend to remove unwanted package recipes-webserver: webserver configuration and webcontent for board hostedweb portal recipes-xfce/thunar-volman: bbappend to remove unwanted package recipes-xfce/xfce-pointers: add configuration so that xfce does not use the adxl input as a mouse recipes-xfce/xfce4-settings: bbappend to remove unwanted package Signed-off-by: Westergreen, Dalon --- .../de10-nano-fftsw-apps/files/build_all.sh | 85 ++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100755 recipes-demo/de10-nano-fftsw-apps/files/build_all.sh (limited to 'recipes-demo/de10-nano-fftsw-apps/files/build_all.sh') diff --git a/recipes-demo/de10-nano-fftsw-apps/files/build_all.sh b/recipes-demo/de10-nano-fftsw-apps/files/build_all.sh new file mode 100755 index 0000000..5811c7d --- /dev/null +++ b/recipes-demo/de10-nano-fftsw-apps/files/build_all.sh @@ -0,0 +1,85 @@ +#!/bin/sh + +APP_LIST=" +create_real_short_sine32 +create_real_short_square32 +create_real_short_triangle32 +real_short_to_ne10cpx_long +real_short_to_ne10cpx_short +ne10cpx_short_to_text +ne10cpx_long_to_text +c16_256 +c32_256 +fft_256 +fftdma_256 +neon16_256 +neon32_256 +c16_4096 +c32_4096 +fft_4096 +fftdma_4096 +neon16_4096 +neon32_4096 +c16_256x32 +c32_256x32 +fft_256x32 +fftdma_256x32 +neon16_256x32 +neon32_256x32 +c16_256x32x128 +c32_256x32x128 +fft_256x32x128 +fftdma_256x32x128 +neon16_256x32x128 +neon32_256x32x128 +stream_fpga_256x32x128 +stream_fpga_256x16x1 +stream_fpga_256x1x1 +stream_neon32_256x32x128 +stream_neon32_256x16x1 +stream_neon32_256x1x1 +stream_raw_256x32x128 +stream_raw_256x16x1 +stream_raw_256x1x1 +" + +LIB_LIST=" +overhead +" + +CC_TEST="${CC:?}" +type -t ${CC%${CC#*gcc}} > /dev/null 2>&1 || { + echo "" + echo "ERROR: cross compiler tools are not visible in the environment." + echo "" + exit 1 +} + +THE_SYSROOT="$(${CC:?} -print-sysroot)" + +[ -f "${THE_SYSROOT:?}${includedir:?}/NE10.h" ] || { + echo "" + echo "ERROR: cannot locate include file 'NE10.h'." + echo "ERROR: '${THE_SYSROOT:?}${includedir:?}/NE10.h'" + echo "" + exit 1 +} + +[ -f "${THE_SYSROOT:?}${libdir:?}/libNE10.so" ] || { + echo "" + echo "ERROR: cannot locate library archive 'libNE10.so'." + echo "ERROR: '${THE_SYSROOT:?}${libdir:?}/libNE10.so'" + echo "" + exit 1 +} + +for NEXT in ${LIB_LIST} +do + ./build_lib.sh "${NEXT}" +done + +for NEXT in ${APP_LIST} +do + ./build_app.sh "${NEXT}" +done + -- cgit v1.1