-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
about kernel location #9
Comments
Hello, @kikiyami The kernel source location in the yocto environment: The UART3 is the name of the hardware, and the corresponding name of the software should be ttymxc2. BR, Ray |
Hi Ray, |
Hi @kikiyami You must first use the demo image to confirm the device tree that your board uses. You can refer to the section of our official website device tree: Modifying the kernel can use "devtool" on yocto. For more operational details. please refer to the yocto manual. |
I bought this product. And Try to modified kernel. I'm not soure enable ttymxc2 sucessful. |
I check the HW schematic. UART3(ttymxc2) is occupied by Bluetooth. One way is to disable debug console(UART1) and use it as RS232, another way is to buy EDM-Fairy baseboard. Wandboard kernel is maintained by linux mainline upstream now.
BR, Richard |
@richard-hu Thank you |
u-boot provides a way to disable console. The concept is to disable console in bootloader(SPL and u-boot) and set console device as null in kernel.
I check the device tree for wandboard. arch/arm/boot/dts/imx6qdl-wandboard.dtsi &uart1 { There is a RS232 transceiver chip - One thing you should care about is to check if the If you use Yocto with systemV, debug console port is assign in if grep -sq ttymxc0 /proc/cmdline; then BR, Richard |
Hi,
Would someone tell me where's location of kernel source
I try to write a sample code to send data pass through RS232
but seems the board doesn't work
Then I check the servel imx6sl.dtsi files. It seems the uart3 disable by default.
If I want to enable UART3 which file of location I can edit?
P.S. ls /dev folder shows the ttymxc0~ttymxc2 is exist.
The text was updated successfully, but these errors were encountered: