Commit 0ba01abd authored by David Mondou's avatar David Mondou
Browse files

Added README.rst files.

Update script to print usage message.
parent 18cc7a85
This repository holds the binaries and scripts files necessary to manufacture a Vesta Gateway using a Linux operating system.
The source files and instructions for this tool were original taken from this thread:
sudo apt-get install libusb-1.0-0-dev
sudo apt-get install libsgutils2-dev
The binaries for this tool were compiled on a machine running Ubuntu 14.04.
In order to use this tool you must have the required packages installed. Run the following commands to install these packages:
- :bash sudo apt-get install libusb-1.0-0-dev
- :bash sudo apt-get install libsgutils2-dev
In order to use this tool you will also need to populate the files folder with the appropriate u-boot, kernel, dtb and rootfs. These files can be created using the instructions here:
.. _Vesta-Board-Support-Package:
or obtained from the public mfgtool builds hosted on Amazon S3 from the link below:
.. _mfgtool-builds:
For the Vesta 300 developer image, the files folder should contain the following files:
* u-boot-vesta-300.imx
* vesta-image-developer-vesta-300.tar.bz2
* zImage
* zImage-vesta-300.dtb
In order to put the Vesta Gateway in USB serial down loader mode, which allows updating over USB, you will need to hold down the user button while supplying power to the Gateway. Then start the tool by issuing the following command:
- :bash sudo ./board-flash board-type image-name
For example to manufacture a Vesta-300 Gateway with the developer image you would issue the following:
- :bash sudo ./board-flash 300 developer
\ No newline at end of file
# p1.- imx_loader and utp_com path
# p2.- Flashing script with the UTP commands
#Script modified from utp_com to work with Vesta Gateways.
......@@ -16,9 +15,20 @@ UTP_COM_NAME=utp_com
#boardtype image
printf "Usage: %s: board_type image\n" $0
printf "Example:\n" $0
printf " %s 300 developer\n" $0
printf "\n"
printf "Valid board_types: 100 200 300\n"
printf "Valid images: developer minimal test\n"
exit 1
#Check for correct number of arguments
if [ $# -ne 2 ]; then
echo usage
exit 1
......@@ -27,19 +37,17 @@ fi
case $BOARD_TYPE in
echo 100
echo 200
echo 300
echo error
printf "Invalid image: $BOARD_TYPE\n"
case $IMAGE in
......@@ -53,7 +61,8 @@ case $IMAGE in
echo Invalid image
printf "Invalid image: $IMAGE\n"
This folder contains the files to write to the target.
\ No newline at end of file
This folder holds the firmware loaded into memory using imx_usb_loader.
This folder contains board specific scripts to install u-boot, kernel, dtb and rootfs to the appropriate locations.
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment