Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

can't change device tree

Featured Replies

I have a RasPi 4b, I'm trying to understand how the device tree is modified so I can use the methodology eventually for a board that has a CM4 on it.

 

So from a virgin clone of the build repo:

./compile.sh BOARD=rpi4b BRANCH=edge RELEASE=bookworm BUILD_MINIMAL=yes KERNEL_CONFIGURE=no KERNEL_GIT=full

 

install image on SD card and boot the device, go through Armbian-setup. All well and good, then varify device tree used for the boot:

cat /proc/device-tree/model

gets me a:

Raspberry Pi 4 Model B Rev 1.5

 

OK so now lets modify the device tree:

./compile.sh BOARD=rpi4b BRANCH=edge RELEASE=bookworm BUILD_MINIMAL=yes KERNEL_CONFIGURE=no KERNEL_GIT=full kernel-patch

 

When the build pauses, we open another terminal and change the device tree file (note in the build log below I had modified all the CM4 device tree files):

sudo nano ./arch/arm/boot/dts/broadcom/bcm2711-rpi-4-b.dts

Only change is to modify the model line with a marker, like my initials, new line is:

 model = "Raspberry Pi 4 Model B AJW";

close editor, and hit enter to restart the build, then copy resulting patch file to:

userpatches/kernel/archive/bcm2711-6.7/0010-simple-device-tree.patch

rebuild as before, then burn new image to SD card and retest the device tree model, but no change is apparent. 

 

 

So how do you change the device tree for a RasPi 4?

 

log-build-e9849e69-98be-4710-b3be-e05a30285a44.log

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.