--- /dev/null
+###############################################################################
+# Please modify this file if you want to configure your own generic component.
+# You can uncommon and/or change the following Kconfig elements.
+###############################################################################
+
+
+if GENERIC_SCRIPTS
+ comment "No additional options for SCRIPTS"
+
+# config GENERIC_SCRIPTS_OPTION0
+# bool "option0"
+# help
+# Help text
+endif
--- /dev/null
+ifndef PETALINUX
+$(error "Error: PETALINUX environment variable not set. Change to the root of your PetaLinux install, and source the settings.sh file")
+endif
+
+include generic.common.mk
+
+FILES := caninit lsrt upbit
+
+.PHONY: all build pre-build post-build install pre-install post-install config clean
+all: build
+
+build:
+
+pre-build:
+
+post-build:
+
+install:
+ for f in $(FILES); do $(TARGETINST) -d /$$f ./$$f; done
+
+pre-install:
+
+post-install:
+
+config:
+
+clean:
+
--- /dev/null
+#!/bin/sh
+
+#devmem 0x43c20000 32 0
+
+br=1000000
+#br=1000000
+#br=500000
+#br=250000
+#br=125000
+#br=62500
+
+rmmod xilinx_can
+rmmod sja1000_platform
+modprobe xilinx_can
+modprobe sja1000_platform
+canconfig can0 bitrate $br
+canconfig can1 bitrate $br
+canconfig can2 bitrate $br
+canconfig can3 bitrate $br
+canconfig can0 start
+canconfig can1 start
+canconfig can2 start
+canconfig can3 start
+
+modprobe uio_pdrv_genirq of_id=can-crossbar
+
+for pid in $(ps | grep -- -can | grep -v grep | awk '{print$1}')
+do
+ chrt -r -p 99 $pid
+done
+
--- /dev/null
+#!/bin/sh
+
+cd /proc
+for f in [0-9]*
+do
+ awk "{print \"$f\", \$2, \$40}"<$f/stat
+done | sort -k3
--- /dev/null
+#!/bin/sh
+
+zcat /system.bit.bin.gz >/dev/xdevcfg
+++ /dev/null
-mkimage -A arm -O u-boot -T script -C none -a 0 -e 0 -n "t-Boot Script" -d bootscript.txt bootscript
#
# Generic Components
#
+CONFIG_SUBSYSTEM_COMPONENT_GENERIC_NAME_SCRIPTS=y
#
# Auto Config Settings