Firefly开源社区

打印 上一主题 下一主题

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

82

积分

0

威望

0

贡献

技术小白

积分
82

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

发表于 2024-5-7 11:40:41      浏览:1595 | 回复:5        打印      只看该作者   [复制链接] 楼主
  • 固件类型: 自行编译的固件
  • SDK包名称: rk3328_linux_release_v2.5.1_20210301_firefly_split
  • SDK更新到哪个COMMIT: 0000-00-00 00:00:00
  • SDK修改内容: 什么都没修改,只是参考https://wiki.t-firefly.com/zh_CN/ROC-RK3328-PC/linux_compile.html#bian-yi-sdk,修改了rootfs,用ubuntu18.04根文件系统替代。想开机就使用ubuntu18.04.而且这个根文件系统也是firefly官网提供的。
  • Log日志: 3328linux20240507.rar
问题描述及复现步骤:
什么都没修改,只是参考https://wiki.t-firefly.com/zh_CN ... le.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[184]: 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[184]: specified group 'kvm' unknown
[    7.618572] udevd[185]: 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=normal  androidboot.slot_suffix= androidboot.serialno=feaf09f78d5750ac  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  1 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
[root@buildroot:/]# 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

[root@buildroot:/]#
[root@buildroot:/]# stat /dev/block/by-name/misc try 5: No such file or directory

[root@buildroot:/]#
[root@buildroot:/]#
[root@buildroot:/]#
[root@buildroot:/]#
[root@buildroot:/]#
[root@buildroot:/]# 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


3328linux20240507.rar

13.15 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

82

积分

0

威望

0

贡献

技术小白

积分
82
发表于 2024-5-7 12:12:26        只看该作者  沙发
参考贴吧里面的修改后,提示如下,又有别的问题
  1. [    8.003518] dwmmc_rockchip ff520000.dwmmc: IDMAC supports 32-bit address mode.
  2. [    8.003580] dwmmc_rockchip ff520000.dwmmc: Using internal DMA controller.
  3. [    8.003599] dwmmc_rockchip ff520000.dwmmc: Version ID is 270a
  4. [    8.003648] dwmmc_rockchip ff520000.dwmmc: DW MMC controller at irq 40,32 bit host data width,256 deep fifo
  5. [    8.005528] rockchip-dmc dmc: Cannot get the regulator "center"
  6. [    8.006626] rockchip-saradc ff280000.saradc: failed to get regulator, -517
  7. [    8.009643] Freeing unused kernel memory: 1216K
  8. Loading, please wait...
  9. /dev/console is Ok
  10. [    8.092252] devfreq ff300000.gpu: Couldn't update frequency transition information.
  11. starting version 237
  12. Begin: Loading essential drivers ... done.
  13. Begin: Running /scripts/init-premount ... done.
  14. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
  15. Begin: Running /scripts/local-premount ... done.
  16. ls: /dev/mmcblk*: No such file or directory
  17. ls: /dev/mmcblk*: No such file or directory
  18. ls: /dev/mmcblk*: No such file or directory
  19. ls: /dev/mmcblk*: No such file or directory
  20. ls: /dev/mmcblk*: No such file or directory
  21. ls: /dev/mmcblk*: No such file or directory
  22. ls: /dev/mmcblk*: No such file or directory
  23. ls: /dev/mmcblk*: No such file or directory
  24. ls: /dev/mmcblk*: No such file or directory
  25. ls: /dev/mmcblk*: No such file or directory
  26. Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
  27. ls: /dev/mmcblk*: No such file or directory
  28. ls: /dev/mmcblk*: No such file or directory
  29. ls: /dev/mmcblk*: No such file or directory
  30. ls: /dev/mmcblk*: No such file or directory
  31. ls: /dev/mmcblk*: No such file or directory
  32. ls: /dev/mmcblk*: No such file or directory
  33. ls: /dev/mmcblk*: No such file or directory
  34. ls: /dev/mmcblk*: No such file or directory
  35. ls: /dev/mmcblk*: No such file or directory
  36. ls: /dev/mmcblk*: No such file or directory
  37. Begin: Running /scripts/local-block ... done.
  38. ls: /dev/mmcblk*: No such file or directory
  39. ls: /dev/mmcblk*: No such file or directory
  40. ls: /dev/mmcblk*: No such file or directory
  41. ls: /dev/mmcblk*: No such file or directory
  42. ls: /dev/mmcblk*: No such file or directory
  43. ls: /dev/mmcblk*: No such file or directory
  44. ls: /dev/mmcblk*: No such file or directory
  45. ls: /dev/mmcblk*: No such file or directory
  46. ls: /dev/mmcblk*: No such file or directory
  47. ls: /dev/mmcblk*: No such file or directory
  48. Begin: Running /scripts/local-block ... done.
  49. ls: /dev/mmcblk*: No such file or directory
  50. ls: /dev/mmcblk*: No such file or directory
  51. ls: /dev/mmcblk*: No such file or directory
  52. ls: /dev/mmcblk*: No such file or directory
  53. ls: /dev/mmcblk*: No such file or directory
  54. ls: /dev/mmcblk*: No such file or directory
  55. ls: /dev/mmcblk*: No such file or directory
  56. ls: /dev/mmcblk*: No such file or directory
  57. ls: /dev/mmcblk*: No such file or directory
  58. ls: /dev/mmcblk*: No such file or directory
  59. done.
  60. ls: /dev/mmcblk*: No such file or directory
  61. ls: /dev/mmcblk*: No such file or directory
  62. ls: /dev/mmcblk*: No such file or directory
  63. ls: /dev/mmcblk*: No such file or directory
  64. ls: /dev/mmcblk*: No such file or directory
  65. ls: /dev/mmcblk*: No such file or directory
  66. ls: /dev/mmcblk*: No such file or directory
  67. ls: /dev/mmcblk*: No such file or directory
  68. ls: /dev/mmcblk*: No such file or directory
  69. ls: /dev/mmcblk*: No such file or directory
  70. Gave up waiting for root file system device.  Common problems:
  71. - Boot args (cat /proc/cmdline)
  72.    - Check rootdelay= (did the system wait long enough?)
  73. - Missing modules (cat /proc/modules; ls /dev)
  74. ALERT!  PARTLABEL=rootfs does not exist.  Dropping to a shell!


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

  77. (initramfs)
复制代码
回复

使用道具 举报

284

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
284
发表于 2024-5-7 13:17:38        只看该作者  板凳
是自己的主板还是官方的开发板?
回复

使用道具 举报

82

积分

0

威望

0

贡献

技术小白

积分
82
发表于 2024-5-7 14:17:41        只看该作者  地板
官方的板子哦,而且sdk也是官方的哦
回复

使用道具 举报

82

积分

0

威望

0

贡献

技术小白

积分
82
发表于 2024-5-10 12:05:00        只看该作者  5#
有帮忙看下吗?进入了文件系统,但是文件系统跑着卡在服务那,不能到达login

回复

使用道具 举报

52

积分

0

威望

0

贡献

技术小白

积分
52
发表于 2024-8-16 15:35:52        只看该作者  6#
解决了吗
回复

使用道具 举报

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

本版积分规则

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