野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 73|回复: 11

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

[复制链接]
发表于 7 天前 | 显示全部楼层 |阅读模式
我有一片野火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卡才行。

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

使用道具 举报

发表于 7 天前 | 显示全部楼层
先断开wifi模组的电源试试
回复 支持 反对

使用道具 举报

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

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

使用道具 举报

发表于 7 天前 | 显示全部楼层
回复

使用道具 举报

发表于 7 天前 | 显示全部楼层
硬件上SD卡和WIFI公用同一组SDIO?
回复 支持 反对

使用道具 举报

发表于 7 天前 | 显示全部楼层
可以把内核打印的信息发出来看看,命令是dmesg
回复 支持 反对

使用道具 举报

 楼主| 发表于 6 天前 | 显示全部楼层
這是dmesg的輸出
[    0.000000] Booting Linux on physical CPU 0x0
[    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
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Seeed i.MX6 ULL NPi Board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x8c000000, size 320 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] On node 0 totalpages: 131072
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] random: get_random_bytes called from start_kernel+0x9c/0x40c with crng_init=0
[    0.000000] percpu: Embedded 16 pages/cpu s36236 r8192 d21108 u65536
[    0.000000] pcpu-alloc: s36236 r8192 d21108 u65536 alloc=16*4096
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    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
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 170224K/524288K available (10240K kernel code, 587K rwdata, 3236K rodata, 1024K init, 460K bss, 26384K reserved, 327680K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xa0800000 - 0xff800000   (1520 MB)
                   lowmem  : 0x80000000 - 0xa0000000   ( 512 MB)
                   pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
                   modules : 0x7f000000 - 0x7fe00000   (  14 MB)
                     .text : 0x(ptrval) - 0x(ptrval)   (11232 kB)
                     .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
                     .data : 0x(ptrval) - 0x(ptrval)   ( 588 kB)
                      .bss : 0x(ptrval) - 0x(ptrval)   ( 461 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] Switching to timer-based delay loop, resolution 333ns
[    0.000018] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[    0.000054] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[    0.003276] Console: colour dummy device 80x30
[    0.003338] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[    0.003369] pid_max: default: 32768 minimum: 301
[    0.003666] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.003692] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.004943] CPU: Testing write buffer coherency: ok
[    0.005602] CPU0: update cpu_capacity 1024
[    0.005628] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.060631] Setting up static identity map for 0x80100000 - 0x80100060
[    0.080635] rcu: Hierarchical SRCU implementation.
[    0.120838] smp: Bringing up secondary CPUs ...
[    0.120863] smp: Brought up 1 node, 1 CPU
[    0.120879] SMP: Total of 1 processors activated (6.00 BogoMIPS).
[    0.120889] CPU: All CPU(s) started in SVC mode.
[    0.122459] devtmpfs: initialized
[    0.140613] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.141599] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.141643] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.164968] pinctrl core: initialized pinctrl subsystem
[    0.167196] NET: Registered protocol family 16
[    0.189601] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.192098] cpuidle: using governor menu
[    0.210415] vdd3p0: supplied by regulator-dummy
[    0.211878] cpu: supplied by regulator-dummy
[    0.213197] vddsoc: supplied by regulator-dummy
[    0.214911] mxs_phy 20c9000.usbphy: Linked as a consumer to regulator.1
[    0.216167] mxs_phy 20ca000.usbphy: Linked as a consumer to regulator.1
[    0.238150] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.238170] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.243668] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.244629] imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
[    0.248597] imx rpmsg driver is registered.
[    0.329027] SCSI subsystem initialized
[    0.332845] libata version 3.00 loaded.
[    0.333396] usbcore: registered new interface driver usbfs
[    0.333542] usbcore: registered new interface driver hub
[    0.333759] usbcore: registered new device driver usb
[    0.336249] i2c i2c-0: IMX I2C adapter registered
[    0.336288] i2c i2c-0: can't use DMA, using PIO instead.
[    0.337935] i2c i2c-1: IMX I2C adapter registered
[    0.337972] i2c i2c-1: can't use DMA, using PIO instead.
[    0.339048] videodev: Linux video capture interface: v2.00
[    0.339177] pps_core: LinuxPPS API ver. 1 registered
[    0.339190] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.339237] PTP clock support registered
[    0.342047] MIPI CSI2 driver module loaded
[    0.342462] Advanced Linux Sound Architecture Driver Initialized.
[    0.343730] Bluetooth: Core ver 2.22
[    0.343868] NET: Registered protocol family 31
[    0.343883] Bluetooth: HCI device and connection manager initialized
[    0.343917] Bluetooth: HCI socket layer initialized
[    0.343937] Bluetooth: L2CAP socket layer initialized
[    0.344024] Bluetooth: SCO socket layer initialized
[    0.345610] clocksource: Switched to clocksource mxc_timer1
[    0.345884] VFS: Disk quotas dquot_6.6.0
[    0.346031] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.368537] NET: Registered protocol family 2
[    0.370042] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.370105] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.370215] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.370366] TCP: Hash tables configured (established 4096 bind 4096)
[    0.370580] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.370639] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.371011] NET: Registered protocol family 1
[    0.402553] RPC: Registered named UNIX socket transport module.
[    0.402570] RPC: Registered udp transport module.
[    0.402583] RPC: Registered tcp transport module.
[    0.402594] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.414526] Trying to unpack rootfs image as initramfs...
[    1.093364] Freeing initrd memory: 4604K
[    1.098467] Bus freq driver module loaded
[    1.101118] Initialise system trusted keyrings
[    1.101599] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    1.125462] NFS: Registering the id_resolver key type
[    1.125522] Key type id_resolver registered
[    1.125533] Key type id_legacy registered
[    1.125851] jffs2: version 2.2. (NAND) \xc2\xa9 2001-2006 Red Hat, Inc.
[    1.127064] fuse init (API version 7.27)
[    1.148988] Key type asymmetric registered
[    1.149009] Asymmetric key parser 'x509' registered
[    1.149062] io scheduler noop registered
[    1.149076] io scheduler deadline registered
[    1.149440] io scheduler cfq registered (default)
[    1.149460] io scheduler mq-deadline registered
[    1.149473] io scheduler kyber registered
[    1.151288] imx-weim 21b8000.weim: Driver registered.
[    1.164192] sii902x 1-0039: No reset pin found
[    1.169252] imx-sdma 20ec000.sdma: loaded firmware 3.5
[    1.179146] mxs-dma 1804000.dma-apbh: initialized
[    1.185192] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 20, base_baud = 5000000) is a IMX
[    1.185233] Console IMX rounded baud rate from 114943 to 114900
[    1.185415] console [ttymxc0] enabled
[    1.187658] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 67, base_baud = 5000000) is a IMX
[    1.188939] imx-uart 21ec000.serial: no RTS control, disabling rs485
[    1.195493] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 68, base_baud = 5000000) is a IMX
[    1.231586] imx-rng 2284000.rngb: iMX RNG Registered.
[    1.232310] imx sema4 driver is registered.
[    1.233629] [drm] Initialized vivante 1.0.0 20120216 for platform:Vivante GCCore on minor 0
[    1.233654] [drm] Initialized vivante 1.0.0 20120216 on minor 0
[    1.258657] brd: module loaded
[    1.278637] loop: module loaded
[    1.288205] nand: No NAND device found
[    1.294341] imx6ul-pinctrl 20e0000.iomuxc: pin MX6UL_PAD_UART2_TX_DATA already requested by 21e8000.serial; cannot claim for 2010000.ecspi
[    1.307045] imx6ul-pinctrl 20e0000.iomuxc: pin-37 (2010000.ecspi) status -22
[    1.314152] imx6ul-pinctrl 20e0000.iomuxc: could not request pin 37 (MX6UL_PAD_UART2_TX_DATA) from group ecspi3grp  on device 20e0000.iomuxc
[    1.326860] spi_imx 2010000.ecspi: Error applying setting, reverse things back
[    1.334155] spi_imx: probe of 2010000.ecspi failed with error -22
[    1.336213] libphy: Fixed MDIO Bus: probed
[    1.337115] CAN device driver interface
[    1.340882] fec 20b4000.ethernet: 20b4000.ethernet supply phy not found, using dummy regulator
[    1.341082] fec 20b4000.ethernet: Linked as a consumer to regulator.0
[    1.342344] pps pps0: new PPS source ptp0
[    1.343353] fec 20b4000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[    1.350368] fec 20b4000.ethernet: Using random MAC address: a2:01:40:9e:37:79
[    1.351235] libphy: fec_enet_mii_bus: probed
[    1.415040] fec 20b4000.ethernet eth0: registered PHC device 0
[    1.417308] fec 2188000.ethernet: 2188000.ethernet supply phy not found, using dummy regulator
[    1.417502] fec 2188000.ethernet: Linked as a consumer to regulator.0
[    1.418808] pps pps1: new PPS source ptp1
[    1.421197] fec 2188000.ethernet eth1: registered PHC device 1
[    1.423233] usbcore: registered new interface driver kaweth
[    1.423253] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[    1.423358] usbcore: registered new interface driver pegasus
[    1.423463] usbcore: registered new interface driver rtl8150
[    1.423593] usbcore: registered new interface driver r8152
[    1.423714] usbcore: registered new interface driver asix
[    1.423830] usbcore: registered new interface driver ax88179_178a
[    1.423926] usbcore: registered new interface driver cdc_ether
[    1.424021] usbcore: registered new interface driver net1080
[    1.424112] usbcore: registered new interface driver cdc_subset
[    1.424205] usbcore: registered new interface driver zaurus
[    1.424347] usbcore: registered new interface driver cdc_ncm
[    1.424361] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.424372] ehci-mxc: Freescale On-Chip EHCI Host driver
[    1.424758] usbcore: registered new interface driver usb-storage
[    1.424864] usbcore: registered new interface driver usb_ehset_test
[    1.428035] usbmisc_imx 2184800.usbmisc: 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
[    1.428265] usbmisc_imx 2184800.usbmisc: Linked as a consumer to regulator.0
[    1.430389] imx_usb 2184000.usb: 2184000.usb supply vbus not found, using dummy regulator
[    1.430587] imx_usb 2184000.usb: Linked as a consumer to regulator.0
[    1.458359] imx_usb 2184200.usb: 2184200.usb supply vbus not found, using dummy regulator
[    1.458548] imx_usb 2184200.usb: Linked as a consumer to regulator.0
[    1.462300] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    1.462408] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    1.485695] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    1.487672] hub 1-0:1.0: USB hub found
[    1.487788] hub 1-0:1.0: 1 port detected
[    1.503520] input: 20cc000.snvs:snvs-powerkey as /devices/soc0/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
[    1.509814] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-rtc-lp as rtc0
[    1.510708] i2c /dev entries driver
[    1.519317] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[    1.520278] Bluetooth: HCI UART driver ver 2.3
[    1.520297] Bluetooth: HCI UART protocol H4 registered
[    1.520310] Bluetooth: HCI UART protocol BCSP registered
[    1.520323] Bluetooth: HCI UART protocol ATH3K registered
[    1.520484] usbcore: registered new interface driver bcm203x
[    1.520647] usbcore: registered new interface driver btusb
[    1.520786] usbcore: registered new interface driver ath3k
[    1.523110] sdhci: Secure Digital Host Controller Interface driver
[    1.523125] sdhci: Copyright(c) Pierre Ossman
[    1.523137] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.526856] sdhci-esdhc-imx 2190000.usdhc: Linked as a consumer to regulator.4
[    1.561356] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[    1.608967] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[    1.636088] usbcore: registered new interface driver usbhid
[    1.636103] usbhid: USB HID core driver
[    1.640229] NET: Registered protocol family 26
[    1.640296] random: fast init done
[    1.643771] NET: Registered protocol family 10
[    1.658658] Segment Routing with IPv6
[    1.658869] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.663222] NET: Registered protocol family 17
[    1.663268] can: controller area network core (rev 20170425 abi 9)
[    1.666065] NET: Registered protocol family 29
[    1.666095] can: raw protocol (rev 20170425)
[    1.666111] can: broadcast manager protocol (rev 20170425 t)
[    1.666139] can: netlink gateway (rev 20170425) max_hops=1
[    1.668963] Bluetooth: RFCOMM TTY layer initialized
[    1.669006] Bluetooth: RFCOMM socket layer initialized
[    1.669074] Bluetooth: RFCOMM ver 1.11
[    1.669108] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    1.669122] Bluetooth: BNEP filters: protocol multicast
[    1.669147] Bluetooth: BNEP socket layer initialized
[    1.669161] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    1.669185] Bluetooth: HIDP socket layer initialized
[    1.669310] 8021q: 802.1Q VLAN Support v1.8
[    1.669365] lib80211: common routines for IEEE802.11 drivers
[    1.669380] lib80211_crypt: registered algorithm 'NULL'
[    1.669391] lib80211_crypt: registered algorithm 'WEP'
[    1.669405] lib80211_crypt: registered algorithm 'CCMP'
[    1.669417] lib80211_crypt: registered algorithm 'TKIP'
[    1.669469] Key type dns_resolver registered
[    1.671257] cpu cpu0: Linked as a consumer to regulator.2
[    1.671449] cpu cpu0: Linked as a consumer to regulator.3
[    1.671627] cpu cpu0: Linked as a consumer to regulator.5
[    1.672999] cpu cpu0: running cpufreq without cooling device: 0
[    1.686909] mmc1: new DDR MMC card at address 0001
[    1.700335] mmcblk1: mmc1:0001 8GTF4R 7.28 GiB
[    1.701174] mmcblk1boot0: mmc1:0001 8GTF4R partition 1 4.00 MiB
[    1.702010] mmcblk1boot1: mmc1:0001 8GTF4R partition 2 4.00 MiB
[    1.702419] mmcblk1rpmb: mmc1:0001 8GTF4R partition 3 512 KiB, chardev (245:0)
[    1.707411] Loading compiled-in X.509 certificates
[    1.714544]  mmcblk1: p1 p2
[    1.788880] imx_thermal 2000000.aips-bus:tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
[    1.789994] dhd_module_init: in Dongle Host Driver, version 1.579.77.41.16 (r-20190511-2)
[    1.790532] dhd_module_init: Exit err=0
[    1.791212] input: gpio-keys as /devices/soc0/gpio-keys/input/input1
[    1.792043] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 2020-05-22 00:16:29 UTC (1590106589)
[    1.792058] of_cfs_init
[    1.792105] of_cfs_init: OK
[    1.792469] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.831463] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.831729] platform regulatory.0: Falling back to syfs fallback for: regulatory.db
[    1.832311] VSD_3V3: disabling
[    1.832326] gpio_dvfs: disabling
[    1.832341] ALSA device list:
[    1.832346]   No soundcards found.
[    1.834405] Freeing unused kernel memory: 1024K
[    1.834700] Run /init as init process
[    1.855783] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    2.057689] hub 1-1:1.0: USB hub found
[    2.057937] hub 1-1:1.0: 4 ports detected
[    3.762581] cfg80211: failed to load regulatory.db
[    5.020858] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[    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)
[    5.793408] systemd[1]: Detected architecture arm.
[    5.795564] systemd[1]: Set hostname to <EStech-iMX6>.
[    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.
[    6.702849] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    6.970675] random: systemd: uninitialized urandom read (16 bytes read)
[    7.087193] systemd[1]: Configuration file /lib/systemd/system/generic-board-startup.service is marked executable. Please remove executable permission bits. Proceeding anyway.
[    7.137277] random: systemd: uninitialized urandom read (16 bytes read)
[    7.138143] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    7.138659] random: systemd: uninitialized urandom read (16 bytes read)
[    7.139131] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    7.139392] systemd[1]: Reached target Local Encrypted Volumes.
[    7.140555] systemd[1]: Listening on udev Control Socket.
[    7.596535] touch_gt9xx: loading out-of-tree module taints kernel.
[    7.616626] Goodix touchscreen driver installing....
[    7.654237] EXT4-fs (mmcblk1p2): re-mounted. Opts: errors=remount-ro
[    8.599356] systemd-journald[199]: Received request to flush runtime journal from PID 1
[   10.069882] evbug: Connected device: input0 (20cc000.snvs:snvs-powerkey at snvs-pwrkey/input0)
[   10.069902] evbug: Connected device: input1 (gpio-keys at gpio-keys/input0)
[   10.419020] fec 20b4000.ethernet eth2: renamed from eth0
[   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)
[   14.664427] random: crng init done
[   14.664448] random: 7 urandom warning(s) missed due to ratelimiting
[   17.246066] using random self ethernet address
[   17.246085] using random host ethernet address
[   17.366316] fec 2188000.ethernet eth1: Link is Up - 100Mbps/Full - flow control rx/tx
[   17.423000] usb0: HOST MAC 1c:ba:8c:a2:ed:70
[   17.433911] usb0: MAC 1c:ba:8c:a2:ed:68

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

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

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

dtoverlay=/lib/firmware/imx-fire-i2c1-overlay.dtbo
dtoverlay=/lib/firmware/imx-fire-i2c2-overlay.dtbo
dtoverlay=/lib/firmware/imx-fire-74hc595-overlay.dtbo
dtoverlay=/lib/firmware/imx-fire-485r1-overlay.dtbo
dtoverlay=/lib/firmware/imx-fire-485r2-overlay.dtbo
#dtoverlay=/lib/firmware/imx-fire-adc1-overlay.dtbo
#dtoverlay=/lib/firmware/imx-fire-btwifi-overlay.dtbo
#dtoverlay=/lib/firmware/imx-fire-cam-overlay.dtbo
#dtoverlay=/lib/firmware/imx-fire-can1-overlay.dtbo
#dtoverlay=/lib/firmware/imx-fire-can2-overlay.dtbo
#dtoverlay=/lib/firmware/imx-fire-dht11-overlay.dtbo
dtoverlay=/lib/firmware/imx-fire-ecspi3-overlay.dtbo
dtoverlay=/lib/firmware/imx-fire-hdmi-overlay.dtbo
dtoverlay=/lib/firmware/imx-fire-key-overlay.dtbo
#dtoverlay=/lib/firmware/imx-fire-lcd5-overlay.dtbo
#dtoverlay=/lib/firmware/imx-fire-lcd43-overlay.dtbo
dtoverlay=/lib/firmware/imx-fire-led-overlay.dtbo
#dtoverlay=/lib/firmware/imx-fire-sound-overlay.dtbo
#dtoverlay=/lib/firmware/imx-fire-spidev-overlay.dtbo
dtoverlay=/lib/firmware/imx-fire-uart2-overlay.dtbo
dtoverlay=/lib/firmware/imx-fire-uart3-overlay.dtbo

