Do you need something that is fully Json compliant, or something to work on simple key-value pairs. I wrote the following. It has worked, but no guarantees.
use: json json-string key default
json(){
a=$(echo "$1" | sed -E 's/[{}]/,/g; s/ *([:,]) /\1/g; s/"//g' | grep -oE ",$2:[^,]")
if [ -z "$a" ]; then
echo "$3"
else
echo "$a" | cut -d : -f 2
fi
}
@Bogdan-Cimpeanu that link is for old docs, the docs for Onion2 is https://docs.onion.io/omega2-docs/installing-and-using-git.html which has the steps described.
I know it is confusing that they having 2 sets of documents.
No not all cpus are affected, not by a very long shot. Only ones that have speculative execution (through a vulnerable cache design). And from what they are saying/implying it has to be more than just a little branch prediction/prefetch, meaning it needs more fetching than that. I cant see this core falling into that category. But will see I guess.
If you dont have an mmu/cache then you are certainly not vulnerable to this category of problem.
@dileep-kv i had experienced same boot problem(via wifi) when i was powering from Uno.. change power source. use 1117 3.3 voltage regulator or equivalent.
@Andrew said in Hologram Cellular Expansion Docs?:
Some official information is finally here: https://onion.io/2bt-january-2-2018/
Its not working for me. Well, I get an IP for the module, but connection are going out the wifi connection. I had to do:
ip route delete default via <gateway from ip route> dev apcli0
ip route add default via <ip from ifconfig 3g-hologram> dev 3g-hologram
Can't ssh to it though.
@ccs-hello As you know (probably better than me R2 680k, R1 150k are recommended by the data sheet
0.6V * (1 + 680/150) = 3.32V
R2 45.3k, R1 10k are selected by Onion's HW engineer (I wonder who is he/she?)
0.6V * (1 + 45.3/10) = 3.318V - so it's OK.
Thanks.
@Douglas-Kryder for what? Pine is just simple dev board, ok, raspberry shows the same error, should I go to raspberry forum? I use flashrom, pine64 is connected by spi, and is used for communication only
upd: I resized uboot.bin up to required size and flashed it without errors, tomorrow I will solder it back to omega2 and test it