We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

sdCard slot for Omega2 O2



  • Hello, Onioneers!
    I have two Omega2 boards from early bird batches with that wierd labels. It's Omega2 without '+', but model is O2P.
    photo_5325787686906224774_y.jpg photo_5325787686906224779_y.jpg
    I need sd-card slot for my pet project. I have found and purchased Molex 503398-0891 (also Molex 503398-1892 can be used).

    So, I've soldered:

    • the slot
    • five 10k resistors on bottom
    • one 10k resitor on top
    • two capacitors (4.7uF and 0.1uF) on top.

    photo_2024-08-14_16-02-21.jpg
    photo_2024-08-14_16-03-43.jpg

    I've tried to compare inside photos from FCC. But quality is not good.

    And as a result - no luck, so far. Inserting sdCard doesn't trigger anything in system.
    What am I missing? Is the difference between O2 and O2P firmware right about SDIO interface? Should I insmod something, or reflash another bootloader?

    I've looked through the community but didn't find much. And sadly there is no O2/O2P schematics.
    Has anyone been able to do what I'm doing? Thanks for any help.



  • @viteo When you insert the sdcard is there any entry in the syslog?What firmware version are you using?



  • @crispyoz, you've given me the idea to try another firmware.
    I was on beta OpenWRT 23.05.
    I've flashed b258, and ---drum roll--- sd-card is recognized and mounted automatically!
    That's a relief.
    But, what should I do to enable it in beta fw? How can I help?



  • I also tried beta 22, it doesn't see cards either.



  • i've compared mmc kernel modules with:

    lsmod | grep mmc
    lsmod | grep sd
    

    the output looks similar on both systems.

    also i've checked the OMEGA2.dtsi in docker buildroot and in openwrt, they also looks the same.

    here is my linux knowledge ends 🙂



  • @viteo apologies for the delayed reply, I'm travelling. Let's go back 4 posts to my question

    @crispyoz said in sdCard slot for Omega2 O2:

    @viteo When you insert the sdcard is there any entry in the syslog?What firmware version are you using?



  • @crispyoz said in sdCard slot for Omega2 O2:

    When you insert the sdcard is there any entry in the syslog?What firmware version are you using?

    Ω-ware: 23.05.3 b20240807
    logread and dmesg doesn't change when inserting and ejecting cards



  • @viteo do you have mmc_core and mmc_block modules installed? Can you show the output of lsmod | grep mmc also the content of /etc/config/fstab



  • Here's the output:

    # lsmod | grep mmc
    mmc_block              28144  0
    mmc_core               92224  2 mmc_block,sdhci
    
    # cat /etc/config/fstab
    
    config global
            option anon_swap '0'
            option anon_mount '1'
            option auto_swap '1'
            option auto_mount '1'
            option delay_root '5'
            option check_fs '0'
    


  • found the solution for now:

    opkg update
    opkg install kmod-sdhci-mt7620
    

    now i have another module listed: mtk_sd
    sd-cards are detected properly



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