#format rst #language de Embedded Linux 2016 =================== H\. Högl, 22. März 2016, * Home: http://hhoegl.informatik.hs-augsburg.de/hhwiki/EmbeddedLinux * Mailingliste: https://listserv.hs-augsburg.de/sympa/info/elinux16 (bitte alle eintragen) * Material: http://hhoegl.informatik.hs-augsburg.de/elinux * Wiki (diese Seite): http://hhoegl.informatik.hs-augsburg.de/hhwiki/EmbeddedLinux2016 * ``_ | ``_ .. contents:: Inhalt .. sectnum:: Termine ------- 1. Treffen am Freitag, den 18.3.2016 im G2.16, ca. 20 Teilnehmer anwesend. Es gibt einen **Vorlesungsteil**, der sich auf das Buch von Chris Simmonds beziehen wird. Das Buch haelt sich an das Beagle Bone Black (BBB). Der **praktische Teil** (das"Projekt") kann mit einem beliebigen Board gemacht werden, natuerlich auch mit dem BBB. 2. Fr. 1.4.16 - Vorfuehrung BBB am RT10 3. Fr, 8.4.16 :: - cat /proc/cpuinfo, cat /proc/meminfo - Wie viel Platz wird verbraucht? (df) - Welche Dateisysteme sind gemountet? (mount, lsblk, proc fs) - Welche Devicenamen haben der eMMC Baustein und die MicroSD Karte? - Was haengt alles am USB Bus? (lsusb) - Welche Prozesse laufen? (ps, ps -efl) - Welches Init-System wird verwendet? (Sys-V, systemd) - Wie ist das Netzwerk konfiguriert? (ifconfig, route) - Gibt es einen Paketmanager? (ja/nein: Debian, Yocto/Angstrom, Buildroot) - Gibt es den GNU C Compiler gcc? - Gibt es Python? - Wie ist das Root-FS aufgebaut? (wie bei Desktop Linux oder busybox) - Welche libc wird verwendet? (glibc, eglibc, uClibc, musl) - Welche Kernel-Version wird verwendet? (uname -a) - Welche Kernel-Module sind geladen? (lsmod) - Das sysfs /sys - Das procfs /proc .. To Do: - Bootvorgang - Device Trees - NFS/tftp auf Hostrechner einrichten ``_ 4. Fr, 15.4.2016 ``_ ``_ 5. Fr, 22.4.2016 Einteilung der Projekte 1. 3D Matrix (Matery, Lang, Ischuk) 2. RFID Zugang (Schubert) 3. Wetterstation (Cimen, Berchtold, Duendar, Spahic) 4. Schlafueberwachung (Manke) 5. Phytec IoT Kit (Siemers, Lorenz) 6. Fablab Kamera (Dolezal, Berner, Peter) 7. Gartenbewaesserung (Heigl, Hacker, Friedl) Noch frei: Schumacher, Schlotthauer, Senkel 6. Fr, 29.4.2016 - Bootvorgang im U-Boot - Cross-Kompilierung mit arm-linux-gnueabihf-* - Kapitel im Buch von Simmonds: - U-Boot und Barebox (3) - Kernel (4) - RootFS (5) - Buildroot und Yocto-Project (6) - Aufgabenblatt von Herrn Tschirner: http://andreas-tschirner.de/stm32lab/ (stm32lab/stm32lab) 7. Fr, 13.5.2016 Simmonds, MELP, Kap. 5, Kap. 6 8. Fr, 20.5.2016 (Praktikum ab 14 Uhr, Aufgabenblatt 2) 9. Fr, 3.6.2016 10. Fr, 10.6.2016 (Aufgabenblatt 3) 11. Fr, 17.6.2016 12. Fr, 24.6.2016 Ergänzende Literatur -------------------- * **Unbedingt lesen:** Johan Thelin, A typical embedded system, Linux Journal 12 2009 http://hhoegl.informatik.hs-augsburg.de/elinux/intro/lj-12-2009-thelin.pdf * **Unbedingt lesen:** Booten über das Netz mit U-Boot beim Beagle Bone Black (BBB) http://hhoegl.informatik.hs-augsburg.de/elinux/uboot/lj-10-2013-uboot-trick.pdf * Federico Kereki, What's in the Box? Linux Journal 12 2015 http://hhoegl.informatik.hs-augsburg.de/elinux/admin/lj-12-2015-hw.pdf * Init System Overview http://hhoegl.informatik.hs-augsburg.de/elinux/init/lj-3-2015-services.pdf * Artikel über den RPi3 im Linux Magazin 5.2016 (vielleicht interessiert sich jemand fuer den RPi3) http://hhoegl.informatik.hs-augsburg.de/elinux/RPi/lm-5-2016-rpi3/ Kommandozeile ------------- * Freies Buch "LPIC Essentials" https://www.tuxcademy.org/product/lxes/ * Man kann sein Wissen online mit dem *LPIC Simulator* prüfen: http://www.lpi-academy.de/sim/exam * Put yourself in command http://en.flossmanuals.net/command-line http://en.flossmanuals.net/_booki/command-line/command-line.pdf (2013, 208 Seiten) * Umfangreiches Schulungsmaterial von `Free Electrons `_ http://free-electrons.com/doc/unix_linux_introduction.pdf http://free-electrons.com/doc/command_memento.pdf http://free-electrons.com/doc/vi_memento.pdf * Schnellreferenzen http://www.pixelbeat.org/cmdline.html https://www.olimex.com/wiki/Linux-Commands http://www.commandlinefu.com * Auch das Gnublin-Wiki enthält für viele Aufgaben die Kommandozeilen: http://wiki.gnublin.org/index.php/Hauptseite Anregungen für Projekte ----------------------- * Die Gnublin Distribution auf ein aktuelles Debian umstellen http://en.gnublin.org/index.php/Gnublin_Distribution * "Internet of things", siehe das entsprechende Kapitel in http://proquest.tech.safaribooksonline.de/book/hardware/9781118935217 * Bierbrauen mit dem BBB http://hhoegl.informatik.hs-augsburg.de/elinux/application/lj-2-2016-homebrewing.pdf * Feuchtigkeitsmessung und -regelung http://hhoegl.informatik.hs-augsburg.de/elinux/application/lj-12-2009-humidity.pdf * Create a Mini PC or Server with Olimex’s Olinuxino A13/A13Micro http://hhoegl.informatik.hs-augsburg.de/elinux/olinuxino-a13/dlj234-a13-server.pdf * Freedombone Project http://beagleboard.org/project/freedombone/ Netzwerkkonfiguration --------------------- * http://linoxide.com/linux-command/use-ip-command-linux * http://www.karlrupp.net/en/computer/nat_tutorial Systemd ------- * http://speicherleck.de/iblech/stuff/lit2016/b1-systems-systemd-im-alltag.pdf SPI mit dem BBB --------------- * https://www.linux.com/learn/how-access-chips-over-spi-beaglebone-black ADC mit dem BBB --------------- * http://beaglebone.cameon.net/home/reading-the-analog-inputs-adc I2C mit dem BBB --------------- * http://derekmolloy.ie/beaglebone/beaglebone-an-i2c-tutorial-interfacing-to-a-bma180-accelerometer/ MRF24J40 (802.15.4) am BBB -------------------------- * Zigbee, 6LoWPAN http://wiki.beyondlogic.org/index.php/BeagleBoneBlack_IEEE802154_Microchip_MRF24J40