重庆网站seo技术,中国菲律宾南海争端,wordpress文章加载特效,百度推广工作怎么样在Yocto中为NXP的i.MX系列芯片构建Linux系统时#xff0c;可以加入一些实用工具#xff0c;比如直接操作内存的memtool。 这些工具在imx-test包中#xff0c;比如imx-test_git.bb里。 比如在imx-image-core.bb中#xff0c;IMAGE_INSTALL imx-test #xff0… 在Yocto中为NXP的i.MX系列芯片构建Linux系统时可以加入一些实用工具比如直接操作内存的memtool。 这些工具在imx-test包中比如imx-test_git.bb里。 比如在imx-image-core.bb中IMAGE_INSTALL imx-test 在build出来的image文件里就会包含这些工具。烧写到板子上在文件系统中找到工具就可以使用。 或者可以使用预先编译好的二进制工具copy到板子里来运行也可以。 比如我将官方提供的二进制烧写文件mount到Ubuntu上再从里面copy出memtoolcopy到板子上运行如下 ~# memtool
Usage: Read memory: memtool [-8 | -16 | -32] phys addr count
Write memory: memtool [-8 | -16 | -32] phys addrvalue List SOC module: memtool *. or memtool .
Read register: memtool UART1.* memtool UART1.UMCR memtool UART1.UMCR.MDEN memtool UART1.-
Write register: memtool UART.UMCR0x12 memtool UART.UMCR.MDEN0x1
Default access size is 32-bit. Address, count and value are all in hex. To support autocompete feature please run below command: complete -o nospace -C /unit_tests/memtool memtool 比如我在芯片手册上考到一个寄存的地址想查这个寄存器的值 # memtool 0x43830054 1
E
Reading 0x1 count starting at address 0x43830054 0x43830054: 06FD4C3C 默认读取的是32bit4字节内容。1表示1个单位。