Seite 1 von 2 12 LetzteLetzte
Ergebnis 1 bis 10 von 11
  1. #1
    Anfänger
    Registriert seit
    02.08.2020
    Beiträge
    8
    Thanks (gegeben)
    2
    Thanks (bekommen)
    0
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke

    Build own Kernel for openatv-image-6.4

    Is it possible to activate / deactivate Kernelmodules on my own?


    I built my own image according to the instructions on your git page.
    This took some time but worked surprisingly well


    In the next step I changed a few modules in the corresponding defconfig file for my device.
    ( e.g meta-oe-alliance/meta-brands/meta-{BRAND}/recipes-linux/linux-octagon-{KERNELVERSION}/{MODEL}/defconfig )

    Compiled again, which was much faster and did not give any errors, and flashed the new image.
    However I did not notice any differences after setup process: modules I deactivated were still active.
    (infopanel -> kernel shows the correct build date)

    Do I have to change something else or isn't it possible to add / change any kernel modules by myself?

    •   Alt Advertising

       

  2. #2

    Registriert seit
    26.07.2014
    Beiträge
    44
    Thanks (gegeben)
    34
    Thanks (bekommen)
    36
    Total Downloaded
    32,1 KB
    Total Downloaded
    32,1 KB
    ReceiverDanke
    hi, you need to increase PR in kernel .bb recipe to force bitbake rebuild kernel with new defconfig.

  3. #3
    Anfänger
    Registriert seit
    02.08.2020
    Beiträge
    8
    Thanks (gegeben)
    2
    Thanks (bekommen)
    0
    Themenstarter
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke
    Will give it a try, thx


    You mean MACHINE_KERNEL_PR_append in /.../recipes-linux/linux-{BRAND}_{VERSION}.bb ?
    Increasing this will not break the compability to the official feeds and updates?


    Btw. is it _easily_ possible to add some .sh scripts (for example) to the image, so I dont have to upload, give rights, create symbolic links afterwards?

  4. #4

    Registriert seit
    26.07.2014
    Beiträge
    44
    Thanks (gegeben)
    34
    Thanks (bekommen)
    36
    Total Downloaded
    32,1 KB
    Total Downloaded
    32,1 KB
    ReceiverDanke
    PR is just package release number... you can create own bitbake recipe which will copy needed scripts in do_install() phase and after add it to openatv-image.bb through IMAGE_INSTALL += "your_bb_recipe_name" ...

  5. Thanks ReceiverM bedankten sich
  6. #5
    Anfänger
    Registriert seit
    02.08.2020
    Beiträge
    8
    Thanks (gegeben)
    2
    Thanks (bekommen)
    0
    Themenstarter
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke
    I would need help once again ...
    Currently I'm trying to enable iptables on multibox 4k and get wireguard working.

    I have adjusted the kernel parameters in meta-brands\meta-maxytec\recipes-linux\linux-maxytec-4.4.35\multibox\defconfig (looked it up in defconfigs of other boxes, from which I know that iptables + wireguard works there).

    Then I increased MACHINE_KERNEL_PR_append in linux-maxytec_4.4.35.bb as @Nicker said and recompiled the image with "MACHINE=axmulticombo DISTRO=openatv DISTRO_TYPE=release make image".
    According to other posts I ignored the following errors, they are not relevant?
    Code:
    ERROR: openatv-image-6.4-20210123 do_image_maxytecfastboot8gb: Taskhash mismatch f808c79ff0367176dc95872f855106b5c7b3f075dfec847c81fe6c680250ae78 versus edf532796a548551fae08905ad8805e16b6b69b2f1e2c5241a3a82408dcc1812 for /home/openatvbuilder/openatv/build-enviroment/meta-oe-alliance/meta-oe/recipes-distros/openatv/image/openatv-image.bb:do_image_maxytecfastboot8gb
    ERROR: Taskhash mismatch f808c79ff0367176dc95872f855106b5c7b3f075dfec847c81fe6c680250ae78 versus edf532796a548551fae08905ad8805e16b6b69b2f1e2c5241a3a82408dcc1812 for /home/openatvbuilder/openatv/build-enviroment/meta-oe-alliance/meta-oe/recipes-distros/openatv/image/openatv-image.bb:do_image_maxytecfastboot8gb

    After I installed the new openatv-6.4-axmulticombo-20210123_mmc.zip on the box two problems occurred (before changing the defconfig the self compiled image worked):

    1.) after the OpenATV bootlogo the BIldschirm stays black, but the receiver is reachable over the network

    2.) the kernel parameters are not updated, the same errors as before

    Iptables:
    Code:
    root@axmulticombo:~# opkg install iptables
    iptables: unsatisfied recommendation for kernel-module-ip-tables
    iptables: unsatisfied recommendation for kernel-module-ipt-masquerade
    iptables: unsatisfied recommendation for kernel-module-iptable-filter
    iptables: unsatisfied recommendation for kernel-module-iptable-nat
    ...
    Wireguard when trying to start:
    Code:
    root@axmulticombo:~# dmesg -c
    [ 5432.403153] wireguard: Unknown symbol udp_sock_create4 (err 0)
    [ 5432.409019] wireguard: Unknown symbol udp_tunnel6_xmit_skb (err 0)
    [ 5432.415348] wireguard: Unknown symbol udp_tunnel_sock_release (err 0)
    [ 5432.421812] wireguard: Unknown symbol setup_udp_tunnel_sock (err 0)
    [ 5432.428090] wireguard: Unknown symbol udp_sock_create6 (err 0)
    [ 5432.433976] wireguard: Unknown symbol udp_tunnel_xmit_skb (err 0)
    It's strange, because in \builds\openatv\release\multibox\tmp\deploy\images \multibox\modules--4.4.35-30-multibox-20210123152124.tgz they seem to exist.
    In this archive all the \lib\modules\4.4.35\kernel\net\...\*.ko files exist.


    Have I done anything fundamentally wrong?
    I do not know what else I could test, please help me

  7. #6

    Registriert seit
    26.07.2014
    Beiträge
    44
    Thanks (gegeben)
    34
    Thanks (bekommen)
    36
    Total Downloaded
    32,1 KB
    Total Downloaded
    32,1 KB
    ReceiverDanke
    try to install unsatisfied rrecomends manually one by one and reboot.
    Geändert von Nicker (23.01.2021 um 19:26 Uhr)

  8. #7
    Anfänger
    Registriert seit
    02.08.2020
    Beiträge
    8
    Thanks (gegeben)
    2
    Thanks (bekommen)
    0
    Themenstarter
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke
    Both things are working running:
    - Wireguard Tunnel is established and working.
    - Iptables blocks incoming/outgoing (sub)networks.

    BUT the screen remains black after the boot logo.

    enigma2 > log loops this message:
    Code:
    00:37:41.5934 gdi/grc.cpp:211 thread [gRC] main thread is non-idle! display spinner!
    00:37:41.5936 gdi/grc.cpp:247 enableSpinner [gRC] enabelSpinner: no spinner DC!
    and dmesg says after startup:
    Code:
    Unable to handle kernel NULL pointer dereference at virtual address 00000010
    pgd = dbe50000
    [00000010] *pgd=1c3c5835, *pte=00000000, *ppte=00000000
    Internal error: Oops: 817 [#1] SMP ARM
    Modules linked in: xfs libcrc32c tntfs(PO) mali(O) multibox_4(O) multibox_3(O) multibox_2(O) multibox_1(O)
    CPU: 0 PID: 1690 Comm: showiframe Tainted: P           O    4.4.35 #1
    Hardware name: bigfish
    task: df7a1c80 ti: dc41e000 task.ti: dc41e000
    PC is at __c0a08e+0xf4/0x1e4 [multibox_4]
    LR is at __alloc_skb+0xfc/0x19c
    pc : [<bf0a3e10>]    lr : [<c0681258>]    psr: 60070013
    sp : dc41fd28  ip : 00000000  fp : dc41fd64
    r10: 00000018  r9 : 00000000  r8 : 00000018
    r7 : 00000014  r6 : de6bdb40  r5 : bf456da4  r4 : 00000000
    r3 : 00000000  r2 : ffff0000  r1 : ffffffe0  r0 : 00000000
    Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
    Control: 10c5383d  Table: 1be5006a  DAC: 00000051
    
    LR: 0xc06811d8:
    11d8  e1a02007 e1a00005 ebeae2ba e2509000 13a0a000 0a00002b e1a00009 ebeacd05
    11f8  e24050c0 e1a06000 e0895005 f595f000 e3a01098 e1a00004 ebf4d56a e5d42068
    1218  e3e03000 e28660c0 e7c3219a e58460a8 e1c439b6 e3a06001 e1c439b2 e1a00005
    1238  e3a01020 e58490a0 e58490a4 e5849098 e584509c e5c42068 e58460ac ebf4d559
    1258  e51b3030 e5856020 e3530000 0a00000a e5d41066 e3a00002 e5d42116 e5d43118
    1278  e7c31116 e7c32110 e5846160 e7c3319a e5c41066 e5c42116 e5c43118 e1a00004
    1298  e24bd028 e89daff0 e1a00006 ebe9d8e9 e250a000 1a000006 e1a01004 e1a00008
    12b8  ebeadb67 e3a04000 e1a00004 e24bd028 e89daff0 e1a02007 e1a01006 e1a00005
    
    SP: 0xdc41fca8:
    fca8  dc41fcec dc41fcb8 c0139d00 bf0a3e10 60070013 ffffffff dc41fd0c 00000018
    fcc8  dc41fd64 dc41fcd8 c001c060 c0009254 00000000 ffffffe0 ffff0000 00000000
    fce8  00000000 bf456da4 de6bdb40 00000014 00000018 00000000 00000018 dc41fd64
    fd08  00000000 dc41fd28 c0681258 bf0a3e10 60070013 ffffffff 00000051 c0681168
    fd28  de4e4000 c0094650 dc41fd5c 00000004 c0094650 de7bcc00 00000000 de4e4000
    fd48  de7bcdc0 c0bfaa4c 00000000 00000000 dc41fd74 dc41fd68 bf0a5934 bf0a3d28
    fd68  dc41fd94 dc41fd78 bf09ea2c bf0a591c de6bda80 dda6dec0 de606be8 de5a0480
    fd88  dc41fdb4 dc41fd98 c05ad720 bf09e94c c082c1b0 00000000 de606be8 de6bda80
    
    FP: 0xdc41fce4:
    fce4  00000000 00000000 bf456da4 de6bdb40 00000014 00000018 00000000 00000018
    fd04  dc41fd64 00000000 dc41fd28 c0681258 bf0a3e10 60070013 ffffffff 00000051
    fd24  c0681168 de4e4000 c0094650 dc41fd5c 00000004 c0094650 de7bcc00 00000000
    fd44  de4e4000 de7bcdc0 c0bfaa4c 00000000 00000000 dc41fd74 dc41fd68 bf0a5934
    fd64  bf0a3d28 dc41fd94 dc41fd78 bf09ea2c bf0a591c de6bda80 dda6dec0 de606be8
    fd84  de5a0480 dc41fdb4 dc41fd98 c05ad720 bf09e94c c082c1b0 00000000 de606be8
    fda4  de6bda80 dc41fde4 dc41fdb8 c0144610 c05ad684 00000000 00000010 de6bda80
    fdc4  de606be8 c0144534 de6bda88 00000000 dc41ff5c dc41fe0c dc41fde8 c013e204
    
    R2: 0xfffeff80:
    ff80  ******** ******** ******** ******** ******** ******** ******** ********
    ffa0  ******** ******** ******** ******** ******** ******** ******** ********
    ffc0  ******** ******** ******** ******** ******** ******** ******** ********
    ffe0  ******** ******** ******** ******** ******** ******** ******** ********
    0000  ea0003ff ea000465 e59ffff0 ea000443 ea000422 ea000481 ea000400 ea000487
    0020  e7fddef1 e7fddef1 e7fddef1 e7fddef1 e7fddef1 e7fddef1 e7fddef1 e7fddef1
    0040  e7fddef1 e7fddef1 e7fddef1 e7fddef1 e7fddef1 e7fddef1 e7fddef1 e7fddef1
    0060  e7fddef1 e7fddef1 e7fddef1 e7fddef1 e7fddef1 e7fddef1 e7fddef1 e7fddef1
    
    R6: 0xde6bdac0:
    dac0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    dae0  dbe55d80 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    db00  00000000 00000000 00000000 00000000 dda6dec0 de6bdb14 de6bdb14 de6bdb1c
    db20  de6bdb1c de606cbc 00000000 00000000 00000000 00000000 00000000 00000000
    db40  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    db60  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    db80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    dba0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    Process showiframe (pid: 1690, stack limit = 0xdc41e210)
    Stack: (0xdc41fd28 to 0xdc420000)
    fd20:                   de4e4000 c0094650 dc41fd5c 00000004 c0094650 de7bcc00
    fd40: 00000000 de4e4000 de7bcdc0 c0bfaa4c 00000000 00000000 dc41fd74 dc41fd68
    fd60: bf0a5934 bf0a3d28 dc41fd94 dc41fd78 bf09ea2c bf0a591c de6bda80 dda6dec0
    fd80: de606be8 de5a0480 dc41fdb4 dc41fd98 c05ad720 bf09e94c c082c1b0 00000000
    fda0: de606be8 de6bda80 dc41fde4 dc41fdb8 c0144610 c05ad684 00000000 00000010
    fdc0: de6bda80 de606be8 c0144534 de6bda88 00000000 dc41ff5c dc41fe0c dc41fde8
    fde0: c013e204 c0144540 dc41feb0 de6bda80 00000000 00000000 00000000 dc41ff5c
    fe00: dc41fe24 dc41fe10 c013f274 c013e0ec 00000801 dc41feb0 dc41feac dc41fe28
    fe20: c014daec c013f224 e0028da0 00000000 dfca1000 e001da80 0010d000 dbe54000
    fe40: df2c48a8 c08db6a4 fffffdfa dc41e000 00000000 00000000 de6bda80 00000022
    fe60: 00000041 df3d4440 015f6160 00000000 00000004 de606be8 df64db50 df050198
    fe80: 80000007 00000801 dc41ff5c dc41feb0 00000001 fffff000 dc41e000 00000000
    fea0: dc41ff4c dc41feb0 c014fab8 c014d7e4 df64db50 df050198 9087e595 00000006
    fec0: df5b9022 00000000 00000000 df0354c8 de606be8 00000101 00000004 0000005a
    fee0: 00000000 00000000 00000000 dc41fef0 de617d00 dbdb3d40 00000000 00000400
    ff00: dc41ff3c dc41ff10 c015e090 c015d77c 00000801 00000801 ffffff9c df5b9000
    ff20: df5b9000 00000000 00000002 ffffff9c 00000801 ffffff9c df5b9000 00000004
    ff40: dc41ff94 dc41ff50 c013f638 c014fa50 00000001 00000000 00000000 00000801
    ff60: 00010000 00000022 00000100 00000001 b6feece0 00000801 00010c50 00000142
    ff80: c0016988 dc41e000 dc41ffa4 dc41ff98 c013f704 c013f4d8 00000000 dc41ffa8
    ffa0: c0016780 c013f6f4 b6feece0 00000801 ffffff9c 00010c50 00000801 00000000
    ffc0: b6feece0 00000801 00010c50 00000142 00000000 00000000 b6ff0fa4 bebf9c34
    ffe0: 0002102c bebf7b68 0001082c b6f4e548 60070010 ffffff9c 00000000 00000000
    [<bf0a3e10>] (__c0a08e [multibox_4]) from [<bf0a5934>] (__af46d4+0x24/0x28 [multibox_4])
    [<bf0a5934>] (__af46d4 [multibox_4]) from [<bf09ea2c>] (__7765bb+0xec/0xf8 [multibox_4])
    [<bf09ea2c>] (__7765bb [multibox_4]) from [<c05ad720>] (dvb_device_open+0xa8/0xe4)
    [<c05ad720>] (dvb_device_open) from [<c0144610>] (chrdev_open+0xdc/0x194)
    [<c0144610>] (chrdev_open) from [<c013e204>] (do_dentry_open.constprop.0+0x124/0x30c)
    [<c013e204>] (do_dentry_open.constprop.0) from [<c013f274>] (vfs_open+0x5c/0x80)
    [<c013f274>] (vfs_open) from [<c014daec>] (path_openat+0x314/0x105c)
    [<c014daec>] (path_openat) from [<c014fab8>] (do_filp_open+0x74/0xd8)
    [<c014fab8>] (do_filp_open) from [<c013f638>] (do_sys_open+0x16c/0x1ec)
    [<c013f638>] (do_sys_open) from [<c013f704>] (SyS_openat+0x1c/0x20)
    [<c013f704>] (SyS_openat) from [<c0016780>] (ret_fast_syscall+0x0/0x3c)
    Code: 13590000 e18a8c08 e3a03000 e5863028 (e5808010)
    ---[ end trace 68a0874e2d406c59 ]---
    No idea how to read this null pointer error

  9. #8

    Registriert seit
    26.07.2014
    Beiträge
    44
    Thanks (gegeben)
    34
    Thanks (bekommen)
    36
    Total Downloaded
    32,1 KB
    Total Downloaded
    32,1 KB
    ReceiverDanke
    seems like showiframe issue (binaries provided by vendor were built against diferrent defconfig). you can try to contact stb vendor support and consult with them.
    Geändert von Nicker (24.01.2021 um 09:10 Uhr)

  10. #9
    Anfänger
    Registriert seit
    02.08.2020
    Beiträge
    8
    Thanks (gegeben)
    2
    Thanks (bekommen)
    0
    Themenstarter
    Total Downloaded
    0
    Total Downloaded
    0
    ReceiverDanke
    Tried so hard and got so far ... what a ****!

    I intentionally did not change existing entries and ONLY added some in the network section (as modul).
    Strange that this causes image errors, but I know too little about the kernel.

    A workaround or something is not possible I think?

    Can I just use the contact form on the Maxytec page?
    Or is it possible that you as OpenATV instance request a commit?
    Looks like this is the official repo.

  11. #10

    Registriert seit
    26.07.2014
    Beiträge
    44
    Thanks (gegeben)
    34
    Thanks (bekommen)
    36
    Total Downloaded
    32,1 KB
    Total Downloaded
    32,1 KB
    ReceiverDanke
    i cant tell for whole atv team, personally i have no contact @ maxytec support. named git repo seems to be maintained for pli based images.


Seite 1 von 2 12 LetzteLetzte

Stichworte

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •  
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:06 Uhr.
Powered by vBulletin® Version 4.2.5 (Deutsch)
Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.
Resources saved on this page: MySQL 5,56%
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)
vBulletin Skin By: PurevB.com