Firefly开源社区

打印 上一主题 下一主题

[Linux] rk3328 ubuntu系统加载出错

7

积分

0

威望

0

贡献

吃瓜的群众

积分
7

rk3328 ubuntu系统加载出错

发表于 2021-11-5 11:37:57      浏览:6241 | 回复:3        打印      只看该作者   [复制链接] 楼主
代码和文件系统镜像使用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
回复

使用道具 举报

7

积分

0

威望

0

贡献

吃瓜的群众

积分
7
发表于 2021-11-5 11:46:45        只看该作者  沙发
板卡本身没问题,使用官网提供的编译好的ubuntu是正常的
回复

使用道具 举报

19

积分

0

威望

0

贡献

技术小白

积分
19
发表于 2022-5-10 09:22:30        只看该作者  板凳
我也碰到一模一样的问题,请问楼主解决了吗?
回复

使用道具 举报

899

积分

0

威望

6

贡献

技术大神

Rank: 8Rank: 8

积分
899
发表于 2022-7-8 09:42:30        只看该作者  地板
你这是第一次启动进入recovery模式,没问题的。官方的系统也会进入recovery模式的,成果后自动重启。后面就进入正常启动。


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

使用道具 举报

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

本版积分规则

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