From 3b3a6c2e635ec1c147925a44980d411fd4d9e2b5 Mon Sep 17 00:00:00 2001 From: Gilles DOFFE Date: Sun, 25 Jul 2021 23:33:22 +0200 Subject: [PATCH 1/6] manifest: split cogip-manifest.xml Split cogip-manifest.xml into two new manifests: * cogip-mcu-firmware.xml: clone mcu-firmware and RIOT-OS * cogip-simulation.xml: clone simulation tool and its git sub-modules cogip-manifest.xml becomes a global manifest where the two sub-manifests mentionned above are included. Signed-off-by: Gilles DOFFE --- cogip-manifest.xml | 40 +++------------------------------------- cogip-mcu-firmware.xml | 22 ++++++++++++++++++++++ cogip-simulation.xml | 12 ++++++++++++ 3 files changed, 37 insertions(+), 37 deletions(-) create mode 100644 cogip-mcu-firmware.xml create mode 100644 cogip-simulation.xml diff --git a/cogip-manifest.xml b/cogip-manifest.xml index e813065..b129f33 100644 --- a/cogip-manifest.xml +++ b/cogip-manifest.xml @@ -1,40 +1,6 @@ - - - - - - - - - - - - - - - - + + + diff --git a/cogip-mcu-firmware.xml b/cogip-mcu-firmware.xml new file mode 100644 index 0000000..7cb427a --- /dev/null +++ b/cogip-mcu-firmware.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + diff --git a/cogip-simulation.xml b/cogip-simulation.xml new file mode 100644 index 0000000..efa00a6 --- /dev/null +++ b/cogip-simulation.xml @@ -0,0 +1,12 @@ + + + + + + + From 176811d5c73a04cc278fb864145d8f4a8f67e440 Mon Sep 17 00:00:00 2001 From: Gilles DOFFE Date: Mon, 26 Jul 2021 00:15:55 +0200 Subject: [PATCH 2/6] manifests: add cogip-yocto.xml This manifest clones all needed repositories to build a Yocto Dunfell core-image-minimal image for COGIP MPU boards. Signed-off-by: Gilles DOFFE --- cogip-manifest.xml | 1 + cogip-yocto.xml | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 cogip-yocto.xml diff --git a/cogip-manifest.xml b/cogip-manifest.xml index b129f33..bfa7ecc 100644 --- a/cogip-manifest.xml +++ b/cogip-manifest.xml @@ -2,5 +2,6 @@ + diff --git a/cogip-yocto.xml b/cogip-yocto.xml new file mode 100644 index 0000000..774d1a6 --- /dev/null +++ b/cogip-yocto.xml @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + From a7691df7c842e2506c499f04f49fce124c602333 Mon Sep 17 00:00:00 2001 From: Gilles DOFFE Date: Sun, 25 Jul 2021 23:08:16 +0200 Subject: [PATCH 3/6] manifests: add 'meta-ptx' Add 'meta-ptx' layer to use barebox 'bootloader' and 'genimage'. Signed-off-by: Gilles DOFFE --- cogip-pi.xml.orig | 54 +++++++++++++++++++++++++++++++++++++++++++++++ cogip-yocto.xml | 8 +++++++ 2 files changed, 62 insertions(+) create mode 100644 cogip-pi.xml.orig diff --git a/cogip-pi.xml.orig b/cogip-pi.xml.orig new file mode 100644 index 0000000..19e5f53 --- /dev/null +++ b/cogip-pi.xml.orig @@ -0,0 +1,54 @@ + + + + + + + + + +<<<<<<< HEAD +======= + + +>>>>>>> a5a9ebd... fix yocto-build + + + + +<<<<<<< HEAD +======= + + + + +>>>>>>> a5a9ebd... fix yocto-build + diff --git a/cogip-yocto.xml b/cogip-yocto.xml index 774d1a6..73f0521 100644 --- a/cogip-yocto.xml +++ b/cogip-yocto.xml @@ -2,6 +2,7 @@ + @@ -23,4 +24,11 @@ remote="yocto" revision="dunfell" groups="yocto" /> + + + From 0688c4df3c49997dd2da6c0d7e9ae5212cc78915 Mon Sep 17 00:00:00 2001 From: Gilles DOFFE Date: Sun, 25 Jul 2021 23:56:02 +0200 Subject: [PATCH 4/6] manifests: cogip-pi: add 'meta-cogip-*' * 'meta-cogip-bsp' contains all low level recipes and configurations related to COGIP Raspberry boards. This layer relies on meta-raspberrypi from Yocto project. * 'meta-cogip-distro' contains all middleware recipes and configurations related to COGIP Yocto images. Dunfell Yocto LTS version is preferred. Signed-off-by: Gilles DOFFE --- cogip-yocto.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cogip-yocto.xml b/cogip-yocto.xml index 73f0521..69a6953 100644 --- a/cogip-yocto.xml +++ b/cogip-yocto.xml @@ -12,6 +12,16 @@ remote="cogip" revision="main" groups="cogip" /> + + Date: Tue, 27 Jul 2021 01:09:10 +0200 Subject: [PATCH 5/6] manifests: cogip-pi: add 'meta-openembedded' This layer is a collection of layers to suppliment OE-Core with additional packages. For now, 'openocd' is needed. Signed-off-by: Gilles DOFFE --- cogip-yocto.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cogip-yocto.xml b/cogip-yocto.xml index 69a6953..ed817fb 100644 --- a/cogip-yocto.xml +++ b/cogip-yocto.xml @@ -2,6 +2,7 @@ + @@ -36,6 +37,11 @@ groups="yocto" /> + Date: Tue, 4 Jan 2022 00:52:21 +0100 Subject: [PATCH 6/6] add README.md Signed-off-by: Gilles DOFFE --- README.md | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..b553fbc --- /dev/null +++ b/README.md @@ -0,0 +1,97 @@ +## Pre-requisites ## + +This documentation supports Ubuntu 20.04 LTS version. +However command listed below should work with any recent debian-like Linux +distribution. + +### git ### + +From https://git-scm.com/: +Git is a free and open source distributed version control system designed to + handle everything from small to very large projects with speed and efficiency. + +To install git: + +```bash + $ sudo apt install git +``` + +For more informations: https://git-scm.com/ + +### repo ### + +From https://gerrit.googlesource.com/git-repo/: +Repo is a tool built on top of Git. Repo helps manage many Git repositories, +does the uploads to revision control systems, and automates parts of the +development workflow. Repo is not meant to replace Git, only to make it easier +to work with Git. The repo command is an executable Python script that you can +put anywhere in yoaur path. + +To install repo: + +```bash + $ mkdir ~/.bin + $ echo "PATH=~/.bin:\$PATH" >> ~/.bashrc && source ~/.bashrc + $ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo +``` + +For more informations: https://gerrit.googlesource.com/git-repo/+/refs/heads/master/README.md + +## Get the project ## + +### Full project ### + +To get the COGIP full source tree : + +```bash + $ mkdir cogip/ -p && cd cogip/ + $ repo init -u git@github.com:cogip/cogip-manifest.git -m cogip-manifest.xml + $ repo sync +``` + +#### yocto-build project #### + +The yocto-build project is the Yocto linux distribution installed on robot +MPU board. + +Refer to `cogip/yocto-build/README.md` for more information. + +To get the COGIP pi project source tree only: + +```bash + $ mkdir cogip/ -p && cd cogip/ + $ repo init -u git@github.com:cogip/cogip-manifest.git -m cogip-pi.xml + $ repo sync + $ cd yocto-build/ +``` + +#### mcu-firmware project #### + +The mcu-firmware project is the firmware flashed on robot MCU board. + +To get the COGIP mcu-firmware project source tree only: + +```bash + $ mkdir cogip/ -p && cd cogip/ + $ repo init -u git@github.com:cogip/cogip-manifest.git -m cogip-mcu-firmware.xml + $ repo sync + $ cd mcu-firmware/ +``` + +Refer to `cogip/mcu-firmware/README.md` for more information. + +#### simulation project #### + +The simulation project is the source code of simulator and co-pilot application. + + +To get the COGIP mcu-firmware project source tree only: + +```bash + $ mkdir cogip/ -p && cd cogip/ + $ repo init -u git@github.com:cogip/cogip-manifest.git -m cogip-simulation.xml + $ repo sync + $ cd simulation/ +``` + +Refer to `cogip/simulation/README.md` or https://cogip.github.io/simulation for more information.