嘟~嘟xfwu 发表于 2024-5-7 11:40:41

roc-rk3328-pc ubuntu18.04 没办法开机

什么都没修改,只是参考https://wiki.t-firefly.com/zh_CN/ROC-RK3328-PC/linux_compile.html#bian-yi-sdk,修改了rootfs,用ubuntu18.04根文件系统替代。想开机就使用ubuntu18.04.而且这个根文件系统也是firefly官网提供的。


[    7.498124] rockchip-saradc ff280000.saradc: failed to get regulator, -517
[    7.500082]   #0: rockchip,rk3328
[    7.500389]   #1: rockchip,hdmi
[    7.501909] Freeing unused kernel memory: 1216K
/dev/console is OK
NAME=Buildroot
VERSION=2018.02-rc3-g1e7d09e844
ID=buildroot
VERSION_ID=2018.02-rc3
PRETTY_NAME="Buildroot 2018.02-rc3"
Starting logging: OK
[    7.584675] devfreq ff300000.gpu: Couldn't update frequency transition information.
Populating /dev using udev: [    7.595435] udevd: starting version 3.2.7
[    7.596884] random: udevd: uninitialized urandom read (16 bytes read, 2 bits of entropy available)
[    7.598059] random: udevd: uninitialized urandom read (16 bytes read, 2 bits of entropy available)
[    7.598998] random: udevd: uninitialized urandom read (16 bytes read, 2 bits of entropy available)
[    7.599937] random: udevd: uninitialized urandom read (16 bytes read, 2 bits of entropy available)
[    7.600940] random: udevd: uninitialized urandom read (16 bytes read, 2 bits of entropy available)
[    7.605888] udevd: specified group 'kvm' unknown
[    7.618572] udevd: starting eudev-3.2.7
[    7.663699] random: udevd: uninitialized urandom read (16 bytes read, 2 bits of entropy available)
[    7.671486] random: udevd: uninitialized urandom read (16 bytes read, 2 bits of entropy available)
done
Initializing random number generator... [    7.961141] random: dd: uninitialized urandom read (512 bytes read, 2 bits of entropy available)
done.
mount: /userdata: special device /dev/block/by-name/userdata does not exist.
Starting network: cmdline=storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normalandroidboot.slot_suffix= androidboot.serialno=feaf09f78d5750acrockchip_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 Jan1 00:00:07 1970

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 ###
stat /dev/block/by-name/misc try 1: No such file or directory
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
[    8.100907] 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
[    8.128171] Mass Storage Function, version: 2009/09/11
[    8.128687] LUN: removable file: (no medium)
mkdir: can't create directory '/sys/kernel/config/usb_gadget/rockchip/functions/uvc.gs6': No such file or directory
[    8.191841] read descriptors
[    8.192128] read strings
stat /dev/block/by-name/misc try 2: No such file or directory
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
# stat /dev/block/by-name/misc try 3: No such file or directory
stat /dev/block/by-name/misc try 4: No such file or directory
stat /dev/block/by-name/misc try 5: No such file or directory
stat /dev/block/by-name/misc try 6: No such file or directory
stat /dev/block/by-name/misc try 7: No such file or directory
stat /dev/block/by-name/misc try 8: No such file or directory
stat /dev/block/by-name/misc try 9: No such file or directory
stat /dev/block/by-name/misc try 10: No such file or directory
failed to stat /dev/block/by-name/misc
emmc_point is
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.
stat /dev/block/by-name/misc try 1: No such file or directory
stat /dev/block/by-name/misc try 2: No such file or directory
stat /dev/block/by-name/misc try 3: No such file or directory
stat /dev/block/by-name/misc try 4: No such file or directory

#
# stat /dev/block/by-name/misc try 5: No such file or directory

#
#
#
#
#
# stat /dev/block/by-name/misc try 6: No such file or directory
stat /dev/block/by-name/misc try 7: No such file or directory
stat /dev/block/by-name/misc try 8: No such file or directory
stat /dev/block/by-name/misc try 9: No such file or directory


嘟~嘟xfwu 发表于 2024-5-7 12:12:26

参考贴吧里面的修改后,提示如下,又有别的问题
[    8.003518] dwmmc_rockchip ff520000.dwmmc: IDMAC supports 32-bit address mode.
[    8.003580] dwmmc_rockchip ff520000.dwmmc: Using internal DMA controller.
[    8.003599] dwmmc_rockchip ff520000.dwmmc: Version ID is 270a
[    8.003648] dwmmc_rockchip ff520000.dwmmc: DW MMC controller at irq 40,32 bit host data width,256 deep fifo
[    8.005528] rockchip-dmc dmc: Cannot get the regulator "center"
[    8.006626] rockchip-saradc ff280000.saradc: failed to get regulator, -517
[    8.009643] Freeing unused kernel memory: 1216K
Loading, please wait...
/dev/console is Ok
[    8.092252] devfreq ff300000.gpu: Couldn't update frequency transition information.
starting version 237
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
Begin: Running /scripts/local-block ... done.
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
Begin: Running /scripts/local-block ... done.
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
done.
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
ls: /dev/mmcblk*: No such file or directory
Gave up waiting for root file system device.Common problems:
- Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT!PARTLABEL=rootfs does not exist.Dropping to a shell!


BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3.2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)

qq号2317783075 发表于 2024-5-7 13:17:38

是自己的主板还是官方的开发板?

嘟~嘟xfwu 发表于 2024-5-7 14:17:41

官方的板子哦,而且sdk也是官方的哦

嘟~嘟xfwu 发表于 2024-5-10 12:05:00

有帮忙看下吗?进入了文件系统,但是文件系统跑着卡在服务那,不能到达login

mkyx 发表于 2024-8-16 15:35:52

解决了吗
页: [1]
查看完整版本: roc-rk3328-pc ubuntu18.04 没办法开机