openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Openbmc not detecting sd card
@ 2023-03-08 19:59 Alex Ba
  2023-03-11  2:15 ` Patrick Williams
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Ba @ 2023-03-08 19:59 UTC (permalink / raw)
  To: openbmc

[-- Attachment #1: Type: text/plain, Size: 1751 bytes --]

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@BMC:~# uname -a*
Linux BMC 6.0.8-1b16243 #1 Thu Nov 17 03:10:16 UTC 2022 armv6l GNU/Linux


*root@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@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@BMC:~# fdisk -l*
root@BMC:~#

*root@BMC:~# blkid*
/dev/mtdblock4: TYPE="squashfs"

[-- Attachment #2: Type: text/html, Size: 4515 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Openbmc not detecting sd card
  2023-03-08 19:59 Openbmc not detecting sd card Alex Ba
@ 2023-03-11  2:15 ` Patrick Williams
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Williams @ 2023-03-11  2:15 UTC (permalink / raw)
  To: Alex Ba; +Cc: openbmc

[-- Attachment #1: Type: text/plain, Size: 2464 bytes --]

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@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@BMC:~# uname -a*
> Linux BMC 6.0.8-1b16243 #1 Thu Nov 17 03:10:16 UTC 2022 armv6l GNU/Linux
> 
> 
> *root@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@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@BMC:~# fdisk -l*
> root@BMC:~#
> 
> *root@BMC:~# blkid*
> /dev/mtdblock4: TYPE="squashfs"

-- 
Patrick Williams

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-11  2:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-08 19:59 Openbmc not detecting sd card Alex Ba
2023-03-11  2:15 ` Patrick Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).