Jump to content

wahaha

Members
  • Content Count

    22
  • Joined

  • Last visited

  • Days Won

    4

wahaha last won the day on April 16

wahaha had the most liked content!

Community Reputation

4 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I was trying to enable config for bpf in tinker_def_config. # Bpf config CONFIG_BPF=y CONFIG_BPF_SYSCALL=y CONFIG_BPF_JIT=y CONFIG_NET_CLS_BPF=y CONFIG_NET_CLS_ACT=y CONFIG_NET_SCH_INGRESS=y CONFIG_CRYPTO_SHA1=y But came up with these errors: In file included from ./include/linux/bpf_verifier.h:11:0, from kernel/bpf/verifier.c:17: kernel/bpf/verifier.c: In function 'fixup_bpf_calls': kernel/bpf/verifier.c:6131:36: error: 'BPF_JMP32' undeclared (first use in this function); did you mean 'BPF_JMP_A'? BPF_RAW_INSN((is64 ? BPF_JMP : BPF_JMP32) | ^ ./include/linux/filter.h:317:12: note: in definition of macro 'BPF_RAW_INSN' .code = CODE, \ ^~~~ kernel/bpf/verifier.c:6131:36: note: each undeclared identifier is reported only once for each function it appears in BPF_RAW_INSN((is64 ? BPF_JMP : BPF_JMP32) | ^ ./include/linux/filter.h:317:12: note: in definition of macro 'BPF_RAW_INSN' .code = CODE, \ ^~~~ kernel/bpf/verifier.c:6140:34: warning: pointer/integer type mismatch in conditional expression error, forbidden warning:verifier.c:6140 BPF_RAW_INSN((is64 ? BPF_JMP : BPF_JMP32) | ^ ./include/linux/filter.h:317:12: note: in definition of macro 'BPF_RAW_INSN' .code = CODE, \ ^~~~ kernel/bpf/verifier.c:6140:47: error: invalid operands to binary | (have 'struct bpf_insn *' and 'int') BPF_RAW_INSN((is64 ? BPF_JMP : BPF_JMP32) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ./include/linux/filter.h:317:12: note: in definition of macro 'BPF_RAW_INSN' .code = CODE, \ ^~~~ kernel/bpf/verifier.c:6141:19: error: invalid operands to binary | (have 'struct bpf_insn *' and 'int') BPF_RAW_INSN((is64 ? BPF_JMP : BPF_JMP32) | ~ BPF_JEQ | BPF_K, insn->src_reg, ^ ./include/linux/filter.h:317:12: note: in definition of macro 'BPF_RAW_INSN' .code = CODE, \ ^~~~ kernel/bpf/verifier.c:6140:18: warning: initialization makes integer from pointer without a cast [-Wint-conversion] error, forbidden warning:verifier.c:6140 BPF_RAW_INSN((is64 ? BPF_JMP : BPF_JMP32) | ^ ./include/linux/filter.h:317:12: note: in definition of macro 'BPF_RAW_INSN' .code = CODE, \ ^~~~ kernel/bpf/verifier.c:6140:18: note: (near initialization for '(anonymous).code') BPF_RAW_INSN((is64 ? BPF_JMP : BPF_JMP32) | ^ ./include/linux/filter.h:317:12: note: in definition of macro 'BPF_RAW_INSN' .code = CODE, \ ^~~~ CC kernel/locking/mutex.o CC fs/configfs/file.o make[2]: *** [scripts/Makefile.build:334: kernel/bpf/verifier.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CC kernel/bpf/helpers.o CC mm/fadvise.o CC fs/configfs/dir.o Please help.
  2. Hi, these errors came about on OS boot with kernel 4.19. [33.895277] reg-fix-voltage vcc1v8-s3: Looking up vin-supply from device tree [33.895570] vcc1v8_s3: supplied by vcc_1v8 [68.028413] vcc_lcd: disabling [68.028413] cdn-dp fec00000.dp: [drm:cdn_dp=pd_event_work] *ERROR* Timed out trying to load firmware [163.648708] rock-chip-pm-domain ff310000.power-management:power-controller: Looking up pd_vopb-supply from device tree [163.649708] rock-chip-pm-domain ff310000.power-management:power-controller: Looking up pd_vopb-supply property in node /power-management@ff310000/power-controller failed [164.651200] rockchip-vop ff900000.vop: [drm:vop_crtc_atomic_enable] Update mode to 3440x1440p60, type: 11 [164.851200] dwhdmi-rockhip ff940000.hdmi: Rate 319750000 missing; compute N dynamically could you please provide an update to the dts?
  3. nevermind. i solved this portion. posted the guide here for anyone who is interested: https://github.com/wahahawasabi/TinkerBoard2s
  4. Hi @Joe, Is this still the case with the latest 4.19 kernel?
  5. Great stuffs!! could we please also get some guide on compiling our own kernels? to change some config like enabling apparmor. or nfs
  6. Hi, could you please help to provide a boot image to load into version Tinker Board 2 Debian 10 V2.1.6? Thank you
  7. Hi tooz, i tired to get apparmor with the above method for the latest release of Tinker Board 2 Debian 10 V2.1.6,. but the board does not boot up after that.. any idea why?
  8. could you guys release 1 for kernel 5.15.x please? or share how we can compile our own kernels?
  9. Hello, after 2 years of working with tinkerboard 2S, i am still unable to build a custom kernel and make adjustments to my use case. Please, could you share detailed documentations / guide on how we can create a custom kernel with uboot , and how we can install it into the tinkerboard? i'm a fan of asus product, and i use tinkerboard for IOT work. but there are very very limited resources on how to put our own customization in. please help..
  10. @tooz, hello, was wondering if you could please help me with this? 🙂
  11. Hello, was wondering if you could please share the steps and a how to guide on how to compile kernel 5.15 for the tinkerboard 2s please? Thanks!
  12. To add more information, I am using tinker board 2s, on debian OS.
  13. Hi, I noticed that in the kernel config, # CONFIG_NFSD is not set Could you please provide a patch so that it can be enabled? trying to use sudo apt-get install nsf-kernel-server Also, would it be possible to provide a tutorial on how to create kernel patches to enable some of these configs? Thanks! Jake
  14. I changed the settings to carry on reading from cgroups v1 instead. I do this by setting this in /boot/cmdline.txt: systemd.unified_cgroup_hierarchy=0
×
×
  • Create New...