I.MX6 Ubuntu core porting
/***********************************************************************
* I.MX6 Ubuntu core porting
* 说明:
* 之前查资料查到了Ubuntu core的资料,然后一直想尝试将Ubuntu core放到
* I.MX6中,当然也想将其放到OK335xS中,于是今天花点时间将其放入I.MX6中。
*
* 2016-4-16 深圳 南山平山村 曾剑锋
**********************************************************************/ 一、参考文档:
. 移植ubuntu core到Arm开发板
http://blog.csdn.net/kickxxx/article/details/15341079
. Ubuntu 14.04 for i.MX6
https://support.bluetechnix.at/wiki/Ubuntu_14.04_for_i.MX6 二、download:
1. https://developer.ubuntu.com/en/snappy/
2. http://cdimage.ubuntu.com/ubuntu-base/releases/12.04/release/
3. http://mirror1.ku.ac.th/ubuntu-cdimages/ubuntu-core/
三、解压打包:
tar zxvf ubuntu-core-12.04.-core-armhf.tar.gz -C rootfs/
cd rootfs
tar jcvf rootfs.tar.bz2 *
mv rootfs.tar.bz2 ..
cd ..
cp rootfs.tar.bz2 /mnt/hgfs/Desktop/ 四、error
. error1:
. 内核打印信息在如下位置停止了:
......
EXT3-fs (mmcblk0p1): warning: checktime reached, running e2fsck is recommended
kjournald starting. Commit interval seconds
EXT3-fs (mmcblk0p1): using internal journal
EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) on device :.
Freeing init memory: 208K
init: Unable to mount /dev filesystem: No such device
. 问题原因:
debug的终端口没有打开,需要另外配置console。
. cat /etc/init/ttymxc.conf
# console - getty
#
# This service maintains a getty on console from the point the system is
# started until it is shut down again. start on stopped rc RUNLEVEL=[] and (
not-container or
container CONTAINER=lxc or
container CONTAINER=lxc-libvirt) stop on runlevel [!] respawn
exec /sbin/getty -L ttymxc0 vt102
. cat /etc/init.d/rc.local
......
start ttymxc0
......
. error2:
. root用户需要密码,去掉该功能;
. cat /etc/passwd
root::::root:/root:/bin/bash
daemon:x:::daemon:/usr/sbin:/bin/sh
bin:x:::bin:/bin:/bin/sh
sys:x:::sys:/dev:/bin/sh
sync:x:::sync:/bin:/bin/sync
games:x:::games:/usr/games:/bin/sh
man:x:::man:/var/cache/man:/bin/sh
lp:x:::lp:/var/spool/lpd:/bin/sh
mail:x:::mail:/var/mail:/bin/sh
news:x:::news:/var/spool/news:/bin/sh
uucp:x:::uucp:/var/spool/uucp:/bin/sh
proxy:x:::proxy:/bin:/bin/sh
www-data:x:::www-data:/var/www:/bin/sh
backup:x:::backup:/var/backups:/bin/sh
list:x:::Mailing List Manager:/var/list:/bin/sh
irc:x:::ircd:/var/run/ircd:/bin/sh
gnats:x:::Gnats Bug-Reporting System (admin):/var/lib/gnats:/bin/sh
nobody:x:::nobody:/nonexistent:/bin/sh
libuuid:x::::/var/lib/libuuid:/bin/sh
. error3:
. 第一次运行现象:
......
EXT3-fs: barriers not enabled
kjournald starting. Commit interval seconds
EXT3-fs (mmcblk0p1): warning: checktime reached, running e2fsck is recommended
EXT3-fs (mmcblk0p1): using internal journal
EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) on device :.
Freeing init memory: 208K
init: Unable to mount /dev filesystem: No such device
start: Unknown job: ttymxc0 Ubuntu 12.04. LTS localhost.localdomain ttymxc0 localhost login:
. 第二次运行现象:
......
EXT3-fs: barriers not enabled
kjournald starting. Commit interval seconds
EXT3-fs (mmcblk0p1): warning: checktime reached, running e2fsck is recommended
EXT3-fs (mmcblk0p1): using internal journal
EXT3-fs (mmcblk0p1): recovery complete
EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) on device :.
Freeing init memory: 208K Ubuntu 12.04. LTS localhost.localdomain ttymxc0 localhost login:
. 目前没有花时间来分析两次现象不同的原因。
I.MX6 Ubuntu core porting的更多相关文章
- I.MX6 bq27441 driver porting
/************************************************************************** * I.MX6 bq27441 driver p ...
- I.MX6 Linux udev porting
/*********************************************************************** * I.MX6 Linux udev porting ...
- I.MX6 Android iperf3 porting failed
/***************************************************************************** * I.MX6 Android iperf ...
- I.MX6 Android i2c-tools porting
/************************************************************************** * I.MX6 Android i2c-tool ...
- Ubuntu Core 网络配置
/********************************************************************************* * Ubuntu Core 网络配 ...
- .net core跨平台应用研究-ubuntu core下配置.net core运行时
引言 年初研究了一阵子.net core跨平台应用,先后发表了几篇应用研究的文章.因工作原因,忙于项目上线,有一阵子没来博客园写文章了.最近项目基本收尾,抽空翻了下自己的博客,廖廖几篇文章,真让人汗颜 ...
- ubuntu core文件
ubuntu开启core 检查是否开启core ulimit -c //0表示没有开启 开启core ulimit -c unlimited sudo sh -c 'echo 1 > /proc ...
- I.MX6 使用Ubuntu文件系统
/********************************************************************************* * I.MX6 使用Ubuntu文 ...
- I.MX6 ubuntu-core-14.04 Apache php mysql Qt5
/*************************************************************************** * I.MX6 ubuntu-core-14. ...
随机推荐
- c++ linux 下的调试工具及用法
1当程序出现core的时候: gdb out[your program] core.out.45726.1431954543 可以看到程序崩溃时候的堆栈信息. valgrind ./out 由于val ...
- DevExpress控件使用系列--ASPxUploadControl(图片上传及预览)
1.控件功能 列表控件展示数据.弹框控件执行编辑操作.Tab控件实现多标签编辑操官方说明 2.官方示例 2.1 ASPxImage http: ...
- 【BZOJ】【2819】NIM
这题……咋说捏,其实是一道披着博弈论外衣的树上操作问题…… 随便用dfs序或者树链剖分转成序列,然后查询路径上的所有点的NIM和(异或和)就行了,毕竟除了是在树上以外,就是裸的NIM问题. 树链剖分: ...
- [转载]JS中如何定义全局变量
三种方法 1.在js的function外定义一个变量 var name='测试'; function XX(){ alert(name); } 2.不使用var,直接给定义变量,隐式的声 ...
- [转载]DirectoryEntry配置IIS7出现ADSI Error:未知错误(0x80005000)
一.错误情况 环境:win7+iis7.0 DirectoryEntry配置IIS7出现如下错误 或者是 下面一段代码在IIS6.0下运转正常,但IIS7.0下运转会出错: System.Direct ...
- PAT-乙级-1050. 螺旋矩阵(25)
1050. 螺旋矩阵(25) 时间限制 150 ms 内存限制 65536 kB 代码长度限制 8000 B 判题程序 Standard 作者 CHEN, Yue 本题要求将给定的N个正整数按非递增的 ...
- unity3d GameObject.Find 严格区分大小写的
GameObject.Find 查找 static function Find (name : string) : GameObject Description描述 Finds a game obje ...
- SUDT2177体检
http://acm.sdut.edu.cn/sdutoj/problem.php?action=showproblem&problemid=2177 题目描述 大家都知道,新生入学的前几周要 ...
- lintcode:数字三角形
题目: 数字三角形 给定一个数字三角形,找到从顶部到底部的最小路径和.每一步可以移动到下面一行的相邻数字上. 样例 比如,给出下列数字三角形: [ [2], [3,4], [6 ...
- 【Apache运维基础(1)】Apache的安装与使用
安装 yum -y install httpd httpd-devel # 在Ubuntu里面叫做Apache2,输入localhost能打开就算成功了 额...当然专业的运维还是老老实实的去编译吧; ...