公板芯片型号:MCIMX6L8DVN10AB

我的板子芯片型号:MCIMX6L2EVN10AB no GPU ,no EPDC

调板子时一定要注意,首先要搞清楚硬件芯片的具体差异,然后去nxp的官网找区别,网址如下:https://community.nxp.com/search.jspa?q=imx6sl%20no%20gpu%20no%20epdc

一直认为gpu,epdc是内核起来一定时间后才初始化的,这是错误的。

之前程序打印信息:Uncompressing Linux...  done, booting the kernel.然后就重启了,当时就认为是kernel启动的汇编有问题,一直跟,追后发现程序已经跑到内核里面了,最后死在asmlinkage void __init start_kernel(void)中的rest_init();,跟到这就不知道什么原因导致死机,因为rest_init()是创建系统的0号进程。最后只能换方法。到freescale官网上找到类似的问题,屏蔽掉epdc,和gpu就可以正常启动了,但是程序跑着跑着还是会重启

yv ...................enter do_one_initcall=1
calling init_machine_late+0x0/0x28 @ 1
cpu cpu0: dev_pm_opp_get_opp_count: device OPP not found (-19)
initcall init_machine_late+0x0/0x28 returned 0 after 7224 usecs
yv ...................enter do_one_initcall=1
calling imx_amp_power_init+0x0/0xdc @ 1
initcall imx_amp_power_init+0x0/0xdc returned 0 after 1 usecs
yv ...................enter do_one_initcall=1
calling init_oops_id+0x0/0x40 @ 1

U-Boot 2015.04 (Sep 28 2016 - 14:14:49)

并且不是死在某一个驱动函数里,因为calling init_oops_id+0x0/0x40 @ 1已经执行完了,目前只能去内核里面找,函数下一个要执行什么驱动初始化,在System.map文件中找到

58470 809a2c78 T __initcall7_start
58471 809a2c78 t __initcall_init_machine_late7
58472 809a2c7c t __initcall_imx_amp_power_init7
58473 809a2c80 t __initcall_init_oops_id7
58474 809a2c84 t __initcall_pm_qos_power_init7
猜测下一个执行的应该是pm_qos_power_init,到内核里把这一部分相关的屏蔽掉,内核没有从启现象了。但是

mmcblk1: mmc1:0007 SD16G 14.4 GiB (ro)
mmcblk1: p1 p2
wm8962 1-001a: Failed to read ID register
wm8962: probe of 1-001a failed with error -110
imx-wm8962 sound.18: failed to find codec platform device
imx-wm8962: probe of sound.18 failed with error -22
imx-spdif sound-spdif.19: snd-soc-dummy-dai <-> 2004000.spdif mapping ok
NET: Registered protocol family 26
TCP: cubic registered
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
cpu cpu0: failed to init cpufreq table: -22
imx6q-cpufreq: probe of imx6q-cpufreq failed with error -22
SWBST: disabling
SW4: disabling
wm8962-supply-4v2: disabling
wm8962-supply-3v15: disabling
usb_otg1_vbus: disabling
regulator-dummy: disabling
imx mcc test is registered.
snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0)
ALSA device list:
#0: imx-spdif
VFS: Cannot open root device "mmcblk1p2" or unknown-block(179,2): error -30
Please append a correct "root=" boot option; here are the available partitions:
1f00 8192 mtdblock0 (driver?)
b300 15159296 mmcblk1 driver: mmcblk
b301 501760 mmcblk1p1 000ab1ac-01
b302 14544896 mmcblk1p2 000ab1ac-02
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)

error -30显示是sd卡的读写权限问题,上面还识别成只读,所以去量sd卡的WP脚,果不其然,此脚一直为高,无论卡上锁还是不上锁。找到wp的配置管脚把它从上拉改成下拉,kernel总算可以正常启动了。