#overlay_end

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

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

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

#flash_firmware=enable

# specify kernel eth0 mac address
# kernel eth0 is u-boot eth1
eth1addr=

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

# specify kernel eth0 mac address
# kernel eth0 is u-boot eth1
eth1addr=

# specify kernel eth0 mac address
# kernel eth0 is u-boot eth1
eth1addr=

# specify kernel eth0 mac address
# kernel eth0 is u-boot eth1
eth1addr=

# specify kernel eth0 mac address
# kernel eth0 is u-boot eth1
eth1addr=

# specify kernel eth0 mac address
# kernel eth0 is u-boot eth1
eth1addr=

# specify kernel eth0 mac address
# kernel eth0 is u-boot eth1
eth1addr=
回复 支持 反对

使用道具 举报

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

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

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

使用道具 举报

 楼主| 发表于 6 天前 | 显示全部楼层
君负花开 发表于 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卡開機。
回复 支持 反对

使用道具 举报

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

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

使用道具 举报

发表于 5 天前 | 显示全部楼层
我尝试了一下,是可以找到SD卡的


内核打印信息

内核打印信息

/dev目录

/dev目录
回复 支持 反对

使用道具 举报

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

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

使用道具 举报

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

本版积分规则

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

GMT+8, 2020-5-28 14:38 , Processed in 0.322863 second(s), 30 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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