aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2021-06-24aglsetup: Fix append_fragment fails with heredocs on Ubuntu 21.04.vasyl1-3/+3
Looks like bash creates temporary file for heredocs and passes fd to deleted file to command that use heredocs. Therefore, it is better not to use '[[ -f /dev/stdin ]]' in case of heredocs. Replaced it with more relaxed condition. Bug-AGL: SPEC-3990 Change-Id: Ib68d1510dd6899b0f60b207071b222ef1933bf77 Signed-off-by: vasyl <vasyl.vavrychuk@opensynergy.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26428 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-03-31aglsetup: Override templateconf.cfg in case of -f, --force.Vasyl Vavrychuk1-0/+1
Overriding this config file was missing for some reason. Bug-AGL: SPEC-3861 Change-Id: Iddf195615291b166a05bedb5ef0ddf645265e546 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26208 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-12-17SPEC-3723: restructure meta-aglJan-Simon Moeller1-18/+0
Goal is to reach a minimal meta-agl-core as base for IVI and IC work at the same time. Trim dependencies and move most 'demo' related recipes to meta-agl-demo. v2: changed to bbapend + .inc , added description v3: testbuild of all images v4: restore -test packagegroup and -qa images, compare manifests and adapt packagegroups. v5: rebased v6: merged meta-agl-distro into meta-agl-core, due to dependency on meta-oe, moved -test packagegroup and -qa images to own layer meta-agl-core-test v7: Fixed comments from Paul Barker v8: Update the markdown files v9: restore wayland/weston/agl-compositor recipes/appends, reworked to move app f/w specific changes to bbappends in meta-app-framework and only demo specific weston-init changes to meta-agl-demo v10: fix s/agldemo/aglcore/ missed in weston-init.bbappend Description: This patch is part 1 out of 2 large patches that implement the layer rework discussed during the previous workshop. Essentially meta-agl-core is the small but versatile new core layer of AGL serving as basis for the work done by the IC and IVI EGs. All demo related work is moved to meta-agl-demo in the 2nd patchset. This should be applied together as atomic change. The resulting meta-agl/* follows these guidelines: - only bsp adaptations in meta-agl-bsp - remove the agl-profile-* layers for simplicity -- the packagegroup-agl(-profile)-graphical and so on have been kept in meta-agl-demo - meta-agl-profile-core is now meta-agl-core - meta-agl-core does pass yocto-check-layer -- therefore use the bbappend + conditional + .inc file construct found in meta-virtualization - meta-agl/meta-security has been merged into meta-agl/meta-app-framework - meta-netboot does pass yocto-check-layer - meta-pipewire does pass yocto-check-layer Migration: All packagegroups are preserved but they're now enabled by 'agl-demo'. Bug-AGL: SPEC-3723 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia6c6e5e6ce2b4ffa69ea94959cdc57c310ba7c53 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25769
2020-08-31Remove old components around joule boardJan-Simon Möller3-1229/+0
Remove scripts that supported the EOL Joule board. Bug-AGL: SPEC-3555 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I2a50ed2631ff1bc961717e7cff27b861f6c43d5b Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25159 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2019-07-20aglsetup: add -t|--topic and -V|--version optionsStephane Desneux3-12/+51
New options are: * -t|--topic : add a 'topic' to current setup (default: empty) * -V|--version : display aglsetup version The topic value can be any string and it is propagated to aglsetup.manifest, which in turn is used by distro-build-manifest to put it in DIST_BUILD_TOPIC variable in all build manifests (deploy dir, target image, sdk) Using the --topic option to specify a unique identifier will help to provide a common ID for all builds in the same "family" even if features and layers differ. For this purpose, a topic could be: * a gerrit review id + a patchset number * a project name (git repo) + a Change-Id * a random UUID * ... When run with -V or --version, aglsetup writes its version on stdout and sets the variable AGLSETUP_VERSION then exits. As aglsetup can only be called by being sourced, the AGLSETUP_VERSION variable is finally set in the caller environment. The version can be used for various purposes. The immediate goal is to detect if --topic option is supported or not. Bug-AGL: SPEC-2646 Change-Id: I0b68dfa297509dac07e9b2942948631cfc13c319 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-07-16distro-build-manifest: add DIST_BUILD_TS in all manifestsStephane Desneux1-5/+9
The build timestamp is added to build manifests deployed in target images and SDK. Also, this patch adds a new option '-t|--timestamp' to distro-manifest-generator.sh to let the recipe pass the same timestamp as the one used for the image suffix (in Yocto 2.6/Thud, DATETIME is used). So DIST_BUILD_TS should have the same value as the image version suffix. Bug-AGL: SPEC-2649 Change-Id: I2a9d11b2ce59753bca31ebb8e82d46c224110d68 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-07-16distro-build-manifest: fix incorrect DIST_LAYERSStephane Desneux1-1/+1
Using repo tool, a .repo subfolder is created beside the cloned git repositories. It contains also some git repositories (handled by repo tool). But when enumerating the layers, those extra ".repo/xxxx" git repositories must be ignored to get a consistent signature on layers. This patch excludes hidden folders (starting by '.') from the search. Bug-AGL: SPEC-2648 Change-Id: Ibee41d4efff0898d1bf67ab661ccdf70729b6211 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-06-26Append a new empty line to features' local template file when setting up AGLBechir Mghirbi1-0/+1
A missing empty line at the end of a feature's local template file will lead to a ParseError error. This patchset will automatically append a new line at the end of the feature's local template file when setting up AGL. Bug-AGL: SPEC-2563 Signed-off-by: Bechir Mghirbi <bechir.mghirbi@grammer.com> Change-Id: Ica9decdb0bda182de7e25ace4fca6a9f6f7db5ff
2019-06-20distro-manifest-generator: enhance git repos detectionStephane Desneux1-2/+2
Following recent change 334a201 (#21619), it's now necessary to explore the layers folder to find git repositories. But when the build directory is a subfolder of $METADIR (repo folder), 'find' digs too deeply to find git repositories. This patch adds some limits for 'find' to dig into subfolders: * only find "top" git repos (no git submodules) * limit the search depth to 2 Bug-AGL: SPEC-2450 Change-Id: Idd907737673d196cc8ba157a5c49492119efeb88 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-06-17distro-build-manifest: fix DIST_LAYERS due to new layoutStephane Desneux1-1/+1
New layout with subfolders causes incomplete DIST_LAYERS to be generated in deploy/images/.../build-info. This patches fixes how git repos are found in the layers directory. Bug-AGL: SPEC-2450 Change-Id: I4b6a62b68064de12119e668522242677e11c65eb Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-06-12aglsetup: remove useless warning due to new layoutStephane Desneux1-4/+4
Some warnings are emitter on stderr when enumerating layers with wildcards. This patch removes the useless messages from the output because that may be misinterpreted by the user. Bug-AGL: SPEC-2450 Change-Id: I1fbde964e9a0824146a088868de9a464efccb4f1 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-06-12aglsetup: be less restrictive on machines/features definitionsStephane Desneux1-1/+1
When a private definition for a machine or feature has to be maintained, the easy way is to have an extra layer 'meta-xxxxxx' containing specific definitions on top of AGL. This layer can be fetched beside other meta-agl repos. In the past, aglsetup used to include any definition located in the $METADIR folder ($METADIR/*/templates/...). With the new layout and change 2b3a44b, a restriction has been put on folders matching 'meta-ag*', which is very restrictive. This patch does something in between, by matching all folders 'meta-*'. NB: with the new layout, this shouldn't include bsp layers or external layers so it's pretty safe. Bug-AGL: SPEC-2450 Change-Id: I459ea778380580e5b80685cc86779f36a232ac7c Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-06-10Changes to support the repo clone reworkJan-Simon Möller1-10/+12
To be merged together with: https://gerrit.automotivelinux.org/gerrit/#/c/AGL/AGL-repo/+/21389/ v2: fix the aglsetup script v3: fix scripts to extract m3ulcb v4: use single folder for BSPs Bug-AGL: SPEC-2450 Change-Id: I3227896c68ec1413f55cf67ad8f15a7adfe87a52 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-11-23distro-manifest-generator: add support for JSON output formatguppy_6.99.1guppy/6.99.16.99.1Stephane Desneux1-49/+206
Distro build manifest is easier to parse if output is made in a structured format. Adding JSON output format will allow bindings to read information more easily. The files created are now: On target: * /etc/platform-info/build (shell format) * /etc/platform-info/build.json (JSON format) In image deploy dir (.../tmp/deploy/images/$MACHINE/): * build-info (shell format) * build-info.json (JSON format) In sdk deploy dir (.../tmp/deploy/sdk/): * poky-agl-<version details>.build-info (shell format) * poky-agl-<version details>.build-info.json (JSON format) Bug-AGL: SPEC-720, SPEC-1917 Change-Id: If45d2c5dd96b15ce790aa7f7f97c24f119ad117b Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-11-22distro-build-manifest: don't use BB_ENV_EXTRAWHITEStephane Desneux1-8/+8
To keep the workflow compliant with upstream Yocto projects, it's better to not use BB_ENV_EXTRAWHITE to pass variables to recipes. This commit updates aglsetup to generate the file agl-init-build-env as 'before' (=before the addition of distro-build-manifest) Bug-AGL: SPEC-720, SPEC-1741 Change-Id: I96df245e099c15a1d2425052c4d8cc64363042c8 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-10-24aglsetup: Fix mix of spaces and tabsJosé Bollo1-4/+4
Change-Id: I6579e0bc79e030b64bfbf936fc90d42298e73732 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-10-09aglsetup: generate setup manifest fileStephane Desneux2-0/+195
This patch modifies aglsetup to output the execution context in a "setup manifest" located in $builddir/aglsetup.manifest This file can then be processed by another script (distro-manifest-generator.sh) to generate a complete distro manifest at build time. Bug-AGL: SPEC-720, SPEC-1741 Change-Id: I1f9bc8a6d8bc4c659e59ed0025f71ad9e1c86355 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-09-28Add an AGL revision to the RPM packageRonan Le Martret1-17/+29
* To update a rpm file (with dnf) we need to have a valid rpm revision. Let 2 packages pkg_1 and pkg_2 (built in yocto). If pkg_2 is newer than pkg_1, and one wants to be able to update it with dnf, it must respect some rpm naming rules. if ${pkg_2_name} > ${pkg_1_name} -> pkg_2 is newer than pkg_1 elif ${pkg_2_name} = ${pkg_1_name} and ${pkg_2_revision} > ${pkg_1_revision} -> pkg_2 is newer than pkg_1 else -> pkg_2 is equal or older than pkg_1 Currently, the Yocto build process (used by AGL, so whithout special service) doesn't change revisions for a build. So packages are not updatable from a repository with dnf. * This patch adds an option -r|--rpm-revision <schema> to aglsetup.sh so that RPMs produced by bitbake will have correct revisions suitable for binary publishing. <schema> can be: 'prservice[:<address>]' : Use a PR service daemon. if <address> is not specified, the default value 'localhost:0' is used (shortcut for a PR service started by bitbake) 'timestamp' : Use a generated time stamp (UTC). 'value:<revision>' : Use <revision> explicitly. 'none' : Do nothing. p16: change --rpm-revision options parsing, use UTC timestamps, refactor code p19: remove smart parsing of host:port for prservice option - back to dumb option Bug-AGL: SPEC-920 Change-Id: I1f4c9fd093fa350d19450a12ac1847885740596d Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Johann CAHIER <johann.cahier@iot.bzh> Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-09-06scripts/mkefi-agl.sh: fix cleanupStephane Desneux1-1/+1
This patch fixes the removal of the huge file /tmp/TMP-AGL-wic-image.wic Change-Id: I8858109dca62eb20d4bdabab3d7a593205a30ea6 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-08-01Remove porter reference from meta-aglRonan Le Martret1-3/+5
* Remove, from recipes, reference to porter, gen2, krogoth. * cleanup mardown from reference to porter. * cleanup markdown (markdownlint score 0). Change-Id: I70b9880fc52ef3c848da588d3a256fa8eee48606 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-04-03Make better use of UUIDs on Intel platform wks filesTom Rini2-0/+6
- Stop using --ondisk XXX in the wks files, that enforces using USB/SATA/etc as /etc/fstab will be referencing these devices. - Pass --use-uuid for the boot partition - Update mkefi-agl.sh and mkabl-agl.sh to modify the final fstab to use the PARTUUID they create rather than the PARTUUID of the resulting wic file. Change-Id: I450ba77805fdb83e31411ea48b25aad415fa8a69 Bug-AGL: SPEC-1300 Signed-off-by: Tom Rini <trini@konsulko.com>
2018-03-01Adding support for NVM Express partitionsDominig ar Foll Intel Open Source1-2/+2
Change-Id: I245d77f231fbb625d5e13a2c7e0e9cbabfebdf80 Signed-off-by: Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net>
2018-02-01warning for microcode being ignored when presentDominig ar Foll Intel Open Source1-1/+1
Change-Id: I748d4858c523e8c41d41a9acdd4b117b40937400 Signed-off-by: Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net>
2017-12-22adding copying of microcode.cpio if presentDominig ar Foll Intel Open Source1-1/+5
Change-Id: Ia1903d6e5906f3353ba1ad1f9c259865bf507330 Signed-off-by: Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net>
2017-12-18Adding mkabl to support MRB platforms (non signed kernel) and ↵Dominig ar Foll Intel Open Source3-3/+706
detection/rejection of configiguration with initrd=microcode.cpio Change-Id: Iff7cbd34fb8abd0f0860fe183018a2d9a133614e Signed-off-by: Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12663 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-12-10adding support for .wic .wic.xz as source for imageDominig ar Foll Intel Open Source2-28/+120
Change-Id: I94c09c6105ac06a37cedc04c777dd1372015a02d Signed-off-by: Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12263 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-23aglsetup: exit with error if fragment script failsStephane Desneux1-1/+1
Bug-AGL: SPEC-1002 Change-Id: I93407ca24c67b6b7c4e9aa09325fbf78d01f1c64 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12111 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-11small improvment and correction in mkefi-agl.sh scriptDominig ar Foll (Intel Open Source)1-26/+33
Change-Id: I5d191ba33b4a1a561daeff89f17dd62ce329d079 Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10767 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-03-03handling of console device by local.conf to automate Joule supportDominig ar Foll (Intel Open Source)1-24/+18
Change-Id: I884827ed221ad7dc53512aa213291b1f48e60dac Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net>
2017-03-01aglsetup: check build dir integrity (no spaces)Stephane Desneux1-1/+9
The absolute build path shouldn't contain any space. Discussion: https://lists.linuxfoundation.org/pipermail/automotive-discussions/2017-February/003522.html Change-Id: If3de580a2a8fd0f944c40f669a9fcd2de7e1f04b Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-01-27scripts/aglsetup: remove duplicate features before generating configStephane Desneux1-2/+2
With features dependencies, it may happen that the final list of features to handle contains duplicates. With recent changes on configuration fragments, this produces some WARNINGS due to multiple inclusions of the same file in the generated local.conf . This commit cleans up the features list resolved internally by removing duplicates before generating local.conf Change-Id: I009c41108086e76b76272e62c8ba9101fcc45437 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-11-24Convert feature.inc to feature.depJan-Simon Möller1-21/+0
This converts the included features used for CI purposes to use the dependency format introduced. Change-Id: I405af9ffbd6954d0e78b5f738e762a80687337d7 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-11-16Add feature shortcuts matching ci systemJan-Simon Möller1-0/+21
These features (shortcuts) do activate the feature set for: - the changeset builds (agl-ci-change-features) - the snapshot builds (agl-ci-snapshot-features) Change-Id: I4972f61b070836fedef8e06d32deaf07b8978dfb Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-11-08allow dependency between agl featureRonan1-9/+40
* you can add included.inc file for each feature * if features is include into an other feature, they are print during the --help command #source meta-agl/scripts/aglsetup.sh -h ... Available features: [meta-agl] agl-all-features :( agl-demo agl-appfw-smack agl-devel agl-netboot agl-sota ) agl-archiver agl-devel agl-isafw agl-netboot [meta-agl-devel] agl-renesas-kernel [meta-agl-extra] agl-appfw-smack agl-demo :( agl-appfw-smack agl-devel) Change-Id: I4a72abd48f70a9262203acba84fac24d9dd4dce0 Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
2016-10-24Adding support for systemd-boot (or ex-gummyboot) on top of grubDominig ar Foll1-4/+30
Change-Id: I3e3306ec9c8b2cd898beb779bbbade235a83901e Signed-off-by: Dominig ar Foll <dominig.arfoll@fridu.net>
2016-10-19Add shortcut to enable all featuresJan-Simon Möller1-0/+9
This change introduces an agl-all-features flag. It is basically a feature that will enable a list of 'known-good' features from an included file. It is meant to serve two purposes: - simplify automation scripts - ease-of-use for users building the whole set of features Change-Id: Ia962d6ec8a6c6345fb27e303cabbf805e729a8ca Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-10-18Fix aglsetup always succeeded regardless of whether errors or notTadao Tanikawa1-11/+11
The aglsetup is always succeeded regardless of whether got errors while executing sub scripts or not. This is caused by following script. call_func 2>&1 | tee xxxx.log The result of this line always becomes 0 (succeeded) by result of command 'tee'. The '$PIPESTATUS[]' should be used for this case. Change-Id: I67bf0dbc86331ec7858bd8edb4739a5e7729275b Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-10-05adding mkefi-agl.sh create boot devices from AGL images for UEFI bootDominig ar Foll2-0/+413
Change-Id: I0e89fc869c048d6bd1b49904a683f645ca51ebec Signed-off-by: Dominig ar Foll <dominig.arfoll@fridu.net>
2016-09-09aglsetup.sh: handle machines/features from any layerStephane Desneux1-12/+45
This patch allows the setup script called by scripts/aglsetup.sh to search for available machines and features in all repositories located in the meta directory (the directory where meta-agl has been cloned). In particular, this now allows to specify a machine or a feature located in meta-agl-devel. Important note: duplicate machines or features in different layers are detected and forbidden (script fails with error) to avoid any ambiguity. Change-Id: If55105a05889ca95da856d65986a86f4ef5f4b2c Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-07-08aglsetup script: fix interactive execution of the script generated from ↵Stephane Desneux1-1/+1
fragments This fixes the problem with Qualcomm boards where EULA approval is required. See: https://lists.linuxfoundation.org/pipermail/automotive-discussions/2016-July/002279.html Change-Id: Ifad216bf559a246d6883e7c2828dacd7bd225075 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-07-05new configuration templates based on fragmentsStephane Desneux3-202/+537
This is the application of the process proposed here: https://lists.linuxfoundation.org/pipermail/automotive-discussions/2016-June/002232.html Bug-AGL: SPEC-180 Change-Id: I5a7015fa810547a9ecf4fb096367323af3cdc670 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2016-05-02Add DragonBoard-410c as target boardKotaro Hashimoto1-0/+97
This patch adds the dragonboard-410c as DragonBoard-410c target. There are instructions to write image into eMMC and boot system at: https://github.com/96boards/documentation/wiki/Dragonboard-410c-Installation-Guide-for-Linux-and-Android#flash-the-bootloader-into-on-board-emmc v2: Rebase after merge conflict (jsmoeller) v3: Generalize the eula script into function to be reuseable (jsmoeller) Depends-On: Idcad2c27539af130704a3c66efe6b91868eef534 Change-Id: I52e5d732c865989796158016758e6e745c74cac8 Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-05-01Add raspberrypi 2 and 3Jan-Simon Möller1-0/+4
This adds the rpi 2 and 3 to the mix. Untested! It merely enables the layer and nothing else. Patches/fixes welcome. Depends-On: I08ec2e9e41003b9dc8244f86d50ccf64e112aba2 Change-Id: If512487c6bd57a7640cbf2f07a12f6877137daee Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-05-01Introduce TI DRA7 vayu and cleanup template filesJan-Simon Möller1-2/+14
This changeset introduces the TI 'vayu' board. We need to adapt the provided bsp layer 'meta-ti' as it is only at YP 1.8 fido right now. Two changes are needed/known: a) BBMASK eudev bbappend (local.conf.sample) b) apply patch for gcc5 to u-boot-ti-staging On top thie changeset also does janitorial work on the templates: - conf-notes is now in a folder common and symlinked - layer additions have been sync'ed - file layout sync'ed with templates in meta-agl-demo Change-Id: Ib52a9252800d54d5105ac1f5354ad3a3b014188f Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-04-28scripts: fix regression on reuse of shell environment variablesYannick Gicquel1-5/+5
instead of editing local.conf to defines DL_DIR and SSTATE_DIR, the shell environment variables can be propagated in poky/oe build env. BB_ENV_EXTRAWHITE is defined in "poky/scripts/oe-buildenv-internal" Thus, variable append step should occurs _after_ setup poky/oe. Change-Id: I5d4901435812d2d82950588a89b8ec67f2b01ea8 Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
2016-04-09Add machine porter-nogfxJan-Simon Möller1-0/+7
This alias will not extract the tarballs and allow us to build core-image-minimal for the renesas board w/o the proprietary blobs. Change-Id: I22061a87f5802e6ce2bc6a8260eeee4cfa2ab1f7 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-02-19Allow alias names in envsetup.sh - here for minnowboardJan-Simon Möller1-4/+12
This commit allows us to define also alias names for MACHINE. TEMPLATECONF moved down for this. Change-Id: Ibec9882ac5a7c3bf734ead8a05b452bb655bbeeb Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-02-09Add wandboard as target boardJan-Simon Möller1-5/+7
This patch adds the wandboard as i.mx6 target. Change-Id: Iae25b991d475ce321b4192cbac130ad389021c72 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2016-02-08Fix error by envsetup.sh when reuse a terminalTadao Tanikawa1-0/+1
When reuse a terminal between defferent targets, poky's setup script report error and setup is terminated. E.g. Setup for qemu first, then setup for porter. $ source meta-agl/scripts/envsetup.sh qemux86-64 build-qemu $ (bitbake or somthing) $ cd .. $ source meta-agl/scripts/envsetup.sh porter build-porter ERROR: OE-core's config sanity cheker detected a potential misconfiguration. ... Change-Id: Ie8e6f723d447b1ea53ada333f03bbfb4f03433c4 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2016-01-20Provide template configuration for each machine or boardTadao Tanikawa1-12/+21
In previous patch, meta-intel layer is added to BBLAYERS for both QEMU(qemux86/qemux86-64) and Minnowboard MAX(intel-corei7-64) although QEMU target doesn't need it. It is preffered to prepare a template configuration for each machine or board. Change-Id: I19bd4e66e8375a1760d9850f4a056651ae0fa6ca Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>