From 115cfa37270af2fac392692ea48343beeeb462aa Mon Sep 17 00:00:00 2001 From: Kristian Klausen Date: Mon, 2 May 2016 16:25:23 +0200 Subject: [PATCH 01/20] ntnu-b2xx: Added system ntnu-nest-04. --- systems/ntnu-b2xx/ntnu-nest-04.cfg | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 systems/ntnu-b2xx/ntnu-nest-04.cfg diff --git a/systems/ntnu-b2xx/ntnu-nest-04.cfg b/systems/ntnu-b2xx/ntnu-nest-04.cfg new file mode 100644 index 0000000..7843add --- /dev/null +++ b/systems/ntnu-b2xx/ntnu-nest-04.cfg @@ -0,0 +1,8 @@ +# ntnu-nest-0x +cfg_hostname='ntnu-nest-03' +cfg_eth_ext_ip='10.0.60.53' +cfg_eth_ext_mk='255.255.0.0' +cfg_eth_ext_gw='10.0.60.1' +cfg_ptpd_interface='eth0' +cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux openssl openssh sshpass rtklib' +cfg_services1='vsp_pair rtc-ds3231 rtklib_rtkrcv' From 792d11ca1cba45304928133a6284ddf6f019c3c6 Mon Sep 17 00:00:00 2001 From: Kristian Klausen Date: Mon, 2 May 2016 16:26:19 +0200 Subject: [PATCH 02/20] ntnu-b2xx: Added ssh tools to hexa-004, x8-002, x8-008. --- systems/ntnu-b2xx/ntnu-hexa-003.cfg | 2 +- systems/ntnu-b2xx/ntnu-x8-002.cfg | 2 +- systems/ntnu-b2xx/ntnu-x8-008.cfg | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/systems/ntnu-b2xx/ntnu-hexa-003.cfg b/systems/ntnu-b2xx/ntnu-hexa-003.cfg index 766ef5c..15976ec 100644 --- a/systems/ntnu-b2xx/ntnu-hexa-003.cfg +++ b/systems/ntnu-b2xx/ntnu-hexa-003.cfg @@ -4,5 +4,5 @@ cfg_eth_ext_ip='10.0.60.210' cfg_eth_ext_mk='255.255.0.0' cfg_eth_ext_gw='10.0.60.1' cfg_ptpd_interface='eth0' -cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat' +cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass' cfg_services1='vsp_pair rtc-ds3231 force_10mbit rtklib_rtkrcv' diff --git a/systems/ntnu-b2xx/ntnu-x8-002.cfg b/systems/ntnu-b2xx/ntnu-x8-002.cfg index de9c0d8..df48764 100644 --- a/systems/ntnu-b2xx/ntnu-x8-002.cfg +++ b/systems/ntnu-b2xx/ntnu-x8-002.cfg @@ -4,5 +4,5 @@ cfg_eth_ext_ip='10.0.60.105' cfg_eth_ext_mk='255.255.0.0' cfg_eth_ext_gw='10.0.60.1' cfg_ptpd_interface='eth0' -cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat' +cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass' cfg_services1='vsp_pair rtc-ds3231 rtklib_rtkrcv' diff --git a/systems/ntnu-b2xx/ntnu-x8-008.cfg b/systems/ntnu-b2xx/ntnu-x8-008.cfg index 1818ab5..09e7f75 100644 --- a/systems/ntnu-b2xx/ntnu-x8-008.cfg +++ b/systems/ntnu-b2xx/ntnu-x8-008.cfg @@ -5,4 +5,5 @@ cfg_eth_ext_ip='10.0.60.135' cfg_eth_ext_mk='255.255.0.0' cfg_eth_ext_gw='10.0.60.1' cfg_ptpd_interface='eth0' -cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav libswiftnav' +cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass' +cfg_services1='vsp_pair rtc-ds3231 rtklib_rtkrcv' From 438cfa26ebbea0e5105ac72f1a979eba068bf8e3 Mon Sep 17 00:00:00 2001 From: Kristian Klausen Date: Thu, 5 May 2016 22:54:08 +0200 Subject: [PATCH 03/20] ntnu-b2xx: fs/etc/rc.d/rtklib_rtkrcv: Added functionality to create the folder /opt/lsts/rtklib/ if it does not exist. --- systems/ntnu-b2xx/fs/etc/rc.d/rtklib_rtkrcv | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/systems/ntnu-b2xx/fs/etc/rc.d/rtklib_rtkrcv b/systems/ntnu-b2xx/fs/etc/rc.d/rtklib_rtkrcv index da746b0..dc6463e 100644 --- a/systems/ntnu-b2xx/fs/etc/rc.d/rtklib_rtkrcv +++ b/systems/ntnu-b2xx/fs/etc/rc.d/rtklib_rtkrcv @@ -1,5 +1,9 @@ start() { + if [ ! -d "/opt/lsts/rtklib/" ]; then + mkdir /opt/lsts/rtklib + fi + localBackupPath="/opt/lsts/rtklib/rtklib_cmdfile.cmd" cfgPath="/etc/rtklib/conf/rtkrcv.conf" cfgPathUse="/opt/lsts/rtklib/conf_use.conf" From 49fb0d28cd65513dc4fbc484dbc6d077d10b9fba Mon Sep 17 00:00:00 2001 From: Kristian Klausen Date: Thu, 5 May 2016 22:54:31 +0200 Subject: [PATCH 04/20] ntnu-b2ss: ntnu-octo-001: New system. --- systems/ntnu-b2xx/ntnu-octo-001.cfg | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 systems/ntnu-b2xx/ntnu-octo-001.cfg diff --git a/systems/ntnu-b2xx/ntnu-octo-001.cfg b/systems/ntnu-b2xx/ntnu-octo-001.cfg new file mode 100644 index 0000000..f158ad2 --- /dev/null +++ b/systems/ntnu-b2xx/ntnu-octo-001.cfg @@ -0,0 +1,8 @@ +# ntnu-octo-00x +cfg_hostname='ntnu-octo-001' +cfg_eth_ext_ip='10.0.60.225' +cfg_eth_ext_mk='255.255.0.0' +cfg_eth_ext_gw='10.0.60.1' +cfg_ptpd_interface='eth0' +cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass' +cfg_services1='vsp_pair rtc-ds3231 rtklib_rtkrcv' From 79aa224ed3fa453b89a73fe33a58badc765d9c4d Mon Sep 17 00:00:00 2001 From: Kristian Klausen Date: Thu, 5 May 2016 22:55:56 +0200 Subject: [PATCH 05/20] ntnu-b2xx: ntnu-hexa-003,4: Removed service force_10mbit. --- systems/ntnu-b2xx/ntnu-hexa-003.cfg | 2 +- systems/ntnu-b2xx/ntnu-hexa-004.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/systems/ntnu-b2xx/ntnu-hexa-003.cfg b/systems/ntnu-b2xx/ntnu-hexa-003.cfg index 15976ec..8013a11 100644 --- a/systems/ntnu-b2xx/ntnu-hexa-003.cfg +++ b/systems/ntnu-b2xx/ntnu-hexa-003.cfg @@ -5,4 +5,4 @@ cfg_eth_ext_mk='255.255.0.0' cfg_eth_ext_gw='10.0.60.1' cfg_ptpd_interface='eth0' cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass' -cfg_services1='vsp_pair rtc-ds3231 force_10mbit rtklib_rtkrcv' +cfg_services1='vsp_pair rtc-ds3231 rtklib_rtkrcv' diff --git a/systems/ntnu-b2xx/ntnu-hexa-004.cfg b/systems/ntnu-b2xx/ntnu-hexa-004.cfg index 2024839..e56634e 100644 --- a/systems/ntnu-b2xx/ntnu-hexa-004.cfg +++ b/systems/ntnu-b2xx/ntnu-hexa-004.cfg @@ -5,4 +5,4 @@ cfg_eth_ext_mk='255.255.0.0' cfg_eth_ext_gw='10.0.60.1' cfg_ptpd_interface='eth0' cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat' -cfg_services1='vsp_pair rtc-ds3231 force_10mbit rtklib_rtkrcv' +cfg_services1='vsp_pair rtc-ds3231 rtklib_rtkrcv' From 51f08c2d3d2dd1db7f0b68ab4a66df4e7f31dc11 Mon Sep 17 00:00:00 2001 From: Kristian Klausen Date: Thu, 5 May 2016 22:56:20 +0200 Subject: [PATCH 06/20] ntnu-b2xx: ntnu-nest-04: Fixed typo in hostname. --- systems/ntnu-b2xx/ntnu-nest-04.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systems/ntnu-b2xx/ntnu-nest-04.cfg b/systems/ntnu-b2xx/ntnu-nest-04.cfg index 7843add..0ddee4b 100644 --- a/systems/ntnu-b2xx/ntnu-nest-04.cfg +++ b/systems/ntnu-b2xx/ntnu-nest-04.cfg @@ -1,5 +1,5 @@ # ntnu-nest-0x -cfg_hostname='ntnu-nest-03' +cfg_hostname='ntnu-nest-04' cfg_eth_ext_ip='10.0.60.53' cfg_eth_ext_mk='255.255.0.0' cfg_eth_ext_gw='10.0.60.1' From de5fb6e33d3a95967af8ceb257889a0dc6167324 Mon Sep 17 00:00:00 2001 From: Kristian Klausen Date: Tue, 14 Mar 2017 11:42:35 +0100 Subject: [PATCH 07/20] ntnu-b2xx: ntnu-hexa-002: Updated config to include the same packages as hexa-003, hexa-004 --- systems/ntnu-b2xx/ntnu-hexa-002.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/systems/ntnu-b2xx/ntnu-hexa-002.cfg b/systems/ntnu-b2xx/ntnu-hexa-002.cfg index 8d1c440..e844cf6 100644 --- a/systems/ntnu-b2xx/ntnu-hexa-002.cfg +++ b/systems/ntnu-b2xx/ntnu-hexa-002.cfg @@ -4,5 +4,5 @@ cfg_eth_ext_ip='10.0.60.205' cfg_eth_ext_mk='255.255.0.0' cfg_eth_ext_gw='10.0.60.1' cfg_ptpd_interface='eth0' -cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libphidget' -cfg_services1='rtc-ds3231' +cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat' +cfg_services1='vsp_pair rtc-ds3231 rtklib_rtkrcv' From a564932f4f6bd149937a442ac07d455491cada01 Mon Sep 17 00:00:00 2001 From: Kristian Klausen Date: Mon, 3 Apr 2017 16:29:34 +0200 Subject: [PATCH 08/20] ntnu-b2xx: Added vehicles ntnu-cruisermini-00x. --- systems/ntnu-b2xx/ntnu-cruisermini-001.cfg | 7 +++++++ systems/ntnu-b2xx/ntnu-cruisermini-002.cfg | 7 +++++++ systems/ntnu-b2xx/ntnu-cruisermini-003.cfg | 7 +++++++ systems/ntnu-b2xx/ntnu-cruisermini-004.cfg | 7 +++++++ systems/ntnu-b2xx/ntnu-cruisermini-005.cfg | 7 +++++++ systems/ntnu-b2xx/ntnu-cruisermini-006.cfg | 7 +++++++ 6 files changed, 42 insertions(+) create mode 100644 systems/ntnu-b2xx/ntnu-cruisermini-001.cfg create mode 100644 systems/ntnu-b2xx/ntnu-cruisermini-002.cfg create mode 100644 systems/ntnu-b2xx/ntnu-cruisermini-003.cfg create mode 100644 systems/ntnu-b2xx/ntnu-cruisermini-004.cfg create mode 100644 systems/ntnu-b2xx/ntnu-cruisermini-005.cfg create mode 100644 systems/ntnu-b2xx/ntnu-cruisermini-006.cfg diff --git a/systems/ntnu-b2xx/ntnu-cruisermini-001.cfg b/systems/ntnu-b2xx/ntnu-cruisermini-001.cfg new file mode 100644 index 0000000..fc96ef5 --- /dev/null +++ b/systems/ntnu-b2xx/ntnu-cruisermini-001.cfg @@ -0,0 +1,7 @@ +# ntnu-cruisermini-00x +cfg_hostname='ntnu-cruisermini-001' +cfg_eth_ext_ip='10.0.60.145' +cfg_eth_ext_mk='255.255.0.0' +cfg_eth_ext_gw='10.0.60.1' +cfg_ptpd_interface='eth0' +cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass' diff --git a/systems/ntnu-b2xx/ntnu-cruisermini-002.cfg b/systems/ntnu-b2xx/ntnu-cruisermini-002.cfg new file mode 100644 index 0000000..0614ed8 --- /dev/null +++ b/systems/ntnu-b2xx/ntnu-cruisermini-002.cfg @@ -0,0 +1,7 @@ +# ntnu-cruisermini-00x +cfg_hostname='ntnu-cruisermini-002' +cfg_eth_ext_ip='10.0.60.150' +cfg_eth_ext_mk='255.255.0.0' +cfg_eth_ext_gw='10.0.60.1' +cfg_ptpd_interface='eth0' +cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass' diff --git a/systems/ntnu-b2xx/ntnu-cruisermini-003.cfg b/systems/ntnu-b2xx/ntnu-cruisermini-003.cfg new file mode 100644 index 0000000..e6cc2f9 --- /dev/null +++ b/systems/ntnu-b2xx/ntnu-cruisermini-003.cfg @@ -0,0 +1,7 @@ +# ntnu-cruisermini-00x +cfg_hostname='ntnu-cruisermini-003' +cfg_eth_ext_ip='10.0.60.155' +cfg_eth_ext_mk='255.255.0.0' +cfg_eth_ext_gw='10.0.60.1' +cfg_ptpd_interface='eth0' +cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass' diff --git a/systems/ntnu-b2xx/ntnu-cruisermini-004.cfg b/systems/ntnu-b2xx/ntnu-cruisermini-004.cfg new file mode 100644 index 0000000..cdaa67b --- /dev/null +++ b/systems/ntnu-b2xx/ntnu-cruisermini-004.cfg @@ -0,0 +1,7 @@ +# ntnu-cruisermini-00x +cfg_hostname='ntnu-cruisermini-004' +cfg_eth_ext_ip='10.0.60.160' +cfg_eth_ext_mk='255.255.0.0' +cfg_eth_ext_gw='10.0.60.1' +cfg_ptpd_interface='eth0' +cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass' diff --git a/systems/ntnu-b2xx/ntnu-cruisermini-005.cfg b/systems/ntnu-b2xx/ntnu-cruisermini-005.cfg new file mode 100644 index 0000000..93b2c3c --- /dev/null +++ b/systems/ntnu-b2xx/ntnu-cruisermini-005.cfg @@ -0,0 +1,7 @@ +# ntnu-cruisermini-00x +cfg_hostname='ntnu-cruisermini-005' +cfg_eth_ext_ip='10.0.60.165' +cfg_eth_ext_mk='255.255.0.0' +cfg_eth_ext_gw='10.0.60.1' +cfg_ptpd_interface='eth0' +cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass' diff --git a/systems/ntnu-b2xx/ntnu-cruisermini-006.cfg b/systems/ntnu-b2xx/ntnu-cruisermini-006.cfg new file mode 100644 index 0000000..5bda76c --- /dev/null +++ b/systems/ntnu-b2xx/ntnu-cruisermini-006.cfg @@ -0,0 +1,7 @@ +# ntnu-cruisermini-00x +cfg_hostname='ntnu-cruisermini-006' +cfg_eth_ext_ip='10.0.60.170' +cfg_eth_ext_mk='255.255.0.0' +cfg_eth_ext_gw='10.0.60.1' +cfg_ptpd_interface='eth0' +cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass' From 970bddfa6e63b8eda8899d2aa27f261e02052916 Mon Sep 17 00:00:00 2001 From: Kristian Klausen Date: Fri, 21 Apr 2017 15:45:57 +0200 Subject: [PATCH 09/20] ntnu-b2xx: ntnu-cruisermini-001-pseudo: Added pseudo-vehicle. --- systems/ntnu-b2xx/ntnu-cruisermini-001-pseudo.cfg | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 systems/ntnu-b2xx/ntnu-cruisermini-001-pseudo.cfg diff --git a/systems/ntnu-b2xx/ntnu-cruisermini-001-pseudo.cfg b/systems/ntnu-b2xx/ntnu-cruisermini-001-pseudo.cfg new file mode 100644 index 0000000..74923e9 --- /dev/null +++ b/systems/ntnu-b2xx/ntnu-cruisermini-001-pseudo.cfg @@ -0,0 +1,7 @@ +# ntnu-cruisermini-00x +cfg_hostname='ntnu-cruisermini-001-pseudo' +cfg_eth_ext_ip='10.0.60.149' +cfg_eth_ext_mk='255.255.0.0' +cfg_eth_ext_gw='10.0.60.1' +cfg_ptpd_interface='eth0' +cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat openssl openssh sshpass' From 88ca152faacb0941762327e9c606a4542c1d37f1 Mon Sep 17 00:00:00 2001 From: Kristian Klausen Date: Mon, 31 Jul 2017 14:07:27 +0200 Subject: [PATCH 10/20] ntnu-b2xx: Added ntnu-bixler-001. --- systems/ntnu-b2xx/ntnu-bixler-001.cfg | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 systems/ntnu-b2xx/ntnu-bixler-001.cfg diff --git a/systems/ntnu-b2xx/ntnu-bixler-001.cfg b/systems/ntnu-b2xx/ntnu-bixler-001.cfg new file mode 100644 index 0000000..4251065 --- /dev/null +++ b/systems/ntnu-b2xx/ntnu-bixler-001.cfg @@ -0,0 +1,8 @@ +# ntnu-bixler-00x +cfg_hostname='ntnu-bixler-001' +cfg_eth_ext_ip='10.0.60.180' +cfg_eth_ext_mk='255.255.0.0' +cfg_eth_ext_gw='10.0.60.1' +cfg_ptpd_interface='eth0' +cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux rtklib libphidget ethtool socat' +cfg_services1='vsp_pair rtc-ds3231 rtklib_rtkrcv' From 88718f7a36d3e3d82b5fc7533db2a6d60649ef79 Mon Sep 17 00:00:00 2001 From: Kristian Klausen Date: Mon, 31 Jul 2017 14:09:08 +0200 Subject: [PATCH 11/20] ntnu-b2xx: cfg/linux-3.14.63: Added kernel driver for RT2800USB (wifi usb) --- systems/ntnu-b2xx/cfg/linux-3.14.63.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/systems/ntnu-b2xx/cfg/linux-3.14.63.cfg b/systems/ntnu-b2xx/cfg/linux-3.14.63.cfg index 05acbcd..a0ba094 100644 --- a/systems/ntnu-b2xx/cfg/linux-3.14.63.cfg +++ b/systems/ntnu-b2xx/cfg/linux-3.14.63.cfg @@ -2622,3 +2622,4 @@ CONFIG_CLZ_TAB=y CONFIG_MPILIB=m CONFIG_OID_REGISTRY=m CONFIG_VIRTUALIZATION=y +CONFIG_RT2800USB=y From 1069e42b8bfc2c1ce2538b78e07ee468bfc9acce Mon Sep 17 00:00:00 2001 From: Kristian Klausen Date: Fri, 4 Aug 2017 09:45:50 +0200 Subject: [PATCH 12/20] ntnu-b2xx: cfg/linux-3.14.63: Added kernel driver for CONFIG_RFKILL=y +CONFIG_CFG80211=y +CONFIG_NL80211=y --- systems/ntnu-b2xx/cfg/linux-3.14.63.cfg | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/systems/ntnu-b2xx/cfg/linux-3.14.63.cfg b/systems/ntnu-b2xx/cfg/linux-3.14.63.cfg index a0ba094..8bf82e4 100644 --- a/systems/ntnu-b2xx/cfg/linux-3.14.63.cfg +++ b/systems/ntnu-b2xx/cfg/linux-3.14.63.cfg @@ -2622,4 +2622,8 @@ CONFIG_CLZ_TAB=y CONFIG_MPILIB=m CONFIG_OID_REGISTRY=m CONFIG_VIRTUALIZATION=y + +CONFIG_RFKILL=y +CONFIG_CFG80211=y +CONFIG_NL80211=y CONFIG_RT2800USB=y From fb7aa49ab05a2c1cdb4ed247206a8c32423766e2 Mon Sep 17 00:00:00 2001 From: tsmarques Date: Mon, 17 Oct 2016 23:12:47 +0200 Subject: [PATCH 13/20] rules/perf: added rules for perf package. --- rules/perf/default.bash | 32 ++++++++++++++++++++++++++++++++ rules/perf/default.bash~ | 31 +++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 rules/perf/default.bash create mode 100644 rules/perf/default.bash~ diff --git a/rules/perf/default.bash b/rules/perf/default.bash new file mode 100644 index 0000000..3cdcb0b --- /dev/null +++ b/rules/perf/default.bash @@ -0,0 +1,32 @@ +version=("3.19") + +url=("https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz") + +requires=('flex/host' 'bison/host' 'zlib/default') + +# v3.19 +md5=('d3fc8316d4d4d04b65cbc2d70799e763') + +#3.14.63 +# md5=('6cf8a6b23849f47f511e0e46cfdb6392') + +build() +{ + + cd ../linux-$version/ + $cmd_make \ + CROSS_COMPILE="$cfg_target_canonical-" \ + ARCH="$cfg_target_linux" \ + INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \ + KBUILD_VERBOSE=1 \ + DEPMOD="$cfg_dir_toolchain/sbin/depmod" \ + NO_LIBELF=1 \ + LDFLAGS=-static \ + -C "./tools/perf/" +} + +target_install() +{ + $cmd_cp ../linux-$version/tools/perf/perf \ + $cfg_dir_toolchain/bin/ +} diff --git a/rules/perf/default.bash~ b/rules/perf/default.bash~ new file mode 100644 index 0000000..836fb1d --- /dev/null +++ b/rules/perf/default.bash~ @@ -0,0 +1,31 @@ +version=("3.19") + +url=("https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz") + +requires=("flex/host bison/flex") + +md5=('d3fc8316d4d4d04b65cbc2d70799e763') + +# configure() +# { + +# } + +build() +{ + + cd ../linux-3.19/ + $cmd_make \ + CROSS_COMPILE="$cfg_target_canonical-" \ + ARCH="$cfg_target_linux" \ + INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \ + KBUILD_VERBOSE=1 \ + DEPMOD="$cfg_dir_toolchain/sbin/depmod" \ + -C "./tools/perf/" && + $cmd_cp "./tools/perf/perf" "$cfg_dir_toolchain/bin/" +} + +# host_install() +# { + +# } From a911af2fa080ba2acf931820b5103dc214f03e08 Mon Sep 17 00:00:00 2001 From: tsmarques Date: Mon, 17 Oct 2016 23:13:46 +0200 Subject: [PATCH 14/20] systems/lctr-a6xx/config: build perf for lctr-a6xx systems. --- systems/lctr-a6xx/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systems/lctr-a6xx/config b/systems/lctr-a6xx/config index 83ed805..3be6023 100644 --- a/systems/lctr-a6xx/config +++ b/systems/lctr-a6xx/config @@ -4,7 +4,7 @@ cfg_services0='dropbear network storage upgrade syslog escc ptpd setserial' cfg_services1='' cfg_services2='dune' cfg_modules='' -cfg_packages='coreboot-lsts emm-8p-xt-eeprom zlib dropbear rsync busybox flashrom e2fsprogs socat linux escc syslinux syslinux/host ptpd ntp uswitch pciutils bzip2' +cfg_packages='coreboot-lsts emm-8p-xt-eeprom zlib dropbear rsync busybox flashrom e2fsprogs socat linux escc syslinux syslinux/host ptpd ntp uswitch pciutils bzip2 perf' cfg_terminal='ttyS0' cfg_target_linux_kernel='arch/x86/boot/bzImage' cfg_ptpd_master='true' From c8e3e6fc59f1b80557ec9bd8dc00727818e9726f Mon Sep 17 00:00:00 2001 From: tsmarques Date: Tue, 18 Oct 2016 15:15:33 +0200 Subject: [PATCH 15/20] rules/perf: removed temporary file. --- rules/perf/default.bash~ | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 rules/perf/default.bash~ diff --git a/rules/perf/default.bash~ b/rules/perf/default.bash~ deleted file mode 100644 index 836fb1d..0000000 --- a/rules/perf/default.bash~ +++ /dev/null @@ -1,31 +0,0 @@ -version=("3.19") - -url=("https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz") - -requires=("flex/host bison/flex") - -md5=('d3fc8316d4d4d04b65cbc2d70799e763') - -# configure() -# { - -# } - -build() -{ - - cd ../linux-3.19/ - $cmd_make \ - CROSS_COMPILE="$cfg_target_canonical-" \ - ARCH="$cfg_target_linux" \ - INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \ - KBUILD_VERBOSE=1 \ - DEPMOD="$cfg_dir_toolchain/sbin/depmod" \ - -C "./tools/perf/" && - $cmd_cp "./tools/perf/perf" "$cfg_dir_toolchain/bin/" -} - -# host_install() -# { - -# } From d1adbb7b9ce802227b6b4f2414fb47edf4d9ec58 Mon Sep 17 00:00:00 2001 From: tsmarques Date: Tue, 20 Dec 2016 18:05:02 +0000 Subject: [PATCH 16/20] rules/perf: Fixed target_install(). Copy perf to rootfs instead of toolchain. --- rules/perf/default.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/perf/default.bash b/rules/perf/default.bash index 3cdcb0b..1577e7b 100644 --- a/rules/perf/default.bash +++ b/rules/perf/default.bash @@ -28,5 +28,5 @@ build() target_install() { $cmd_cp ../linux-$version/tools/perf/perf \ - $cfg_dir_toolchain/bin/ + $cfg_dir_rootfs/usr/bin/ } From eacd69fe0f202b080a88fe05fa7407acf2bf1ea9 Mon Sep 17 00:00:00 2001 From: Tiago Marques Date: Thu, 3 Aug 2017 21:21:39 +0000 Subject: [PATCH 17/20] rules/perf/default: Fixed code style. --- rules/perf/default.bash | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/rules/perf/default.bash b/rules/perf/default.bash index 1577e7b..680333a 100644 --- a/rules/perf/default.bash +++ b/rules/perf/default.bash @@ -1,11 +1,25 @@ -version=("3.19") +version=\ +( + "3.19" +) -url=("https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz") +url=\ +( + "https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz" +) -requires=('flex/host' 'bison/host' 'zlib/default') +requires\= +( + 'flex/host' + 'bison/host' + 'zlib/default' +) # v3.19 -md5=('d3fc8316d4d4d04b65cbc2d70799e763') +md5=\ +( + 'd3fc8316d4d4d04b65cbc2d70799e763' +) #3.14.63 # md5=('6cf8a6b23849f47f511e0e46cfdb6392') @@ -15,14 +29,14 @@ build() cd ../linux-$version/ $cmd_make \ - CROSS_COMPILE="$cfg_target_canonical-" \ - ARCH="$cfg_target_linux" \ - INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \ - KBUILD_VERBOSE=1 \ - DEPMOD="$cfg_dir_toolchain/sbin/depmod" \ + CROSS_COMPILE="$cfg_target_canonical-" \ + ARCH="$cfg_target_linux" \ + INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \ + KBUILD_VERBOSE=1 \ + DEPMOD="$cfg_dir_toolchain/sbin/depmod" \ NO_LIBELF=1 \ LDFLAGS=-static \ - -C "./tools/perf/" + -C "./tools/perf/" } target_install() From 347ef94fd407fc634114583c6dca23b94c6562cb Mon Sep 17 00:00:00 2001 From: Tiago Marques Date: Thu, 3 Aug 2017 21:22:08 +0000 Subject: [PATCH 18/20] Revert "systems/lctr-a6xx/config: build perf for lctr-a6xx systems." This reverts commit e5bfb8713143ae7bdc474a1b6751db2d23397607. --- systems/lctr-a6xx/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systems/lctr-a6xx/config b/systems/lctr-a6xx/config index 3be6023..83ed805 100644 --- a/systems/lctr-a6xx/config +++ b/systems/lctr-a6xx/config @@ -4,7 +4,7 @@ cfg_services0='dropbear network storage upgrade syslog escc ptpd setserial' cfg_services1='' cfg_services2='dune' cfg_modules='' -cfg_packages='coreboot-lsts emm-8p-xt-eeprom zlib dropbear rsync busybox flashrom e2fsprogs socat linux escc syslinux syslinux/host ptpd ntp uswitch pciutils bzip2 perf' +cfg_packages='coreboot-lsts emm-8p-xt-eeprom zlib dropbear rsync busybox flashrom e2fsprogs socat linux escc syslinux syslinux/host ptpd ntp uswitch pciutils bzip2' cfg_terminal='ttyS0' cfg_target_linux_kernel='arch/x86/boot/bzImage' cfg_ptpd_master='true' From b28a6d787e11eeb1475e1183b66fcd99482a24ee Mon Sep 17 00:00:00 2001 From: Tiago Marques Date: Thu, 3 Aug 2017 23:32:34 +0000 Subject: [PATCH 19/20] rules/perf/default: Fixed dependencies. --- rules/perf/default.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/perf/default.bash b/rules/perf/default.bash index 680333a..7d42b89 100644 --- a/rules/perf/default.bash +++ b/rules/perf/default.bash @@ -8,7 +8,7 @@ url=\ "https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz" ) -requires\= +requires=\ ( 'flex/host' 'bison/host' From 81052b54a63f0ac5844b6b4410b9a344af76d0cc Mon Sep 17 00:00:00 2001 From: Tiago Marques Date: Wed, 16 Aug 2017 12:52:53 +0100 Subject: [PATCH 20/20] Revert "System: noptilus-aux: Added lpg." This reverts commit 84bbaf4bca5cde9583fe5afd17403acbcb956e51. --- systems/lctr-b2xx/lauv-noptilus-1-aux.cfg | 2 +- systems/lctr-b2xx/lauv-noptilus-2-aux.cfg | 2 +- systems/lctr-b2xx/lauv-noptilus-3-aux.cfg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/systems/lctr-b2xx/lauv-noptilus-1-aux.cfg b/systems/lctr-b2xx/lauv-noptilus-1-aux.cfg index cdd09d4..d459628 100644 --- a/systems/lctr-b2xx/lauv-noptilus-1-aux.cfg +++ b/systems/lctr-b2xx/lauv-noptilus-1-aux.cfg @@ -4,4 +4,4 @@ cfg_eth_ext_ip='10.0.10.83' cfg_eth_ext_mk='255.255.0.0' cfg_eth_ext_gw='10.0.0.1' cfg_ptpd_interface='eth0' -cfg_packages="$cfg_packages boost jansson czmq zeromq lpg" +cfg_packages="$cfg_packages boost jansson czmq zeromq" diff --git a/systems/lctr-b2xx/lauv-noptilus-2-aux.cfg b/systems/lctr-b2xx/lauv-noptilus-2-aux.cfg index fbf8dc7..8308a7a 100644 --- a/systems/lctr-b2xx/lauv-noptilus-2-aux.cfg +++ b/systems/lctr-b2xx/lauv-noptilus-2-aux.cfg @@ -4,4 +4,4 @@ cfg_eth_ext_ip='10.0.10.93' cfg_eth_ext_mk='255.255.0.0' cfg_eth_ext_gw='10.0.0.1' cfg_ptpd_interface='eth0' -cfg_packages="$cfg_packages boost jansson czmq zeromq lpg" +cfg_packages="$cfg_packages boost jansson czmq zeromq" diff --git a/systems/lctr-b2xx/lauv-noptilus-3-aux.cfg b/systems/lctr-b2xx/lauv-noptilus-3-aux.cfg index c9a54f6..1c81a55 100644 --- a/systems/lctr-b2xx/lauv-noptilus-3-aux.cfg +++ b/systems/lctr-b2xx/lauv-noptilus-3-aux.cfg @@ -4,4 +4,4 @@ cfg_eth_ext_ip='10.0.10.103' cfg_eth_ext_mk='255.255.0.0' cfg_eth_ext_gw='10.0.0.1' cfg_ptpd_interface='eth0' -cfg_packages="$cfg_packages boost jansson czmq zeromq lpg" +cfg_packages="$cfg_packages boost jansson czmq zeromq"