Jump to content

Captain_Glen

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by Captain_Glen

  1. Thanks for your help so far.

     

    I've tried both suggested checkouts as well as the default checkout from git.

     

    I've tried these on both Armbian Stretch and Jessie.

     

    Neither combination work for me on a Udoo Quad.

     

    Perhaps it's not possible to compile on a Udoo Quad?

  2. Ok so I can't make that work either.

     

    I've now tried using Armbian Stretch, as that's what you are using?

     

    root@udoo:~# uname -a
    Linux udoo 4.4.112-udoo #7 SMP Thu Jan 25 08:39:07 CET 2018 armv7l GNU/Linux
    root@udoo:~# git clone git://linuxtv.org/media_build.git
    Cloning into 'media_build'...
    remote: Counting objects: 4142, done.
    remote: Compressing objects: 100% (1113/1113), done.
    remote: Total 4142 (delta 2986), reused 4142 (delta 2986)
    Receiving objects: 100% (4142/4142), 716.87 KiB | 221.00 KiB/s, done.
    Resolving deltas: 100% (2986/2986), done.
    root@udoo:~# cd media_build/
    root@udoo:~/media_build# git checkout b1a305fb27ad5df895356baeff575a1ecb14ebf1
    Checking out files: 100% (29/29), done.
    Note: checking out 'b1a305fb27ad5df895356baeff575a1ecb14ebf1'.

    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.

    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:

      git checkout -b <new-branch-name>

    HEAD is now at b1a305f... build: Added missing "DESTDIR"
    root@udoo:~/media_build# nano build
    root@udoo:~/media_build# cd linux/
    root@udoo:~/media_build/linux# nano Makefile
    root@udoo:~/media_build/linux# cd ..
    root@udoo:~/media_build# ./build
    Checking if the needed tools for Debian GNU/Linux 9.3 (stretch) are available
    ERROR: please install "lsdiff", otherwise, build won't work.
    You should run:
        sudo apt-get install  patchutils
    Build can't procceed as 1 dependency is missing at ./build line 274.
    root@udoo:~/media_build# apt-get install patchutils
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following NEW packages will be installed:
      patchutils
    0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
    Need to get 86.2 kB of archives.
    After this operation, 180 kB of additional disk space will be used.
    Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main armhf patchutils armhf 0.3.4-2 [86.2 kB]
    Fetched 86.2 kB in 2s (31.0 kB/s)     
    Selecting previously unselected package patchutils.
    (Reading database ... 31103 files and directories currently installed.)
    Preparing to unpack .../patchutils_0.3.4-2_armhf.deb ...
    Unpacking patchutils (0.3.4-2) ...
    Setting up patchutils (0.3.4-2) ...
    Processing triggers for man-db (2.7.6.1-2) ...
    root@udoo:~/media_build# ./build
    Checking if the needed tools for Debian GNU/Linux 9.3 (stretch) 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...

    make: Entering directory '/root/media_build/linux'
    wget http://linuxtv.org/downloads/drivers/linux-media-2017-08-08-079c6eaf80d9.tar.bz2.md5 -O linux-media.tar.bz2.md5.tmp
    --2018-02-01 11:42:55--  http://linuxtv.org/downloads/drivers/linux-media-2017-08-08-079c6eaf80d9.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-2017-08-08-079c6eaf80d9.tar.bz2.md5 [following]
    --2018-02-01 11:42:55--  https://linuxtv.org/downloads/drivers/linux-media-2017-08-08-079c6eaf80d9.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’

    linux-media.tar.bz2.md5.tmp         100%[==================================================================>]     105  --.-KB/s    in 0s      

    2018-02-01 11:42:57 (581 KB/s) - ‘linux-media.tar.bz2.md5.tmp’ saved [105/105]

    cat: linux-media.tar.bz2.md5: No such file or directory
    --2018-02-01 11:42:57--  http://linuxtv.org/downloads/drivers/linux-media-2017-08-08-079c6eaf80d9.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-2017-08-08-079c6eaf80d9.tar.bz2 [following]
    --2018-02-01 11:42:58--  https://linuxtv.org/downloads/drivers/linux-media-2017-08-08-079c6eaf80d9.tar.bz2
    Connecting to linuxtv.org (linuxtv.org)|130.149.80.248|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 6639703 (6.3M) [application/x-bzip2]
    Saving to: ‘linux-media.tar.bz2’

    linux-media.tar.bz2                 100%[==================================================================>]   6.33M  1.36MB/s    in 4.7s    

    2018-02-01 11:43:05 (1.36 MB/s) - ‘linux-media.tar.bz2’ saved [6639703/6639703]

    make: Leaving directory '/root/media_build/linux'
    make: Entering directory '/root/media_build/linux'
    tar xfj linux-media.tar.bz2
    rm -f .patches_applied .linked_dir .git_log.md5
    make: Leaving directory '/root/media_build/linux'
    **********************************************************
    * Downloading firmwares from linuxtv.org.                *
    **********************************************************
    --2018-02-01 11:43:18--  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]
    --2018-02-01 11:43:19--  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’

    dvb-firmwares.tar.bz2               100%[==================================================================>]   1.18M   457KB/s    in 2.6s    

    2018-02-01 11:43:23 (457 KB/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/media_build/v4l allyesconfig
    make[1]: Entering directory '/root/media_build/v4l'
    No version yet, using 4.4.112-udoo
    make[2]: Entering directory '/root/media_build/linux'
    Applying patches for kernel 4.4.112-udoo
    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.12_revert_solo6x10_copykerneluser.patch
    patch -s -f -N -p1 -i ../backports/v4.10_sched_signal.patch
    patch -s -f -N -p1 -i ../backports/v4.10_fault_page.patch
    patch -s -f -N -p1 -i ../backports/v4.10_refcount.patch
    patch -s -f -N -p1 -i ../backports/v4.9_mm_address.patch
    patch -s -f -N -p1 -i ../backports/v4.9_dvb_net_max_mtu.patch
    patch -s -f -N -p1 -i ../backports/v4.9_ktime_cleanups.patch
    patch -s -f -N -p1 -i ../backports/v4.8_user_pages_flag.patch
    patch -s -f -N -p1 -i ../backports/v4.7_dma_attrs.patch
    patch -s -f -N -p1 -i ../backports/v4.7_pci_alloc_irq_vectors.patch
    patch -s -f -N -p1 -i ../backports/v4.6_i2c_mux.patch
    1 out of 2 hunks FAILED
    Makefile:138: recipe for target 'apply_patches' failed
    make[2]: *** [apply_patches] Error 1
    make[2]: Leaving directory '/root/media_build/linux'
    Makefile:383: recipe for target 'allyesconfig' failed
    make[1]: *** [allyesconfig] Error 2
    make[1]: Leaving directory '/root/media_build/v4l'
    Makefile:26: recipe for target 'allyesconfig' failed
    make: *** [allyesconfig] Error 2
    can't select all drivers at ./build line 519

  3. glen@udoo:~$ rm -rf media_build
    glen@udoo:~$ git clone git://linuxtv.org/media_build.git
    Cloning into 'media_build'...
    remote: Counting objects: 4142, done.
    remote: Compressing objects: 100% (1134/1134), done.
    remote: Total 4142 (delta 2982), reused 4112 (delta 2965)
    Receiving objects: 100% (4142/4142), 720.48 KiB | 252.00 KiB/s, done.
    Resolving deltas: 100% (2982/2982), done.
    Checking connectivity... done.
    glen@udoo:~$ cd media_build
    glen@udoo:~/media_build$ git checkout b1a305fb27ad5df895356baeff575a1ecb14ebf1
    Note: checking out 'b1a305fb27ad5df895356baeff575a1ecb14ebf1'.

    You are in 'detached HEAD' state. You can look around, make experimental
    changes and commit them, and you can discard any commits you make in this
    state without impacting any branches by performing another checkout.

    If you want to create a new branch to retain commits you create, you may
    do so (now or later) by using -b with the checkout command again. Example:

      git checkout -b new_branch_name

    HEAD is now at b1a305f... build: Added missing "DESTDIR"
    glen@udoo:~/media_build$ nano b
    backports/ build      
    glen@udoo:~/media_build$ nano build
    glen@udoo:~/media_build$ cd linux/
    glen@udoo:~/media_build/linux$ nano Makefile
    glen@udoo:~/media_build/linux$ cd ..
    glen@udoo:~/media_build$ ./build
    Checking if the needed tools for Debian GNU/Linux 8.10 (jessie) 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...

    make: Entering directory '/home/glen/media_build/linux'
    wget http://linuxtv.org/downloads/drivers/linux-media-2017-08-08-079c6eaf80d9.tar.bz2.md5 -O linux-media.tar.bz2.md5.tmp
    --2018-01-31 07:41:10--  http://linuxtv.org/downloads/drivers/linux-media-2017-08-08-079c6eaf80d9.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-2017-08-08-079c6eaf80d9.tar.bz2.md5 [following]
    --2018-01-31 07:41:10--  https://linuxtv.org/downloads/drivers/linux-media-2017-08-08-079c6eaf80d9.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’

    linux-media.tar.bz2.md5.tmp         100%[====================================================================>]     105  --.-KB/s   in 0s     

    2018-01-31 07:41:12 (1.01 MB/s) - ‘linux-media.tar.bz2.md5.tmp’ saved [105/105]

    cat: linux-media.tar.bz2.md5: No such file or directory
    --2018-01-31 07:41:12--  http://linuxtv.org/downloads/drivers/linux-media-2017-08-08-079c6eaf80d9.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-2017-08-08-079c6eaf80d9.tar.bz2 [following]
    --2018-01-31 07:41:13--  https://linuxtv.org/downloads/drivers/linux-media-2017-08-08-079c6eaf80d9.tar.bz2
    Connecting to linuxtv.org (linuxtv.org)|130.149.80.248|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 6639703 (6.3M) [application/x-bzip2]
    Saving to: ‘linux-media.tar.bz2’

    linux-media.tar.bz2                 100%[====================================================================>]   6.33M   422KB/s   in 15s    

    2018-01-31 07:41:29 (441 KB/s) - ‘linux-media.tar.bz2’ saved [6639703/6639703]

    make: Leaving directory '/home/glen/media_build/linux'
    make: Entering directory '/home/glen/media_build/linux'
    tar xfj linux-media.tar.bz2
    rm -f .patches_applied .linked_dir .git_log.md5
    make: Leaving directory '/home/glen/media_build/linux'
    **********************************************************
    * Downloading firmwares from linuxtv.org.                *
    **********************************************************
    --2018-01-31 07:41:38--  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]
    --2018-01-31 07:41:39--  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’

    dvb-firmwares.tar.bz2               100%[====================================================================>]   1.18M   216KB/s   in 5.6s   

    2018-01-31 07:41:46 (216 KB/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 /home/glen/media_build/v4l allyesconfig
    make[1]: Entering directory '/home/glen/media_build/v4l'
    No version yet, using 4.4.102-udoo
    make[2]: Entering directory '/home/glen/media_build/linux'
    Applying patches for kernel 4.4.102-udoo
    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.12_revert_solo6x10_copykerneluser.patch
    patch -s -f -N -p1 -i ../backports/v4.10_sched_signal.patch
    patch -s -f -N -p1 -i ../backports/v4.10_fault_page.patch
    patch -s -f -N -p1 -i ../backports/v4.10_refcount.patch
    patch -s -f -N -p1 -i ../backports/v4.9_mm_address.patch
    patch -s -f -N -p1 -i ../backports/v4.9_dvb_net_max_mtu.patch
    patch -s -f -N -p1 -i ../backports/v4.9_ktime_cleanups.patch
    patch -s -f -N -p1 -i ../backports/v4.8_user_pages_flag.patch
    patch -s -f -N -p1 -i ../backports/v4.7_dma_attrs.patch
    patch -s -f -N -p1 -i ../backports/v4.7_pci_alloc_irq_vectors.patch
    patch -s -f -N -p1 -i ../backports/v4.6_i2c_mux.patch
    1 out of 2 hunks FAILED
    Makefile:138: recipe for target 'apply_patches' failed
    make[2]: *** [apply_patches] Error 1
    make[2]: Leaving directory '/home/glen/media_build/linux'
    Makefile:383: recipe for target 'allyesconfig' failed
    make[1]: *** [allyesconfig] Error 2
    make[1]: Leaving directory '/home/glen/media_build/v4l'
    Makefile:26: recipe for target 'allyesconfig' failed
    make: *** [allyesconfig] Error 2
    can't select all drivers at ./build line 519
    glen@udoo:~/media_build$

  4. So I had another go.

     

    I think my above error, was because I tried ./build multiple times, and it couldn't extract over the top of the files that were already there.

     

    Anyway I deleted media_build with rm -rf and re cloned it from git.

     

    line 519 of build is make allyesconfig.

     

    This is failing for me.  I can comment it out and run sudo make install.

     

    But I suspect I need to run allyesconfig first?

     

    I think my problem is that I am using kernel 4.4.102.

     

    You mentioned that you are using a version of Armbian that is older from 2017-08-20.  Is this still Debian Jessie?

     

    I want to stick with Debian Jessie, as I've managed to get Home-Assistant, mosquitto, NextCloud, OpenMediaVault and Zoneminder all running on this so far.  The last piece of the the puzzle is MythtTV or TVheadend.

     

    glen@udoo:~$ uname -a
    Linux udoo 4.4.102-udoo #2 SMP Fri Nov 24 18:49:01 CET 2017 armv7l GNU/Linux

     

    glen@udoo:~/media_build$ make allyesconfig
    make -C /home/glen/media_build/v4l allyesconfig
    make[1]: Entering directory '/home/glen/media_build/v4l'
    make[2]: Entering directory '/home/glen/media_build/linux'
    make[3]: Entering directory '/home/glen/media_build/linux'
    Unapplying patches
    patch -s -f -R -p1 -i ../backports/api_version.patch
    make[3]: Leaving directory '/home/glen/media_build/linux'
    Applying patches for kernel 4.4.102-udoo
    patch -s -f -N -p1 -i ../backports/api_version.patch
    patch -s -f -N -p1 -i ../backports/pr_fmt.patch
    1 out of 1 hunk FAILED
    The text leading up to this was:
    --------------------------
    |diff --git a/drivers/media/pci/ddbridge/ddbridge-main.c b/drivers/media/pci/ddbridge/ddbridge-main.c
    |index ccac7fe31336..bd85e92ad349 100644
    |--- a/drivers/media/pci/ddbridge/ddbridge-main.c
    |+++ b/drivers/media/pci/ddbridge/ddbridge-main.c
    --------------------------
    No file to patch.  Skipping patch.
    1 out of 1 hunk ignored
    Makefile:130: recipe for target 'apply_patches' failed
    make[2]: *** [apply_patches] Error 1
    make[2]: Leaving directory '/home/glen/media_build/linux'
    Makefile:374: recipe for target 'allyesconfig' failed
    make[1]: *** [allyesconfig] Error 2
    make[1]: Leaving directory '/home/glen/media_build/v4l'
    Makefile:26: recipe for target 'allyesconfig' failed
    make: *** [allyesconfig] Error 2
    glen@udoo:~/media_build$

  5. Thanks for your suggestion.

     

    I get:

     

     

    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    Can't extract dvb-firmwares.tar.bz2 at ./build line 511

     

     

    When I run ./build

     

    See full cmd below:

     

    glen@udoo:~/media_build$ ./build
    Checking if the needed tools for Debian GNU/Linux 8.10 (jessie) 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...

    make: Entering directory '/home/glen/media_build/linux'
    wget http://linuxtv.org/downloads/drivers/linux-media-2017-08-08-079c6eaf80d9.tar.bz2.md5 -O linux-media.tar.bz2.md5.tmp
    --2018-01-23 05:23:54--  http://linuxtv.org/downloads/drivers/linux-media-2017-08-08-079c6eaf80d9.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-2017-08-08-079c6eaf80d9.tar.bz2.md5 [following]
    --2018-01-23 05:23:55--  https://linuxtv.org/downloads/drivers/linux-media-2017-08-08-079c6eaf80d9.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’

    linux-media.tar.bz2.md5.tmp         100%[====================================================================>]     105  --.-KB/s   in 0s     

    2018-01-23 05:23:57 (899 KB/s) - ‘linux-media.tar.bz2.md5.tmp’ saved [105/105]

    make: Leaving directory '/home/glen/media_build/linux'
    make: Entering directory '/home/glen/media_build/linux'
    tar xfj linux-media.tar.bz2
    rm -f .patches_applied .linked_dir .git_log.md5
    make: Leaving directory '/home/glen/media_build/linux'
    **********************************************************
    * Downloading firmwares from linuxtv.org.                *
    **********************************************************

    bzip2: Compressed file ends unexpectedly;
        perhaps it is corrupted?  *Possible* reason follows.
    bzip2: Inappropriate ioctl for device
        Input file = (stdin), output file = (stdout)

    It is possible that the compressed file(s) have become corrupted.
    You can use the -tvv option to test integrity of such files.

    You can use the `bzip2recover' program to attempt to recover
    data from undamaged sections of corrupted files.

    tar: Child returned status 2
    tar: Error is not recoverable: exiting now
    Can't extract dvb-firmwares.tar.bz2 at ./build line 511
    glen@udoo:~/media_build$

  6. On 1/19/2018 at 4:41 PM, Igor said:


    They are but not enabled. https://github.com/armbian/build/commit/866bb6e10ee141c1ed9245393cf2d957630510b5 Build on your own or wait a day and switch to the beta repository.

    Thanks Igor!  :D

     

    I've been a bit spoiled with Ubuntu, so I haven't compiled anything for a few years (10+)...

     

    Are these the steps I should follow:

     

    git clone --depth=1 git://linuxtv.org/media_build.git

    cd media_build

    ./build

    make

    sudo make install

     

    Or is this the wrong git hub for armbian?

  7. Hi I have no /dev/dvb on my UDOO Quad.

     

    I'm trying to get MythTV or tvheadend working on my UDOO Quad with Armbian Jessie with kernal 4.4.102

     

    glen@udoo:~$ uname -a
    Linux udoo 4.4.102-udoo #2 SMP Fri Nov 24 18:49:01 CET 2017 armv7l GNU/Linux

     

    I thought that dvb drivers were included in version 3.19 of the kernel and up?

     

    Anyway I copied dvb-usb-af9015.fw to /lib/firmware and rebooted.

     

    But nothing shows up under /dev/dvb/

     

    I would expect there to be adapter0 and adapter1

     

    Here is my lsusb:

     

    glen@udoo:~$ lsusb
    Bus 001 Device 004: ID 13d3:3226 IMC Networks DigitalNow TinyTwin DVB-T Receiver
    Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

     

    and my dmesg:

     

    [ 8904.731820] usb 1-1.2: USB disconnect, device number 3
    [ 9150.501583] usb 1-1.1: new high-speed USB device number 4 using ci_hdrc
    [ 9150.616876] usb 1-1.1: New USB device found, idVendor=13d3, idProduct=3226
    [ 9150.616899] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 9150.616915] usb 1-1.1: Product: DVB-T 2
    [ 9150.616928] usb 1-1.1: Manufacturer: Afatech
    [ 9150.616940] usb 1-1.1: SerialNumber: 010101010600001
    [ 9150.630673] input: Afatech DVB-T 2 as /devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.1/1-1.1:1.1/0003:13D3:3226.0002/input/input1
    [ 9150.682765] hid-generic 0003:13D3:3226.0002: input: USB HID v1.01 Keyboard [Afatech DVB-T 2] on usb-ci_hdrc.1-1.1/input1

  8. Hi,

     

    I'm trying to get MythTV or tvheadend working on my UDOO Quad with Armbian Jessie with kernal 4.4.102

     

    glen@udoo:~$ uname -a
    Linux udoo 4.4.102-udoo #2 SMP Fri Nov 24 18:49:01 CET 2017 armv7l GNU/Linux

     

    I thought that dvb drivers were included in version 3.19 of the kernel and up?

     

    Anyway I copied dvb-usb-af9015.fw to /lib/firmware and rebooted.

     

    But nothing shows up under /dev/dvb/

     

    I would expect there to be adapter0 and adapter1

     

    Here is my lsusb:

     

    glen@udoo:~$ lsusb
    Bus 001 Device 004: ID 13d3:3226 IMC Networks DigitalNow TinyTwin DVB-T Receiver
    Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

     

    and my dmesg:

     

    [ 8904.731820] usb 1-1.2: USB disconnect, device number 3
    [ 9150.501583] usb 1-1.1: new high-speed USB device number 4 using ci_hdrc
    [ 9150.616876] usb 1-1.1: New USB device found, idVendor=13d3, idProduct=3226
    [ 9150.616899] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 9150.616915] usb 1-1.1: Product: DVB-T 2
    [ 9150.616928] usb 1-1.1: Manufacturer: Afatech
    [ 9150.616940] usb 1-1.1: SerialNumber: 010101010600001
    [ 9150.630673] input: Afatech DVB-T 2 as /devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.1/1-1.1:1.1/0003:13D3:3226.0002/input/input1
    [ 9150.682765] hid-generic 0003:13D3:3226.0002: input: USB HID v1.01 Keyboard [Afatech DVB-T 2] on usb-ci_hdrc.1-1.1/input1

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines