Openbmc not detecting sd card

Alex Ba hamid.amirrad2002 at gmail.com
Thu Mar 9 06:59:11 AEDT 2023


Hi,

I compiled the latest code from the git for evb-ast2500 and loaded the
image onto the board. The borad has an external micro sd that I am trying
to access it for storage purposes.
OpenBmc does not seem to detect it. Below is output of some of the commands
that could help with the issue. Can someone please help me with this? Do I
need to enable something when compiling or do I need to add a driver when
compiling? Is there any step that i should follow to discover the sd card?

Thanks,

*root at BMC:~# uname -a*
Linux BMC 6.0.8-1b16243 #1 Thu Nov 17 03:10:16 UTC 2022 armv6l GNU/Linux


*root at BMC:~# cat /etc/os-release*
ID=openbmc-phosphor
NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)"
VERSION="None"
VERSION_ID=none
VERSION_CODENAME="${DISTRO_CODENAME}"
PRETTY_NAME="Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro)
None"
BUILD_ID="20221122151436"
OPENBMC_TARGET_MACHINE="evb-ast2500"
EXTENDED_VERSION="None"

*root at BMC:~# df -T*
Filesystem           Type       1K-blocks      Used Available Use% Mounted
on
dev                  devtmpfs      489096         0    489096   0% /dev
tmpfs                tmpfs         506524     12400    494124   2% /run
/dev/mtdblock4       squashfs       17664     17664         0 100%
/run/initramfs/ro
/dev/mtdblock5       jffs2           4096      1256      2840  31%
/run/initramfs/rw
cow                  overlay         4096      1256      2840  31% /
tmpfs                tmpfs         506524         8    506516   0% /dev/shm
tmpfs                tmpfs         506528         0    506528   0% /tmp
tmpfs                tmpfs         506524         8    506516   0%
/var/volatile

*root at BMC:~# fdisk -l*
root at BMC:~#

*root at BMC:~# blkid*
/dev/mtdblock4: TYPE="squashfs"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20230308/3163ef60/attachment.htm>


More information about the openbmc mailing list