/dev/mmcblk0p1 가 보이지 않습니다.
글쓴이: red01 / 작성시간: 화, 2018/07/17 - 7:13오후
엄청난 초보입니다.
SD 카드가 arm 보드에 잘 꽃혀져 있는데요 이거 마운트 한거 확인해 보려하는데 (같은 보드가 2개 있습니다.)
잘 돌아가는 한개에는 " /dev/mmcblk0p1 " 가 존재하는데
다른 한개에는 없네요..
이거 설치하려면 어떻게 해야 하나요.. 아주 쉽게 부탁드립니다. ㅠㅠ
Forums:
두 보드에 같은 SD 카드를 사용하셨나요? 안
두 보드에 같은 SD 카드를 사용하셨나요? 안 돌아간다는 다른 거에서 /dev/mmcblk0은 있고, dmesg 명령을 내렸을 때 SD 카드가 인식되는 게 보이나요?
Booting Linux on physical CPU
Booting Linux on physical CPU 0
Linux version 3.6.9+ Dooboo (darcyma@) (gcc version 4.8.1 (Sourcery CodeBench Lite 2013.11-33) ) #6 Wed Apr 30 09:53:34 KST 2014
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: ARM9 Dooboo board
Memory policy: ECC disabled, Data cache writeback
SoC: Detected soc type: at91sam9g45
SoC: Detected soc subtype: at91sam9m10
SoC: sram at 0x300000 of 0x10000 mapped at 0xfef68000
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat c03abcd4, node_mem_map c03c0000
Normal zone: 256 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 32512 pages, LIFO batch:7
Clocks: CPU 400 MHz, master 133 MHz, main 12.000 MHz
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Kernel command line: console=ttyS0,115200 mtdparts=atmel_nand:8M(bootstrap/uboot/kernel)ro,192M(rootfs),-(user) rw rootfstype=ubifs ubi.mtd=1 root=ubi0:rootfs
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 126064k/126064k available, 5008k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xc8800000 - 0xff000000 ( 872 MB)
lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
modules : 0xbf000000 - 0xc0000000 ( 16 MB)
.text : 0xc0008000 - 0xc0365490 (3446 kB)
.init : 0xc0366000 - 0xc0387f4c ( 136 kB)
.data : 0xc0388000 - 0xc03ac9a0 ( 147 kB)
.bss : 0xc03ac9c4 - 0xc03bf834 ( 76 kB)
NR_IRQS:16 nr_irqs:16 16
SoC: 160 gpio irqs in 5 banks
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
Console: colour dummy device 80x30
Calibrating delay loop... 199.06 BogoMIPS (lpj=995328)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x7028a408 - 0x7028a460
devtmpfs: initialized
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
SoC: Power Management (with slow clock mode)
SoC: Starting after power-restored wakeup
tcb_clksrc: tc0 at 16.166 MHz
bio: create slab at 0
at_hdmac at91sam9g45_dma: Atmel AHB DMA Controller ( cpy slave ), 8 channels
SCSI subsystem initialized
i2c-gpio i2c-gpio.0: using pins 20 (SDA) and 21 (SCL)
Switching to clocksource tcb_clksrc
NET: Registered protocol family 2
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
jffs2: version 2.2. (NAND) (SUMMARY) \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
msgmni has been set to 246
io scheduler noop registered (default)
at91sam9260-usart.0: ttyS0 at MMIO 0xffffee00 (irq = 17) is a ATMEL_SERIAL
console [ttyS0] enabled
at91sam9260-usart.2: ttyS2 at MMIO 0xfff90000 (irq = 24) is a ATMEL_SERIAL
brd: module loaded
loop: module loaded
atmel_nand: Use On Flash BBT
atmel_nand atmel_nand: Using dma0chan0 for DMA transfers.
ONFI param page 0 valid
ONFI flash detected
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08AAD), page size: 2048, OOB size: 64
Bad block table found at page 131008, version 0x01
Bad block table found at page 130944, version 0x01
nand_read_bbt: bad block at 0x000008b80000
3 cmdlinepart partitions found on MTD device atmel_nand
Creating 3 MTD partitions on "atmel_nand":
0x000000000000-0x000000800000 : "bootstrap/uboot/kernel"
0x000000800000-0x00000c800000 : "rootfs"
0x00000c800000-0x000010000000 : "user"
UBI: attaching mtd1 to ubi0
UBI DBG (pid 1): ubi_attach_mtd_dev: sizeof(struct ubi_ainf_peb) 48
UBI DBG (pid 1): ubi_attach_mtd_dev: sizeof(struct ubi_wl_entry) 20
UBI DBG (pid 1): io_init: min_io_size 2048
UBI DBG (pid 1): io_init: max_write_size 2048
UBI DBG (pid 1): io_init: hdrs_min_io_size 512
UBI DBG (pid 1): io_init: ec_hdr_alsize 512
UBI DBG (pid 1): io_init: vid_hdr_alsize 512
UBI DBG (pid 1): io_init: vid_hdr_offset 512
UBI DBG (pid 1): io_init: vid_hdr_aloffset 512
UBI DBG (pid 1): io_init: vid_hdr_shift 0
UBI DBG (pid 1): io_init: leb_start 2048
UBI DBG (pid 1): io_init: max_erroneous 153
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI DBG (pid 1): scan_all: scanning is finished
UBI: max. sequence number: 145
UBI: attached mtd1 to ubi0
UBI: MTD device name: "rootfs"
UBI: MTD device size: 192 MiB
UBI: number of good PEBs: 1535
UBI: number of bad PEBs: 1
UBI: number of corrupted PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 1535
UBI: number of PEBs reserved for bad PEB handling: 30
UBI: max/mean erase counter: 2/0
UBI: image sequence number: 2072967647
UBI: background thread "ubi_bgt0d" started, PID 301
SWI INIT
libphy: MACB_mii_bus: probed
Registering RTL8306SDM switch with Chip ID: 0x5988, version: 0x00, type: 0x02, revision: 0x04
SWI1: eth0
macb macb: eth0: Cadence MACB at 0xfffbc000 irq 41(e8:51:6e:06:10:00)
macb macb: eth0: attached PHY driver [Realtek RTL8306](mii_bus:phy_addr=macb-ffffffff:00, irq=149)
DS13XX: Init()
rtc-ds1307 0-0068: rtc core: registered ds1388 as rtc0
i2c /dev entries driver
at91sam9_wdt: sorry, watchdog is disabled
at91sam9_wdt: the watchdog has been disabled
softdog: Software Watchdog Timer: 0.08 initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=1)
TCP: cubic registered
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
rtc-ds1307 0-0068: setting system clock to 2018-07-18 10:53:57 UTC (1531911237)
UBIFS DBG (pid 348): ubifs_bg_thread: background thread "ubifs_bgt0_0" started, PID 348
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size: 192245760 bytes (187740 KiB, 183 MiB, 1490 LEBs)
UBIFS: journal size: 9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 0 bytes (0 KiB)
UBIFS DBG (pid 1): mount_ubifs: compiled on: Apr 29 2014 at 20:57:16
UBIFS DBG (pid 1): mount_ubifs: min. I/O unit size: 2048 bytes
UBIFS DBG (pid 1): mount_ubifs: max. write size: 2048 bytes
UBIFS DBG (pid 1): mount_ubifs: LEB size: 129024 bytes (126 KiB)
UBIFS DBG (pid 1): mount_ubifs: data journal heads: 1
UBIFS DBG (pid 1): mount_ubifs: UUID: 399C123B-DB1B-4B22-B00A-5527D318BC5C
UBIFS DBG (pid 1): mount_ubifs: big_lpt 0
UBIFS DBG (pid 1): mount_ubifs: log LEBs: 5 (3 - 7)
UBIFS DBG (pid 1): mount_ubifs: LPT area LEBs: 2 (8 - 9)
UBIFS DBG (pid 1): mount_ubifs: orphan area LEBs: 1 (10 - 10)
UBIFS DBG (pid 1): mount_ubifs: main area LEBs: 1490 (11 - 1500)
UBIFS DBG (pid 1): mount_ubifs: index LEBs: 5
UBIFS DBG (pid 1): mount_ubifs: total index bytes: 409232 (399 KiB, 0 MiB)
UBIFS DBG (pid 1): mount_ubifs: key hash type: 0
UBIFS DBG (pid 1): mount_ubifs: tree fanout: 8
UBIFS DBG (pid 1): mount_ubifs: reserved GC LEB: 260
UBIFS DBG (pid 1): mount_ubifs: first main LEB: 11
UBIFS DBG (pid 1): mount_ubifs: max. znode size 240
UBIFS DBG (pid 1): mount_ubifs: max. index node size 192
UBIFS DBG (pid 1): mount_ubifs: node sizes: data 48, inode 160, dentry 56
UBIFS DBG (pid 1): mount_ubifs: node sizes: trun 56, sb 4096, master 512
UBIFS DBG (pid 1): mount_ubifs: node sizes: ref 64, cmt. start 32, orph 32
UBIFS DBG (pid 1): mount_ubifs: max. node sizes: data 4144, inode 4256 dentry 312, idx 188
UBIFS DBG (pid 1): mount_ubifs: dead watermark: 2048
UBIFS DBG (pid 1): mount_ubifs: dark watermark: 6144
UBIFS DBG (pid 1): mount_ubifs: LEB overhead: 560
UBIFS DBG (pid 1): mount_ubifs: max. dark space: 9154560 (8940 KiB, 8 MiB)
UBIFS DBG (pid 1): mount_ubifs: maximum bud bytes: 8388608 (8192 KiB, 8 MiB)
UBIFS DBG (pid 1): mount_ubifs: BG commit bud bytes: 6815744 (6656 KiB, 6 MiB)
UBIFS DBG (pid 1): mount_ubifs: current bud bytes 67584 (66 KiB, 0 MiB)
UBIFS DBG (pid 1): mount_ubifs: max. seq. number: 23706
UBIFS DBG (pid 1): mount_ubifs: commit number: 32
VFS: Mounted root (ubifs filesystem) on device 0:10.
devtmpfs: mounted
Freeing init memory: 132K
udevd[364]: starting version 182
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
macb macb: eth0: link up(100/Full)
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
IPv6: ADDRCONF(NETDEV_UP): vlan1: link is not ready
IPv6: ADDRCONF(NETDEV_UP): vlan2: link is not ready
IPv6: ADDRCONF(NETDEV_UP): vlan3: link is not ready
macb macb: eth0: link up(100/Full)
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): vlan1: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): vlan2: link becomes ready
IPv6: ADDRCONF(NETDEV_CHANGE): vlan3: link becomes ready
가 확인된 메세지입니다.
제가 초보라 정확하게 어느부분을 체크하는지 잘 모릅니다.
dmesg | grep mmc
올려주신 dmesg 로그에서 mmc로 검색되는게 없네요.
사용하시는 커널에 mmc 드라이버가 포함되는 있는지 확인해보세요
혹시 MMC block device driver를 말씀하시는 것인지요
제가 MMC block device driver 하고
Atmel SD/MMC Driver
MMC/SD/SDIO over SPI
는 체크하였습니다.
댓글 달기