@@ -1,4 +1,8 @@ | |||||
# https://github.com/raspberrypi/hats/tree/master/eepromutils/ | |||||
# ./eepmake programdat.txt programdat.eep | |||||
# https://www.raspberrypi.org/documentation/configuration/pin-configuration.md | |||||
# https://www.github.com/raspberrypi/hats/tree/master/eepromutils/ | |||||
$ dtc -I dts -O dtb -o programrst.dtb programrst.dts | |||||
$ ./eepmake programdat.txt programdat.eep programrst.dtb | |||||
# now short J7 with a paperclip | # now short J7 with a paperclip | ||||
# sudo ./eepflash.sh -w -t=24c32 -f=programdat.eep | |||||
$ sudo ./eepflash.sh -w -t=24c32 -f=programdat.eep | |||||
# to clean binaries, rm programdat.eep programrst.dtb | |||||
# to test reboot, blue button, and sendcommrst.sh |
@@ -0,0 +1,44 @@ | |||||
// Configure reset on GPIO-26(Pin-37) | |||||
// Unknown if pullup works on output? | |||||
// Note: Until its know how to set a | |||||
// inital output value (to HIGH) | |||||
// then we must initalise for input | |||||
// | |||||
/dts-v1/; | |||||
/plugin/; | |||||
// /* brcm,function property */ | |||||
// #define BCM2835_FSEL_GPIO_IN 0 | |||||
// #define BCM2835_FSEL_GPIO_OUT 1 | |||||
// #define BCM2835_FSEL_ALT5 2 | |||||
// #define BCM2835_FSEL_ALT4 3 | |||||
// #define BCM2835_FSEL_ALT0 4 | |||||
// #define BCM2835_FSEL_ALT1 5 | |||||
// #define BCM2835_FSEL_ALT2 6 | |||||
// #define BCM2835_FSEL_ALT3 7 | |||||
// | |||||
// /* brcm,pull property */ | |||||
// #define BCM2835_PUD_OFF 0 | |||||
// #define BCM2835_PUD_DOWN 1 | |||||
// #define BCM2835_PUD_UP 2 | |||||
/ { | |||||
//compatible = "brcm,bcm2835"; | |||||
//compatible = "brcm,bcm2708,bcm2835"; | |||||
fragment@0 { | |||||
target = <&gpio>; | |||||
__overlay__ { | |||||
status = "okay"; | |||||
gpclk2_gpio26: gpclk2_gpio26 { | |||||
brcm,pins = <26>; | |||||
//brcm,function = <1>; // BCM2835_FSEL_GPIO_OUT 1 | |||||
brcm,function = <0>; // BCM2835_FSEL_GPIO_IN 0 | |||||
//brcm,value = <1>; // This may not work? | |||||
//brcm,state = <1>; // This may not work? | |||||
//brcm,pull = <0>; // Pullup not possible out? | |||||
brcm,pull = <2>; // BCM2835_PUD_UP 2 | |||||
}; | |||||
}; | |||||
}; | |||||
}; |
@@ -30,15 +30,17 @@ Online PDF compression is not helpful | |||||
EEPROM | EEPROM | ||||
Review programdat.txt for up to date accuracy | Review programdat.txt for up to date accuracy | ||||
Use eepmake(1) to generate a new database [2] | |||||
Update 'product_ver 0x0002' to reflect 'REL_2' | |||||
Use EEPROM tools to generate a new database [2] | |||||
[2] eepmake programdat.txt SendcommHat-dat.eep | |||||
[2] dtc -I dts -O dtb -o programrst.dtb programrst.dts | |||||
[2] eepmake programdat.txt programdat.eep programrst.dts | |||||
Firmware | Firmware | ||||
Review firmware changes | Review firmware changes | ||||
Build solution binaries | Build solution binaries | ||||
Collect with SendcommHat-dat.eep | |||||
Collect with program*.eep/dtb | |||||
Package to DSCommFW-X.X.X.tar.xz | Package to DSCommFW-X.X.X.tar.xz | ||||
DSCommFW-X.X.X/Debug/SendcommCmdsys-dbg.bin | DSCommFW-X.X.X/Debug/SendcommCmdsys-dbg.bin | ||||
DSCommFW-X.X.X/Debug/SendcommPeer2P-dbg.bin | DSCommFW-X.X.X/Debug/SendcommPeer2P-dbg.bin | ||||