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
Industrial Automation
  • Technologies
  • More
Industrial Automation
Forum reviving my Siemens Simatic IOT2000
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Industrial Automation to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 29 replies
  • Subscribers 270 subscribers
  • Views 4757 views
  • Users 0 members are here
  • siemens
  • iot2000
  • Simatic
Related

reviving my Siemens Simatic IOT2000

Jan Cumps
Jan Cumps over 2 years ago

I have a Siemens single-board device, based on Intel's Quark (RIP) series. After years of not using it, I'm going to revive it. It can run a recent Linux, is DIN rail mountable and well built

image

I neglected it once Intel gave up on Quark, but in essence that doesn't matter to me. I'm developing Linux applications for it, so the mcu isn't that significant. I'm going to avoid using bespoke libraries, but it can be a good edge device.

I was rather fluent with its software - built my own Linux from source. But all that knowledge has been lost. I guess I will not invest the same time anymore to study the platform - use it more as a service. Let's see.

  • Sign in to reply
  • Cancel

Top Replies

  • scottiebabe
    scottiebabe over 2 years ago in reply to Jan Cumps +3
    got root?
  • Jan Cumps
    Jan Cumps over 2 years ago +3
    Solved by using an older Ubuntu (20) with Python 3.8. The source base isn't compatible with Python 10: AttributeError: module 'collections' has no attribute 'MutableSet'
  • Jan Cumps
    Jan Cumps over 2 years ago +2
    Aah, it's been a while
  • Jan Cumps
    Jan Cumps over 2 years ago

    I started my own fork of the Siemens yocto build.

    First step: set the startup IP address to one in my network:

    image

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

    Getting there ...

    image

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

    Success. I was able to generate a fresh-from-source image, with some personal adaptions.
    For self-training and to check if it actually is doing what I expect to do, I changed the out-of-box IP address that the device will start up with (github commit).

    image

    I had to throttle down the number of processors that the WSL Ubuntu (the platform that I use to build the Yocto image) could use, because I ran out of memory during the build:

    wsl --shutdown

    notepad "$env:USERPROFILE/.wslconfig"

    [wsl2]
    memory=12GB # Limits VM memory in WSL 2 up to 12GB
    processors=8 # Makes the WSL 2 VM use 8 virtual processors

    I'll now write an SD Card and test it ...

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

    it works.

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

    Not world-shocking, but I'm still a bit surprised that things work after all those hours of compiling, troubleshooting building the image Slight smile

    image

    In the end, it took me an evening and an afternoon. Lots of that time was spent by my PC doing builds. I went to an art nouveau exposition around the corner with a friend in the meantime.

    image image

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

    Getting a DNS registered: https://support.industry.siemens.com/forum/be/en/posts/2-dns-iot2040/265778

    Execute fast, because conman overwrites this regularly

    chattr -i /etc/resolv.conf
    unlink /etc/resolv.conf
    nano /etc/resolv.conf
    
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    
    chattr +i /etc/resolv.conf

    Setting the gateway to give internet access: https://support.industry.siemens.com/forum/be/en/posts/gateway-cannot-ping-8-8-8-8/223243/?page=0&pageSize=10

    and disabling wifi connman.

    /etc/init.d/connman stop
    update-rc.d -f connman remove

    I should now be able to remove the immutable attribute again

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

    The database that comes with the example image is SQLite

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

    I’m impressed that you were able to get all the pieces to fit and make a fully working image like that! With Node-Red even! Also impressed that the IOT2000 can do all that.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Jan Cumps
    Jan Cumps over 2 years ago

    List of modules available for Yocto: https://cgit.openembedded.org/meta-openembedded/tree/meta-oe
    and https://git.yoctoproject.org/poky/plain/meta/

    • 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