Hi, thank you for the reply.
As far as we understood we have defined two framebuffers in the device-tree:
framebuffer@0x1FC00000 (for HDMI out) and
framebuffer@0x1F700000 (for Camera in).
However in the demo only one framebuffer is activated, because of the configuration of the FSBL.
To get both framebuffers, we changed one line of code in fsbl_hook.c to:
//#define DIRECT_CAMERA_VIEW
Now we boot the zynqberry and perform:
# rpi-camera /dev/i2c-5
# reg 0x43C10040 1
Now with modified FSBL we do not get the camera image on HDMI (as expected I think), but there isn't a /dev/fb1 neither, so that we can not perform something like
# cat /dev/fb1 > /dev/fb0
We get the following error message from simple-framebuffer during boot:
simple-framebuffer 1fc00000.framebuffer: framebuffer at 0x1fc00000, 0x384000 bytes, mapped to 0x60400000
simple-framebuffer 1fc00000.framebuffer: format=a8b8g8r8, mode=1280x720x32, linelength=5120
simple-framebuffer 1fc00000.framebuffer: fb0: simplefb registered!
simple-framebuffer: probe of 1f700000.framebuffer failed with error -12
We then also made a single change in the petalinux project config:
SUBSYSTEM_MEMORY_PS7_DDR_0_BANKLESS_SIZE [=0x1F700000]
Which did not change anything. What are we missing/doing wrong?