omega2 plus sdcard not working



  • @Lazar-Demin said in omega2 plus sdcard not working:

    We're working on it! It's not a trivial fix unfortunately. Please stay tuned, we'll update you guys when the fix is available.

    If you would be so kind as to push the code...then WE can ALL work on it šŸ™‚



  • +1. Tried a 64GB sd card in Omega2+. I did update the firmware during setup on 5th Jan 2017.

    root@Omega-C195:~# dmesg | grep -i mmc -C5
    [    0.601658] 8021q: 802.1Q VLAN Support v1.8
    [    0.610493] mtk-linkit bootstrap: Version  :
    [    0.614929] mtk-linkit bootstrap: Revision :
    [    0.627322] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
    [    0.635412] Freeing unused kernel memory: 156K (803e9000 - 80410000)
    [    1.160220] mmc0: new high speed SDXC card at address 0007
    [    1.166137] mmcblk: probe of mmc0:0007 failed with error -28
    [    1.671539] init: Console is alive
    [    1.675212] init: - watchdog -
    [    4.101087] usbcore: registered new interface driver usbfs
    [    4.106789] usbcore: registered new interface driver hub
    [    4.112332] usbcore: registered new device driver usb
    --
    [   55.808837] random: nonblocking pool is initialized
    [ 2330.417345] msdc-1 -> cmd<13> card<0> power<2> <- msdc_ops_request() : L<2120> PID<kworker/u2:2><0x2e>
    [ 2330.426807] msdc-1 -> cmd<13> card<0> power<2> <- msdc_ops_request() : L<2120> PID<kworker/u2:2><0x2e>
    [ 2330.436277] msdc-1 -> cmd<13> card<0> power<2> <- msdc_ops_request() : L<2120> PID<kworker/u2:2><0x2e>
    [ 2330.445739] msdc-1 -> cmd<13> card<0> power<2> <- msdc_ops_request() : L<2120> PID<kworker/u2:2><0x2e>
    [ 2330.455755] mmc0: card 0007 removed
    [ 2614.242498] mmc0: new high speed SDXC card at address 0007
    [ 2614.248482] mmcblk: probe of mmc0:0007 failed with error -28
    


  • @WereCatf said in omega2 plus sdcard not working:

    Well, it appears that the issue wasn't what I thought, so I still don't know what is causing this. The microSD-slot works fine with my own, custom build of LEDE with kernel 4.4.39.

    What kernel config did you use? LEDE default?

    Also, how do I install a custom built kernel?



  • @Mikael-Djurfeldt You don't. My images use different WiFi-driver than Onion's, so any of the Onion's tools that refer to the blob-driver would stop working or do weird things, and you'd have wrong kernel-modules anyways -- they must match the running kernel.



  • @WereCatf It would be nice to have workflow and tools for preparing a firmware image, Onion or LEDE.



  • @Mikael-Djurfeldt Yes, that'd be great. The "custom" lede repo at github, that is used for OmegaOS, does not include .config file for kernel config. It is too easy to build an image that'll brick the omega. Someone more knowledgeable about build process could share info here, or we could setup wiki at wikia, and put all the info there. I'd help as much as I can.



  • @Mikael-Djurfeldt I am planning to work on my custom-image and I did think about writing a terse how-to, but that's gonna take a couple of days.



  • I have the same issue, any update on the firmware?

    root@Omega-8EFD:~# dmesg | grep -i mmc -C5
    [ 0.601662] 8021q: 802.1Q VLAN Support v1.8
    [ 0.610507] mtk-linkit bootstrap: Version :
    [ 0.614943] mtk-linkit bootstrap: Revision :
    [ 0.627354] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
    [ 0.635443] Freeing unused kernel memory: 156K (803e9000 - 80410000)
    [ 1.345802] mmc0: new high speed SDHC card at address e624
    [ 1.351774] mmcblk: probe of mmc0:e624 failed with error -28
    [ 1.671681] init: Console is alive
    [ 1.675352] init: - watchdog -
    [ 4.104258] usbcore: registered new interface driver usbfs
    [ 4.110024] usbcore: registered new interface driver hub
    [ 4.115517] usbcore: registered new device driver usb



  • @WereCatf Please do write. Share kernel's .config file too. šŸ™‚



  • @WereCatf Please šŸ™‚ But take your time šŸ™‚



  • update to firmware 1.7 b141 - issue still exists.
    Why? How long does it take until the problem is fixed? I wanted the omega2p just because of the sdcard support.



  • @Linus-Lirpa Seriously. They are hiring WebDev, when what they really need is FOSS Community manager. If Onion folks understood that community would develop all the webcrap they ever dreamed of and more, only if they were herded and were provided with actual FOSS of all Omega components.



  • @Zogg-Baubas Considering how much I am doing their work for them here on the forums by trying to help people around, they should start paying me salary šŸ˜€

    Or at least send me some more Omegas and some docks, so I can test things and help people use them, since I ain't got any docks.



  • @WereCatf Indeed! šŸ˜„ I'm staying here at least for couple weeks. What we need is a Wiki for us - the community - to organize all the help, debugging, hardware interop, software info. These forums are really not made for that.



  • @Zogg-Baubas I hear there is some wiki, but I'm under the impression that it's only for the Omega1. I'm not sure, though, I haven't even looked at any wikis yet.



  • This has definitely turned off-topic!


  • administrators

    the sd card issue has been resolved as of b143

    ā¤ Onion



  • confirmed working on 0.1.8 b145 with an 64GB SDXC card. Juppie šŸ˜„



  • @Lazar-Demin Confirmed working here as well! ā¤

    I notice that it is mounted under /tmp.

    Now, I of course want to use the sdcard to get more space for software, for example for gcc. šŸ™‚

    What is your advice how to achieve this? I want to use the sdcard instead of the overlayfs. I'm thinking of inserting soft links in the root.

    If I instead simply move everything to the sdcard. Is there a way not to mount the overlayfs but the sdcard instead?



  • @Lazar-Demin In relation to this comment from @Mikael-Djurfeldt :

    If I instead simply move everything to the sdcard. Is there a way not to mount the overlayfs but the sdcard instead?

    Would it be possible to have an updated version of https://wiki.onion.io/Tutorials/Using-USB-Storage-as-Rootfs for the Omega2 that covers SD card and USB storage? The Omega1 instructions don't seem to work because of issues with/lack of block-mount, see: https://community.onion.io/topic/1234/is-block-mount-gone-where-is-block

    While I haven't had time to play with this yet, I am guessing that we need to use uci but I am unclear and documentation would be appreciated.

    Slightly off topic, would it also be possible to include a link in https://docs.onion.io/omega2-docs/ to the Omega1 documentation at https://wiki.onion.io/Home ? I have seen some instances of people getting confused by the fact that there are differences between Omega1 and Omega2 šŸ˜ž

    I appreciated that you all have a lot on at the moment, but hopefully you will find some time in the future to address the above issues šŸ™‚


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.