Raspberry Pi 3B+ SD card not mounting

I have been trying to create a vxworks target on a raspberry pi 3b+ from this [guide] README_raspberrypi3b), 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 *]#

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

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