# Trouble getting RPi4 to work

**URL:** <https://hub.mender.io/t/trouble-getting-rpi4-to-work/7287>\
**Category:** General Discussions\
**Tags:** yocto, mender-client, scarthgap\
**Created:** [October 24, 2024, 4:08am UTC](https://hub.mender.io/t/trouble-getting-rpi4-to-work/7287 "2024-10-24T04:08:28Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Vladimir](https://avatars.discourse-cdn.com/v4/letter/v/94ad74/32.png) [@Vladimir](https://hub.mender.io/u/Vladimir)\
**Post date:** [November 13, 2024, 1:13pm UTC](https://hub.mender.io/t/trouble-getting-rpi4-to-work/7287/7 "2024-11-13T13:13:20Z")

</div>

Hello @TheYoctoJester . I have yocto dunfell (3.0) project for RPi 4B with mender, and it works awesome. But I decided to upgrade to scarthgap (5.0) and followed this manual ([Raspberry Pi 4 Model B - Yocto 5.0 "scarthgap" and later](https://hub.mender.io/t/raspberry-pi-4-model-b-yocto-5-0-scarthgap-and-later/7024)) to create core-image-minimal image with no customization at all. Image was created but the device doesn’t boot:

```auto
U-Boot 2024.04 (Apr 02 2024 - 10:58:58 +0000)

DRAM: 948 MiB (effective 7.9 GiB)
RPI 4 Model B (0xd03114)
Core: 211 devices, 16 uclasses, devicetree: board
MMC: mmcnr@7e300000: 1, mmc@7e340000: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In: serial,usbkbd
Out: serial,vidconsole
Err: serial,vidconsole
Net: eth0: ethernet@7d580000
PCIe BRCM: link up, 5.0 Gbps x1 (SSC)
PCI: Failed autoconfig bar 10
starting USB...
Bus xhci_pci:

```

Previous dunfell-based image successful boot snippet:

```auto
U-Boot 2020.01 (Jan 06 2020 - 20:56:31 +0000)

DRAM: 3.9 GiB
RPI 4 Model B (0xd03114)
MMC: mmcnr@7e300000: 1, emmc2@7e340000: 0
Loading Environment from MMC... OK

```

I noticed that DRAM size differs. Could I ask why this happens, please? Thanks.

---

_[View the full topic](https://hub.mender.io/t/trouble-getting-rpi4-to-work/7287)._
