element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Avnet SmartEdge IIoT Gateway image install
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 4 replies
  • Subscribers 664 subscribers
  • Views 1147 views
  • Users 0 members are here
  • raspberry_pi
Related

Avnet SmartEdge IIoT Gateway image install

fatdrunk1
fatdrunk1 over 5 years ago

Can I get some direction on how to reload the "stock" image?

I tried loading the Raspberry desktop (because I thought why not if its running "stretch lite"), well that was a mistake and doing so has caused the gateway not to properly boot anymore. Now I just want to go back to an "out of the box" device. I have downloaded the image file onto a Windows machine and now I am confused on how to get that image onto the gateway...

 

I understand if this is an annoying question and if reloading an image is a remedial task/request but, it is where I am at and I would appreciate some help.

 

Thank you

  • Sign in to reply
  • Cancel
Parents
  • Jan Cumps
    Jan Cumps over 5 years ago

    Image is available here: https://avtinc.sharepoint.com/sites/Smartedge-iiot-gateway/Shared%20Documents/Forms/AllItems.aspx?id=%2Fsites%2FSmartedg…

     

    Use a Linux computer or a Linux VM to turn the device into a mass storage device:

    The rpiboot version for Windows available on the internet does not work with the gateway.

    (not sure if this is needed:, but installing it gets the USB drivers installed on the windows PC)

     

    clone the avnet rpiboot repository on linux:

    git clone https://github.com/Avnet/smartedge-iiot-gateway-custom.git

    navigate to the utils/rpiboot subdir, an then make clean

    then make build

    (and resolve dependencies along the way)

    Then, without powering the device, open it and connect the usb micro connector in the middle of the PCB with your PC

    Then power up the device

    then, go to the subdir where you built the repository and execute:

    sudo ./rpiboot -d  ./msd

    (I forgot if you first have to set the execute flag or if the build script did it)

    If all is ok, on your unix, it should become available under /dev as a new entry (/dev/sd*)

    Robert Peter Oakes did all of this on a Pi, and mounted the drives as below (sda1 is the /boot):

    pi@raspberrypi:/media $ sudo mkdir sda1

    pi@raspberrypi:/media $ sudo mkdir sda2

    pi@raspberrypi:/media $ sudo mount /dev/sda1 /media/sda1

    pi@raspberrypi:/media $ sudo mount /dev/sda2 /media/sda2

     

    sudo dd of=raw_os_image_of_your_choice.img if=/dev/sdX bs=4MiB

     

     

    On my PC with Ubunu client Linux VM under VMBox - I have to allow pass-through of the USB devices that enumerate during these activities, and the drives enumerate on Window instead of Linux.

    I then used BalenaEtcher to flash the image.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • fatdrunk1
    fatdrunk1 over 5 years ago in reply to Jan Cumps

    Thank you for taking the time to reply. Your instructions were very helpful and I was able to flash the image using a RPi 3B+.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • fatdrunk1
    fatdrunk1 over 5 years ago in reply to Jan Cumps

    Thank you for taking the time to reply. Your instructions were very helpful and I was able to flash the image using a RPi 3B+.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
Children
  • Jan Cumps
    Jan Cumps over 5 years ago in reply to fatdrunk1

    With that image, take care to run these commands before doing an apt-get upgrade:

    sudo apt-mark hold raspberrypi-kernel
    sudo apt-mark hold raspberrypi-bootloader
    sudo apt-mark hold raspberrypi-sys-mods

     

    edit: fromt he 2020 image on, this is no longer needed

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube