The Flash targets are only recognized as sda, sdb, sdc and so on. Which is the block device the OS is running on. I just wanted to make sure that you know that this could be misleading because someone most likely was able to read the CID of mmcblk0. “The Balena EtcherPro already read CIDs” that is the current explanation of the hardware capabilities. I’m not sure what you mean by “host” SD card though? That means, changes to drivelist will not be enough, i guess. Okay, so on the EtcherPro hardware+OS tweaks are needed to read the CIDs because the Card-Readers are running in USB-Mass Storage Mode and not SPI mode. Yes, the solution will read the serial number from the flash targets Hi thank you for the issue and the link to this thread, i had a look into the drivelist project now. I will keep you posted on future updates. I do plan on implementing a native solution on Linux so we don’t have to rely on lsblk on the user’s system, although, since pretty much every linux machine is probably going to have lsblk, is hasn’t been a priority. So, the technical challenges of actually getting the serial number are mostly done, it’s other stuff happening in the background that I am working on, that is specific to Balena. It might be a little longer before we can actually deploy the fix though. I haven’t actually tried on Mac yet, because I started working on the technical debt I mentioned earlier, but I am hoping to get this resolved this week. There was some technical debt built up that I am taking care of, but as soon as that is fixed, we should be able to add the field to Etcher-SDK.įor your reference, in Etcher, we actually don’t use lsblk and parse the output from that, so that work is done for us.įor Windows we will use IOCTL_STORAGE_GET_MEDIA_SERIAL_NUMBER. I have gotten it working on Windows and Linux at least, but I am now working on integrating the solution into our codebase. I Markus, we are able to get the serial number from the card already.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |