|
发表于 2016-12-16 14:58:04
只看该作者
5#
是这样的,我先把整包ok的ubuntu固件烧进去,系统正常起来,现在需要换成android的kernel,我只烧了linux-boot.img 系统起来就说找不到linuxroot,提示信息如下:
[ 5.794135] iep dpi mode inactivity
[ 8.746157] spk_ctrl_fun:: spk status = 1
chvt: can't open console
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)
chvt: can't open console
ALERT! /dev/block/mtd/by-name/linuxroot does not exist. Dropping to a shell!
Couldn't get a file descriptor referring to the console
/scripts/panic/console_setup: line 77: can't create /dev/tty1: No such device or address
/scripts/panic/console_setup: line 1: can't open /dev/tty1: No such device or address
/scripts/panic/console_setup: line 1: can't create /dev/tty2: No such device or address
/scripts/panic/console_setup: line 1: can't open /dev/tty2: No such device or address
/scripts/panic/console_setup: line 1: can't create /dev/tty3: No such device or address
/scripts/panic/console_setup: line 1: can't open /dev/tty3: No such device or address
/scripts/panic/console_setup: line 1: can't create /dev/tty4: No such device or address
/scripts/panic/console_setup: line 1: can't open /dev/tty4: No such device or address
/scripts/panic/console_setup: line 1: can't create /dev/tty5: No such device or address
/scripts/panic/console_setup: line 1: can't open /dev/tty5: No such device or address
/scripts/panic/console_setup: line 1: can't create /dev/tty6: No such device or address
/scripts/panic/console_setup: line 1: can't open /dev/tty6: No such device or address
/bin/sh: can't access tty; job control turned off
(initramfs) DDR Version 1.00 20141007
此时我再次烧入ok的kernel,从固件中解压出来的kernel,系统能正常起来。我一直没有碰parameter文件,应该是正确的。
我的观点是目前android的kernel无法正常的将initrd 文件系统引导起来,无法云心initrd系统下的init脚本,导致不能挂在真正的根文件系统。不知当初你们从android中抠出来的kernel有没有做什么修改,或者需要一些注意的地方? |
|