Omega2+: reboot and sd card fixed!
-
@Lazar-Demin , after receiving last kickstarter letter about 0.1.9 firmware I tried to upgrade firmvare and result is only this message:
Checking latest version online...
ERROR: Could not connect to Onion Firmware Server! Check your internet connection and try again!But my internet connection is OK, would you check the state of your server? I tried different methods of upgrade. None work. It was worked nice yesterday for 0.1.7, but not today for 0.1.9.
-
@Lazar-Demin Thank you... how do we mount the micro SD card? The docs micro SD card link: https://docs.onion.io/omega2-docs/omega2p.html#using-a-microsd-card is not working. Thanks.
-
@B-T If your card is formatted with a supported filesystem it should be available under /tmp/run/mountd/mmcblk0p1 or similar automatically as soon as you insert the card. You can check free space on the card and where it is mounted simply by calling
df
on the command-line.
-
So I can see my SD card and I can write to/read from it but I'm still not sure if it can be used for installing packages etc
-
@WereCatf not showing the card when running
df
, my card is 32 GB and the closes to it is/dev/mtdblock6 25728
. I did check the path you shared with me and it looked like there was something with the size of my card. Is this the path where I should be checking to get to my card?
-
@B-T What do
df -h|grep "mmcblk0"
andls -l /dev/mmcblk*
give you?
-
Setting up Omega2+ is more a frustration compared to Raspberry Pi or Arduino.
Anyone knows a workaround to get SD Card working (I already tried build 149)?
df : always doesn't show the card
dmesg shows me my card:
...
MTK MSDC device init.
mtk-sd: MediaTek MT6575 MSDC Driver
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
usbcore: registered new interface driver usb-storage
init: - preinit -
mmc0: new high speed SDHC card at address xxxx
mmcblk0: mmc0:xxxx SL32G 29.0 GiB
random: procd: uninitialized urandom read (4 bytes read, 9 bits of entropy available)
mmcblk0: p1
...
-
@Vinh-Tran Have you formatted the card? It's supposed to also spit out a line similar to
mmcblk0: p1
after those lines you have there, if there is a partition on the card.
-
@WereCatf sorry, figured out that the latest system is too lazy. it didn't mount the sd card.
I solve it by creating a new folder and using mount command.I also edited my previous post with the missing information
-
With v1.9 firmware, the SD is automounted at
/tmp/mounts/SD-P1
-
and if you have a second partition it will be mounted at /tmp/mounts/SD-P2 etc
-
hi dears
i'm new in this field , just start from several days , im facing problem with my SD , may be im not searching well but when i open the status , no change in storage amount ,
any help plz ?
what is the cmd should use it to check that ?
-
We just released a quick tutorial on how to work with SD cards here: Using a MicroSD Card.
Gabe
-
@Gabriel-Ongpauco said in Omega2+: reboot and sd card fixed!:
Using a MicroSD Card
Gabriel,
I'm assuming that the card needs to be pre formatted to FAT 32 or something similar? The tutorial makes no mention of supported formats hence the question.
I use a Mac at home so if I format any cards I would need to ensure that I choose an appropriate option.Chris
-
Mine was read/writable when i plugged in. It came Fat32 formatted.
If you want to use it as a boot able memory you need to format it to ext4.
-
Here's a tutorial of how I'm using the SDCARD on my device. My use-case is pretty specific, though you can modify my instructions to your own needs.
-
I applied the latest update, per your instructions, then decided I'd set up my SD Card per:
For some reason, while the "block detect" command did come up with a useful output, I couldn't redirect that output to /etc/config/fstab - So I did it manually!
However, despite working through all of that, on reboot the Omega 2+ I have doesn't remember there was an SD card in the slot! I have to eject the SD Card, and reinsert it, and then the OS sees it.
Which means that I can't boot from it....
-
I have the same problem that the last comment