Firefly开源社区

标题: android平板刷Ubuntu启动停在initramfs [打印本页]

作者: 112pop    时间: 2015-7-28 17:35
标题: android平板刷Ubuntu启动停在initramfs
本帖最后由 112pop 于 2015-7-28 17:40 编辑

3288的平板想刷成Ubuntu系统,在Firefly-RK3288的内核上进行定制,挂载不上linux文件系统,请问有哪位有解决方法,主要log如下,机器不是用esmmc的,是用flash的:
[    6.488568] rockchip-hdmi-spdif rockchip-hdmi-spdif.28:  rk-hdmi-spdif-hifi <-> rockchip-spdif mapping ok
[    6.499870]   #0: RK_ES8323
[    6.502628]   #1: RK-HDMI-SPDIF
[    6.505811] 2, baud is:115200
[    6.509643] Freeing unused kernel memory: 2364K (c0a7d000 - c0ccc000)
Loading, please wait...
[    6.534379] udevd[137]: starting version 175
Begin: Loading essential drivers ... FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
done.
Begin: Running /scripts/init-premount ... ls: /sys/class/mtd/mtd[0-[    6.570795] usb 3-1: new high-speed USB device number 2 using usb20_host
9]*/name: No such file or directory
done.
Begin: Mounting root[    6.583257] Indeed it is in host mode hprt0 = 00001101
file system ... Begin: Running /scripts/local-top ... done.
[    6.788429] usb 3-1: New USB device found, idVendor=1a40, idProduct=0101
[    6.795124] usb 3-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    6.802465] usb 3-1: Product: USB 2.0 Hub
[    6.808710] hub 3-1:1.0: USB hub found
[    6.812566] hub 3-1:1.0: 4 ports detected
[   19.619255] *****************vbus detect*******************
Gave up waiting for root device.  Common problems:
- Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/block/mtd/by-name/linuxroot does not exist.  Dropping to a shell!
FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
/bin/sh: can't access tty; job control turned off
(initramfs)
(initramfs)
(initramfs)
(initramfs)

logboot.zip

13.57 KB, 下载次数: 6, 下载积分: 灯泡 -1 , 经验 -1

串口输出log


作者: qiyei2009    时间: 2015-7-28 20:47
帅哥,我遇到了和你一抹一眼样的问题,请问你是怎么解决的?我是编译pad版内核,然后挂载ubuntu文件系统就出现了和你一样的问题,你怎么解决的
作者: 112pop    时间: 2015-7-29 09:38
qiyei2009 发表于 2015-7-28 20:47
帅哥,我遇到了和你一抹一眼样的问题,请问你是怎么解决的?我是编译pad版内核,然后挂载ubuntu文件系统就 ...

还没解决
作者: 112pop    时间: 2015-7-29 09:43
我想这个问题应该是内核没有认识出FLASH
作者: qiyei2009    时间: 2015-7-29 20:39
我怀疑是内核驱动的问题,但是不知道从哪里下手呢
作者: even    时间: 2015-8-3 21:22
试试将parameter中的root=/dev/block/mtd/by-name/linuxroot改为root=/dev/mmcblk0p5,感觉是挂载时候没找到名字,具体再怎么解决,找斑竹们吧。我试了ok的。
作者: 112pop    时间: 2015-8-8 17:20
把文件系统放在SD卡中,将parameter中的root=/dev/block/mtd/by-name/linuxroot改为root=/dev/mmcblk0p2 可以了如下:

Ubuntu 14.04.2 LTS firefly ttyFIQ0

firefly login: root (automatic login)
Last login: Thu Jan  1 00:22:00 UTC 2015 on ttyFIQ0
Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.10.0 armv7l)

* Documentation:  https://help.ubuntu.com/

0 packages can be updated.
0 updates are security updates.

root@firefly:~#

就是HDMI没有显示
作者: 112pop    时间: 2015-8-8 17:22
qiyei2009 发表于 2015-7-29 20:39
我怀疑是内核驱动的问题,但是不知道从哪里下手呢

HDMI有显示嘛,可以又显嘛?
作者: 112pop    时间: 2015-8-13 15:27
通过串口输入:startX HDMI有图形界面出来了:D




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1