imx6sl 调试记录的更多相关文章

  1. SPI 核软件调试记录

    SPI 核软件调试记录 1.首先说说int SpiFlashWaitForFlashReady(void)这一函数,基本上其它函数在执行的时候,都会事先执行一次此函数.    因为此函数的作用主要是用 ...

  2. Video Timing Controller v6.1软件调试记录

    Video Timing Controller v6.1软件调试记录 GUI配置: . case XVTC_VMODE_PAL: //576i@50 { TimingPtr->Interlace ...

  3. Video Test Pattern Generator(7.0)软件调试记录

    Video Test Pattern Generator(7.0)软件调试记录 . XVidC_VideoMode XVIDC_VM_576_50_I = XVIDC_VM_720x576_50_I ...

  4. MA82G5D16AS16 主频调试记录

    MA82G5D16AS16 主频调试记录 当 SCKS 设置 为 MCKDO / 128 时 MCU 的电流为 0.58mA,100UF 电容可以维持 0.5S,大概可以满足. 但是需要注意外围的线路 ...

  5. Apusic中间件结合MyEclipse进行远程调试记录

    Apusic中间件结合MyEclipse进行远程调试记录. 在金蝶域中正常部署应用. 启动金蝶中间件时使用"startapusic -ds"命令. 在MyEclipse的Run-- ...

  6. http://stblog.baidu-tech.com/?p=1684) coredump调试记录 - PHP篇 原创: 扶墙 贝壳产品技术 今天

    http://stblog.baidu-tech.com/?p=1684) coredump调试记录 - PHP篇 原创: 扶墙 贝壳产品技术 今天

  7. 基于freescale i.Mx6(ARM)的阿里云oss调试记录

    交叉编译阿里OSS调试记录 1.1 开通oss服务 具体参考以下链接: https://help.aliyun.com/document_detail/31884.html?spm=a2c4g.111 ...

  8. [ZJCTF 2019]EasyHeap | house of spirit 调试记录

    BUUCTF 上的题目,由于部分环境没有复现,解法是非期望的 house of spirit 第一次接触伪造堆的利用方式,exp 用的是 Pwnki 师傅的,本文为调试记录及心得体会. 逆向分析的过程 ...

  9. [未完] Linux 4.4 USB —— spiflash模拟usb大容量存储设备 调试记录 Gadget Mass Stroage

    linux 4.4 USB Gadget Mass Stroage 硬件平台: licheepi nano衍生 调试记录 驱动信息 │ This driver is a replacement for ...

随机推荐

  1. 并查集 poj2236

    网址:http://poj.org/problem?id=2236 题意:有n台坏的电脑,如果每两台电脑的距离不能超过d,那么这两台电脑有联系,用字符串O 表示标记第x台电脑维修了,用S判断从X到y是 ...

  2. [git] git代理及常用命令,远程桌面代理

     1.代理 公司只能内网,上外网只能用代理,坑货! 2. 更新代码命令    1)下载代码:git clone ------------    2) 指定目录: cd 文件名    3)git add ...

  3. 基础笔记10(IO 1.7try-with-resource) 装饰模式

    1.读写的类型分为字节流和字符流,字节流一般是视频音频其他所有的类型都可以. (非文档文件使用字符流易造成未知编码(?)错误) InputStream OutputStream 抽象类 fileInp ...

  4. 关于MySQL中的三种日期类型

    Mysql中我们经常用来存储日期的数据类型有三种:Date.Datetime.Timestamp. Date数据类型用来存储没有时间的日期.Mysql获取和显示这个类型的格式为"YYYY-M ...

  5. 萝卜招聘网 http://www.it9s.com 可以发布免费下载简历求职 ,免费!免费!全部免费!找工作看过来 免费下载简历 !

    萝卜招聘网  http://www.it9s.com  可以发布免费下载简历求职 ,免费!免费!全部免费!找工作看过来 免费下载简历 !萝卜招聘网  http://www.it9s.com  可以发布 ...

  6. jquery获得option的值和对option进行操作

    Query获取Select元素,并选择的Text和Value: $("#select_id").change(function(){//code...}); //为Select添加 ...

  7. SPSS数据分析—判别分析

    判别分析作为一种多元分析技术应用相当广泛,和其他多元分析技术不同,判别分析并没有将降维作为主要任务,而是通过建立判别函数来概括各维度之间的差异,并且根据这个判别函数,将新加入的未知类别的样本进行归类, ...

  8. 关于layui

    之前用layer用了很长时间,感觉很好用,最近看到了layui的发布很想尝试尝试. 加入了挺多的功能,比如编辑器,上传,form表单等等.

  9. vue.common.js?e881:433 TypeError: Cannot read property 'nodeName' of undefined

    我觉得吧,是这么个原因,就是响应式要找这个node改它的内容,没找着,就报错了. 用computed监控vuex的state属性,绑定到页面上,如果这个属性改了,因为响应式,那么就要更改页面,如果页面 ...

  10. 一个靠谱的国外maven镜像地址

    <mirror> <id>ui</id> <mirrorOf>central</mirrorOf> <name>Human Re ...