Skip to content
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

New NanoKVM - /dev/mmcblk0p3 - no filesytem #76

Open
madworm opened this issue Sep 30, 2024 · 6 comments
Open

New NanoKVM - /dev/mmcblk0p3 - no filesytem #76

madworm opened this issue Sep 30, 2024 · 6 comments

Comments

@madworm
Copy link

madworm commented Sep 30, 2024

Just letting you know that I've received a "fresh" NanoKVM today

  • /dev/mmcblk0p3 had no filesystem at all - according to the wiki it should be exFAT (I could fix that with mkfs.exfat, now works with usb)
  • /etc/fstab doesn't have a mount point for it pointing to /data (but it gets mounted anyway after creating the exfat fs)
@polyzium
Copy link
Contributor

polyzium commented Sep 30, 2024

This must be the data partition that is automatically created when the KVM boots. This happens whenever the firmware is reflashed, so I assume these little guys are mass-produced and were probably never turned on at the factory.

See #7 (comment) on reflashing the firmware.

@madworm
Copy link
Author

madworm commented Sep 30, 2024

Well, the partition was there, but no exFAT had been created. I dumped the partition with dd and it was all zeros.

After creating the filesystem myself it worked.

Version 2.0.9

@neoKushan
Copy link

Yeah I got a new one a couple of days ago and had to re-image the included MicroSD card, as it wasn't working correctly.

@madworm
Copy link
Author

madworm commented Oct 9, 2024

What method did you use for that?

I tried step #5 from this, but nothing happened.

https://wiki.sipeed.com/hardware/en/kvm/NanoKVM/user_guide.html

I copied the decompressed image file to the root of /dev/mmcblk0p2

The wiki makes it sound like upon reboot something is supposed to happen with it, but it just stays there. Or do I need to write the image to the sd-card with dd ?

@vodkapmp
Copy link

vodkapmp commented Oct 9, 2024

The wiki makes it sound like upon reboot something is supposed to happen with it, but it just stays there. Or do I need to write the image to the sd-card with dd ?

Yeah, use dd to write it to the SD and you should be good

They have a guide on their wiki for flashing, it says to use balenaEtcher but dd will ofc also do the trick.
https://wiki.sipeed.com/hardware/en/kvm/NanoKVM/system/flashing.html

Step 5 in the User Guide is about updating, that wont do anything if the system image is missing in the first place.

@Z2Z-GuGu
Copy link
Collaborator

@madworm Hi, we have implemented partition formatting and data mounting in/etc/init.d/S01fs. Has this been helpful for your question?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants