|
本帖最后由 djsht 于 2015-1-31 19:20 编辑
请教大神 根据wiki设置无法挂载sd卡到/overlay 重启后依然会挂载到/mnt/mmcblk0p1
如何实现sd挂载到/overlay
启动日志中发现驱动mmc比较靠后 如何修改提前?
附上内核日志有关mmc部分:
ath79-spi ath79-spi: master is unqueued, this is deprecated
[ 0.660000] m25p80 spi0.0: found s25fl064k, expected m25p80
[ 0.670000] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[ 0.670000] 6 tp-link partitions found on MTD device spi0.0
[ 0.680000] Creating 6 MTD partitions on "spi0.0":
[ 0.680000] 0x000000000000-0x000000020000 : "u-boot"
[ 0.690000] 0x000000020000-0x0000001238f4 : "kernel"
[ 0.700000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.710000] 0x0000001238f4-0x0000007f0000 : "rootfs"
[ 0.720000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.730000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.740000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.740000] 0x000000750000-0x0000007f0000 : "rootfs_data"
[ 0.750000] 0x0000007f0000-0x000000800000 : "art"
[ 0.760000] 0x000000020000-0x0000007f0000 : "firmware"
[ 0.760000] 0x000000000000-0x000000800000 : "fullflash"
[ 0.790000] libphy: ag71xx_mdio: probed
[ 1.340000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[ 1.350000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 1.910000] ag71xx-mdio.1: Found an AR934X built-in switch
[ 2.950000] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 2.960000] TCP: cubic registered
[ 2.960000] NET: Registered protocol family 17
[ 2.970000] 8021q: 802.1Q VLAN Support v1.8
[ 2.980000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 2.990000] Freeing unused kernel memory: 276K (8032b000 - 80370000)
[ 6.030000] usbcore: registered new interface driver usbfs
[ 6.040000] usbcore: registered new interface driver hub
[ 6.040000] usbcore: registered new device driver usb
[ 6.090000] SCSI subsystem initialized
[ 6.100000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 6.110000] ehci-platform: EHCI generic platform driver
[ 6.120000] ehci-platform ehci-platform: EHCI Host Controller
[ 6.120000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 6.130000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 6.160000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 6.160000] hub 1-0:1.0: USB hub found
[ 6.170000] hub 1-0:1.0: 1 port detected
[ 6.170000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 6.190000] usbcore: registered new interface driver usb-storage
[ 6.560000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 6.790000] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 6.800000] scsi0 : usb-storage 1-1:1.0
[ 7.800000] scsi 0:0:0:0: Direct-Access UP13 USB DISK 2.0 1.0 PQ: 0 ANSI: 0 CCS
[ 7.810000] sd 0:0:0:0: [sda] 2015232 512-byte logical blocks: (1.03 GB/984 MiB)
[ 7.820000] sd 0:0:0:0: [sda] Write Protect is off
[ 7.820000] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[ 7.820000] sd 0:0:0:0: [sda] No Caching mode page found
[ 7.830000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 7.840000] sd 0:0:0:0: [sda] No Caching mode page found
[ 7.840000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 7.850000] sda: unknown partition table
[ 7.860000] sd 0:0:0:0: [sda] No Caching mode page found
[ 7.860000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 7.870000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 11.580000] jffs2: notice: (369) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 25 of xref (0 dead, 2 orphan) found.
[ 13.040000] eth1: link up (1000Mbps/Full duplex)
[ 16.650000] jffs2: notice: (366) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 25 of xref (0 dead, 2 orphan) found.
[ 16.690000] eth1: link down
[ 18.890000] NET: Registered protocol family 10
[ 18.930000] sit: IPv6 over IPv4 tunneling driver
[ 18.980000] nf_conntrack version 0.5.0 (960 buckets, 3840 max)
[ 19.110000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 19.150000] u32 classifier
[ 19.150000] input device check on
[ 19.150000] Actions configured
[ 19.180000] Mirror/redirect action on
[ 19.200000] Failed to load ipt action
[ 19.300000] fuse init (API version 7.22)
[ 19.310000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[ 19.320000] Backport generated by backports.git backports-20140320-37-g5c33da0
[ 19.340000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 19.420000] mmc_spi spi0.1: SD/MMC host mmc0, no DMA, no WP, no poweroff
[ 19.460000] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 19.470000] mmc0: new SD card on SPI
[ 19.510000] mmcblk0: mmc0:0000 00000 1.89 GiB
[ 19.540000] mmcblk0: p1 p2
[ 19.590000] xt_time: kernel timezone is -0000
[ 19.640000] cfg80211: Calling CRDA to update world regulatory domain
[ 19.640000] cfg80211: World regulatory domain updated:
[ 19.650000] cfg80211: DFS Master region: unset
[ 19.650000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 19.660000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 19.670000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 19.680000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 19.690000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[ 19.700000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 19.710000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 19.710000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 19.720000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 19.830000] PPP generic driver version 2.4.2
[ 19.830000] NET: Registered protocol family 24
[ 19.990000] usbcore: registered new interface driver rt2800usb
[ 20.030000] ath: EEPROM regdomain: 0x0
[ 20.030000] ath: EEPROM indicates default country code should be used
[ 20.030000] ath: doing EEPROM country->regdmn map search
[ 20.030000] ath: country maps to regdmn code: 0x3a
[ 20.030000] ath: Country alpha2 being used: US
[ 20.030000] ath: Regpair used: 0x3a
[ 20.050000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 20.050000] cfg80211: Calling CRDA for country: US
[ 20.060000] ieee80211 phy0: Atheros AR9340 Rev:0 mem=0xb8100000, irq=47
[ 20.070000] cfg80211: Regulatory domain changed to country: US
[ 20.080000] cfg80211: DFS Master region: FCC
[ 20.080000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 20.090000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[ 20.100000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[ 20.110000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[ 20.120000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[ 20.130000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 30.800000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
|
|