[go: up one dir, main page]

0% found this document useful (0 votes)
330 views2 pages

SB6190 microSD Flash Guide

This document provides instructions for flashing firmware onto a SB6190 microSD breakout using a Linux virtual machine (VM). It outlines installing Ubuntu 16.04 in a VM on Windows, connecting a microSD card reader to the VM, and using terminal commands like 'dd' and 'sudo' to backup, restore, and flash the firmware onto the microSD card. Key steps include extracting the downloaded BitWare firmware zip file, choosing to connect the card reader to the Ubuntu VM when prompted, and running the 'write.sh' script in the terminal to flash the firmware.

Uploaded by

RicardoCooper
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
330 views2 pages

SB6190 microSD Flash Guide

This document provides instructions for flashing firmware onto a SB6190 microSD breakout using a Linux virtual machine (VM). It outlines installing Ubuntu 16.04 in a VM on Windows, connecting a microSD card reader to the VM, and using terminal commands like 'dd' and 'sudo' to backup, restore, and flash the firmware onto the microSD card. Key steps include extracting the downloaded BitWare firmware zip file, choosing to connect the card reader to the Ubuntu VM when prompted, and running the 'write.sh' script in the terminal to flash the firmware.

Uploaded by

RicardoCooper
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

SB6190 microSD Breakout Flash Guide

Requirements

 Linux OS like Ubuntu 16.04


 microSD card reader like Transcend-RDF5K
 BitWare firmware package available here (be sure to choose VSDK for 6190)
If you are unfamiliar with Linux, you can simply install it as a virtual machine (VM). Windows
users can download VMWare Workstation Player (free) to install the Ubuntu 16.04 ISO. I don’t
know about Mac OS. VMWare will basically let you install a Linux computer (VM) inside your
Windows computer (host).

Linux Installation
When you run VMWare, choose the Ubuntu ISO you just downloaded, and configure it with the
default CPU/RAM/HDD settings as recommended. Once complete, click “Play virtual machine”
to boot it up.
Ubuntu will start installing and ask you for a username and password. Choose something you’ll
remember and continue with the install. Let the automatic updates run in the background and
if asked to upgrade to Ubuntu 18, just cancel.
What’s great about this VM is that It uses the default disks/partitions as written in the BitWare
flash script. This means you don’t need to edit the script at all. If you already have BitWare
downloaded in Windows, you can drag and drop the firmware zip file into the VM. Or you can
download the firmware directly inside the VM with Firefox, which is on the left-hand side.
Once you have the firmware inside the VM, move it onto the Ubuntu desktop and extract it
(right-click the zip file, choose “Extract here”).

SD Card Reader
Plug in the SD card reader into your computer and then VMWare will ask if you want to connect
it to your host (Windows) or VM (Ubuntu). Since we want to use Ubuntu to flash, choose
“Connect to a virtual machine” and then select “Ubuntu 16.04” or whatever you named your
VM. Hit “OK” and now Ubuntu will detect your card reader.
Now leave the modem powered off. Plug in the microSD breakout into the card reader and a
bunch of detected disk partitions should start popping up, which means it’s now ready to read
and write firmware. You can close these popups if you want.
Terminal Commands
Most the terminal commands used below will require you to have super user privileges. These
commands will start with “sudo” (super user do) in order to run successfully.
Therefore, each sudo command will require you to enter your password and hit enter
afterwards.

Backup Command
Open the Ubuntu terminal with the keyboard shortcut CTRL + ALT + T. Next, create a backup
with the command:
sudo dd if=/dev/sdb of=~/Desktop/fullbackup.img
This will save the full NAND backup to your Ubuntu Desktop called “fullbackup.img”.

Restore Command
If flashing fails, you can always restore your modem using the backup with the reverse
command:
sudo dd if=~/Desktop/fullbackup.img of=/dev/sdb

Flash Command
You need to first use the cd command (change directory) to enter the directory where the write
script is. Before you run the command below, make sure it contains the correct BitWare version
(currently 1.0.5.2), otherwise change it to whatever firmware version you downloaded.
cd ~/Desktop/BitWare_vsdk_1.0.5.2/build/vsdk
And finally, to run the script:
sudo ./write.sh
You can ignore any errors about a partition not being mounted. Make sure not to touch the
microSD during this time. Once the script is complete, unplug the microSD, power on the
modem, and check if the flash was successful by going to http://192.168.100.1/bw after the
modem initializes (takes about 2-3 minutes). If the modem appears bricked, restore the backup
you made earlier. You can now power off (shut down) or suspend (sleep) your VM.

You might also like