From a2f4aa6b71c71a7d766af3f9801a615cf3fa03ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 28 Jul 2015 10:57:49 +0200 Subject: Set conf.py and nbscript for measurement --- conf.py | 6 +++--- scripts/nbscript | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf.py b/conf.py index d75b5dd..e07f2b6 100644 --- a/conf.py +++ b/conf.py @@ -37,13 +37,13 @@ picosat_args = [] # db_database # Database in PostgreSQL to be used for this tools -db_database = 'lcp' +db_database = 'linux-conf-perf' # db_user # Define PostgreSQL user -db_user = 'cynerd' +db_user = 'kocikare' # db_password # Define PostrgreSQL user password -db_password = 'cynerd' +db_password = 'ohNg3Ien' # db_host # Address of PostgreSQL database server db_host = 'localhost' diff --git a/scripts/nbscript b/scripts/nbscript index ef99dd8..0f5ec55 100644 --- a/scripts/nbscript +++ b/scripts/nbscript @@ -1,4 +1,4 @@ #!/usr/bin/env novaboot # Novaboot script load ../jobfiles/linuxImage console=ttyS0,115200 -load ../buildroot/output/images/rootfs.cpio.gz +load ../root/cyclictest/images/rootfs.cpio.gz -- cgit v1.2.3 From 7f470bd576f8b66345d22ee72b1a4ec57fd13c93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 28 Jul 2015 11:21:46 +0200 Subject: Change measuring architecture --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.py b/conf.py index e07f2b6..80c4008 100644 --- a/conf.py +++ b/conf.py @@ -4,7 +4,7 @@ import os # kernel_arch # This defines environment variable ARCH for linux kernel. # Change this to change target architecture -kernel_arch = 'x86' +kernel_arch = 'powerpc' # kernle_env # Enviroment variables for Linux -- cgit v1.2.3 From 440bca33aaeb7ed453948c933eaaef42e2eb0f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 28 Jul 2015 22:42:45 +0200 Subject: Add external scripts and set boot configuration --- conf.py | 4 +- measure_scripts/11-patch | 9 ++ measure_scripts/20-config | 71 ++++++++++++++ measure_scripts/30-compile | 12 +++ measure_scripts/my-oldconfig.pl | 12 +++ measure_scripts/shark-ryu-board-patch.patch | 139 ++++++++++++++++++++++++++++ 6 files changed, 245 insertions(+), 2 deletions(-) create mode 100755 measure_scripts/11-patch create mode 100755 measure_scripts/20-config create mode 100755 measure_scripts/30-compile create mode 100755 measure_scripts/my-oldconfig.pl create mode 100644 measure_scripts/shark-ryu-board-patch.patch diff --git a/conf.py b/conf.py index 80c4008..f9f8932 100644 --- a/conf.py +++ b/conf.py @@ -14,7 +14,7 @@ kernel_env = {'SRCARCH': kernel_arch, 'ARCH': kernel_arch, 'KERNELVERSION': kern linux_make_args = ['-j8'] # build_command # Command executed for kernel build in linux folder. -build_command = ['make'] + linux_make_args +build_command = ['measure_scripts/30-compile'] # novaboot_args # These are arguments passed to Novaboot, @@ -25,7 +25,7 @@ novaboot_args = ['--qemu=qemu-system-x86_64'] nbscript = 'scripts/nbscript' # boot_command # Command executed for booting. Output of this command is saved to output folder. -boot_command = ['echo', 'bootit'] +boot_command = ['scripts/nbscript'] # parse_command # Command to parse double value from boot output diff --git a/measure_scripts/11-patch b/measure_scripts/11-patch new file mode 100755 index 0000000..d29976e --- /dev/null +++ b/measure_scripts/11-patch @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +cd ../linux + +git reset --hard + +git apply --index < ../other_scripts/shark-ryu-board-patch.patch diff --git a/measure_scripts/20-config b/measure_scripts/20-config new file mode 100755 index 0000000..707b318 --- /dev/null +++ b/measure_scripts/20-config @@ -0,0 +1,71 @@ +#!/bin/sh + +set -e + +cd ../linux + +export ARCH=powerpc +make allnoconfig + +conf() { + sed -i -n -e "/\\bCONFIG_$1\\b/!p" .config + echo CONFIG_$1=$2 >> .config +} + +GDESC=$(git describe) +if [ ${GDESC#v2.6} != ${GDESC} ]; then + conf PPC_DISABLE_WERROR y +fi + +conf BINFMT_ELF y + +conf BLK_DEV_INITRD y +conf INITRAMFS_SOURCE '""' +conf INITRAMFS_ROOT_UID 0 +conf INITRAMFS_ROOT_GID 0 +conf INITRAMFS_COMPRESSION_NONE y +conf INITRAMFS_COMPRESSION_GZIP n +conf INITRAMFS_COMPRESSION_BZIP2 n +conf INITRAMFS_COMPRESSION_LZMA n +conf INITRAMFS_COMPRESSION_XZ n +conf INITRAMFS_COMPRESSION_LZO n +conf RD_GZIP y # Needed for 3.17+ +conf SIGNALFD y # Needed since v3.17-5503-g35a9ad8 to enable ANON_INODES (only needed until the problem http://mid.gmane.org/87vbnt1js4.fsf@steelpick.2x.cz is fixed) + +conf PPC_MPC52xx y +conf PPC_MPC5200_SIMPLE y +conf SERIAL_CORE y +conf SERIAL_CORE_CONSOLE y +conf SERIAL_MPC52xx y +conf SERIAL_MPC52xx_CONSOLE y +conf SERIAL_MPC52xx_CONSOLE_BAUD 115200 + +conf NET y +conf CAN y +conf CAN_RAW y +conf CAN_GW y +conf CAN_VCAN y +conf CAN_DEV y +conf CAN_CALC_BITTIMING y +conf CAN_MSCAN y +conf CAN_MPC5XXX y + +conf NETDEVICES y +conf ETHERNET y +conf DMADEVICES y +conf PPC_BESTCOMM y +conf NET_VENDOR_FREESCALE y +conf FEC_MPC52xx y +conf FEC_MPC52xx_MDIO y + +conf TTY y +conf PROC_FS y +conf PRINTK y # Not needed but useful for debugging + +# To have netlink for kernel cangw +conf INET y +conf NETFILTER y + +conf PACKET y # ugw mmap + +chronic ../other_scripts/my-oldconfig.pl diff --git a/measure_scripts/30-compile b/measure_scripts/30-compile new file mode 100755 index 0000000..29da38a --- /dev/null +++ b/measure_scripts/30-compile @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +cd ../linux + +export ARCH=powerpc +export CROSS_COMPILE=/opt/OSELAS.Toolchain-2012.12.1/powerpc-603e-linux-gnu/gcc-4.7.2-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/powerpc-603e-linux-gnu- + +test -t 0 || CHRONIC=chronic + +$CHRONIC make -j$(nproc) uImage diff --git a/measure_scripts/my-oldconfig.pl b/measure_scripts/my-oldconfig.pl new file mode 100755 index 0000000..736bf57 --- /dev/null +++ b/measure_scripts/my-oldconfig.pl @@ -0,0 +1,12 @@ +#!/usr/bin/perl -w + +use Expect; +my $exp = Expect->spawn("make oldconfig") + or die "Cannot spawn make oldconfig: $!\n"; + +my $timeout = 10; +$exp->expect($timeout, + [ '^ *choice\[.*\]: ' => sub { $exp->send("\n"); exp_continue; } ], + [ '^([^ ]| *[^>0-9]).*\(NEW\) ' => sub { $exp->send("n\n"); exp_continue; } ], + [ "configuration written to .config" ], + ) || die "Timeout" diff --git a/measure_scripts/shark-ryu-board-patch.patch b/measure_scripts/shark-ryu-board-patch.patch new file mode 100644 index 0000000..e43e35d --- /dev/null +++ b/measure_scripts/shark-ryu-board-patch.patch @@ -0,0 +1,139 @@ +From 87a8e2b9406cc7f8779f02047e0cd1594c570b78 Mon Sep 17 00:00:00 2001 +From: Michal Sojka +Date: Thu, 23 Jan 2014 23:44:55 +0100 +Subject: [PATCH] Shark/ryu board patch + +This is a new version of the patch. It is not based on historical patches +from Michal Hrouda, but on mpc5200_simple. It boots, serial line and +Ethernet work. I haven't check whether flash works. +--- + arch/powerpc/boot/dts/shark-ryu.dts | 104 +++++++++++++++++++++++++++ + arch/powerpc/platforms/52xx/mpc5200_simple.c | 1 + + 2 files changed, 105 insertions(+) + create mode 100644 arch/powerpc/boot/dts/shark-ryu.dts + +diff --git a/arch/powerpc/boot/dts/shark-ryu.dts b/arch/powerpc/boot/dts/shark-ryu.dts +new file mode 100644 +index 0000000..63e48a8 +--- /dev/null ++++ b/arch/powerpc/boot/dts/shark-ryu.dts +@@ -0,0 +1,104 @@ ++/* ++ * Shark(MPC5200) board Device Tree Source ++ * ++ * Copyright 2006-2007 Secret Lab Technologies Ltd. ++ * Grant Likely ++ * ++ * This program is free software; you can redistribute it and/or modify it ++ * under the terms of the GNU General Public License as published by the ++ * Free Software Foundation; either version 2 of the License, or (at your ++ * option) any later version. ++ */ ++ ++/include/ "mpc5200b.dtsi" ++ ++/ { ++ model = "cvut,ryu"; ++ compatible = "midam,shark"; ++ ++ memory { ++ reg = <0x00000000 0x08000000>; // 128MB ++ }; ++ ++ soc: soc5200@f0000000 { ++ psc@2000 { // PSC1 ++ compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; ++ }; ++ psc5: psc@2800 { // PSC5 ++ status = "disabled"; ++ }; ++ ++ ethernet@3000 { ++ phy-handle = <&phy0>; ++ }; ++ ++ mdio@3000 { ++ phy0: ethernet-phy@1f { ++ device_type = "ethernet-phy"; ++ reg = <0x1f>; ++ }; ++ }; ++ ++ i2c@3d40 { ++ rtc@68 { ++ compatible = "dallas,ds1307"; ++ reg = <0x68>; ++ }; ++ }; ++ }; ++ ++ localbus { ++ ranges = <0 0 0xfc000000 0x04000000>; ++ ++ flash@0,0 { ++ compatible = "cfi-flash"; ++ reg = <0 0 0x04000000>; ++ bank-width = <2>; ++ device-width = <2>; ++ #size-cells = <1>; ++ #address-cells = <1>; ++ ++ uboot@0 { ++ label = "u-boot"; ++ reg = <0 0x00100000>; ++ read-only; ++ }; ++ ++ kernel@100000 { ++ label = "kernel"; ++ reg = <0x00100000 0x00300000>; ++ read-only; ++ }; ++ ++ filesystem@400000 { ++ label = "filesystem"; ++ reg = <0x00400000 0x03c00000>; ++ }; ++ }; ++ }; ++ ++ pci: pci@f0000d00 { ++ interrupt-map-mask = <0xf800 0 0 7>; ++ interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot ++ 0xc000 0 0 2 &mpc5200_pic 1 1 3 ++ 0xc000 0 0 3 &mpc5200_pic 1 2 3 ++ 0xc000 0 0 4 &mpc5200_pic 1 3 3 ++ ++ 0xc800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot ++ 0xc800 0 0 2 &mpc5200_pic 1 2 3 ++ 0xc800 0 0 3 &mpc5200_pic 1 3 3 ++ 0xc800 0 0 4 &mpc5200_pic 0 0 3>; ++ ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000 ++ 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 ++ 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; ++ }; ++ motorek@0 { ++ device_type = "motorek"; ++ pwmf = <&gpt2>; ++ pwmb = <&gpt3>; ++ irca = <&gpt5>; ++ ircb = <&gpt4>; ++ interrupts = <0 0 1>; ++ //gpios = <&gpio_a ++ }; ++}; +diff --git a/arch/powerpc/platforms/52xx/mpc5200_simple.c b/arch/powerpc/platforms/52xx/mpc5200_simple.c +index 792a301..82aaa6e 100644 +--- a/arch/powerpc/platforms/52xx/mpc5200_simple.c ++++ b/arch/powerpc/platforms/52xx/mpc5200_simple.c +@@ -62,6 +62,7 @@ static const char *board[] __initdata = { + "promess,motionpro", + "schindler,cm5200", + "tqc,tqm5200", ++ "midam,shark", + NULL + }; + +-- +1.8.5.2 + -- cgit v1.2.3 From 05df3f38680b8b9b1bc25bcfa5b5bdaa507fd7fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 28 Jul 2015 22:49:57 +0200 Subject: Add build_script --- build_script | 6 ++++++ conf.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100755 build_script diff --git a/build_script b/build_script new file mode 100755 index 0000000..a7f70e7 --- /dev/null +++ b/build_script @@ -0,0 +1,6 @@ +#!/bin/bash + +# This script is called from linux folder +cd ../measure_scripts + +./30-compile diff --git a/conf.py b/conf.py index f9f8932..70ef28f 100644 --- a/conf.py +++ b/conf.py @@ -14,7 +14,7 @@ kernel_env = {'SRCARCH': kernel_arch, 'ARCH': kernel_arch, 'KERNELVERSION': kern linux_make_args = ['-j8'] # build_command # Command executed for kernel build in linux folder. -build_command = ['measure_scripts/30-compile'] +build_command = ['../build_script'] # novaboot_args # These are arguments passed to Novaboot, -- cgit v1.2.3 From 3457820595c750f30ea810f2ab1dc717d12744c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 28 Jul 2015 22:55:46 +0200 Subject: Fix path bug --- measure_scripts/11-patch | 2 +- measure_scripts/20-config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/measure_scripts/11-patch b/measure_scripts/11-patch index d29976e..7963ffc 100755 --- a/measure_scripts/11-patch +++ b/measure_scripts/11-patch @@ -6,4 +6,4 @@ cd ../linux git reset --hard -git apply --index < ../other_scripts/shark-ryu-board-patch.patch +git apply --index < ../measure_scripts/shark-ryu-board-patch.patch diff --git a/measure_scripts/20-config b/measure_scripts/20-config index 707b318..d48c35c 100755 --- a/measure_scripts/20-config +++ b/measure_scripts/20-config @@ -68,4 +68,4 @@ conf NETFILTER y conf PACKET y # ugw mmap -chronic ../other_scripts/my-oldconfig.pl +chronic ../measure_scripts/my-oldconfig.pl -- cgit v1.2.3 From 85b80af997abba8445fe7944095da268a3b0bf77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 28 Jul 2015 22:59:24 +0200 Subject: Fix linux image name --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.py b/conf.py index 70ef28f..110f893 100644 --- a/conf.py +++ b/conf.py @@ -89,7 +89,7 @@ dot_config = 'dot_config' linux_sources = 'linux/' linux_kconfig_head = linux_sources + 'Kconfig' linux_dot_config = linux_sources + '.config' -linux_image = linux_sources + 'arch/' + kernel_arch + '/boot/bzImage' +linux_image = linux_sources + 'arch/' + kernel_arch + '/boot/uImage' buildroot_def_config = 'buildroot_recipe/buildroot.def.config' buildroot_inittab_directive = 'buildroot_recipe/inittab_directive' -- cgit v1.2.3 From aeb12d666ba659cfba033e950d40053a73028db4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 28 Jul 2015 23:01:38 +0200 Subject: Fix boot_command Added novaboot call directly. nbscript is not executable. --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.py b/conf.py index 110f893..9dc2a72 100644 --- a/conf.py +++ b/conf.py @@ -25,7 +25,7 @@ novaboot_args = ['--qemu=qemu-system-x86_64'] nbscript = 'scripts/nbscript' # boot_command # Command executed for booting. Output of this command is saved to output folder. -boot_command = ['scripts/nbscript'] +boot_command = ['novaboot', 'scripts/nbscript'] # parse_command # Command to parse double value from boot output -- cgit v1.2.3 From ddff40a36eabf3c08d9007535eab8549de2f58ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 28 Jul 2015 23:04:56 +0200 Subject: Add boot_command --- boot_script | 7 +++++++ conf.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100755 boot_script diff --git a/boot_script b/boot_script new file mode 100755 index 0000000..fca00c1 --- /dev/null +++ b/boot_script @@ -0,0 +1,7 @@ +#!/bin/bash + +# Wake target +sudo /usr/sbin/etherwake 00:0c:f1:77:ec:46 + +# Boot using novaboot +novaboot scripts/nbscript diff --git a/conf.py b/conf.py index 9dc2a72..2e50189 100644 --- a/conf.py +++ b/conf.py @@ -25,7 +25,7 @@ novaboot_args = ['--qemu=qemu-system-x86_64'] nbscript = 'scripts/nbscript' # boot_command # Command executed for booting. Output of this command is saved to output folder. -boot_command = ['novaboot', 'scripts/nbscript'] +boot_command = ['./boot_script'] # parse_command # Command to parse double value from boot output -- cgit v1.2.3 From a718a694a87afcdd20491e941d120cb0d23063aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 28 Jul 2015 23:35:07 +0200 Subject: Add inittab and script --- root/cyclictest/overlay/etc/inittab | 3 +++ root/cyclictest/overlay/usr/bin/linux-conf-perf | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 root/cyclictest/overlay/etc/inittab create mode 100755 root/cyclictest/overlay/usr/bin/linux-conf-perf diff --git a/root/cyclictest/overlay/etc/inittab b/root/cyclictest/overlay/etc/inittab new file mode 100644 index 0000000..3290343 --- /dev/null +++ b/root/cyclictest/overlay/etc/inittab @@ -0,0 +1,3 @@ + +# linux-conf-perf init script +console::sysinit:/usr/bin/linux-conf-perf -L console 115200 vt100 diff --git a/root/cyclictest/overlay/usr/bin/linux-conf-perf b/root/cyclictest/overlay/usr/bin/linux-conf-perf new file mode 100755 index 0000000..7e548ad --- /dev/null +++ b/root/cyclictest/overlay/usr/bin/linux-conf-perf @@ -0,0 +1,3 @@ +#!/bin/sh + +echo Hello -- cgit v1.2.3 From 057cc2ca4602f82a62987e7c5687942d0a7d3e4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 30 Jul 2015 09:53:48 +0200 Subject: Add default_config and cyclictest novaboot --- boot_script | 2 +- cyclictest.nb | 5 + default_config | 1285 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ shark-ryu.dtb | Bin 0 -> 7782 bytes 4 files changed, 1291 insertions(+), 1 deletion(-) create mode 100644 cyclictest.nb create mode 100644 default_config create mode 100644 shark-ryu.dtb diff --git a/boot_script b/boot_script index fca00c1..f416e4e 100755 --- a/boot_script +++ b/boot_script @@ -4,4 +4,4 @@ sudo /usr/sbin/etherwake 00:0c:f1:77:ec:46 # Boot using novaboot -novaboot scripts/nbscript +novaboot cyclictest.nb diff --git a/cyclictest.nb b/cyclictest.nb new file mode 100644 index 0000000..5eae708 --- /dev/null +++ b/cyclictest.nb @@ -0,0 +1,5 @@ +#!/usr/bin/env novaboot +# -*-sh-*- +load jobfiles/linuxImage console=ttyPSC0,115200 quiet +load shark-ryu.dtb +load root/cyclictest/images/rootfs.cpio.uboot diff --git a/default_config b/default_config new file mode 100644 index 0000000..70f8d64 --- /dev/null +++ b/default_config @@ -0,0 +1,1285 @@ +# +# Automatically generated file; DO NOT EDIT. +# Linux/powerpc 4.1.0-rc2 Kernel Configuration +# +# CONFIG_PPC64 is not set + +# +# Processor support +# +CONFIG_PPC_BOOK3S_32=y +# CONFIG_PPC_85xx is not set +# CONFIG_PPC_8xx is not set +# CONFIG_40x is not set +# CONFIG_44x is not set +# CONFIG_E200 is not set +CONFIG_PPC_BOOK3S=y +CONFIG_6xx=y +CONFIG_PPC_FPU=y +# CONFIG_ALTIVEC is not set +CONFIG_PPC_STD_MMU=y +CONFIG_PPC_STD_MMU_32=y +# CONFIG_PPC_MM_SLICES is not set +CONFIG_PPC_HAVE_PMU_SUPPORT=y +# CONFIG_SMP is not set +# CONFIG_PPC_DOORBELL is not set +CONFIG_CPU_BIG_ENDIAN=y +# CONFIG_CPU_LITTLE_ENDIAN is not set +CONFIG_PPC32=y +CONFIG_32BIT=y +CONFIG_WORD_SIZE=32 +# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set +# CONFIG_ARCH_DMA_ADDR_T_64BIT is not set +CONFIG_MMU=y +# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set +# CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set +CONFIG_NR_IRQS=512 +CONFIG_STACKTRACE_SUPPORT=y +CONFIG_HAVE_LATENCYTOP_SUPPORT=y +CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_LOCKDEP_SUPPORT=y +CONFIG_RWSEM_XCHGADD_ALGORITHM=y +CONFIG_ARCH_HAS_ILOG2_U32=y +CONFIG_GENERIC_HWEIGHT=y +CONFIG_PPC=y +# CONFIG_GENERIC_CSUM is not set +CONFIG_EARLY_PRINTK=y +CONFIG_PANIC_TIMEOUT=180 +CONFIG_GENERIC_NVRAM=y +CONFIG_SCHED_OMIT_FRAME_POINTER=y +CONFIG_ARCH_MAY_HAVE_PC_FDC=y +# CONFIG_PPC_UDBG_16550 is not set +# CONFIG_GENERIC_TBSYNC is not set +CONFIG_AUDIT_ARCH=y +# CONFIG_EPAPR_BOOT is not set +CONFIG_DEFAULT_UIMAGE=y +CONFIG_ARCH_HIBERNATION_POSSIBLE=y +# CONFIG_PPC_DCR_NATIVE is not set +# CONFIG_PPC_DCR_MMIO is not set +CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y +CONFIG_ARCH_SUPPORTS_UPROBES=y +CONFIG_PGTABLE_LEVELS=2 +CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" +CONFIG_IRQ_WORK=y + +# +# General setup +# +CONFIG_BROKEN_ON_SMP=y +CONFIG_INIT_ENV_ARG_LIMIT=32 +CONFIG_CROSS_COMPILE="" +# CONFIG_COMPILE_TEST is not set +CONFIG_LOCALVERSION="" +# CONFIG_LOCALVERSION_AUTO is not set +CONFIG_DEFAULT_HOSTNAME="(none)" +# CONFIG_SYSVIPC is not set +# CONFIG_POSIX_MQUEUE is not set +# CONFIG_CROSS_MEMORY_ATTACH is not set +# CONFIG_FHANDLE is not set +# CONFIG_USELIB is not set +# CONFIG_AUDIT is not set +CONFIG_HAVE_ARCH_AUDITSYSCALL=y + +# +# IRQ subsystem +# +CONFIG_GENERIC_IRQ_SHOW=y +CONFIG_GENERIC_IRQ_SHOW_LEVEL=y +CONFIG_IRQ_DOMAIN=y +CONFIG_IRQ_FORCED_THREADING=y +CONFIG_SPARSE_IRQ=y +CONFIG_GENERIC_TIME_VSYSCALL_OLD=y +CONFIG_GENERIC_CLOCKEVENTS=y +CONFIG_GENERIC_CMOS_UPDATE=y + +# +# Timers subsystem +# +CONFIG_HZ_PERIODIC=y +# CONFIG_NO_HZ_IDLE is not set +# CONFIG_NO_HZ is not set +# CONFIG_HIGH_RES_TIMERS is not set + +# +# CPU/Task time and stats accounting +# +CONFIG_TICK_CPU_ACCOUNTING=y + +# +# RCU Subsystem +# +CONFIG_TINY_RCU=y +CONFIG_SRCU=y +# CONFIG_TASKS_RCU is not set +# CONFIG_RCU_STALL_COMMON is not set +# CONFIG_TREE_RCU_TRACE is not set +CONFIG_RCU_KTHREAD_PRIO=0 +# CONFIG_RCU_EXPEDITE_BOOT is not set +# CONFIG_BUILD_BIN2C is not set +# CONFIG_IKCONFIG is not set +CONFIG_LOG_BUF_SHIFT=17 +# CONFIG_CGROUPS is not set +# CONFIG_CHECKPOINT_RESTORE is not set +# CONFIG_SCHED_AUTOGROUP is not set +# CONFIG_RELAY is not set +CONFIG_BLK_DEV_INITRD=y +CONFIG_INITRAMFS_SOURCE="" +CONFIG_RD_GZIP=y +CONFIG_RD_BZIP2=y +CONFIG_RD_LZMA=y +# CONFIG_RD_XZ is not set +# CONFIG_RD_LZO is not set +# CONFIG_RD_LZ4 is not set +# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set +CONFIG_ANON_INODES=y +CONFIG_SYSCTL_EXCEPTION_TRACE=y +CONFIG_BPF=y +CONFIG_EXPERT=y +# CONFIG_MULTIUSER is not set +# CONFIG_SGETMASK_SYSCALL is not set +# CONFIG_SYSFS_SYSCALL is not set +# CONFIG_KALLSYMS is not set +CONFIG_PRINTK=y +# CONFIG_BUG is not set +# CONFIG_BASE_FULL is not set +# CONFIG_FUTEX is not set +# CONFIG_EPOLL is not set +CONFIG_SIGNALFD=y +# CONFIG_TIMERFD is not set +# CONFIG_EVENTFD is not set +# CONFIG_BPF_SYSCALL is not set +# CONFIG_SHMEM is not set +# CONFIG_AIO is not set +# CONFIG_ADVISE_SYSCALLS is not set +# CONFIG_PCI_QUIRKS is not set +CONFIG_EMBEDDED=y +CONFIG_HAVE_PERF_EVENTS=y + +# +# Kernel Performance Events And Counters +# +# CONFIG_PERF_EVENTS is not set +# CONFIG_VM_EVENT_COUNTERS is not set +# CONFIG_COMPAT_BRK is not set +# CONFIG_SLAB is not set +CONFIG_SLUB=y +# CONFIG_SLOB is not set +# CONFIG_PROFILING is not set +CONFIG_HAVE_OPROFILE=y +# CONFIG_JUMP_LABEL is not set +# CONFIG_UPROBES is not set +# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set +CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y +CONFIG_ARCH_USE_BUILTIN_BSWAP=y +CONFIG_HAVE_IOREMAP_PROT=y +CONFIG_HAVE_KPROBES=y +CONFIG_HAVE_KRETPROBES=y +CONFIG_HAVE_ARCH_TRACEHOOK=y +CONFIG_HAVE_DMA_ATTRS=y +CONFIG_GENERIC_SMP_IDLE_THREAD=y +CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y +CONFIG_HAVE_CLK=y +CONFIG_HAVE_DMA_API_DEBUG=y +CONFIG_HAVE_ARCH_JUMP_LABEL=y +CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y +CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y +# CONFIG_CC_STACKPROTECTOR is not set +CONFIG_HAVE_MOD_ARCH_SPECIFIC=y +CONFIG_MODULES_USE_ELF_RELA=y +CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y +CONFIG_ARCH_HAS_ELF_RANDOMIZE=y +CONFIG_CLONE_BACKWARDS=y +CONFIG_OLD_SIGSUSPEND=y +CONFIG_OLD_SIGACTION=y + +# +# GCOV-based kernel profiling +# +CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y +# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set +CONFIG_BASE_SMALL=1 +# CONFIG_MODULES is not set +# CONFIG_BLOCK is not set +CONFIG_INLINE_SPIN_UNLOCK_IRQ=y +CONFIG_INLINE_READ_UNLOCK=y +CONFIG_INLINE_READ_UNLOCK_IRQ=y +CONFIG_INLINE_WRITE_UNLOCK=y +CONFIG_INLINE_WRITE_UNLOCK_IRQ=y +CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y +# CONFIG_FREEZER is not set +# CONFIG_PPC_XICS is not set +# CONFIG_PPC_ICP_NATIVE is not set +# CONFIG_PPC_ICP_HV is not set +# CONFIG_PPC_ICS_RTAS is not set +# CONFIG_GE_FPGA is not set + +# +# Platform support +# +# CONFIG_PPC_CHRP is not set +# CONFIG_PPC_MPC512x is not set +CONFIG_PPC_MPC52xx=y +CONFIG_PPC_MPC5200_SIMPLE=y +# CONFIG_PPC_EFIKA is not set +# CONFIG_PPC_LITE5200 is not set +# CONFIG_PPC_MEDIA5200 is not set +# CONFIG_PPC_MPC5200_BUGFIX is not set +# CONFIG_PPC_MPC5200_LPBFIFO is not set +# CONFIG_PPC_PMAC is not set +# CONFIG_PPC_CELL is not set +# CONFIG_PPC_CELL_NATIVE is not set +# CONFIG_PPC_82xx is not set +# CONFIG_PQ2ADS is not set +# CONFIG_PPC_83xx is not set +# CONFIG_PPC_86xx is not set +# CONFIG_EMBEDDED6xx is not set +# CONFIG_AMIGAONE is not set +# CONFIG_KVM_GUEST is not set +# CONFIG_EPAPR_PARAVIRT is not set +# CONFIG_PPC_OF_BOOT_TRAMPOLINE is not set +# CONFIG_IPIC is not set +# CONFIG_MPIC is not set +# CONFIG_PPC_EPAPR_HV_PIC is not set +# CONFIG_MPIC_WEIRD is not set +# CONFIG_PPC_I8259 is not set +# CONFIG_PPC_RTAS is not set +# CONFIG_MMIO_NVRAM is not set +# CONFIG_MPIC_U3_HT_IRQS is not set +# CONFIG_PPC_MPC106 is not set +# CONFIG_PPC_970_NAP is not set +# CONFIG_PPC_P7_NAP is not set + +# +# CPU Frequency scaling +# +# CONFIG_CPU_FREQ is not set + +# +# CPUIdle driver +# + +# +# CPU Idle +# +# CONFIG_CPU_IDLE is not set +# CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set +# CONFIG_TAU is not set +# CONFIG_FSL_ULI1575 is not set +# CONFIG_SIMPLE_GPIO is not set + +# +# Kernel options +# +# CONFIG_HIGHMEM is not set +# CONFIG_HZ_100 is not set +CONFIG_HZ_250=y +# CONFIG_HZ_300 is not set +# CONFIG_HZ_1000 is not set +CONFIG_HZ=250 +# CONFIG_SCHED_HRTICK is not set +CONFIG_PREEMPT_NONE=y +# CONFIG_PREEMPT_VOLUNTARY is not set +# CONFIG_PREEMPT is not set +CONFIG_BINFMT_ELF=y +# CONFIG_BINFMT_SCRIPT is not set +# CONFIG_HAVE_AOUT is not set +# CONFIG_BINFMT_MISC is not set +# CONFIG_COREDUMP is not set +# CONFIG_IOMMU_HELPER is not set +# CONFIG_SWIOTLB is not set +CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y +CONFIG_ARCH_HAS_WALK_MEMORY=y +CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y +# CONFIG_KEXEC is not set +# CONFIG_CRASH_DUMP is not set +CONFIG_ARCH_FLATMEM_ENABLE=y +CONFIG_FLATMEM=y +CONFIG_FLAT_NODE_MEM_MAP=y +CONFIG_HAVE_MEMBLOCK=y +CONFIG_HAVE_MEMBLOCK_NODE_MAP=y +CONFIG_HAVE_GENERIC_RCU_GUP=y +CONFIG_NO_BOOTMEM=y +# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set +CONFIG_PAGEFLAGS_EXTENDED=y +CONFIG_SPLIT_PTLOCK_CPUS=4 +# CONFIG_COMPACTION is not set +# CONFIG_MIGRATION is not set +# CONFIG_PHYS_ADDR_T_64BIT is not set +CONFIG_ZONE_DMA_FLAG=1 +CONFIG_VIRT_TO_BUS=y +# CONFIG_KSM is not set +CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 +CONFIG_NEED_PER_CPU_KM=y +# CONFIG_CLEANCACHE is not set +# CONFIG_CMA is not set +# CONFIG_ZPOOL is not set +# CONFIG_ZBUD is not set +# CONFIG_ZSMALLOC is not set +CONFIG_PPC_4K_PAGES=y +CONFIG_FORCE_MAX_ZONEORDER=11 +# CONFIG_PPC_COPRO_BASE is not set +# CONFIG_CMDLINE_BOOL is not set +CONFIG_EXTRA_TARGETS="" +# CONFIG_PM is not set +CONFIG_SECCOMP=y +CONFIG_ISA_DMA_API=y + +# +# Bus options +# +CONFIG_ZONE_DMA=y +# CONFIG_NEED_DMA_MAP_STATE is not set +CONFIG_NEED_SG_DMA_LENGTH=y +CONFIG_GENERIC_ISA_DMA=y +# CONFIG_PPC_INDIRECT_PCI is not set +CONFIG_PPC_PCI_CHOICE=y +CONFIG_PCI=y +CONFIG_PCI_DOMAINS=y +CONFIG_PCI_SYSCALL=y +# CONFIG_PCIEPORTBUS is not set +# CONFIG_PCI_MSI is not set +# CONFIG_PCI_DEBUG is not set +# CONFIG_PCI_REALLOC_ENABLE_AUTO is not set +# CONFIG_PCI_STUB is not set +# CONFIG_PCI_IOV is not set +# CONFIG_PCI_PRI is not set +# CONFIG_PCI_PASID is not set + +# +# PCI host controller drivers +# +# CONFIG_PCCARD is not set +# CONFIG_HAS_RAPIDIO is not set +# CONFIG_RAPIDIO is not set +# CONFIG_NONSTATIC_KERNEL is not set + +# +# Advanced setup +# +# CONFIG_ADVANCED_OPTIONS is not set + +# +# Default settings for advanced configuration options are used +# +CONFIG_LOWMEM_SIZE=0x30000000 +CONFIG_PAGE_OFFSET=0xc0000000 +CONFIG_KERNEL_START=0xc0000000 +CONFIG_PHYSICAL_START=0x00000000 +CONFIG_TASK_SIZE=0xc0000000 +# CONFIG_ARCH_RANDOM is not set +CONFIG_NET=y + +# +# Networking options +# +CONFIG_PACKET=y +# CONFIG_PACKET_DIAG is not set +# CONFIG_UNIX is not set +# CONFIG_XFRM_USER is not set +# CONFIG_NET_KEY is not set +CONFIG_INET=y +# CONFIG_IP_MULTICAST is not set +# CONFIG_IP_ADVANCED_ROUTER is not set +# CONFIG_IP_PNP is not set +# CONFIG_NET_IPIP is not set +# CONFIG_NET_IPGRE_DEMUX is not set +# CONFIG_NET_IP_TUNNEL is not set +# CONFIG_SYN_COOKIES is not set +# CONFIG_NET_UDP_TUNNEL is not set +# CONFIG_NET_FOU is not set +# CONFIG_GENEVE is not set +# CONFIG_INET_AH is not set +# CONFIG_INET_ESP is not set +# CONFIG_INET_IPCOMP is not set +# CONFIG_INET_XFRM_TUNNEL is not set +# CONFIG_INET_TUNNEL is not set +# CONFIG_INET_XFRM_MODE_TRANSPORT is not set +# CONFIG_INET_XFRM_MODE_TUNNEL is not set +# CONFIG_INET_XFRM_MODE_BEET is not set +# CONFIG_INET_LRO is not set +# CONFIG_INET_DIAG is not set +# CONFIG_TCP_CONG_ADVANCED is not set +CONFIG_TCP_CONG_CUBIC=y +CONFIG_DEFAULT_TCP_CONG="cubic" +# CONFIG_TCP_MD5SIG is not set +# CONFIG_IPV6 is not set +# CONFIG_NETWORK_SECMARK is not set +# CONFIG_NET_PTP_CLASSIFY is not set +# CONFIG_NETWORK_PHY_TIMESTAMPING is not set +CONFIG_NETFILTER=y +# CONFIG_NETFILTER_DEBUG is not set +# CONFIG_NETFILTER_ADVANCED is not set + +# +# Core Netfilter Configuration +# +# CONFIG_NETFILTER_NETLINK_LOG is not set +# CONFIG_NF_CONNTRACK is not set +# CONFIG_NF_TABLES is not set +# CONFIG_NETFILTER_XTABLES is not set +# CONFIG_IP_SET is not set +# CONFIG_IP_VS is not set + +# +# IP: Netfilter Configuration +# +# CONFIG_NF_DEFRAG_IPV4 is not set +# CONFIG_NF_LOG_ARP is not set +# CONFIG_NF_LOG_IPV4 is not set +# CONFIG_NF_REJECT_IPV4 is not set +# CONFIG_IP_NF_IPTABLES is not set +# CONFIG_IP_DCCP is not set +# CONFIG_IP_SCTP is not set +# CONFIG_RDS is not set +# CONFIG_TIPC is not set +# CONFIG_ATM is not set +# CONFIG_L2TP is not set +# CONFIG_BRIDGE is not set +CONFIG_HAVE_NET_DSA=y +# CONFIG_VLAN_8021Q is not set +# CONFIG_DECNET is not set +# CONFIG_LLC2 is not set +# CONFIG_IPX is not set +# CONFIG_ATALK is not set +# CONFIG_X25 is not set +# CONFIG_LAPB is not set +# CONFIG_PHONET is not set +# CONFIG_IEEE802154 is not set +# CONFIG_NET_SCHED is not set +# CONFIG_DCB is not set +# CONFIG_BATMAN_ADV is not set +# CONFIG_OPENVSWITCH is not set +# CONFIG_VSOCKETS is not set +# CONFIG_NETLINK_MMAP is not set +# CONFIG_NETLINK_DIAG is not set +# CONFIG_MPLS is not set +# CONFIG_HSR is not set +# CONFIG_NET_SWITCHDEV is not set +CONFIG_NET_RX_BUSY_POLL=y + +# +# Network testing +# +# CONFIG_NET_PKTGEN is not set +# CONFIG_HAMRADIO is not set +CONFIG_CAN=y +CONFIG_CAN_RAW=y +# CONFIG_CAN_BCM is not set +CONFIG_CAN_GW=y + +# +# CAN Device Drivers +# +CONFIG_CAN_VCAN=y +# CONFIG_CAN_SLCAN is not set +CONFIG_CAN_DEV=y +CONFIG_CAN_CALC_BITTIMING=y +# CONFIG_CAN_FLEXCAN is not set +# CONFIG_CAN_GRCAN is not set +CONFIG_CAN_MSCAN=y +CONFIG_CAN_MPC5XXX=y +# CONFIG_CAN_SJA1000 is not set +# CONFIG_CAN_C_CAN is not set +# CONFIG_CAN_M_CAN is not set +# CONFIG_CAN_CC770 is not set +# CONFIG_CAN_SOFTING is not set +# CONFIG_CAN_DEBUG_DEVICES is not set +# CONFIG_IRDA is not set +# CONFIG_BT is not set +# CONFIG_AF_RXRPC is not set +# CONFIG_WIRELESS is not set +# CONFIG_WIMAX is not set +# CONFIG_RFKILL is not set +# CONFIG_NET_9P is not set +# CONFIG_CAIF is not set +# CONFIG_CEPH_LIB is not set +# CONFIG_NFC is not set +CONFIG_HAVE_BPF_JIT=y + +# +# Device Drivers +# + +# +# Generic Driver Options +# +# CONFIG_UEVENT_HELPER is not set +# CONFIG_DEVTMPFS is not set +# CONFIG_STANDALONE is not set +# CONFIG_PREVENT_FIRMWARE_BUILD is not set +# CONFIG_FW_LOADER is not set +# CONFIG_ALLOW_DEV_COREDUMP is not set +# CONFIG_DEBUG_DRIVER is not set +# CONFIG_DEBUG_DEVRES is not set +# CONFIG_SYS_HYPERVISOR is not set +# CONFIG_GENERIC_CPU_DEVICES is not set +# CONFIG_DMA_SHARED_BUFFER is not set + +# +# Bus devices +# +# CONFIG_CONNECTOR is not set +# CONFIG_MTD is not set +CONFIG_DTC=y +CONFIG_OF=y + +# +# Device Tree and Open Firmware support +# +# CONFIG_OF_UNITTEST is not set +CONFIG_OF_FLATTREE=y +CONFIG_OF_EARLY_FLATTREE=y +CONFIG_OF_ADDRESS=y +CONFIG_OF_ADDRESS_PCI=y +CONFIG_OF_IRQ=y +CONFIG_OF_NET=y +CONFIG_OF_MDIO=y +CONFIG_OF_PCI=y +CONFIG_OF_PCI_IRQ=y +CONFIG_OF_RESERVED_MEM=y +# CONFIG_OF_OVERLAY is not set +CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y +# CONFIG_PARPORT is not set + +# +# Misc devices +# +# CONFIG_DUMMY_IRQ is not set +# CONFIG_PHANTOM is not set +# CONFIG_SGI_IOC4 is not set +# CONFIG_TIFM_CORE is not set +# CONFIG_ENCLOSURE_SERVICES is not set +# CONFIG_HP_ILO is not set +# CONFIG_SRAM is not set +# CONFIG_C2PORT is not set + +# +# EEPROM support +# +# CONFIG_EEPROM_93CX6 is not set +# CONFIG_CB710_CORE is not set + +# +# Texas Instruments shared transport line discipline +# + +# +# Altera FPGA firmware download module +# + +# +# Intel MIC Bus Driver +# + +# +# Intel MIC Host Driver +# + +# +# Intel MIC Card Driver +# +# CONFIG_ECHO is not set +# CONFIG_CXL_BASE is not set +CONFIG_HAVE_IDE=y + +# +# SCSI device support +# +CONFIG_SCSI_MOD=y +# CONFIG_SCSI_DMA is not set +# CONFIG_SCSI_NETLINK is not set +# CONFIG_FUSION is not set + +# +# IEEE 1394 (FireWire) support +# +# CONFIG_FIREWIRE is not set +# CONFIG_FIREWIRE_NOSY is not set +# CONFIG_MACINTOSH_DRIVERS is not set +CONFIG_NETDEVICES=y +# CONFIG_NET_CORE is not set +# CONFIG_ARCNET is not set + +# +# CAIF transport drivers +# + +# +# Distributed Switch Architecture drivers +# +# CONFIG_NET_DSA_MV88E6XXX is not set +# CONFIG_NET_DSA_MV88E6XXX_NEED_PPU is not set +CONFIG_ETHERNET=y +# CONFIG_NET_VENDOR_3COM is not set +# CONFIG_NET_VENDOR_ADAPTEC is not set +# CONFIG_NET_VENDOR_AGERE is not set +# CONFIG_NET_VENDOR_ALTEON is not set +# CONFIG_ALTERA_TSE is not set +# CONFIG_NET_VENDOR_AMD is not set +# CONFIG_NET_XGENE is not set +# CONFIG_NET_VENDOR_ARC is not set +# CONFIG_NET_VENDOR_ATHEROS is not set +# CONFIG_NET_CADENCE is not set +# CONFIG_NET_VENDOR_BROADCOM is not set +# CONFIG_NET_VENDOR_BROCADE is not set +# CONFIG_NET_VENDOR_CHELSIO is not set +# CONFIG_NET_VENDOR_CISCO is not set +# CONFIG_DNET is not set +# CONFIG_NET_VENDOR_DEC is not set +# CONFIG_NET_VENDOR_DLINK is not set +# CONFIG_NET_VENDOR_EMULEX is not set +# CONFIG_NET_VENDOR_EXAR is not set +CONFIG_NET_VENDOR_FREESCALE=y +CONFIG_FEC_MPC52xx=y +CONFIG_FEC_MPC52xx_MDIO=y +# CONFIG_FSL_PQ_MDIO is not set +# CONFIG_FSL_XGMAC_MDIO is not set +# CONFIG_NET_VENDOR_HP is not set +# CONFIG_NET_VENDOR_INTEL is not set +# CONFIG_IP1000 is not set +# CONFIG_JME is not set +# CONFIG_NET_VENDOR_MARVELL is not set +# CONFIG_NET_VENDOR_MELLANOX is not set +# CONFIG_NET_VENDOR_MICREL is not set +# CONFIG_NET_VENDOR_MYRI is not set +# CONFIG_FEALNX is not set +# CONFIG_NET_VENDOR_NATSEMI is not set +# CONFIG_NET_VENDOR_NVIDIA is not set +# CONFIG_NET_VENDOR_OKI is not set +# CONFIG_ETHOC is not set +# CONFIG_NET_PACKET_ENGINE is not set +# CONFIG_NET_VENDOR_QLOGIC is not set +# CONFIG_NET_VENDOR_QUALCOMM is not set +# CONFIG_NET_VENDOR_REALTEK is not set +# CONFIG_NET_VENDOR_RDC is not set +# CONFIG_NET_VENDOR_ROCKER is not set +# CONFIG_NET_VENDOR_SAMSUNG is not set +# CONFIG_NET_VENDOR_SEEQ is not set +# CONFIG_NET_VENDOR_SILAN is not set +# CONFIG_NET_VENDOR_SIS is not set +# CONFIG_SFC is not set +# CONFIG_NET_VENDOR_SMSC is not set +# CONFIG_NET_VENDOR_STMICRO is not set +# CONFIG_NET_VENDOR_SUN is not set +# CONFIG_NET_VENDOR_TEHUTI is not set +# CONFIG_NET_VENDOR_TI is not set +# CONFIG_NET_VENDOR_VIA is not set +# CONFIG_NET_VENDOR_WIZNET is not set +# CONFIG_NET_VENDOR_XILINX is not set +# CONFIG_FDDI is not set +# CONFIG_HIPPI is not set +CONFIG_PHYLIB=y + +# +# MII PHY device drivers +# +# CONFIG_AT803X_PHY is not set +# CONFIG_AMD_PHY is not set +# CONFIG_AMD_XGBE_PHY is not set +# CONFIG_MARVELL_PHY is not set +# CONFIG_DAVICOM_PHY is not set +# CONFIG_QSEMI_PHY is not set +# CONFIG_LXT_PHY is not set +# CONFIG_CICADA_PHY is not set +# CONFIG_VITESSE_PHY is not set +# CONFIG_SMSC_PHY is not set +# CONFIG_BROADCOM_PHY is not set +# CONFIG_BCM7XXX_PHY is not set +# CONFIG_BCM87XX_PHY is not set +# CONFIG_ICPLUS_PHY is not set +# CONFIG_REALTEK_PHY is not set +# CONFIG_NATIONAL_PHY is not set +# CONFIG_STE10XP is not set +# CONFIG_LSI_ET1011C_PHY is not set +# CONFIG_MICREL_PHY is not set +# CONFIG_FIXED_PHY is not set +# CONFIG_MDIO_BITBANG is not set +# CONFIG_MDIO_BUS_MUX_MMIOREG is not set +# CONFIG_MDIO_BCM_UNIMAC is not set +# CONFIG_PPP is not set +# CONFIG_SLIP is not set + +# +# Host-side USB support is needed for USB Network Adapter support +# +# CONFIG_WLAN is not set + +# +# Enable WiMAX (Networking options) to see the WiMAX drivers +# +# CONFIG_WAN is not set +# CONFIG_VMXNET3 is not set +# CONFIG_ISDN is not set + +# +# Input device support +# +# CONFIG_INPUT is not set + +# +# Hardware I/O ports +# +# CONFIG_SERIO is not set +CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y +# CONFIG_GAMEPORT is not set + +# +# Character devices +# +CONFIG_TTY=y +# CONFIG_VT is not set +# CONFIG_UNIX98_PTYS is not set +# CONFIG_LEGACY_PTYS is not set +# CONFIG_SERIAL_NONSTANDARD is not set +# CONFIG_NOZOMI is not set +# CONFIG_N_GSM is not set +# CONFIG_TRACE_SINK is not set +# CONFIG_PPC_EPAPR_HV_BYTECHAN is not set +# CONFIG_DEVMEM is not set +# CONFIG_DEVKMEM is not set + +# +# Serial drivers +# +# CONFIG_SERIAL_8250 is not set + +# +# Non-8250 serial port support +# +# CONFIG_SERIAL_UARTLITE is not set +CONFIG_SERIAL_CORE=y +CONFIG_SERIAL_CORE_CONSOLE=y +CONFIG_SERIAL_MPC52xx=y +CONFIG_SERIAL_MPC52xx_CONSOLE=y +CONFIG_SERIAL_MPC52xx_CONSOLE_BAUD=115200 +# CONFIG_SERIAL_JSM is not set +# CONFIG_SERIAL_SCCNXP is not set +# CONFIG_SERIAL_ALTERA_JTAGUART is not set +# CONFIG_SERIAL_ALTERA_UART is not set +# CONFIG_SERIAL_XILINX_PS_UART is not set +# CONFIG_SERIAL_ARC is not set +# CONFIG_SERIAL_RP2 is not set +# CONFIG_SERIAL_FSL_LPUART is not set +# CONFIG_SERIAL_CONEXANT_DIGICOLOR is not set +# CONFIG_TTY_PRINTK is not set +# CONFIG_HVC_UDBG is not set +# CONFIG_IPMI_HANDLER is not set +# CONFIG_HW_RANDOM is not set +# CONFIG_NVRAM is not set +# CONFIG_GEN_RTC is not set +# CONFIG_R3964 is not set +# CONFIG_APPLICOM is not set +# CONFIG_TCG_TPM is not set +CONFIG_DEVPORT=y +# CONFIG_XILLYBUS is not set + +# +# I2C support +# +# CONFIG_I2C is not set +# CONFIG_SPI is not set +# CONFIG_SPMI is not set +# CONFIG_HSI is not set + +# +# PPS support +# +# CONFIG_PPS is not set + +# +# PPS generators support +# + +# +# PTP clock support +# +# CONFIG_PTP_1588_CLOCK is not set + +# +# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks. +# +CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y +# CONFIG_GPIOLIB is not set +# CONFIG_W1 is not set +# CONFIG_POWER_SUPPLY is not set +# CONFIG_POWER_AVS is not set +# CONFIG_HWMON is not set +# CONFIG_THERMAL is not set +# CONFIG_WATCHDOG is not set +CONFIG_SSB_POSSIBLE=y + +# +# Sonics Silicon Backplane +# +# CONFIG_SSB is not set +CONFIG_BCMA_POSSIBLE=y + +# +# Broadcom specific AMBA +# +# CONFIG_BCMA is not set + +# +# Multifunction device drivers +# +# CONFIG_MFD_CORE is not set +# CONFIG_MFD_ATMEL_HLCDC is not set +# CONFIG_MFD_CROS_EC is not set +# CONFIG_MFD_HI6421_PMIC is not set +# CONFIG_HTC_PASIC3 is not set +# CONFIG_LPC_ICH is not set +# CONFIG_LPC_SCH is not set +# CONFIG_MFD_JANZ_CMODIO is not set +# CONFIG_MFD_KEMPLD is not set +# CONFIG_MFD_MT6397 is not set +# CONFIG_MFD_RDC321X is not set +# CONFIG_MFD_RTSX_PCI is not set +# CONFIG_MFD_SM501 is not set +# CONFIG_ABX500_CORE is not set +# CONFIG_MFD_SYSCON is not set +# CONFIG_MFD_TI_AM335X_TSCADC is not set +# CONFIG_MFD_TMIO is not set +# CONFIG_MFD_VX855 is not set +# CONFIG_REGULATOR is not set +# CONFIG_MEDIA_SUPPORT is not set + +# +# Graphics support +# +# CONFIG_AGP is not set +# CONFIG_VGA_ARB is not set + +# +# Direct Rendering Manager +# +# CONFIG_DRM is not set + +# +# Frame buffer Devices +# +# CONFIG_FB is not set +# CONFIG_BACKLIGHT_LCD_SUPPORT is not set +# CONFIG_VGASTATE is not set +# CONFIG_SOUND is not set +# CONFIG_USB_OHCI_LITTLE_ENDIAN is not set +# CONFIG_USB_SUPPORT is not set +# CONFIG_UWB is not set +# CONFIG_MMC is not set +# CONFIG_MEMSTICK is not set +# CONFIG_NEW_LEDS is not set +# CONFIG_ACCESSIBILITY is not set +# CONFIG_INFINIBAND is not set +# CONFIG_EDAC is not set +# CONFIG_RTC_CLASS is not set +CONFIG_DMADEVICES=y +# CONFIG_DMADEVICES_DEBUG is not set + +# +# DMA Devices +# +# CONFIG_DW_DMAC is not set +# CONFIG_DW_DMAC_PCI is not set +# CONFIG_HSU_DMA_PCI is not set +CONFIG_PPC_BESTCOMM=y +CONFIG_PPC_BESTCOMM_FEC=y +# CONFIG_FSL_EDMA is not set +CONFIG_DMA_ENGINE=y +CONFIG_DMA_OF=y + +# +# DMA Clients +# +# CONFIG_ASYNC_TX_DMA is not set +# CONFIG_DMATEST is not set +# CONFIG_AUXDISPLAY is not set +# CONFIG_UIO is not set +# CONFIG_VIRT_DRIVERS is not set + +# +# Virtio drivers +# +# CONFIG_VIRTIO_PCI is not set +# CONFIG_VIRTIO_MMIO is not set + +# +# Microsoft Hyper-V guest support +# +# CONFIG_STAGING is not set +CONFIG_CLKDEV_LOOKUP=y +CONFIG_HAVE_CLK_PREPARE=y +CONFIG_COMMON_CLK=y + +# +# Common Clock Framework +# +# CONFIG_COMMON_CLK_PXA is not set + +# +# Hardware Spinlock drivers +# + +# +# Clock Source drivers +# +# CONFIG_ATMEL_PIT is not set +# CONFIG_SH_TIMER_CMT is not set +# CONFIG_SH_TIMER_MTU2 is not set +# CONFIG_SH_TIMER_TMU is not set +# CONFIG_EM_TIMER_STI is not set +# CONFIG_MAILBOX is not set +# CONFIG_IOMMU_SUPPORT is not set + +# +# Remoteproc drivers +# +# CONFIG_STE_MODEM_RPROC is not set + +# +# Rpmsg drivers +# + +# +# SOC (System On Chip) specific Drivers +# +# CONFIG_SOC_TI is not set +# CONFIG_PM_DEVFREQ is not set +# CONFIG_EXTCON is not set +# CONFIG_MEMORY is not set +# CONFIG_IIO is not set +# CONFIG_VME_BUS is not set +# CONFIG_PWM is not set +CONFIG_IRQCHIP=y +# CONFIG_IPACK_BUS is not set +# CONFIG_RESET_CONTROLLER is not set +# CONFIG_FMC is not set + +# +# PHY Subsystem +# +# CONFIG_GENERIC_PHY is not set +# CONFIG_BCM_KONA_USB2_PHY is not set +# CONFIG_POWERCAP is not set +# CONFIG_MCB is not set +# CONFIG_THUNDERBOLT is not set + +# +# Android +# +# CONFIG_ANDROID is not set + +# +# File systems +# +# CONFIG_FS_POSIX_ACL is not set +# CONFIG_FILE_LOCKING is not set +# CONFIG_FSNOTIFY is not set +# CONFIG_DNOTIFY is not set +# CONFIG_INOTIFY_USER is not set +# CONFIG_FANOTIFY is not set +# CONFIG_QUOTA is not set +# CONFIG_QUOTACTL is not set +# CONFIG_AUTOFS4_FS is not set +# CONFIG_FUSE_FS is not set +# CONFIG_OVERLAY_FS is not set + +# +# Caches +# +# CONFIG_FSCACHE is not set + +# +# Pseudo filesystems +# +CONFIG_PROC_FS=y +# CONFIG_PROC_KCORE is not set +# CONFIG_PROC_SYSCTL is not set +# CONFIG_PROC_PAGE_MONITOR is not set +# CONFIG_KERNFS is not set +# CONFIG_SYSFS is not set +# CONFIG_HUGETLB_PAGE is not set +# CONFIG_CONFIGFS_FS is not set +# CONFIG_MISC_FILESYSTEMS is not set +# CONFIG_NETWORK_FILESYSTEMS is not set +# CONFIG_NLS is not set +# CONFIG_BINARY_PRINTF is not set + +# +# Library routines +# +CONFIG_BITREVERSE=y +# CONFIG_HAVE_ARCH_BITREVERSE is not set +CONFIG_GENERIC_STRNCPY_FROM_USER=y +CONFIG_GENERIC_STRNLEN_USER=y +CONFIG_GENERIC_NET_UTILS=y +CONFIG_GENERIC_PCI_IOMAP=y +CONFIG_GENERIC_IO=y +# CONFIG_CRC_CCITT is not set +# CONFIG_CRC16 is not set +# CONFIG_CRC_T10DIF is not set +# CONFIG_CRC_ITU_T is not set +CONFIG_CRC32=y +# CONFIG_CRC32_SELFTEST is not set +CONFIG_CRC32_SLICEBY8=y +# CONFIG_CRC32_SLICEBY4 is not set +# CONFIG_CRC32_SARWATE is not set +# CONFIG_CRC32_BIT is not set +# CONFIG_CRC7 is not set +# CONFIG_LIBCRC32C is not set +# CONFIG_CRC8 is not set +# CONFIG_AUDIT_ARCH_COMPAT_GENERIC is not set +# CONFIG_RANDOM32_SELFTEST is not set +CONFIG_ZLIB_INFLATE=y +# CONFIG_XZ_DEC is not set +# CONFIG_XZ_DEC_BCJ is not set +CONFIG_DECOMPRESS_GZIP=y +CONFIG_DECOMPRESS_BZIP2=y +CONFIG_DECOMPRESS_LZMA=y +CONFIG_HAS_IOMEM=y +CONFIG_HAS_IOPORT_MAP=y +CONFIG_HAS_DMA=y +CONFIG_NLATTR=y +CONFIG_GENERIC_ATOMIC64=y +CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y +# CONFIG_AVERAGE is not set +# CONFIG_CORDIC is not set +# CONFIG_DDR is not set +CONFIG_LIBFDT=y +CONFIG_ARCH_HAS_SG_CHAIN=y + +# +# Kernel hacking +# + +# +# printk and dmesg options +# +# CONFIG_PRINTK_TIME is not set +CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4 + +# +# Compile-time checks and compiler options +# +# CONFIG_DEBUG_INFO is not set +# CONFIG_ENABLE_WARN_DEPRECATED is not set +# CONFIG_ENABLE_MUST_CHECK is not set +CONFIG_FRAME_WARN=1024 +# CONFIG_STRIP_ASM_SYMS is not set +# CONFIG_READABLE_ASM is not set +# CONFIG_UNUSED_SYMBOLS is not set +# CONFIG_PAGE_OWNER is not set +# CONFIG_DEBUG_FS is not set +# CONFIG_HEADERS_CHECK is not set +# CONFIG_DEBUG_SECTION_MISMATCH is not set +# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set +# CONFIG_MAGIC_SYSRQ is not set +CONFIG_DEBUG_KERNEL=y + +# +# Memory Debugging +# +# CONFIG_PAGE_EXTENSION is not set +# CONFIG_DEBUG_PAGEALLOC is not set +# CONFIG_DEBUG_OBJECTS is not set +CONFIG_HAVE_DEBUG_KMEMLEAK=y +# CONFIG_DEBUG_KMEMLEAK is not set +# CONFIG_DEBUG_STACK_USAGE is not set +# CONFIG_DEBUG_VM is not set +# CONFIG_DEBUG_MEMORY_INIT is not set +CONFIG_HAVE_DEBUG_STACKOVERFLOW=y +# CONFIG_DEBUG_STACKOVERFLOW is not set +# CONFIG_DEBUG_SHIRQ is not set + +# +# Debug Lockups and Hangs +# +# CONFIG_LOCKUP_DETECTOR is not set +# CONFIG_DETECT_HUNG_TASK is not set +# CONFIG_PANIC_ON_OOPS is not set +CONFIG_PANIC_ON_OOPS_VALUE=0 +# CONFIG_SCHED_DEBUG is not set +# CONFIG_SCHEDSTATS is not set +# CONFIG_SCHED_STACK_END_CHECK is not set +# CONFIG_DEBUG_TIMEKEEPING is not set +# CONFIG_TIMER_STATS is not set + +# +# Lock Debugging (spinlocks, mutexes, etc...) +# +# CONFIG_DEBUG_SPINLOCK is not set +# CONFIG_DEBUG_MUTEXES is not set +# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set +# CONFIG_DEBUG_LOCK_ALLOC is not set +# CONFIG_PROVE_LOCKING is not set +# CONFIG_LOCK_STAT is not set +# CONFIG_DEBUG_ATOMIC_SLEEP is not set +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set +# CONFIG_LOCK_TORTURE_TEST is not set +# CONFIG_STACKTRACE is not set +# CONFIG_DEBUG_KOBJECT is not set +# CONFIG_DEBUG_LIST is not set +# CONFIG_DEBUG_PI_LIST is not set +# CONFIG_DEBUG_SG is not set +# CONFIG_DEBUG_NOTIFIERS is not set +# CONFIG_DEBUG_CREDENTIALS is not set + +# +# RCU Debugging +# +# CONFIG_PROVE_RCU is not set +# CONFIG_SPARSE_RCU_POINTER is not set +# CONFIG_TORTURE_TEST is not set +# CONFIG_RCU_TORTURE_TEST is not set +CONFIG_RCU_TORTURE_TEST_SLOW_INIT_DELAY=3 +# CONFIG_RCU_TRACE is not set +# CONFIG_NOTIFIER_ERROR_INJECTION is not set +# CONFIG_FAULT_INJECTION is not set +# CONFIG_LATENCYTOP is not set +CONFIG_HAVE_FUNCTION_TRACER=y +CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y +CONFIG_HAVE_DYNAMIC_FTRACE=y +CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y +CONFIG_HAVE_SYSCALL_TRACEPOINTS=y +CONFIG_TRACING_SUPPORT=y +# CONFIG_FTRACE is not set + +# +# Runtime Testing +# +# CONFIG_TEST_LIST_SORT is not set +# CONFIG_BACKTRACE_SELF_TEST is not set +# CONFIG_RBTREE_TEST is not set +# CONFIG_ATOMIC64_SELFTEST is not set +# CONFIG_TEST_HEXDUMP is not set +# CONFIG_TEST_STRING_HELPERS is not set +# CONFIG_TEST_KSTRTOX is not set +# CONFIG_TEST_RHASHTABLE is not set +# CONFIG_DMA_API_DEBUG is not set +# CONFIG_TEST_UDELAY is not set +# CONFIG_MEMTEST is not set +# CONFIG_SAMPLES is not set +CONFIG_HAVE_ARCH_KGDB=y +# CONFIG_KGDB is not set +# CONFIG_PPC_DISABLE_WERROR is not set +CONFIG_PPC_WERROR=y +CONFIG_PRINT_STACK_DEPTH=64 +# CONFIG_CODE_PATCHING_SELFTEST is not set +# CONFIG_FTR_FIXUP_SELFTEST is not set +# CONFIG_MSI_BITMAP_SELFTEST is not set +# CONFIG_XMON is not set +# CONFIG_BDI_SWITCH is not set +# CONFIG_BOOTX_TEXT is not set +# CONFIG_PPC_EARLY_DEBUG is not set +# CONFIG_STRICT_DEVMEM is not set + +# +# Security options +# +# CONFIG_KEYS is not set +# CONFIG_SECURITY_DMESG_RESTRICT is not set +# CONFIG_SECURITYFS is not set +CONFIG_DEFAULT_SECURITY_DAC=y +CONFIG_DEFAULT_SECURITY="" +CONFIG_CRYPTO=y + +# +# Crypto core or helper +# +CONFIG_CRYPTO_ALGAPI=y +CONFIG_CRYPTO_ALGAPI2=y +# CONFIG_CRYPTO_MANAGER is not set +# CONFIG_CRYPTO_MANAGER2 is not set +# CONFIG_CRYPTO_USER is not set +# CONFIG_CRYPTO_GF128MUL is not set +# CONFIG_CRYPTO_NULL is not set +# CONFIG_CRYPTO_CRYPTD is not set +# CONFIG_CRYPTO_MCRYPTD is not set +# CONFIG_CRYPTO_AUTHENC is not set + +# +# Authenticated Encryption with Associated Data +# +# CONFIG_CRYPTO_CCM is not set +# CONFIG_CRYPTO_GCM is not set +# CONFIG_CRYPTO_SEQIV is not set + +# +# Block modes +# +# CONFIG_CRYPTO_CBC is not set +# CONFIG_CRYPTO_CTR is not set +# CONFIG_CRYPTO_CTS is not set +# CONFIG_CRYPTO_ECB is not set +# CONFIG_CRYPTO_LRW is not set +# CONFIG_CRYPTO_PCBC is not set +# CONFIG_CRYPTO_XTS is not set + +# +# Hash modes +# +# CONFIG_CRYPTO_CMAC is not set +# CONFIG_CRYPTO_HMAC is not set +# CONFIG_CRYPTO_XCBC is not set +# CONFIG_CRYPTO_VMAC is not set + +# +# Digest +# +# CONFIG_CRYPTO_CRC32C is not set +# CONFIG_CRYPTO_CRC32 is not set +# CONFIG_CRYPTO_CRCT10DIF is not set +# CONFIG_CRYPTO_GHASH is not set +# CONFIG_CRYPTO_MD4 is not set +# CONFIG_CRYPTO_MD5 is not set +# CONFIG_CRYPTO_MD5_PPC is not set +# CONFIG_CRYPTO_MICHAEL_MIC is not set +# CONFIG_CRYPTO_RMD128 is not set +# CONFIG_CRYPTO_RMD160 is not set +# CONFIG_CRYPTO_RMD256 is not set +# CONFIG_CRYPTO_RMD320 is not set +# CONFIG_CRYPTO_SHA1 is not set +# CONFIG_CRYPTO_SHA1_PPC is not set +# CONFIG_CRYPTO_SHA256 is not set +# CONFIG_CRYPTO_SHA512 is not set +# CONFIG_CRYPTO_TGR192 is not set +# CONFIG_CRYPTO_WP512 is not set + +# +# Ciphers +# +CONFIG_CRYPTO_AES=y +# CONFIG_CRYPTO_ANUBIS is not set +# CONFIG_CRYPTO_ARC4 is not set +# CONFIG_CRYPTO_BLOWFISH is not set +# CONFIG_CRYPTO_CAMELLIA is not set +# CONFIG_CRYPTO_CAST5 is not set +# CONFIG_CRYPTO_CAST6 is not set +# CONFIG_CRYPTO_DES is not set +# CONFIG_CRYPTO_FCRYPT is not set +# CONFIG_CRYPTO_KHAZAD is not set +# CONFIG_CRYPTO_SALSA20 is not set +# CONFIG_CRYPTO_SEED is not set +# CONFIG_CRYPTO_SERPENT is not set +# CONFIG_CRYPTO_TEA is not set +# CONFIG_CRYPTO_TWOFISH is not set + +# +# Compression +# +# CONFIG_CRYPTO_DEFLATE is not set +# CONFIG_CRYPTO_ZLIB is not set +# CONFIG_CRYPTO_LZO is not set +# CONFIG_CRYPTO_LZ4 is not set +# CONFIG_CRYPTO_LZ4HC is not set + +# +# Random Number Generation +# +# CONFIG_CRYPTO_ANSI_CPRNG is not set +# CONFIG_CRYPTO_DRBG_MENU is not set +# CONFIG_CRYPTO_USER_API_HASH is not set +# CONFIG_CRYPTO_USER_API_SKCIPHER is not set +# CONFIG_CRYPTO_USER_API_RNG is not set +# CONFIG_CRYPTO_USER_API_AEAD is not set +# CONFIG_CRYPTO_HW is not set +CONFIG_PPC_LIB_RHEAP=y +# CONFIG_VIRTUALIZATION is not set diff --git a/shark-ryu.dtb b/shark-ryu.dtb new file mode 100644 index 0000000..7397114 Binary files /dev/null and b/shark-ryu.dtb differ -- cgit v1.2.3 From c64debd5c6831bd0437b7ce750a192fb67319a48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 3 Aug 2015 10:42:25 +0200 Subject: Add default novaboot target for measuring --- .gitignore | 1 + .novaboot | 1 + 2 files changed, 2 insertions(+) create mode 100644 .novaboot diff --git a/.gitignore b/.gitignore index 691e752..bd44b75 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ *~ .* !.gitignore +!.novaboot *.o diff --git a/.novaboot b/.novaboot new file mode 100644 index 0000000..0cd421a --- /dev/null +++ b/.novaboot @@ -0,0 +1 @@ +$default_target = 'ryuglab'; -- cgit v1.2.3 From 655f43cdac8c56cadc2b14f65cc7041d5eba5ee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 6 Aug 2015 16:28:05 +0200 Subject: Fix boot problems Now cyclictest should be bootable. --- .novaboot | 1 - boot_script | 7 +++---- cyclictest.nb | 2 +- root/cyclictest/overlay/etc/inittab | 3 --- root/cyclictest/overlay/sbin/lcpinit | 5 +++++ root/cyclictest/overlay/usr/bin/linux-conf-perf | 3 --- 6 files changed, 9 insertions(+), 12 deletions(-) delete mode 100644 .novaboot delete mode 100644 root/cyclictest/overlay/etc/inittab create mode 100755 root/cyclictest/overlay/sbin/lcpinit delete mode 100755 root/cyclictest/overlay/usr/bin/linux-conf-perf diff --git a/.novaboot b/.novaboot deleted file mode 100644 index 0cd421a..0000000 --- a/.novaboot +++ /dev/null @@ -1 +0,0 @@ -$default_target = 'ryuglab'; diff --git a/boot_script b/boot_script index f416e4e..8fe9bb1 100755 --- a/boot_script +++ b/boot_script @@ -1,7 +1,6 @@ #!/bin/bash - -# Wake target -sudo /usr/sbin/etherwake 00:0c:f1:77:ec:46 +# Wake target if target is suspended +# sudo /usr/sbin/etherwake 00:0c:f1:77:ec:46 # Boot using novaboot -novaboot cyclictest.nb +novaboot cyclictest.nb --exiton="NOVABOOT EXIT LINUX-CONF-PERF" --target="ryuglab" diff --git a/cyclictest.nb b/cyclictest.nb index 5eae708..392d83a 100644 --- a/cyclictest.nb +++ b/cyclictest.nb @@ -1,5 +1,5 @@ #!/usr/bin/env novaboot # -*-sh-*- -load jobfiles/linuxImage console=ttyPSC0,115200 quiet +load jobfiles/linuxImage console=ttyPSC0,115200 quiet init=/sbin/lcpinit load shark-ryu.dtb load root/cyclictest/images/rootfs.cpio.uboot diff --git a/root/cyclictest/overlay/etc/inittab b/root/cyclictest/overlay/etc/inittab deleted file mode 100644 index 3290343..0000000 --- a/root/cyclictest/overlay/etc/inittab +++ /dev/null @@ -1,3 +0,0 @@ - -# linux-conf-perf init script -console::sysinit:/usr/bin/linux-conf-perf -L console 115200 vt100 diff --git a/root/cyclictest/overlay/sbin/lcpinit b/root/cyclictest/overlay/sbin/lcpinit new file mode 100755 index 0000000..e28aef2 --- /dev/null +++ b/root/cyclictest/overlay/sbin/lcpinit @@ -0,0 +1,5 @@ +#!/bin/sh + +echo Hello + +echo "NOVABOOT EXIT LINUX-CONF-PERF" diff --git a/root/cyclictest/overlay/usr/bin/linux-conf-perf b/root/cyclictest/overlay/usr/bin/linux-conf-perf deleted file mode 100755 index 7e548ad..0000000 --- a/root/cyclictest/overlay/usr/bin/linux-conf-perf +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -echo Hello -- cgit v1.2.3 From 6d7447ad132839bf63e960eb041db0f05cb8a15c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 8 Aug 2015 09:37:37 +0200 Subject: Fix .gitignore in folder root/cyclictest/ Git was ignoring files in overlay folder --- root/cyclictest/.gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/cyclictest/.gitignore b/root/cyclictest/.gitignore index cf36401..0d00e53 100644 --- a/root/cyclictest/.gitignore +++ b/root/cyclictest/.gitignore @@ -3,4 +3,4 @@ !.gitignore !GNUmakefile !prepare_boot -!overlay/ +!overlay/** -- cgit v1.2.3 From a1530515b326efa92a15a5fb879a57a2707423bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 8 Aug 2015 09:51:49 +0200 Subject: Move target specification from boot_script back to .novaboot file --- .novaboot | 1 + boot_script | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .novaboot diff --git a/.novaboot b/.novaboot new file mode 100644 index 0000000..0cd421a --- /dev/null +++ b/.novaboot @@ -0,0 +1 @@ +$default_target = 'ryuglab'; diff --git a/boot_script b/boot_script index 8fe9bb1..940022d 100755 --- a/boot_script +++ b/boot_script @@ -3,4 +3,4 @@ # sudo /usr/sbin/etherwake 00:0c:f1:77:ec:46 # Boot using novaboot -novaboot cyclictest.nb --exiton="NOVABOOT EXIT LINUX-CONF-PERF" --target="ryuglab" +novaboot cyclictest.nb --exiton="NOVABOOT EXIT LINUX-CONF-PERF" -- cgit v1.2.3 From 4ef85ff52f3283ef6950b44e34f580cdc483bed2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 8 Aug 2015 10:19:21 +0200 Subject: Add default config for ryuglab target --- config_def_ryuglab | 1292 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1292 insertions(+) create mode 100644 config_def_ryuglab diff --git a/config_def_ryuglab b/config_def_ryuglab new file mode 100644 index 0000000..1d58813 --- /dev/null +++ b/config_def_ryuglab @@ -0,0 +1,1292 @@ +# +# Automatically generated file; DO NOT EDIT. +# Linux/powerpc 4.0.0 Kernel Configuration +# +# CONFIG_PPC64 is not set + +# +# Processor support +# +CONFIG_PPC_BOOK3S_32=y +# CONFIG_PPC_85xx is not set +# CONFIG_PPC_8xx is not set +# CONFIG_40x is not set +# CONFIG_44x is not set +# CONFIG_E200 is not set +CONFIG_PPC_BOOK3S=y +CONFIG_6xx=y +CONFIG_PPC_FPU=y +# CONFIG_ALTIVEC is not set +CONFIG_PPC_STD_MMU=y +CONFIG_PPC_STD_MMU_32=y +# CONFIG_PPC_MM_SLICES is not set +CONFIG_PPC_HAVE_PMU_SUPPORT=y +# CONFIG_SMP is not set +# CONFIG_PPC_DOORBELL is not set +CONFIG_CPU_BIG_ENDIAN=y +# CONFIG_CPU_LITTLE_ENDIAN is not set +CONFIG_PPC32=y +CONFIG_32BIT=y +CONFIG_WORD_SIZE=32 +# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set +# CONFIG_ARCH_DMA_ADDR_T_64BIT is not set +CONFIG_MMU=y +# CONFIG_HAVE_SETUP_PER_CPU_AREA is not set +# CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set +CONFIG_NR_IRQS=512 +CONFIG_STACKTRACE_SUPPORT=y +CONFIG_HAVE_LATENCYTOP_SUPPORT=y +CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_LOCKDEP_SUPPORT=y +CONFIG_RWSEM_XCHGADD_ALGORITHM=y +CONFIG_ARCH_HAS_ILOG2_U32=y +CONFIG_GENERIC_HWEIGHT=y +CONFIG_PPC=y +# CONFIG_GENERIC_CSUM is not set +CONFIG_EARLY_PRINTK=y +CONFIG_PANIC_TIMEOUT=180 +CONFIG_GENERIC_NVRAM=y +CONFIG_SCHED_OMIT_FRAME_POINTER=y +CONFIG_ARCH_MAY_HAVE_PC_FDC=y +# CONFIG_PPC_UDBG_16550 is not set +# CONFIG_GENERIC_TBSYNC is not set +CONFIG_AUDIT_ARCH=y +# CONFIG_EPAPR_BOOT is not set +CONFIG_DEFAULT_UIMAGE=y +CONFIG_ARCH_HIBERNATION_POSSIBLE=y +# CONFIG_PPC_DCR_NATIVE is not set +# CONFIG_PPC_DCR_MMIO is not set +CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y +CONFIG_ARCH_SUPPORTS_UPROBES=y +CONFIG_PGTABLE_LEVELS=2 +CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" +CONFIG_IRQ_WORK=y + +# +# General setup +# +CONFIG_BROKEN_ON_SMP=y +CONFIG_INIT_ENV_ARG_LIMIT=32 +CONFIG_CROSS_COMPILE="" +# CONFIG_COMPILE_TEST is not set +CONFIG_LOCALVERSION="" +# CONFIG_LOCALVERSION_AUTO is not set +CONFIG_DEFAULT_HOSTNAME="(none)" +# CONFIG_SYSVIPC is not set +# CONFIG_POSIX_MQUEUE is not set +# CONFIG_CROSS_MEMORY_ATTACH is not set +# CONFIG_FHANDLE is not set +# CONFIG_USELIB is not set +# CONFIG_AUDIT is not set +CONFIG_HAVE_ARCH_AUDITSYSCALL=y + +# +# IRQ subsystem +# +CONFIG_GENERIC_IRQ_SHOW=y +CONFIG_GENERIC_IRQ_SHOW_LEVEL=y +CONFIG_IRQ_DOMAIN=y +CONFIG_IRQ_FORCED_THREADING=y +CONFIG_SPARSE_IRQ=y +CONFIG_GENERIC_TIME_VSYSCALL_OLD=y +CONFIG_GENERIC_CLOCKEVENTS=y +CONFIG_GENERIC_CMOS_UPDATE=y + +# +# Timers subsystem +# +CONFIG_TICK_ONESHOT=y +CONFIG_HZ_PERIODIC=y +# CONFIG_NO_HZ_IDLE is not set +# CONFIG_NO_HZ is not set +CONFIG_HIGH_RES_TIMERS=y + +# +# CPU/Task time and stats accounting +# +CONFIG_TICK_CPU_ACCOUNTING=y +# CONFIG_BSD_PROCESS_ACCT is not set +# CONFIG_TASKSTATS is not set + +# +# RCU Subsystem +# +CONFIG_TINY_RCU=y +CONFIG_SRCU=y +# CONFIG_TASKS_RCU is not set +# CONFIG_RCU_STALL_COMMON is not set +# CONFIG_TREE_RCU_TRACE is not set +CONFIG_RCU_KTHREAD_PRIO=0 +# CONFIG_RCU_EXPEDITE_BOOT is not set +# CONFIG_BUILD_BIN2C is not set +# CONFIG_IKCONFIG is not set +CONFIG_LOG_BUF_SHIFT=17 +# CONFIG_CGROUPS is not set +# CONFIG_CHECKPOINT_RESTORE is not set +# CONFIG_NAMESPACES is not set +# CONFIG_SCHED_AUTOGROUP is not set +# CONFIG_RELAY is not set +CONFIG_BLK_DEV_INITRD=y +CONFIG_INITRAMFS_SOURCE="" +CONFIG_RD_GZIP=y +CONFIG_RD_BZIP2=y +CONFIG_RD_LZMA=y +# CONFIG_RD_XZ is not set +# CONFIG_RD_LZO is not set +# CONFIG_RD_LZ4 is not set +# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set +CONFIG_ANON_INODES=y +CONFIG_SYSCTL_EXCEPTION_TRACE=y +CONFIG_BPF=y +CONFIG_EXPERT=y +CONFIG_MULTIUSER=y +# CONFIG_SGETMASK_SYSCALL is not set +# CONFIG_SYSFS_SYSCALL is not set +# CONFIG_KALLSYMS is not set +CONFIG_PRINTK=y +# CONFIG_BUG is not set +# CONFIG_BASE_FULL is not set +# CONFIG_FUTEX is not set +# CONFIG_EPOLL is not set +CONFIG_SIGNALFD=y +# CONFIG_TIMERFD is not set +# CONFIG_EVENTFD is not set +# CONFIG_BPF_SYSCALL is not set +# CONFIG_SHMEM is not set +# CONFIG_AIO is not set +# CONFIG_ADVISE_SYSCALLS is not set +# CONFIG_PCI_QUIRKS is not set +CONFIG_EMBEDDED=y +CONFIG_HAVE_PERF_EVENTS=y + +# +# Kernel Performance Events And Counters +# +# CONFIG_PERF_EVENTS is not set +# CONFIG_VM_EVENT_COUNTERS is not set +# CONFIG_COMPAT_BRK is not set +# CONFIG_SLAB is not set +CONFIG_SLUB=y +# CONFIG_SLOB is not set +# CONFIG_PROFILING is not set +CONFIG_HAVE_OPROFILE=y +# CONFIG_JUMP_LABEL is not set +# CONFIG_UPROBES is not set +# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set +CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y +CONFIG_ARCH_USE_BUILTIN_BSWAP=y +CONFIG_HAVE_IOREMAP_PROT=y +CONFIG_HAVE_KPROBES=y +CONFIG_HAVE_KRETPROBES=y +CONFIG_HAVE_ARCH_TRACEHOOK=y +CONFIG_HAVE_DMA_ATTRS=y +CONFIG_GENERIC_SMP_IDLE_THREAD=y +CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y +CONFIG_HAVE_CLK=y +CONFIG_HAVE_DMA_API_DEBUG=y +CONFIG_HAVE_ARCH_JUMP_LABEL=y +CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y +CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y +# CONFIG_CC_STACKPROTECTOR is not set +CONFIG_HAVE_MOD_ARCH_SPECIFIC=y +CONFIG_MODULES_USE_ELF_RELA=y +CONFIG_HAVE_IRQ_EXIT_ON_IRQ_STACK=y +CONFIG_ARCH_HAS_ELF_RANDOMIZE=y +CONFIG_CLONE_BACKWARDS=y +CONFIG_OLD_SIGSUSPEND=y +CONFIG_OLD_SIGACTION=y + +# +# GCOV-based kernel profiling +# +CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y +# CONFIG_HAVE_GENERIC_DMA_COHERENT is not set +CONFIG_BASE_SMALL=1 +# CONFIG_MODULES is not set +# CONFIG_BLOCK is not set +CONFIG_INLINE_SPIN_UNLOCK_IRQ=y +CONFIG_INLINE_READ_UNLOCK=y +CONFIG_INLINE_READ_UNLOCK_IRQ=y +CONFIG_INLINE_WRITE_UNLOCK=y +CONFIG_INLINE_WRITE_UNLOCK_IRQ=y +CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y +# CONFIG_FREEZER is not set +# CONFIG_PPC_XICS is not set +# CONFIG_PPC_ICP_NATIVE is not set +# CONFIG_PPC_ICP_HV is not set +# CONFIG_PPC_ICS_RTAS is not set +# CONFIG_GE_FPGA is not set + +# +# Platform support +# +# CONFIG_PPC_CHRP is not set +# CONFIG_PPC_MPC512x is not set +CONFIG_PPC_MPC52xx=y +CONFIG_PPC_MPC5200_SIMPLE=y +# CONFIG_PPC_EFIKA is not set +# CONFIG_PPC_LITE5200 is not set +# CONFIG_PPC_MEDIA5200 is not set +# CONFIG_PPC_MPC5200_BUGFIX is not set +# CONFIG_PPC_MPC5200_LPBFIFO is not set +# CONFIG_PPC_PMAC is not set +# CONFIG_PPC_CELL is not set +# CONFIG_PPC_CELL_NATIVE is not set +# CONFIG_PPC_82xx is not set +# CONFIG_PQ2ADS is not set +# CONFIG_PPC_83xx is not set +# CONFIG_PPC_86xx is not set +# CONFIG_EMBEDDED6xx is not set +# CONFIG_AMIGAONE is not set +# CONFIG_KVM_GUEST is not set +# CONFIG_EPAPR_PARAVIRT is not set +# CONFIG_PPC_OF_BOOT_TRAMPOLINE is not set +# CONFIG_IPIC is not set +# CONFIG_MPIC is not set +# CONFIG_PPC_EPAPR_HV_PIC is not set +# CONFIG_MPIC_WEIRD is not set +# CONFIG_PPC_I8259 is not set +# CONFIG_PPC_RTAS is not set +# CONFIG_MMIO_NVRAM is not set +# CONFIG_MPIC_U3_HT_IRQS is not set +# CONFIG_PPC_MPC106 is not set +# CONFIG_PPC_970_NAP is not set +# CONFIG_PPC_P7_NAP is not set + +# +# CPU Frequency scaling +# +# CONFIG_CPU_FREQ is not set + +# +# CPUIdle driver +# + +# +# CPU Idle +# +# CONFIG_CPU_IDLE is not set +# CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set +# CONFIG_TAU is not set +# CONFIG_FSL_ULI1575 is not set +# CONFIG_SIMPLE_GPIO is not set + +# +# Kernel options +# +# CONFIG_HIGHMEM is not set +# CONFIG_HZ_100 is not set +CONFIG_HZ_250=y +# CONFIG_HZ_300 is not set +# CONFIG_HZ_1000 is not set +CONFIG_HZ=250 +CONFIG_SCHED_HRTICK=y +CONFIG_PREEMPT_NONE=y +# CONFIG_PREEMPT_VOLUNTARY is not set +# CONFIG_PREEMPT is not set +CONFIG_BINFMT_ELF=y +CONFIG_BINFMT_SCRIPT=y +# CONFIG_HAVE_AOUT is not set +# CONFIG_BINFMT_MISC is not set +# CONFIG_COREDUMP is not set +# CONFIG_IOMMU_HELPER is not set +# CONFIG_SWIOTLB is not set +CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y +CONFIG_ARCH_HAS_WALK_MEMORY=y +CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=y +# CONFIG_KEXEC is not set +# CONFIG_CRASH_DUMP is not set +CONFIG_ARCH_FLATMEM_ENABLE=y +CONFIG_FLATMEM=y +CONFIG_FLAT_NODE_MEM_MAP=y +CONFIG_HAVE_MEMBLOCK=y +CONFIG_HAVE_MEMBLOCK_NODE_MAP=y +CONFIG_HAVE_GENERIC_RCU_GUP=y +CONFIG_NO_BOOTMEM=y +# CONFIG_HAVE_BOOTMEM_INFO_NODE is not set +CONFIG_PAGEFLAGS_EXTENDED=y +CONFIG_SPLIT_PTLOCK_CPUS=4 +# CONFIG_COMPACTION is not set +# CONFIG_MIGRATION is not set +# CONFIG_PHYS_ADDR_T_64BIT is not set +CONFIG_ZONE_DMA_FLAG=1 +CONFIG_VIRT_TO_BUS=y +# CONFIG_KSM is not set +CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 +CONFIG_NEED_PER_CPU_KM=y +# CONFIG_CLEANCACHE is not set +# CONFIG_CMA is not set +# CONFIG_ZPOOL is not set +# CONFIG_ZBUD is not set +# CONFIG_ZSMALLOC is not set +CONFIG_PPC_4K_PAGES=y +CONFIG_FORCE_MAX_ZONEORDER=11 +# CONFIG_PPC_COPRO_BASE is not set +# CONFIG_CMDLINE_BOOL is not set +CONFIG_EXTRA_TARGETS="" +# CONFIG_PM is not set +CONFIG_SECCOMP=y +CONFIG_ISA_DMA_API=y + +# +# Bus options +# +CONFIG_ZONE_DMA=y +# CONFIG_NEED_DMA_MAP_STATE is not set +CONFIG_NEED_SG_DMA_LENGTH=y +CONFIG_GENERIC_ISA_DMA=y +# CONFIG_PPC_INDIRECT_PCI is not set +CONFIG_PPC_PCI_CHOICE=y +CONFIG_PCI=y +CONFIG_PCI_DOMAINS=y +CONFIG_PCI_SYSCALL=y +# CONFIG_PCIEPORTBUS is not set +# CONFIG_PCI_MSI is not set +# CONFIG_PCI_DEBUG is not set +# CONFIG_PCI_REALLOC_ENABLE_AUTO is not set +# CONFIG_PCI_STUB is not set +# CONFIG_PCI_IOV is not set +# CONFIG_PCI_PRI is not set +# CONFIG_PCI_PASID is not set + +# +# PCI host controller drivers +# +# CONFIG_PCCARD is not set +# CONFIG_HAS_RAPIDIO is not set +# CONFIG_RAPIDIO is not set +# CONFIG_NONSTATIC_KERNEL is not set + +# +# Advanced setup +# +# CONFIG_ADVANCED_OPTIONS is not set + +# +# Default settings for advanced configuration options are used +# +CONFIG_LOWMEM_SIZE=0x30000000 +CONFIG_PAGE_OFFSET=0xc0000000 +CONFIG_KERNEL_START=0xc0000000 +CONFIG_PHYSICAL_START=0x00000000 +CONFIG_TASK_SIZE=0xc0000000 +# CONFIG_ARCH_RANDOM is not set +CONFIG_NET=y + +# +# Networking options +# +CONFIG_PACKET=y +# CONFIG_PACKET_DIAG is not set +# CONFIG_UNIX is not set +# CONFIG_XFRM_USER is not set +# CONFIG_NET_KEY is not set +CONFIG_INET=y +# CONFIG_IP_MULTICAST is not set +# CONFIG_IP_ADVANCED_ROUTER is not set +# CONFIG_IP_PNP is not set +# CONFIG_NET_IPIP is not set +# CONFIG_NET_IPGRE_DEMUX is not set +# CONFIG_NET_IP_TUNNEL is not set +# CONFIG_SYN_COOKIES is not set +# CONFIG_NET_UDP_TUNNEL is not set +# CONFIG_NET_FOU is not set +# CONFIG_GENEVE is not set +# CONFIG_INET_AH is not set +# CONFIG_INET_ESP is not set +# CONFIG_INET_IPCOMP is not set +# CONFIG_INET_XFRM_TUNNEL is not set +# CONFIG_INET_TUNNEL is not set +# CONFIG_INET_XFRM_MODE_TRANSPORT is not set +# CONFIG_INET_XFRM_MODE_TUNNEL is not set +# CONFIG_INET_XFRM_MODE_BEET is not set +# CONFIG_INET_LRO is not set +# CONFIG_INET_DIAG is not set +# CONFIG_TCP_CONG_ADVANCED is not set +CONFIG_TCP_CONG_CUBIC=y +CONFIG_DEFAULT_TCP_CONG="cubic" +# CONFIG_TCP_MD5SIG is not set +# CONFIG_IPV6 is not set +# CONFIG_NETWORK_SECMARK is not set +# CONFIG_NET_PTP_CLASSIFY is not set +# CONFIG_NETWORK_PHY_TIMESTAMPING is not set +CONFIG_NETFILTER=y +# CONFIG_NETFILTER_DEBUG is not set +# CONFIG_NETFILTER_ADVANCED is not set + +# +# Core Netfilter Configuration +# +# CONFIG_NETFILTER_NETLINK_LOG is not set +# CONFIG_NF_CONNTRACK is not set +# CONFIG_NF_TABLES is not set +# CONFIG_NETFILTER_XTABLES is not set +# CONFIG_IP_SET is not set +# CONFIG_IP_VS is not set + +# +# IP: Netfilter Configuration +# +# CONFIG_NF_DEFRAG_IPV4 is not set +# CONFIG_NF_LOG_ARP is not set +# CONFIG_NF_LOG_IPV4 is not set +# CONFIG_NF_REJECT_IPV4 is not set +# CONFIG_IP_NF_IPTABLES is not set +# CONFIG_IP_DCCP is not set +# CONFIG_IP_SCTP is not set +# CONFIG_RDS is not set +# CONFIG_TIPC is not set +# CONFIG_ATM is not set +# CONFIG_L2TP is not set +# CONFIG_BRIDGE is not set +CONFIG_HAVE_NET_DSA=y +# CONFIG_VLAN_8021Q is not set +# CONFIG_DECNET is not set +# CONFIG_LLC2 is not set +# CONFIG_IPX is not set +# CONFIG_ATALK is not set +# CONFIG_X25 is not set +# CONFIG_LAPB is not set +# CONFIG_PHONET is not set +# CONFIG_IEEE802154 is not set +# CONFIG_NET_SCHED is not set +# CONFIG_DCB is not set +# CONFIG_BATMAN_ADV is not set +# CONFIG_OPENVSWITCH is not set +# CONFIG_VSOCKETS is not set +# CONFIG_NETLINK_MMAP is not set +# CONFIG_NETLINK_DIAG is not set +# CONFIG_MPLS is not set +# CONFIG_HSR is not set +# CONFIG_NET_SWITCHDEV is not set +CONFIG_NET_RX_BUSY_POLL=y + +# +# Network testing +# +# CONFIG_NET_PKTGEN is not set +# CONFIG_HAMRADIO is not set +CONFIG_CAN=y +CONFIG_CAN_RAW=y +# CONFIG_CAN_BCM is not set +CONFIG_CAN_GW=y + +# +# CAN Device Drivers +# +CONFIG_CAN_VCAN=y +# CONFIG_CAN_SLCAN is not set +CONFIG_CAN_DEV=y +CONFIG_CAN_CALC_BITTIMING=y +# CONFIG_CAN_FLEXCAN is not set +# CONFIG_CAN_GRCAN is not set +CONFIG_CAN_MSCAN=y +CONFIG_CAN_MPC5XXX=y +# CONFIG_CAN_SJA1000 is not set +# CONFIG_CAN_C_CAN is not set +# CONFIG_CAN_M_CAN is not set +# CONFIG_CAN_CC770 is not set +# CONFIG_CAN_SOFTING is not set +# CONFIG_CAN_DEBUG_DEVICES is not set +# CONFIG_IRDA is not set +# CONFIG_BT is not set +# CONFIG_AF_RXRPC is not set +# CONFIG_WIRELESS is not set +# CONFIG_WIMAX is not set +# CONFIG_RFKILL is not set +# CONFIG_NET_9P is not set +# CONFIG_CAIF is not set +# CONFIG_CEPH_LIB is not set +# CONFIG_NFC is not set +CONFIG_HAVE_BPF_JIT=y + +# +# Device Drivers +# + +# +# Generic Driver Options +# +# CONFIG_UEVENT_HELPER is not set +CONFIG_DEVTMPFS=y +# CONFIG_DEVTMPFS_MOUNT is not set +# CONFIG_STANDALONE is not set +# CONFIG_PREVENT_FIRMWARE_BUILD is not set +# CONFIG_FW_LOADER is not set +# CONFIG_ALLOW_DEV_COREDUMP is not set +# CONFIG_DEBUG_DRIVER is not set +# CONFIG_DEBUG_DEVRES is not set +# CONFIG_SYS_HYPERVISOR is not set +# CONFIG_GENERIC_CPU_DEVICES is not set +# CONFIG_DMA_SHARED_BUFFER is not set + +# +# Bus devices +# +# CONFIG_CONNECTOR is not set +# CONFIG_MTD is not set +CONFIG_DTC=y +CONFIG_OF=y + +# +# Device Tree and Open Firmware support +# +# CONFIG_OF_UNITTEST is not set +CONFIG_OF_FLATTREE=y +CONFIG_OF_EARLY_FLATTREE=y +CONFIG_OF_ADDRESS=y +CONFIG_OF_ADDRESS_PCI=y +CONFIG_OF_IRQ=y +CONFIG_OF_NET=y +CONFIG_OF_MDIO=y +CONFIG_OF_PCI=y +CONFIG_OF_PCI_IRQ=y +CONFIG_OF_RESERVED_MEM=y +# CONFIG_OF_OVERLAY is not set +CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y +# CONFIG_PARPORT is not set + +# +# Misc devices +# +# CONFIG_DUMMY_IRQ is not set +# CONFIG_PHANTOM is not set +# CONFIG_SGI_IOC4 is not set +# CONFIG_TIFM_CORE is not set +# CONFIG_ENCLOSURE_SERVICES is not set +# CONFIG_HP_ILO is not set +# CONFIG_SRAM is not set +# CONFIG_C2PORT is not set + +# +# EEPROM support +# +# CONFIG_EEPROM_93CX6 is not set +# CONFIG_CB710_CORE is not set + +# +# Texas Instruments shared transport line discipline +# + +# +# Altera FPGA firmware download module +# + +# +# Intel MIC Bus Driver +# + +# +# Intel MIC Host Driver +# + +# +# Intel MIC Card Driver +# +# CONFIG_ECHO is not set +# CONFIG_CXL_BASE is not set +CONFIG_HAVE_IDE=y + +# +# SCSI device support +# +CONFIG_SCSI_MOD=y +# CONFIG_SCSI_DMA is not set +# CONFIG_SCSI_NETLINK is not set +# CONFIG_FUSION is not set + +# +# IEEE 1394 (FireWire) support +# +# CONFIG_FIREWIRE is not set +# CONFIG_FIREWIRE_NOSY is not set +# CONFIG_MACINTOSH_DRIVERS is not set +CONFIG_NETDEVICES=y +# CONFIG_NET_CORE is not set +# CONFIG_ARCNET is not set + +# +# CAIF transport drivers +# + +# +# Distributed Switch Architecture drivers +# +# CONFIG_NET_DSA_MV88E6XXX is not set +# CONFIG_NET_DSA_MV88E6XXX_NEED_PPU is not set +CONFIG_ETHERNET=y +# CONFIG_NET_VENDOR_3COM is not set +# CONFIG_NET_VENDOR_ADAPTEC is not set +# CONFIG_NET_VENDOR_AGERE is not set +# CONFIG_NET_VENDOR_ALTEON is not set +# CONFIG_ALTERA_TSE is not set +# CONFIG_NET_VENDOR_AMD is not set +# CONFIG_NET_XGENE is not set +# CONFIG_NET_VENDOR_ARC is not set +# CONFIG_NET_VENDOR_ATHEROS is not set +# CONFIG_NET_CADENCE is not set +# CONFIG_NET_VENDOR_BROADCOM is not set +# CONFIG_NET_VENDOR_BROCADE is not set +# CONFIG_NET_VENDOR_CHELSIO is not set +# CONFIG_NET_VENDOR_CISCO is not set +# CONFIG_DNET is not set +# CONFIG_NET_VENDOR_DEC is not set +# CONFIG_NET_VENDOR_DLINK is not set +# CONFIG_NET_VENDOR_EMULEX is not set +# CONFIG_NET_VENDOR_EXAR is not set +CONFIG_NET_VENDOR_FREESCALE=y +CONFIG_FEC_MPC52xx=y +CONFIG_FEC_MPC52xx_MDIO=y +# CONFIG_FSL_PQ_MDIO is not set +# CONFIG_FSL_XGMAC_MDIO is not set +# CONFIG_NET_VENDOR_HP is not set +# CONFIG_NET_VENDOR_INTEL is not set +# CONFIG_IP1000 is not set +# CONFIG_JME is not set +# CONFIG_NET_VENDOR_MARVELL is not set +# CONFIG_NET_VENDOR_MELLANOX is not set +# CONFIG_NET_VENDOR_MICREL is not set +# CONFIG_NET_VENDOR_MYRI is not set +# CONFIG_FEALNX is not set +# CONFIG_NET_VENDOR_NATSEMI is not set +# CONFIG_NET_VENDOR_NVIDIA is not set +# CONFIG_NET_VENDOR_OKI is not set +# CONFIG_ETHOC is not set +# CONFIG_NET_PACKET_ENGINE is not set +# CONFIG_NET_VENDOR_QLOGIC is not set +# CONFIG_NET_VENDOR_QUALCOMM is not set +# CONFIG_NET_VENDOR_REALTEK is not set +# CONFIG_NET_VENDOR_RDC is not set +# CONFIG_NET_VENDOR_ROCKER is not set +# CONFIG_NET_VENDOR_SAMSUNG is not set +# CONFIG_NET_VENDOR_SEEQ is not set +# CONFIG_NET_VENDOR_SILAN is not set +# CONFIG_NET_VENDOR_SIS is not set +# CONFIG_SFC is not set +# CONFIG_NET_VENDOR_SMSC is not set +# CONFIG_NET_VENDOR_STMICRO is not set +# CONFIG_NET_VENDOR_SUN is not set +# CONFIG_NET_VENDOR_TEHUTI is not set +# CONFIG_NET_VENDOR_TI is not set +# CONFIG_NET_VENDOR_VIA is not set +# CONFIG_NET_VENDOR_WIZNET is not set +# CONFIG_NET_VENDOR_XILINX is not set +# CONFIG_FDDI is not set +# CONFIG_HIPPI is not set +CONFIG_PHYLIB=y + +# +# MII PHY device drivers +# +# CONFIG_AT803X_PHY is not set +# CONFIG_AMD_PHY is not set +# CONFIG_AMD_XGBE_PHY is not set +# CONFIG_MARVELL_PHY is not set +# CONFIG_DAVICOM_PHY is not set +# CONFIG_QSEMI_PHY is not set +# CONFIG_LXT_PHY is not set +# CONFIG_CICADA_PHY is not set +# CONFIG_VITESSE_PHY is not set +# CONFIG_SMSC_PHY is not set +# CONFIG_BROADCOM_PHY is not set +# CONFIG_BCM7XXX_PHY is not set +# CONFIG_BCM87XX_PHY is not set +# CONFIG_ICPLUS_PHY is not set +# CONFIG_REALTEK_PHY is not set +# CONFIG_NATIONAL_PHY is not set +# CONFIG_STE10XP is not set +# CONFIG_LSI_ET1011C_PHY is not set +# CONFIG_MICREL_PHY is not set +# CONFIG_FIXED_PHY is not set +# CONFIG_MDIO_BITBANG is not set +# CONFIG_MDIO_BUS_MUX_MMIOREG is not set +# CONFIG_MDIO_BCM_UNIMAC is not set +# CONFIG_PPP is not set +# CONFIG_SLIP is not set + +# +# Host-side USB support is needed for USB Network Adapter support +# +# CONFIG_WLAN is not set + +# +# Enable WiMAX (Networking options) to see the WiMAX drivers +# +# CONFIG_WAN is not set +# CONFIG_VMXNET3 is not set +# CONFIG_ISDN is not set + +# +# Input device support +# +# CONFIG_INPUT is not set + +# +# Hardware I/O ports +# +# CONFIG_SERIO is not set +CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y +# CONFIG_GAMEPORT is not set + +# +# Character devices +# +CONFIG_TTY=y +# CONFIG_VT is not set +# CONFIG_UNIX98_PTYS is not set +# CONFIG_LEGACY_PTYS is not set +# CONFIG_SERIAL_NONSTANDARD is not set +# CONFIG_NOZOMI is not set +# CONFIG_N_GSM is not set +# CONFIG_TRACE_SINK is not set +# CONFIG_PPC_EPAPR_HV_BYTECHAN is not set +# CONFIG_DEVMEM is not set +# CONFIG_DEVKMEM is not set + +# +# Serial drivers +# +# CONFIG_SERIAL_8250 is not set + +# +# Non-8250 serial port support +# +# CONFIG_SERIAL_MFD_HSU is not set +# CONFIG_SERIAL_UARTLITE is not set +CONFIG_SERIAL_CORE=y +CONFIG_SERIAL_CORE_CONSOLE=y +CONFIG_SERIAL_MPC52xx=y +CONFIG_SERIAL_MPC52xx_CONSOLE=y +CONFIG_SERIAL_MPC52xx_CONSOLE_BAUD=115200 +# CONFIG_SERIAL_JSM is not set +# CONFIG_SERIAL_SCCNXP is not set +# CONFIG_SERIAL_ALTERA_JTAGUART is not set +# CONFIG_SERIAL_ALTERA_UART is not set +# CONFIG_SERIAL_XILINX_PS_UART is not set +# CONFIG_SERIAL_ARC is not set +# CONFIG_SERIAL_RP2 is not set +# CONFIG_SERIAL_FSL_LPUART is not set +# CONFIG_SERIAL_CONEXANT_DIGICOLOR is not set +# CONFIG_TTY_PRINTK is not set +# CONFIG_HVC_UDBG is not set +# CONFIG_IPMI_HANDLER is not set +# CONFIG_HW_RANDOM is not set +# CONFIG_NVRAM is not set +# CONFIG_GEN_RTC is not set +# CONFIG_R3964 is not set +# CONFIG_APPLICOM is not set +# CONFIG_TCG_TPM is not set +CONFIG_DEVPORT=y +# CONFIG_XILLYBUS is not set + +# +# I2C support +# +# CONFIG_I2C is not set +# CONFIG_SPI is not set +# CONFIG_SPMI is not set +# CONFIG_HSI is not set + +# +# PPS support +# +# CONFIG_PPS is not set + +# +# PPS generators support +# + +# +# PTP clock support +# +# CONFIG_PTP_1588_CLOCK is not set + +# +# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks. +# +CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y +# CONFIG_GPIOLIB is not set +# CONFIG_W1 is not set +# CONFIG_POWER_SUPPLY is not set +# CONFIG_POWER_AVS is not set +# CONFIG_HWMON is not set +# CONFIG_THERMAL is not set +# CONFIG_WATCHDOG is not set +CONFIG_SSB_POSSIBLE=y + +# +# Sonics Silicon Backplane +# +# CONFIG_SSB is not set +CONFIG_BCMA_POSSIBLE=y + +# +# Broadcom specific AMBA +# +# CONFIG_BCMA is not set + +# +# Multifunction device drivers +# +# CONFIG_MFD_CORE is not set +# CONFIG_MFD_ATMEL_HLCDC is not set +# CONFIG_MFD_CROS_EC is not set +# CONFIG_MFD_HI6421_PMIC is not set +# CONFIG_HTC_PASIC3 is not set +# CONFIG_LPC_ICH is not set +# CONFIG_LPC_SCH is not set +# CONFIG_MFD_JANZ_CMODIO is not set +# CONFIG_MFD_KEMPLD is not set +# CONFIG_MFD_MT6397 is not set +# CONFIG_MFD_RDC321X is not set +# CONFIG_MFD_RTSX_PCI is not set +# CONFIG_MFD_SM501 is not set +# CONFIG_ABX500_CORE is not set +# CONFIG_MFD_SYSCON is not set +# CONFIG_MFD_TI_AM335X_TSCADC is not set +# CONFIG_MFD_TMIO is not set +# CONFIG_MFD_VX855 is not set +# CONFIG_REGULATOR is not set +# CONFIG_MEDIA_SUPPORT is not set + +# +# Graphics support +# +# CONFIG_AGP is not set +# CONFIG_VGA_ARB is not set + +# +# Direct Rendering Manager +# +# CONFIG_DRM is not set + +# +# Frame buffer Devices +# +# CONFIG_FB is not set +# CONFIG_BACKLIGHT_LCD_SUPPORT is not set +# CONFIG_VGASTATE is not set +# CONFIG_SOUND is not set +# CONFIG_USB_OHCI_LITTLE_ENDIAN is not set +# CONFIG_USB_SUPPORT is not set +# CONFIG_UWB is not set +# CONFIG_MMC is not set +# CONFIG_MEMSTICK is not set +# CONFIG_NEW_LEDS is not set +# CONFIG_ACCESSIBILITY is not set +# CONFIG_INFINIBAND is not set +# CONFIG_EDAC is not set +# CONFIG_RTC_CLASS is not set +CONFIG_DMADEVICES=y +# CONFIG_DMADEVICES_DEBUG is not set + +# +# DMA Devices +# +# CONFIG_DW_DMAC_CORE is not set +# CONFIG_DW_DMAC is not set +# CONFIG_DW_DMAC_PCI is not set +CONFIG_PPC_BESTCOMM=y +CONFIG_PPC_BESTCOMM_FEC=y +# CONFIG_FSL_EDMA is not set +CONFIG_DMA_ENGINE=y +CONFIG_DMA_OF=y + +# +# DMA Clients +# +# CONFIG_ASYNC_TX_DMA is not set +# CONFIG_DMATEST is not set +# CONFIG_AUXDISPLAY is not set +# CONFIG_UIO is not set +# CONFIG_VIRT_DRIVERS is not set + +# +# Virtio drivers +# +# CONFIG_VIRTIO_PCI is not set +# CONFIG_VIRTIO_MMIO is not set + +# +# Microsoft Hyper-V guest support +# +# CONFIG_STAGING is not set +CONFIG_CLKDEV_LOOKUP=y +CONFIG_HAVE_CLK_PREPARE=y +CONFIG_COMMON_CLK=y + +# +# Common Clock Framework +# +# CONFIG_COMMON_CLK_PXA is not set +# CONFIG_COMMON_CLK_QCOM is not set + +# +# Hardware Spinlock drivers +# + +# +# Clock Source drivers +# +# CONFIG_ATMEL_PIT is not set +# CONFIG_SH_TIMER_CMT is not set +# CONFIG_SH_TIMER_MTU2 is not set +# CONFIG_SH_TIMER_TMU is not set +# CONFIG_EM_TIMER_STI is not set +# CONFIG_MAILBOX is not set +# CONFIG_IOMMU_SUPPORT is not set + +# +# Remoteproc drivers +# +# CONFIG_STE_MODEM_RPROC is not set + +# +# Rpmsg drivers +# + +# +# SOC (System On Chip) specific Drivers +# +# CONFIG_SOC_TI is not set +# CONFIG_PM_DEVFREQ is not set +# CONFIG_EXTCON is not set +# CONFIG_MEMORY is not set +# CONFIG_IIO is not set +# CONFIG_VME_BUS is not set +# CONFIG_PWM is not set +CONFIG_IRQCHIP=y +# CONFIG_IPACK_BUS is not set +# CONFIG_RESET_CONTROLLER is not set +# CONFIG_FMC is not set + +# +# PHY Subsystem +# +# CONFIG_GENERIC_PHY is not set +# CONFIG_BCM_KONA_USB2_PHY is not set +# CONFIG_POWERCAP is not set +# CONFIG_MCB is not set +# CONFIG_THUNDERBOLT is not set + +# +# Android +# +# CONFIG_ANDROID is not set + +# +# File systems +# +# CONFIG_FS_POSIX_ACL is not set +# CONFIG_FILE_LOCKING is not set +# CONFIG_FSNOTIFY is not set +# CONFIG_DNOTIFY is not set +# CONFIG_INOTIFY_USER is not set +# CONFIG_FANOTIFY is not set +# CONFIG_QUOTA is not set +# CONFIG_QUOTACTL is not set +# CONFIG_AUTOFS4_FS is not set +# CONFIG_FUSE_FS is not set +# CONFIG_OVERLAY_FS is not set + +# +# Caches +# +# CONFIG_FSCACHE is not set + +# +# Pseudo filesystems +# +CONFIG_PROC_FS=y +# CONFIG_PROC_KCORE is not set +# CONFIG_PROC_SYSCTL is not set +# CONFIG_PROC_PAGE_MONITOR is not set +# CONFIG_KERNFS is not set +# CONFIG_SYSFS is not set +# CONFIG_HUGETLB_PAGE is not set +# CONFIG_CONFIGFS_FS is not set +# CONFIG_MISC_FILESYSTEMS is not set +# CONFIG_NETWORK_FILESYSTEMS is not set +# CONFIG_NLS is not set +# CONFIG_BINARY_PRINTF is not set + +# +# Library routines +# +CONFIG_BITREVERSE=y +# CONFIG_HAVE_ARCH_BITREVERSE is not set +CONFIG_GENERIC_STRNCPY_FROM_USER=y +CONFIG_GENERIC_STRNLEN_USER=y +CONFIG_GENERIC_NET_UTILS=y +CONFIG_GENERIC_PCI_IOMAP=y +CONFIG_GENERIC_IO=y +# CONFIG_CRC_CCITT is not set +# CONFIG_CRC16 is not set +# CONFIG_CRC_T10DIF is not set +# CONFIG_CRC_ITU_T is not set +CONFIG_CRC32=y +# CONFIG_CRC32_SELFTEST is not set +CONFIG_CRC32_SLICEBY8=y +# CONFIG_CRC32_SLICEBY4 is not set +# CONFIG_CRC32_SARWATE is not set +# CONFIG_CRC32_BIT is not set +# CONFIG_CRC7 is not set +# CONFIG_LIBCRC32C is not set +# CONFIG_CRC8 is not set +# CONFIG_AUDIT_ARCH_COMPAT_GENERIC is not set +# CONFIG_RANDOM32_SELFTEST is not set +CONFIG_ZLIB_INFLATE=y +# CONFIG_XZ_DEC is not set +# CONFIG_XZ_DEC_BCJ is not set +CONFIG_DECOMPRESS_GZIP=y +CONFIG_DECOMPRESS_BZIP2=y +CONFIG_DECOMPRESS_LZMA=y +CONFIG_HAS_IOMEM=y +CONFIG_HAS_IOPORT_MAP=y +CONFIG_HAS_DMA=y +CONFIG_NLATTR=y +CONFIG_GENERIC_ATOMIC64=y +CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y +# CONFIG_AVERAGE is not set +# CONFIG_CORDIC is not set +# CONFIG_DDR is not set +CONFIG_LIBFDT=y +CONFIG_ARCH_HAS_SG_CHAIN=y + +# +# Kernel hacking +# + +# +# printk and dmesg options +# +# CONFIG_PRINTK_TIME is not set +CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4 + +# +# Compile-time checks and compiler options +# +# CONFIG_DEBUG_INFO is not set +# CONFIG_ENABLE_WARN_DEPRECATED is not set +# CONFIG_ENABLE_MUST_CHECK is not set +CONFIG_FRAME_WARN=1024 +# CONFIG_STRIP_ASM_SYMS is not set +# CONFIG_READABLE_ASM is not set +# CONFIG_UNUSED_SYMBOLS is not set +# CONFIG_PAGE_OWNER is not set +# CONFIG_DEBUG_FS is not set +# CONFIG_HEADERS_CHECK is not set +# CONFIG_DEBUG_SECTION_MISMATCH is not set +# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set +# CONFIG_MAGIC_SYSRQ is not set +CONFIG_DEBUG_KERNEL=y + +# +# Memory Debugging +# +# CONFIG_PAGE_EXTENSION is not set +# CONFIG_DEBUG_PAGEALLOC is not set +# CONFIG_DEBUG_OBJECTS is not set +CONFIG_HAVE_DEBUG_KMEMLEAK=y +# CONFIG_DEBUG_KMEMLEAK is not set +# CONFIG_DEBUG_STACK_USAGE is not set +# CONFIG_DEBUG_VM is not set +# CONFIG_DEBUG_MEMORY_INIT is not set +CONFIG_HAVE_DEBUG_STACKOVERFLOW=y +# CONFIG_DEBUG_STACKOVERFLOW is not set +# CONFIG_DEBUG_SHIRQ is not set + +# +# Debug Lockups and Hangs +# +# CONFIG_LOCKUP_DETECTOR is not set +# CONFIG_DETECT_HUNG_TASK is not set +# CONFIG_PANIC_ON_OOPS is not set +CONFIG_PANIC_ON_OOPS_VALUE=0 +# CONFIG_SCHED_DEBUG is not set +# CONFIG_SCHEDSTATS is not set +# CONFIG_SCHED_STACK_END_CHECK is not set +# CONFIG_DEBUG_TIMEKEEPING is not set +# CONFIG_TIMER_STATS is not set + +# +# Lock Debugging (spinlocks, mutexes, etc...) +# +# CONFIG_DEBUG_SPINLOCK is not set +# CONFIG_DEBUG_MUTEXES is not set +# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set +# CONFIG_DEBUG_LOCK_ALLOC is not set +# CONFIG_PROVE_LOCKING is not set +# CONFIG_LOCK_STAT is not set +# CONFIG_DEBUG_ATOMIC_SLEEP is not set +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set +# CONFIG_LOCK_TORTURE_TEST is not set +# CONFIG_STACKTRACE is not set +# CONFIG_DEBUG_KOBJECT is not set +# CONFIG_DEBUG_LIST is not set +# CONFIG_DEBUG_PI_LIST is not set +# CONFIG_DEBUG_SG is not set +# CONFIG_DEBUG_NOTIFIERS is not set +# CONFIG_DEBUG_CREDENTIALS is not set + +# +# RCU Debugging +# +# CONFIG_PROVE_RCU is not set +# CONFIG_SPARSE_RCU_POINTER is not set +# CONFIG_TORTURE_TEST is not set +# CONFIG_RCU_TORTURE_TEST is not set +CONFIG_RCU_TORTURE_TEST_SLOW_INIT_DELAY=3 +# CONFIG_RCU_TRACE is not set +# CONFIG_NOTIFIER_ERROR_INJECTION is not set +# CONFIG_FAULT_INJECTION is not set +# CONFIG_LATENCYTOP is not set +CONFIG_HAVE_FUNCTION_TRACER=y +CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y +CONFIG_HAVE_DYNAMIC_FTRACE=y +CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y +CONFIG_HAVE_SYSCALL_TRACEPOINTS=y +CONFIG_TRACING_SUPPORT=y +# CONFIG_FTRACE is not set + +# +# Runtime Testing +# +# CONFIG_TEST_LIST_SORT is not set +# CONFIG_BACKTRACE_SELF_TEST is not set +# CONFIG_RBTREE_TEST is not set +# CONFIG_ATOMIC64_SELFTEST is not set +# CONFIG_TEST_HEXDUMP is not set +# CONFIG_TEST_STRING_HELPERS is not set +# CONFIG_TEST_KSTRTOX is not set +# CONFIG_TEST_RHASHTABLE is not set +# CONFIG_DMA_API_DEBUG is not set +# CONFIG_TEST_UDELAY is not set +# CONFIG_MEMTEST is not set +# CONFIG_SAMPLES is not set +CONFIG_HAVE_ARCH_KGDB=y +# CONFIG_KGDB is not set +# CONFIG_PPC_DISABLE_WERROR is not set +CONFIG_PPC_WERROR=y +CONFIG_PRINT_STACK_DEPTH=64 +# CONFIG_CODE_PATCHING_SELFTEST is not set +# CONFIG_FTR_FIXUP_SELFTEST is not set +# CONFIG_MSI_BITMAP_SELFTEST is not set +# CONFIG_XMON is not set +# CONFIG_BDI_SWITCH is not set +# CONFIG_BOOTX_TEXT is not set +# CONFIG_PPC_EARLY_DEBUG is not set +# CONFIG_STRICT_DEVMEM is not set + +# +# Security options +# +# CONFIG_KEYS is not set +# CONFIG_SECURITY_DMESG_RESTRICT is not set +# CONFIG_SECURITYFS is not set +CONFIG_DEFAULT_SECURITY_DAC=y +CONFIG_DEFAULT_SECURITY="" +CONFIG_CRYPTO=y + +# +# Crypto core or helper +# +CONFIG_CRYPTO_ALGAPI=y +CONFIG_CRYPTO_ALGAPI2=y +# CONFIG_CRYPTO_MANAGER is not set +# CONFIG_CRYPTO_MANAGER2 is not set +# CONFIG_CRYPTO_USER is not set +# CONFIG_CRYPTO_GF128MUL is not set +# CONFIG_CRYPTO_NULL is not set +# CONFIG_CRYPTO_CRYPTD is not set +# CONFIG_CRYPTO_MCRYPTD is not set +# CONFIG_CRYPTO_AUTHENC is not set + +# +# Authenticated Encryption with Associated Data +# +# CONFIG_CRYPTO_CCM is not set +# CONFIG_CRYPTO_GCM is not set +# CONFIG_CRYPTO_SEQIV is not set + +# +# Block modes +# +# CONFIG_CRYPTO_CBC is not set +# CONFIG_CRYPTO_CTR is not set +# CONFIG_CRYPTO_CTS is not set +# CONFIG_CRYPTO_ECB is not set +# CONFIG_CRYPTO_LRW is not set +# CONFIG_CRYPTO_PCBC is not set +# CONFIG_CRYPTO_XTS is not set + +# +# Hash modes +# +# CONFIG_CRYPTO_CMAC is not set +# CONFIG_CRYPTO_HMAC is not set +# CONFIG_CRYPTO_XCBC is not set +# CONFIG_CRYPTO_VMAC is not set + +# +# Digest +# +# CONFIG_CRYPTO_CRC32C is not set +# CONFIG_CRYPTO_CRC32 is not set +# CONFIG_CRYPTO_CRCT10DIF is not set +# CONFIG_CRYPTO_GHASH is not set +# CONFIG_CRYPTO_MD4 is not set +# CONFIG_CRYPTO_MD5 is not set +# CONFIG_CRYPTO_MD5_PPC is not set +# CONFIG_CRYPTO_MICHAEL_MIC is not set +# CONFIG_CRYPTO_RMD128 is not set +# CONFIG_CRYPTO_RMD160 is not set +# CONFIG_CRYPTO_RMD256 is not set +# CONFIG_CRYPTO_RMD320 is not set +# CONFIG_CRYPTO_SHA1 is not set +# CONFIG_CRYPTO_SHA1_PPC is not set +# CONFIG_CRYPTO_SHA256 is not set +# CONFIG_CRYPTO_SHA512 is not set +# CONFIG_CRYPTO_TGR192 is not set +# CONFIG_CRYPTO_WP512 is not set + +# +# Ciphers +# +CONFIG_CRYPTO_AES=y +# CONFIG_CRYPTO_ANUBIS is not set +# CONFIG_CRYPTO_ARC4 is not set +# CONFIG_CRYPTO_BLOWFISH is not set +# CONFIG_CRYPTO_CAMELLIA is not set +# CONFIG_CRYPTO_CAST5 is not set +# CONFIG_CRYPTO_CAST6 is not set +# CONFIG_CRYPTO_DES is not set +# CONFIG_CRYPTO_FCRYPT is not set +# CONFIG_CRYPTO_KHAZAD is not set +# CONFIG_CRYPTO_SALSA20 is not set +# CONFIG_CRYPTO_SEED is not set +# CONFIG_CRYPTO_SERPENT is not set +# CONFIG_CRYPTO_TEA is not set +# CONFIG_CRYPTO_TWOFISH is not set + +# +# Compression +# +# CONFIG_CRYPTO_DEFLATE is not set +# CONFIG_CRYPTO_ZLIB is not set +# CONFIG_CRYPTO_LZO is not set +# CONFIG_CRYPTO_LZ4 is not set +# CONFIG_CRYPTO_LZ4HC is not set + +# +# Random Number Generation +# +# CONFIG_CRYPTO_ANSI_CPRNG is not set +# CONFIG_CRYPTO_DRBG_MENU is not set +# CONFIG_CRYPTO_USER_API_HASH is not set +# CONFIG_CRYPTO_USER_API_SKCIPHER is not set +# CONFIG_CRYPTO_USER_API_RNG is not set +# CONFIG_CRYPTO_USER_API_AEAD is not set +# CONFIG_CRYPTO_HW is not set +CONFIG_PPC_LIB_RHEAP=y +# CONFIG_VIRTUALIZATION is not set -- cgit v1.2.3 From 9b35e3880a5c0deaa554cd14cd9717719630e10c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 8 Aug 2015 10:44:54 +0200 Subject: Remove script for generating configuration Also folder measure_scripts renamed to ryuglab_scripts to signalize for what target are those scripts. --- measure_scripts/11-patch | 9 -- measure_scripts/20-config | 71 -------------- measure_scripts/30-compile | 12 --- measure_scripts/my-oldconfig.pl | 12 --- measure_scripts/shark-ryu-board-patch.patch | 139 ---------------------------- ryuglab_scripts/11-patch | 9 ++ ryuglab_scripts/30-compile | 12 +++ ryuglab_scripts/shark-ryu-board-patch.patch | 139 ++++++++++++++++++++++++++++ 8 files changed, 160 insertions(+), 243 deletions(-) delete mode 100755 measure_scripts/11-patch delete mode 100755 measure_scripts/20-config delete mode 100755 measure_scripts/30-compile delete mode 100755 measure_scripts/my-oldconfig.pl delete mode 100644 measure_scripts/shark-ryu-board-patch.patch create mode 100755 ryuglab_scripts/11-patch create mode 100755 ryuglab_scripts/30-compile create mode 100644 ryuglab_scripts/shark-ryu-board-patch.patch diff --git a/measure_scripts/11-patch b/measure_scripts/11-patch deleted file mode 100755 index 7963ffc..0000000 --- a/measure_scripts/11-patch +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -set -e - -cd ../linux - -git reset --hard - -git apply --index < ../measure_scripts/shark-ryu-board-patch.patch diff --git a/measure_scripts/20-config b/measure_scripts/20-config deleted file mode 100755 index d48c35c..0000000 --- a/measure_scripts/20-config +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/sh - -set -e - -cd ../linux - -export ARCH=powerpc -make allnoconfig - -conf() { - sed -i -n -e "/\\bCONFIG_$1\\b/!p" .config - echo CONFIG_$1=$2 >> .config -} - -GDESC=$(git describe) -if [ ${GDESC#v2.6} != ${GDESC} ]; then - conf PPC_DISABLE_WERROR y -fi - -conf BINFMT_ELF y - -conf BLK_DEV_INITRD y -conf INITRAMFS_SOURCE '""' -conf INITRAMFS_ROOT_UID 0 -conf INITRAMFS_ROOT_GID 0 -conf INITRAMFS_COMPRESSION_NONE y -conf INITRAMFS_COMPRESSION_GZIP n -conf INITRAMFS_COMPRESSION_BZIP2 n -conf INITRAMFS_COMPRESSION_LZMA n -conf INITRAMFS_COMPRESSION_XZ n -conf INITRAMFS_COMPRESSION_LZO n -conf RD_GZIP y # Needed for 3.17+ -conf SIGNALFD y # Needed since v3.17-5503-g35a9ad8 to enable ANON_INODES (only needed until the problem http://mid.gmane.org/87vbnt1js4.fsf@steelpick.2x.cz is fixed) - -conf PPC_MPC52xx y -conf PPC_MPC5200_SIMPLE y -conf SERIAL_CORE y -conf SERIAL_CORE_CONSOLE y -conf SERIAL_MPC52xx y -conf SERIAL_MPC52xx_CONSOLE y -conf SERIAL_MPC52xx_CONSOLE_BAUD 115200 - -conf NET y -conf CAN y -conf CAN_RAW y -conf CAN_GW y -conf CAN_VCAN y -conf CAN_DEV y -conf CAN_CALC_BITTIMING y -conf CAN_MSCAN y -conf CAN_MPC5XXX y - -conf NETDEVICES y -conf ETHERNET y -conf DMADEVICES y -conf PPC_BESTCOMM y -conf NET_VENDOR_FREESCALE y -conf FEC_MPC52xx y -conf FEC_MPC52xx_MDIO y - -conf TTY y -conf PROC_FS y -conf PRINTK y # Not needed but useful for debugging - -# To have netlink for kernel cangw -conf INET y -conf NETFILTER y - -conf PACKET y # ugw mmap - -chronic ../measure_scripts/my-oldconfig.pl diff --git a/measure_scripts/30-compile b/measure_scripts/30-compile deleted file mode 100755 index 29da38a..0000000 --- a/measure_scripts/30-compile +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -set -e - -cd ../linux - -export ARCH=powerpc -export CROSS_COMPILE=/opt/OSELAS.Toolchain-2012.12.1/powerpc-603e-linux-gnu/gcc-4.7.2-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/powerpc-603e-linux-gnu- - -test -t 0 || CHRONIC=chronic - -$CHRONIC make -j$(nproc) uImage diff --git a/measure_scripts/my-oldconfig.pl b/measure_scripts/my-oldconfig.pl deleted file mode 100755 index 736bf57..0000000 --- a/measure_scripts/my-oldconfig.pl +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/perl -w - -use Expect; -my $exp = Expect->spawn("make oldconfig") - or die "Cannot spawn make oldconfig: $!\n"; - -my $timeout = 10; -$exp->expect($timeout, - [ '^ *choice\[.*\]: ' => sub { $exp->send("\n"); exp_continue; } ], - [ '^([^ ]| *[^>0-9]).*\(NEW\) ' => sub { $exp->send("n\n"); exp_continue; } ], - [ "configuration written to .config" ], - ) || die "Timeout" diff --git a/measure_scripts/shark-ryu-board-patch.patch b/measure_scripts/shark-ryu-board-patch.patch deleted file mode 100644 index e43e35d..0000000 --- a/measure_scripts/shark-ryu-board-patch.patch +++ /dev/null @@ -1,139 +0,0 @@ -From 87a8e2b9406cc7f8779f02047e0cd1594c570b78 Mon Sep 17 00:00:00 2001 -From: Michal Sojka -Date: Thu, 23 Jan 2014 23:44:55 +0100 -Subject: [PATCH] Shark/ryu board patch - -This is a new version of the patch. It is not based on historical patches -from Michal Hrouda, but on mpc5200_simple. It boots, serial line and -Ethernet work. I haven't check whether flash works. ---- - arch/powerpc/boot/dts/shark-ryu.dts | 104 +++++++++++++++++++++++++++ - arch/powerpc/platforms/52xx/mpc5200_simple.c | 1 + - 2 files changed, 105 insertions(+) - create mode 100644 arch/powerpc/boot/dts/shark-ryu.dts - -diff --git a/arch/powerpc/boot/dts/shark-ryu.dts b/arch/powerpc/boot/dts/shark-ryu.dts -new file mode 100644 -index 0000000..63e48a8 ---- /dev/null -+++ b/arch/powerpc/boot/dts/shark-ryu.dts -@@ -0,0 +1,104 @@ -+/* -+ * Shark(MPC5200) board Device Tree Source -+ * -+ * Copyright 2006-2007 Secret Lab Technologies Ltd. -+ * Grant Likely -+ * -+ * This program is free software; you can redistribute it and/or modify it -+ * under the terms of the GNU General Public License as published by the -+ * Free Software Foundation; either version 2 of the License, or (at your -+ * option) any later version. -+ */ -+ -+/include/ "mpc5200b.dtsi" -+ -+/ { -+ model = "cvut,ryu"; -+ compatible = "midam,shark"; -+ -+ memory { -+ reg = <0x00000000 0x08000000>; // 128MB -+ }; -+ -+ soc: soc5200@f0000000 { -+ psc@2000 { // PSC1 -+ compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; -+ }; -+ psc5: psc@2800 { // PSC5 -+ status = "disabled"; -+ }; -+ -+ ethernet@3000 { -+ phy-handle = <&phy0>; -+ }; -+ -+ mdio@3000 { -+ phy0: ethernet-phy@1f { -+ device_type = "ethernet-phy"; -+ reg = <0x1f>; -+ }; -+ }; -+ -+ i2c@3d40 { -+ rtc@68 { -+ compatible = "dallas,ds1307"; -+ reg = <0x68>; -+ }; -+ }; -+ }; -+ -+ localbus { -+ ranges = <0 0 0xfc000000 0x04000000>; -+ -+ flash@0,0 { -+ compatible = "cfi-flash"; -+ reg = <0 0 0x04000000>; -+ bank-width = <2>; -+ device-width = <2>; -+ #size-cells = <1>; -+ #address-cells = <1>; -+ -+ uboot@0 { -+ label = "u-boot"; -+ reg = <0 0x00100000>; -+ read-only; -+ }; -+ -+ kernel@100000 { -+ label = "kernel"; -+ reg = <0x00100000 0x00300000>; -+ read-only; -+ }; -+ -+ filesystem@400000 { -+ label = "filesystem"; -+ reg = <0x00400000 0x03c00000>; -+ }; -+ }; -+ }; -+ -+ pci: pci@f0000d00 { -+ interrupt-map-mask = <0xf800 0 0 7>; -+ interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot -+ 0xc000 0 0 2 &mpc5200_pic 1 1 3 -+ 0xc000 0 0 3 &mpc5200_pic 1 2 3 -+ 0xc000 0 0 4 &mpc5200_pic 1 3 3 -+ -+ 0xc800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot -+ 0xc800 0 0 2 &mpc5200_pic 1 2 3 -+ 0xc800 0 0 3 &mpc5200_pic 1 3 3 -+ 0xc800 0 0 4 &mpc5200_pic 0 0 3>; -+ ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000 -+ 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 -+ 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; -+ }; -+ motorek@0 { -+ device_type = "motorek"; -+ pwmf = <&gpt2>; -+ pwmb = <&gpt3>; -+ irca = <&gpt5>; -+ ircb = <&gpt4>; -+ interrupts = <0 0 1>; -+ //gpios = <&gpio_a -+ }; -+}; -diff --git a/arch/powerpc/platforms/52xx/mpc5200_simple.c b/arch/powerpc/platforms/52xx/mpc5200_simple.c -index 792a301..82aaa6e 100644 ---- a/arch/powerpc/platforms/52xx/mpc5200_simple.c -+++ b/arch/powerpc/platforms/52xx/mpc5200_simple.c -@@ -62,6 +62,7 @@ static const char *board[] __initdata = { - "promess,motionpro", - "schindler,cm5200", - "tqc,tqm5200", -+ "midam,shark", - NULL - }; - --- -1.8.5.2 - diff --git a/ryuglab_scripts/11-patch b/ryuglab_scripts/11-patch new file mode 100755 index 0000000..7963ffc --- /dev/null +++ b/ryuglab_scripts/11-patch @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +cd ../linux + +git reset --hard + +git apply --index < ../measure_scripts/shark-ryu-board-patch.patch diff --git a/ryuglab_scripts/30-compile b/ryuglab_scripts/30-compile new file mode 100755 index 0000000..29da38a --- /dev/null +++ b/ryuglab_scripts/30-compile @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +cd ../linux + +export ARCH=powerpc +export CROSS_COMPILE=/opt/OSELAS.Toolchain-2012.12.1/powerpc-603e-linux-gnu/gcc-4.7.2-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/powerpc-603e-linux-gnu- + +test -t 0 || CHRONIC=chronic + +$CHRONIC make -j$(nproc) uImage diff --git a/ryuglab_scripts/shark-ryu-board-patch.patch b/ryuglab_scripts/shark-ryu-board-patch.patch new file mode 100644 index 0000000..e43e35d --- /dev/null +++ b/ryuglab_scripts/shark-ryu-board-patch.patch @@ -0,0 +1,139 @@ +From 87a8e2b9406cc7f8779f02047e0cd1594c570b78 Mon Sep 17 00:00:00 2001 +From: Michal Sojka +Date: Thu, 23 Jan 2014 23:44:55 +0100 +Subject: [PATCH] Shark/ryu board patch + +This is a new version of the patch. It is not based on historical patches +from Michal Hrouda, but on mpc5200_simple. It boots, serial line and +Ethernet work. I haven't check whether flash works. +--- + arch/powerpc/boot/dts/shark-ryu.dts | 104 +++++++++++++++++++++++++++ + arch/powerpc/platforms/52xx/mpc5200_simple.c | 1 + + 2 files changed, 105 insertions(+) + create mode 100644 arch/powerpc/boot/dts/shark-ryu.dts + +diff --git a/arch/powerpc/boot/dts/shark-ryu.dts b/arch/powerpc/boot/dts/shark-ryu.dts +new file mode 100644 +index 0000000..63e48a8 +--- /dev/null ++++ b/arch/powerpc/boot/dts/shark-ryu.dts +@@ -0,0 +1,104 @@ ++/* ++ * Shark(MPC5200) board Device Tree Source ++ * ++ * Copyright 2006-2007 Secret Lab Technologies Ltd. ++ * Grant Likely ++ * ++ * This program is free software; you can redistribute it and/or modify it ++ * under the terms of the GNU General Public License as published by the ++ * Free Software Foundation; either version 2 of the License, or (at your ++ * option) any later version. ++ */ ++ ++/include/ "mpc5200b.dtsi" ++ ++/ { ++ model = "cvut,ryu"; ++ compatible = "midam,shark"; ++ ++ memory { ++ reg = <0x00000000 0x08000000>; // 128MB ++ }; ++ ++ soc: soc5200@f0000000 { ++ psc@2000 { // PSC1 ++ compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; ++ }; ++ psc5: psc@2800 { // PSC5 ++ status = "disabled"; ++ }; ++ ++ ethernet@3000 { ++ phy-handle = <&phy0>; ++ }; ++ ++ mdio@3000 { ++ phy0: ethernet-phy@1f { ++ device_type = "ethernet-phy"; ++ reg = <0x1f>; ++ }; ++ }; ++ ++ i2c@3d40 { ++ rtc@68 { ++ compatible = "dallas,ds1307"; ++ reg = <0x68>; ++ }; ++ }; ++ }; ++ ++ localbus { ++ ranges = <0 0 0xfc000000 0x04000000>; ++ ++ flash@0,0 { ++ compatible = "cfi-flash"; ++ reg = <0 0 0x04000000>; ++ bank-width = <2>; ++ device-width = <2>; ++ #size-cells = <1>; ++ #address-cells = <1>; ++ ++ uboot@0 { ++ label = "u-boot"; ++ reg = <0 0x00100000>; ++ read-only; ++ }; ++ ++ kernel@100000 { ++ label = "kernel"; ++ reg = <0x00100000 0x00300000>; ++ read-only; ++ }; ++ ++ filesystem@400000 { ++ label = "filesystem"; ++ reg = <0x00400000 0x03c00000>; ++ }; ++ }; ++ }; ++ ++ pci: pci@f0000d00 { ++ interrupt-map-mask = <0xf800 0 0 7>; ++ interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot ++ 0xc000 0 0 2 &mpc5200_pic 1 1 3 ++ 0xc000 0 0 3 &mpc5200_pic 1 2 3 ++ 0xc000 0 0 4 &mpc5200_pic 1 3 3 ++ ++ 0xc800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot ++ 0xc800 0 0 2 &mpc5200_pic 1 2 3 ++ 0xc800 0 0 3 &mpc5200_pic 1 3 3 ++ 0xc800 0 0 4 &mpc5200_pic 0 0 3>; ++ ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000 ++ 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000 ++ 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>; ++ }; ++ motorek@0 { ++ device_type = "motorek"; ++ pwmf = <&gpt2>; ++ pwmb = <&gpt3>; ++ irca = <&gpt5>; ++ ircb = <&gpt4>; ++ interrupts = <0 0 1>; ++ //gpios = <&gpio_a ++ }; ++}; +diff --git a/arch/powerpc/platforms/52xx/mpc5200_simple.c b/arch/powerpc/platforms/52xx/mpc5200_simple.c +index 792a301..82aaa6e 100644 +--- a/arch/powerpc/platforms/52xx/mpc5200_simple.c ++++ b/arch/powerpc/platforms/52xx/mpc5200_simple.c +@@ -62,6 +62,7 @@ static const char *board[] __initdata = { + "promess,motionpro", + "schindler,cm5200", + "tqc,tqm5200", ++ "midam,shark", + NULL + }; + +-- +1.8.5.2 + -- cgit v1.2.3 From 7837f70b9edfba6ce1f810ac0a7dec6861dbf364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 11 Aug 2015 18:50:30 +0200 Subject: Set cyclictest exectuion Also used external package to buildroot for rt-tests to use latest master version. --- cyclictest.nb | 2 +- root/cyclictest/.br-external | 1 + root/cyclictest/.config | 7 +++- root/cyclictest/.gitignore | 5 ++- root/cyclictest/overlay/etc/init.d/S90lcp | 3 ++ root/cyclictest/overlay/sbin/lcpinit | 2 +- root/cyclictest/packages/Config.in | 1 + root/cyclictest/packages/external.mk | 1 + .../0001-Comment-undeclared-calls.patch | 34 +++++++++++++++++++ root/cyclictest/packages/rt-tests-master/Config.in | 34 +++++++++++++++++++ .../packages/rt-tests-master/rt-tests-master.mk | 39 ++++++++++++++++++++++ 11 files changed, 125 insertions(+), 4 deletions(-) create mode 100644 root/cyclictest/.br-external create mode 100755 root/cyclictest/overlay/etc/init.d/S90lcp create mode 100644 root/cyclictest/packages/Config.in create mode 100644 root/cyclictest/packages/external.mk create mode 100644 root/cyclictest/packages/rt-tests-master/0001-Comment-undeclared-calls.patch create mode 100644 root/cyclictest/packages/rt-tests-master/Config.in create mode 100644 root/cyclictest/packages/rt-tests-master/rt-tests-master.mk diff --git a/cyclictest.nb b/cyclictest.nb index 392d83a..5eae708 100644 --- a/cyclictest.nb +++ b/cyclictest.nb @@ -1,5 +1,5 @@ #!/usr/bin/env novaboot # -*-sh-*- -load jobfiles/linuxImage console=ttyPSC0,115200 quiet init=/sbin/lcpinit +load jobfiles/linuxImage console=ttyPSC0,115200 quiet load shark-ryu.dtb load root/cyclictest/images/rootfs.cpio.uboot diff --git a/root/cyclictest/.br-external b/root/cyclictest/.br-external new file mode 100644 index 0000000..008a945 --- /dev/null +++ b/root/cyclictest/.br-external @@ -0,0 +1 @@ +BR2_EXTERNAL ?= /home/kocikare/linux-conf-perf/root/cyclictest/packages diff --git a/root/cyclictest/.config b/root/cyclictest/.config index 9691d02..0b86ab6 100644 --- a/root/cyclictest/.config +++ b/root/cyclictest/.config @@ -358,7 +358,7 @@ BR2_PACKAGE_MPLAYER_ARCH_SUPPORTS=y # BR2_PACKAGE_PV is not set # BR2_PACKAGE_RAMSMP is not set # BR2_PACKAGE_RAMSPEED is not set -BR2_PACKAGE_RT_TESTS=y +# BR2_PACKAGE_RT_TESTS is not set # BR2_PACKAGE_SPIDEV_TEST is not set # BR2_PACKAGE_STRACE is not set # BR2_PACKAGE_STRESS is not set @@ -1655,3 +1655,8 @@ BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION="" # BR2_PACKAGE_INPUT_TOOLS_EVTEST is not set # BR2_BFIN_FDPIC is not set # BR2_BFIN_FLAT is not set + +# +# User-provided options +# +BR2_PACKAGE_RT_TESTS_MASTER=y diff --git a/root/cyclictest/.gitignore b/root/cyclictest/.gitignore index 0d00e53..482619e 100644 --- a/root/cyclictest/.gitignore +++ b/root/cyclictest/.gitignore @@ -2,5 +2,8 @@ !.config !.gitignore !GNUmakefile -!prepare_boot +!.br-external +!overlay/ !overlay/** +!packages/ +!packages/** diff --git a/root/cyclictest/overlay/etc/init.d/S90lcp b/root/cyclictest/overlay/etc/init.d/S90lcp new file mode 100755 index 0000000..b5a9076 --- /dev/null +++ b/root/cyclictest/overlay/etc/init.d/S90lcp @@ -0,0 +1,3 @@ +#!/bin/sh + +/sbin/lcpinit diff --git a/root/cyclictest/overlay/sbin/lcpinit b/root/cyclictest/overlay/sbin/lcpinit index e28aef2..e2c1f78 100755 --- a/root/cyclictest/overlay/sbin/lcpinit +++ b/root/cyclictest/overlay/sbin/lcpinit @@ -1,5 +1,5 @@ #!/bin/sh -echo Hello +cyclictest -n -p99 -t3 -l10000 -q | sed 's/^/! /' | sed 's/$/ ok/' echo "NOVABOOT EXIT LINUX-CONF-PERF" diff --git a/root/cyclictest/packages/Config.in b/root/cyclictest/packages/Config.in new file mode 100644 index 0000000..45dad4f --- /dev/null +++ b/root/cyclictest/packages/Config.in @@ -0,0 +1 @@ +source "$BR2_EXTERNAL/rt-tests-master/Config.in" diff --git a/root/cyclictest/packages/external.mk b/root/cyclictest/packages/external.mk new file mode 100644 index 0000000..d37f28a --- /dev/null +++ b/root/cyclictest/packages/external.mk @@ -0,0 +1 @@ +include $(BR2_EXTERNAL)/rt-tests-master/rt-tests-master.mk diff --git a/root/cyclictest/packages/rt-tests-master/0001-Comment-undeclared-calls.patch b/root/cyclictest/packages/rt-tests-master/0001-Comment-undeclared-calls.patch new file mode 100644 index 0000000..c593705 --- /dev/null +++ b/root/cyclictest/packages/rt-tests-master/0001-Comment-undeclared-calls.patch @@ -0,0 +1,34 @@ +From 3e6052ef340c939d689b7a69909c74d38915cee9 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= +Date: Tue, 11 Aug 2015 18:31:12 +0200 +Subject: [PATCH] Comment undeclared calls + +Those calls seems to be uninplemented or missing while compiling on +powerpc architecture. +--- + src/lib/rt-sched.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/lib/rt-sched.c b/src/lib/rt-sched.c +index 4a8e3c4..4984735 100644 +--- a/src/lib/rt-sched.c ++++ b/src/lib/rt-sched.c +@@ -31,7 +31,7 @@ int sched_setattr(pid_t pid, + const struct sched_attr *attr, + unsigned int flags) + { +- return syscall(__NR_sched_setattr, pid, attr, flags); ++ //return syscall(__NR_sched_setattr, pid, attr, flags); + } + + int sched_getattr(pid_t pid, +@@ -39,5 +39,5 @@ int sched_getattr(pid_t pid, + unsigned int size, + unsigned int flags) + { +- return syscall(__NR_sched_getattr, pid, attr, size, flags); ++ //return syscall(__NR_sched_getattr, pid, attr, size, flags); + } +-- +2.1.4 + diff --git a/root/cyclictest/packages/rt-tests-master/Config.in b/root/cyclictest/packages/rt-tests-master/Config.in new file mode 100644 index 0000000..a54eb3a --- /dev/null +++ b/root/cyclictest/packages/rt-tests-master/Config.in @@ -0,0 +1,34 @@ +config BR2_PACKAGE_RT_TESTS_MASTER + bool "rt-tests-master" + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # fork() + help + This is additional copy of rt-test package to provide + master version of rt-tests. + + Set of utilities for testing the real-time behaviour of a + Linux system. + + All tools are simple C programs with no dependencies, except + the hwlatdetect utility, which is a Python script and + therefore requires the Python interpreter. It will only be + installed if a Python interpreter has been selected in the + Buildroot configuration. + + Note that this package requires a toolchain built with the + NPTL implementation of the pthread API (this is always the + case with glibc/eglibc toolchains, but may not necessarily + be the case with uClibc toolchains, since the thread + implementation is configurable). + + http://rt.wiki.kernel.org + + +comment "rt-tests may not work on MIPS with an external uClibc toolchain" + depends on BR2_PACKAGE_RT_TESTS_MASTER + depends on BR2_TOOLCHAIN_EXTERNAL_UCLIBC + depends on BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el + +comment "rt-tests needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU diff --git a/root/cyclictest/packages/rt-tests-master/rt-tests-master.mk b/root/cyclictest/packages/rt-tests-master/rt-tests-master.mk new file mode 100644 index 0000000..a210b74 --- /dev/null +++ b/root/cyclictest/packages/rt-tests-master/rt-tests-master.mk @@ -0,0 +1,39 @@ +################################################################################ +# +# rt-tests +# +################################################################################ + +RT_TESTS_MASTER_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git +RT_TESTS_MASTER_VERSION = master +RT_TESTS_MASTER_LICENSE = GPLv2+ +RT_TESTS_MASTER_LICENSE_FILES = COPYING + +ifeq ($(BR2_PACKAGE_PYTHON),y) +RT_TESTS_MASTER_DEPENDENCIES = python +endif + +ifeq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y) +RT_TESTS_MASTER_HAVE_NPTL=yes +else +RT_TESTS_MASTER_HAVE_NPTL=no +endif + +define RT_TESTS_MASTER_BUILD_CMDS + $(MAKE) -C $(@D) \ + CC="$(TARGET_CC)" \ + HAVE_NPTL=$(RT_TESTS_MASTER_HAVE_NPTL) \ + CFLAGS="$(TARGET_CFLAGS)" \ + prefix=/usr NUMA=0 +endef + +define RT_TESTS_MASTER_INSTALL_TARGET_CMDS + $(MAKE) -C $(@D) \ + HAVE_NPTL=$(RT_TESTS_MASTER_HAVE_NPTL) \ + DESTDIR="$(TARGET_DIR)" \ + prefix=/usr \ + $(if $(BR2_PACKAGE_PYTHON),HASPYTHON=1 PYLIB=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages/) \ + install +endef + +$(eval $(generic-package)) -- cgit v1.2.3 From 21195308311758b0725773e0a19d1e0edd176c8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 11 Aug 2015 18:56:31 +0200 Subject: Fix boot and build scripts Remove init atribut from boot_script. It is not usable when system using /init as default. Build script is moved for ryuglab target. Root build script is now pointing to right location. --- boot_script | 5 +++-- build_script | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/boot_script b/boot_script index 940022d..e57caa4 100755 --- a/boot_script +++ b/boot_script @@ -1,6 +1,7 @@ #!/bin/bash + # Wake target if target is suspended -# sudo /usr/sbin/etherwake 00:0c:f1:77:ec:46 + sudo /usr/sbin/etherwake 00:0c:f1:77:ec:46 # Boot using novaboot -novaboot cyclictest.nb --exiton="NOVABOOT EXIT LINUX-CONF-PERF" +novaboot cyclictest.nb --exiton="NOVABOOT EXIT LINUX-CONF-PERF" -a "init=/sbin/lcpinit" diff --git a/build_script b/build_script index a7f70e7..8ae4467 100755 --- a/build_script +++ b/build_script @@ -1,6 +1,6 @@ #!/bin/bash # This script is called from linux folder -cd ../measure_scripts +cd ../ryuglab_scripts ./30-compile -- cgit v1.2.3 From e4c7d71976be006f1edfaa5ee3ad7619c9a77bba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 11 Aug 2015 19:19:30 +0200 Subject: Add parse_script Parsing maximal value from first thread as result. --- conf.py | 2 +- parse_script | 3 +++ scripts/boot.py | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100755 parse_script diff --git a/conf.py b/conf.py index 2e50189..5702027 100644 --- a/conf.py +++ b/conf.py @@ -29,7 +29,7 @@ boot_command = ['./boot_script'] # parse_command # Command to parse double value from boot output -parse_command = ['echo', '0'] +parse_command = ['./parse_script'] # picosat_args # Additional arguments passed to PicoSAT. diff --git a/parse_script b/parse_script new file mode 100755 index 0000000..868212c --- /dev/null +++ b/parse_script @@ -0,0 +1,3 @@ +#!/bin/bash + +cat $1 | grep -e "^! .* ok" | sed -n '2p' | awk '{print $17}' diff --git a/scripts/boot.py b/scripts/boot.py index 7ae30a9..2d1461a 100644 --- a/scripts/boot.py +++ b/scripts/boot.py @@ -29,7 +29,8 @@ def boot(config, to_database = True): value = None try: - out = utils.callsubprocess('parse_command', conf.parse_command, + out = utils.callsubprocess('parse_command', conf.parse_command + + [os.path.join(conf.output_folder, config.cfile)], conf.parse_output, True) value = float(out[0]) except Exception as e: -- cgit v1.2.3 From 019a117cad97403710fda1d944288a076d9ccde0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 11 Aug 2015 19:34:22 +0200 Subject: Change master version to v0.92 of rt-tests --- root/cyclictest/packages/rt-tests-master/rt-tests-master.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/cyclictest/packages/rt-tests-master/rt-tests-master.mk b/root/cyclictest/packages/rt-tests-master/rt-tests-master.mk index a210b74..82fe53e 100644 --- a/root/cyclictest/packages/rt-tests-master/rt-tests-master.mk +++ b/root/cyclictest/packages/rt-tests-master/rt-tests-master.mk @@ -5,7 +5,7 @@ ################################################################################ RT_TESTS_MASTER_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git -RT_TESTS_MASTER_VERSION = master +RT_TESTS_MASTER_VERSION = v0.92 RT_TESTS_MASTER_LICENSE = GPLv2+ RT_TESTS_MASTER_LICENSE_FILES = COPYING -- cgit v1.2.3 From 030dc22bc6c28faac3fadcd4a7df93a2a4147535 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 11 Aug 2015 19:43:30 +0200 Subject: Add measure tool desription to database --- conf.py | 4 ++++ scripts/database.py | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/conf.py b/conf.py index 5702027..591a0b3 100644 --- a/conf.py +++ b/conf.py @@ -31,6 +31,10 @@ boot_command = ['./boot_script'] # Command to parse double value from boot output parse_command = ['./parse_script'] +# measurement_identifier +# Identifier of measurement can consist of measure tool name and version +measure_identifier = 'cyclictest-v0.92' + # picosat_args # Additional arguments passed to PicoSAT. picosat_args = [] diff --git a/scripts/database.py b/scripts/database.py index 16556a8..eef118d 100644 --- a/scripts/database.py +++ b/scripts/database.py @@ -102,14 +102,14 @@ class database: def add_measure(self, mfile, conf_id, value = None): "Add measurement." ps = self.db.prepare("""INSERT INTO measure - (conf, mfile, value, mtime, toolgit, linuxgit) + (conf, mfile, value, mtime, toolgit, linuxgit, measurement) VALUES - ($1, $2, $3, $4, $5, $6); + ($1, $2, $3, $4, $5, $6, $7); """) gt = self.check_toolsgit() lgt = self.check_linuxgit() tm = datetime.datetime.now() - ps(conf_id, mfile, value, tm, gt, lgt) + ps(conf_id, mfile, value, tm, gt, lgt, conf.measure_identifier) def update_measure(self, measure_id, value): "Update measured value" -- cgit v1.2.3 From b950d11fd8c8059fc935e80816cbe27d8d0b9b7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 12 Aug 2015 10:46:27 +0200 Subject: Single configuration generation ensured to generate only single configuration per execution --- scripts/configurations.py | 64 ++++++++++++++++++++++++++--------------------- scripts/exceptions.py | 5 ++++ 2 files changed, 41 insertions(+), 28 deletions(-) diff --git a/scripts/configurations.py b/scripts/configurations.py index 5a04f38..8391140 100644 --- a/scripts/configurations.py +++ b/scripts/configurations.py @@ -161,31 +161,43 @@ def __register_conf__(con, conf_num, generator): dtb.add_configuration(hsh, hshf, generator) def __generate_single__(var_num, conf_num): - if os.path.isfile(sf(conf.single_generated_file)): + measure_list = set() + if not os.path.isfile(sf(conf.single_generated_file)): + with open(sf(conf.measure_file), 'r') as fi: + for ln in fi: + measure_list.add(int(ln)) + else: + with open(sf(conf.single_generated_file), 'r') as f: + for ln in f: + measure_list.add(int(ln)) + if not measure_list: return False - measure_list = [] - with open(sf(conf.measure_file), 'r') as f: - for ln in f: - measure_list.append(int(ln)) - for measure in measure_list: - tfile = __buildtempcnf__(var_num, (sf(conf.rules_file), - sf(conf.fixed_file)), (str(measure))) - try: - confs = __exec_sat__(tfile, ['-i', '0']) - for con in confs: - __register_conf__(con, conf_num, 'single-sat') - except exceptions.NoSolution: - pass - finally: - os.remove(tfile) - with open(sf(conf.single_generated_file), 'w') as f: - f.write("This file informs scripts, that all single selected configurations are already generated.\n") - f.write("Remove this file if you want run generating process again.") - return True + tfile = __buildtempcnf__(var_num, (sf(conf.rules_file), + sf(conf.fixed_file)), [str(measure_list.pop())]) + with open(sf(conf.single_generated_file), 'w') as fo: + for ln in measure_list: + fo.write(str(ln) + '\n') + try: + confs = __exec_sat__(tfile, ['-i', '0']) + print(confs) + for con in confs: + __register_conf__(con, conf_num, 'single-sat') + except exceptions.NoSolution: + __generate_single__(var_num, conf_num) + finally: + os.remove(tfile) + return True def __generate_random__(var_num, conf_num): # TODO - pass + #tfile = __buildtempcnf__(var_num, (sf(conf.rules_file), sf(conf.fixed_file)), ()) + #try: + #confs = __exec_sat__(tfile, []) + #for con in confs: + #__register_conf__(con, conf_num) + #finally: + #os.remove(tfile) + return False def generate(): """Collect boolean equations from files rules and required @@ -204,14 +216,10 @@ def generate(): if __generate_single__(var_num, conf_num): return + elif __generate_random__(var_num, conf_num): + return - #tfile = __buildtempcnf__(var_num, (sf(conf.rules_file), sf(conf.fixed_file)), ()) - #try: - #confs = __exec_sat__(tfile, []) - #for con in confs: - #__register_conf__(con, conf_num) - #finally: - #os.remove(tfile) + raise exceptions.NoNewConfiguration() def compare(file1, file2): """Compared two configuration""" diff --git a/scripts/exceptions.py b/scripts/exceptions.py index 89fba0a..ac7f093 100644 --- a/scripts/exceptions.py +++ b/scripts/exceptions.py @@ -20,6 +20,11 @@ class ConfigurationError(Exception): def __str__(self): return "Configuration error: " + message +class NoNewConfiguration(Exception): + def __init__(self): + pass + def __str__(self): + return "No new configuration generated" class NoApplicableConfiguration(Exception): def __init__(self): pass -- cgit v1.2.3 From c5fdcab3a1a034ef8933268d3237878716d7b2e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 12 Aug 2015 15:43:06 +0200 Subject: Fix bug in configuration.py Type inserted to method is str, but threated as int. --- scripts/configurations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/configurations.py b/scripts/configurations.py index 8391140..73af8e2 100644 --- a/scripts/configurations.py +++ b/scripts/configurations.py @@ -76,7 +76,7 @@ def __write_temp_config_file__(con, conf_num): s *= -1 else: nt = False - if s > conf_num: + if s > int(conf_num): break; if 'NONAMEGEN' in utils.smap[s]: # ignore generated names continue -- cgit v1.2.3 From 9df57d275f44d8f7919bd9b307bcf09a30c53683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 12 Aug 2015 15:48:19 +0200 Subject: Fix if generated existing configuration When some generator tries to register already generated solution, it shouldn't be registered. --- scripts/configurations.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/configurations.py b/scripts/configurations.py index 73af8e2..35eaa37 100644 --- a/scripts/configurations.py +++ b/scripts/configurations.py @@ -153,6 +153,7 @@ def __register_conf__(con, conf_num, generator): if os.path.isfile(filen): if compare(filen, wfile): print("I: Generated existing configuration.") + return else: print("W: Generated configuration with collision hash.") # TODO this might have to be tweaked -- cgit v1.2.3 From cfa6de787ae0b26b8203f6262e602a050302693e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 12 Aug 2015 16:24:09 +0200 Subject: Hide output of all commands --- conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf.py b/conf.py index 591a0b3..c077d77 100644 --- a/conf.py +++ b/conf.py @@ -75,9 +75,9 @@ git_commit_cmd = ['git', 'rev-parse', '--verify', 'HEAD'] # What ever are these settings, output is always written to files in folder log. parse_kconfig_output = False picosat_output = False -kernel_config_output = True -kernel_make_output = True -boot_output = True +kernel_config_output = False +kernel_make_output = False +boot_output = False parse_output = False ## Configs for debugging -- cgit v1.2.3 From 64ff2853f2e06fd67dc1f73bb913e53c2db97f51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 12 Aug 2015 16:25:13 +0200 Subject: Remove debud output of generated configuration --- scripts/configurations.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/configurations.py b/scripts/configurations.py index 35eaa37..e43087e 100644 --- a/scripts/configurations.py +++ b/scripts/configurations.py @@ -180,7 +180,6 @@ def __generate_single__(var_num, conf_num): fo.write(str(ln) + '\n') try: confs = __exec_sat__(tfile, ['-i', '0']) - print(confs) for con in confs: __register_conf__(con, conf_num, 'single-sat') except exceptions.NoSolution: -- cgit v1.2.3 From 303a971fefa1a15cb0cebc65274b118bf62ae889 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 12 Aug 2015 16:41:59 +0200 Subject: Fix problem with wrongly printed first line in CNF file --- scripts/configurations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/configurations.py b/scripts/configurations.py index e43087e..7a4a071 100644 --- a/scripts/configurations.py +++ b/scripts/configurations.py @@ -211,8 +211,8 @@ def generate(): # Load variable count with open(sf(conf.variable_count_file)) as f: - var_num = f.readline() - conf_num = f.readline() + var_num = f.readline().rstrip() + conf_num = f.readline().rstrip() if __generate_single__(var_num, conf_num): return -- cgit v1.2.3 From e9f373c67d79bf8ea5e8b710ce4102a29abb42b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 12 Aug 2015 17:28:00 +0200 Subject: Fix bug in configurations loading Loading configuration load all configuration options as True. --- scripts/configurations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/configurations.py b/scripts/configurations.py index 7a4a071..d6780c9 100644 --- a/scripts/configurations.py +++ b/scripts/configurations.py @@ -100,7 +100,7 @@ def __load_config_file__(file): if (ln[indx + 1] == 'y'): rtn[ln[7:indx]] = True else: - rtn[ln[7:indx]] = True + rtn[ln[7:indx]] = False return rtn def __calchash__(file): -- cgit v1.2.3 From ed07b06f529d9df1cb9f6e95b5780a064206737e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 12 Aug 2015 17:49:56 +0200 Subject: Change folder to kernel As first will be measured only konfiguration options in kernel folder. --- scripts/from_folder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/from_folder b/scripts/from_folder index b72899f..8801a48 100755 --- a/scripts/from_folder +++ b/scripts/from_folder @@ -1,6 +1,6 @@ #!/bin/bash -FOLDER=linux/arch +FOLDER=linux/kernel CONF=`find $FOLDER -name Kconfig | xargs grep -e ^config | cut -d ' ' -f2` -- cgit v1.2.3 From 62763b42386428ada30d0a127181de524bcc21b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 12 Aug 2015 18:12:59 +0200 Subject: Fix wrong configuration reading from database --- scripts/database.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/database.py b/scripts/database.py index eef118d..6a4d0a1 100644 --- a/scripts/database.py +++ b/scripts/database.py @@ -132,8 +132,8 @@ class database: def get_unmeasured(self): "Returns list of all unmeasured configurations." - ps = self.db.prepare("""SELECT * FROM configurations - WHERE NOT EXISTS + ps = self.db.prepare("""SELECT id, hash, cfile FROM configurations + WHERE id NOT IN (SELECT conf FROM measure) """) rtn = [] -- cgit v1.2.3 From 4089d016bb3f09e3171eeb1cc6606914aff453c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 12 Aug 2015 20:31:28 +0200 Subject: Catch NoApplicableConfiguration exception in prepare thread --- scripts/loop.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/loop.py b/scripts/loop.py index fc0ea44..aecda39 100755 --- a/scripts/loop.py +++ b/scripts/loop.py @@ -68,7 +68,10 @@ class prepareThread(Thread): __listlock__.aquire() while not __terminate__ and len(__conflist__) <= conf.multithread_buffer: __listlock__.release() - config = prepare() + try: + config = prepare() + except exceptions.NoApplicableConfiguration: + return __listlock__.aquire() __conflist__.append(config) if not __measurethread__.isActive(): -- cgit v1.2.3 From bf95742296735f961f2cf8d00391de265e7f0d88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 13 Aug 2015 08:37:29 +0200 Subject: Remove init cli argument for kernel This argument was already removed by previous commit, but probably with some merge it come back. --- boot_script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot_script b/boot_script index e57caa4..64647ac 100755 --- a/boot_script +++ b/boot_script @@ -4,4 +4,4 @@ sudo /usr/sbin/etherwake 00:0c:f1:77:ec:46 # Boot using novaboot -novaboot cyclictest.nb --exiton="NOVABOOT EXIT LINUX-CONF-PERF" -a "init=/sbin/lcpinit" +novaboot cyclictest.nb --exiton="NOVABOOT EXIT LINUX-CONF-PERF" -- cgit v1.2.3 From e1ccb36e492f80c9c6b713697241fa45e77e05e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 13 Aug 2015 09:56:26 +0200 Subject: Enable multithreating execution --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.py b/conf.py index c077d77..31f343a 100644 --- a/conf.py +++ b/conf.py @@ -57,7 +57,7 @@ db_port = 5432 # multithread # Define if measurement and kernel build should be executed in parallel. -multithread = False +multithread = True # multithread_buffer # Defines maximal number of buffered configurations before generating is suspended. multithread_buffer = 32 -- cgit v1.2.3 From 84b4681184165888f26e8988a705764baad18e64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 13 Aug 2015 09:59:33 +0200 Subject: Change hash calculating function Previous method of calculating hash wasn't work (wouldn't give same result for same configuration) if there would be added new configuration options to hashconfigsort file. --- scripts/configurations.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/scripts/configurations.py b/scripts/configurations.py index d6780c9..aaa6937 100644 --- a/scripts/configurations.py +++ b/scripts/configurations.py @@ -119,11 +119,9 @@ def __calchash__(file): for c in csort: try: if con[c]: - cstr += '+' - else: - cstr += '-' + cstr += c except ValueError: - cstr += '0' + pass # Add missing csortfile = open(sf(conf.hashconfigsort), 'a'); @@ -135,9 +133,7 @@ def __calchash__(file): csort.append(key) csortfile.write(key + '\n') if val: - cstr += '+' - else: - cstr += '-' + cstr += key csortfile.close() hsh = hashlib.md5(bytes(cstr, 'UTF-8')) -- cgit v1.2.3 From 57b76964ed0397cb48458c1a55acaeb19c287d45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 13 Aug 2015 11:04:31 +0200 Subject: Implement random generation of configurations Configuration are generated with random assumptions. This should generate different configuration for every SAT solver execution. --- scripts/configurations.py | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/scripts/configurations.py b/scripts/configurations.py index aaa6937..0a15d5f 100644 --- a/scripts/configurations.py +++ b/scripts/configurations.py @@ -149,13 +149,14 @@ def __register_conf__(con, conf_num, generator): if os.path.isfile(filen): if compare(filen, wfile): print("I: Generated existing configuration.") - return + return False else: print("W: Generated configuration with collision hash.") # TODO this might have to be tweaked raise Exception() shutil.move(wfile, filen) dtb.add_configuration(hsh, hshf, generator) + return True def __generate_single__(var_num, conf_num): measure_list = set() @@ -185,15 +186,15 @@ def __generate_single__(var_num, conf_num): return True def __generate_random__(var_num, conf_num): - # TODO - #tfile = __buildtempcnf__(var_num, (sf(conf.rules_file), sf(conf.fixed_file)), ()) - #try: - #confs = __exec_sat__(tfile, []) - #for con in confs: - #__register_conf__(con, conf_num) - #finally: - #os.remove(tfile) - return False + tfile = __buildtempcnf__(var_num, (sf(conf.rules_file), sf(conf.fixed_file)), ()) + try: + confs = __exec_sat__(tfile, ['-i', '3']) + for con in confs: + if not __register_conf__(con, conf_num, 'random-sat'): + __generate_random__(var_num, conf_num) + finally: + os.remove(tfile) + return True def generate(): """Collect boolean equations from files rules and required -- cgit v1.2.3 From fb3c8e339fb3896753f7130b8f8e34be8d89ae2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 13 Aug 2015 11:19:09 +0200 Subject: Fix thread cooperation in loop Measure function requires img and config as atributes. But only config was provided. --- scripts/loop.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/scripts/loop.py b/scripts/loop.py index aecda39..9cc8ddb 100755 --- a/scripts/loop.py +++ b/scripts/loop.py @@ -58,7 +58,7 @@ class mainThread(Thread): measure(img, config) # Multithread section # -__conflist__ = [] +__conflist__ = set() __listlock__ = Lock() class prepareThread(Thread): @@ -69,11 +69,11 @@ class prepareThread(Thread): while not __terminate__ and len(__conflist__) <= conf.multithread_buffer: __listlock__.release() try: - config = prepare() + img, config = prepare() except exceptions.NoApplicableConfiguration: return __listlock__.aquire() - __conflist__.append(config) + __conflist__.add((img, config)) if not __measurethread__.isActive(): __measurethread__.start() __listlock__.release() @@ -84,12 +84,11 @@ class measureThread(Thread): def run(self): __listlock__.aquire() while not __terminate__ and len(__conflist__) > 0: - config = __conflist__[0] - del __conflist__[0] + img, config = __conflist__.pop() __listlock__.release() if not __preparethread__.isActive(): __preparethread__.start() - measure(config) + measure(img, config) __listlock__.aquire() __listlock__.release() -- cgit v1.2.3 From 360fae67713d3813059361fc0ee5fa6102e02246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 13 Aug 2015 12:13:39 +0200 Subject: Remove duplicate variable in conf.py This duplication was created probably by merging. --- conf.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/conf.py b/conf.py index fd905b0..31f343a 100644 --- a/conf.py +++ b/conf.py @@ -35,10 +35,6 @@ parse_command = ['./parse_script'] # Identifier of measurement can consist of measure tool name and version measure_identifier = 'cyclictest-v0.92' -# measurement_identifier -# Identifier of measurement can consist of measure tool name and version -measure_identifier = 'cyclictest-v0.92' - # picosat_args # Additional arguments passed to PicoSAT. picosat_args = [] -- cgit v1.2.3 From 7c824b39e6f03fc0d459e07ea46d31335d87daec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 13 Aug 2015 15:12:51 +0200 Subject: Fix wrong path to patch in patch script --- ryuglab_scripts/11-patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ryuglab_scripts/11-patch b/ryuglab_scripts/11-patch index 7963ffc..7b9ba8e 100755 --- a/ryuglab_scripts/11-patch +++ b/ryuglab_scripts/11-patch @@ -6,4 +6,4 @@ cd ../linux git reset --hard -git apply --index < ../measure_scripts/shark-ryu-board-patch.patch +git apply --index < ../ryuglab_scripts/shark-ryu-board-patch.patch -- cgit v1.2.3 From 72316e351df5159384d70faa708224ff2fcc8dd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 13 Aug 2015 15:48:40 +0200 Subject: Fix configuration generation missing file exception If generating single throw NoSolution exception, randomly generated CNF file is removed. But finally statement tries to remove it once again. Solution is to not remove CNF file in exception handling, but only by finally statement. --- scripts/configurations.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/configurations.py b/scripts/configurations.py index aef8a5f..3f2d15e 100644 --- a/scripts/configurations.py +++ b/scripts/configurations.py @@ -180,7 +180,6 @@ def __generate_single__(var_num, conf_num): for con in confs: __register_conf__(con, conf_num, 'single-sat') except exceptions.NoSolution: - os.remove(tfile) return __generate_single__(var_num, conf_num) finally: os.remove(tfile) -- cgit v1.2.3