Omirax 0 Posted June 2, 2021 Hello! /proc/config.gz # CONFIG_USB_SERIAL_CH341 is not set Why and HOW? It's very important for me! Kernel 4.4.194 and I can't install headers (not found) for make driver... Please help! Share this post Link to post Share on other sites
Frank3_Wu 2 Posted June 3, 2021 Hi Omirax, We would add that config in future. And here is the source code: https://github.com/TinkerBoard2/kernel/tree/tinker_board_2-debian_10-2.0.0 and kernel header: https://github.com/TinkerBoard2/kernel/releases/download/tinker_board_2-debian_10-2.0.0/Tinker_Board_2-Debian-Buster-v2.0.0-20210413.zip (in GitHub release page) Thanks. Share this post Link to post Share on other sites
Omirax 0 Posted June 3, 2021 (edited) Hello Frank3_Wu! Can I use this img for Asus Tinker R? I flashed the SD card, inserted it into the slot, but my Tinker R won't start ... I have not yet decided to flash EMMC Edited June 3, 2021 by Omirax Share this post Link to post Share on other sites
Omirax 0 Posted June 3, 2021 One more: linaro@linaro-alip:~/work/ch340/CH341SER$ sudo modprobe usbserial modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/4.4.194/modules.dep.bin' modprobe: FATAL: Module usbserial not found in directory /lib/modules/4.4.194 How fixed this? Share this post Link to post Share on other sites
Frank3_Wu 2 Posted June 4, 2021 18 hours ago, Omirax said: Hello Frank3_Wu! Can I use this img for Asus Tinker R? I flashed the SD card, inserted it into the slot, but my Tinker R won't start ... I have not yet decided to flash EMMC No, is different kernel source. For Tinker Edge R please use this: https://github.com/TinkerEdgeR/debian-kernel Or you means Tinker R/BR? for Tinker R/BR or Tinker S/BR, please reference Tinker Board or Tinker Board S. And kernel source here: https://github.com/TinkerBoard/debian_kernel Share this post Link to post Share on other sites
Omirax 0 Posted June 4, 2021 Hello! So sorry. We use Asus Tinker Edge R, so I am posting in the forum section for Tinker Edge R. And I was surprised when you wrote that we can use the image from Tinker 2S. Ok. Now we have only one problem for start tests our project. # CONFIG_USB_SERIAL_CH341 is not set Share this post Link to post Share on other sites
Joe 3 Posted June 4, 2021 Hi Omirax: [Execution environment -- Ubuntu 18.04] 1). Kernel Code => git clone https://github.com/TinkerEdgeR/debian-kernel.git 2). GCC => wget http://releases.linaro.org/components/toolchain/binaries/6.3-2017.05/aarch64-linux-gnu/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu.tar.xz 3). cd debian-kernel 4). make ARCH=arm64 tinker_edge_r_defconfig CROSS_COMPILE=/media/edger/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- -j32 5). make ARCH=arm64 tinker_edge_r.img CROSS_COMPILE=/media/edger/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- -j32 [Execution environment -- EdgeR] 6). compile finish,copy [Ubuntu src] --> debian-kernel/boot.img to EdgeR 7). dd if=boot.img of=/dev/mmcblk1p4 8). sudo reboot Thanks. Share this post Link to post Share on other sites
Omirax 0 Posted June 4, 2021 Hello Joe! Done! Thanks! Share this post Link to post Share on other sites
sri 0 Posted April 18 5). make ARCH=arm64 tinker_edge_r.img CROSS_COMPILE=/media/edger/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- -j32 I get an error no rule to make tinker_edge_r this did u mean Image? Share this post Link to post Share on other sites
tooz 52 Posted April 18 hello @sri, did you do step 4). which is to create defconfig? Share this post Link to post Share on other sites
sri 0 Posted April 18 Hello @tooz, The problem is it should be rk3399pro-tinker_edge_r.img instead of tinker_edge_r and also there are errors compiling scripts/dtc/dtc-lexer.lex.c_shipped because of multiple definitions of yyalloc on main branch Share this post Link to post Share on other sites
tooz 52 Posted April 29 hello @sri, in \debian-kernel\scripts\dtc\dtc-lexer.lex.c, line 634 please change YYLTYPE yylloc; to extern YYLTYPE yylloc; for your reference: https://steward-fu.github.io/website/phone/pixel3axl/dd_fix_yylloc.htm Share this post Link to post Share on other sites