This is a roundabout way to handle a previous thread with umpteen data about randomness. This post is mostly going to be geared towards video and media on the BeagleY-AI along with Linux drivers and hopefully some CSI2 ports!
Here is the old thread with some data:
Seth
P.S. This will be an update to that thread hopefully and with wishful thinking, just maybe, maybe we can get the BeagleY-AI floating some nifty video views…
Are you sure the wiring on the board is correct. I have no way to probe this. At bare minimum it should be talking to the cam on i2c. Both cs0 and cs1 overlays are loaded and I have tried both ports.
It is in the tree says that intree: Y arg. I bet you cannot boot now.
Seth
P.S. I have not tried what you just did. parm is parameter probably and that means no recovery or the firmware will remain. Have you made your own kernel yet?
It should boot the rmmod is session only. I did not blacklist.
So far i2c did not come up with that unloaded, that would be the starting point. The power issue is a little troubling too. I will look at the new BSP and if its cleaned up and if I can figure out what is going on I will look at this some more.
I think kernel 5.1.x was when the BeagleY-AI was booting into CSI2 portages. Primarily a guess there…
And A-Okay, I can wait as usual while I build supplies of source to run. I was unaware that cc33xx was loaded as firmware instead of the kernel driver. I was reviewing the kernel drivers…
There were some interesting things and some not-so-interesting files. I did a fresh make clean on a built kernel. So, I am back to square one.
I meant the entire image running on that kernel version. Swapping out kernels is massive headache and plenty of surprises. This was installed from imager. Some place RCN has a devicetree and kernel info and I keep losing its location.
(bby2-venv) fred@bby2:~$ v4l2-ctl -d /dev/video-imx219-cam0 --all
Driver Info:
Driver name : j721e-csi2rx
Card type : j721e-csi2rx
Bus info : platform:30122000.ticsi2rx
Driver version : 6.1.83
Capabilities : 0xa4200001
Video Capture
Streaming
Extended Pix Format
Device Capabilities
Device Caps : 0x24200001
Video Capture
Streaming
Extended Pix Format
Media Driver Info:
Driver name : j721e-csi2rx
Model : TI-CSI2RX
Serial :
Bus info : platform:30122000.ticsi2rx
Media version : 6.1.83
Hardware revision: 0x00000001 (1)
Driver version : 6.1.83
Interface Info:
ID : 0x03000015
Type : V4L Video
Entity Info:
ID : 0x00000013 (19)
Name : 30122000.ticsi2rx context 0
Function : V4L2 I/O
Pad 0x01000014 : 0: Sink
Link 0x02000017: from remote pad 0x1000003 of entity '30122000.ticsi2rx' (Video Interface Bridge): Data, Enabled, Immutable
Priority: 2
Video input : 0 (30122000.ticsi2rx context 0: ok)
Format Video Capture:
Width/Height : 640/480
Pixel Format : 'YUYV' (YUYV 4:2:2)
Field : None
Bytes per Line : 1280
Size Image : 614400
Colorspace : sRGB
Transfer Function : Default (maps to sRGB)
YCbCr/HSV Encoding: Default (maps to ITU-R 601)
Quantization : Default (maps to Limited Range)
Flags :
/linux/arch/arm64/boot/dts/ti shows some ideas about the j722s processor.
TI has not listed a bunch available but that is only DTS. So, maybe configuring the build env. will provide some more ideas.
My ideas are these:
a. Right now, I am not sure the k3-j722s is the type.
b. If we were to build a kernel listed under openbeagle.org from their Linux clone, we would need to alter many files.
c. What files should we alter?
Letter c. is an issue in itself. We may need to go into the kernel before building to alter the DTS and add/subtract specifics in specified DTS files.
If the am67a is the j721e, then I will need to build around that particular DTS that is available.
I will be willing to build a Linux kernel for this specified processor but not for the video capture instances. There is a lot to video processing that eludes me so far.
Seth
P.S. For instance, does the CSI2 ports need HDMI output or do the CSI2 ports need OLDI for outputting the video feed? I do not know as of now. I mean…I was just testing with a server and porting the feed to the local server.
[ 7.588608] imx219 3-0010: supply VANA not found, using dummy regulator
[ 7.588929] imx219 3-0010: supply VDIG not found, using dummy regulator
[ 7.589031] imx219 3-0010: supply VDDL not found, using dummy regulator
[ 7.629897] imx219 5-0010: supply VANA not found, using dummy regulator
[ 7.637269] imx219 5-0010: supply VDIG not found, using dummy regulator
[ 7.639071] imx219 5-0010: supply VDDL not found, using dummy regulator
[ 7.699911] imx219 5-0010: failed to read chip id 219
[ 7.712483] imx219: probe of 5-0010 failed with error -5
[ 10.939848] imx219 3-0010: Consider updating driver imx219 to match on endpoints