This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
ostro-os: update to latest HEAD #20
Open
avalluri
wants to merge
13
commits into
ostroproject:master
Choose a base branch
from
avalluri:test-build
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
f995ce5
ostro-os: update to ostro-os master
avalluri 9f86a8f
meta-ostro-xt/upower: Rename upower bbappend
avalluri 33da572
perf: Remove runtime dependency on "man"
avalluri 49b7cd4
librealsense: Fix package QA warnings: 'No GNU_HASH in the elf binary:'
avalluri fccfef2
glmark2: Fix build errors by enabling c++ 11 features
avalluri 6a5806e
tinymembench: Fix QA Issue: No GNU_HASH in the elf binary
avalluri bbdd277
gstreamer-vaapi-1.0: Fallaback to v0.7.0
avalluri 1410376
backport-iwlwifi: Fix random build failure
avalluri a0f0950
ocl-icd: Disable manpage generation
avalluri b79c36d
ostro-xt-supported-recipes: New reicpes to support SVG image
avalluri 6e6d5d5
linux-firmware_git: Drop the local change
avalluri 4c53972
ant-native: Fix random build failure
avalluri ebad303
linux-yocto: fix do_patch failure due to lack of git config
avalluri File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Enable C++11 featuresa | ||
# Upstream-status: Submitted[http://lists.openembedded.org/pipermail/openembedded-devel/2016-October/109561.html] | ||
CXXFLAGS += "-std=c++11" | ||
|
29 changes: 29 additions & 0 deletions
29
...-xt/recipes-benchmark/tinymembench/files/0001-Pass-linker-flags-LDFLAGS-to-compiler.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 13eb823a18c52441fd8231537bf60e7dfdd23925 Mon Sep 17 00:00:00 2001 | ||
From: Amarnath Valluri <[email protected]> | ||
Date: Tue, 4 Oct 2016 14:34:58 +0300 | ||
Subject: [PATCH] Pass linker flags(LDFLAGS) to compiler | ||
|
||
Upstream-status:Submitted | ||
https://github.com/ssvb/tinymembench/pull/9/commits/13eb823a18c52441fd8231537bf60e7dfdd23925 | ||
|
||
Signed-off-by: Amarnath Valluri <[email protected]> | ||
--- | ||
Makefile | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/Makefile b/Makefile | ||
index 31ca60e..024a56f 100644 | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -5,7 +5,7 @@ ifdef WINDIR | ||
endif | ||
|
||
tinymembench: main.c util.o util.h asm-opt.h version.h asm-opt.o x86-sse2.o arm-neon.o mips-32.o aarch64-asm.o | ||
- ${CC} -O2 ${CFLAGS} -o tinymembench main.c util.o asm-opt.o x86-sse2.o arm-neon.o mips-32.o aarch64-asm.o -lm | ||
+ ${CC} -O2 ${CFLAGS} ${LDFLAGS} -o tinymembench main.c util.o asm-opt.o x86-sse2.o arm-neon.o mips-32.o aarch64-asm.o -lm | ||
|
||
util.o: util.c util.h | ||
${CC} -O2 ${CFLAGS} -c util.c | ||
-- | ||
2.5.0 | ||
|
2 changes: 2 additions & 0 deletions
2
meta-ostro-xt/recipes-benchmark/tinymembench/tinymembench_%.bbappend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
SRC_URI += "file://0001-Pass-linker-flags-LDFLAGS-to-compiler.patch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# With lack of task dependency between 'do_removebinaries' and 'do_removecruft' | ||
# seen some timing issues on parallel builds, 'find' in do_removebinaries try | ||
# to work on directories already removed by do_removecruft., | ||
# Hence we make sure that both tasks execute sequentially than parallelly. | ||
# | ||
# Patch status: submitted[http://lists.openembedded.org/pipermail/openembedded-devel/2016-October/109464.html] | ||
# | ||
# Remove existing do_removecruft | ||
deltask removecruft | ||
# Add do_removecruft after do_removebinaries | ||
addtask removecruft before do_patch after do_removebinaries |
12 changes: 0 additions & 12 deletions
12
meta-ostro-xt/recipes-kernel/linux-firmware/linux-firmware_git.bbappend
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
RDEPENDS_${PN}-doc_remove = "man" |
1 change: 0 additions & 1 deletion
1
meta-ostro-xt/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_%.bbappend
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
meta-ostro-xt/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_0.7.0.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
require recipes-multimedia/gstreamer/gstreamer-vaapi.inc | ||
|
||
DEPENDS += "gstreamer1.0 gstreamer1.0-plugins-base" | ||
|
||
SRC_URI[md5sum] = "ce2d4921b8d9c78edd609d95e8c502d3" | ||
SRC_URI[sha256sum] = "abe8ea4dfb3177d038b38610537c651b943707ed110882782a19b95a9ea04a92" | ||
|
||
SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.bz2" | ||
|
||
SRC_URI =+ "file://0001-decoder-h265-Fix-offset-calculation-in-codec_data-pa.patch" | ||
|
||
EXTRA_OECONF += "--disable-builtin-libvpx" |
31 changes: 31 additions & 0 deletions
31
...gstreamer/gstreamer-vaapi/0001-decoder-h265-Fix-offset-calculation-in-codec_data-pa.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
From dd227da41e953e79c8e05cd6f838a0e267d2d9b5 Mon Sep 17 00:00:00 2001 | ||
From: Sreerenj Balachandran <[email protected]> | ||
Date: Fri, 11 Mar 2016 17:44:07 +0200 | ||
Subject: [PATCH] decoder: h265: Fix offset calculation in codec_data parsing | ||
|
||
Upstream-status: Backport | ||
|
||
https://bugzilla.gnome.org/show_bug.cgi?id=762922 | ||
|
||
Signed-off-by: Sreerenj Balachandran <[email protected]> | ||
Signed-off-by: Azril Ahmad <[email protected]> | ||
Signed-off-by: Chang Rebecca Swee Fun <[email protected]> | ||
--- | ||
gst-libs/gst/vaapi/gstvaapidecoder_h265.c | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_h265.c b/gst-libs/gst/vaapi/gstvaapidecoder_h265.c | ||
index 3c5a9d9..fd8250a 100644 | ||
--- a/gst-libs/gst/vaapi/gstvaapidecoder_h265.c | ||
+++ b/gst-libs/gst/vaapi/gstvaapidecoder_h265.c | ||
@@ -2688,6 +2688,7 @@ gst_vaapi_decoder_h265_decode_codec_data (GstVaapiDecoder * | ||
goto cleanup; | ||
break; | ||
} | ||
+ ofs = pi->nalu.offset + pi->nalu.size; | ||
gst_vaapi_parser_info_h265_replace (&pi, NULL); | ||
} | ||
} | ||
-- | ||
1.9.1 | ||
|
43 changes: 43 additions & 0 deletions
43
meta-ostro-xt/recipes-multimedia/gstreamer/gstreamer-vaapi/install-tests.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
From 2791dfde0de0abe8100fa833dfe1a9c2e74c2629 Mon Sep 17 00:00:00 2001 | ||
From: Jianxun Zhang <[email protected]> | ||
Date: Thu, 21 Jan 2016 16:25:44 -0800 | ||
Subject: [PATCH] Install tests | ||
|
||
This patch is updated for 0.6.1 | ||
|
||
Upstream-Status: Inappropriate | ||
|
||
Signed-off-by: Jianxun Zhang <[email protected]> | ||
--- | ||
tests/Makefile.am | 6 +++--- | ||
1 file changed, 3 insertions(+), 3 deletions(-) | ||
|
||
diff --git a/tests/Makefile.am b/tests/Makefile.am | ||
index 3637d92..7cc6a97 100644 | ||
--- a/tests/Makefile.am | ||
+++ b/tests/Makefile.am | ||
@@ -1,4 +1,4 @@ | ||
-noinst_PROGRAMS = \ | ||
+bin_PROGRAMS = \ | ||
simple-decoder \ | ||
test-decode \ | ||
test-display \ | ||
@@ -9,13 +9,13 @@ noinst_PROGRAMS = \ | ||
$(NULL) | ||
|
||
if USE_ENCODERS | ||
-noinst_PROGRAMS += \ | ||
+bin_PROGRAMS += \ | ||
simple-encoder \ | ||
$(NULL) | ||
endif | ||
|
||
if USE_GLX | ||
-noinst_PROGRAMS += \ | ||
+bin_PROGRAMS += \ | ||
test-textures \ | ||
$(NULL) | ||
endif | ||
-- | ||
1.9.1 | ||
|
44 changes: 44 additions & 0 deletions
44
meta-ostro-xt/recipes-opencl/ocl-icd/ocl-icd/configurable-doc-generation.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
From 9824c3bed4676c9a17adbfc8178d7f3e96c60670 Mon Sep 17 00:00:00 2001 | ||
From: Amarnath Valluri <[email protected]> | ||
Date: Mon, 26 Sep 2016 13:35:54 +0300 | ||
Subject: [PATCH] Added configure option(--enable/disable-doc) for manpage | ||
generation. | ||
|
||
This allows to build without documentation even in case of asccidoc,a2x,xmlto | ||
tools availabe. | ||
|
||
Upstream-Status: Inappropriate[embedded-specific] | ||
|
||
Signed-off-by: Amarnath Valluri <[email protected]> | ||
--- | ||
configure.ac | 14 +++++++++++--- | ||
1 file changed, 11 insertions(+), 3 deletions(-) | ||
|
||
diff --git a/configure.ac b/configure.ac | ||
index 264d6e0..eb54bb2 100644 | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -30,9 +30,17 @@ AC_PROG_INSTALL | ||
AC_PROG_LN_S | ||
AM_PROG_CC_C_O | ||
|
||
-AC_PATH_PROG([ASCIIDOC], [asciidoc], []) | ||
-AC_PATH_PROG([A2X], [a2x], []) | ||
-AC_PATH_PROG([XMLTO], [xmlto], []) | ||
+AC_ARG_ENABLE([doc], | ||
+ [AS_HELP_STRING([--enable-doc], | ||
+ [Generate documentation])], | ||
+ [generate_doc=$enableval], | ||
+ [generate_doc=no]) | ||
+ | ||
+if test "x$generate_doc" = "xyes"; then | ||
+ AC_PATH_PROG([ASCIIDOC], [asciidoc], []) | ||
+ AC_PATH_PROG([A2X], [a2x], []) | ||
+ AC_PATH_PROG([XMLTO], [xmlto], []) | ||
+fi | ||
AM_CONDITIONAL([GEN_DOC], [\ | ||
test x"$ASCIIDOC" != x && \ | ||
test x"$A2X" != x && \ | ||
-- | ||
2.5.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
LICENSE = "BSD-2-Clause" | ||
LIC_FILES_CHKSUM = "file://COPYING;md5=232257bbf7320320725ca9529d3782ab" | ||
|
||
SRC_URI = "https://forge.imag.fr/frs/download.php/716/${BP}.tar.gz" | ||
SRC_URI = " \ | ||
https://forge.imag.fr/frs/download.php/716/${BP}.tar.gz \ | ||
file://configurable-doc-generation.patch \ | ||
" | ||
SRC_URI[md5sum] = "7dab1a9531ea79c19a414a9ee229504e" | ||
SRC_URI[sha256sum] = "0c8ac13e2c5b737c34de49f9aca6cad3c4d33dd0bbb149b01238d76e798feae5" | ||
|
||
inherit autotools | ||
|
||
EXTRA_OECONF = "--disable-doc" | ||
|
||
DEPENDS += "ruby-native" | ||
|
||
BBCLASSEXTEND = "native" |
43 changes: 43 additions & 0 deletions
43
meta-ostro-xt/recipes-support/librealsense/files/0001-Make-use-of-LDFLAGS.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
From 42f7e9b359a2704372fa0d6278086f0cac010535 Mon Sep 17 00:00:00 2001 | ||
From: Amarnath Valluri <[email protected]> | ||
Date: Tue, 27 Sep 2016 14:36:23 +0300 | ||
Subject: [PATCH] Make use of LDFLAGS | ||
|
||
Upstream-status:Not-Submitted[Upstream is moving to cmake build] | ||
|
||
Signed-off-by: Amarnath Valluri <[email protected]> | ||
--- | ||
Makefile | 8 ++++---- | ||
1 file changed, 4 insertions(+), 4 deletions(-) | ||
|
||
diff --git a/Makefile b/Makefile | ||
index 27f1f39..4224624 100644 | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -93,14 +93,14 @@ obj obj/libuvc lib bin: | ||
|
||
# Rules for building the sample programs | ||
bin/c-%: examples/c-%.c lib/librealsense.so | bin | ||
- $(CC) $< $(REALSENSE_FLAGS) $(GLFW3_FLAGS) -o $@ | ||
+ $(CC) $< $(REALSENSE_FLAGS) $(GLFW3_FLAGS) $(LDFLAGS) -o $@ | ||
|
||
bin/cpp-%: examples/cpp-%.cpp lib/librealsense.so | bin | ||
- $(CXX) $< -std=c++11 $(REALSENSE_FLAGS) $(GLFW3_FLAGS) -o $@ | ||
+ $(CXX) $< -std=c++11 $(REALSENSE_FLAGS) $(GLFW3_FLAGS) $(LDFLAGS) -o $@ | ||
|
||
# Rules for building the library itself | ||
lib/librealsense.so: $(OBJECTS) | lib | ||
- $(CXX) -std=c++11 -shared $(OBJECTS) $(LIBUSB_FLAGS) -o $@ | ||
+ $(CXX) -std=c++11 -shared $(OBJECTS) $(LIBUSB_FLAGS) $(LDFLAGS) -o $@ | ||
|
||
lib/librealsense.a: $(OBJECTS) | lib | ||
ar rvs $@ `find obj/ -name "*.o"` | ||
@@ -124,4 +124,4 @@ obj/verify.o: src/verify.c | obj | ||
all-tests: F200-live-test LR200-live-test R200-live-test SR300-live-test ZR300-live-test offline-test | ||
|
||
%-test: unit-tests/* lib/librealsense.so | ||
- $(CXX) unit-tests/*.cpp -std=c++11 -o bin/tests/$@ -D$(if $(findstring live,$@),LIVE_TEST,OFFLINE_TEST) -D$(firstword $(subst -, ,$@))_TEST -DMAKEFILE $(REALSENSE_FLAGS) | ||
+ $(CXX) unit-tests/*.cpp -std=c++11 -o bin/tests/$@ -D$(if $(findstring live,$@),LIVE_TEST,OFFLINE_TEST) -D$(firstword $(subst -, ,$@))_TEST -DMAKEFILE $(REALSENSE_FLAGS) $(LDFLAGS) | ||
-- | ||
2.5.0 | ||
|
3 changes: 3 additions & 0 deletions
3
meta-ostro-xt/recipes-support/librealsense/librealsense_%.bbappend
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
SRC_URI_append = " file://0001-Make-use-of-LDFLAGS.patch" | ||
EXTRA_OEMAKE_append = " 'LDFLAGS=${LDFLAGS}'" |
File renamed without changes.
Submodule ostro-os
updated
2435 files
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This patch must have proper origin header, to clearly specify where it comes from, who is author, upstream status, etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kad, Thanks for pointing out, I was in impression that git formatted patch fail to apply on non-git source, now I git formatted the patch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@avalluri what were the other patches git apply failed and f089278 was needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mythi, Currently there are two patches in kernel patch series on XT:
Both fail to apply if we not provide committer details either via environment or via global git config.
This is not visible on non-docker builds as, usually host .gitconfig set properly, But not the case with docker container.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost all git actions(atleast in this context am,apply) look for committer details before applying the patch. That's what i observed with this exercise :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's the reason for clean build inside container: catch inconsistencies in data and patches :)