需要关闭imx6调试串口,用作普通的串口使用. 参考链接 http://blog.csdn.net/neiloid/article/details/7585876 http://www.cnblogs.com/helloworldtoyou/p/5437867.html 更改kernel中配置, make menuconfig Symbol: SERIAL_IMX_CONSOLE [=y] Type : boolean Prompt: Console on IMX serial port Def
串口模块的波特率比较特别,找了几个串口工具都不支持...所以,干脆用python自己来写了,其实已经好奇好久了,别人的工具各种不顺手. 需要pyserial的支持,兼容各种平台,不需要新编译二进制文件. 先贴一个定时发送的代码: import serial import time ser = serial.Serial('/dev/ttyUSB0', 250000, timeout=1) print ser.isOpen() words="gggggggggggggggg" while
imx6的工板烧录android 5.1的镜像,uboot中能使用debug口,kernel,文件系统中不能使用debug口. 打开kenel和文件系统debug口方法,在uboot的bootargs添加: androidboot.selinux Android User's Guide,中的说明. Argument to disable selinux check and enable serial input when connecting a host computer to the ta
//编辑以下文件 vi target/allwinner/astar-parrot/base-files/etc/inittab //不同系统文件路径注意更改 //文件内容如下,注释::askconsole:/bin/ash --login这条内容 ::sysinit:/etc/init.d/rcS S boot ::shutdown:/etc/init.d/rcS K shutdown #::askconsole:/bin/ash --login //再次编译以下文件: vi package
1\参考资料https://github.com/SeanXP/ARM-Tiny6410/tree/master/no-os/sd-no-os/u-boot 2\参考资料https://blog.csdn.net/xinxin_2011/article/details/85228961 3\编译sd ram128版本的uboot make ARCH=arm CROSS_COMPILE=$(编译器路径)/arm-linux- forlinx_sd_ram128_config make ARCH=