-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
openmiko seems to trash the file system of every microsd card I use #122
Comments
I happen to have the same problem on 3 different cameras. |
Added informations: Seems like it is creating swap partiton on SD card instead of somewhere else on the device (if a swap is needed at all) |
OK so I found the source. Problem is with the conf generation scrip that output an incomplete file somehow and it defaults to use a swap partition on the SD card (that it seemingly creates) Re-doing a file manually brought back up my WCv2 :) I just cannot explain why that configuration stayed there even after reflashing wyze firmware though. |
I think I am having the same error. Upon booting the camera with a freshly formatted SDcard, it successfully mounts the partition:
The cards seems to work fine until I pull it. Windows always wants to reformat the device. Also, rebooting the camera causes the image to fail mounting. I looked through the conf generation script and could not find the culprit. @doucettom - Can you tell us what file you brought in manually? |
FACEPALM I read through RC scripts and noticed the S21swap script. It was reading /etc/openmiko.conf to determine where to create swap, which was the first partition on the card (over the FAT partition I created on Windows). I edited openmiko.conf and set ENABLE_SWAP=0. I also set SD_PARTITION=/dev/mmcblk0p1. Now everything operates normally. |
As soon as I try to flash it and then put it back into my computer, the partition is there but it has no file system. I've tried with multiple micrsd cards and multiple cameras. Suggestions?
The text was updated successfully, but these errors were encountered: