OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 819|回复: 1

imx6ull使用MFG烧写后启动文件系统挂载失败

[复制链接]

2

主题

7

帖子

0

精华

新手上路

积分
45
金钱
45
注册时间
2012-3-25
在线时间
5 小时
发表于 2020-8-16 21:24:01 | 显示全部楼层 |阅读模式
1金钱
1、 使用MFG烧写u-boot-alientek-emmc.imx、zImage-alientek-emmc、imx6ull-alientek-emmc.dtb、rootfs-alientek-emmc.tar.bz2到EMMC
2、复位系统,出现文件系统错误,
详细信息如下:
  1. Starting kernel ...

  2. Booting Linux on physical CPU 0x0
  3. Linux version 4.1.15 (root@jack-virtual-machine) (gcc version 4.9.4 (Linaro GCC 4.9-2017.01) ) #1                                                        SMP PREEMPT Tue Jul 28 22:36:05 CST 2020
  4. CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
  5. CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
  6. Machine model: Freescale i.MX6 ULL 14x14 EVK Board
  7. Reserved memory: created CMA memory pool at 0x8c000000, size 320 MiB
  8. Reserved memory: initialized node linux,cma, compatible id shared-dma-pool
  9. Memory policy: Data cache writealloc
  10. PERCPU: Embedded 12 pages/cpu @8bb32000 s16768 r8192 d24192 u49152
  11. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
  12. Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk1p2 rootwait rw
  13. PID hash table entries: 2048 (order: 1, 8192 bytes)
  14. Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
  15. Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
  16. Memory: 180852K/524288K available (6883K kernel code, 322K rwdata, 2356K rodata, 400K init, 424K b                                                       ss, 15756K reserved, 327680K cma-reserved, 0K highmem)
  17. Virtual kernel memory layout:
  18.     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
  19.     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
  20.     vmalloc : 0xa0800000 - 0xff000000   (1512 MB)
  21.     lowmem  : 0x80000000 - 0xa0000000   ( 512 MB)
  22.     pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
  23.     modules : 0x7f000000 - 0x7fe00000   (  14 MB)
  24.       .text : 0x80008000 - 0x8090df3c   (9240 kB)
  25.       .init : 0x8090e000 - 0x80972000   ( 400 kB)
  26.       .data : 0x80972000 - 0x809c29c0   ( 323 kB)
  27.        .bss : 0x809c5000 - 0x80a2f2f0   ( 425 kB)
  28. SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  29. Preemptible hierarchical RCU implementation.
  30.         Additional per-CPU info printed with stalls.
  31.         RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
  32. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
  33. NR_IRQS:16 nr_irqs:16 16
  34. mxc_clocksource_init 3000000
  35. Switching to timer-based delay loop, resolution 333ns
  36. sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
  37. clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
  38. Console: colour dummy device 80x30
  39. Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=3000                                                       0)
  40. pid_max: default: 32768 minimum: 301
  41. Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  42. Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  43. CPU: Testing write buffer coherency: ok
  44. /cpus/cpu@0 missing clock-frequency property
  45. CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
  46. Setting up static identity map for 0x80008280 - 0x800082f0
  47. Brought up 1 CPUs
  48. SMP: Total of 1 processors activated (6.00 BogoMIPS).
  49. CPU: All CPU(s) started in SVC mode.
  50. devtmpfs: initialized
  51. device-tree: Duplicate name in lcdif@021c8000, renamed to "display#1"
  52. VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
  53. clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  54. pinctrl core: initialized pinctrl subsystem
  55. NET: Registered protocol family 16
  56. DMA: preallocated 256 KiB pool for atomic coherent allocations
  57. cpuidle: using governor ladder
  58. cpuidle: using governor menu
  59. hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
  60. hw-breakpoint: maximum watchpoint size is 8 bytes.
  61. imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
  62. imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
  63. mxs-dma 1804000.dma-apbh: initialized
  64. SCSI subsystem initialized
  65. usbcore: registered new interface driver usbfs
  66. usbcore: registered new interface driver hub
  67. usbcore: registered new device driver usb
  68. i2c i2c-0: IMX I2C adapter registered
  69. i2c i2c-0: can't use DMA
  70. i2c i2c-1: IMX I2C adapter registered
  71. i2c i2c-1: can't use DMA
  72. Linux video capture interface: v2.00
  73. pps_core: LinuxPPS API ver. 1 registered
  74. pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  75. PTP clock support registered
  76. Advanced Linux Sound Architecture Driver Initialized.
  77. Switched to clocksource mxc_timer1
  78. NET: Registered protocol family 2
  79. TCP established hash table entries: 4096 (order: 2, 16384 bytes)
  80. TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
  81. TCP: Hash tables configured (established 4096 bind 4096)
  82. UDP hash table entries: 256 (order: 1, 8192 bytes)
  83. UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
  84. NET: Registered protocol family 1
  85. RPC: Registered named UNIX socket transport module.
  86. RPC: Registered udp transport module.
  87. RPC: Registered tcp transport module.
  88. RPC: Registered tcp NFSv4.1 backchannel transport module.
  89. imx rpmsg driver is registered.
  90. Bus freq driver module loaded
  91. futex hash table entries: 256 (order: 2, 16384 bytes)
  92. VFS: Disk quotas dquot_6.6.0
  93. VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
  94. NFS: Registering the id_resolver key type
  95. Key type id_resolver registered
  96. Key type id_legacy registered
  97. jffs2: version 2.2. (NAND) &#169; 2001-2006 Red Hat, Inc.
  98. fuse init (API version 7.23)
  99. io scheduler noop registered
  100. io scheduler deadline registered
  101. io scheduler cfq registered (default)
  102. imx-weim 21b8000.weim: Driver registered.
  103. backlight supply power not found, using dummy regulator
  104. 21c8000.lcdif supply lcd not found, using dummy regulator
  105. mxsfb 21c8000.lcdif: failed to find mxc display driver
  106. Console: switching to colour frame buffer device 60x34
  107. mxsfb 21c8000.lcdif: initialized
  108. imx-sdma 20ec000.sdma: no event needs to be remapped
  109. imx-sdma 20ec000.sdma: loaded firmware 3.3
  110. imx-sdma 20ec000.sdma: initialized
  111. 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 18, base_baud = 5000000) is a IMX
  112. console [ttymxc0] enabled
  113. 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 235, base_baud = 5000000) is a IMX
  114. imx sema4 driver is registered.
  115. [drm] Initialized drm 1.1.0 20060810
  116. [drm] Initialized vivante 1.0.0 20120216 on minor 0
  117. brd: module loaded
  118. loop: module loaded
  119. fsl-quadspi 21e0000.qspi: unrecognized JEDEC id bytes: ff, ff, ff
  120. fsl-quadspi 21e0000.qspi: Freescale QuadSPI probe failed
  121. 20b4000.ethernet supply phy not found, using dummy regulator
  122. pps pps0: new PPS source ptp0
  123. fec 20b4000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00
  124. fec 20b4000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 16:f1:53:44:a                                                       f:da
  125. libphy: fec_enet_mii_bus: probed
  126. fec 20b4000.ethernet eth0: registered PHC device 0
  127. 2188000.ethernet supply phy not found, using dummy regulator
  128. pps pps1: new PPS source ptp1
  129. fec 2188000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00
  130. fec 2188000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 9e:d6:f3:65:8                                                       b:30
  131. fec 2188000.ethernet eth1: registered PHC device 1
  132. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  133. ehci-mxc: Freescale On-Chip EHCI Host driver
  134. usbcore: registered new interface driver usb-storage
  135. 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
  136. 2184000.usb supply vbus not found, using dummy regulator
  137. 2184200.usb supply vbus not found, using dummy regulator
  138. ci_hdrc ci_hdrc.1: EHCI Host Controller
  139. ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
  140. ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
  141. hub 1-0:1.0: USB hub found
  142. hub 1-0:1.0: 1 port detected
  143. Mass Storage Function, version: 2009/09/11
  144. LUN: removable file: (no medium)
  145. no file given for LUN0
  146. g_mass_storage ci_hdrc.0: failed to start g_mass_storage: -22
  147. mousedev: PS/2 mouse device common for all mice
  148. input: 20cc000.snvs:snvs-powerkey as /devices/platform/soc/2000000.aips-bus/20cc000.snvs/20cc000.s                                                       nvs:snvs-powerkey/input/input0
  149. input: iMX6UL TouchScreen Controller as /devices/platform/soc/2000000.aips-bus/2040000.tsc/input/i                                                       nput1
  150. snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
  151. i2c /dev entries driver
  152. IR NEC protocol handler initialized
  153. IR RC5(x/sz) protocol handler initialized
  154. IR RC6 protocol handler initialized
  155. IR JVC protocol handler initialized
  156. IR Sony protocol handler initialized
  157. IR SANYO protocol handler initialized
  158. IR Sharp protocol handler initialized
  159. IR MCE Keyboard/mouse protocol handler initialized
  160. IR XMP protocol handler initialized
  161. pxp-v4l2 pxp_v4l2: initialized
  162. imx2-wdt 20bc000.wdog: use WDOG_B to reboot.
  163. imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
  164. sdhci: Secure Digital Host Controller Interface driver
  165. sdhci: Copyright(c) Pierre Ossman
  166. sdhci-pltfm: SDHCI platform and OF driver helper
  167. /soc/aips-bus@02100000/usdhc@02190000: voltage-ranges unspecified
  168. sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
  169. sdhci-esdhc-imx 2190000.usdhc: No vqmmc regulator found
  170. mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
  171. /soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified
  172. sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found
  173. sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
  174. mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
  175. usbcore: registered new interface driver usbhid
  176. usbhid: USB HID core driver
  177. usb 1-1: new high-speed USB device number 2 using ci_hdrc
  178. NET: Registered protocol family 10
  179. sit: IPv6 over IPv4 tunneling driver
  180. NET: Registered protocol family 17
  181. Key type dns_resolver registered
  182. mmc1: MAN_BKOPS_EN bit is not set
  183. Registering SWP/SWPB emulation handler
  184. snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 05:35:17 UTC (20117)
  185. VSD_3V3: disabling
  186. can-3v3: disabling
  187. ALSA device list:
  188.   No soundcards found.
  189. Waiting for root device /dev/mmcblk1p2...
  190. mmc1: new HS200 MMC card at address 0001
  191. mmcblk1: mmc1:0001 8GTF4R 7.28 GiB
  192. mmcblk1boot0: mmc1:0001 8GTF4R partition 1 4.00 MiB
  193. mmcblk1boot1: mmc1:0001 8GTF4R partition 2 4.00 MiB
  194. mmcblk1rpmb: mmc1:0001 8GTF4R partition 3 512 KiB
  195. mmcblk1: p1 p2
  196. hub 1-1:1.0: USB hub found
  197. hub 1-1:1.0: 4 ports detected
  198. kjournald starting.  Commit interval 5 seconds
  199. EXT3-fs (mmcblk1p2): using internal journal
  200. EXT3-fs (mmcblk1p2): mounted filesystem with ordered data mode
  201. VFS: Mounted root (ext3 filesystem) on device 179:2.
  202. devtmpfs: error mounting -2
  203. Freeing unused kernel memory: 400K (8090e000 - 80972000)
  204. Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. See Linux                                                        Documentation/init.txt for guidance.
  205. ---[ end Kernel panic - not syncing: No working init found.  Try passing init= option to kernel. S                                                       ee Linux Documentation/init.txt for guidance.
  206. random: nonblocking pool is initialized

复制代码


最佳答案

查看完整内容[请看2#楼]

解决办法: 重新打包根文件系统,直接打包成要烧录的文件名: 那么之前是怎么做的呢,先按照教程打包成:rootfs.tar.bz2,发送到windows,注意,区别就在此,又在windows下重命名为rootfs-alientek-emmc.tar.bz2,这样烧写到emmc中后重启就出现了上面的错误。
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

2

主题

7

帖子

0

精华

新手上路

积分
45
金钱
45
注册时间
2012-3-25
在线时间
5 小时
 楼主| 发表于 2020-8-16 21:24:02 | 显示全部楼层
解决办法:
重新打包根文件系统,直接打包成要烧录的文件名:
  1. tar -vcjf rootfs-alientek-emmc.tar.bz2 *
复制代码
那么之前是怎么做的呢,先按照教程打包成:rootfs.tar.bz2,发送到windows,注意,区别就在此,又在windows下重命名为rootfs-alientek-emmc.tar.bz2,这样烧写到emmc中后重启就出现了上面的错误。
回复

使用道具 举报

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

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2024-11-25 16:29

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表