Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1604030
| From | Mauro Carvalho Chehab <mchehab@s-opensource.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver |
| Date | 2017-03-19 18:00 +0100 |
| Message-ID | <tmMlr-58-9@gated-at.bofh.it> (permalink) |
| References | (2 earlier) <tlphf-5w5-1@gated-at.bofh.it> <tlsf7-7A8-7@gated-at.bofh.it> <tlsI9-7Ou-7@gated-at.bofh.it> <tlA30-4H0-21@gated-at.bofh.it> <tmazv-6vO-5@gated-at.bofh.it> |
| Organization | Samsung |
Em Fri, 17 Mar 2017 17:34:36 -0700 Eric Anholt <eric@anholt.net> escreveu: > Mauro Carvalho Chehab <mchehab@s-opensource.com> writes: > > > Em Wed, 15 Mar 2017 18:46:24 -0700 > > Michael Zoran <mzoran@crowfest.net> escreveu: > > > >> On Wed, 2017-03-15 at 22:08 -0300, Mauro Carvalho Chehab wrote: > >> > >> > No, I didn't. Thanks! Applied it but, unfortunately, didn't work. > >> > Perhaps I'm missing some other patch. I'm compiling it from > >> > the Greg's staging tree (branch staging-next): > >> > https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging. > >> > git/log/?h=staging-next > >> > > >> > Btw, as I'm running Raspbian, and didn't want to use compat32 bits, > >> > I'm compiling the Kernel as an arm32 bits Kernel. > >> > > >> > I did a small trick to build the DTB on arm32: > >> > > >> > ln -sf ../../../arm64/boot/dts/broadcom/bcm2837-rpi-3-b.dts > >> > arch/arm/boot/dts/bcm2837-rpi-3-b.dts > >> > ln -sf ../../../arm64/boot/dts/broadcom/bcm2837.dtsi > >> > arch/arm/boot/dts/bcm2837.dtsi > >> > git checkout arch/arm/boot/dts/Makefile > >> > sed "s,bcm2835-rpi-zero.dtb,bcm2835-rpi-zero.dtb bcm2837-rpi-3- > >> > b.dtb," a && mv a arch/arm/boot/dts/Makefile > >> > > >> > >> Two other hacks are currently needed to get the camera to work: > >> > >> 1. Add this to config.txt(This required to get the firmware to detect > >> the camera) > >> > >> start_x=1 > >> gpu_mem=128 > > > > I had this already. > > > >> > >> 2. VC4 is incompatible with the firmware at this time, so you need > >> to presently munge the build configuration. What you do is leave > >> simplefb in the build config(I'm assuming you already have that), but > >> you will need to remove VC4 from the config. > >> > >> The firmware currently adds a node for a simplefb for debugging > >> purposes to show the boot log. Surprisingly, this is still good enough > >> for basic usage and testing. > > > > That solved the issue. Thanks! It would be good to add a notice > > about that at the TODO, not let it build if DRM_VC4. > > > > Please consider applying the enclosed path. > > The VC4 incompatibility (camera firmware's AWB ends up briefly using the > GPU, without coordinating with the Linux driver) is supposed to be fixed > in current firmware > (https://github.com/raspberrypi/firmware/issues/760#issuecomment-287391025) With the current firmware, when X starts, the screen becomes blank, with upstream Kernel (it works with the downstream Kernel shipped with the firmware). Maybe something changed at DT? Thanks, Mauro
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-03-15 15:10 +0100
Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver Stefan Wahren <stefan.wahren@i2se.com> - 2017-03-15 23:00 +0100
Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver Eric Anholt <eric@anholt.net> - 2017-03-15 23:10 +0100
Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-03-16 02:20 +0100
Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver Michael Zoran <mzoran@crowfest.net> - 2017-03-16 02:50 +0100
Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-03-16 10:40 +0100
Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver Eric Anholt <eric@anholt.net> - 2017-03-18 01:40 +0100
Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-03-19 18:00 +0100
Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver Michael Zoran <mzoran@crowfest.net> - 2017-03-19 18:10 +0100
Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-03-20 02:20 +0100
Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-03-20 12:10 +0100
Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver Michael Zoran <mzoran@crowfest.net> - 2017-03-20 12:10 +0100
Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-03-20 16:10 +0100
Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver Michael Zoran <mzoran@crowfest.net> - 2017-03-20 16:20 +0100
Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-03-20 17:00 +0100
Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver Michael Zoran <mzoran@crowfest.net> - 2017-03-20 17:10 +0100
Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver Mauro Carvalho Chehab <mchehab@s-opensource.com> - 2017-03-22 18:20 +0100
Re: [PATCH 0/6] staging: BCM2835 MMAL V4L2 camera driver Stefan Wahren <stefan.wahren@i2se.com> - 2017-03-20 13:00 +0100
csiph-web