Firefly开源社区

打印 上一主题 下一主题

【技术分享】Lubuntu镜像制作

23

积分

0

威望

0

贡献

游客

积分
23
发表于 2016-5-23 23:43:28      楼主
本帖最后由 superxingzheng 于 2016-5-23 23:56 编辑

我根据hongyin的提示把板子里的root弄到了9G大小的linuxroot.img里,然后根据http://wiki.t-firefly.com/index. ... ze_android_firmware 把这个linuxroot.img 替换到从官网下载的Firefly-RK3288_Ubuntu14.04_201512031755.img里。最后板子启动的时候遇到如下错误:
[    6.836140] hub 3-1:1.0: USB hub found
[    6.858777] hub 3-1:1.0: 4 ports detected
[    6.874961] 2, baud is:115200
[    6.880143] Freeing unused kernel memory: 2368K (c0a9c000 - c0cec000)
Loading, please wait...
[    6.906364] udevd[147]: 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 ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
ext4
Begin: Running /scripts/local-premount ... FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
done.
FATAL: Could not load /lib/modules/3.10.0/modules.dep: No such file or directory
[    8.040147] JBD2: no valid journal superblock found
[    8.049623] EXT4-fs (mmcblk0p5): error loading journal
mount: mounting /dev/block/mtd/by-name/linuxroot on /root failed: Invalid argument
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
done.
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg.
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) [   11.751428] [otg id chg] last id -1 current id 1
[   11.773911] PortPower off
[   11.794151] rk_battery_charger_detect_cb , battery_charger_detect 6
[   11.917758] Using Buffer DMA mode
[   11.922865] Periodic Transfer Interrupt Enhancement - disabled
[   11.930489] Multiprocessor Interrupt Enhancement - disabled
[   11.937847] OTG VER PARAM: 0, OTG VER FLAG: 0
[   11.944053] ^^^^^^^^^^^^^^^^^Device Mode
[   11.987771] es8323_create file error
[   12.440211] ***************vbus detect*****************
[   12.465902] rk_battery_charger_detect_cb , battery_charger_detect 1
[  592.980432]
[  592.980432] rk_fb_switch_screen lcdc_id 0 type 1 enable 0
[  592.980470] VGA SUSPEND
[  592.980544] rk_iommu ff930300.vopb_mmu: (vopb) Disabled
[  592.980558] rk_iommu ff930300.vopb_mmu: rockchip_iommu_detach_device: Detached IOMMU with pgtable 0x2e23b000
[  593.005209] rk3288-lcdc lcdc0: blank mode:1


是不是跟改了linux root的大小有关? 生成img之前,有没有哪里需要调整?



回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表