Jump to content

Suleyman Poyraz

Members
  • Content Count

    9
  • Joined

  • Last visited

Everything posted by Suleyman Poyraz

  1. In the wiki there is build documentation for 4.4 and 4.19 but thtere is not any document based on kernel 5.10. Also there is not kernel 5.10 on neither Tinkerboard2 nor Tinkerboard repository. Is there any chance to check github repository and push them ?
  2. And also I want to compile image for Tinkerboard2. As I understand, I need to use TinkerBoard2/debian (github.com) bug at the end of the ./mk-base-debian.sh command. I take this error: ``` Failed to run livebuild, please check your network connection. ``` Detailed issue in there: mk-base-debian.sh Network Connection error · Issue #2 · TinkerBoard2/debian (github.com)
  3. Hello. I need RT linux for my project. So, I'm trying to compile a base image for Tinkerboard2 with RT patches. As I look to TinkerBoard2/kernel (github.com) , it is 4.19.193 but appling related patch https://cdn.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patch-4.19.193-rt81.patch.xz is not succeed. look output: patch.log When I pass the this step, I got error: ``` UPD include/generated/utsrelease.h CC kernel/bounds.s UPD include/generated/bounds.h UPD include/generated/timeconst.h CC arch/arm64/kernel/asm-offsets.s In file included from arch/arm64/kernel/asm-offsets.c:22:0: ./include/linux/sched.h: In function 'sleeping_lock_inc': ./include/linux/sched.h:1974:9: error: 'struct task_struct' has no member named 'sleeping_lock'; did you mean 'pi_lock'? current->sleeping_lock++; ^~ ./include/linux/sched.h: In function 'sleeping_lock_dec': ./include/linux/sched.h:1979:9: error: 'struct task_struct' has no member named 'sleeping_lock'; did you mean 'pi_lock'? current->sleeping_lock--; ^~ In file included from ./include/linux/cgroup.h:28:0, from ./include/linux/perf_event.h:57, from ./include/kvm/arm_pmu.h:21, from ./arch/arm64/include/asm/kvm_host.h:42, from ./include/linux/kvm_host.h:39, from arch/arm64/kernel/asm-offsets.c:25: ./include/linux/cgroup-defs.h: At top level: ./include/linux/cgroup-defs.h:168:21: error: field 'destroy_swork' has incomplete type struct swork_event destroy_swork; ^~~~~~~~~~~~~ In file included from arch/arm64/kernel/asm-offsets.c:36:0: arch/arm64/kernel/asm-offsets.c: In function 'main': ././include/linux/compiler_types.h:255:35: error: 'struct thread_info' has no member named 'preempt_lazy_count'; did you mean 'preempt_count'? #define __compiler_offsetof(a, b) __builtin_offsetof(a, b) ^ ./include/linux/kbuild.h:6:62: note: in definition of macro 'DEFINE' asm volatile("\n.ascii \"->" #sym " %0 " #val "\"" : : "i" (val)) ^~~ ./include/linux/stddef.h:17:32: note: in expansion of macro '__compiler_offsetof' #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER) ^~~~~~~~~~~~~~~~~~~ arch/arm64/kernel/asm-offsets.c:45:31: note: in expansion of macro 'offsetof' DEFINE(TSK_TI_PREEMPT_LAZY, offsetof(struct task_struct, thread_info.preempt_lazy_count)); ^~~~~~~~ make[1]: *** [Kbuild:56: arch/arm64/kernel/asm-offsets.s] Error 1 make: *** [Makefile:1245: prepare0] Error 2 ``` Is there any way to compile RT linux kernel or build newer kernel releases with RT Patches? patch.log
  4. Hi, While I try to install some new packages I get broken dependency error. Output is turkish but all about the broken packages: ``` Paket listeleri okunuyor... Bitti Bağımlılık ağacı oluşturuluyor Durum bilgisi okunuyor... Bitti Bazı paketler kurulamadı. Bu durum, olanaksız bir durum istemiş olduğunuzu ya da kararsız (unstable) dağıtımı kullandığınızı ve bazı paketlerin henüz oluşturulamamış ya da oluşturulmakta olduğunu gösterir. Aşağıdaki bilgiler durumu çözmenize yardımcı olabilir: Aşağıdaki paketler karşılanmamış bağımlılıklara sahip: libgtk-3-dev : Bağımlılıklar: libatk-bridge2.0-dev ama kurulmayacak Bağımlılıklar: libatk1.0-dev (>= 2.15.1) ama kurulmayacak Bağımlılıklar: libcairo2-dev (>= 1.14.0) ama kurulmayacak Bağımlılıklar: libgdk-pixbuf2.0-dev (>= 2.30.0) ama kurulmayacak Bağımlılıklar: libglib2.0-dev (>= 2.49.4) ama kurulmayacak Bağımlılıklar: libpango1.0-dev (>= 1.41) ama kurulmayacak E: Sorunlar giderilemedi, tutulan bozuk paketleriniz var. ``` Probably you patched packages for providing hardware acceleration. But all of this stuff broke all system. It is nearly useless while I try to build opencv from source code. Is there any chance to fix it. Bests.
  5. Im sure about I connected True port. Because it shown as camera in video devices list. But it wont work due to lack of driver.
  6. I have raspberry pi hq camera but it is not working. There is imx477 sensor. Is ther eany chance to add blobs and modules into kernel. and how?
  7. Lets try this btw. ? I was just loose time to make armbian compatible with tinkerboard 2.
  8. I'm working on Tinkerboard 2 and most of the dependencies are broken. I cannot build opencv from source due to lack of some dependencies. It is necessary that a newer version of TinkerOS need. Is there any plan for Buster images? Or could we create images using uboot and kernel provided in https://github.com/Tinkerboard2 Is there any source to create images from this sources
×
×
  • Create New...