NXP

i.MX6dl移植Ubuntu系统

2019-07-12 12:56发布

在恩智浦官网下载Ubuntu文件系统包  oneiric.tgz      https://www.nxp.com/webapp/sps/download/license.jsp?colCode=L3.0.35_4.1.0_UBUNTU_RF     替换掉MFG下的烧录文件系统 将 oneiric.tgz  放在Mfgtools-Rel-4.1.0_130816_MX6DL_UPDATERProfilesMX6DL Linux UpdateOS Firmwarefiles 打开MFG工具烧录Ubuntu文件系统,等候完成.....
烧写完成后开机 root@linaro-ubuntu-desktop:~# cd /lib/modules
root@linaro-ubuntu-desktop:~# ln -s 3.0.35-2666-gbdde708/  3.0.35-2666-gbdde708-g64394ee-dirty
root@linaro-ubuntu-desktop:~# date
root@linaro-ubuntu-desktop:~# hwclock
root@linaro-ubuntu-desktop:~# date --set="10 Sept 2014 5:19:00"
root@linaro-ubuntu-desktop:~# hwclock --systohc
root@linaro-ubuntu-desktop:~#  cd /var/cache/apt/archives/
root@linaro-ubuntu-desktop:~# sudo dpkg --force-architecture -i *.deb
.. waiting ...
root@linaro-ubuntu-desktop:~#  sudo depmod root@linaro-ubuntu-desktop:~# sync root@linaro-ubuntu-desktop:~# sudo halt
开机执行上面的命令Ubuntu就基本已经OK,因为串口控制台已经可输入输出了,可就是没有图形显示,而且串口一直打印 end_request: I/O error, dev mtdblock0, sector 0
Buffer I/O error on device mtdblock0, logical block 0
开始查了很久,有人说是文件系统类型没有注明,在uboot添加rootfstype=ext3,错误依旧...... cat /proc/partitions 发现除mtdblock0分区外,其他的都是mmcblk*分区,我一直使用的是emmc,怎么产生了一个mtd分区呢?
最终屏蔽掉mtd分区操作就好了