User Tools

Site Tools


howto:dumlrub

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
howto:dumlrub [2017/07/29 14:13]
czokie created
howto:dumlrub [2017/08/12 12:05]
czokie
Line 19: Line 19:
   git pull   git pull
  
-===== 3. Get some firmware ===== +===== 3. BackDatAssUp ===== 
-If you are planning to flash new firmware, you obviously need some firmware filesThe primary source is http://github.com/MAVProxyUser/dji_system.bin ... or, you can go to [[.:firmware]] for listing of what is available+This command will make a backup copy of all firmware on your connected equipment. During the process, it will: 
 +  - Login to your equipment via FTP 
 +  - Get a list of all files in /upgrade/upgrade/backup 
 +  - Get all of the files found 
 +  - AES Decrypt the files 
 +  - Do some XOR magic to undo the final DJI file tampering 
 +  - Stick it all in the backup directory 
 + 
 + 
 +  ruby BackDatAssUp.rb  
 + 
 +Once it is complete, you will find a firmware file dji_system.bin in the current directory. 
 + 
 +===== 4: RubaDubDUML ===== 
 +RubaDubDUML is designed to upload a firmware image to your device. It takes two parameters. One being the comm port to useand the other being the firmware to upload. 
 + 
 +  ruby RubaDubDUML.rb /dev/tty.usbmodem1445 dji_system.bin 
 + 
 +===== 5: LogJammer ===== 
 + 
 +LogJammer is designed to pull upgrade log files from your aircraft and decrypt them automatically 
 + 
 +  ruby LogJammer.rb 
 + 
 +===== 6: CherryPicker ===== 
 + 
 +CherryPicker allows you to pick individual firmware modules to allow you to "roll your own" firmware image. 
 + 
 +It needs module installed that is not in the toolchain page. This module is a little "demanding" to install. FIXME Need to update toolchain page once we work out how to do this repeatably. Mac command listed below is what SHOULD work. 
 + 
 + 
 +  xcode-select --install 
 +  sudo gem install nokogiri  -v '1.6.7.2' -- --with-xml2-include=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.*.sdk/usr/include/libxml2 --use-system-libraries 
 + 
 + 
 +  ruby CherryPicker.rb 
 + 
  
 ===== To be continued ===== ===== To be continued =====
 +<todo>Update toolchain loco for install details for nokogiri </todo>
 +<todo>Video or other explanation of what comes next</todo>
howto/dumlrub.txt · Last modified: 2019/09/15 13:08 by sprzedawcamarzen