I was following
these directions to install LininoIO, which ask that in U-Boot I set the console baud to 250000:
linino> setenv baudrate 250000
It worked and I saved it to flash. But ever since then bootconsole (initial boot) is nothing but gibberish. I have tried and tried to get back into U-Boot but can't because it's gibberish. As I now have LininoIO I tried
# fw_setenv baudrate 115200
... but no change, and there doesn't seem to be a fw_saveenv command.
---------------------------------------------------
f⸮⸮~⸮⸮⸮⸮`⸮⸮⸮⸮⸮⸮⸮⸮f⸮⸮fx⸮⸮⸮⸮⸮~⸮⸮⸮⸮⸮⸮⸮fx怘⸮⸮f⸮⸮~⸮⸮ff⸮fxxf⸮f⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮~⸮⸮⸮⸮⸮x~⸮昆⸮f⸮x`⸮⸮⸮⸮f⸮怘⸮⸮f⸮⸮~⸮⸮⸮⸮~⸮~⸮⸮f⸮⸮⸮⸮⸮⸮f⸮x⸮fxx⸮⸮⸮⸮⸮⸮f⸮⸮~⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮~⸮⸮ff⸮~`⸮⸮⸮⸮⸮``⸮⸮⸮~`⸮⸮⸮⸮⸮⸮⸮⸮~⸮⸮⸮⸮⸮⸮fxx⸮~⸮⸮⸮⸮⸮⸮f⸮⸮⸮⸮f⸮⸮~`f~f⸮⸮f⸮⸮⸮⸮⸮fx⸮⸮⸮⸮f⸮f⸮⸮ff⸮⸮⸮f⸮~怘⸮⸮f⸮⸮~⸮⸮fx⸮⸮⸮f⸮~⸮f⸮⸮f⸮⸮⸮ff⸮怘⸮⸮f⸮⸮~⸮f⸮⸮fxf⸮`fxxf⸮⸮⸮fx⸮⸮⸮⸮f⸮f⸮⸮ff⸮⸮⸮f⸮~怘⸮⸮f⸮⸮~⸮⸮fx⸮⸮⸮f⸮~⸮f⸮⸮f⸮⸮⸮ff⸮怘⸮⸮f⸮⸮~⸮⸮⸮⸮⸮`⸮⸮x⸮⸮⸮`x⸮⸮f⸮⸮`⸮⸮⸮⸮f⸮~⸮⸮⸮x⸮⸮f⸮⸮⸮⸮⸮⸮⸮~⸮⸮⸮⸮⸮⸮`⸮⸮x怘⸮⸮f⸮⸮~⸮⸮⸮⸮ff`⸮⸮⸮f⸮⸮~fx⸮~怘⸮⸮f⸮⸮~⸮⸮⸮f⸮⸮⸮⸮⸮⸮⸮⸮f⸮⸮~⸮⸮xf⸮⸮⸮f⸮⸮⸮⸮f⸮⸮~⸮⸮~f`⸮⸮x⸮⸮⸮⸮f⸮⸮⸮⸮⸮⸮`fx怘⸮⸮f⸮⸮~⸮f⸮⸮⸮⸮⸮⸮fx⸮⸮⸮ff`⸮⸮⸮f⸮⸮~fxf⸮⸮⸮⸮f⸮⸮~~⸮⸮⸮⸮⸮⸮f⸮⸮~⸮f~⸮⸮⸮⸮`⸮⸮⸮⸮⸮⸮f⸮⸮⸮~⸮⸮⸮⸮⸮⸮⸮⸮f⸮⸮xf⸮⸮⸮⸮⸮⸮f⸮⸮⸮⸮⸮`f⸮x⸮ff⸮⸮⸮~⸮⸮⸮⸮⸮⸮f⸮⸮`f⸮f⸮xf⸮⸮⸮~⸮⸮⸮⸮怘⸮⸮f⸮⸮~⸮⸮fx⸮⸮f⸮⸮⸮⸮⸮⸮⸮⸮`⸮⸮⸮⸮⸮f⸮~⸮⸮⸮⸮x⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮憆f~⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮ff~`fff⸮⸮⸮⸮⸮⸮⸮~`f⸮⸮~f⸮⸮f⸮⸮~⸮⸮⸮⸮⸮⸮ff⸮⸮⸮⸮`f⸮⸮⸮⸮x⸮⸮⸮⸮ff⸮⸮⸮⸮`f⸮f⸮⸮xf⸮⸮⸮x⸮⸮⸮⸮⸮⸮⸮⸮⸮`⸮xf⸮⸮⸮x⸮⸮⸮⸮⸮⸮f⸮⸮⸮⸮f⸮⸮⸮⸮⸮x⸮⸮⸮⸮⸮⸮x⸮⸮ff⸮⸮⸮⸮⸮x⸮⸮⸮⸮⸮⸮~⸮⸮⸮⸮⸮⸮⸮⸮xx⸮⸮f⸮xf⸮f⸮~f⸮⸮fx⸮⸮⸮⸮⸮⸮`⸮x~⸮fx⸮⸮ff~⸮⸮⸮x⸮⸮⸮⸮⸮x⸮x⸮x⸮⸮⸮⸮⸮⸮⸮⸮⸮`⸮⸮x⸮⸮fx⸮⸮`⸮⸮⸮⸮⸮`⸮x~⸮fx⸮⸮ff~⸮⸮⸮x⸮⸮⸮⸮⸮x⸮x⸮x⸮⸮⸮⸮⸮⸮⸮⸮⸮`⸮⸮x怘⸮⸮f⸮⸮~f`⸮⸮⸮⸮~⸮⸮⸮f⸮⸮⸮⸮`⸮⸮f⸮f⸮⸮⸮~xf⸮⸮⸮xf⸮⸮⸮~⸮⸮x⸮⸮⸮⸮x`⸮f~f⸮⸮f⸮怘⸮⸮f⸮⸮~`f⸮⸮`⸮⸮f⸮⸮f⸮⸮⸮f⸮⸮⸮⸮~⸮⸮⸮f⸮⸮⸮⸮`⸮⸮f⸮f⸮⸮⸮~⸮⸮⸮⸮x⸮⸮⸮xf⸮⸮⸮~⸮x⸮⸮⸮x⸮x⸮f~f⸮⸮f⸮怘⸮⸮f⸮⸮~⸮⸮⸮⸮⸮`fx⸮f⸮⸮⸮f⸮⸮⸮⸮~⸮⸮⸮f⸮⸮⸮⸮`⸮⸮f⸮f⸮⸮⸮~⸮⸮⸮⸮⸮xf⸮⸮⸮~x⸮⸮⸮⸮⸮f~f⸮⸮f⸮怘⸮⸮f⸮⸮~f⸮f⸮⸮⸮⸮f⸮⸮⸮⸮~f~~⸮⸮⸮⸮⸮⸮⸮⸮f⸮⸮⸮f`⸮憀⸮f⸮⸮ff⸮⸮⸮~ff⸮⸮⸮⸮⸮⸮f⸮⸮f⸮⸮fx⸮x⸮f~f⸮⸮⸮⸮怘⸮⸮f⸮⸮~f⸮f⸮⸮⸮⸮fx~⸮⸮f⸮⸮⸮f⸮x⸮憀⸮⸮~ff⸮f⸮⸮ff⸮⸮⸮⸮f⸮⸮⸮f⸮⸮⸮⸮⸮⸮⸮fx⸮⸮⸮⸮⸮⸮f⸮⸮f⸮⸮fx⸮x⸮f~f⸮⸮f⸮⸮⸮⸮f⸮⸮~⸮ff⸮`f⸮⸮⸮~⸮⸮⸮⸮⸮⸮~⸮⸮⸮fx~f⸮~f⸮⸮f⸮⸮⸮⸮f⸮⸮~⸮fxxf⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮~⸮⸮⸮fx~f⸮~f⸮⸮f⸮⸮⸮⸮f⸮⸮~⸮fx⸮⸮⸮f⸮~⸮⸮⸮⸮⸮x⸮⸮⸮xx⸮⸮⸮⸮⸮~f⸮⸮⸮⸮⸮⸮f⸮⸮⸮⸮⸮⸮⸮⸮⸮fx⸮⸮f⸮⸮⸮⸮`fx⸮⸮f⸮x⸮⸮⸮fxfx⸮~fx⸮⸮~⸮⸮x~⸮⸮⸮⸮x⸮⸮⸮⸮⸮⸮⸮⸮`⸮⸮⸮⸮⸮⸮~⸮⸮ff⸮⸮⸮怘⸮⸮f⸮⸮~⸮⸮⸮ff⸮⸮~⸮`f⸮⸮⸮⸮⸮⸮⸮f⸮⸮⸮⸮~f⸮⸮⸮⸮~⸮⸮⸮x⸮⸮⸮xf⸮⸮f⸮⸮⸮x⸮⸮⸮f⸮⸮⸮⸮⸮⸮⸮fx~f⸮⸮⸮ff⸮⸮f⸮⸮⸮⸮⸮⸮`fxf⸮⸮⸮⸮⸮⸮f⸮⸮~⸮ff⸮⸮ff⸮⸮~⸮⸮怘⸮⸮f⸮⸮~⸮⸮f⸮⸮⸮⸮⸮f~⸮⸮⸮⸮~xf⸮f⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮f⸮`x⸮⸮~⸮昆⸮f⸮⸮⸮⸮⸮⸮f⸮⸮⸮x⸮⸮⸮怘⸮⸮f⸮⸮~f⸮`⸮f⸮f⸮~xf⸮xf~⸮⸮`⸮~⸮x⸮x⸮⸮f⸮⸮⸮⸮⸮⸮ff⸮⸮⸮x⸮⸮⸮⸮⸮⸮f⸮⸮~⸮⸮f⸮⸮`f⸮f⸮⸮⸮f⸮⸮⸮⸮~⸮⸮⸮f⸮⸮⸮⸮`⸮⸮f⸮f⸮⸮⸮~⸮⸮⸮x怘⸮⸮f⸮⸮⸮⸮~⸮ff⸮⸮fx~f⸮~f⸮⸮fx`⸮⸮⸮`⸮⸮⸮⸮xf⸮⸮⸮⸮⸮⸮⸮⸮怘⸮⸮f⸮⸮⸮⸮~⸮xf⸮⸮⸮⸮⸮⸮⸮f⸮x`⸮~⸮fx~f⸮~f⸮⸮fx`⸮`f⸮~⸮⸮x⸮⸮⸮⸮⸮xf⸮~⸮⸮fx⸮⸮⸮~⸮⸮~⸮⸮⸮⸮⸮⸮f⸮⸮~⸮f⸮f⸮⸮~⸮⸮f⸮⸮⸮⸮⸮⸮⸮f⸮⸮⸮⸮⸮⸮⸮xff⸮⸮⸮⸮⸮⸮xf~⸮⸮怘⸮⸮f⸮⸮⸮⸮~x⸮f⸮⸮⸮⸮⸮⸮⸮⸮⸮f⸮fx`f~f⸮~⸮~⸮⸮⸮⸮⸮f怆~f⸮~~⸮⸮~x~⸮⸮⸮⸮~⸮⸮~怘⸮⸮f⸮x⸮~x⸮f⸮⸮⸮⸮⸮⸮⸮⸮⸮f⸮fx`f~f⸮⸮~⸮⸮~⸮⸮⸮f怆~f⸮~~⸮⸮~x~⸮⸮⸮⸮~⸮⸮~怘⸮⸮f⸮f⸮⸮⸮~⸮⸮f⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮fx`~⸮⸮⸮⸮~⸮`f⸮怘⸮⸮f⸮f⸮⸮⸮~⸮⸮fx`~⸮⸮⸮⸮~⸮`f⸮⸮⸮fx⸮⸮⸮⸮f⸮f⸮~⸮⸮fx`~⸮⸮⸮⸮~⸮`f⸮⸮⸮f⸮xx⸮⸮⸮⸮f⸮f⸮~⸮⸮fx`~⸮⸮⸮⸮~⸮`f⸮⸮ff⸮⸮f⸮f⸮⸮x⸮⸮⸮⸮f⸮f⸮~⸮⸮f⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮~⸮`f⸮⸮⸮f⸮⸮⸮⸮⸮`⸮⸮⸮⸮⸮⸮⸮f⸮⸮⸮怘⸮⸮f⸮f⸮~⸮f⸮⸮⸮⸮⸮⸮⸮⸮fx~f⸮⸮⸮⸮⸮⸮f⸮⸮⸮⸮⸮⸮~⸮⸮⸮⸮f⸮f⸮⸮⸮~⸮⸮⸮⸮⸮⸮⸮⸮⸮fx⸮⸮fx~f⸮~f⸮⸮fx`⸮f⸮~⸮⸮⸮⸮`fx⸮x⸮⸮fxxf⸮xfx⸮⸮⸮⸮⸮⸮⸮xf⸮⸮⸮⸮f⸮f⸮⸮⸮~⸮⸮⸮⸮⸮⸮⸮⸮⸮fx⸮⸮fx~f⸮~f⸮⸮fx`⸮f⸮~⸮⸮⸮⸮`fx⸮x⸮⸮fxxf⸮xfx⸮f⸮⸮f⸮⸮⸮⸮f⸮x⸮~⸮⸮⸮⸮⸮⸮⸮⸮⸮fx⸮⸮fx~f⸮~f⸮⸮fx`⸮f⸮~xf⸮~⸮⸮fxxf⸮xfx⸮⸮⸮⸮⸮⸮f⸮⸮⸮⸮f⸮x⸮~⸮⸮⸮~⸮⸮`⸮⸮⸮⸮⸮⸮⸮~~⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮f⸮⸮⸮⸮fx⸮f⸮f⸮f⸮⸮⸮⸮f⸮x⸮⸮⸮~⸮ff⸮⸮fx~f⸮~f⸮⸮fx`⸮⸮⸮`⸮⸮⸮⸮xf⸮⸮⸮⸮⸮⸮x怘⸮⸮f⸮x⸮⸮⸮~⸮f⸮⸮f~f⸮⸮f⸮⸮⸮f⸮⸮⸮⸮~⸮⸮⸮f⸮⸮⸮⸮`⸮⸮f⸮f⸮⸮⸮~⸮⸮x`⸮⸮⸮xf⸮⸮⸮~⸮⸮⸮⸮f~f⸮⸮f⸮怘⸮⸮f⸮xx⸮~ff⸮⸮⸮⸮~⸮⸮⸮⸮⸮⸮fx⸮⸮⸮⸮~⸮⸮⸮f⸮⸮⸮⸮`⸮⸮f⸮f⸮⸮⸮~x⸮⸮⸮⸮xf⸮⸮⸮~x⸮⸮⸮⸮⸮f~f⸮⸮f⸮怘⸮⸮f⸮xx⸮~ff⸮f⸮⸮⸮`⸮⸮⸮⸮~⸮⸮⸮f⸮⸮⸮⸮`⸮⸮f⸮f⸮⸮⸮~x⸮⸮⸮⸮xf⸮⸮⸮~⸮⸮⸮⸮⸮⸮⸮x⸮f~f⸮⸮f⸮怘⸮⸮f⸮x⸮x⸮~ff~⸮⸮⸮⸮~⸮⸮⸮f⸮⸮⸮⸮⸮⸮⸮xf⸮~f~fx`⸮f⸮⸮~⸮⸮⸮⸮⸮⸮fxx⸮⸮f⸮⸮⸮`x⸮⸮⸮⸮⸮⸮⸮f⸮x⸮~ff⸮fx⸮⸮⸮⸮⸮fx~f⸮~f⸮⸮fx`f⸮⸮⸮⸮f⸮x⸮~⸮f`f⸮⸮⸮⸮~⸮⸮⸮f⸮⸮⸮⸮`⸮⸮f⸮f⸮⸮⸮~xf⸮⸮⸮xf⸮⸮⸮~⸮⸮⸮⸮f~f⸮⸮f⸮怘⸮⸮f⸮x⸮⸮⸮~⸮f`f⸮⸮⸮⸮`fx⸮⸮⸮⸮~⸮⸮⸮f⸮⸮⸮⸮`⸮⸮f⸮f⸮⸮⸮~xf⸮⸮⸮xf⸮⸮⸮~⸮⸮⸮⸮f~f⸮⸮f⸮怘⸮⸮f⸮x⸮⸮⸮~⸮ff⸮⸮fx~f⸮~f⸮⸮fx`⸮⸮⸮`⸮⸮⸮⸮xf⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮f⸮x⸮~⸮⸮ff~⸮⸮⸮x⸮⸮⸮~~f⸮⸮⸮⸮f⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮f⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮f⸮x⸮⸮f⸮⸮f⸮⸮⸮⸮f⸮x⸮~⸮⸮`x昆x~f⸮⸮⸮⸮f⸮⸮⸮⸮⸮x⸮⸮⸮⸮⸮⸮⸮`f⸮⸮fff⸮⸮⸮⸮ff⸮⸮⸮⸮⸮fff⸮⸮ff⸮⸮⸮ff⸮⸮f⸮⸮⸮`f`⸮ff⸮f⸮⸮⸮ff⸮f⸮⸮f⸮x⸮⸮⸮⸮x⸮fx`⸮~⸮⸮⸮⸮⸮⸮⸮怘⸮⸮f⸮x⸮⸮⸮~⸮⸮⸮⸮⸮x⸮⸮⸮⸮⸮⸮⸮⸮⸮fxf⸮⸮⸮⸮fx`~⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮f⸮~⸮~⸮⸮⸮⸮⸮⸮⸮ffx⸮⸮⸮⸮f⸮⸮xf⸮⸮f⸮⸮f⸮⸮⸮⸮⸮x⸮⸮xf⸮xfx~f⸮⸮⸮⸮f⸮⸮⸮⸮⸮⸮`⸮⸮⸮xfx⸮⸮⸮⸮⸮xf⸮x⸮⸮怘⸮⸮f⸮~⸮~⸮⸮⸮⸮⸮⸮⸮⸮fxf⸮f⸮⸮⸮⸮⸮⸮⸮⸮fx~f⸮~f⸮⸮fx`f⸮⸮⸮⸮f⸮~⸮⸮⸮~⸮⸮⸮⸮⸮⸮⸮⸮fxf⸮f⸮⸮xffx⸮⸮⸮⸮⸮⸮f⸮fx~f⸮~f⸮⸮fx`⸮`fxxff~⸮⸮`f⸮怘⸮⸮f⸮~⸮⸮⸮~⸮⸮fxf⸮⸮⸮xf⸮⸮f⸮⸮xf⸮xfx⸮⸮⸮⸮~⸮⸮⸮⸮ff⸮⸮⸮⸮⸮f⸮⸮⸮~⸮⸮⸮⸮⸮⸮⸮fx怘⸮⸮f⸮~x⸮~⸮⸮⸮⸮f⸮xf⸮ff⸮⸮~⸮~`fff⸮⸮⸮⸮~⸮f⸮⸮⸮⸮⸮fx⸮⸮⸮f⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮
⸮AR933X UART
[ 0.730000] console [ttyATH0] enabled, bootconsole disabled
[ 0.730000] console [ttyATH0] enabled, bootconsole disabled
[ 0.740000] m25p80 spi0.0: found w25q128, expected m25p80
[ 0.740000] m25p80 spi0.0: w25q128 (16384 Kbytes)
[ 0.740000] 7 cmdlinepart partitions found on MTD device spi0.0
[ 0.740000] Creating 7 MTD partitions on "spi0.0":
[ 0.750000] 0x000000000000-0x000000040000 : "u-boot"
[ 0.750000] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.750000] 0x000000050000-0x000000ea0000 : "rootfs"
[ 0.760000] mtd: partition "rootfs" set to be root filesystem
[ 0.760000] mtd: partition "rootfs_data" created automatically, ofs=9E0000, len=4C0000
[ 0.760000] 0x0000009e0000-0x000000ea0000 : "rootfs_data"
[ 0.770000] 0x000000ea0000-0x000000fe0000 : "kernel"
[ 0.770000] 0x000000fe0000-0x000000ff0000 : "nvram"
[ 0.780000] 0x000000ff0000-0x000001000000 : "art"
[ 0.780000] 0x000000050000-0x000000fe0000 : "firmware"
[ 0.800000] ag71xx_mdio: probed
...
---------------------------------------------------
I've tried every way from Sunday to change the baud back to 115200 in the YunSerialTerminal but no luck. I know the problem is baud, I just don't know how to fix it.
This wouldn't matter so much except in Linux I can't vi edit anything as there are garbage characters, and even with ls -al.
root@sagitta:/etc/config# ls -al
drwxr-xr-x 1 root root 0 Jun 1 20:16 [1;34m.[0m
drwxr-xr-x 1 root root 0 Jun 1 20:46 [1;34m..[0m
-rw-r--r-- 1 root root 525 Jun 1 20:16 [0;0malljoyn[0m
-rw-r--r-- 1 root root 205 Jun 1 20:29 [0;0marduino[0m
-rw-r--r-- 1 root root 1236 Jan 1 1970 [0;0mbanner[0m
-rw-r--r-- 1 root root 885 Jun 1 2016 [0;0mdhcp[0m
-rw-r--r-- 1 root root 134 Jun 1 2016 [0;0mdropbear[0m
-rw-r--r-- 1 root root 386 Jun 26 2014 [0;0mfirewall[0m
-rw-r--r-- 1 root root 134 Jun 2 2016 [0;0mfstab[0m
-rw-r--r-- 1 root root 106 Jan 1 1970 [0;0minittab[0m
-rw-r--r-- 1 root root 688 Jun 1 20:16 [0;0mluci[0m
-rw-r--r-- root root 162 Apr 19 20:15 [0;0mmcuiocfg[0m
-rw-r--r-- 1 root root 260 Jun 1 20:41 [0;0mnetwork[0m
-rw-r--r-- 1 root root 153 Jan 1 1970 [0;0mshadow[0m
-rw-r--r-- 1 root root 765 Jun 1 20:29 [0;0msystem[0m
-rw-r--r-- 1 root root 0 Jun 1 20:16 [0;0mubootenv[0m
-rw-r--r-- 1 root root 826 Jun 1 20:16 [0;0mucitrack[0m
-rw-r--r-- 1 root root 2411 Jun 1 20:16 [0;0muhttpd[0m
-rw-r--r-- 1 root root 453 Jun 1 20:41 [0;0mwireless[0m
root@sagitta:/etc/config#