Jump to content
Omirax

CH341 is not set

Recommended Posts

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

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 by Omirax

Share this post


Link to post
Share on other sites

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
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

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

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...