野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 9352|回复: 11

[已解决] EBF6ULL S1版本使用SD卡

[复制链接]
发表于 2020-5-21 16:27:07 | 显示全部楼层 |阅读模式
我有一片野火i.MX6ULL開發板,用了野火提供的Debian映象檔,用SD卡開機之後就直接把OS寫入裡面的eMMC,所以SD卡接線訊號是沒有問題的。
現在我遇到一個問題是,eMMC開機後,我把SD卡插進去SD卡的插槽,在/dev/底下沒有任何新的硬體裝置冒出來,我有注意到SD卡在燒錄至eMMC的過程,eMMC的裝置名稱是mmcblk1,SD卡是mmcblk0,但是直接從eMMC開機後插入SD卡就是沒有反應,有想過是不是WiFi/BT沒有關掉,用fire-config確認過是關閉的,不曉得是不是有其他地方需要注意才能使用?我只是要把SD卡當成儲存裝置,或者把eMMC整個複製到SD卡上,不過這兩個前提是系統要先認得SD卡才行。

先謝謝各位先進的回答。
回复

使用道具 举报

发表于 2020-5-21 16:35:35 | 显示全部楼层
先断开wifi模组的电源试试
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-5-21 17:23:30 | 显示全部楼层
flyleaf 发表于 2020-5-21 16:35
先断开wifi模组的电源试试

請問是J2嗎?上面沒有jumper。 截图202005211722149116..png
回复 支持 反对

使用道具 举报

发表于 2020-5-21 19:05:59 | 显示全部楼层
硬件上SD卡和WIFI公用同一组SDIO?
回复 支持 反对

使用道具 举报

发表于 2020-5-21 21:02:39 | 显示全部楼层
可以把内核打印的信息发出来看看,命令是dmesg
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-5-22 08:23:24 | 显示全部楼层
這是dmesg的輸出
  1. [    0.000000] Booting Linux on physical CPU 0x0
  2. [    0.000000] Linux version 4.19.71-imx-r1 (root@ebf-dev) (gcc version 7.5.0 (Ubuntu/Linaro 7.5.0-3ubuntu1~18.04)) #1stable SMP PREEMPT Thu Apr 9 17:38:42 CST 2020
  3. [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
  4. [    0.000000] CPU: div instructions available: patching division code
  5. [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
  6. [    0.000000] OF: fdt: Machine model: Seeed i.MX6 ULL NPi Board
  7. [    0.000000] Memory policy: Data cache writealloc
  8. [    0.000000] Reserved memory: created CMA memory pool at 0x8c000000, size 320 MiB
  9. [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
  10. [    0.000000] On node 0 totalpages: 131072
  11. [    0.000000]   Normal zone: 1024 pages used for memmap
  12. [    0.000000]   Normal zone: 0 pages reserved
  13. [    0.000000]   Normal zone: 131072 pages, LIFO batch:31
  14. [    0.000000] random: get_random_bytes called from start_kernel+0x9c/0x40c with crng_init=0
  15. [    0.000000] percpu: Embedded 16 pages/cpu s36236 r8192 d21108 u65536
  16. [    0.000000] pcpu-alloc: s36236 r8192 d21108 u65536 alloc=16*4096
  17. [    0.000000] pcpu-alloc: [0] 0
  18. [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130048
  19. [    0.000000] Kernel command line: console=ttymxc0 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 vt.global_cursor_default=0 quiet
  20. [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
  21. [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
  22. [    0.000000] Memory: 170224K/524288K available (10240K kernel code, 587K rwdata, 3236K rodata, 1024K init, 460K bss, 26384K reserved, 327680K cma-reserved, 0K highmem)
  23. [    0.000000] Virtual kernel memory layout:
  24.                    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
  25.                    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
  26.                    vmalloc : 0xa0800000 - 0xff800000   (1520 MB)
  27.                    lowmem  : 0x80000000 - 0xa0000000   ( 512 MB)
  28.                    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
  29.                    modules : 0x7f000000 - 0x7fe00000   (  14 MB)
  30.                      .text : 0x(ptrval) - 0x(ptrval)   (11232 kB)
  31.                      .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
  32.                      .data : 0x(ptrval) - 0x(ptrval)   ( 588 kB)
  33.                       .bss : 0x(ptrval) - 0x(ptrval)   ( 461 kB)
  34. [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  35. [    0.000000] rcu: Preemptible hierarchical RCU implementation.
  36. [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
  37. [    0.000000]  Tasks RCU enabled.
  38. [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
  39. [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
  40. [    0.000000] Switching to timer-based delay loop, resolution 333ns
  41. [    0.000018] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
  42. [    0.000054] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
  43. [    0.003276] Console: colour dummy device 80x30
  44. [    0.003338] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
  45. [    0.003369] pid_max: default: 32768 minimum: 301
  46. [    0.003666] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  47. [    0.003692] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  48. [    0.004943] CPU: Testing write buffer coherency: ok
  49. [    0.005602] CPU0: update cpu_capacity 1024
  50. [    0.005628] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
  51. [    0.060631] Setting up static identity map for 0x80100000 - 0x80100060
  52. [    0.080635] rcu: Hierarchical SRCU implementation.
  53. [    0.120838] smp: Bringing up secondary CPUs ...
  54. [    0.120863] smp: Brought up 1 node, 1 CPU
  55. [    0.120879] SMP: Total of 1 processors activated (6.00 BogoMIPS).
  56. [    0.120889] CPU: All CPU(s) started in SVC mode.
  57. [    0.122459] devtmpfs: initialized
  58. [    0.140613] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
  59. [    0.141599] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
  60. [    0.141643] futex hash table entries: 256 (order: 2, 16384 bytes)
  61. [    0.164968] pinctrl core: initialized pinctrl subsystem
  62. [    0.167196] NET: Registered protocol family 16
  63. [    0.189601] DMA: preallocated 1024 KiB pool for atomic coherent allocations
  64. [    0.192098] cpuidle: using governor menu
  65. [    0.210415] vdd3p0: supplied by regulator-dummy
  66. [    0.211878] cpu: supplied by regulator-dummy
  67. [    0.213197] vddsoc: supplied by regulator-dummy
  68. [    0.214911] mxs_phy 20c9000.usbphy: Linked as a consumer to regulator.1
  69. [    0.216167] mxs_phy 20ca000.usbphy: Linked as a consumer to regulator.1
  70. [    0.238150] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
  71. [    0.238170] hw-breakpoint: maximum watchpoint size is 8 bytes.
  72. [    0.243668] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
  73. [    0.244629] imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
  74. [    0.248597] imx rpmsg driver is registered.
  75. [    0.329027] SCSI subsystem initialized
  76. [    0.332845] libata version 3.00 loaded.
  77. [    0.333396] usbcore: registered new interface driver usbfs
  78. [    0.333542] usbcore: registered new interface driver hub
  79. [    0.333759] usbcore: registered new device driver usb
  80. [    0.336249] i2c i2c-0: IMX I2C adapter registered
  81. [    0.336288] i2c i2c-0: can't use DMA, using PIO instead.
  82. [    0.337935] i2c i2c-1: IMX I2C adapter registered
  83. [    0.337972] i2c i2c-1: can't use DMA, using PIO instead.
  84. [    0.339048] videodev: Linux video capture interface: v2.00
  85. [    0.339177] pps_core: LinuxPPS API ver. 1 registered
  86. [    0.339190] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  87. [    0.339237] PTP clock support registered
  88. [    0.342047] MIPI CSI2 driver module loaded
  89. [    0.342462] Advanced Linux Sound Architecture Driver Initialized.
  90. [    0.343730] Bluetooth: Core ver 2.22
  91. [    0.343868] NET: Registered protocol family 31
  92. [    0.343883] Bluetooth: HCI device and connection manager initialized
  93. [    0.343917] Bluetooth: HCI socket layer initialized
  94. [    0.343937] Bluetooth: L2CAP socket layer initialized
  95. [    0.344024] Bluetooth: SCO socket layer initialized
  96. [    0.345610] clocksource: Switched to clocksource mxc_timer1
  97. [    0.345884] VFS: Disk quotas dquot_6.6.0
  98. [    0.346031] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
  99. [    0.368537] NET: Registered protocol family 2
  100. [    0.370042] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
  101. [    0.370105] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
  102. [    0.370215] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
  103. [    0.370366] TCP: Hash tables configured (established 4096 bind 4096)
  104. [    0.370580] UDP hash table entries: 256 (order: 1, 8192 bytes)
  105. [    0.370639] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
  106. [    0.371011] NET: Registered protocol family 1
  107. [    0.402553] RPC: Registered named UNIX socket transport module.
  108. [    0.402570] RPC: Registered udp transport module.
  109. [    0.402583] RPC: Registered tcp transport module.
  110. [    0.402594] RPC: Registered tcp NFSv4.1 backchannel transport module.
  111. [    0.414526] Trying to unpack rootfs image as initramfs...
  112. [    1.093364] Freeing initrd memory: 4604K
  113. [    1.098467] Bus freq driver module loaded
  114. [    1.101118] Initialise system trusted keyrings
  115. [    1.101599] workingset: timestamp_bits=30 max_order=17 bucket_order=0
  116. [    1.125462] NFS: Registering the id_resolver key type
  117. [    1.125522] Key type id_resolver registered
  118. [    1.125533] Key type id_legacy registered
  119. [    1.125851] jffs2: version 2.2. (NAND) \xc2\xa9 2001-2006 Red Hat, Inc.
  120. [    1.127064] fuse init (API version 7.27)
  121. [    1.148988] Key type asymmetric registered
  122. [    1.149009] Asymmetric key parser 'x509' registered
  123. [    1.149062] io scheduler noop registered
  124. [    1.149076] io scheduler deadline registered
  125. [    1.149440] io scheduler cfq registered (default)
  126. [    1.149460] io scheduler mq-deadline registered
  127. [    1.149473] io scheduler kyber registered
  128. [    1.151288] imx-weim 21b8000.weim: Driver registered.
  129. [    1.164192] sii902x 1-0039: No reset pin found
  130. [    1.169252] imx-sdma 20ec000.sdma: loaded firmware 3.5
  131. [    1.179146] mxs-dma 1804000.dma-apbh: initialized
  132. [    1.185192] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 20, base_baud = 5000000) is a IMX
  133. [    1.185233] Console IMX rounded baud rate from 114943 to 114900
  134. [    1.185415] console [ttymxc0] enabled
  135. [    1.187658] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 67, base_baud = 5000000) is a IMX
  136. [    1.188939] imx-uart 21ec000.serial: no RTS control, disabling rs485
  137. [    1.195493] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 68, base_baud = 5000000) is a IMX
  138. [    1.231586] imx-rng 2284000.rngb: iMX RNG Registered.
  139. [    1.232310] imx sema4 driver is registered.
  140. [    1.233629] [drm] Initialized vivante 1.0.0 20120216 for platform:Vivante GCCore on minor 0
  141. [    1.233654] [drm] Initialized vivante 1.0.0 20120216 on minor 0
  142. [    1.258657] brd: module loaded
  143. [    1.278637] loop: module loaded
  144. [    1.288205] nand: No NAND device found
  145. [    1.294341] imx6ul-pinctrl 20e0000.iomuxc: pin MX6UL_PAD_UART2_TX_DATA already requested by 21e8000.serial; cannot claim for 2010000.ecspi
  146. [    1.307045] imx6ul-pinctrl 20e0000.iomuxc: pin-37 (2010000.ecspi) status -22
  147. [    1.314152] imx6ul-pinctrl 20e0000.iomuxc: could not request pin 37 (MX6UL_PAD_UART2_TX_DATA) from group ecspi3grp  on device 20e0000.iomuxc
  148. [    1.326860] spi_imx 2010000.ecspi: Error applying setting, reverse things back
  149. [    1.334155] spi_imx: probe of 2010000.ecspi failed with error -22
  150. [    1.336213] libphy: Fixed MDIO Bus: probed
  151. [    1.337115] CAN device driver interface
  152. [    1.340882] fec 20b4000.ethernet: 20b4000.ethernet supply phy not found, using dummy regulator
  153. [    1.341082] fec 20b4000.ethernet: Linked as a consumer to regulator.0
  154. [    1.342344] pps pps0: new PPS source ptp0
  155. [    1.343353] fec 20b4000.ethernet: Invalid MAC address: 00:00:00:00:00:00
  156. [    1.350368] fec 20b4000.ethernet: Using random MAC address: a2:01:40:9e:37:79
  157. [    1.351235] libphy: fec_enet_mii_bus: probed
  158. [    1.415040] fec 20b4000.ethernet eth0: registered PHC device 0
  159. [    1.417308] fec 2188000.ethernet: 2188000.ethernet supply phy not found, using dummy regulator
  160. [    1.417502] fec 2188000.ethernet: Linked as a consumer to regulator.0
  161. [    1.418808] pps pps1: new PPS source ptp1
  162. [    1.421197] fec 2188000.ethernet eth1: registered PHC device 1
  163. [    1.423233] usbcore: registered new interface driver kaweth
  164. [    1.423253] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
  165. [    1.423358] usbcore: registered new interface driver pegasus
  166. [    1.423463] usbcore: registered new interface driver rtl8150
  167. [    1.423593] usbcore: registered new interface driver r8152
  168. [    1.423714] usbcore: registered new interface driver asix
  169. [    1.423830] usbcore: registered new interface driver ax88179_178a
  170. [    1.423926] usbcore: registered new interface driver cdc_ether
  171. [    1.424021] usbcore: registered new interface driver net1080
  172. [    1.424112] usbcore: registered new interface driver cdc_subset
  173. [    1.424205] usbcore: registered new interface driver zaurus
  174. [    1.424347] usbcore: registered new interface driver cdc_ncm
  175. [    1.424361] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  176. [    1.424372] ehci-mxc: Freescale On-Chip EHCI Host driver
  177. [    1.424758] usbcore: registered new interface driver usb-storage
  178. [    1.424864] usbcore: registered new interface driver usb_ehset_test
  179. [    1.428035] usbmisc_imx 2184800.usbmisc: 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
  180. [    1.428265] usbmisc_imx 2184800.usbmisc: Linked as a consumer to regulator.0
  181. [    1.430389] imx_usb 2184000.usb: 2184000.usb supply vbus not found, using dummy regulator
  182. [    1.430587] imx_usb 2184000.usb: Linked as a consumer to regulator.0
  183. [    1.458359] imx_usb 2184200.usb: 2184200.usb supply vbus not found, using dummy regulator
  184. [    1.458548] imx_usb 2184200.usb: Linked as a consumer to regulator.0
  185. [    1.462300] ci_hdrc ci_hdrc.1: EHCI Host Controller
  186. [    1.462408] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
  187. [    1.485695] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
  188. [    1.487672] hub 1-0:1.0: USB hub found
  189. [    1.487788] hub 1-0:1.0: 1 port detected
  190. [    1.503520] input: 20cc000.snvs:snvs-powerkey as /devices/soc0/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
  191. [    1.509814] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-rtc-lp as rtc0
  192. [    1.510708] i2c /dev entries driver
  193. [    1.519317] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
  194. [    1.520278] Bluetooth: HCI UART driver ver 2.3
  195. [    1.520297] Bluetooth: HCI UART protocol H4 registered
  196. [    1.520310] Bluetooth: HCI UART protocol BCSP registered
  197. [    1.520323] Bluetooth: HCI UART protocol ATH3K registered
  198. [    1.520484] usbcore: registered new interface driver bcm203x
  199. [    1.520647] usbcore: registered new interface driver btusb
  200. [    1.520786] usbcore: registered new interface driver ath3k
  201. [    1.523110] sdhci: Secure Digital Host Controller Interface driver
  202. [    1.523125] sdhci: Copyright(c) Pierre Ossman
  203. [    1.523137] sdhci-pltfm: SDHCI platform and OF driver helper
  204. [    1.526856] sdhci-esdhc-imx 2190000.usdhc: Linked as a consumer to regulator.4
  205. [    1.561356] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
  206. [    1.608967] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
  207. [    1.636088] usbcore: registered new interface driver usbhid
  208. [    1.636103] usbhid: USB HID core driver
  209. [    1.640229] NET: Registered protocol family 26
  210. [    1.640296] random: fast init done
  211. [    1.643771] NET: Registered protocol family 10
  212. [    1.658658] Segment Routing with IPv6
  213. [    1.658869] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
  214. [    1.663222] NET: Registered protocol family 17
  215. [    1.663268] can: controller area network core (rev 20170425 abi 9)
  216. [    1.666065] NET: Registered protocol family 29
  217. [    1.666095] can: raw protocol (rev 20170425)
  218. [    1.666111] can: broadcast manager protocol (rev 20170425 t)
  219. [    1.666139] can: netlink gateway (rev 20170425) max_hops=1
  220. [    1.668963] Bluetooth: RFCOMM TTY layer initialized
  221. [    1.669006] Bluetooth: RFCOMM socket layer initialized
  222. [    1.669074] Bluetooth: RFCOMM ver 1.11
  223. [    1.669108] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
  224. [    1.669122] Bluetooth: BNEP filters: protocol multicast
  225. [    1.669147] Bluetooth: BNEP socket layer initialized
  226. [    1.669161] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
  227. [    1.669185] Bluetooth: HIDP socket layer initialized
  228. [    1.669310] 8021q: 802.1Q VLAN Support v1.8
  229. [    1.669365] lib80211: common routines for IEEE802.11 drivers
  230. [    1.669380] lib80211_crypt: registered algorithm 'NULL'
  231. [    1.669391] lib80211_crypt: registered algorithm 'WEP'
  232. [    1.669405] lib80211_crypt: registered algorithm 'CCMP'
  233. [    1.669417] lib80211_crypt: registered algorithm 'TKIP'
  234. [    1.669469] Key type dns_resolver registered
  235. [    1.671257] cpu cpu0: Linked as a consumer to regulator.2
  236. [    1.671449] cpu cpu0: Linked as a consumer to regulator.3
  237. [    1.671627] cpu cpu0: Linked as a consumer to regulator.5
  238. [    1.672999] cpu cpu0: running cpufreq without cooling device: 0
  239. [    1.686909] mmc1: new DDR MMC card at address 0001
  240. [    1.700335] mmcblk1: mmc1:0001 8GTF4R 7.28 GiB
  241. [    1.701174] mmcblk1boot0: mmc1:0001 8GTF4R partition 1 4.00 MiB
  242. [    1.702010] mmcblk1boot1: mmc1:0001 8GTF4R partition 2 4.00 MiB
  243. [    1.702419] mmcblk1rpmb: mmc1:0001 8GTF4R partition 3 512 KiB, chardev (245:0)
  244. [    1.707411] Loading compiled-in X.509 certificates
  245. [    1.714544]  mmcblk1: p1 p2
  246. [    1.788880] imx_thermal 2000000.aips-bus:tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
  247. [    1.789994] dhd_module_init: in Dongle Host Driver, version 1.579.77.41.16 (r-20190511-2)
  248. [    1.790532] dhd_module_init: Exit err=0
  249. [    1.791212] input: gpio-keys as /devices/soc0/gpio-keys/input/input1
  250. [    1.792043] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 2020-05-22 00:16:29 UTC (1590106589)
  251. [    1.792058] of_cfs_init
  252. [    1.792105] of_cfs_init: OK
  253. [    1.792469] cfg80211: Loading compiled-in X.509 certificates for regulatory database
  254. [    1.831463] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
  255. [    1.831729] platform regulatory.0: Falling back to syfs fallback for: regulatory.db
  256. [    1.832311] VSD_3V3: disabling
  257. [    1.832326] gpio_dvfs: disabling
  258. [    1.832341] ALSA device list:
  259. [    1.832346]   No soundcards found.
  260. [    1.834405] Freeing unused kernel memory: 1024K
  261. [    1.834700] Run /init as init process
  262. [    1.855783] usb 1-1: new high-speed USB device number 2 using ci_hdrc
  263. [    2.057689] hub 1-1:1.0: USB hub found
  264. [    2.057937] hub 1-1:1.0: 4 ports detected
  265. [    3.762581] cfg80211: failed to load regulatory.db
  266. [    5.020858] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
  267. [    5.792247] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
  268. [    5.793408] systemd[1]: Detected architecture arm.
  269. [    5.795564] systemd[1]: Set hostname to <EStech-iMX6>.
  270. [    6.702818] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
  271. [    6.702849] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
  272. [    6.970675] random: systemd: uninitialized urandom read (16 bytes read)
  273. [    7.087193] systemd[1]: Configuration file /lib/systemd/system/generic-board-startup.service is marked executable. Please remove executable permission bits. Proceeding anyway.
  274. [    7.137277] random: systemd: uninitialized urandom read (16 bytes read)
  275. [    7.138143] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
  276. [    7.138659] random: systemd: uninitialized urandom read (16 bytes read)
  277. [    7.139131] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
  278. [    7.139392] systemd[1]: Reached target Local Encrypted Volumes.
  279. [    7.140555] systemd[1]: Listening on udev Control Socket.
  280. [    7.596535] touch_gt9xx: loading out-of-tree module taints kernel.
  281. [    7.616626] Goodix touchscreen driver installing....
  282. [    7.654237] EXT4-fs (mmcblk1p2): re-mounted. Opts: errors=remount-ro
  283. [    8.599356] systemd-journald[199]: Received request to flush runtime journal from PID 1
  284. [   10.069882] evbug: Connected device: input0 (20cc000.snvs:snvs-powerkey at snvs-pwrkey/input0)
  285. [   10.069902] evbug: Connected device: input1 (gpio-keys at gpio-keys/input0)
  286. [   10.419020] fec 20b4000.ethernet eth2: renamed from eth0
  287. [   14.266559] Micrel KSZ8081 or KSZ8091 20b4000.ethernet-1:02: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=20b4000.ethernet-1:02, irq=POLL)
  288. [   14.664427] random: crng init done
  289. [   14.664448] random: 7 urandom warning(s) missed due to ratelimiting
  290. [   17.246066] using random self ethernet address
  291. [   17.246085] using random host ethernet address
  292. [   17.366316] fec 2188000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx
  293. [   17.423000] usb0: HOST MAC 1c:ba:8c:a2:ed:70
  294. [   17.433911] usb0: MAC 1c:ba:8c:a2:ed:68
复制代码

這是uEnv.txt的內容,btwifi是關閉的
  1. #Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0

  2. uname_r=4.19.71-imx-r1
  3. #uuid=
  4. dtb=imx6ull-seeed-npi.dtb

  5. ###U-Boot Overlays###
  6. ###Documentation: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays
  7. ###Master Enable
  8. enable_uboot_overlays=1
  9. #overlay_start
  10. #dtoverlay=/lib/firmware/imx-fire-18b20-overlay.dtbo

  11. dtoverlay=/lib/firmware/imx-fire-i2c1-overlay.dtbo
  12. dtoverlay=/lib/firmware/imx-fire-i2c2-overlay.dtbo
  13. dtoverlay=/lib/firmware/imx-fire-74hc595-overlay.dtbo
  14. dtoverlay=/lib/firmware/imx-fire-485r1-overlay.dtbo
  15. dtoverlay=/lib/firmware/imx-fire-485r2-overlay.dtbo
  16. #dtoverlay=/lib/firmware/imx-fire-adc1-overlay.dtbo
  17. #dtoverlay=/lib/firmware/imx-fire-btwifi-overlay.dtbo
  18. #dtoverlay=/lib/firmware/imx-fire-cam-overlay.dtbo
  19. #dtoverlay=/lib/firmware/imx-fire-can1-overlay.dtbo
  20. #dtoverlay=/lib/firmware/imx-fire-can2-overlay.dtbo
  21. #dtoverlay=/lib/firmware/imx-fire-dht11-overlay.dtbo
  22. dtoverlay=/lib/firmware/imx-fire-ecspi3-overlay.dtbo
  23. dtoverlay=/lib/firmware/imx-fire-hdmi-overlay.dtbo
  24. dtoverlay=/lib/firmware/imx-fire-key-overlay.dtbo
  25. #dtoverlay=/lib/firmware/imx-fire-lcd5-overlay.dtbo
  26. #dtoverlay=/lib/firmware/imx-fire-lcd43-overlay.dtbo
  27. dtoverlay=/lib/firmware/imx-fire-led-overlay.dtbo
  28. #dtoverlay=/lib/firmware/imx-fire-sound-overlay.dtbo
  29. #dtoverlay=/lib/firmware/imx-fire-spidev-overlay.dtbo
  30. dtoverlay=/lib/firmware/imx-fire-uart2-overlay.dtbo
  31. dtoverlay=/lib/firmware/imx-fire-uart3-overlay.dtbo

  32. #overlay_end

  33. cmdline=coherent_pool=1M net.ifnames=0 vt.global_cursor_default=0 quiet

  34. #In the event of edid real failures, uncomment this next line:
  35. #cmdline=coherent_pool=1M net.ifnames=0 vt.global_cursor_default=0 quiet video=HDMI-A-1:1024x768@60e

  36. #Use an overlayfs on top of a read-only root filesystem:
  37. #cmdline=coherent_pool=1M net.ifnames=0 vt.global_cursor_default=0 quiet overlayroot=tmpfs

  38. #flash_firmware=enable

  39. # specify kernel eth0 mac address
  40. # kernel eth0 is u-boot eth1
  41. eth1addr=

  42. # specify kernel eth1 mac address
  43. # kernel eth1 is u-boot eth0
  44. ethaddr=ce:ba:ba:64:1b:41

  45. # specify kernel eth0 mac address
  46. # kernel eth0 is u-boot eth1
  47. eth1addr=

  48. # specify kernel eth0 mac address
  49. # kernel eth0 is u-boot eth1
  50. eth1addr=

  51. # specify kernel eth0 mac address
  52. # kernel eth0 is u-boot eth1
  53. eth1addr=

  54. # specify kernel eth0 mac address
  55. # kernel eth0 is u-boot eth1
  56. eth1addr=

  57. # specify kernel eth0 mac address
  58. # kernel eth0 is u-boot eth1
  59. eth1addr=

  60. # specify kernel eth0 mac address
  61. # kernel eth0 is u-boot eth1
  62. eth1addr=
复制代码
回复 支持 反对

使用道具 举报

发表于 2020-5-22 13:37:32 | 显示全部楼层
oliveryang 发表于 2020-5-22 08:23
這是dmesg的輸出

這是uEnv.txt的內容,btwifi是關閉的

ls /dev下面有没有跟SD卡有关的设备呢,看这个信息,好像都没有发现SD卡
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-5-22 14:38:03 | 显示全部楼层
君负花开 发表于 2020-5-22 13:37
ls /dev下面有没有跟SD卡有关的设备呢,看这个信息,好像都没有发现SD卡

SD卡有自己的設定檔案嗎?在uEnv.txt裡面確實沒有看到。
SD卡插入的時候,/dev底下沒有多出任何裝置,我把SD卡用USB讀卡機插到USB的插槽,倒是有出現sda的裝置,可以正常讀取。

另外一件事情,開機的dip switch (SW5)不論是撥到SD開機還是eMMC開機,只要SD卡槽裡面有可以開機的SD卡,都會由SD卡開機。
回复 支持 反对

使用道具 举报

发表于 2020-5-23 08:51:27 | 显示全部楼层
oliveryang 发表于 2020-5-22 14:38
SD卡有自己的設定檔案嗎?在uEnv.txt裡面確實沒有看到。
SD卡插入的時候,/dev底下沒有多出任何裝置,我 ...

SD卡没有什么配置项;
是的,因为uboot的设置是优先从SD卡启动的
回复 支持 反对

使用道具 举报

发表于 2020-5-23 10:39:33 | 显示全部楼层
我尝试了一下,是可以找到SD卡的


内核打印信息

内核打印信息

/dev目录

/dev目录
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-5-25 09:27:50 | 显示全部楼层
君负花开 发表于 2020-5-23 10:39
我尝试了一下,是可以找到SD卡的

謝謝您的回覆,我看到你的訊息發現您在開機的時候SD卡就已經在上面了,而我之前的作法都是在已經開機的時候把SD卡插進去,所以我試著先放一張空的SD卡再開機,然後mmcblk0就出現了,我想這樣算是可以用了。我有用過的其他系統都是可以在開機的狀態插入SD卡,所以可能i.MX不支援熱插拔。謝謝所有前輩的協助。
回复 支持 反对

使用道具 举报

发表于 2020-10-27 21:33:37 | 显示全部楼层
老哥 你是台湾人还是香港人 打一堆的繁体字
回复 支持 0 反对 1

使用道具 举报

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

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2024-5-4 15:09 , Processed in 0.037704 second(s), 26 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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