Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
root@raspberrypi ~/linuxtv # git clone git://linuxtv.org/media_build.git
Cloning into 'media_build'...
remote: Counting objects: 3329, done.
remote: Compressing objects: 100% (923/923), done.
remote: Total 3329 (delta 2369), reused 3315 (delta 2363)
Receiving objects: 100% (3329/3329), 606.16 KiB, done.
Resolving deltas: 100% (2369/2369), done.
root@raspberrypi ~/linuxtv # cd media_build
root@raspberrypi ~/linuxtv/media_build
# .bu./
root@raspberrypi ~/linuxtv/media_build
#
root@raspberrypi ~/linuxtv/media_build
#
root@raspberrypi ~/linuxtv/media_build
# ./build
Checking if the needed tools for Debian GNU/Linux 7.11 (wheezy) are available
Needed package dependencies are met.
************************************************************
* This script will download the latest tarball and build it*
* Assuming that your kernel is compatible with the latest *
* drivers. If not, you'll need to add some extra backports,*
* ./backports/<kernel> directory. *
* It will also update this tree to be sure that all compat *
* bits are there, to avoid compilation failures *
************************************************************
************************************************************
* All drivers and build system are under GPLv2 License *
* Firmware files are under the license terms found at: *
* http://www.linuxtv.org/downloads/firmware/ *
* Please abort in the next 5 secs if you don't agree with *
* the license *
************************************************************
Not aborted. It means that the licence was agreed. Proceeding...
****************************
Updating the building system
****************************
From git://linuxtv.org/media_build
* branch master -> FETCH_HEAD
Already up-to-date.
make: Entering directory '/root/linuxtv/media_build/linux'
wget http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5 -O linux-media.tar.bz2.md5.tmp
--2016-09-09 10:26:17-- http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5
Resolving linuxtv.org (linuxtv.org)... 130.149.80.248
Connecting to linuxtv.org (linuxtv.org)|130.149.80.248|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5 [following]
--2016-09-09 10:26:18-- https://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2.md5
Connecting to linuxtv.org (linuxtv.org)|130.149.80.248|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 105 [application/x-bzip2]
Saving to: `linux-media.tar.bz2.md5.tmp'
100%[==========================================================================================================================================================>] 105 --.-K/s in 0s
2016-09-09 10:26:21 (229 KB/s) - `linux-media.tar.bz2.md5.tmp' saved [105/105]
cat: linux-media.tar.bz2.md5: No such file or directory
--2016-09-09 10:26:21-- http://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2
Resolving linuxtv.org (linuxtv.org)... 130.149.80.248
Connecting to linuxtv.org (linuxtv.org)|130.149.80.248|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2 [following]
--2016-09-09 10:26:21-- https://linuxtv.org/downloads/drivers/linux-media-LATEST.tar.bz2
Connecting to linuxtv.org (linuxtv.org)|130.149.80.248|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5456066 (5.2M) [application/x-bzip2]
Saving to: `linux-media.tar.bz2'
100%[==========================================================================================================================================================>] 5,456,066 3.34M/s in 1.6s
2016-09-09 10:26:27 (3.34 MB/s) - `linux-media.tar.bz2' saved [5456066/5456066]
make: Leaving directory '/root/linuxtv/media_build/linux'
make: Entering directory '/root/linuxtv/media_build/linux'
tar xfj linux-media.tar.bz2
rm -f .patches_applied .linked_dir .git_log.md5
make: Leaving directory '/root/linuxtv/media_build/linux'
**********************************************************
* Downloading firmwares from linuxtv.org. *
**********************************************************
--2016-09-09 10:26:37-- http://www.linuxtv.org/downloads/firmware//dvb-firmwares.tar.bz2
Resolving www.linuxtv.org (www.linuxtv.org)... 130.149.80.248
Connecting to www.linuxtv.org (www.linuxtv.org)|130.149.80.248|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.linuxtv.org/downloads/firmware//dvb-firmwares.tar.bz2 [following]
--2016-09-09 10:26:37-- https://www.linuxtv.org/downloads/firmware//dvb-firmwares.tar.bz2
Connecting to www.linuxtv.org (www.linuxtv.org)|130.149.80.248|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1235003 (1.2M) [application/x-bzip2]
Saving to: `dvb-firmwares.tar.bz2'
100%[==========================================================================================================================================================>] 1,235,003 1.03M/s in 1.1s
2016-09-09 10:26:42 (1.03 MB/s) - `dvb-firmwares.tar.bz2' saved [1235003/1235003]
as102_data1_st.hex
as102_data2_st.hex
cmmb_vega_12mhz.inp
cmmb_venice_12mhz.inp
dvb-fe-bcm3510-01.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-or51132-qam.fw
dvb-fe-or51132-vsb.fw
dvb-fe-or51211.fw
dvb-fe-xc4000-1.4.1.fw
dvb-fe-xc5000-1.6.114.fw
dvb-fe-xc5000c-4.1.30.7.fw
dvb-firmwares.tar.bz2
dvb-ttpci-01.fw-261a
dvb-ttpci-01.fw-261b
dvb-ttpci-01.fw-261c
dvb-ttpci-01.fw-261d
dvb-ttpci-01.fw-261f
dvb-ttpci-01.fw-2622
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-it9135-01.fw
dvb-usb-it9135-02.fw
dvb-usb-terratec-h5-drxk.fw
dvb-usb-terratec-h7-az6007.fw
dvb-usb-terratec-h7-drxk.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
dvb_nova_12mhz.inp
dvb_nova_12mhz_b0.inp
isdbt_nova_12mhz.inp
isdbt_nova_12mhz_b0.inp
isdbt_rio.inp
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
tdmb_nova_12mhz.inp
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-cx25840.fw
******************
* Start building *
******************
make -C /root/linuxtv/media_build/v4l allyesconfig
make[1]: Entering directory '/root/linuxtv/media_build/v4l'
No version yet, using 4.1.19-v7+
make[2]: Entering directory '/root/linuxtv/media_build/linux'
Applying patches for kernel 4.1.19-v7+
patch -s -f -N -p1 -i ../backports/api_version.patch
patch -s -f -N -p1 -i ../backports/pr_fmt.patch
patch -s -f -N -p1 -i ../backports/debug.patch
patch -s -f -N -p1 -i ../backports/drx39xxj.patch
patch -s -f -N -p1 -i ../backports/v4.7_dma_attrs.patch
patch -s -f -N -p1 -i ../backports/v4.6_i2c_mux.patch
patch -s -f -N -p1 -i ../backports/v4.5_gpiochip_data_pointer.patch
patch -s -f -N -p1 -i ../backports/v4.5_get_user_pages.patch
patch -s -f -N -p1 -i ../backports/v4.5_uvc_super_plus.patch
patch -s -f -N -p1 -i ../backports/v4.4_gpio_chip_parent.patch
patch -s -f -N -p1 -i ../backports/v4.1_pat_enabled.patch
Patched drivers/media/dvb-core/dvbdev.c
Patched drivers/media/v4l2-core/v4l2-dev.c
Patched drivers/media/rc/rc-main.c
make[2]: Leaving directory '/root/linuxtv/media_build/linux'
./scripts/make_kconfig.pl /lib/modules/4.1.19-v7+/build /lib/modules/4.1.19-v7+/build 1
Preparing to compile for kernel version 4.1.19
File not found: /lib/modules/4.1.19-v7+/build/.config at ./scripts/make_kconfig.pl line 33, <IN> line 4.
Makefile:369: recipe for target 'allyesconfig' failed
make[1]: *** [allyesconfig] Error 2
make[1]: Leaving directory '/root/linuxtv/media_build/v4l'
Makefile:26: recipe for target 'allyesconfig' failed
make: *** [allyesconfig] Error 2
can't select all drivers at ./build line 490.
root@raspberrypi ~/linuxtv/media_build
# git rev-parse HEAD
e29d35ff8a5e86ebf84cba97e32e06034c1522d7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment