Jump to content
  • 0

/dev/media0 missing


jgauthier
 Share

Question

Greetings,

 

 Some time ago, I built armbian with kernel 5.4.51.  I applied a patch to two dts files that allowed for the OV5640 camera to work.     By "work", I mean /dev/video0 was present in the system and /dev/media0 was also present.  I could set camera parameters with media-ctl pointing to /dev/media0.  

 

Now, I've updated, and using a legacy kernel, 5.4.65, I cannot reproduce this.   I've applied the same dts changes, but upon booting this image /dev/media0 is missing.

 

I've compared the two kernel configurations, and there are very minimal differences:

# diff config-5.4.51-sunxi /boot/config-5.4.65-sunxi
3c3
< # Linux/arm 5.4.51 Kernel Configuration
---
> # Linux/arm 5.4.65 Kernel Configuration
2116d2115
< # CONFIG_BLK_DEV_SR_VENDOR is not set
2644a2644
> # CONFIG_RTL8192EU is not set
3165a3166
> CONFIG_SPI_DYNAMIC=y

 

likewise, comparing loaded modules shows me that on my 5.4.65 build ov5640 is not in use:

Module                  Size  Used by
ov5640                 28672  0


On my 5.4.51 build, it is in use.

 

I'm not sure where to go from here.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

https://github.com/armbian/build/commits/master/patch/kernel/sunxi-legacy

Although there do not seem to be any significant changes over the last month or so feel free to start digging there.

 

Also providing armbianmonitor -u anyways is a good idea in general and best practice when opening an issue complaint ;)

Link to comment
Share on other sites

Check forum guidelines to use maximum potential!

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
Answer this question...

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

×
×
  • Create New...