
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arm-none-eabi-objdump -d -marm -Mforce-thumb --adjust-vma=0x8000000 -b binary _infile_ etc | |
it would be 0x18000 for an nrf51 after softdevice, etc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://review.coreboot.org/cgit/flashrom.git | |
make CONFIG_SATAMV=0 CONFIG_LINUX_I2C=0 NOWARNERROR=yes CONFIG_LINUX_SPI=yes CONFIG_ENABLE_LIBPCI_PROGRAMMERS=no CONFIG_ENABLE_LIBUSB0_PROGRAMMERS=no | |
on a pi | |
flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=1000 | |
on a beagle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ADB tool for the Raspberry Pi and similar environments not supported by the Android SDK. | |
#based on https://gist.github.com/splhack/958335 | |
#This is a very simple hack for building adb on its own, using a lot of stock Linux libraries (libssl, libcrypt) | |
#in place of the versions shipped with AOSP, in order to avoid having to pull down a lot of code. | |
#git clone https://android.googlesource.com/platform/system/core system/core | |
#The method below does not work with the most recent version (you will see const char* conversion errors | |
#as a C file has been changed to a CPP one where that is more strict). However, it _can_ be made to work |