===== Yocto BSP =====
**__Verzeichnis im Home Ordner anlegen__**
tq-embedded@ubuntu:~$ mkdir workspace/yocto/
tq-embedded@ubuntu:~$ cd workspace/yocto/
**__Yocto git clonen__**
tq-embedded@ubuntu:~/workspace/yocto$ git clone -b krogoth git://git.yoctoproject.org/poky.git
tq-embedded@ubuntu:~/workspace/yocto$ cd poky
**__TQ Meta Layer herunterladen__**
embedded@ubuntu:~/workspace/yocto/poky$ git clone https://github.com/tq-systems/meta-tq.git
**__Yocto Environment einrichten (sourcen)__**
embedded@ubuntu:~/workspace/yocto/poky$. oe-init-build-env
**__local.conf im **build** Verzeichnis bearbeiten__**
tq-embedded@ubuntu:~/workspace/yocto/poky/build/conf$ nano local.conf
Machine= "MACHINENAME>"
* tqma6q-mba6x
* tqma6dl-mba6x
* tqma6s-mba6
* tqma6ul-mba6ul
* tqma7-mba7
- BSP bauen
tq-embedded@ubuntu:~/workspace_yocto/poky/build$ bitbake tqma6x-core-image
- Rootfs/Kernel/devicetree bauen
bitbake core-image-minimal
- SD Karten Image erstellen
wic create tqmaxx-sdimg -e core-image-minimal
===== CI Meta TQ =====
**__Verzeichnis im Home Ordner anlegen__**
tq-embedded@ubuntu:~$ mkdir workspace/yocto/
tq-embedded@ubuntu:~$ cd workspace/yocto/
git clone --recurse-submodules https://github.com/tq-systems/ci-meta-tq
==== submodule aktualisieren ====
git submodule update --init
==== environment sourcen ====
source setup-environment build
==== auflistung bitbake tasks ====
bitbake -c listtasks core-image-minimal
----
==== Pakete zum ROOTFS hinzufügen ====
Um Pakete zu den Standard Images hinzuzufügen muss die Datei /conf/local.conf im Build Ordner bearbeitet werden.
IMAGE_INSTALL_append = " "
==== Pakete aus dem ROOTFS entfernen ====
Um Pakete zu den Standard Images hinzuzufügen muss die Datei /conf/local.conf im Build Ordner bearbeitet werden.
IMAGE_INSTALL_remove = " "