|
firefly-reload3288 编译内核 烧录更新进不了系统?
发表于 2018-7-11 18:27:10
浏览:7884
|
回复:0
打印
只看该作者
[复制链接]
楼主
根据维基下载编译firefly-rk3288-kernel内核:
cd ~/UbuntuDev
git clone https://github.com/T-Firefly/firefly-3.14-kernel
cd ~/UbuntuDev/firefly-3.14-kernel/
make firefly-rk3288_defconfig
make -j8 firefly-rk3288.img
cd ~/UbuntuDev/
git clone https://github.com/TeeFirefly/initrd.git
make -C initrd
将 kernel 和 initrd 打包成 boot.img:
cd ~/UbuntuDev/firefly-3.14-kernel/
./mkbootimg --kernel arch/arm/boot/zImage --ramdisk ../initrd.img --second resource.img -o boot.img
git clone -b u-boot-rk3288 https://github.com/linux-rockchip/u-boot-rockchip.git u-boot
cd u-boot
make rk3288_defconfig
make -j4
parameter:CMDLINE:earlyprintk=ttyS2,115200 console=tty0 console=ttyS2,115200 androidboot.selinux=permissive androidboot.hardware=rk30board androidboot.console=ttyS2
通过上面的步骤:然后进行刷机,打印下面的log,感觉emmc有问题,帮忙看一下
root=/dev/mmcblk0p3 linuxroot rw rootfstype=ext4 init=/sbin/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00010000@0x00002000
(boot),0x00002000@0x00012000(backup),-@0x00014000(linuxroot)
4.415935] Freeing unused kernel memory: 504K (c0d00000 - c0d7e000)
Loading, please wait...
[ 4.441624] udevd[120]: starting version 175
Begin: Loading essential drivers ... FATAL: Could not load /lib/modules/3.14.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.14.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.14.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.14.0/modules.dep: No such file or directory
done.
Begin: Running /scripts/init-premount ... Waiting for eMMC storage...
Waiting for eMMC storage...
Waiting for eMMC storage...
Waiting for eMMC storage...
Waiting for eMMC storage...
Waiting for eMMC storage...
Waiting for eMMC storage...
Waiting for eMMC storage...
Waiting for eMMC storage...
Waiting for eMMC storage...
Timeout!
done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
[ 11.000305] ES8323 2-0010: mic_state_switch 0
[ 11.005354] ES8323 2-0010: hp_det = 1,deinsert hp
[ 11.042503] ES8323 2-0010: hp mic use extern
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/mmcblk0p3 does not exist. Dropping to a shell!
FATAL: Could not load /lib/modules/3.14.0/modules.dep: No such file or directory
FATAL: Could not load /lib/modules/3.14.0/modules.dep: No such file or directory
/bin/sh: can't access tty; job control turned off
(initramfs) |
|