# Raspberry Pi 3B+ SD card not mounting

**URL:** <https://forums.windriver.com/t/raspberry-pi-3b-sd-card-not-mounting/294>\
**Category:** VxWorks SDK\
**Created:** [February 6, 2024, 10:58pm UTC](https://forums.windriver.com/t/raspberry-pi-3b-sd-card-not-mounting/294 "2024-02-06T22:58:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnson502](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@johnson502](https://forums.windriver.com/u/johnson502)\
**Post date:** [February 6, 2024, 10:58pm UTC](https://forums.windriver.com/t/raspberry-pi-3b-sd-card-not-mounting/294/1 "2024-02-06T22:58:01Z")

</div>

I have been trying to create a vxworks target on a raspberry pi 3b+ from this [guide] [https://labs.windriver.com/downloads/wrsdk-vxworks7-docs/2103/README\_raspberrypi3b.html](https://labs.windriver.com/downloads/wrsdk-vxworks7-docs/2103/README_raspberrypi3b.html)), but I can’t get into any of the files on the sd card. When I try to, it gives a “cd: error = 0x2.” which I think just means “not found”. When I run the devs command, sd0a doesn’t show up. Any ideas?

Thanks

U-Boot 2023.10-01124-g9a3a58396b (Nov 07 2023 - 14:46:24 -0800)

DRAM: 948 MiB  
RPI 3 Model B+ (0xa020d3)  
Core: 67 devices, 14 uclasses, devicetree: embed  
MMC: mmc@7e202000: 0, mmc@7e300000: 1  
Loading Environment from FAT… OK  
In: serial,usbkbd  
Out: serial,vidconsole  
Err: serial,vidconsole  
Net: No ethernet found.  
starting USB…  
Bus usb@7e980000: USB DWC2  
scanning bus usb@7e980000 for devices… 4 USB Device(s) found  
scanning usb for storage devices… 0 Storage Device(s) found  
Hit any key to stop autoboot: 0  
9157968 bytes read in 383 ms (22.8 MiB/s)

## Booting kernel from Legacy Image at 08000000 …

Image Name: vxworks  
Image Type: AArch64 VxWorks Kernel Image (uncompressed)  
Data Size: 9157904 Bytes = 8.7 MiB  
Load Address: 00100000  
Entry Point: 00100000  
Verifying Checksum … OK  
Working FDT set to 0  
Loading Kernel Image  
!!! WARNING !!! Using legacy DTB

## Starting vxWorks at 0x00100000, device tree at 0x00000000 …

Instantiatm0 as rawFs, devx1  
Formatting /ram0 for HRFS v1.2  
Instantiating /ram0 as rawFs, device = 0x1  
Formatting…OK.  
Targe vxTargetantiating /tmp as device = 0x10001  
Formatting /tmp for HRFS v1.2  
Instantiating /tmp as rawFs, device = 0x10001  
Formatting…OK.

* * *

.…\ /…/  
.…\ /…/  
.…\ /…/  
.…\ /…/  
.…\ .…/  
.…\ .…/ VxWorks SMP 64-bit  
.…\ .../  
.…\ ./ Release version: 21.03  
.…\ - Build date: Apr 20 2021 16:34:43  
.…  
.…/ Copyright Wind River Systems, Inc.  
.…/ - 1984-2021  
.../ /.  
./ /…  
- –

```
               Board: Raspberry Pi 3 Model B+ - ARMv8
           CPU Count: 4
      OS Memory Size: ~883MB
    ED&R Policy Mode: Deployed
 Debug Agent: Started (always)
     Stop Mode Agent: Not started
          BSP Status: ***UNSUPPORTED***

```

usrNetDevNameGet: no network device  
usrNetDevNameGet: no network device  
Thu Jan 1 00:00:01 1970: ipcom\_drv\_eth[1e6170]: Error: ipcom\_drv\_eth\_bind\_to\_devs :: failed to get name of boot device

Adding 14452 symbols for standalone.

→ Thu Jan 105 1970: ipnet[196b70]: Error: ipcom\_getsockaddrbyaddr failed gw: dhcp  
Attached TCP/IP interface to usb2End unit 0  
Connecting to the Network…  
cmd  
[vxWorks \*]# cd /etc  
cd: error = 0x2.  
[vxWorks \*]# devs  
drv refs name  
1 [3] /  
2 [3] /bin ==\> /sd0a/sysroot/bin  
2 [3] /boot ==\> /sd0a/sysroot/boot  
2 [3] /dev ==\> /  
2 [3] /etc ==\> /sd0a/sysroot/etc  
12 [3] /fifos  
17 [3] /host.host  
15 [3] /input/event  
2 [3] /lib ==\> /sd0a/sysroot/lib  
0 [3] /null  
11 [3] /ram0  
14 [3] /random  
4 [3] /shm  
11 [3] /tmp  
3 [3] /ttyS0  
14 [3] /urandom  
2 [3] /usr ==\> /sd0a/sysroot/usr  
13 [3] /zero  
[vxWorks \*]#

---

<div class="post-metadata">

**Author:** ![dan.milea](https://avatars.discourse-cdn.com/v4/letter/d/4bbf92/32.png) [@dan.milea](https://forums.windriver.com/u/dan.milea)\
**Post date:** [February 7, 2024, 6:30am UTC](https://forums.windriver.com/t/raspberry-pi-3b-sd-card-not-mounting/294/2 "2024-02-07T06:30:44Z")

</div>

The Raspberry Pi 3 VxWorks BSP does not have SD card support. The /bin, /boot, etc, entries in the output of the devs command are symbolic links, so they are not a reference that sd0a is available.

For application development, follow the instructions to create a network device in the " Running applications" section of the README file you mentioned.

Dan

---

<div class="post-metadata">

**Author:** ![johnson502](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@johnson502](https://forums.windriver.com/u/johnson502)\
**Post date:** [February 7, 2024, 5:38pm UTC](https://forums.windriver.com/t/raspberry-pi-3b-sd-card-not-mounting/294/3 "2024-02-07T17:38:18Z")

</div>

I guess that makes sense. Why does the guide say to copy all of the sysroot/ stuff over then? seems kinda pointless.
