aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
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>
2016-01-15Support MinnowBoard MAXTadao Tanikawa1-0/+4
To configure for MinnowBoard MAX, use 'intel-corei7-64' as MACHINE. E.g. set up build environment by meta-agl's script: $ source meta-agl/script/envsetup.sh intel-corei7-64 [build-dir] There are instructions to write image into SD card and boot system at "http://elinux.org/Minnowboard:MinnowMaxYoctoProject". Change-Id: I19062482848bb6157791ab698bf92984e24a6d9a Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2015-12-05Bugfix for envsetup.sh script.Jan-Simon Möller1-2/+2
A sourced script cannot use exit as it will terminate the shell session. "return -1" is not supported due to the negative value. Use "return 1" instead. Change-Id: I7452b7939c5c843eaf76b6600e5eb55c06d17668 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2015-10-06Improve instructions to build AGL DistributionTadao Tanikawa1-0/+64
New build instructions are avairable. - Using 'repo' to download all repositories. - Only 1 shell script need to be run. To install Repo: $ mkdir ~/bin $ export PATH=~/bin:$PATH $ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo $ chmod a+x ~/bin/repo To build meta-agl/meta-agl-demo: $ repo init -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo $ repo sync $ source meta-agl/scripts/envsetup.sh <porter|qemux86-64|...> [build-dir] $ bitbake <target> Note: currently AGL Distro supports only 2 machines, porter and qemux86-64. Note for porter: Anyone who want to build for R-Car2 M2 Porter should download Grahics Drivers and Multimedia Softwares from Renesas. If not, envsetup.sh will stop and show some instruction, then please follow it. Change-Id: I1213130333e9a316bc3be5913cf2511c0cfb2853 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>