Re: [linux-yocto] [PATCH 0/1] [meta-realtime] Add rt-app, schedtool, define core-image-realtime, and append recipies-kernel
Insop Song <insop.song@...>
On Sat, Mar 16, 2013 at 9:04 PM, Bruce Ashfield
<bruce.ashfield@...> wrote: "core-image-realtime-extended" or "core-image-rt-extended (to be aligned with existing core-image-rt)" or something along this line sounds fine to me. I was thinking of updating my patch, but it would be better if you decide the final name, so I won't update the patch for now. Or if you know which name is the best, then just let me know, I will update the patch and send it to you. Thank you, Insop
|
|
Re: [PATCH 1/1] add scheedtool-dl for testing sched_deadline use jiri's github as a main repo
Insop Song <insop.song@...>
On Sat, Mar 16, 2013 at 10:01 PM, Khem Raj <raj.khem@...> wrote:
Hi Khem, Thank you for the review. I've updated that already as Bruce suggested the same as well in the latest patch update. Here is the update patch for your reference. Thank you. Insop +From 041b2b65889c44c47f90313c5bf9ce61effa96df Mon Sep 17 00:00:00 2001 +From: Insop Song <insop.song@...> +Date: Sat, 9 Mar 2013 01:23:24 -0800 +Subject: [PATCH] set "--with-deadline" as a default to go around yocto build + error on deadline enabled + +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index a5e2990..64e57e4 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -34,7 +34,7 @@ AC_ARG_WITH([deadline], + [AS_HELP_STRING([--with-deadline], + [Add support for SCHED_DEADLINE])], + [], +- [with_deadline=no]) ++ [with_deadline=yes]) + + AS_IF([test "x$with_deadline" != xno], + [AC_DEFINE([DLSCHED], [1], [Define if you have SCHED_DEADLINE support]) +-- +1.7.9.5 + diff --git a/recipes-tools/rt-app/rt-app.bb b/recipes-tools/rt-app/rt-app.bb new file mode 100644 index 0000000..acce437 --- /dev/null +++ b/recipes-tools/rt-app/rt-app.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "rt-app is a test application that starts multiple periodic threads in order to simulate a real-time periodic load" +SECTION = "devel" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;endline=339;md5=e43fc16fccd8519fba405f0a0ff6e8a3" +PR = "r1" + +SRCREV = "e81cbe9f76ee298feded17bb7455d4deb2fb32af" + +SRC_URI = "git://github.com/gbagnoli/rt-app.git \ + file://0001-set-with-deadline-as-a-default-to-go-around-yocto-bu.patch \ + " + +S = "${WORKDIR}/git" + +inherit autotools gettext pkgconfig + +do_configure_prepend() { + autoreconf --install --verbose --force +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 src/rt-app ${D}${bindir} +} + +FILES_{PN} = "${bindir}/rt-app" + +PARALLEL_MAKE = "" diff --git a/recipes-tools/schedtool-dl/schedtool-dl.bb b/recipes-tools/schedtool-dl/schedtool-dl.bb new file mode 100644 index 0000000..5592175 --- /dev/null +++ b/recipes-tools/schedtool-dl/schedtool-dl.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "schedtool-dl (scheduler test tool) for deadline scheduler" +SECTION = "devel" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://Makefile;endline=55;md5=e4b4e8ed9c2132e1d727a1bb5e3bd984" +PR = "r1" + +SRC_URI = "git://github.com/jlelli/schedtool-dl.git;protocol=git" +SRCREV = "cd4e3f2f5a33c3266e25e447e8efbacb3b8c88da" + +S = "${WORKDIR}/git" + +do_compile() { + oe_runmake +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 schedtool ${D}${bindir} +} + +FILES_{PN} = "${bindir}/schedtool" + +PARALLEL_MAKE = ""
|
|
Re: [question] "icecc: improve interaction with sstate"
Insop Song <insop.song@...>
On Sat, Mar 16, 2013 at 5:38 PM, Burton, Ross <ross.burton@...> wrote:
On 16 March 2013 01:16, Insop Song <insop.song@...> wrote:Thank you for the update while you are on the road.So at this point, I will wait to see if any one is seen this recently.The autobuilder appears to be hitting this still, but as several I pull the latest again (http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2381e46e77c8d33472f60861f66e44addd53af68) And it is okay now. Could be the Richard's this commit fixed it. "package_rpm: Ensure PV manipulations are correct Richard Purdie" (b5e5d25c25f30db1f9855e24afef9d8f0bb77d35) Here is my output: ------------------------------------------- ~/mybuilds/meta-realtime $ time bitbake core-image-realtime Loading cache: 100% |######################################################################################| ETA: 00:00:00 Loaded 1123 entries from dependency cache. Build Configuration: BB_VERSION = "1.17.1" BUILD_SYS = "i686-linux" NATIVELSBSTRING = "Ubuntu-12.10" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "1.3+snapshot-20130316" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "master:2381e46e77c8d33472f60861f66e44addd53af68" meta-realtime = "schedtool-sq:ed7886f649ab945625ccbfed0ecc74a500a7c22d" NOTE: Resolving any missing task queue dependencies NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks NOTE: Tasks Summary: Attempted 3938 tasks of which 2355 didn't need to be rerun and all succeeded. real 122m1.472s user 514m20.641s sys 73m56.453s ------------------------------ regards, Insop
|
|
Re: [PATCH 1/1] add scheedtool-dl for testing sched_deadline use jiri's github as a main repo
On Mar 15, 2013, at 4:47 AM, Insop Song <insop.song@...> wrote:
+SRCREV = "${AUTOREV}"IMO find a good revision and send that one here. you can use AUTOREV internally for your development thats all fine
|
|
Re: [linux-yocto] [PATCH 0/1] [meta-realtime] Add rt-app, schedtool, define core-image-realtime, and append recipies-kernel
Bruce Ashfield <bruce.ashfield@...>
On 13-03-16 6:16 AM, Insop Song wrote:
meta-realtime layer for testing sched_deadline and other real-time applicationsThis looks good to me now, I still think we'll have some confusion between the core "rt" images and core-image-realtime that we are introducing here. I may rename it core-image-realtime-extended as part of the merge, if that's acceptable to you ? I think it will be something that we'll need to revisit at some point, but that's not a good reason to hold this back anymore. I'll merge, do a quick test and push this out on Monday. Cheers, Bruce *applications tested are shown below:
|
|
Re: [question] "icecc: improve interaction with sstate"
Burton, Ross <ross.burton@...>
On 16 March 2013 01:16, Insop Song <insop.song@...> wrote:
So at this point, I will wait to see if any one is seen this recently.The autobuilder appears to be hitting this still, but as several oe-core maintainers are still travelling after a conference you may have to wait until Monday. (writing this from Seattle airport) Ross
|
|
[Package Report System]Manual check recipes name list
Yocto Project Package Report System <package-reporting@...>
This mail was sent out by Package Report System.
It will list all the recipes which can't check upstream version by script, and will show how long it is since their last mannual version check. You can check the detail information at http://packages.yoctoproject.org/manuallychkinfo PackageName Version LastChkVersion LastChkTime Maintainer NoUpgradeReason tinylogin 1.4 1.4 195 day Radu Moisan <radu.moisan@inte... TinyLogin was merged into Busy... prelink 1.0+gitAUTOIN... 1.0+git1+9552... 198 day Mark Hatle <mark.hatle@windri... No data minicom 2.6.2 2.6.2 25 days Cristian Iorga <cristian.iorg... No data Manual Check Count: 3 Manual Need Check Count: 2 Any problem, please contact Saul Wold <sgw@...>
|
|
[Package Report System]Upgrade recipes name list
Yocto Project Package Report System <package-reporting@...>
This mail was sent out by Package Report System.
This message list those recipes which need to be upgraded. If maintainers believe some of them needn't to upgrade this time, they can fill in RECIPE_NO_UPDATE_REASON_pn-"xxx" in upstream_tracking files to ignore this recipe remainder until newer upstream version was detected. Example: RECIPE_NO_UPDATE_REASON_pn-"xxx" = "Not upgrade to 2.0 because the new version is unstable" You can check the detail information at http://packages.yoctoproject.org/upgradepkgname PackageName Version UpVersion Maintainer NoUpgradeReason lsb 4.1 1.4 Yi Zhao <yi.zhao@...> ccache 3.1.8 3.1.9 Wenzong Fan <wenzong.fan@...> gettext 0.18.2 0.18.2.1 Wenzong Fan <wenzong.fan@...> systemtap-uprobes 1.8+gitAUTOINC+48fa6b5e1 2.1 Tom Zanussi <tom.zanussi@...> lsbinitscripts 9.44 9.45 Saul Wold <sgw@...> pigz 2.2.5 2.3 Saul Wold <sgw@...> pkgconfig 0.25 0.28 Saul Wold <sgw@...> removes glib-conf, adds circu... kconfig-frontends 3.8.0 3.8.0.0 Saul Wold <sgw@...> glib-networking 2.28.7 2.35.9 Saul Wold <sgw@...> createrepo 0.4.11 0.9.9 Saul Wold <sgw@...> Versions after 0.9.* use YUM,... vte 0.28.2 0.34.2 Saul Wold <sgw@...> sysstat 10.1.3 10.1.4 Saul Wold <sgw@...> remake 3.82+dbg-0.8+gitAUTOINC+ 980720 Saul Wold <sgw@...> texinfo 4.13a 5.1 Saul Wold <sgw@...> Checking script parses direct... libenv-perl 1.03 1.04 Saul Wold <sgw@...> build-appliance-image 1.0 3.2.1 Saul Wold <sgw@...> man-pages 3.47 3.50 Saul Wold <sgw@...> libffi 3.0.11 3.0.12 Saul Wold <sgw@...> mtdev 1.1.2 1.1.3 Ross Burton <ross.burton@...> logrotate 3.8.1 3.8.3 Robert Yang <liezhi.yang@...> busybox 1.20.2 1.21.0 Radu Moisan <radu.moisan@...> iputils s20101006 s20121221 Radu Moisan <radu.moisan@...> unzip 6.0 60 Radu Moisan <radu.moisan@...> rxvt-unicode 9.15 9.17 Radu Moisan <radu.moisan@...> gawk 4.0.1 4.0.2 Radu Moisan <radu.moisan@...> zip 3.0 30 Radu Moisan <radu.moisan@...> openssl 1.0.0j 1.0.1e Radu Moisan <radu.moisan@...> http://www.openssl.org/source/openssl-1.0.0j.tar.gz pango 1.32.5 1.33.8 Radu Moisan <radu.moisan@...> ed 1.6 1.7 Radu Moisan <radu.moisan@...> u-boot-fw-utils 2011.06 2013.01.01 Radu Moisan <radu.moisan@...> atk 2.6.0 2.7.91 Radu Moisan <radu.moisan@...> u-boot-mkimage 2011.06 2013.01.01 Radu Moisan <radu.moisan@...> hdparm 9.39 9.43 Radu Moisan <radu.moisan@...> cronie 1.4.8 1.4.9 Radu Moisan <radu.moisan@...> kmod 9 12 Radu Moisan <radu.moisan@...> systemtap 1.8+gitAUTOINC+48fa6b5e1 2.1 Radu Moisan <radu.moisan@...> coreutils 8.14 8.21 Radu Moisan <radu.moisan@...> libunique 1.1.6 3.0.2 Radu Moisan <radu.moisan@...> Do not upgrade to version: 2.... liburcu 0.7.4 0.7.6 Radu Moisan <radu.moisan@...> babeltrace 1.0+gitAUTOINC+f6ed7fa46 1.0.3 Radu Moisan <radu.moisan@...> apr-util 1.4.1 1.5.1 Radu Moisan <radu.moisan@...> mobile-broadband-provider-info1.0.0+gitrAUTOINC+d9995e 20090309 Radu Moisan <radu.moisan@...> neard 0.9-gitAUTOINC+1e20e396c 0.10 No Maintainer information gsettings-desktop-schemas 3.7.3 3.7.91 No Maintainer information harfbuzz 0.9.12 0.9.13 No Maintainer information xf86-video-omap 0.4.2+gitrAUTOINC+ae0394 86 No Maintainer information gtk+3 3.4.4 3.7.12 No Maintainer information dbus-ptest 1.6.8 1.7.0 No Maintainer information wayland 1.0.3 1.0.5 No Maintainer information weston 1.0.3 1.0.5 No Maintainer information ltp 20120903 20130109 Mihai Lindner <mihaix.lindner@...> rpm 5.4.9 5.4.10-0.20120706 Mark Hatle <mark.hatle@...> xf86-video-intel 2.21.3 2.21.4 Laurentiu Palcu <laurentiu.palcu@...> fontconfig 2.10.2 2.10.91 Laurentiu Palcu <laurentiu.palcu@...> ghostscript 9.05 9.07 Kai Kang <kai.kang@...> bind 9.8.1 9.9.2-P1 Kai Kang <kai.kang@...> libsdl 1.2.15 1.2.15-1 Kai Kang <kai.kang@...> qmmp 0.6.6 0.6.7 Kai Kang <kai.kang@...> libx11-diet 1.5.0 1.5.99.901 Kai Kang <kai.kang@...> directfb 1.6.1 1.6.3 Kai Kang <kai.kang@...> trace-cmd 1.2+gitAUTOINC+7055ffd37 2.2.1 Darren Hart <dvhart@...> kernelshark 1.2+gitAUTOINC+7055ffd37 2.2.1 Darren Hart <dvhart@...> git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git;protocol=git gst-plugins-bad 0.10.23 1.0.5 Cristian Iorga <cristian.iorga@...> not compatible with gst-fluen... tremor 20120314 18153 Cristian Iorga <cristian.iorga@...> bluez4 4.101 5.3 Cristian Iorga <cristian.iorga@...> iptables 1.4.17 1.4.18 Cristian Iorga <cristian.iorga@...> polkit 0.104 0.110 Cristian Iorga <cristian.iorga@...> dbus 1.6.8 1.7.0 Cristian Iorga <cristian.iorga@...> gst-plugins-good 0.10.31 1.0.5 Cristian Iorga <cristian.iorga@...> not compatible with gst-fluen... gst-ffmpeg 0.10.13 0.11.2 Cristian Iorga <cristian.iorga@...> not compatible with gst-fluen... gst-plugin-bluetooth 4.101 5.3 Cristian Iorga <cristian.iorga@...> gst-fluendo-mp3 0.10.19 0.10.21 Cristian Iorga <cristian.iorga@...> gst-fluendo-mpegdemux 0.10.71 0.10.72 Cristian Iorga <cristian.iorga@...> glib-2.0 2.34.3 2.35.8 Cristian Iorga <cristian.iorga@...> gst-plugins-base 0.10.36 1.0.5 Cristian Iorga <cristian.iorga@...> not compatible with gst-fluen... gst-plugins-ugly 0.10.19 1.0.5 Cristian Iorga <cristian.iorga@...> not compatible with gst-fluen... gstreamer 0.10.36 1.0.5 Cristian Iorga <cristian.iorga@...> not compatible with gst-flue... puzzles r9765 9773 Constantin Musca <constantinx.musca@...> gtk+ 2.24.15 3.7.12 Constantin Musca <constantinx.musca@...> Do not upgrade to version: 2.... gnutls 2.12.21 3.1.5 Constantin Musca <constantinx.musca@...> apt 0.9.7.7 0.9.7.8 Constantin Musca <constantinx.musca@...> libtasn1 2.14 3.2 Constantin Musca <constantinx.musca@...> librsvg 2.32.1 2.37.0 Constantin Musca <constantinx.musca@...> libx11 1.5.0 1.5.99.901 Constantin Musca <constantinx.musca@...> libsoup-2.4 2.40.2 2.41.91 Constantin Musca <constantinx.musca@...> gnome-desktop 2.32.1 3.7.91.1 Constantin Musca <constantinx.musca@...> http://ftp.gnome.org/pub/GNOME/sources/gnome-desktop/2.32/gnome-desktop-2.32.1.tar.bz2;name=archive gnome-icon-theme 2.31.0 3.7.91 Constantin Musca <constantinx.musca@...> http://ftp.gnome.org/pub/GNOME/sources/gnome-icon-theme/2.31/gnome-icon-theme-2.31.0.tar.bz2 liberation-fonts 1.04 2.00.1 Constantin Musca <constantinx.musca@...> 2.00.0 - fontforge package re... js 1.7.0+1.8.0rc1 185-1.0.0 Constantin Musca <constantinx.musca@...> gnome-keyring 2.32.1 3.7.91 Constantin Musca <constantinx.musca@...> http://ftp.gnome.org/pub/GNOME/sources/gnome-keyring/2.32/gnome-keyring-2.32.1.tar.bz2;name=archive libgnome-keyring 2.32.0 3.7.91 Constantin Musca <constantinx.musca@...> http://ftp.gnome.org/pub/GNOME/sources/libgnome-keyring/2.32/libgnome-keyring-2.32.0.tar.bz2;name=archive webkit-gtk 1.8.3 1.11.91 Constantin Musca <constantinx.musca@...> http://www.webkitgtk.org/releases/webkit-1.8.3.tar.xz linux-libc-headers-yocto 3.4+git-AUTOINC+a1cdb607 3.4.9 Bruce Ashfield <bruce.ashfield@...> linux-libc-headers 3.8 3.8.3 Bruce Ashfield <bruce.ashfield@...> diffstat 1.55 1.56 Bogdan Marinescu <bogdan.a.marinescu@...> tcl 8.5.13 8.6.0 Bogdan Marinescu <bogdan.a.marinescu@...> flex 2.5.35 2.5.37 Bogdan Marinescu <bogdan.a.marinescu@...> python 2.7.3 3.3.0 Bogdan Marinescu <bogdan.a.marinescu@...> python-scons 2.2.0 2.3.0 Bogdan Marinescu <bogdan.a.marinescu@...> tcf-agent 0.4.0+gitAUTOINC+4ef94ec 8.0 Bogdan Marinescu <bogdan.a.marinescu@...> btrfs-tools 0.19+gitAUTOINC+fdb6c040 0.20 Bogdan Marinescu <bogdan.a.marinescu@...> byacc 20121003 20130304 Bogdan Marinescu <bogdan.a.marinescu@...> python-pygobject 2.27.91 3.7.91.1 Bogdan Marinescu <bogdan.a.marinescu@...> bdwgc 7.2 7.2d Bogdan Marinescu <bogdan.a.marinescu@...> gmp 5.1.0 5.1.0a Bogdan Marinescu <bogdan.a.marinescu@...> intltool 0.50.2 0.51.0 Bogdan Marinescu <bogdan.a.marinescu@...> automake 1.12.6 1.13.1 Bogdan Marinescu <bogdan.a.marinescu@...> git 1.8.1.4 1.8.2 Bogdan Marinescu <bogdan.a.marinescu@...> mpfr 3.1.1 3.1.2 Bogdan Marinescu <bogdan.a.marinescu@...> shadow 4.1.4.3 4.1.5.1 Andrei Dinu <andrei.adrianx.dinu@...> Upgradable Count: 91 Upgrade Total Count: 110 The based commit merge time is: Wed Mar 13 14:26:45 2013 -0700 The based commit is: commit 67fb2ac1cd96a3d71b28401c6f7a677673e65dee Author: Joe Slater <jslater@...> Date: Wed Mar 13 13:42:41 2013 -0700 Any problem, please contact Saul Wold <sgw@...>
|
|
burn images to usb problem!!!
Florin Cristian Dan <dan.florincristian@...>
hello,
I'm preety new with linux embedded and especially with Yocyo Project wich by the way i think it's awesome. I managed to build a core-image-sato-quemux86, it runs ok within qemu, but now i want to boot this image from a USB memory stick, and i don't know how to do it, and wich files from /build/tmp/deploy/images to use.
I will be greatefull, for an answer, thank you very much
|
|
[PATCH 1/1] [meta-realtime] Add rt-app, schedtool, define core-image-realtime, and append recipies-kernel
Insop Song <insop.song@...>
*applications tested
1. rt-app - "rt-app" is a test application that starts multiple periodic threads in order to simulate a real-time periodic load - run example root@qemux86:~# rt-app -t 100000:35000:d -D 1 [rt-app] <notice> [0] Using SCHED_DEADLINE policy: [rt-app] <notice> [0] starting thread with period: 100000, exec: 35000,deadline: 100000, priority: 10 [rt-app] <notice> [0] Locking pages in memory idx period min_et max_et rel_st start end deadline dur. slack Budget Used Budget 0 100000 35000 35000 64705 305724113 305759126 305824105 35013 64979 ... 0 100000 35000 35000 965099 306624507 306659526 306724105 35019 64578 [rt-app] <notice> [0] Exiting. 2. schedtool - scheduler test tool - run example root@qemux86:~# schedtool -E -t 10000:100000 -a 0 -e yes > /dev/null& root@qemux86:~# schedtool -E -t 30000:100000 -a 0 -e yes > /dev/null& root@qemux86:~# jobs [1]- Running schedtool -E -t 10000:100000 -a 0 -e yes > /dev/null & [2]+ Running schedtool -E -t 30000:100000 -a 0 -e yes > /dev/null & $ top Mem: 33616K used, 84308K free, 0K shrd, 2684K buff, 13904K cached CPU: 37% usr 5% sys 0% nic 56% idle 0% io 0% irq 0% sirq Load average: 911.65 428.84 84.32 35501/62 715 PID PPID USER STAT VSZ %VSZ %CPU COMMAND 714 688 root R 2352 2% 28% yes 713 688 root R 2352 2% 9% yes 715 688 root R 2724 2% 4% top --- recipes-extended/images/core-image-realtime.bb | 12 +++++++++ recipes-kernel/linux/linux-yocto_3.8.bbappend | 9 +++++++ ...adline-as-a-default-to-go-around-yocto-bu.patch | 26 ++++++++++++++++++ recipes-tools/rt-app/rt-app.bb | 28 ++++++++++++++++++++ recipes-tools/schedtool-dl/schedtool-dl.bb | 23 ++++++++++++++++ 5 files changed, 98 insertions(+) create mode 100644 recipes-extended/images/core-image-realtime.bb create mode 100644 recipes-kernel/linux/linux-yocto_3.8.bbappend create mode 100644 recipes-tools/rt-app/files/0001-set-with-deadline-as-a-default-to-go-around-yocto-bu.patch create mode 100644 recipes-tools/rt-app/rt-app.bb create mode 100644 recipes-tools/schedtool-dl/schedtool-dl.bb diff --git a/recipes-extended/images/core-image-realtime.bb b/recipes-extended/images/core-image-realtime.bb new file mode 100644 index 0000000..d449e69 --- /dev/null +++ b/recipes-extended/images/core-image-realtime.bb @@ -0,0 +1,12 @@ +require recipes-core/images/core-image-minimal-dev.bb + +DEPENDS = "linux-yocto" + +IMAGE_FEATURES += "package-management ssh-server-dropbear" +EXTRA_IMAGE_FEATURES = "tools-debug debug-tweaks tools-profile dbg-pkgs" + +IMAGE_INSTALL = "\ + ${CORE_IMAGE_BASE_INSTALL} \ + rt-app \ + schedtool-dl \ + " diff --git a/recipes-kernel/linux/linux-yocto_3.8.bbappend b/recipes-kernel/linux/linux-yocto_3.8.bbappend new file mode 100644 index 0000000..175ab91 --- /dev/null +++ b/recipes-kernel/linux/linux-yocto_3.8.bbappend @@ -0,0 +1,9 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +KBRANCH_qemux86 = "standard/edf" +KBRANCH_fri2 = "standard/edf" + +SRCREV_machine_qemux86 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f" +SRCREV_machine_fri2 = "62d98f6b12f91cc7419b88dfa2e0abe077c94f9f" + +KERNEL_FEATURES_append =" cfg/edf.scc" diff --git a/recipes-tools/rt-app/files/0001-set-with-deadline-as-a-default-to-go-around-yocto-bu.patch b/recipes-tools/rt-app/files/0001-set-with-deadline-as-a-default-to-go-around-yocto-bu.patch new file mode 100644 index 0000000..a697e89 --- /dev/null +++ b/recipes-tools/rt-app/files/0001-set-with-deadline-as-a-default-to-go-around-yocto-bu.patch @@ -0,0 +1,26 @@ +From 041b2b65889c44c47f90313c5bf9ce61effa96df Mon Sep 17 00:00:00 2001 +From: Insop Song <insop.song@...> +Date: Sat, 9 Mar 2013 01:23:24 -0800 +Subject: [PATCH] set "--with-deadline" as a default to go around yocto build + error on deadline enabled + +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index a5e2990..64e57e4 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -34,7 +34,7 @@ AC_ARG_WITH([deadline], + [AS_HELP_STRING([--with-deadline], + [Add support for SCHED_DEADLINE])], + [], +- [with_deadline=no]) ++ [with_deadline=yes]) + + AS_IF([test "x$with_deadline" != xno], + [AC_DEFINE([DLSCHED], [1], [Define if you have SCHED_DEADLINE support]) +-- +1.7.9.5 + diff --git a/recipes-tools/rt-app/rt-app.bb b/recipes-tools/rt-app/rt-app.bb new file mode 100644 index 0000000..acce437 --- /dev/null +++ b/recipes-tools/rt-app/rt-app.bb @@ -0,0 +1,28 @@ +DESCRIPTION = "rt-app is a test application that starts multiple periodic threads in order to simulate a real-time periodic load" +SECTION = "devel" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;endline=339;md5=e43fc16fccd8519fba405f0a0ff6e8a3" +PR = "r1" + +SRCREV = "e81cbe9f76ee298feded17bb7455d4deb2fb32af" + +SRC_URI = "git://github.com/gbagnoli/rt-app.git \ + file://0001-set-with-deadline-as-a-default-to-go-around-yocto-bu.patch \ + " + +S = "${WORKDIR}/git" + +inherit autotools gettext pkgconfig + +do_configure_prepend() { + autoreconf --install --verbose --force +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 src/rt-app ${D}${bindir} +} + +FILES_{PN} = "${bindir}/rt-app" + +PARALLEL_MAKE = "" diff --git a/recipes-tools/schedtool-dl/schedtool-dl.bb b/recipes-tools/schedtool-dl/schedtool-dl.bb new file mode 100644 index 0000000..5592175 --- /dev/null +++ b/recipes-tools/schedtool-dl/schedtool-dl.bb @@ -0,0 +1,23 @@ +DESCRIPTION = "schedtool-dl (scheduler test tool) for deadline scheduler" +SECTION = "devel" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://Makefile;endline=55;md5=e4b4e8ed9c2132e1d727a1bb5e3bd984" +PR = "r1" + +SRC_URI = "git://github.com/jlelli/schedtool-dl.git;protocol=git" +SRCREV = "cd4e3f2f5a33c3266e25e447e8efbacb3b8c88da" + +S = "${WORKDIR}/git" + +do_compile() { + oe_runmake +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 schedtool ${D}${bindir} +} + +FILES_{PN} = "${bindir}/schedtool" + +PARALLEL_MAKE = "" -- 1.7.9.5
|
|
[PATCH 0/1] [meta-realtime] Add rt-app, schedtool, define core-image-realtime, and append recipies-kernel
Insop Song <insop.song@...>
meta-realtime layer for testing sched_deadline and other real-time applications
Add rt-app, schedtool, define core-image-realtime, and append recipies-kernel *applications tested are shown below: 1. rt-app - "rt-app" is a test application that starts multiple periodic threads in order to simulate a real-time periodic load - run example root@qemux86:~# rt-app -t 100000:35000:d -D 1 [rt-app] <notice> [0] Using SCHED_DEADLINE policy: [rt-app] <notice> [0] starting thread with period: 100000, exec: 35000,deadline: 100000, priority: 10 [rt-app] <notice> [0] Locking pages in memory idx period min_et max_et rel_st start end deadline dur. slack Budget Used Budget 0 100000 35000 35000 64705 305724113 305759126 305824105 35013 64979 ... 0 100000 35000 35000 965099 306624507 306659526 306724105 35019 64578 [rt-app] <notice> [0] Exiting. 2. schedtool - scheduler test tool - run example root@qemux86:~# schedtool -E -t 10000:100000 -a 0 -e yes > /dev/null& root@qemux86:~# schedtool -E -t 30000:100000 -a 0 -e yes > /dev/null& root@qemux86:~# jobs [1]- Running schedtool -E -t 10000:100000 -a 0 -e yes > /dev/null & [2]+ Running schedtool -E -t 30000:100000 -a 0 -e yes > /dev/null & $ top Mem: 33616K used, 84308K free, 0K shrd, 2684K buff, 13904K cached CPU: 37% usr 5% sys 0% nic 56% idle 0% io 0% irq 0% sirq Load average: 911.65 428.84 84.32 35501/62 715 PID PPID USER STAT VSZ %VSZ %CPU COMMAND 714 688 root R 2352 2% 28% yes 713 688 root R 2352 2% 9% yes 715 688 root R 2724 2% 4% top Insop Song (1): Add rt-app, schedtool, define core-image-realtime, and append recipies-kernel recipes-extended/images/core-image-realtime.bb | 12 +++++++++ recipes-kernel/linux/linux-yocto_3.8.bbappend | 9 +++++++ ...adline-as-a-default-to-go-around-yocto-bu.patch | 26 ++++++++++++++++++ recipes-tools/rt-app/rt-app.bb | 28 ++++++++++++++++++++ recipes-tools/schedtool-dl/schedtool-dl.bb | 23 ++++++++++++++++ 5 files changed, 98 insertions(+) create mode 100644 recipes-extended/images/core-image-realtime.bb create mode 100644 recipes-kernel/linux/linux-yocto_3.8.bbappend create mode 100644 recipes-tools/rt-app/files/0001-set-with-deadline-as-a-default-to-go-around-yocto-bu.patch create mode 100644 recipes-tools/rt-app/rt-app.bb create mode 100644 recipes-tools/schedtool-dl/schedtool-dl.bb -- 1.7.9.5
|
|
Re: [PATCH 1/1] add scheedtool-dl for testing sched_deadline use jiri's github as a main repo
Insop Song <insop.song@...>
On Fri, Mar 15, 2013 at 7:46 AM, Bruce Ashfield
<bruce.ashfield@...> wrote: On 13-03-15 04:47 AM, Insop Song wrote:I put the "libgcc" because rt-app complained during finish regarding pthread and libgcc during my previous meta-realtime/meta-dl, which was using core-image-minimal. Since, I updated my image bases this time, I might not need it. I will test without "libgcc" and will update the patch. I've updated my poky tree to the latest, and I am having trouble due to "neard" package failure (I post a question on this). That's why it's taking long to verify and update the patch. updated and testing is in-progress.diff --git a/recipes-tools/schedtool-dl/schedtool-dl.bb So one more version of the series and we should be good (you canI appreciate your through review and will send out the revision soon as I am done testing. Insop
|
|
Re: Loading a new yocto image to Intel Fri2 board
Insop Song <insop.song@...>
On Fri, Mar 15, 2013 at 8:58 AM, Darren Hart <dvhart@...> wrote:
yes, no rootwait for "sda" type generation. Regards, Insop
|
|
Re: [question] "icecc: improve interaction with sstate"
Insop Song <insop.song@...>
Wither further more testing, even at
toggle quoted messageShow quoted text
"e609afe4d747059480b406602cab90b7c36a0572", I still get the neard error. I suspect my sstate or working files, since this error comes at package generation. So I did "-c cleansstate" "-c cleanall" then run it with Richard fix as my master head (7803f5f98cf4d12d59ac793d9eb0048b701cafb7) It still gives me an error. So at this point, I will wait to see if any one is seen this recently. Thank you. Insop
On Fri, Mar 15, 2013 at 10:55 PM, Insop Song <insop.song@...> wrote:
On Fri, Mar 15, 2013 at 10:45 PM, Burton, Ross <ross.burton@...> wrote:On 15 March 2013 22:37, Insop Song <insop.song@...> wrote:Thank you for the information.I am using HEAD of master, and I have this error after I use commitAre you sure you're using head? This should have been fixed with this commit:
|
|
Re: [question] "icecc: improve interaction with sstate"
Insop Song <insop.song@...>
On Fri, Mar 15, 2013 at 10:45 PM, Burton, Ross <ross.burton@...> wrote:
On 15 March 2013 22:37, Insop Song <insop.song@...> wrote:Thank you for the information.I am using HEAD of master, and I have this error after I use commitAre you sure you're using head? This should have been fixed with this commit: Yes, I am on master, see this from my log in previous email. I have the fix for the bug (4022) in my master, but that don't fix it, until I my my head to "e609afe4d747059480b406602cab90b7c36a0572" metaThank you, Insop
|
|
Re: [question] "icecc: improve interaction with sstate"
Insop Song <insop.song@...>
Hi,
toggle quoted messageShow quoted text
Sorry, I pressed "send" too quick. Not the first commit, but after this commit I see the following error in my first email. Any one see this? Author: Olivier Guiter <olivier.guiter@...> 2013-03-12 13:33:52 Committer: Richard Purdie <richard.purdie@...> 2013-03-14 18:53:04 Parent: e609afe4d747059480b406602cab90b7c36a0572 (qemu-native:fix do_compile failed on SLED 11.2) Child: 31c134bc2c5be925edcb13804f35651a7b325acc (inputproto: upgrade to 2.3) Branch: remotes/origin/master Follows: 1.4_M4.final, 1.4_M4.rc1 Precedes: ----- Regards, Insop
On Fri, Mar 15, 2013 at 10:37 PM, Insop Song <insop.song@...> wrote:
Hi,
|
|
Re: [question] "icecc: improve interaction with sstate"
Burton, Ross <ross.burton@...>
On 15 March 2013 22:37, Insop Song <insop.song@...> wrote:
I am using HEAD of master, and I have this error after I use commitAre you sure you're using head? This should have been fixed with this commit: https://bugzilla.yoctoproject.org/show_bug.cgi?id=4022 Ross
|
|
[question] "icecc: improve interaction with sstate"
Insop Song <insop.song@...>
Hi,
I am using HEAD of master, and I have this error after I use commit " commit 1ceb13dda11645229053fc4840954333f8910ba4 Author: Martin Jansa <martin.jansa@...> Date: Wed Mar 13 20:04:51 2013 +0100 " Could anyone know about this? - my config Build Configuration: BB_VERSION = "1.17.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-12.04" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "1.3+snapshot-20130316" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-yocto = "master:1ceb13dda11645229053fc4840954333f8910ba4" meta-realtime = "schedtool:a766d16a1cf4da3c2dd13b8c7e53f89775733187" meta-yocto-bsp = "master:1ceb13dda11645229053fc4840954333f8910ba4" - error output: ERROR: Function failed: BUILDSPEC (see /home/insop/mybuilds/meta-realtime/tmp/work/i586-poky-linux/neard/0.9-gitAUTOINC+1e20e396cb837017b7e5ef822bfdab6ce060d2cf-r1/temp/log.do_package_write_rpm.31563 for further information) ERROR: Logfile of failure stored in: /home/insop/mybuilds/meta-realtime/tmp/work/i586-poky-linux/neard/0.9-gitAUTOINC+1e20e396cb837017b7e5ef822bfdab6ce060d2cf-r1/temp/log.do_package_write_rpm.31563 - full output: ~/mybuilds/meta-realtime $ time bitbake core-image-realtime Loading cache: 100% |################################################################################################| ETA: 00:00:00 Loaded 1121 entries from dependency cache. Parsing recipes: 100% |##############################################################################################| Time: 00:00:00 Parsing of 813 .bb files complete (812 cached, 1 parsed). 1121 targets, 27 skipped, 0 masked, 0 errors. Build Configuration: BB_VERSION = "1.17.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-12.04" TARGET_SYS = "i586-poky-linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "1.3+snapshot-20130316" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-yocto = "master:1ceb13dda11645229053fc4840954333f8910ba4" meta-realtime = "schedtool:a766d16a1cf4da3c2dd13b8c7e53f89775733187" meta-yocto-bsp = "master:1ceb13dda11645229053fc4840954333f8910ba4" NOTE: Resolving any missing task queue dependencies NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: Function failed: BUILDSPEC (see /home/insop/mybuilds/meta-realtime/tmp/work/i586-poky-linux/neard/0.9-gitAUTOINC+1e20e396cb837017b7e5ef822bfdab6ce060d2cf-r1/temp/log.do_package_write_rpm.31563 for further information) ERROR: Logfile of failure stored in: /home/insop/mybuilds/meta-realtime/tmp/work/i586-poky-linux/neard/0.9-gitAUTOINC+1e20e396cb837017b7e5ef822bfdab6ce060d2cf-r1/temp/log.do_package_write_rpm.31563 Log data follows: | DEBUG: Executing python function sstate_task_prefunc | DEBUG: Python function sstate_task_prefunc finished | DEBUG: Executing python function do_package_write_rpm | DEBUG: Executing python function read_subpackage_metadata | DEBUG: Python function read_subpackage_metadata finished | DEBUG: Executing python function do_package_rpm | DEBUG: Executing python function write_specfile | NOTE: Not creating empty RPM package for neard-tests | NOTE: Creating RPM package for neard-dbg | NOTE: Not creating empty RPM package for neard-staticdev | NOTE: Creating RPM package for neard-dev | NOTE: Not creating empty RPM package for neard-doc | NOTE: Not creating empty RPM package for neard-locale | NOTE: Creating RPM package for neard | NOTE: Creating RPM package for neard | DEBUG: Python function write_specfile finished | DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common', 'common-linux', 'common-glibc', 'i586-linux', 'common'] | DEBUG: Executing shell function BUILDSPEC | error: line 152: Illegal char '-' in EVR: Suggests: neard = 0.9-git0+1e20e396cb837017b7e5ef822bfdab6ce060d2cf-r1 | error: Package has no %description: neard-dbg.i586 | Building target platforms: i586-poky-linux | DEBUG: Python function do_package_rpm finished | DEBUG: Python function do_package_write_rpm finished | ERROR: Function failed: BUILDSPEC (see /home/insop/mybuilds/meta-realtime/tmp/work/i586-poky-linux/neard/0.9-gitAUTOINC+1e20e396cb837017b7e5ef822bfdab6ce060d2cf-r1/temp/log.do_package_write_rpm.31563 for further information) ERROR: Task 1370 (/home/insop/poky/meta/recipes-connectivity/neard/neard_0.9.bb, do_package_write_rpm) failed with exit code '1' NOTE: Tasks Summary: Attempted 3322 tasks of which 3281 didn't need to be rerun and 1 failed. Waiting for 0 running tasks to finish: Summary: 1 task failed: /home/insop/poky/meta/recipes-connectivity/neard/neard_0.9.bb, do_package_write_rpm Summary: There was 1 ERROR message shown, returning a non-zero exit code. real 0m27.611s user 0m30.158s sys 0m4.900s
|
|
Re: Problem with core-image-sato at init
Marco <koansoftware@...>
Il 15/03/2013 18:08, Satya Swaroop Damarla ha scritto:
Actually the problem is with splash. I solved it by removing it in theNope, looks like none of the daemons in /etc/rc5 start However they start if I do manually init 2 and then init 5 -- M.C.
|
|
Re: Problem with core-image-sato at init
Satya Swaroop Damarla <swaroop.damarla@...>
Actually the problem is with splash. I solved it by removing it in the init. Go to /etc/rc5 and either disable the splash or remove it. Then your image may run. Try this and let me know :) On 15 Mar 2013 17:58, "Marco" <koansoftware@...> wrote:
Il 06/03/2013 16:32, Satya Swaroop Damarla ha scritto:
|
|