Jump to content

The imx219 camera on RPi5: what overlays to enable?


Recommended Posts

Raspberry OS has weird quirks that automate the process of setting up the system for using cameras, but I'm looking for clean way to set up the device tree to use the imx219 camera.

 

Anyone knows what overlays to enable to get this to work on Armbian?

 

Additionally where's the location of device tree overlays sources for Raspberry Pi 5 on Armbian?

Link to comment
Share on other sites

I also am trying to change RasPi device tree, see my post:

What I've discovered thus far:

  • Overlays are not enabled for RasPi, if you try to do an "armbian-add-overlay" you get an error.
  • Only way I know at this point for kernel mods that works is to change  "/boot/firmware/config.txt" and "/boot/firmware/armbian.txt" . But what you can do there is very limited. 

Also as an aside the overlays are @ "/boot/firmware/overlays" , and "/boot/dtb/overlays". Root device tree @ "/boot/dtb/broadcom/", but I have not gotten any to load as of yet.

 

Link to comment
Share on other sites

I also am trying to change RasPi device tree, see my post:

What I've discovered thus far:

  • Overlays are not enabled for RasPi, if you try to do an "armbian-add-overlay" you get an error.
  • Only way I know at this point for kernel mods that works is to change  "/boot/firmware/config.txt" and "/boot/firmware/armbian.txt" . But what you can do there is very limited. 
  • If your running a "jammy" version of the build, then you get the RasPi utilities like "raspi-config" and "dtoverlay" that might help. 

Also as an aside the overlays are @ "/boot/firmware/overlays" , and "/boot/dtb/overlays". Root device tree @ "/boot/dtb/broadcom/", but I have not gotten any to load as of yet.

 

Link to comment
Share on other sites

On 4/22/2024 at 10:20 PM, c0rnelius said:

Using overlays on the PI whilst on Armbian should be no different than doing so on RaspiOS

That's not documented on https://docs.armbian.com/User-Guide_Armbian_overlays/, I'll propose change when tested.

However, so far it doesn't work. On RPi5's Raspberry OS enabling `dtparam=i2c_arm=on` in `/boot/firmware/config.txt` turns I²C on, but it doesn't on Armbian.

I find it confusing overlays are in two distinct locations under `/boot`.

 

More clues welcome.

Link to comment
Share on other sites

1 hour ago, Michal Fita said:

On RPi5's Raspberry OS enabling `dtparam=i2c_arm=on` in `/boot/firmware/config.txt` turns I²C on, but it doesn't on Armbian.

 

`modprobe i2c-dev` or add it to /etc/modules and reboot.

Link to comment
Share on other sites

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines