Upgrade Firmware correctly
# │forum
s
Hey guys, I have a Turing Pi V2 (not the V2.5) I bought this already quite some time ago through Kickstarter, but I never booted it up. So there is the stock firmware on it from the release. What is the safest way to upgrade now to the latest firmware? Thanks already for your help here 🙂
l
Hij @User , the safest way is using a micro SD card as described in the docs: https://docs.turingpi.com/docs/turing-pi2-bmc-v1x-to-v2x
s
Hey @Leander thx for the quick reply. I am a little bit concerned jumping directly to v2 firmware. Is this really considered safe? I am asking because this board is probably on version 1.0.0 So making a big jump directly to v2 is a big step
l
I will check it on my board. (2,4 KS) But there were not many versions released in the 1.x train
s
Thanks 🙂
d
I do not recommend upgrading the firmware within the V1.X.X family. The OTA .swu files may still be available, but any issue in flashing will require the use of Allwinner's Phoenixsuit to resolve. This tool only runs on Windows. Regardless, the only way to get from V1.X.X firmware to V2.X.X firmware is by copying the image file to a micro SD card and booting from that card. I highly recommend purchasing a UART/TTL to USB cable that is based on the CH-340 chip so that you can interact with the BMC console as necessary. Some have reported an issue with depressing the KEY_1 button 3 times in quick succession to confirm flashing. The process is much less prone to timing when you can just enter CONFIRM over the UART console connection.
s
@Dan D. Thanks for the Tipp I will try my luck soon. I was also thinking about doing this: https://www.nico-maas.de/?p=2702 Would you recommend doing this before flashing or after I am on v2?
d
I've done that mod successfully once. It's a "nice to have". That said, if you don't have experience with using soldering paste to hand solder surface mount components, I would advise against it. I destroyed several EMC2301 chips in the process.
l
Personally would I recommend to do it after flashing. First make sure the board works a designed. Then upgrade to the v2 firmware and test it again. And finally add the PWM mod That will make troubleshooting in case of issues a lot easier then doing to many things at once
d
By the way, if your board doesn't have the CR1220 battery adapter pre-installed (AKA a V2.3 board) do not install a CR2032 battery. It will prevent the BMC from booting.
s
Alright thanks a lot 🙂
d
Agreed here. The EMC2301 driver isn't present and working until BMC-Firmware V2.0.5. I haven't tried it with the BMC-Firmware V2.1.0 Release Candidate. The V2.3/V2.4 board has a small thermistor next to the vacant 4-pin PWM header location. Use caution when working in this area unless you want to replace that thermistor. It won't effect EMC2301 functionality, but that thermistor can be used to control the fan speed automatically if you don't want to do it manually. This functionality is something I've never been able to test myself. That's TL;DR material.
s
@Dan D. is this the correct one? https://amzn.eu/d/3doiPd9
d
That one isn't very convenient to use. Let me see whether I can find the ones I got from Amazon. The reason why a CH340-based cable is preferred is that it can support 1500000 (yes, 1.5mb) connections. If you ever acquire an RK1 or any RK3588-based module, having this cable can be invaluable in debugging
These are the cables I ordered from Amazon US: https://a.co/d/2vMsS2E
s
Thanks! I will try to find them here in Germany. I think now I am well prepared for this 🙂
c
I'm now trying to run Turing Pi 2.0, which was delivered from kickstart. I think I've read firmware issue first, so I'm trying to upgrade Firmware.. inDocu:< Upgrading the firmware using the flashed card Power down Turing Pi 2, insert the card, and connect power to the Turing Pi 2 board again. Alternatively, you can insert the SD card and press the BMC reset button. > 1.Where do I insert the SD card with the firmware image in Turing Pi 2.0 where I start without cluster (RK1 or JetSon Nano or CM4)? 2. Does Firmware need to upgrade the 2.5 that was finally uploaded directly without going through the intermediate step? 3. In what order do I connect the CH340 USB to TTL to each of the four holes written as J16 FAN? Node4 …. UART2 /Node3….UART2 /NODE1….UART2 /BMC USB OTG /BMC UART3…Which terminal does it connect to? 4. Is it better to have a CM4 wifi? How much memory do I have to regret it? (CM4108032/CM4008032/CM4001632…)…..). 5.Why does BMC UART3 have 3 terminals?
CH340 cable (vcc Rx Tx GND) to which part of the Turing Pi.... Any videos or images to show drawings or actual soldering or connections?
s
@Citta## On the back of the board you have a sd card slot. There you going to put the sd card with the image. The UART is optional and you don’t need it to perform the upgrade. You need the BMC UART3 as this is for the BMC. It has three because the voltage is provided by the board itself directly and not through the adapter. DO NOT connect the 3.3 or 5v from the adapter on those pins! The other UART you see are for the nodes you put in, if you want to connect to them. But if you still want to connect it you can do it as following: Take GND from your cable and put it on GND on the board. Take RX from your cable and put it on TX on the board. Then take TX from the cable and put it on RX on the board. You do it that way as you send and receive. Don’t put TX on TX and RX on RX. That won’t work. Now regarding connecting you first need to identify the the „/dev/tty*“ for your device you connected (your adapter cable). Then you can use the screen command and connect. Example screen command for example: screen /dev/tty.wchusbserial-xxxxxx 115200
c
Thanks U I found docu about USB to ttl. https://docs.turingpi.com/docs/windows-usb-to-ttl Q2: direct upgrade? (V1x->v2.0.5) Step upgrade? (V1->v1.>………. ->v2.0.5 ) https://firmware.turingpi.com/turing-pi2/
Step upgrade ? Jump upgrade (V2.05)?
s
@Citta## you can directly go to 2.0.5
c
Thank you for your quick answer.
d
Once you've upgraded to v2.0.5 with a micro SD card, download the v2.1.0 image from GitHub, put it on the micro SD card and boot from it. Don't skip going to v2.0.5 first. https://github.com/turing-machines/BMC-Firmware/releases/tag/v2.1.0
Note there is a UI interface issue with v2.1.0 on the Nodes tab with the power function. You have to "Edit" to use it. This is fixed in a commit for v2.2.0.
HOW do I treat 2 partition ? HOW can I select one of them ?
24 Views