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. ...
随机推荐
- linux进程管理之开机启动
下面用自启动apache为例;自启动脚本:/usr/local/apache2/bin:./apachectl start文件位于/etc/rc.d/init.d下,名为apached, 注意要可执行 ...
- 控制DIV属性——实现盒子长、宽、背景等变化
写在最前面:Demo的源起来自于http://js.fgm.cc/learn/,但是实现部分都是经过自己思考和优化的,有时会借助别人的图片,然而“窃喜”.如无特殊说明,demo都是经过ie6.ie7等 ...
- poj 3170
两遍bfs ~ #include <cstdio> #include <cstdlib> //#include <cmath> #include <map&g ...
- hdu 4111 Alice and Bob 博弈论
这里有2种方法: 方法一:求SG函数 sg[i][j]:i表示1的个数,j表示合并操作的步数. 这共有4种操作: 1.消除一个1: 2.减掉一个1: 3.合并2个1: 4.把1合并到另外不是1中. 代 ...
- hdu 1536/1944 / POJ 2960 / ZOJ 3084 S-Nim 博弈论
简单的SG函数应用!!! 代码如下: #include<iostream> #include<stdio.h> #include<algorithm> #inclu ...
- 纯互联网项目“失宠”乐博资本杨宁称今后只投O2O
从去年开始,我们接下来会进入全新的时代,就是智能一切的时代!过去的互联网都在电脑里,都在服务器里,包括现在移动云也是,大数据都是在服务器里面,真正我们身边的东西,智能含量是非常低的.包括你家洗衣机.冰 ...
- eclipse安装反编译插件
1. 进入http://jadclipse.sourceforge.net/wiki/index.php/Main_Page#Download 下载 net.sf.jadclipse ...
- WCF入门(二)-----实战开发
在这个实战中我们将使用DataContract,ServiceContract来构建WCF服务,并使用VS2008内置的“WCFSVCHost”运行我们创建的WCF服务,并使用“WCF测试客户端”来测 ...
- JVM最多可创建多少线程
JVM可支持的最大线程数 JVM最大线程数 (2012-07-04 23:20:15) 转载▼ 标签: jvm 最大线程数 it 分类: java分布式总结 摘自:http://sesame.itey ...
- 77. Combinations
题目: Given two integers n and k, return all possible combinations of k numbers out of 1 ... n. For ex ...