Omega2+: reboot and sd card fixed!
The firmware changelog and known issues listing is up! See the docs site: https://docs.onion.io/omega2-docs/firmware-reference.html
No need to manually run
sysupgradeto get to the latest firmware, you can just run
oupgrade -land it will take care of everything for you. This is mentioned in the docs, see the section titled Upgrading to the Latest Version at https://docs.onion.io/omega2-docs/updating-the-omega.html
oupgrade- when Omega has no internet connectivity we have to place the binary manually, hence the usage of
And about the Wiki - lets do it! We need to have space to offload information from forums into better structured medium.
Is it really fixed? in v0.1.8 I still can't connect my SD card. I even used dmesg to see it correctly. The always helping command mount did not solve the problem. Any Ideas?
@Vinh-Tran it is fixed in firmware 0.1.9 (b149)
@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
dfon 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"and
ls -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)
@Vinh-Tran Have you formatted the card? It's supposed to also spit out a line similar to
mmcblk0: p1after 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
and if you have a second partition it will be mounted at /tmp/mounts/SD-P2 etc
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.
Using a MicroSD Card
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.
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....