Hi folks,
I'm currently running 22.03 x86_64
on an Intel Joule 570x development kit and this works fine for the most part however I cannot make use of the MicroSD card slot on the board.
Currently the OpenWrt OS is installed on the built-in eMMC module (16 GB) however there's also a 128 GB MicroSD card installed but this is not detected.
Here's some useful output:
lspci
output:
root@Joule:~# lspci
00:00.0 Host bridge: Intel Corporation Device 1af0 (rev 0c)
00:00.1 Signal processing controller: Intel Corporation Device 1a8c (rev 0c)
00:02.0 VGA compatible controller: Intel Corporation Device 1a84 (rev 0c)
00:03.0 Multimedia controller: Intel Corporation Device 1a88 (rev 0c)
00:0e.0 Audio device: Intel Corporation Device 1a98 (rev 0c)
00:0f.0 Communication controller: Intel Corporation Device 1a9a (rev 0c)
00:14.0 PCI bridge: Intel Corporation Device 1ad6 (rev fc)
00:15.0 USB controller: Intel Corporation Device 1aa8 (rev 0c)
00:15.1 USB controller: Intel Corporation Device 1aaa (rev 0c)
00:16.0 Signal processing controller: Intel Corporation Device 1aac (rev 0c)
00:16.1 Signal processing controller: Intel Corporation Device 1aae (rev 0c)
00:16.2 Signal processing controller: Intel Corporation Device 1ab0 (rev 0c)
00:16.3 Signal processing controller: Intel Corporation Device 1ab2 (rev 0c)
00:17.0 Signal processing controller: Intel Corporation Device 1ab4 (rev 0c)
00:17.1 Signal processing controller: Intel Corporation Device 1ab6 (rev 0c)
00:17.2 Signal processing controller: Intel Corporation Device 1ab8 (rev 0c)
00:17.3 Signal processing controller: Intel Corporation Device 1aba (rev 0c)
00:18.0 Signal processing controller: Intel Corporation Device 1abc (rev 0c)
00:18.1 Signal processing controller: Intel Corporation Device 1abe (rev 0c)
00:18.2 Signal processing controller: Intel Corporation Device 1ac0 (rev 0c)
00:18.3 Signal processing controller: Intel Corporation Device 1aee (rev 0c)
00:19.0 Signal processing controller: Intel Corporation Device 1ac2 (rev 0c)
00:19.1 Signal processing controller: Intel Corporation Device 1ac4 (rev 0c)
00:19.2 Signal processing controller: Intel Corporation Device 1ac6 (rev 0c)
00:1a.0 Serial bus controller: Intel Corporation Device 1ac8 (rev 0c)
00:1b.0 SD Host controller: Intel Corporation Device 1aca (rev 0c)
00:1c.0 SD Host controller: Intel Corporation Device 1acc (rev 0c)
01:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
dmesg
output relating to SD or MMC (non-relevant lines removed):
root@Joule:~# dmesg | egrep -iE '(sd|mmc)'
[ 0.000000] DMI: Intel Corp. 570x DVT2/SDS, BIOS GTPP1J2A.X64.0143.B30.1706270056 06/27/2017
[ 0.368909] sdhci: Secure Digital Host Controller Interface driver
[ 0.369495] sdhci: Copyright(c) Pierre Ossman
[ 0.369913] sdhci-pci 0000:00:1b.0: SDHCI controller found [8086:1aca] (rev c)
[ 0.371012] sdhci-pci 0000:00:1c.0: SDHCI controller found [8086:1acc] (rev c)
[ 0.372720] mmc0: SDHCI controller on PCI [0000:00:1c.0] using ADMA 64-bit
[ 0.390680] sdhci-pci 0000:00:1b.0: SDHCI controller found [8086:1aca] (rev c)
[ 0.391789] sdhci-pci 0000:00:1b.0: SDHCI controller found [8086:1aca] (rev c)
[ 0.526039] mmc0: new HS400 MMC card at address 0001
[ 0.527106] mmcblk0: mmc0:0001 016G32 14.7 GiB
[ 0.527700] mmcblk0boot0: mmc0:0001 016G32 partition 1 4.00 MiB
[ 0.528401] mmcblk0boot1: mmc0:0001 016G32 partition 2 4.00 MiB
[ 0.529094] mmcblk0gp0: mmc0:0001 016G32 partition 4 4.00 MiB
[ 0.529777] mmcblk0gp3: mmc0:0001 016G32 partition 7 4.00 MiB
[ 0.530351] mmcblk0rpmb: mmc0:0001 016G32 partition 3 4.00 MiB, chardev (247:0)
[ 0.535666] mmcblk0: p1 p2 p128
[ 0.538683] sdhci-pci 0000:00:1b.0: SDHCI controller found [8086:1aca] (rev c)
[ 0.546262] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[ 0.899130] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.949298] sdhci-pci 0000:00:1b.0: SDHCI controller found [8086:1aca] (rev c)
[ 1.019503] sdhci-pci 0000:00:1b.0: SDHCI controller found [8086:1aca] (rev c)
[ 1.350240] sdhci-pci 0000:00:1b.0: SDHCI controller found [8086:1aca] (rev c)
[ 1.684833] sdhci-pci 0000:00:1b.0: SDHCI controller found [8086:1aca] (rev c)
[ 1.830307] sdhci-pci 0000:00:1b.0: SDHCI controller found [8086:1aca] (rev c)
[ 1.980325] sdhci-pci 0000:00:1b.0: SDHCI controller found [8086:1aca] (rev c)
[ 5.124054] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
[ 5.126097] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 5.288877] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 6.637774] sdhci-pci 0000:00:1b.0: SDHCI controller found [8086:1aca] (rev c)
[ 7.021478] sdhci-pci 0000:00:1b.0: SDHCI controller found [8086:1aca] (rev c)
[ 7.099124] sdhci-pci 0000:00:1b.0: SDHCI controller found [8086:1aca] (rev c)
[ 7.294999] sdhci-pci 0000:00:1b.0: SDHCI controller found [8086:1aca] (rev c)
parted -l
output:
root@Joule:~# parted -l
Error: /dev/mmcblk0gp0: unrecognised disk label
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0gp0: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Model: MMC 016G32 (sd/mmc)
Disk /dev/mmcblk0: 15.7GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
128 17.4kB 262kB 245kB bios_grub
1 262kB 17.0MB 16.8MB fat16 legacy_boot
2 17.0MB 15.7GB 15.7GB ext2
Error: /dev/mmcblk0boot0: unrecognised disk label
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0boot0: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Error: /dev/mmcblk0gp3: unrecognised disk label
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0gp3: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
Error: /dev/mmcblk0boot1: unrecognised disk label
Model: Generic SD/MMC Storage Card (sd/mmc)
Disk /dev/mmcblk0boot1: 4194kB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
It correctly detects mmcblk0
(well it would have to, to boot from it) and related non-readable devices (hence some unrecognised disk label
errors as they aren't traditional block devices) but it doesn't detect the MicroSD card slot and / or the card within that slot (which I imagine would be mmcblk1 or the sdX format).
Removing or inserting that card does not trigger any kernel messages.
I've tried installing these optional packages to try and bump it into working but to no avail:
root@Joule:~# opkg list-installed | egrep -iE '(sd|mmc|fat|ext|storage)'
kmod-fs-ext4 - 5.10.146-1
kmod-fs-vfat - 5.10.146-1
kmod-ipt-extra - 5.10.146-1
kmod-ipt-physdev - 5.10.146-1
kmod-mmc - 5.10.146-1
kmod-mmc-spi - 5.10.146-1
kmod-sdhci - 5.10.146-1
kmod-usb-storage - 5.10.146-1
libext2fs2 - 1.46.5-1
libiptext0 - 1.8.7-7
libiptext6-0 - 1.8.7-7
mmc-utils - 2022-01-16-3969aa48-1
ubusd - 2022-06-01-2bebf93c-1
Please can someone advise?