/***********************************************************************
* 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的更多相关文章

  1. I.MX6 bq27441 driver porting

    /************************************************************************** * I.MX6 bq27441 driver p ...

  2. I.MX6 Linux udev porting

    /*********************************************************************** * I.MX6 Linux udev porting ...

  3. I.MX6 Android iperf3 porting failed

    /***************************************************************************** * I.MX6 Android iperf ...

  4. I.MX6 Android i2c-tools porting

    /************************************************************************** * I.MX6 Android i2c-tool ...

  5. Ubuntu Core 网络配置

    /********************************************************************************* * Ubuntu Core 网络配 ...

  6. .net core跨平台应用研究-ubuntu core下配置.net core运行时

    引言 年初研究了一阵子.net core跨平台应用,先后发表了几篇应用研究的文章.因工作原因,忙于项目上线,有一阵子没来博客园写文章了.最近项目基本收尾,抽空翻了下自己的博客,廖廖几篇文章,真让人汗颜 ...

  7. ubuntu core文件

    ubuntu开启core 检查是否开启core ulimit -c //0表示没有开启 开启core ulimit -c unlimited sudo sh -c 'echo 1 > /proc ...

  8. I.MX6 使用Ubuntu文件系统

    /********************************************************************************* * I.MX6 使用Ubuntu文 ...

  9. I.MX6 ubuntu-core-14.04 Apache php mysql Qt5

    /*************************************************************************** * I.MX6 ubuntu-core-14. ...

随机推荐

  1. ios 开发常用快捷键

    CTRL + K 删除一行,尽量在行首处使用: CMD+ /  注释,取消注释 CMD + R  运行 CMD + . 停止运行 CMD + F   普通搜索 CMD + CTRL + ↑/↓ 切换头 ...

  2. Nginx配置一个自签名的SSL证书

    http://www.liaoxuefeng.com/article/0014189023237367e8d42829de24b6eaf893ca47df4fb5e000 要保证Web浏览器到服务器的 ...

  3. Understanding and Using Servlet Filters

    Overview of How Filters Work This section provides an overview of the following topics: How the Serv ...

  4. HDU 2544 最短路(模板题)

    求1到N的最短路径,模板题,以1为源点,用dijkstra算法(可以用优先级队列优化) #include <iostream> #include <algorithm> #in ...

  5. hdu 1309 Loansome Car Buyer

    纯粹的阅读理解题………… ;}

  6. sublime 复制黏贴等快捷键修改

    在 keyboard-binding user 里 增加个人配置来覆盖默认配置 [ { "keys": ["ctrl+z"], "command&qu ...

  7. mysql字段的适当冗余有利于提高查询速度

    CREATE TABLE `comment` (  `c_id` int(11) NOT NULL auto_increment COMMENT '评论ID',  `u_id` int(11) NOT ...

  8. 格林治时间,也就是返回从 UTC 1970 年 1 月 1 日午夜开始经过的毫秒数。

    格林治时间,也就是返回从 UTC 1970 年 1 月 1 日午夜开始经过的毫秒数. (* Delphi获取13位格林治时间实现方法, 与java中的java.lang.System.currentT ...

  9. asp.net(C#)读取word 文档的方法

    第一种方法 Response.ClearContent(); Response.ClearHeaders(); Response.ContentType = "Application/msw ...

  10. Shell 是个什么玩意

    Shell的定义: 计算机分为软件和硬件,管理计算机硬件的是操作系统,也就是我们说的kernel,而这个核心是需要被保护起来的. 那我们如何通过软件与硬件进行沟通,让硬件执行我们要完成的指令呢? 这个 ...