root@yhf:~# mkdir /media/shared^C root@yhf:~# mkdir /media/shared root@yhf:~# mkdir /media/shared mkdir: das Verzeichnis „/media/shared“ kann nicht angelegt werden: Die Datei existiert bereits root@yhf:~# mount -t vboxsf C:\shared /media/shared /sbin/mount.vboxsf: mounting failed with the error: Protocol error root@yhf:~# mount -t vboxsf shared /media/shared root@yhf:~# ls Bilder Dokumente Downloads Musik Öffentlich Schreibtisch Videos Vorlagen root@yhf:~# cd .. root@yhf:/# ls bin etc lib lost+found opt run sys var boot home lib64 media proc sbin tmp vmlinuz dev initrd.img live-build mnt root srv usr root@yhf:/# cd media root@yhf:/media# ls cdrom cdrom0 shared root@yhf:/media# cd shared root@yhf:/media/shared# ls root@yhf:/media/shared# cd .. root@yhf:/media# cd .. root@yhf:/# ls bin etc lib lost+found opt run sys var boot home lib64 media proc sbin tmp vmlinuz dev initrd.img live-build mnt root srv usr root@yhf:/# apt-get install git Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Die folgenden zusätzlichen Pakete werden installiert: git-man liberror-perl Vorgeschlagene Pakete: git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn Die folgenden NEUEN Pakete werden installiert: git git-man liberror-perl 0 aktualisiert, 3 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Es müssen 4.873 kB an Archiven heruntergeladen werden. Nach dieser Operation werden 23,8 MB Plattenplatz zusätzlich benutzt. Möchten Sie fortfahren? [J/n] J Holen: 1 http://security.debian.org/ jessie/updates/main git-man all 1:2.1.4-2.1+deb8u3 [1.268 kB] Holen: 2 http://ftp.de.debian.org/debian/ jessie/main liberror-perl all 0.17-1.1 [22,4 kB] Holen: 3 http://security.debian.org/ jessie/updates/main git amd64 1:2.1.4-2.1+deb8u3 [3.583 kB] Es wurden 4.873 kB in 10 s geholt (483 kB/s). Vormals nicht ausgewähltes Paket liberror-perl wird gewählt. (Lese Datenbank ... 158042 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../liberror-perl_0.17-1.1_all.deb ... Entpacken von liberror-perl (0.17-1.1) ... Vormals nicht ausgewähltes Paket git-man wird gewählt. Vorbereitung zum Entpacken von .../git-man_1%3a2.1.4-2.1+deb8u3_all.deb ... Entpacken von git-man (1:2.1.4-2.1+deb8u3) ... Vormals nicht ausgewähltes Paket git wird gewählt. Vorbereitung zum Entpacken von .../git_1%3a2.1.4-2.1+deb8u3_amd64.deb ... Entpacken von git (1:2.1.4-2.1+deb8u3) ... Trigger für man-db (2.7.0.2-5) werden verarbeitet ... liberror-perl (0.17-1.1) wird eingerichtet ... git-man (1:2.1.4-2.1+deb8u3) wird eingerichtet ... git (1:2.1.4-2.1+deb8u3) wird eingerichtet ... root@yhf:/# ls bin etc lib lost+found opt run sys var boot home lib64 media proc sbin tmp vmlinuz dev initrd.img live-build mnt root srv usr root@yhf:/# cd media root@yhf:/media# cd shared root@yhf:/media/shared# git clone https://github.com/travisgoodspeed/md380tools.git Klone nach 'md380tools'... remote: Counting objects: 11249, done. remote: Compressing objects: 100% (117/117), done. remote: Total 11249 (delta 61), reused 0 (delta 0), pack-reused 11130 Empfange Objekte: 100% (11249/11249), 9.37 MiB | 496.00 KiB/s, Fertig. Löse Unterschiede auf: 100% (7893/7893), Fertig. Prüfe Konnektivität... Fertig. Checke Dateien aus: 100% (361/361), Fertig. root@yhf:/media/shared# ls md380tools root@yhf:/media/shared# cd md380tools root@yhf:/media/shared/md380tools# apt-get update Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170506-14:58] jessie InRelease Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170506-14:58] jessie Release.gpg Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170506-14:58] jessie Release Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170506-14:58] jessie/main amd64 Packages/DiffIndex Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170506-14:58] jessie/main Translation-de_DE Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170506-14:58] jessie/main Translation-de Ign cdrom://[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20170506-14:58] jessie/main Translation-en Ign http://ftp.de.debian.org jessie InRelease OK http://security.debian.org jessie/updates InRelease OK http://ftp.de.debian.org jessie-updates InRelease OK http://ftp.de.debian.org jessie Release.gpg OK http://ftp.de.debian.org jessie Release OK http://security.debian.org jessie/updates/main Sources OK http://security.debian.org jessie/updates/main amd64 Packages OK http://ftp.de.debian.org jessie-updates/main Sources OK http://security.debian.org jessie/updates/main Translation-en Holen: 1 http://ftp.de.debian.org jessie-updates/main amd64 Packages/DiffIndex [7.900 B] Holen: 2 http://ftp.de.debian.org jessie-updates/main Translation-en/DiffIndex [2.704 B] OK http://ftp.de.debian.org jessie/main Sources OK http://ftp.de.debian.org jessie/main amd64 Packages OK http://ftp.de.debian.org jessie/main Translation-de_DE OK http://ftp.de.debian.org jessie/main Translation-de OK http://ftp.de.debian.org jessie/main Translation-en Es wurden 10,6 kB in 3 s geholt (3.238 B/s). Paketlisten werden gelesen... Fertig root@yhf:/media/shared/md380tools# apt-get dist-upgrade Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Paketaktualisierung (Upgrade) wird berechnet... Fertig 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. root@yhf:/media/shared/md380tools# apt-get install gcc-arm-none-eabi binutils-arm-none-eabi libusb-1.0 git \ > apt-get install gcc-arm-none-eabi binutils-arm-none-eabi libusb-1.0 libnewlib-arm-none-eabi make curl python-pip unzip Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Note, selecting 'libusb-1.0-0' for regex 'libusb-1.0' Note, selecting 'libusb-1.0-0-dbg' for regex 'libusb-1.0' Note, selecting 'libusb-1.0-0-dev' for regex 'libusb-1.0' Note, selecting 'libusb-1.0-doc' for regex 'libusb-1.0' Note, selecting 'libusb-1.0-0' for regex 'libusb-1.0' Note, selecting 'libusb-1.0-0-dbg' for regex 'libusb-1.0' Note, selecting 'libusb-1.0-0-dev' for regex 'libusb-1.0' Note, selecting 'libusb-1.0-doc' for regex 'libusb-1.0' E: Paket apt-get kann nicht gefunden werden. E: Paket install kann nicht gefunden werden. root@yhf:/media/shared/md380tools# apt-get install gcc-arm-none-eabi binutils-arm-none-eabi libusb-1.0 libnewlib-arm-none-eabi make curl python-pip unzip Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Note, selecting 'libusb-1.0-0' for regex 'libusb-1.0' Note, selecting 'libusb-1.0-0-dbg' for regex 'libusb-1.0' Note, selecting 'libusb-1.0-0-dev' for regex 'libusb-1.0' Note, selecting 'libusb-1.0-doc' for regex 'libusb-1.0' libusb-1.0-0 ist schon die neueste Version. libusb-1.0-0 wurde als manuell installiert festgelegt. make ist schon die neueste Version. make wurde als manuell installiert festgelegt. unzip ist schon die neueste Version. unzip wurde als manuell installiert festgelegt. Die folgenden zusätzlichen Pakete werden installiert: libcurl3 libnewlib-dev libstdc++-arm-none-eabi-newlib python-cffi python-colorama python-cryptography python-distlib python-html5lib python-ndg-httpsclient python-openssl python-ply python-pyasn1 python-pycparser python-requests python-setuptools python-urllib3 python-wheel Vorgeschlagene Pakete: libnewlib-doc python-dev python-cryptography-doc python-cryptography-vectors python-genshi python-openssl-doc python-openssl-dbg python-ply-doc doc-base Empfohlene Pakete: python-dev-all Die folgenden NEUEN Pakete werden installiert: binutils-arm-none-eabi curl gcc-arm-none-eabi libcurl3 libnewlib-arm-none-eabi libnewlib-dev libstdc++-arm-none-eabi-newlib libusb-1.0-0-dbg libusb-1.0-0-dev libusb-1.0-doc python-cffi python-colorama python-cryptography python-distlib python-html5lib python-ndg-httpsclient python-openssl python-pip python-ply python-pyasn1 python-pycparser python-requests python-setuptools python-urllib3 python-wheel 0 aktualisiert, 25 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. Es müssen 62,4 MB an Archiven heruntergeladen werden. Nach dieser Operation werden 458 MB Plattenplatz zusätzlich benutzt. Möchten Sie fortfahren? [J/n] J Holen: 1 http://ftp.de.debian.org/debian/ jessie/main libcurl3 amd64 7.38.0-4+deb8u5 [259 kB] Holen: 2 http://ftp.de.debian.org/debian/ jessie/main curl amd64 7.38.0-4+deb8u5 [200 kB] Holen: 3 http://ftp.de.debian.org/debian/ jessie/main libusb-1.0-0-dev amd64 2:1.0.19-1 [64,7 kB] Holen: 4 http://ftp.de.debian.org/debian/ jessie/main libusb-1.0-doc all 2:1.0.19-1 [120 kB] Holen: 5 http://ftp.de.debian.org/debian/ jessie/main python-ply all 3.4-5 [62,9 kB] Holen: 6 http://ftp.de.debian.org/debian/ jessie/main python-pycparser all 2.10+dfsg-3 [58,8 kB] Holen: 7 http://ftp.de.debian.org/debian/ jessie/main python-cffi amd64 0.8.6-1 [67,2 kB] Holen: 8 http://ftp.de.debian.org/debian/ jessie/main python-colorama all 0.3.2-1 [20,3 kB] Holen: 9 http://ftp.de.debian.org/debian/ jessie/main python-cryptography amd64 0.6.1-1+deb8u1 [164 kB] Holen: 10 http://ftp.de.debian.org/debian/ jessie/main python-distlib all 0.1.9-1 [113 kB] Holen: 11 http://ftp.de.debian.org/debian/ jessie/main python-html5lib all 0.999-3 [84,0 kB] Holen: 12 http://ftp.de.debian.org/debian/ jessie/main python-openssl all 0.14-1 [81,1 kB] Holen: 13 http://ftp.de.debian.org/debian/ jessie/main python-ndg-httpsclient all 0.3.2-1 [20,5 kB] Holen: 14 http://ftp.de.debian.org/debian/ jessie/main python-urllib3 all 1.9.1-3 [55,4 kB] Holen: 15 http://ftp.de.debian.org/debian/ jessie/main python-requests all 2.4.3-6 [204 kB] Holen: 16 http://ftp.de.debian.org/debian/ jessie/main python-setuptools all 5.5.1-1 [242 kB] Holen: 17 http://ftp.de.debian.org/debian/ jessie/main python-pip all 1.5.6-5 [114 kB] Holen: 18 http://ftp.de.debian.org/debian/ jessie/main python-pyasn1 all 0.1.7-1 [49,3 kB] Holen: 19 http://ftp.de.debian.org/debian/ jessie/main python-wheel all 0.24.0-1 [47,5 kB] Holen: 20 http://ftp.de.debian.org/debian/ jessie/main binutils-arm-none-eabi amd64 2.25-5+5+b1 [2.018 kB] Holen: 21 http://ftp.de.debian.org/debian/ jessie/main gcc-arm-none-eabi amd64 4.8.4-1+11-1 [16,4 MB] Holen: 22 http://ftp.de.debian.org/debian/ jessie/main libnewlib-dev all 2.1.0+git20140818.1a8323b-2 [224 kB] Holen: 23 http://ftp.de.debian.org/debian/ jessie/main libnewlib-arm-none-eabi all 2.1.0+git20140818.1a8323b-2 [13,3 MB] Holen: 24 http://ftp.de.debian.org/debian/ jessie/main libstdc++-arm-none-eabi-newlib all 4.8.3-9+4 [28,3 MB] Holen: 25 http://ftp.de.debian.org/debian/ jessie/main libusb-1.0-0-dbg amd64 2:1.0.19-1 [80,4 kB] Es wurden 62,4 MB in 2 min 9 s geholt (482 kB/s). Vormals nicht ausgewähltes Paket libcurl3:amd64 wird gewählt. (Lese Datenbank ... 158813 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../libcurl3_7.38.0-4+deb8u5_amd64.deb ... Entpacken von libcurl3:amd64 (7.38.0-4+deb8u5) ... Vormals nicht ausgewähltes Paket curl wird gewählt. Vorbereitung zum Entpacken von .../curl_7.38.0-4+deb8u5_amd64.deb ... Entpacken von curl (7.38.0-4+deb8u5) ... Vormals nicht ausgewähltes Paket libusb-1.0-0-dev:amd64 wird gewählt. Vorbereitung zum Entpacken von .../libusb-1.0-0-dev_2%3a1.0.19-1_amd64.deb ... Entpacken von libusb-1.0-0-dev:amd64 (2:1.0.19-1) ... Vormals nicht ausgewähltes Paket libusb-1.0-doc wird gewählt. Vorbereitung zum Entpacken von .../libusb-1.0-doc_2%3a1.0.19-1_all.deb ... Entpacken von libusb-1.0-doc (2:1.0.19-1) ... Vormals nicht ausgewähltes Paket python-ply wird gewählt. Vorbereitung zum Entpacken von .../python-ply_3.4-5_all.deb ... Entpacken von python-ply (3.4-5) ... Vormals nicht ausgewähltes Paket python-pycparser wird gewählt. Vorbereitung zum Entpacken von .../python-pycparser_2.10+dfsg-3_all.deb ... Entpacken von python-pycparser (2.10+dfsg-3) ... Vormals nicht ausgewähltes Paket python-cffi wird gewählt. Vorbereitung zum Entpacken von .../python-cffi_0.8.6-1_amd64.deb ... Entpacken von python-cffi (0.8.6-1) ... Vormals nicht ausgewähltes Paket python-colorama wird gewählt. Vorbereitung zum Entpacken von .../python-colorama_0.3.2-1_all.deb ... Entpacken von python-colorama (0.3.2-1) ... Vormals nicht ausgewähltes Paket python-cryptography wird gewählt. Vorbereitung zum Entpacken von .../python-cryptography_0.6.1-1+deb8u1_amd64.deb ... Entpacken von python-cryptography (0.6.1-1+deb8u1) ... Vormals nicht ausgewähltes Paket python-distlib wird gewählt. Vorbereitung zum Entpacken von .../python-distlib_0.1.9-1_all.deb ... Entpacken von python-distlib (0.1.9-1) ... Vormals nicht ausgewähltes Paket python-html5lib wird gewählt. Vorbereitung zum Entpacken von .../python-html5lib_0.999-3_all.deb ... Entpacken von python-html5lib (0.999-3) ... Vormals nicht ausgewähltes Paket python-openssl wird gewählt. Vorbereitung zum Entpacken von .../python-openssl_0.14-1_all.deb ... Entpacken von python-openssl (0.14-1) ... Vormals nicht ausgewähltes Paket python-ndg-httpsclient wird gewählt. Vorbereitung zum Entpacken von .../python-ndg-httpsclient_0.3.2-1_all.deb ... Entpacken von python-ndg-httpsclient (0.3.2-1) ... Vormals nicht ausgewähltes Paket python-urllib3 wird gewählt. Vorbereitung zum Entpacken von .../python-urllib3_1.9.1-3_all.deb ... Entpacken von python-urllib3 (1.9.1-3) ... Vormals nicht ausgewähltes Paket python-requests wird gewählt. Vorbereitung zum Entpacken von .../python-requests_2.4.3-6_all.deb ... Entpacken von python-requests (2.4.3-6) ... Vormals nicht ausgewähltes Paket python-setuptools wird gewählt. Vorbereitung zum Entpacken von .../python-setuptools_5.5.1-1_all.deb ... Entpacken von python-setuptools (5.5.1-1) ... Vormals nicht ausgewähltes Paket python-pip wird gewählt. Vorbereitung zum Entpacken von .../python-pip_1.5.6-5_all.deb ... Entpacken von python-pip (1.5.6-5) ... Vormals nicht ausgewähltes Paket python-pyasn1 wird gewählt. Vorbereitung zum Entpacken von .../python-pyasn1_0.1.7-1_all.deb ... Entpacken von python-pyasn1 (0.1.7-1) ... Vormals nicht ausgewähltes Paket python-wheel wird gewählt. Vorbereitung zum Entpacken von .../python-wheel_0.24.0-1_all.deb ... Entpacken von python-wheel (0.24.0-1) ... Vormals nicht ausgewähltes Paket binutils-arm-none-eabi wird gewählt. Vorbereitung zum Entpacken von .../binutils-arm-none-eabi_2.25-5+5+b1_amd64.deb ... Entpacken von binutils-arm-none-eabi (2.25-5+5+b1) ... Vormals nicht ausgewähltes Paket gcc-arm-none-eabi wird gewählt. Vorbereitung zum Entpacken von .../gcc-arm-none-eabi_4.8.4-1+11-1_amd64.deb ... Entpacken von gcc-arm-none-eabi (4.8.4-1+11-1) ... Vormals nicht ausgewähltes Paket libnewlib-dev wird gewählt. Vorbereitung zum Entpacken von .../libnewlib-dev_2.1.0+git20140818.1a8323b-2_all.deb ... Entpacken von libnewlib-dev (2.1.0+git20140818.1a8323b-2) ... Vormals nicht ausgewähltes Paket libnewlib-arm-none-eabi wird gewählt. Vorbereitung zum Entpacken von .../libnewlib-arm-none-eabi_2.1.0+git20140818.1a8323b-2_all.deb ... Entpacken von libnewlib-arm-none-eabi (2.1.0+git20140818.1a8323b-2) ... Vormals nicht ausgewähltes Paket libstdc++-arm-none-eabi-newlib wird gewählt. Vorbereitung zum Entpacken von .../libstdc++-arm-none-eabi-newlib_4.8.3-9+4_all.deb ... Entpacken von libstdc++-arm-none-eabi-newlib (4.8.3-9+4) ... Vormals nicht ausgewähltes Paket libusb-1.0-0-dbg:amd64 wird gewählt. Vorbereitung zum Entpacken von .../libusb-1.0-0-dbg_2%3a1.0.19-1_amd64.deb ... Entpacken von libusb-1.0-0-dbg:amd64 (2:1.0.19-1) ... Trigger für man-db (2.7.0.2-5) werden verarbeitet ... libcurl3:amd64 (7.38.0-4+deb8u5) wird eingerichtet ... curl (7.38.0-4+deb8u5) wird eingerichtet ... libusb-1.0-0-dev:amd64 (2:1.0.19-1) wird eingerichtet ... libusb-1.0-doc (2:1.0.19-1) wird eingerichtet ... python-ply (3.4-5) wird eingerichtet ... python-pycparser (2.10+dfsg-3) wird eingerichtet ... python-cffi (0.8.6-1) wird eingerichtet ... python-colorama (0.3.2-1) wird eingerichtet ... python-cryptography (0.6.1-1+deb8u1) wird eingerichtet ... python-distlib (0.1.9-1) wird eingerichtet ... python-html5lib (0.999-3) wird eingerichtet ... python-openssl (0.14-1) wird eingerichtet ... python-ndg-httpsclient (0.3.2-1) wird eingerichtet ... python-urllib3 (1.9.1-3) wird eingerichtet ... python-requests (2.4.3-6) wird eingerichtet ... python-setuptools (5.5.1-1) wird eingerichtet ... python-pip (1.5.6-5) wird eingerichtet ... python-pyasn1 (0.1.7-1) wird eingerichtet ... python-wheel (0.24.0-1) wird eingerichtet ... binutils-arm-none-eabi (2.25-5+5+b1) wird eingerichtet ... gcc-arm-none-eabi (4.8.4-1+11-1) wird eingerichtet ... libnewlib-dev (2.1.0+git20140818.1a8323b-2) wird eingerichtet ... libnewlib-arm-none-eabi (2.1.0+git20140818.1a8323b-2) wird eingerichtet ... libstdc++-arm-none-eabi-newlib (4.8.3-9+4) wird eingerichtet ... libusb-1.0-0-dbg:amd64 (2:1.0.19-1) wird eingerichtet ... Trigger für libc-bin (2.19-18+deb8u9) werden verarbeitet ... Trigger für python-support (1.0.15) werden verarbeitet ... root@yhf:/media/shared/md380tools# pip install pyusb -U # update PyUSB to 1.0 Downloading/unpacking pyusb Downloading PyUSB-1.0.0.tar.gz (52kB): 52kB downloaded Running setup.py (path:/tmp/pip-build-C_kgbZ/pyusb/setup.py) egg_info for package pyusb Installing collected packages: pyusb Running setup.py install for pyusb Successfully installed pyusb Cleaning up... root@yhf:/media/shared/md380tools# cp 99-md380.rules /etc/udev/rules.d/ root@yhf:/media/shared/md380tools# make clean image_D13 "make" -C patches/2.032 clean make[1]: Entering directory '/media/shared/md380tools/patches/2.032' rm -f *~ *.bin *.img *.pyc make[1]: Leaving directory '/media/shared/md380tools/patches/2.032' "make" -C patches/3.020 clean make[1]: Entering directory '/media/shared/md380tools/patches/3.020' rm -f *~ *.bin *.img make[1]: Leaving directory '/media/shared/md380tools/patches/3.020' "make" -C patches/s13.020 clean make[1]: Entering directory '/media/shared/md380tools/patches/s13.020' rm -f *~ *.bin *.img *.pyc make[1]: Leaving directory '/media/shared/md380tools/patches/s13.020' "make" -C patches/d13.020 clean make[1]: Entering directory '/media/shared/md380tools/patches/d13.020' rm -f *~ *.bin *.img *.pyc make[1]: Leaving directory '/media/shared/md380tools/patches/d13.020' "make" -C applet clean make[1]: Entering directory '/media/shared/md380tools/applet' "make" -C ../patches/d13.020 clean make[2]: Entering directory '/media/shared/md380tools/patches/d13.020' rm -f *~ *.bin *.img *.pyc make[2]: Leaving directory '/media/shared/md380tools/patches/d13.020' "make" -C lib clean make[2]: Entering directory '/media/shared/md380tools/applet/lib' rm -f misc.o stm32f4xx_dma.o stm32f4xx_rcc.o stm32f4xx_adc.o stm32f4xx_exti.o stm32f4xx_rng.o stm32f4xx_can.o stm32f4xx_flash.o stm32f4xx_rtc.o stm32f4xx_crc.o stm32f4xx_fsmc.o stm32f4xx_sdio.o stm32f4xx_cryp_aes.o stm32f4xx_gpio.o stm32f4xx_spi.o stm32f4xx_cryp.o stm32f4xx_hash.o stm32f4xx_syscfg.o stm32f4xx_cryp_des.o stm32f4xx_hash_md5.o stm32f4xx_tim.o stm32f4xx_cryp_tdes.o stm32f4xx_hash_sha1.o stm32f4xx_usart.o stm32f4xx_dac.o stm32f4xx_i2c.o stm32f4xx_wwdg.o stm32f4xx_dbgmcu.o stm32f4xx_iwdg.o stm32f4xx_dcmi.o stm32f4xx_pwr.o libstm32f4.a make[2]: Leaving directory '/media/shared/md380tools/applet/lib' rm -f *.img *.lst *.bin *.elf *.hex *.o *~ *.sym src/*~ src/version.h *.map *.tmp make[1]: Leaving directory '/media/shared/md380tools/applet' "make" -C annotations clean make[1]: Entering directory '/media/shared/md380tools/annotations' "make" -C d13.020 clean make[2]: Entering directory '/media/shared/md380tools/annotations/d13.020' rm -f *.tmp *.img make[2]: Leaving directory '/media/shared/md380tools/annotations/d13.020' "make" -C s13.020 clean make[2]: Entering directory '/media/shared/md380tools/annotations/s13.020' rm -f *.tmp *.img make[2]: Leaving directory '/media/shared/md380tools/annotations/s13.020' make[1]: Leaving directory '/media/shared/md380tools/annotations' "make" -C emulator clean make[1]: Entering directory '/media/shared/md380tools/emulator' rm -f *.o *~ md380-emu *.wav *.raw *.elf make[1]: Leaving directory '/media/shared/md380tools/emulator' rm -f *~ *.pyc *.bin "make" -C applet FW=D13_020 all make[1]: Entering directory '/media/shared/md380tools/applet' echo D13_020 >mark.tmp echo "#define VERSIONDATE L\"`date "+%Y-%m-%d"`\"" >src/version.h echo "#define GIT_VERSION \"eb6dfcc\"" >>src/version.h "make" -C lib libstm32f4.a make[2]: Entering directory '/media/shared/md380tools/applet/lib' arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o misc.o src/peripherals/misc.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_dma.o src/peripherals/stm32f4xx_dma.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_rcc.o src/peripherals/stm32f4xx_rcc.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_adc.o src/peripherals/stm32f4xx_adc.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_exti.o src/peripherals/stm32f4xx_exti.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_rng.o src/peripherals/stm32f4xx_rng.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_can.o src/peripherals/stm32f4xx_can.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_flash.o src/peripherals/stm32f4xx_flash.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_rtc.o src/peripherals/stm32f4xx_rtc.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_crc.o src/peripherals/stm32f4xx_crc.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_fsmc.o src/peripherals/stm32f4xx_fsmc.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_sdio.o src/peripherals/stm32f4xx_sdio.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_cryp_aes.o src/peripherals/stm32f4xx_cryp_aes.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_gpio.o src/peripherals/stm32f4xx_gpio.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_spi.o src/peripherals/stm32f4xx_spi.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_cryp.o src/peripherals/stm32f4xx_cryp.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_hash.o src/peripherals/stm32f4xx_hash.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_syscfg.o src/peripherals/stm32f4xx_syscfg.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_cryp_des.o src/peripherals/stm32f4xx_cryp_des.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_hash_md5.o src/peripherals/stm32f4xx_hash_md5.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_tim.o src/peripherals/stm32f4xx_tim.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_cryp_tdes.o src/peripherals/stm32f4xx_cryp_tdes.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_hash_sha1.o src/peripherals/stm32f4xx_hash_sha1.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_usart.o src/peripherals/stm32f4xx_usart.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_dac.o src/peripherals/stm32f4xx_dac.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_i2c.o src/peripherals/stm32f4xx_i2c.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_wwdg.o src/peripherals/stm32f4xx_wwdg.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_dbgmcu.o src/peripherals/stm32f4xx_dbgmcu.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_iwdg.o src/peripherals/stm32f4xx_iwdg.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_dcmi.o src/peripherals/stm32f4xx_dcmi.c arm-none-eabi-gcc -g -O2 -Wall -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -ffreestanding -nostdlib -Iinc -Iinc/core -Iinc/peripherals -fshort-wchar -c -o stm32f4xx_pwr.o src/peripherals/stm32f4xx_pwr.c arm-none-eabi-ar -r libstm32f4.a misc.o stm32f4xx_dma.o stm32f4xx_rcc.o stm32f4xx_adc.o stm32f4xx_exti.o stm32f4xx_rng.o stm32f4xx_can.o stm32f4xx_flash.o stm32f4xx_rtc.o stm32f4xx_crc.o stm32f4xx_fsmc.o stm32f4xx_sdio.o stm32f4xx_cryp_aes.o stm32f4xx_gpio.o stm32f4xx_spi.o stm32f4xx_cryp.o stm32f4xx_hash.o stm32f4xx_syscfg.o stm32f4xx_cryp_des.o stm32f4xx_hash_md5.o stm32f4xx_tim.o stm32f4xx_cryp_tdes.o stm32f4xx_hash_sha1.o stm32f4xx_usart.o stm32f4xx_dac.o stm32f4xx_i2c.o stm32f4xx_wwdg.o stm32f4xx_dbgmcu.o stm32f4xx_iwdg.o stm32f4xx_dcmi.o stm32f4xx_pwr.o arm-none-eabi-ar: creating libstm32f4.a make[2]: Leaving directory '/media/shared/md380tools/applet/lib' arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=main.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o main.o src/main.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=printf.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o printf.o src/printf.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=dmesg.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o dmesg.o src/dmesg.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=gfx.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o gfx.o src/gfx.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=system_stm32f4xx.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o system_stm32f4xx.o src/system_stm32f4xx.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=addl_config.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o addl_config.o src/addl_config.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=spiflash.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o spiflash.o src/spiflash.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=usb.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o usb.o src/usb.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=menu.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o menu.o src/menu.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=rtc_timer.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o rtc_timer.o src/rtc_timer.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=usersdb.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o usersdb.o src/usersdb.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=os.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o os.o src/os.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=aes.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o aes.o src/aes.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=ambe.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o ambe.o src/ambe.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=dmr.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o dmr.o src/dmr.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=display.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o display.o src/display.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=console.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o console.o src/console.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=util.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o util.o src/util.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=netmon.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o netmon.o src/netmon.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=debug.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o debug.o src/debug.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=keyb.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o keyb.o src/keyb.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=radiostate.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o radiostate.o src/radiostate.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=mbox.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o mbox.o src/mbox.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=syslog.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o syslog.o src/syslog.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=lastheard.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o lastheard.o src/lastheard.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=etsi.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o etsi.o src/etsi.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=sms.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o sms.o src/sms.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=beep.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o beep.o src/beep.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=irq_handlers.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o irq_handlers.o src/irq_handlers.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=narrator.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o narrator.o src/narrator.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=lcd_driver.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o lcd_driver.o src/lcd_driver.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=font_8_8.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o font_8_8.o src/font_8_8.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=app_menu.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o app_menu.o src/app_menu.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=color_picker.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o color_picker.o src/color_picker.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=amenu_hexmon.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o amenu_hexmon.o src/amenu_hexmon.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=amenu_utils.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o amenu_utils.o src/amenu_utils.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=amenu_set_tg.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o amenu_set_tg.o src/amenu_set_tg.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=amenu_codeplug.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o amenu_codeplug.o src/amenu_codeplug.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=timer.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o timer.o src/timer.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=dispinit.lst -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -c -o dispinit.o src/dispinit.c arm-none-eabi-gcc -std=gnu99 -g -O2 -Wall -Tapplet_d13.020.ld -mlittle-endian -mthumb -mcpu=cortex-m4 -mthumb-interwork -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fshort-wchar -Wa,-a=applet.elf -DFW_D13_020 -Iinc -Ilib -Ilib/inc -I. -Ilib/inc/core -Ilib/inc/peripherals -D "MD380_d13_020" -Wl,--no-wchar-size-warning -Wl,-Map,applet.map main.o printf.o dmesg.o gfx.o system_stm32f4xx.o addl_config.o spiflash.o usb.o menu.o rtc_timer.o usersdb.o os.o aes.o ambe.o dmr.o display.o console.o util.o netmon.o debug.o keyb.o radiostate.o mbox.o syslog.o lastheard.o etsi.o sms.o beep.o irq_handlers.o narrator.o lcd_driver.o font_8_8.o app_menu.o color_picker.o amenu_hexmon.o amenu_utils.o amenu_set_tg.o amenu_codeplug.o timer.o dispinit.o lib/startup_stm32f4xx_asm.S -o applet.elf -Llib -lstm32f4 -Xlinker --just-symbols=src/symbols_d13.020 arm-none-eabi-objdump -t applet.elf >applet.img.sym arm-none-eabi-objcopy -O binary applet.elf applet.img "make" -C ../patches/d13.020 patched.img make[2]: Entering directory '/media/shared/md380tools/patches/d13.020' cd ../../firmware && "make" unwrapped/D013.020.img make[3]: Entering directory '/media/shared/md380tools/firmware' "make" -f Makefile_orig unwrapped/D013.020.img make[4]: Entering directory '/media/shared/md380tools/firmware' mkdir -p dl https://archive.org/download/TYTMD380FW2/TYT-Vocoder-MD380-D13.20.bin => dl/D013.020.bin mkdir -p bin cp dl/D013.020.bin bin/D013.020.bin mkdir -p unwrapped ../md380-fw --unwrap bin/D013.020.bin unwrapped/D013.020.img DEBUG: reading "bin/D013.020.bin" INFO: base address 0x800c000 INFO: length 0xf3000 DEBUG: writing "unwrapped/D013.020.img" make[4]: Leaving directory '/media/shared/md380tools/firmware' make[3]: Leaving directory '/media/shared/md380tools/firmware' cp ../../firmware/unwrapped/D013.020.img unwrapped.img ./patch.py Creating patches from unwrapped.img. Patching hword at 08033f48 to 46c0 Patching hword at 08033f4a to 46c0 Patching hword at 08033f5e to 46c0 Patching hword at 08033f60 to 46c0 Patching hword at 08033f74 to 46c0 Patching hword at 08033f76 to 46c0 Patching hword at 08033f8a to 46c0 Patching hword at 08033f8c to 46c0 Patching hword at 08033fa0 to 46c0 Patching hword at 08033fa2 to 46c0 Patching hword at 08033fb6 to 46c0 Patching hword at 08033fb8 to 46c0 Patching hword at 0804916e to 46c0 Patching hword at 08049170 to 46c0 Patching hword at 080499f4 to 46c0 Patching hword at 080499f6 to 46c0 Patching hword at 08049cb8 to 46c0 Patching hword at 08049cba to 46c0 Patching hword at 0804a144 to 46c0 Patching hword at 0804a146 to 46c0 Patching hword at 0804abd0 to 46c0 Patching hword at 0804abd2 to 46c0 Patching range from 0809aee8 to 080cf754 to FF. Patching word at 0800c020 to 080f9245 Patching word at 0800c004 to 0809af01 Patching hword at 0809af00 to 4840 Patching hword at 0809af02 to 2100 Patching hword at 0809af04 to 3901 Patching hword at 0809af06 to 4508 Patching hword at 0809af08 to d100 Patching hword at 0809af0a to 483c Patching hword at 0809af0c to 4700 Patching word at 0809affc to 080f9245 Patching wide string at 080cfcac to 'MD380Tools Ver.'. Patching string at 080f86c8 to 'Travis Goodspeed KK4VCZ'. Patching string at 080cfff4 to 'Patched MD380'. ../../md380-gfx --firmware=patched.img --gfx=replacement-font-big-latin.pbm fontreplace DEBUG: reading "patched.img" DEBUG: writing "patched.img" ../../md380-gfx --firmware=patched.img --gfx=replacement-font-small-latin.pbm fontreplace DEBUG: reading "patched.img" DEBUG: writing "patched.img" make[2]: Leaving directory '/media/shared/md380tools/patches/d13.020' cp ../patches/d13.020/patched.img ./merged.img python2 merge_d13.020.py merged.img applet.img 0x0809b000 Merging an applet. Loading symbols from applet.img.sym Inserting a stub hook at 0800c72e to 0809cb31. Patching SysTick_Handler in VT addr 0x0800c03c, old value in vector table = 0x08093f1d, expected in vector table = 0x08093f1d, new value in vector table = 0x080a2a15. SysTick_Handler successfully patched. Merging applet.img into merged.img at 0809b000 Merging applet.img into merged.img at 0809b000 ../md380-fw --wrap merged.img wrapped.bin DEBUG: reading "merged.img" INFO: base address 0x800c000 INFO: length 0xf3000 DEBUG: writing "wrapped.bin" cp wrapped.bin experiment.bin make[1]: Leaving directory '/media/shared/md380tools/applet' root@yhf:/media/shared/md380tools# python md380_dfu.py upgrade applet/experiment.bin Beginning firmware upgrade. Writing firmware: 0% complete 11% complete 22% complete 33% complete 44% complete 55% complete 66% complete 77% complete 88% complete 100% complete, now safe to disconnect and/or reboot radio root@yhf:/media/shared/md380tools#