Fresh install - shows RPi 3B+ instead of RPi 4

Creating a bug report/issue

Required Information

  • DietPi version | cat /boot/dietpi/.version

G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=17
G_DIETPI_VERSION_RC=2
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
G_LIVE_PATCH_STATUS[0]=‘applied’
G_LIVE_PATCH_STATUS[1]=‘applied’

  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN

bullseye 0

  • Kernel version | uname -a

Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux

  • Architecture | dpkg --print-architecture

arm64

  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)

RPi 3 Model B+ (aarch64)

THIS IS WRONG

  • Power supply used | (EG: 5V 1A RAVpower)

POE hat

  • SD card used | (EG: SanDisk ultra)

SanDisk Extreme 128GB

Steps to reproduce

  1. Balenaetcher onto SD card
  2. Run

Expected behaviour

  • Should show RPi4

Actual behaviour

  • Says it is on a 3B+

what is following giving you?

cat /sys/firmware/devicetree/base/model