Building chaos calmer from source
Posted: Tue Mar 07, 2017 12:03 am
I have updated my Chaos Calmer repo, people wanting to build their own images may want to check it out.
You can use spi with the second chip select now as long as you don't need full duplex, there appears to be a silicon bug in the 7628 that prevents full duplex. At least flashrom works, probably many other things. The patch comes from a forum that goes on and offline alot, but thanks to beniwa for this!
The readme is updated, hopefully more helpful now and the subtarget selection is reworked so it should be more obvious how to get what you want. Has subtargets for Ultimate, Bare Board or Airplay, Beta, and Lite (Preliminary I don't have hardware yet).
There are also a few "special purpose" images you can build, these may be a good start for learning how to customize dts files for your needs, in particular there are:
Image for exporting all available gpios with the exception of the i2c pins. If you want to get more gpios than stock start with this, as is it gives you 28 gpios.
Image with spidev set up and flashrom installed, this should be useful to use one VoCore to flash a new image to a totally bricked VoCore. It can also write any flash chip up to 16MB that is supported by flashrom .
Image that is set up to use a second flash chip as an mtd device. This can be used to write any flash chip supported by OpenWrt, this is set up for chips up to 32MB but can be changed for larger chips.
I have tested these images, but I am sure there are problems in there, please open an issue on the github repo if you find any. Better yet, fix it and submit a pull request.
You can use spi with the second chip select now as long as you don't need full duplex, there appears to be a silicon bug in the 7628 that prevents full duplex. At least flashrom works, probably many other things. The patch comes from a forum that goes on and offline alot, but thanks to beniwa for this!
The readme is updated, hopefully more helpful now and the subtarget selection is reworked so it should be more obvious how to get what you want. Has subtargets for Ultimate, Bare Board or Airplay, Beta, and Lite (Preliminary I don't have hardware yet).
There are also a few "special purpose" images you can build, these may be a good start for learning how to customize dts files for your needs, in particular there are:
Image for exporting all available gpios with the exception of the i2c pins. If you want to get more gpios than stock start with this, as is it gives you 28 gpios.
Image with spidev set up and flashrom installed, this should be useful to use one VoCore to flash a new image to a totally bricked VoCore. It can also write any flash chip up to 16MB that is supported by flashrom .
Image that is set up to use a second flash chip as an mtd device. This can be used to write any flash chip supported by OpenWrt, this is set up for chips up to 32MB but can be changed for larger chips.
I have tested these images, but I am sure there are problems in there, please open an issue on the github repo if you find any. Better yet, fix it and submit a pull request.