Openbmc not detecting sd card
Patrick Williams
patrick at stwcx.xyz
Sat Mar 11 13:15:41 AEDT 2023
On Wed, Mar 08, 2023 at 02:59:11PM -0500, Alex Ba wrote:
> 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.
I'm surprised to hear you say you're building the latest from git
because we haven't used 6.0.8 since November.
```
commit cba505a2e686ef67aa8ce0b2f73a200dfddcf85c
Author: Joel Stanley <joel at jms.id.au>
Date: Mon Nov 28 13:44:39 2022 +1030
linux-aspeed: Move to v6.0.10 stable release
```
> 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?
>
Someone has been asking similar questions on a github issue. Maybe it
is you. If not, please see the discussion at:
https://github.com/openbmc/openbmc/issues/3906
> 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"
--
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20230310/f960ee51/attachment.sig>
More information about the openbmc
mailing list