Quantcast
Viewing all articles
Browse latest Browse all 4907

Raspberry Pi OS • Re: [Windows] How to flash through command line?

Hi,
So im wondering how i can flash a raspberry pi through either some command line utility or python script, this is going to be used in production software, so it needs to be commandline or python, so far i have no luck, the only thing i have found is the build in command line utility that seems to be linux exclusive Image may be NSFW.
Clik here to view.
:(
Any idea how i can do this?
The plan is to create a custom .img or ISO that i then can flash to the raspberry pi through this python og command line.
You should most definitely have a very close look at sdm. It will enable you to quickly, easily, and repeatably build your customized test and production IMGs, and burn them to a disk for testing, shipping with products, etc.

If you have any questions after reviewing the sdm documentation (especially Command Details and Plugins Documentation but also scan the document set at https://github.com/gitbls/sdm/tree/master/Docs to get an understanding of sdm's capabilities), please post questions/issues on the sdm github.

Oh, one thing: You mentioned "command line utility that seems to be linux exclusive". sdm can be run on non-RasPiOS platforms to do IMG customization, but due to underlying platform support, sdm cannot burn to an SSD/SD Card on Windows WSL or MacOS. If you're using a non-Linux platform, rasie an issue on the sdm github to discuss options available. sdm can be run on RasPiOS, and more generally, Debian Linux and derivatives (*ubuntu, Mint, etc), both ARM and x64.

PS there are no ISOs in the RasPiOS world, only IMGs.

Statistics: Posted by bls — Wed Aug 21, 2024 4:55 pm



Viewing all articles
Browse latest Browse all 4907

Trending Articles