KD4Z - md380tools-menu Toolkit (v4.43) (Contacts 50474 / 2555287 bytes) Before running flash or flashgps, the radio must be in DFU mode. Power on holding PTT and top button. Before running flashdb the radio should be in normal power ON mode. glv -- (Get Latest Version) Downloads and builds everything. glvusers -- Downloads and builds User DB only. After glv, all commands below can be run without an Internet connection. flash -- Not available. Run glv again flashgps -- Not available. Run glv again flashdb -- (ON) Write User DB (Contacts) to radio lookup searchstring -- Search the User DB for given text menu -- Display this screen again tweaks -- Tweaks menu help -- Display typical command recipes pi@raspberrypi:~ $ glv Updating the KD4Z Toolkit Cloning into 'md380tools-vm'... remote: Counting objects: 1391, done. remote: Compressing objects: 100% (78/78), done. remote: Total 1391 (delta 102), reused 132 (delta 81), pack-reused 1232 Receiving objects: 100% (1391/1391), 29.80 MiB | 1.15 MiB/s, done. Resolving deltas: 100% (884/884), done. Updating md380tools Cloning into 'md380tools'... remote: Counting objects: 11887, done. remote: Compressing objects: 100% (23/23), done. remote: Total 11887 (delta 11), reused 17 (delta 8), pack-reused 11856 Receiving objects: 100% (11887/11887), 9.60 MiB | 924.00 KiB/s, done. Resolving deltas: 100% (8374/8374), done. ~/md380tools ~ patching file applet/src/keyb.c patching file applet/src/keyb.h patching file applet/src/netmon.h ~ Archive: /home/pi/md380tools-vm/root/alias_version.zip inflating: .bash_aliases.version File ../archive/firmware-noGPS.bin does not exist {NC} rm -rf dist/md380tools-`date "+%Y-%m-%d"` dist/md380tools-`date "+%Y-%m-%d"`.zip mkdir -p dist/md380tools-`date "+%Y-%m-%d"`/python "make" clean image_D13 make[1]: Entering directory '/home/pi/md380tools' "make" -C patches/2.032 clean make[2]: Entering directory '/home/pi/md380tools/patches/2.032' rm -f *~ *.bin *.img *.pyc make[2]: Leaving directory '/home/pi/md380tools/patches/2.032' "make" -C patches/3.020 clean make[2]: Entering directory '/home/pi/md380tools/patches/3.020' rm -f *~ *.bin *.img make[2]: Leaving directory '/home/pi/md380tools/patches/3.020' "make" -C patches/s13.020 clean make[2]: Entering directory '/home/pi/md380tools/patches/s13.020' rm -f *~ *.bin *.img *.pyc make[2]: Leaving directory '/home/pi/md380tools/patches/s13.020' "make" -C patches/d13.020 clean make[2]: Entering directory '/home/pi/md380tools/patches/d13.020' rm -f *~ *.bin *.img *.pyc make[2]: Leaving directory '/home/pi/md380tools/patches/d13.020' "make" -C applet clean make[2]: Entering directory '/home/pi/md380tools/applet' "make" -C ../patches/d13.020 clean make[3]: Entering directory '/home/pi/md380tools/patches/d13.020' rm -f *~ *.bin *.img *.pyc make[3]: Leaving directory '/home/pi/md380tools/patches/d13.020' "make" -C lib clean make[3]: Entering directory '/home/pi/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[3]: Leaving directory '/home/pi/md380tools/applet/lib' rm -f *.img *.lst *.bin *.elf *.hex *.o *~ *.sym src/*~ src/version.h *.map *.tmp make[2]: Leaving directory '/home/pi/md380tools/applet' "make" -C annotations clean make[2]: Entering directory '/home/pi/md380tools/annotations' "make" -C d13.020 clean make[3]: Entering directory '/home/pi/md380tools/annotations/d13.020' rm -f *.tmp *.img make[3]: Leaving directory '/home/pi/md380tools/annotations/d13.020' "make" -C s13.020 clean make[3]: Entering directory '/home/pi/md380tools/annotations/s13.020' rm -f *.tmp *.img make[3]: Leaving directory '/home/pi/md380tools/annotations/s13.020' make[2]: Leaving directory '/home/pi/md380tools/annotations' "make" -C emulator clean make[2]: Entering directory '/home/pi/md380tools/emulator' rm -f *.o *~ md380-emu *.wav *.raw *.elf make[2]: Leaving directory '/home/pi/md380tools/emulator' rm -f *~ *.pyc *.bin "make" -C applet FW=D13_020 all make[2]: Entering directory '/home/pi/md380tools/applet' echo D13_020 >mark.tmp echo "#define VERSIONDATE L\"`date "+%Y-%m-%d"`\"" >src/version.h echo "#define GIT_VERSION \"e396ded\"" >>src/version.h "make" -C lib libstm32f4.a make[3]: Entering directory '/home/pi/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 make[3]: arm-none-eabi-gcc: Command not found Makefile:34: recipe for target 'misc.o' failed make[3]: *** [misc.o] Error 127 make[3]: Leaving directory '/home/pi/md380tools/applet/lib' Makefile:136: recipe for target 'lib' failed make[2]: *** [lib] Error 2 make[2]: Leaving directory '/home/pi/md380tools/applet' Makefile:29: recipe for target 'image_D13' failed make[1]: *** [image_D13] Error 2 make[1]: Leaving directory '/home/pi/md380tools' Makefile:120: recipe for target 'dist' failed make: *** [dist] Error 2 The dmr-marc file stripped.csv should be here but I can not find it! cat: db/stripped.csv: No such file or directory cp: cannot stat 'dist/md380tools-2018-04-04/firmware-2018-04-04-NoGPS.bin': No such file or directory cp: cannot stat 'dist/md380tools-2018-04-04/firmware-2018-04-04-GPS.bin': No such file or directory cp: cannot stat 'dist/md380tools-2018-04-04/firmware-2018-04-04-OLD.bin': No such file or directory cp: cannot stat 'dist/md380tools-2018-04-04.zip': No such file or directory Archive: /home/pi/md380tools-vm/nicknames.zip inflating: user.nicknames Downloading dmr-marc data....done Downloading alternate data....done Merging data... Contact Merge completed. DMR-MARC count : 0 records (0 bytes) Nickname count : 4470 records Alternate count : 48441 records (2520858 bytes) ** The Downloads for Contact information may have failed - run glvusers again ** before running flashdb, as the user.bin is not normal size. Merged total : 50473 records User.bin filesize: 2555279 bytes (not including header record) Processing complete. cp: cannot stat '/home/pi/firmware-noGPS.bin': No such file or directory cp: cannot stat '/home/pi/firmware-GPS.bin': No such file or directory cp: cannot stat '/home/pi/firmware-OLD.bin': No such file or directory Run menu to return to the main menu screen pi@raspberrypi:~ $