Last active
November 26, 2020 11:41
-
-
Save R3D9477/d4365bf3cdff9e7fcd2fb8094789d31c to your computer and use it in GitHub Desktop.
uuu (Universal Update Utility), mfgtools 3.0 for SoM OpenRex & TinyRex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt install wget unzip git libusb-1.0-0-dev libzip-dev libbz2-dev pkg-config cmake libssl-dev g++ -y | |
git clone "https://github.com/NXPmicro/mfgtools.git" | |
pushd "mfgtools" | |
wget -nc "https://www.voipac.com/downloads/imx/iMX6_OpenRex/Tools/mfgtools-Imx6Rex.zip" | |
unzip "mfgtools-Imx6Rex.zip" | |
rm -f "mfgtools-Imx6Rex.zip" | |
cmake . && make | |
echo '#!/bin/bash | |
cd $(realpath "`dirname "$0"`")/uuu && sudo ./uuu "../mfgtools-Imx6Rex/Profiles/Linux/OS Firmware/firmware/u-boot-imx6-tinyrexbasic.imx"' > "Production-TinyRex-basic.sh" | |
chmod +x "Production-TinyRex-basic.sh" | |
echo '#!/bin/bash | |
cd $(realpath "`dirname "$0"`")/uuu && sudo ./uuu "../mfgtools-Imx6Rex/Profiles/Linux/OS Firmware/firmware/u-boot-imx6-openrexbasic.imx"' > "Production-OpenRex-basic.sh" | |
chmod +x "Production-OpenRex-basic.sh" | |
popd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment