tbsdtv / linux_media

TBS linux open source drivers
https://github.com/tbsdtv/linux_media/wiki
Other
174 stars 80 forks source link

RPi 4 ubuntu install #217

Open dawiepoolman opened 3 years ago

dawiepoolman commented 3 years ago

Hi guys

I am getting stuck installing the RPi4 drivers on latest ubuntu 20.04 for kernel 5.4.0-1019-raspi

Herewith the log:

` Reading package lists... Done Building dependency tree Reading state information... Done libproc-processtable-perl is already the newest version (0.59-2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Done Building dependency tree Reading state information... Done libelf-dev is already the newest version (0.176-1.1build1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. The text leading up to this was:

|diff --git a/drivers/media/cec/cec-api.c b/drivers/media/cec/cec-api.c |index b6536bbad530..401ed65c834b 100644 |--- a/drivers/media/cec/cec-api.c |+++ b/drivers/media/cec/cec-api.c

No file to patch. Skipping patch. 1 out of 1 hunk ignored 1 out of 1 hunk FAILED -- saving rejects to file include/media/v4l2-clk.h.rej Applying patches for kernel 5.4.0-1019-raspi 5 4 0 dvb-demod-avl6882.fw dvb-demod-drxk-pctv.fw dvb-demod-gx1503B.fw dvb-demod-mn88472-02.fw dvb-demod-mn88473-01.fw dvb-demod-si2168-01.fw dvb-demod-si2168-02.fw dvb-demod-si2168-a20-01.fw dvb-demod-si2168-a30-01.fw dvb-demod-si2168-b40-01.fw dvb-demod-si2183-b60-01.fw dvb-fe-bcm3510-01.fw dvb-fe-cx24116.fw dvb-fe-cx24117.fw dvb-fe-drxj-mc-1.0.8.fw dvb-fe-drxj-mc-vsb-1.0.8.fw dvb-fe-drxj-mc-vsb-qam-1.0.8.fw dvb-fe-ds3000.fw dvb-fe-ds300x.fw dvb-fe-ds3103.fw dvb-fe-mxl5xx.fw dvb-fe-or51132-qam.fw dvb-fe-or51132-vsb.fw dvb-fe-or51211.fw dvb-fe-rs6000.fw dvb-fe-tda10045.fw dvb-fe-tda10046.fw dvb-fe-tda10048-1.0.fw dvb-fe-tda10071.fw dvb-fe-xc4000-1.4.1.fw dvb-fe-xc5000-1.6.114.fw dvb-fe-xc5000c-4.1.30.7.fw dvb-tuner-si2158-a20-01.fw dvb-usb-avertv-a800-02.fw dvb-usb-bluebird-01.fw dvb-usb-dib0700-1.20.fw dvb-usb-dibusb-5.0.0.11.fw dvb-usb-dibusb-6.0.0.8.fw dvb-usb-dtt200u-01.fw dvb-usb-dw2101.fw dvb-usb-dw2102.fw dvb-usb-dw2104.fw dvb-usb-dw3101.fw dvb-usb-id5301.fw dvb-usb-id5520se.fw dvb-usb-id5580.fw dvb-usb-id5590.fw dvb-usb-it9135-01.fw dvb-usb-it9135-02.fw dvb-usb-p1100.fw dvb-usb-p1100-old.fw dvb-usb-p7500.fw dvb-usb-pctv-400e-01.fw dvb-usb-pctv-450e-01.fw dvb-usb-pctv-452e-01.fw dvb-usb-s620.fw dvb-usb-s630.fw dvb-usb-s660.fw dvb-usb-sb340.fw dvb-usb-SkyStar_USB_HD_FW_v17_63.HEX.fw dvb-usb-tbs5520-01.fw dvb-usb-tbsqbox-dvbc.fw dvb-usb-tbsqbox-id2601.fw dvb-usb-tbsqbox-id5220.fw dvb-usb-tbsqbox-id5520.fw dvb-usb-tbsqbox-id5680.fw dvb-usb-tbsqbox-id5880.fw dvb-usb-tbsqbox-id5881.fw dvb-usb-tbsqbox-id5910.fw dvb-usb-tbsqbox-id5920.fw dvb-usb-tbsqbox-id5921.fw dvb-usb-tbsqbox-id5922.fw dvb-usb-tbsqbox-id5923.fw dvb-usb-tbsqbox-id5925.fw dvb-usb-tbsqbox-id5927.fw dvb-usb-tbsqbox-id5928.fw dvb-usb-tbsqbox-id5980.fw dvb-usb-terratec-h5-drxk.fw dvb-usb-terratec-h7-az6007.fw dvb-usb-terratec-h7-drxk.fw dvb-usb-tt-s2400-01.fw dvb-usb-umt-010-02.fw dvb-usb-vp702x-01.fw dvb-usb-vp7045-01.fw dvb-usb-wt220u-01.fw dvb-usb-wt220u-02.fw sms1xxx-hcw-55xxx-dvbt-02.fw sms1xxx-hcw-55xxx-isdbt-02.fw sms1xxx-nova-a-dvbt-01.fw sms1xxx-nova-b-dvbt-01.fw sms1xxx-stellar-dvbt-01.fw v4l-cx231xx-avcore-01.fw v4l-cx23418-apu.fw v4l-cx23418-cpu.fw v4l-cx23418-dig.fw v4l-cx23885-avcore-01.fw v4l-cx23885-enc-broken.fw v4l-cx23885-enc.fw v4l-cx25840.fw make -C /home/ubuntu/media_build/v4l distclean make[1]: Entering directory '/home/ubuntu/media_build/v4l' rm -f ~ .o .ko ..o.cmd ..ko.cmd .mod.c av7110_firm.h fdump \ config-compat.h Module.symvers Module.markers modules.order \ .unsigned ..ko.unsigned.cmd make -C firmware clean make[2]: Entering directory '/home/ubuntu/media_build/v4l/firmware' make[2]: Nothing to be done for 'clean'. make[2]: Leaving directory '/home/ubuntu/media_build/v4l/firmware' rm -f .version ..o.flags ..o.d .mod.gcno Makefile.media \ Kconfig Kconfig.kern .config .config.cmd .myconfig \ .kconfig.dep config-mycompat.h rm -rf .tmp_versions .tmp.ver .tmp.o ..gcno .cache.mk rm -f scripts/lxdialog scripts/kconfig make -C firmware distclean make[2]: Entering directory '/home/ubuntu/media_build/v4l/firmware' make[2]: Nothing to be done for 'distclean'. make[2]: Leaving directory '/home/ubuntu/media_build/v4l/firmware' make[1]: Leaving directory '/home/ubuntu/media_build/v4l' make -C /home/ubuntu/media_build/v4l stagingconfig make[1]: Entering directory '/home/ubuntu/media_build/v4l' No version yet, using 5.4.0-1019-raspi make[2]: Entering directory '/home/ubuntu/media_build/linux' Syncing with dir ../../media Sync'ing file drivers/media/common/tveeprom.c (orig = 1cd5bf5e00c320f5bfd8d5f79287309c97bc3443, copy = b9867b047180287722748fe8d53fe48d50f38427, patched = ) Sync'ing file drivers/media/common/videobuf2/videobuf2-core.c (orig = 8999d6ff85f2a87a09b29471e3309c96b7d0f31d, copy = 27ea8f6d45affb66a086cfb728bcd7bf9b67cfbd, patched = ) Sync'ing file drivers/media/common/saa7146/saa7146_hlp.c (orig = 34caaca3a145fdc6e8dfb8216cac11e18374e5f9, copy = 2b9563d74823fa7c4bab3887b933d3c965b6a7fc, patched = ) Sync'ing file drivers/media/common/saa7146/saa7146_video.c (orig = f6f8000539782268a24a144c2f817d27efaab48f, copy = ea3a056b7f57b62e0a6ebe967017f4ca8e58d1c4, patched = ) Sync'ing file drivers/media/common/saa7146/saa7146_fops.c (orig = cfdcfbbd56eb5529b2116acfa71615e6f4c3ff2d, copy = 97da71742cdec8821380f02d1966218cfc39b788, patched = ) Sync'ing file drivers/media/common/saa7146/saa7146_core.c (orig = 2f748b2eb4ed761fdb14298845141d13d612fe17, copy = c8f28d3f5e2d817171d2f0c60a4a38a584836b58, patched = ) Sync'ing file drivers/media/common/saa7146/saa7146_i2c.c (orig = df04a3b6533fc5ffbd30f30bef7eb455d85c7f06, copy = 3995d9c9b52405da954638fe34b19b0d997d429b, patched = ) Sync'ing file drivers/media/common/siano/smscoreapi.h (orig = 8d8f0ef25c4da24c6e7ff18848c1517ac45e709f, copy = 09a9a93542cfd8a04a5d8f9fceb2788d9943b450, patched = ) Sync'ing file drivers/media/dvb-frontends/dibx000_common.c (orig = 5519cebb476447887e8ae7ec0022810a9404d474, copy = 04e9611587c2818434eb993d546dea367bd4bde6, patched = ) Sync'ing file drivers/media/dvb-frontends/dib8000.c (orig = 14053ebff2bf7cdbc9a0e6f49722fb098416b5fe, copy = f926d12c716bfdd6a331895567f9fa6c28ede616, patched = ) Sync'ing file drivers/media/dvb-frontends/dib3000mb.c (orig = 3e2ce2726d7d153b00edbdbb319ce516d9ec1126, copy = b23d7abfaaaa014aa36fcc268fa5466c458b8b8d, patched = ) Sync'ing file drivers/media/dvb-frontends/dib7000m.c (orig = 8042ef2a7fac293788ac89b7b8748ea85f6db5ec, copy = c9a31f190e827dcadd5f198b9fce6bc3e7506423, patched = ) Sync'ing file drivers/media/dvb-frontends/dvb-pll.c (orig = 088fc1a7871f47a8505edcaf1e5b3fb23f088e69, copy = 12256ece1f77316fd9c68d48c573eeadf7d954a8, patched = ) Sync'ing file drivers/media/dvb-frontends/dib3000mc.c (orig = 4aa7d4e6e2eed7a69ff69475aa9b05357f046582, copy = eacda3d256ef6bbb6fd560a8786a1b0f2bea2856, patched = ) Sync'ing file drivers/media/dvb-frontends/or51211.c (orig = 20c4a8a879e391d90af37f555605bc8794cb2c02, copy = 3f50426fa753f5200a484b7e18b981ecd34af55c, patched = ) Sync'ing file drivers/media/dvb-frontends/dib0090.c (orig = 38f5ebfa9e2ca75bd71faeb67282ac53a80ef263, copy = 6a344a04e0a95bcc745baa88cf0513e3d77f4273, patched = ) Sync'ing file drivers/media/dvb-frontends/dib9000.c (orig = 995cb1f868f37b0237e4e194afa8986b7d74d732, copy = cc58e5ed3e2e1fde250a2b3244ac78403d9c80ff, patched = ) Sync'ing file drivers/media/dvb-frontends/drxk_hard.c (orig = c1a7b2affc1ca42b0aa6d0190f649af78a0aa58f, copy = 7888c5b03d51b51d74e9e3bee5c68ab3fe422511, patched = ) Sync'ing file drivers/media/dvb-frontends/nxt200x.c (orig = 82cb2d92a634055094bfa2602fa467174d44a016, copy = b1db16410df77896db1b368f58d34b34d650816b, patched = ) Sync'ing file drivers/media/dvb-frontends/nxt6000.c (orig = 0887a8c1ccbf5e9d17f97e90df446d659d622037, copy = 732f2a936c2ab3abe107ad7942e53a5f8dec5704, patched = ) Sync'ing file drivers/media/dvb-frontends/gp8psk-fe.c (orig = 47d0c5eadedae5ec987b18198ee3e54b11565ed3, copy = 6889314199bdd623d18d7a044c564161a277292d, patched = ) Sync'ing file drivers/media/dvb-frontends/dib7000p.c (orig = a277104b87e462bccac3074ec9e5b1fc96cf90dc, copy = 9c10f4691fb0a98d3d2a911ee63e46de4e6642ed, patched = ) Sync'ing file drivers/media/dvb-frontends/lgdt3306a.c (orig = 0b556827e1738fb10d91759047b34789dbc21f06, copy = da10fb0ae5c452de83fe25984496765b9e77b068, patched = ) Sync'ing file drivers/media/dvb-frontends/dib0070.c (orig = 6446f94ad19a3b5a4aeeb3820c36ab338d137f85, copy = 7847808cb64cfdef9f06c025277efa05c657d528, patched = ) Sync'ing file drivers/media/dvb-frontends/cxd2880/cxd2880_top.c (orig = e2e56f73a3bdd3f6cce6a379a71de3e3787cdcbf, copy = a1c1a61a555254d635af94261594699129c4e3d7, patched = ) Sync'ing file drivers/media/dvb-frontends/drx39xyj/drxj.c (orig = 286ea65147d55f453f8f34d80eacb8b547937f74, copy = 02de6a0b4cc797f77264ef36490c00fd85daf412, patched = ) Sync'ing file drivers/media/platform/exynos4-is/fimc-is.c (orig = f59a2fdbfcaa10ec5e9064d2ada5f12fcfea0986, copy = 3bd0e27fbb157b3217f5fed4c18cc9a5e8cd906e, patched = ) Sync'ing file drivers/media/platform/exynos4-is/fimc-isp.c (orig = 6faa1aaeb654e9322b907db06463cea87bab7b9a, copy = 73c2e27dc5c2b5fce176ad7c9a3c45cc8af8f071, patched = ) Sync'ing file drivers/media/platform/exynos4-is/fimc-is-param.c (orig = faea0cb2cc2bd97732d012db13d4e9ede583162e, copy = f75331ce035a09e06971d4b817fb50aec1da40eb, patched = ) Sync'ing file drivers/media/platform/s3c-camif/camif-regs.c (orig = 8ca0c647f2cd5d176c84a443d8b8ac2e242e0406, copy = 3f106d7f401d788941765db4cf1f3622d7d57a4d, patched = ) Sync'ing file drivers/media/platform/s3c-camif/camif-core.c (orig = 30da8dbfc27f9d4017bd655ac223a48c06c6f9d9, copy = 16da1b1f33f698f5f68a43100d97cf319cdc3f80, patched = ) Sync'ing file drivers/media/platform/s3c-camif/camif-capture.c (orig = 2a89cadb37efe33caa8cf10488bf43b34b0acee0, copy = dfd2d32d677a1ff25c811ecfbde0500349734258, patched = ) Sync'ing file drivers/media/platform/s5p-mfc/s5p_mfc_debug.h (orig = 9291c6fee8fb58e4819e60a5d3831995cfeede9b, copy = 8ea65641be4855de8357535de9dbd7cd2dd95f16, patched = ) Sync'ing file drivers/media/tuners/tda18271-priv.h (orig = 178d855f6e26b20fa666f2da6d87dc9a4b09b6c8, copy = 976cbf3244cc02a326ac8b000a14a1b76d90e78a, patched = ) Sync'ing file drivers/media/tuners/r820t.c (orig = 68db9192a300d8cb9f0119e4fc121cf3aa8b9b1a, copy = a7acf0f89d2f849217246665cd9eb4f40415ff0d, patched = ) Sync'ing file drivers/media/tuners/tea5767.c (orig = ccb9f7ec60bf3e38ae841fd586cc5c498bc29e5d, copy = 8b0c2c3797c72ae8b7df2f14bf755565bbc6e22e, patched = ) Sync'ing file drivers/media/usb/em28xx/em28xx-dvb.c (orig = d0088097c6c27c17ffc258427d4af96a3f51b284, copy = cc5061ef8c3140da519c7ddfb7596c0af11beb7d, patched = ) Sync'ing file drivers/media/usb/gspca/xirlink_cit.c (orig = 5cfa1fc59b099c7f5cc6d70f5628959611210baa, copy = 96dbfc2e907491a06c6714990ea281aa5a363783, patched = ) Sync'ing file drivers/media/usb/gspca/nw80x.c (orig = ad731a2127ded9320544143234de012db58933f4, copy = dbb1729e1e436125884e49451f7cafcae8dd50ac, patched = ) Sync'ing file drivers/media/usb/gspca/konica.c (orig = 73f314512bb481364fe331b44f0d7832c3cc0896, copy = a338182af03e4db4bc2fde4592e191800f7b52cf, patched = ) Sync'ing file drivers/media/usb/gspca/conex.c (orig = c3b70061d4b5d7a76a7a63da2afb1fd8a6f1f8c8, copy = 1ccf734600d698c1374e936a87621eb8225d1c3b, patched = ) Sync'ing file drivers/media/usb/gspca/mars.c (orig = 9eea2ff4458201ad8d5612725b6ffdb335549fcb, copy = ab6beb1eaffeb9a80299cfb39b27eec562f962b8, patched = ) Sync'ing file drivers/media/usb/gspca/w996Xcf.c (orig = 5befe86d24dca57d8378f8b989c0521717ae0c0d, copy = 151d91d3e423a4d78b03296ce68aca2ccda9774f, patched = ) Sync'ing file drivers/media/usb/gspca/cpia1.c (orig = 4a8950092ae4cbd8cade418e94b5ff28f045a09f, copy = 79e3077a67739cfb5f9704ec7061da9d8282f0b9, patched = ) Sync'ing file drivers/media/usb/gspca/benq.c (orig = e41ae840a67ca27d5296616b28795fda63a6bbdb, copy = c5e5ff53e86b367dae6fc8f1f193fce5370be545, patched = ) Sync'ing file drivers/media/usb/gspca/spca561.c (orig = b36bdadf63f7b67445c1c5af94d97b1dc3d9d979, copy = 014d6535aa632c76a0735a769de60b8c708fc672, patched = ) Sync'ing file drivers/media/usb/gspca/sn9c20x.c (orig = 3ccd5eacec7fe989fa94c83e0bd42724c20d9358, copy = cfce3d6fea4cfeb030395e4a973b1ed3e29cd99a, patched = ) Sync'ing file drivers/media/usb/gspca/spca1528.c (orig = c7fd19579a35451079c12b5ff9aa09486db9cd4a, copy = 6c2c6890d189938b0dd3629e872a51e4cb013b74, patched = ) Sync'ing file drivers/media/usb/gspca/t613.c (orig = e1ff90e5f1c8292a22781e5a178df5ac4b409317, copy = 4ce38a3bfb6f0188e85c3bffe2996b2c135114e2, patched = ) Sync'ing file drivers/media/usb/gspca/zc3xx.c (orig = 0a120347909a2250131e4e2138d50f84b6d79b7d, copy = d915c3485502240e13e108fd0b20eae3629fa4f7, patched = ) Sync'ing file drivers/media/usb/gspca/spca501.c (orig = 87ecb88baff163cd3cba07c0c79aa592fd2a490c, copy = 70f935b6574f9149fcc9557a854f9d77a3a1d607, patched = ) Sync'ing file drivers/media/usb/gspca/sq930x.c (orig = eb056c5f275129452faf63c64aba057c7f61cd0b, copy = 3439c767a4aa4de27f1af6f66ee3b1f52729de7f, patched = ) Sync'ing file drivers/media/usb/gspca/spca500.c (orig = 32da7bedb6f2e359cd93ccf0bafbfa565f572bf7, copy = 3a820c8ee80b743a2e10ae52b309c7571eb0a105, patched = ) Sync'ing file drivers/media/usb/gspca/stk014.c (orig = 25a8cd9b5e1d87beedb76511438b873a8509cce8, copy = a993298576f51bcba3ef9b376ccdeba37d9c15e7, patched = ) Sync'ing file drivers/media/usb/gspca/pac7311.c (orig = 7734a30a2838751d7b01556dc2585a1e62b0169c, copy = 047cb75c2724f4e47f060b797db49ceff38d3d3b, patched = ) Sync'ing file drivers/media/usb/gspca/stk1135.c (orig = 1960716ee09bc826b069880666aeebe0992b951a, copy = a1199f93086ad080d914d77dea636b4abc69861c, patched = ) Sync'ing file drivers/media/usb/gspca/ov519.c (orig = eb7b9767849a920d62414753378d20a534b2192f, copy = 09935e6e5348a235f4f9e0b0613baeb81a9fe159, patched = ) Sync'ing file drivers/media/usb/gspca/topro.c (orig = 98b23306028065bd4f0399515042dde491a2d44f, copy = 1c792d4c03448d8924ff37deca54f483e19708c2, patched = ) Sync'ing file drivers/media/usb/gspca/gspca.c (orig = df15ec80f47ed364698d05c84f9e88c650cf2ea2, copy = 07e78423932c9e078b302467fc5b0fe252c4d95f, patched = ) Sync'ing file drivers/media/usb/gspca/dtcs033.c (orig = 6ad6cb6853fe3fd2ee9ba6683ff835fe39ce97ea, copy = 8711a36c65a8eb199f35d033f8364288d8279db7, patched = ) Sync'ing file drivers/media/usb/gspca/kinect.c (orig = 43041f817c706e22db3dee0a53145cb58fd71870, copy = a6b9bab6ef9f4885e5c746371687501efbe6f654, patched = ) Sync'ing file drivers/media/usb/gspca/finepix.c (orig = 68962d920aab2af20a9667f723b9d6c08a5de951, copy = fd5079e5bba9324161a4e8d8739075a4decbe592, patched = ) Sync'ing file drivers/media/usb/gspca/sn9c2028.c (orig = 52a24662a948532f7089d2e82988ecd43e17cf3d, copy = 29f0b22a6eb6a58793fa96b1a1467472fde404ea, patched = ) Sync'ing file drivers/media/usb/gspca/sq905c.c (orig = 7da78d35b88fca921f1b5e153959ed9b17de4a8a, copy = c8f9f9c3d3673188ca65be1b7ce730b85b5ed3b8, patched = ) Sync'ing file drivers/media/usb/gspca/sq905.c (orig = 69364c98bb0a8db0cace24610f2c67f78a3a4b7c, copy = 954d0e78886f0a5366fc9021bc26f009327646b6, patched = ) Sync'ing file drivers/media/usb/gspca/etoms.c (orig = 03b566a5b67fabe95477e8f96968a1979889d62e, copy = 26789a79021fff9586fcc35986d2920f9d777689, patched = ) Sync'ing file drivers/media/usb/gspca/jeilinj.c (orig = b50c75210ed9b9f6fa6260a743eb65df53fe2b43, copy = a4e45ac000118df0c8286a54efef291b94c7e784, patched = ) Sync'ing file drivers/media/usb/gspca/vicam.c (orig = 16d2f90dc33aa31e242b6fe826c522e33f582aaf, copy = 2a99bd36045e7d3721e0435b90cbad8b6a430a75, patched = ) Sync'ing file drivers/media/usb/gspca/spca508.c (orig = e3898cdd785b1fc05872922a97f4c36e85b40dcf, copy = 4a0573693f24fb5d1e59bd1a4c7e7b76f5c685aa, patched = ) Sync'ing file drivers/media/usb/gspca/mr97310a.c (orig = 743af35d3db05d92da9f77052d344f7d43523d0b, copy = 5c9326887c869be06c4b1f9a1d10d31bb83294ef, patched = ) Sync'ing file drivers/media/usb/gspca/stv0680.c (orig = bdd4f52ce6401c91e4a5ea791cc7a904b1ef67e9, copy = ff1d1d4dadf185bc129119bec5820a9be567b80e, patched = ) Sync'ing file drivers/media/usb/gspca/vc032x.c (orig = e03f453782b3a86923e196a462565b61fb7eecb3, copy = a3a2349eb1f504afc22775dde30ecb2f9e3dfb9b, patched = ) Sync'ing file drivers/media/usb/gspca/pac7302.c (orig = 949665f3ff6d7de2ce3375f79c09d7183cb4373f, copy = ebab8983b322d69beec760ce5e072edc81f0541c, patched = ) Sync'ing file drivers/media/usb/gspca/pac207.c (orig = 38c277d8f430a54134f77734cbd03412b4c5ceda, copy = 16c79873b4f01528d73501666abfbf58876a73a8, patched = ) Sync'ing file drivers/media/usb/gspca/sunplus.c (orig = 1a59bcf8622d139079e3fad0e88d6ea22fb3c5e8, copy = a4b249d16e002f4a1b1e8b0297cd3c83088dd78a, patched = ) Sync'ing file drivers/media/usb/gspca/ov534_9.c (orig = 82a35b06d5af3a6ae3ab5c33bcfda041f4435c0f, copy = e3a692abaf0a3cee3e5d6c26296420a0958b4e97, patched = ) Sync'ing file drivers/media/usb/gspca/sonixj.c (orig = 7d90c98a2a3b4523ac48f92cfc2142703f31d759, copy = 7ec25618184e3daa6a8a761d8697152493d58521, patched = ) Sync'ing file drivers/media/usb/gspca/se401.c (orig = ec8c2ca00e90a16f4a2d5aaac745bc4f2757fd58, copy = 8ca7562bee57180da14d7637224aca470eac2964, patched = ) Sync'ing file drivers/media/usb/gspca/spca505.c (orig = d65587cbb13fdfe49c4ec5c4385cdab88e771c6b, copy = b0b2349c5685b818f5d68a76805f61efd9b14994, patched = ) Sync'ing file drivers/media/usb/gspca/ov534.c (orig = 3771190efa94898b8479ef7f6ef97c4661eb235b, copy = de951b799986acc5bad3449cd9561acf8c7ee1b6, patched = ) Sync'ing file drivers/media/usb/gspca/gl860/gl860.c (orig = ed565356019092723fbf0e9f9051c6a5ead604e9, copy = 0112e7985d8132234a5d4139107cdadfbd6204aa, patched = ) Sync'ing file drivers/media/usb/gspca/m5602/m5602_mt9m111.c (orig = a893288ceecc65c3d7067c32d9c48d58e3165445, copy = e4667b4c73184c5eef57a3f08b47048c6fc60388, patched = ) Sync'ing file drivers/media/usb/gspca/m5602/m5602_core.c (orig = b1790ecaf35479d2ad1268a40c789d8046b1768f, copy = e55f1df86f792eb43ea97eb78f0e61baf64cc9a4, patched = ) Sync'ing file drivers/media/usb/gspca/m5602/m5602_s5k83a.c (orig = 602dd0f594141816abf7e31e30b8fdb85d86653c, copy = ea0bc4d9b218082e86640210ca2230270b5685c5, patched = ) Sync'ing file drivers/media/usb/gspca/m5602/m5602_po1030.c (orig = e96f9ce4c7f453bfa4af545cdc9e3a6f1671faae, copy = ee931daba28cea6432317ddc484bc827237aadbd, patched = ) Sync'ing file drivers/media/usb/gspca/m5602/m5602_ov7660.c (orig = 4ca38b9cf4f46692ae1116a1490f4c86a9fcf5ef, copy = 5d55171e832b6e928322c4d3ec73cbeca427e534, patched = ) Sync'ing file drivers/media/usb/gspca/m5602/m5602_s5k4aa.c (orig = 7e768689f5c990894ddd79b17eb8eda513c497cf, copy = fa21799351bb026d5b48c418fcd5a1beb07ddead, patched = ) Sync'ing file drivers/media/usb/gspca/m5602/m5602_ov9650.c (orig = e84dde5900d53c60d2270c381360f29dfff2330a, copy = 3a64ffa091230906880e28b97f91512f4e8d7fef, patched = ) Sync'ing file drivers/media/usb/gspca/stv06xx/stv06xx_pb0100.c (orig = 64213a229851267383c0f6b12d8bd0d5e1492e52, copy = 553fce6e90c6b23dbb68bd0e26f831b5be365755, patched = ) Sync'ing file drivers/media/usb/gspca/stv06xx/stv06xx_vv6410.c (orig = 1513729ef2b66f1d77de9ed439bb2a8ed88d104d, copy = 7ac2aafd4bd371dd0dc4d08cfade455dd069ad6d, patched = ) Sync'ing file drivers/media/usb/gspca/stv06xx/stv06xx.c (orig = b80b17b51646ca3e6427f1c1a17d654ba945c615, copy = 7429e18e1c4823f342f9b3e739acdbab798f60e6, patched = ) Sync'ing file drivers/media/usb/gspca/stv06xx/stv06xx_st6422.c (orig = 3b802172e4f453d02ba3be255e7793749f19c3c7, copy = 1a435a427195de22fa5517e492cd5e0da2a0d56c, patched = ) Sync'ing file drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c (orig = 8aa3e26f65dd5bfefcf4bc86563d1ac63b872dcc, copy = ed6f07eb28e75835be4bfa859beec1ccb5e9f1d1, patched = ) Sync'ing file drivers/media/usb/stkwebcam/stk-sensor.c (orig = e87780f824e960bfddca50a33c928284a51c8dc0, copy = 5e60376009d208b9a3f99b226bd589103456c86f, patched = ) Sync'ing file drivers/media/usb/stkwebcam/stk-webcam.c (orig = bd073c7a96e67c967636cd96c5fef5a0bfed6968, copy = 605bbd0773917fc20c22e36b5c86f340fafd331d, patched = ) Sync'ing file drivers/media/usb/au0828/au0828.h (orig = 64444408e4874e706a95ba621113493f17041fff, copy = 69821456fa2687171cf8c15a36d080e649b9046b, patched = ) Sync'ing file drivers/media/usb/uvc/uvc_ctrl.c (orig = 5e9ffb866404f2790a79fac8b68506e7431f13da, copy = d6eb48f2b7d26c8e76a3e0b7e71a205478e28f99, patched = ) Sync'ing file drivers/media/usb/uvc/uvc_driver.c (orig = e8c07694f4c424ef6ff9ee712f61ad023d97c4a6, copy = fbeb0fbdb6c21f48451d6084c1f32487cf2a07ad, patched = ) Sync'ing file drivers/media/usb/uvc/uvc_video.c (orig = 7611ae550a643b8bac283e8dcbc2b3693943953d, copy = d9203bb72dc9df835d0b7b931a006ba70907587e, patched = ) Sync'ing file drivers/media/usb/uvc/uvc_v4l2.c (orig = 4f2168541fabb2a40e09a728edd8bcdf37a19036, copy = 9fdacc89f18f6230747aab17e72db1727f251964, patched = ) Sync'ing file drivers/media/usb/uvc/uvc_queue.c (orig = 08a7a138e69d5dc56728ceb068504916fe1a294d, copy = 911ef2ffac5263d219aafaf1d28613bfc323378b, patched = ) Sync'ing file drivers/media/usb/go7007/go7007-usb.c (orig = 8f161a7a32a6af1b8ae69229e6fab33af5e07193, copy = 0feb489524083e627d7b99a6c72f420b71c4796d, patched = ) Sync'ing file drivers/media/usb/hdpvr/hdpvr-core.c (orig = 9bccc773112a4a4c3d5c2005ffb4885d13c6f27e, copy = 7d8ecdbfbceb19908df9ccde2755b36045250b63, patched = ) Sync'ing file drivers/media/rc/imon.c (orig = d014489545a16ae6f2b2765cfe8c80dd40fd830e, copy = 4243cdfa94b57f93466e1e2793b60f7f18cc5cc5, patched = ) Sync'ing file drivers/media/rc/lirc_dev.c (orig = 1f5e0b146bddb87bcccab14786ea8dea359b76f8, copy = 85e430b84c7c7a0e5d7f774069a42fb233935d5e, patched = ) Sync'ing file drivers/media/rc/winbond-cir.c (orig = 17a62f0a7eb170f9bab069341819abba1b9a2b6f, copy = 95b05852c7f60a16664d407da1d57b15144cf670, patched = ) Sync'ing file drivers/media/rc/serial_ir.c (orig = a176ff818ee1bb6dd49171650153ac75c190f94d, copy = 6ba454cf660649a39db972110f7ae00e7af9e6b7, patched = ) Sync'ing file drivers/media/rc/ene_ir.c (orig = 4ace9b562df401f86ed69b8dbef0cde306061dfa, copy = 82c4f784bd5f743ba7c15ef5a2d009b28dbc0e54, patched = ) Sync'ing file drivers/media/rc/ir-imon-decoder.c (orig = 6c8763fed318e9856daeab31e79d31f6dc6f3e79, copy = aa247984975c5a18789db47cccb3e58d120dd903, patched = ) Sync'ing file drivers/media/rc/sir_ir.c (orig = 818bf0aeb3667cbe1414e25c30a410279548aebe, copy = 2605696ce8ae44e8f84a334faebec81d72ffd092, patched = ) Sync'ing file drivers/media/rc/rc-main.c (orig = ce55e3de4f53d7061d553ca5afa4d8822fa87a0d, copy = fe30aa30e94df1085691103469d947db1fe35565, patched = ) Sync'ing file drivers/media/rc/fintek-cir.c (orig = b439f543a7231e14777a77694d3a468907fc7d2c, copy = 3b38dbd9b322dd037bf425848e17ee09f5426336, patched = ) Sync'ing file drivers/media/rc/nuvoton-cir.c (orig = 093e02264469f1a0ec79f40d394ade338fab6a3e, copy = a0acfb9c07d6bc957c7197b6a19efac06756ca90, patched = ) Sync'ing file drivers/media/v4l2-core/v4l2-clk.c (orig = b327658ace43dcec8151230d8dc33a7acfb59516, copy = 19bbff4bd06dd4b85d69ccb5c27824dc1d100d11, patched = ) Sync'ing file drivers/media/v4l2-core/v4l2-dev.c (orig = df8b827d02f70562684300c182539cf9befdcfb4, copy = 3aadfb98840d0c18bf7277f7a2635ab8c9c30b28, patched = ) Sync'ing file drivers/media/v4l2-core/v4l2-ioctl.c (orig = d726c06f4a176b84f61bba5667808fd4f4318455, copy = 6447cf083807ef176e97cc4a6211240cebe6e472, patched = ) Sync'ing file drivers/media/v4l2-core/v4l2-ctrls.c (orig = c99155681e6c6d3521736925a9c4b56599178438, copy = a87e933dc7c0ff7758b26844a0434ab808bf18e2, patched = ) Sync'ing file drivers/media/dvb-core/dmxdev.c (orig = 45fd10584f07e348421dc797a159fcb63b57f865, copy = cdfbb49f3dedb58b8032ffd583d907f45419a472, patched = ) Sync'ing file drivers/media/dvb-core/dvb_ca_en50221.c (orig = afa382592fdb6abd45b34a55ca6a93660edab14f, copy = 78128990061504f67c38d29adbe1f572dbeaacd4, patched = ) Sync'ing file drivers/media/dvb-core/dvb_frontend.c (orig = a759dbe1c2e3a6d51b8a9cb7c1cb49e65f4cb232, copy = 03780d69d4202a9e3eb67f11f4e0a645cdf1b20b, patched = ) Sync'ing file drivers/media/dvb-core/dvbdev.c (orig = 01d78f6c68e1976c31d1d9897c0fd74091ff339a, copy = deb3114f9a70cd686bfd9a93f0189c976c2c8934, patched = ) Sync'ing file drivers/media/dvb-core/dvb_net.c (orig = 36105fc12c1d2933866e31009d8c4b538a03fc95, copy = a7c998acfd4ab1b261c5771d09eaf61854756b6c, patched = ) Sync'ing file drivers/media/dvb-core/dvb_demux.c (orig = 468de4986da82b18423c7979760f4baeff7b51ce, copy = 9789877ac6fbc202de7e3a8e73c19a2d56f92ccc, patched = ) Sync'ing file drivers/media/spi/cxd2880-spi.c (orig = 2d56b15dc30e4e86ff1196ebbcce5992c0eff4f5, copy = f49ade6bf2e8c251e731b7ed8912f750c703fc6c, patched = ) Sync'ing file drivers/media/pci/ddbridge/ddbridge-main.c (orig = c02069ed67a73ba0b8a861f1b11d8edfbb25f5ce, copy = 3fd088874afa5bd9f1c12a3a46a2addf7cae8e26, patched = ) Sync'ing file drivers/media/pci/ttpci/budget-av.c (orig = 92917690aa0d976e4d629b32f52ed481f5f79d07, copy = 9455b79b1976282f575292ba3c08ea78051292b2, patched = ) Sync'ing file drivers/media/pci/ttpci/av7110_v4l.c (orig = f80241fe5913a81a3281a1630c9e44fb0ed0121d, copy = 8b632c45043a92f22af6822888ed33f5f18170cf, patched = ) Sync'ing file drivers/media/pci/cx25821/cx25821-medusa-video.c (orig = f6ed7331e1331ef8aa4e30b986aed7c8cc0a217b, copy = 0d361538a03aa3ae5753a7eb49eaa5c0c9e913fd, patched = ) Sync'ing file drivers/media/pci/cx25821/cx25821-alsa.c (orig = d1fe4456bce3a843394ef874a447923f6e2776b4, copy = b54a77f9ac70c31c3b60d7e6f71555998fe3d8c6, patched = ) Sync'ing file drivers/media/pci/cx25821/cx25821-cards.c (orig = 8222aba17a80b0f83ac7e4f4a1f70624834800c1, copy = 94207b234a6498e98315f827395683ae34eb35d1, patched = ) Sync'ing file drivers/media/pci/cx25821/cx25821-i2c.c (orig = b3c89c9160b0bfa0a9fcf4e99b236b3824044330, copy = adec56424bc857cb4d67a2025475c4b7df062030, patched = ) Sync'ing file drivers/media/pci/cx25821/cx25821-video.c (orig = 479744121de48ddfedb92dc04fd9654af6f20e7a, copy = 28fd81a8799f464cfbac4b19d2ae2cffdc8facf2, patched = ) Sync'ing file drivers/media/pci/cx25821/cx25821-core.c (orig = fe3db77a03661a5c73303adb73a1ea7f5f439b8d, copy = 6be0b5d5a7b35ca1e39437ee1227a70902926641, patched = ) Sync'ing file drivers/media/pci/saa7146/hexium_gemini.c (orig = 2c487eba1b778de8a29d00f03a91e3f0e2823bf5, copy = 42ce97db0f29e99e9c67decf2c75ca155e32bfed, patched = ) Sync'ing file drivers/media/pci/saa7146/mxb.c (orig = 64a36adda2db3fbcd32ab50d43cff7694cd5d620, copy = 7e3410160fbdde994cb378f38ecc4fc486ab899c, patched = ) Sync'ing file drivers/media/pci/saa7146/hexium_orion.c (orig = 2b5564066fbdd3bc5384c5d61755d2755c83936c, copy = 3821d3332f97fe1342fbec018127f84b6cfd0ad9, patched = ) Sync'ing file drivers/media/pci/pt3/pt3.h (orig = e61cb75274d9a6907ba05b0194781bb06688d071, copy = 918870007eb644f1e41d9e28881650680ae3da44, patched = ) Sync'ing file drivers/media/pci/cx88/cx88.h (orig = 6464bb93a6dd56512a7815a0123642e0f4f75b9f, copy = 318984e1744858ab72acde3e2734ed2aa1b67bfe, patched = ) Sync'ing file drivers/media/pci/solo6x10/solo6x10.h (orig = 40b4308921daf18cf471ec1911cd521f29cb6e2c, copy = b955b2cd5920590566824ad3fc542052fd0c3545, patched = ) Sync'ing file drivers/media/pci/saa7134/saa7134.h (orig = 0b68b0b9cd1038849168e9b5fa6f216beb64c09d, copy = e91e43c12db174d42362dd1ef0fa696c8c442807, patched = ) Sync'ing file drivers/media/pci/ivtv/ivtv-driver.h (orig = b537c4b5c84e5d66f53bfd025ec503b8ca734cc4, copy = 59bb517de3c2acdaf439a1d707150724ff424140, patched = ) Sync'ing file drivers/media/pci/ngene/ngene-cards.c (orig = 63111ab93b9e6d48b021339b68cfd56f052f2b4d, copy = 90fc7139084ba6fc3dcdadcf907f72f3a54c5840, patched = ) Sync'ing file drivers/media/pci/bt8xx/btcx-risc.c (orig = 57f7d4e9fca0bdb9b1005f4f33e307b06ad7eb72, copy = 978564c05d1358879f5fcf04880f72aaf3c6dc91, patched = ) Sync'ing file drivers/media/pci/bt8xx/bttv-i2c.c (orig = 6fb973efbc3f06873918c383e93af2124fb380c4, copy = bf0b10ab312cee0b81aa3b838f9df0e0b6b2ac4e, patched = ) Sync'ing file drivers/media/pci/bt8xx/dst.c (orig = ffaade67ea3c64a18be982afc8a676d27e9c9852, copy = 2bb45213e47a580dbe7bc0d6bbf13352eb406f8f, patched = ) Sync'ing file drivers/media/pci/bt8xx/dvb-bt8xx.c (orig = 4ce07b8e366e74550a110bb0b2887a2abbfd9e4e, copy = ca827a9f2070a2f254b2603bc594bdef0e455555, patched = ) Sync'ing file drivers/media/pci/bt8xx/bttv-cards.c (orig = c871fd3584b03c90289f06fa0348a4126080146f, copy = e3795f8364c02aeaad9d874616abc0390ace6567, patched = ) Sync'ing file drivers/media/pci/bt8xx/bttv-vbi.c (orig = c6a941050a6cf7c3871ea7febd91328265b10d61, copy = e544fed89c1afd5e4b15768d65aa149f7f2a60f3, patched = ) Sync'ing file drivers/media/pci/bt8xx/bttv-risc.c (orig = 5f9a20ea13ffcc4d0ce6d549312df62dd914d4f1, copy = 6e86b44af5edb88267011450ce8e060c43a666f8, patched = ) Sync'ing file drivers/media/pci/bt8xx/bttv-gpio.c (orig = 341363c03e7557d5ddbc92326682e155aeb34b4e, copy = a543f77790f40a5ba9c8db8d76f1919f4cdc03ce, patched = ) Sync'ing file drivers/media/pci/bt8xx/bttv-driver.c (orig = 0715f18db3f36c59788b8932e17ff7c760ccba7b, copy = 65af557c290e3b64000c4dcace82a1446d3acacb, patched = ) Sync'ing file drivers/media/pci/bt8xx/bttv-input.c (orig = 9c46c31d120fe5c7896d8ab5939f84cc0121ba31, copy = e16f4be810508ae4ccb850e12c35e09adc69d2cb, patched = ) Sync'ing file drivers/media/pci/cx23885/cx23885.h (orig = 6a9f9c31ce82570bed3b7ec1244bc08797b5c067, copy = 66e9ceb24c82796867a4055fce1021d0b933aafa, patched = ) Sync'ing file drivers/media/pci/cx23885/altera-ci.c (orig = 362915635b4fb0331f961c3f8ad3596bffb796c0, copy = eaa9e2014655c99e09f325563d57fcd95fb996f2, patched = ) Sync'ing file drivers/media/mc/mc-device.c (orig = f4fc93893a0557eb88613815d21ea66a31ccb881, copy = 76b4d5c30f7e2a67c218b372109a16b11cdfd682, patched = ) Sync'ing file drivers/media/mc/mc-devnode.c (orig = 0d1242a32106b40d1585cbea778e83f996bef733, copy = 9ad3e7c2f047c9539d66bc6f4496dc82f0d7684a, patched = ) Sync'ing file drivers/media/radio/radio-si476x.c (orig = a1ae2db5191e95a3e5039ea9288f71add18963d8, copy = e68527fc664ee853dfa2363b11aef790d6f0f194, patched = ) make[3]: Entering directory '/home/ubuntu/media_build/linux' Unapplying patches make[3]: Leaving directory '/home/ubuntu/media_build/linux' Applying patches for kernel 5.4.0-1019-raspi patch -s -f -N -p1 -i ../backports/api_version.patch The text leading up to this was:

|diff --git a/drivers/media/cec/cec-api.c b/drivers/media/cec/cec-api.c |index b6536bbad530..401ed65c834b 100644 |--- a/drivers/media/cec/cec-api.c |+++ b/drivers/media/cec/cec-api.c

No file to patch. Skipping patch. 1 out of 1 hunk ignored make[2]: [Makefile:133: apply_patches] Error 1 make[2]: Leaving directory '/home/ubuntu/media_build/linux' make[1]: [Makefile:391: stagingconfig] Error 2 make[1]: Leaving directory '/home/ubuntu/media_build/v4l' make: *** [Makefile:26: stagingconfig] Error 2 V4L drivers building... make -C /home/ubuntu/media_build/v4l make[1]: Entering directory '/home/ubuntu/media_build/v4l' scripts/make_makefile.pl Updating/Creating .config make[2]: Entering directory '/home/ubuntu/media_build/linux' make[2]: Entering directory '/home/ubuntu/media_build/linux' Syncing with dir ../../media Syncing with dir ../../media make[3]: Entering directory '/home/ubuntu/media_build/linux' Unapplying patches make[3]: Entering directory '/home/ubuntu/media_build/linux' Unapplying patches make[3]: Leaving directory '/home/ubuntu/media_build/linux' Applying patches for kernel 5.4.0-1019-raspi patch -s -f -N -p1 -i ../backports/api_version.patch make[3]: Leaving directory '/home/ubuntu/media_build/linux' Applying patches for kernel 5.4.0-1019-raspi The text leading up to this was:

|diff --git a/drivers/media/cec/cec-api.c b/drivers/media/cec/cec-api.c |index b6536bbad530..401ed65c834b 100644 |--- a/drivers/media/cec/cec-api.c |+++ b/drivers/media/cec/cec-api.c

No file to patch. Skipping patch. 1 out of 1 hunk ignored patch -s -f -N -p1 -i ../backports/api_version.patch make[2]: *** [Makefile:133: apply_patches] Error 1 make[2]: Leaving directory '/home/ubuntu/media_build/linux' The text leading up to this was:

|diff --git a/drivers/media/cec/cec-api.c b/drivers/media/cec/cec-api.c |index b6536bbad530..401ed65c834b 100644 |--- a/drivers/media/cec/cec-api.c |+++ b/drivers/media/cec/cec-api.c

No file to patch. Skipping patch. 1 out of 1 hunk ignored make[2]: *** [Makefile:133: apply_patches] Error 1 make[2]: Leaving directory '/home/ubuntu/media_build/linux' Preparing to compile for kernel version 5.4.0

WARNING: You do not have the full kernel sources installed. This does not prevent you from building the v4l-dvb tree if you have the kernel headers, but the full kernel source may be required in order to use make menuconfig / xconfig / qconfig.

If you are experiencing problems building the v4l-dvb tree, please try building against a vanilla kernel before reporting a bug.

Vanilla kernels are available at http://kernel.org. On most distros, this will compile a newly downloaded kernel:

cp /boot/config-uname -r /.config cd make all modules_install install

Please see your distro's web site for instructions to build a new kernel.

WARNING: This is the V4L/DVB backport tree, with experimental drivers backported to run on legacy kernels from the development tree at: http://git.linuxtv.org/media-tree.git. It is generally safe to use it for testing a new driver or feature, but its usage on production environments is risky. Don't use it in production. You've been warned. VIDEO_IPU3_CIO2: Requires at least kernel 9.255.255 VIDEO_OMAP3: Requires at least kernel 9.255.255 VIDEO_DW9714: Requires at least kernel 9.255.255 VIDEO_IPU3_IMGU: Requires at least kernel 9.255.255 Created default (all yes) .config file ./scripts/make_myconfig.pl [ ! -f "./config-mycompat.h" ] && echo "/ empty config-mycompat.h /" > "./config-mycompat.h" || true make -C firmware prep creating symbolic links... perl scripts/make_config_compat.pl /lib/modules/5.4.0-1019-raspi/build ./.myconfig ./config-compat.h make[2]: Entering directory '/home/ubuntu/media_build/v4l/firmware' make[2]: Nothing to be done for 'prep'. make[2]: Leaving directory '/home/ubuntu/media_build/v4l/firmware' make -C firmware make[2]: Entering directory '/home/ubuntu/media_build/v4l/firmware' make[2]: Nothing to be done for 'default'. make[2]: Leaving directory '/home/ubuntu/media_build/v4l/firmware' Kernel build directory is /lib/modules/5.4.0-1019-raspi/build make -C /lib/modules/5.4.0-1019-raspi/build M=/home/ubuntu/media_build/v4l modules make[2]: Entering directory '/usr/src/linux-headers-5.4.0-1019-raspi' CC [M] /home/ubuntu/media_build/v4l/msp3400-driver.o CC [M] /home/ubuntu/media_build/v4l/msp3400-kthreads.o CC [M] /home/ubuntu/media_build/v4l/smiapp-core.o CC [M] /home/ubuntu/media_build/v4l/smiapp-regs.o CC [M] /home/ubuntu/media_build/v4l/smiapp-quirk.o In file included from : /home/ubuntu/media_build/v4l/compat.h:1594:19: error: redefinition of 'prandom_u32_max' 1594 | static inline u32 prandom_u32_max(u32 ep_ro) | ^~~~~~~ In file included from : /home/ubuntu/media_build/v4l/compat.h:1594:19: error: redefinition of 'prandom_u32_max' 1594 | static inline u32 prandom_u32_max(u32 ep_ro) | ^~~~~~~ In file included from ./include/linux/random.h:116, from ./arch/arm64/include/asm/pointer_auth.h:37, from ./arch/arm64/include/asm/processor.h:35, from ./include/asm-generic/qrwlock.h:14, from ./arch/arm64/include/generated/asm/qrwlock.h:1, from ./arch/arm64/include/asm/spinlock.h:8, from ./include/linux/spinlock.h:89, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/input.h:8, from /home/ubuntu/media_build/v4l/compat.h:57, from : ./include/linux/prandom.h:44:19: note: previous definition of 'prandom_u32_max' was here 44 | static inline u32 prandom_u32_max(u32 ep_ro) | ^~~~~~~ In file included from ./include/linux/random.h:116, from ./arch/arm64/include/asm/pointer_auth.h:37, from ./arch/arm64/include/asm/processor.h:35, from ./include/asm-generic/qrwlock.h:14, from ./arch/arm64/include/generated/asm/qrwlock.h:1, from ./arch/arm64/include/asm/spinlock.h:8, from ./include/linux/spinlock.h:89, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/input.h:8, from /home/ubuntu/media_build/v4l/compat.h:57, from : ./include/linux/prandom.h:44:19: note: previous definition of 'prandom_u32_max' was here 44 | static inline u32 prandom_u32_max(u32 ep_ro) | ^~~~~~~ In file included from : /home/ubuntu/media_build/v4l/compat.h:1594:19: error: redefinition of 'prandom_u32_max' 1594 | static inline u32 prandom_u32_max(u32 ep_ro) | ^~~~~~~ In file included from ./include/linux/random.h:116, from ./arch/arm64/include/asm/pointer_auth.h:37, from ./arch/arm64/include/asm/processor.h:35, from ./include/asm-generic/qrwlock.h:14, from ./arch/arm64/include/generated/asm/qrwlock.h:1, from ./arch/arm64/include/asm/spinlock.h:8, from ./include/linux/spinlock.h:89, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/input.h:8, from /home/ubuntu/media_build/v4l/compat.h:57, from : ./include/linux/prandom.h:44:19: note: previous definition of 'prandom_u32_max' was here 44 | static inline u32 prandom_u32_max(u32 ep_ro) | ^~~~~~~ In file included from : /home/ubuntu/media_build/v4l/compat.h: In function 'prandom_u32_max': In file included from : /home/ubuntu/media_build/v4l/compat.h: In function 'prandom_u32_max': /home/ubuntu/media_build/v4l/compat.h:1591:21: error: implicit declaration of function 'random32'; did you mean 'prandom_u32'? [-Werror=implicit-function-declaration] 1591 | #define prandom_u32 random32 | ^~~~ /home/ubuntu/media_build/v4l/compat.h:1596:22: note: in expansion of macro 'prandom_u32' 1596 | return (u32)(((u64) prandom_u32() ep_ro) >> 32); | ^~~ /home/ubuntu/media_build/v4l/compat.h:1591:21: error: implicit declaration of function 'random32'; did you mean 'prandom_u32'? [-Werror=implicit-function-declaration] 1591 | #define prandom_u32 random32 | ^~~~ /home/ubuntu/media_build/v4l/compat.h:1596:22: note: in expansion of macro 'prandom_u32' 1596 | return (u32)(((u64) prandom_u32() ep_ro) >> 32); | ^~~ In file included from : /home/ubuntu/media_build/v4l/compat.h: In function 'prandom_u32_max': /home/ubuntu/media_build/v4l/compat.h:1591:21: error: implicit declaration of function 'random32'; did you mean 'prandom_u32'? [-Werror=implicit-function-declaration] 1591 | #define prandom_u32 random32 | ^~~~ /home/ubuntu/media_build/v4l/compat.h:1596:22: note: in expansion of macro 'prandom_u32' 1596 | return (u32)(((u64) prandom_u32() ep_ro) >> 32); | ^~~ In file included from : /home/ubuntu/media_build/v4l/compat.h:1594:19: error: redefinition of 'prandom_u32_max' 1594 | static inline u32 prandom_u32_max(u32 ep_ro) | ^~~~~~~ In file included from ./include/linux/random.h:116, from ./arch/arm64/include/asm/pointer_auth.h:37, from ./arch/arm64/include/asm/processor.h:35, from ./include/asm-generic/qrwlock.h:14, from ./arch/arm64/include/generated/asm/qrwlock.h:1, from ./arch/arm64/include/asm/spinlock.h:8, from ./include/linux/spinlock.h:89, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/input.h:8, from /home/ubuntu/media_build/v4l/compat.h:57, from : ./include/linux/prandom.h:44:19: note: previous definition of 'prandom_u32_max' was here 44 | static inline u32 prandom_u32_max(u32 ep_ro) | ^~~~~~~ In file included from : /home/ubuntu/media_build/v4l/compat.h: In function 'prandom_u32_max': /home/ubuntu/media_build/v4l/compat.h:1591:21: error: implicit declaration of function 'random32'; did you mean 'prandom_u32'? [-Werror=implicit-function-declaration] 1591 | #define prandom_u32 random32 | ^~~~ /home/ubuntu/media_build/v4l/compat.h:1596:22: note: in expansion of macro 'prandom_u32' 1596 | return (u32)(((u64) prandom_u32() ep_ro) >> 32); | ^~~ In file included from : /home/ubuntu/media_build/v4l/compat.h:1594:19: error: redefinition of 'prandom_u32_max' 1594 | static inline u32 prandom_u32_max(u32 ep_ro) | ^~~~~~~ In file included from ./include/linux/random.h:116, from ./arch/arm64/include/asm/pointer_auth.h:37, from ./arch/arm64/include/asm/processor.h:35, from ./include/asm-generic/qrwlock.h:14, from ./arch/arm64/include/generated/asm/qrwlock.h:1, from ./arch/arm64/include/asm/spinlock.h:8, from ./include/linux/spinlock.h:89, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/input.h:8, from /home/ubuntu/media_build/v4l/compat.h:57, from : ./include/linux/prandom.h:44:19: note: previous definition of 'prandom_u32_max' was here 44 | static inline u32 prandom_u32_max(u32 ep_ro) | ^~~~~~~ In file included from : /home/ubuntu/media_build/v4l/compat.h: In function 'prandom_u32_max': /home/ubuntu/media_build/v4l/compat.h:1591:21: error: implicit declaration of function 'random32'; did you mean 'prandom_u32'? [-Werror=implicit-function-declaration] 1591 | #define prandom_u32 random32 | ^~~~ /home/ubuntu/media_build/v4l/compat.h:1596:22: note: in expansion of macro 'prandom_u32' 1596 | return (u32)(((u64) prandom_u32() * ep_ro) >> 32); | ^~~ In file included from : /home/ubuntu/media_build/v4l/compat.h: At top level: /home/ubuntu/media_build/v4l/compat.h:2411:19: error: redefinition of 'next_pseudo_random32' 2411 | static inline u32 next_pseudo_random32(u32 seed) | ^~~~~~~~ In file included from ./include/linux/random.h:116, from ./arch/arm64/include/asm/pointer_auth.h:37, from ./arch/arm64/include/asm/processor.h:35, from ./include/asm-generic/qrwlock.h:14, from ./arch/arm64/include/generated/asm/qrwlock.h:1, from ./arch/arm64/include/asm/spinlock.h:8, from ./include/linux/spinlock.h:89, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/input.h:8, from /home/ubuntu/media_build/v4l/compat.h:57, from : ./include/linux/prandom.h:73:19: note: previous definition of 'next_pseudo_random32' was here 73 | static inline u32 next_pseudo_random32(u32 seed) | ^~~~~~~~ In file included from : /home/ubuntu/media_build/v4l/compat.h: At top level: /home/ubuntu/media_build/v4l/compat.h:2411:19: error: redefinition of 'next_pseudo_random32' 2411 | static inline u32 next_pseudo_random32(u32 seed) | ^~~~~~~~ In file included from ./include/linux/random.h:116, from ./arch/arm64/include/asm/pointer_auth.h:37, from ./arch/arm64/include/asm/processor.h:35, from ./include/asm-generic/qrwlock.h:14, from ./arch/arm64/include/generated/asm/qrwlock.h:1, from ./arch/arm64/include/asm/spinlock.h:8, from ./include/linux/spinlock.h:89, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/input.h:8, from /home/ubuntu/media_build/v4l/compat.h:57, from : ./include/linux/prandom.h:73:19: note: previous definition of 'next_pseudo_random32' was here 73 | static inline u32 next_pseudo_random32(u32 seed) | ^~~~~~~~ In file included from : /home/ubuntu/media_build/v4l/compat.h: At top level: /home/ubuntu/media_build/v4l/compat.h:2411:19: error: redefinition of 'next_pseudo_random32' 2411 | static inline u32 next_pseudo_random32(u32 seed) | ^~~~~~~~ In file included from ./include/linux/random.h:116, from ./arch/arm64/include/asm/pointer_auth.h:37, from ./arch/arm64/include/asm/processor.h:35, from ./include/asm-generic/qrwlock.h:14, from ./arch/arm64/include/generated/asm/qrwlock.h:1, from ./arch/arm64/include/asm/spinlock.h:8, from ./include/linux/spinlock.h:89, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/input.h:8, from /home/ubuntu/media_build/v4l/compat.h:57, from : ./include/linux/prandom.h:73:19: note: previous definition of 'next_pseudo_random32' was here 73 | static inline u32 next_pseudo_random32(u32 seed) | ^~~~~~~~ In file included from : /home/ubuntu/media_build/v4l/compat.h: At top level: /home/ubuntu/media_build/v4l/compat.h:2411:19: error: redefinition of 'next_pseudo_random32' 2411 | static inline u32 next_pseudo_random32(u32 seed) | ^~~~~~~~ In file included from ./include/linux/random.h:116, from ./arch/arm64/include/asm/pointer_auth.h:37, from ./arch/arm64/include/asm/processor.h:35, from ./include/asm-generic/qrwlock.h:14, from ./arch/arm64/include/generated/asm/qrwlock.h:1, from ./arch/arm64/include/asm/spinlock.h:8, from ./include/linux/spinlock.h:89, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/input.h:8, from /home/ubuntu/media_build/v4l/compat.h:57, from : ./include/linux/prandom.h:73:19: note: previous definition of 'next_pseudo_random32' was here 73 | static inline u32 next_pseudo_random32(u32 seed) | ^~~~~~~~ In file included from : /home/ubuntu/media_build/v4l/compat.h: At top level: /home/ubuntu/media_build/v4l/compat.h:2411:19: error: redefinition of 'next_pseudo_random32' 2411 | static inline u32 next_pseudo_random32(u32 seed) | ^~~~~~~~ In file included from ./include/linux/random.h:116, from ./arch/arm64/include/asm/pointer_auth.h:37, from ./arch/arm64/include/asm/processor.h:35, from ./include/asm-generic/qrwlock.h:14, from ./arch/arm64/include/generated/asm/qrwlock.h:1, from ./arch/arm64/include/asm/spinlock.h:8, from ./include/linux/spinlock.h:89, from ./include/linux/seqlock.h:36, from ./include/linux/time.h:6, from ./include/linux/input.h:8, from /home/ubuntu/media_build/v4l/compat.h:57, from : ./include/linux/prandom.h:73:19: note: previous definition of 'next_pseudo_random32' was here 73 | static inline u32 next_pseudo_random32(u32 seed) | ^~~~~~~~ cc1: some warnings being treated as errors cc1: some warnings being treated as errors make[3]: [scripts/Makefile.build:275: /home/ubuntu/media_build/v4l/smiapp-regs.o] Error 1 make[3]: Waiting for unfinished jobs.... make[3]: [scripts/Makefile.build:275: /home/ubuntu/media_build/v4l/smiapp-quirk.o] Error 1 cc1: some warnings being treated as errors make[3]: [scripts/Makefile.build:275: /home/ubuntu/media_build/v4l/msp3400-driver.o] Error 1 /home/ubuntu/media_build/v4l/smiapp-core.c: In function 'smiapp_set_ctrl': /home/ubuntu/media_build/v4l/smiapp-core.c:511:14: error: implicit declaration of function 'pm_runtime_get_if_active'; did you mean 'pm_runtime_set_active'? [-Werror=implicit-function-declaration] 511 | pm_status = pm_runtime_get_if_active(&client->dev, true); | ^~~~~~~~ | pm_runtime_set_active cc1: some warnings being treated as errors make[3]: [scripts/Makefile.build:275: /home/ubuntu/media_build/v4l/smiapp-core.o] Error 1 cc1: some warnings being treated as errors make[3]: [scripts/Makefile.build:275: /home/ubuntu/media_build/v4l/msp3400-kthreads.o] Error 1 make[2]: [Makefile:1737: /home/ubuntu/media_build/v4l] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-5.4.0-1019-raspi' make[1]: [Makefile:52: default] Error 2 make[1]: Leaving directory '/home/ubuntu/media_build/v4l' make: *** [Makefile:26: all] Error 2 V4L drivers installing... make -C /home/ubuntu/media_build/v4l install make[1]: Entering directory '/home/ubuntu/media_build/v4l' Installing kernel modules under /lib/modules/5.4.0-1019-raspi/kernel/drivers/media/: /sbin/depmod -a 5.4.0-1019-raspi make -C firmware install make[2]: Entering directory '/home/ubuntu/media_build/v4l/firmware' Installing firmwares at /lib/firmware: make[2]: Leaving directory '/home/ubuntu/media_build/v4l/firmware' make[1]: Leaving directory '/home/ubuntu/media_build/v4l' V4L drivers installation done You need to reboot... `

4l3x2k commented 3 years ago

For me it looks like #211 .