Firefly开源社区

标题: rk3328 ubuntu系统加载出错 [打印本页]

作者: tw929118212    时间: 2021-11-5 11:37
标题: rk3328 ubuntu系统加载出错
代码和文件系统镜像使用https://www.t-firefly.com/doc/download/71.html该网站提供的;RK3328-PC
编译指南按照https://wiki.t-firefly.com/zh_CN/ROC-RK3328-PC/linux_compile.html该网站操作的;RK3328-编译指南
编译完成后生成镜像,烧写的板卡,出现以下错误,而且系统不是ubuntu,我使用的是ubuntu镜像
NTFS signature is missing.
Failed to mount '/dev/mmcblk1p8': Invalid argument
The device '/dev/mmcblk1p8' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Starting network: cmdline=storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal  androidboot.slot_suffix= androidboot.serialno=d109299c2ac06111  rockchip_jtag ro rootwait earlyprintk=uart8250-32bit,0xff130000 swiotlb=1 kpti=0 console=ttyFIQ0 root=PARTLABEL=rootfs rootfstype=ext4 overlayroot=device:dev=PARTLABEL=userdata,fstype=ext4,mkfs=1 systemd.gpt_auto=0 cgroup_enable=memory swapaccount=1

read console from cmdline is /dev/ttyFIQ0
Starting recovery on Thu Jan 21 08:52:38 2016

failed to read font: res=-1, fall back to the compiled-in font
cannot find/open a drm device: No such file or directory
gr_init faile
Noui upgrade
recovery filesystem table
=========================
  0 (null) /tmp ramdisk (null) (null) (null)
  1 /dev/root / ext2 rw,noauto 0 1
  2 proc /proc proc defaults 0 0
  3 devpts /dev/pts devpts defaults,gid=5,mode=620 0 0
  4 tmpfs /dev/shm tmpfs mode=0777 0 0
  5 tmpfs /tmp tmpfs mode=1777 0 0
  6 tmpfs /run tmpfs mode=0755,nosuid,nodev 0 0
  7 sysfs /sys sysfs defaults 0 0
  8 debug /sys/kernel/debug debugfs defaults 0 0
  9 pstore /sys/fs/pstore pstore defaults 0 0
  10 /dev/block/by-name/misc /misc emmc defaults 0 0
  11 /dev/block/by-name/oem /oem ext2 defaults 0 2
  12 /dev/block/by-name/userdata /userdata ext4 defaults 0 2

buf = /dev/block/by-name/misc
### get mount_ponit = /dev/block/by-name/misc ###
emmc_point is /dev/mmcblk1
sd_point is (null)
sd_point_2 is (null)
read cmdline
>>> Boot from non-SDcard
buf = /dev/block/by-name/misc
### get mount_ponit = /dev/block/by-name/misc ###
devices is not MTD.
I:Boot command: boot-recovery
I:Got arguments from boot message
buf = /dev/block/by-name/misc
### get mount_ponit = /dev/block/by-name/misc ###
devices is not MTD.
Command: "recovery" "--wipe_all"


No link to path!!!
No link to path!!!
format '/dev/block/by-name/userdata' to ext4 filesystem
executing '/sbin/mke2fs'
OK
Debug: configfs_init
mkdir: can't create directory '/sys/kernel/config/usb_gadget/rockchip/functions/uac1.gs0': No such file or directory
mkdir: can't create directory '/sys/kernel/config/usb_gadget/rockchip/functions/uac2.gs0': No such file or directory
[    4.203104] file system registered
mkdir: can't create directory '/sys/kernel/config/usb_gadget/rockchip/functions/mtp.gs0': No such file or directory
mkdir: can't create directory '/sys/kernel/config/usb_gadget/rockchip/functions/rndis.gs0': No such file or directory
[    4.222191] Mass Storage Function, version: 2009/09/11
[    4.222695] LUN: removable file: (no medium)
mkdir: can't create directory '/sys/kernel/config/usb_gadget/rockchip/functions/uvc.gs6': No such file or directory
[    4.263387] read descriptors
[    4.263765] read strings
sh: write error: No such device
Starting input-event-daemon: input-event-daemon: Start parsing /etc/input-event-daemon.conf...
input-event-daemon: Adding device: /dev/input/event0...
input-event-daemon: Start listening on 1 devices...
done
/etc/init.d/rcS: line 28: alsactl: not found
[root@buildroot:/]#

编译完成后rockdev目录如下:
lrwxrwxrwx 1 tw tw       18 11月  5 10:48 boot.img -> ../kernel/boot.img
lrwxrwxrwx 1 tw tw       37 11月  5 10:48 MiniLoaderAll.bin -> ../u-boot/rk3328_loader_v1.16.250.bin
lrwxrwxrwx 1 tw tw       44 11月  5 10:48 misc.img -> ../device/rockchip/rockimg/wipe_all-misc.img
drwxrwxr-x 2 tw tw     4096 11月  5 11:22 pack
lrwxrwxrwx 1 tw tw       46 11月  5 10:48 parameter.txt -> ../device/rockchip/rk3328/parameter-ubuntu.txt
-rw-rw-r-- 1 tw tw 31088640 11月  5 10:48 recovery.img
lrwxrwxrwx 1 tw tw       50 11月  5 10:48 rootfs.img -> ../ubunturootfs/rk3328-ubuntu1804-arm64-rootfs.img
lrwxrwxrwx 1 tw tw       19 11月  5 10:48 trust.img -> ../u-boot/trust.img
lrwxrwxrwx 1 tw tw       19 11月  5 10:48 uboot.img -> ../u-boot/uboot.img

作者: tw929118212    时间: 2021-11-5 11:46
板卡本身没问题,使用官网提供的编译好的ubuntu是正常的
作者: pjdu    时间: 2022-5-10 09:22
我也碰到一模一样的问题,请问楼主解决了吗?
作者: 895816513    时间: 2022-7-8 09:42
你这是第一次启动进入recovery模式,没问题的。官方的系统也会进入recovery模式的,成果后自动重启。后面就进入正常启动。


https://dev.t-firefly.com/thread-104703-1-1.html




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