diff options
Diffstat (limited to 'getting-started')
-rw-r--r-- | getting-started/customize_bitbake_conf.md | 48 | ||||
-rw-r--r-- | getting-started/machines/R-Car-Starter-Kit-gen3.md | 6 | ||||
-rw-r--r-- | getting-started/setup-sdk-environment.md | 6 | ||||
-rw-r--r-- | getting-started/source-code.md | 4 |
4 files changed, 56 insertions, 8 deletions
diff --git a/getting-started/customize_bitbake_conf.md b/getting-started/customize_bitbake_conf.md new file mode 100644 index 0000000..dc7dc6b --- /dev/null +++ b/getting-started/customize_bitbake_conf.md @@ -0,0 +1,48 @@ +# Customize AGL build +To customize the AGL build, you edit local.conf file, located in the build/conf directory. + +``` +edit $AGL_TOP/build/conf/local.conf +``` + +## Buildhistory +The OpenEmbedded build system creates this directory when you enable the build history feature. + +``` +INHERIT += "buildhistory" +BUILDHISTORY_COMMIT = "1" +``` + +For more information please check [Here][buildhistory] + +## Deletion of temporary workspace +Removes work files after the OpenEmbedded build system has finished with them. + +``` +INHERIT += "rm_work" +``` + +For more information please check [Here][rm_work] + +## Share sstate cache +The directory for the shared state cache. + +``` +SSTATE_DIR = "${HOME}/workspace_agl/sstate-cache" +``` + +For more information please check [Here][share_sstatecache] + +## Share Download directory +The central download directory used by the build process to store downloads. + +``` +DL_DIR = "${HOME}/workspace_agl/downloads" +``` + +For more information please check [Here][share_download] + +[buildhistory]: http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#maintaining-build-output-quality +[rm_work]: http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#ref-tasks-rm_work +[share_sstatecache]: https://wiki.yoctoproject.org/wiki/Enable_sstate_cache +[share_download]: http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-DL_DIR diff --git a/getting-started/machines/R-Car-Starter-Kit-gen3.md b/getting-started/machines/R-Car-Starter-Kit-gen3.md index 11566b4..a89134a 100644 --- a/getting-started/machines/R-Car-Starter-Kit-gen3.md +++ b/getting-started/machines/R-Car-Starter-Kit-gen3.md @@ -38,8 +38,8 @@ Here after is an example of the typical files downloaded at the time of writing: chmod a+r $XDG_DOWNLOAD_DIR/*.zip ls -l $XDG_DOWNLOAD_DIR total 8220 --rw-r--r-- 1 XXX XXX 4619114 14 sept. 05:02 R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20160906.tar.gz --rw-r--r-- 1 XXX XXX 4619796 10 oct. 23:23 R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20160906.zip +-rw-r--r--. 1 1664 agl-sdk 4.5M Dec 8 15:23 R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-20160906.zip +-rw-r--r--. 1 1664 agl-sdk 2.5M Dec 8 15:24 R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-20160906.zip ``` ## Setting up the build environment: @@ -450,7 +450,7 @@ Follow the steps below to configure the boot from microSD card and to set screen * For machine m3ulcb: ``` -=> print +=> printenv baudrate=115200 bootargs=console=ttySC0,115200 root=/dev/mmcblk1p1 rootwait rw rootfstype=ext4 bootcmd=run load_ker; run load_dtb; booti 0x48080000 - 0x48000000 diff --git a/getting-started/setup-sdk-environment.md b/getting-started/setup-sdk-environment.md index 3776621..9306a73 100644 --- a/getting-started/setup-sdk-environment.md +++ b/getting-started/setup-sdk-environment.md @@ -40,10 +40,10 @@ A pre-built image is available on [IoT.bzh](http://iot.bzh) public site and can First, download and load the image in your local Docker instance: ```bash -wget -O - http://iot.bzh/download/public/2016/docker/docker_agl_worker-2.1.tar.xz | docker load; +wget -O - http://iot.bzh/download/public/2016/docker/docker_agl_worker-3.0.tar.xz | sudo docker load; docker images; REPOSITORY TAG IMAGE ID CREATED SIZE - docker.automotivelinux.org/agl/worker 2.1 42009148bc03 6 days ago 926.9 MB + docker.automotivelinux.org/agl/worker 3.0 42009148bc03 6 days ago 926.9 MB jenkins latest 55720d63e328 5 weeks ago 711.9 MB hello-world latest c54a2cc56cbb 5 months ago 1.848 kB ``` @@ -58,7 +58,7 @@ Then, use the 'create_container' script to start a new, fresh container based on ```bash git clone https://github.com/iotbzh/agl-docker-worker; cd agl-docker-worker; -./create_container 0; +./contrib/create_container 0; docker ps; CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 4fb7c550ad75 docker.automotivelinux.org/agl/worker:2.1 "/usr/bin/wait_for_ne" 33 hours ago Up 33 hours 0.0.0.0:2222->22/tcp, 0.0.0.0:69->69/udp, 0.0.0.0:8000->8000/tcp, 0.0.0.0:10809->10809/tcp agl-worker-odin-0-sdx diff --git a/getting-started/source-code.md b/getting-started/source-code.md index 82b1271..0e878d3 100644 --- a/getting-started/source-code.md +++ b/getting-started/source-code.md @@ -109,11 +109,11 @@ chmod a+x ~/bin/repo You can choose your source release ### Download Latest Stable Release -To download all layers for the for the latest stable release, Chinook 3.0.0: +To download all layers for the for the latest stable release, Chinook 3.0.1: ``` cd $AGL_TOP -repo init -b chinook -m chinook_3.0.0.xml -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo +repo init -b chinook -m chinook_3.0.1.xml -u https://gerrit.automotivelinux.org/gerrit/AGL/AGL-repo repo sync ``` |