This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

am3358 boot via SD: Read-only filesystem issue

Other Parts Discussed in Thread: AM3358, TPS65910, DA8XX

Hi, guys

    I have a custom board with am3358. I boot the filesystem from the SD card, but I can neiter create new file nor modify any file beacuse it is Read-only filesystem, the kernel start log:

[    1.577209] mmcblk0: mmc0:1234 SA16G 14.6 GiB (ro)
[    1.583435] omap_rtc am33xx-rtc: setting system clock to 2013-06-28 20:58:59 UTC (1372453139)
[    1.592956]  mmcblk0: p1 p2
[    1.674407] kjournald starting.  Commit interval 5 seconds
[    1.680206] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode
[    1.687438] VFS: Mounted root (ext3 filesystem) readonly on device 179:2.
[    1.694854] Freeing init memory: 232K
INIT: version 2.88 booting
Starting udev

    So I modify the boot command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait ip=none, but it can not boot with the log :

[    1.565216] mmc0: new high speed SDHC card at address 1234                   
[    1.571441] cpsw: Detected MACID = c4:ed:ba:87:ac:3e                         
[    1.577239] mmcblk0: mmc0:1234 SA16G 14.6 GiB (ro)                           
[    1.583374] omap_rtc am33xx-rtc: setting system clock to 2013-06-28 22:03:47)
[    1.592834]  mmcblk0: p1 p2                                                  
[    1.666809] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2) 
[    1.674224] Please append a correct "root=" boot option; here are the availa:
[    1.682983] b300        15339520 mmcblk0  driver: mmcblk                     
[    1.688537]   b301        10485760 mmcblk0p1 00000000-0000-0000-0000-00000000
[    1.696380]   b302         4852736 mmcblk0p2 00000000-0000-0000-0000-00000000
[    1.704223] Kernel panic - not syncing: VFS: Unable to mount root fs on unkn)
[    1.713043] Backtrace:                                                       
[    1.715637] [<c0017dbc>] (dump_backtrace+0x0/0x10c) from [<c03cc064>] (dump_)
[    1.724456]  r6:00008000 r5:c04bb080 r4:c05f1f48 r3:c05aeccc                 
[    1.730407] [<c03cc04c>] (dump_stack+0x0/0x1c) from [<c03cc260>] (panic+0x64)
[    1.738433] [<c03cc1fc>] (panic+0x0/0x194) from [<c0552c88>] (mount_block_ro)
[    1.747161]  r3:00000004 r2:00000000 r1:cf01df40 r0:c04bb080                 
[    1.753112]  r7:c04bb0e8                                                     
[    1.755767] [<c0552b14>] (mount_block_root+0x0/0x228) from [<c0552ef0>] (mou)
[    1.764770] [<c0552e28>] (mount_root+0x0/0xe8) from [<c055307c>] (prepare_na)
[    1.773956]  r4:c05ef320                                                     
[    1.776611] [<c0552f10>] (prepare_namespace+0x0/0x1c0) from [<c05528fc>] (ke)
[    1.785888]  r5:c058b124 r4:c058b124                                         
[    1.789642] [<c0552808>] (kernel_init+0x0/0x120) from [<c0041d60>] (do_exit+)
[    1.797943]  r5:c0552808 r4:00000000 

    It since that the SD card and it's partitions (p1 and p2) had been recognized, but cannot open “mmcblk0p2”.

Any help ?

best regards !

  • It is normal to see

    [    1.687438] VFS: Mounted root (ext3 filesystem) readonly on device 179:2.
    [    1.694854] Freeing init memory: 232K
    INIT: version 2.88 booting
    Starting udev
    The filesystem is later remounted with read/write capabilities. Can you use hastebin.com to save a full log including the output when you try to create a file.
    During the boot process I believe several files are automatically created/modified so if your able to login to the Arago prompt then your filesystem shouldn't be set to readonly.
  • This line might be a problem:

    [    1.577239] mmcblk0: mmc0:1234 SA16G 14.6 GiB (ro)

    Trace your Card Detect line. Note that with micro SD, there is no Card Detect,

  • Hi, Franklin Cooper

        the full log:

     

    CCCCCCCCCCCCCCCC
    U-Boot SPL 2013.01.01 (Apr 01 2014 - 10:49:50)
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO)
    musb-hdrc: MHDRC RTL version 2.0 
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Peripheral mode controller at 47401000 using PIO, IRQ 0
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO)
    musb-hdrc: MHDRC RTL version 2.0 
    musb-hdrc: setup fifo_mode 4
    musb-hdrc: 28/31 max ep, 16384/16384 memory
    USB Host mode controller at 47401800 using PIO, IRQ 0
    OMAP SD/MMC: 0
    reading u-boot.img
    reading u-boot.img
    U-Boot 2013.01.01 (Apr 01 2014 - 10:49:50)
                                                                                    
    I2C:   ready                                                                    
    DRAM:  256 MiB                                                                  
    WARNING: Caches not enabled                                                                                                      
    NAND:  maf_id = 0xec                                                            
    dev_id = 0xda                                                                   
    256 MiB                                                                         
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1                                           
    *** Warning - bad CRC, using default environment                                
                                                                                                                         
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO)
    musb-hdrc: MHDRC RTL version 2.0                                                
    musb-hdrc: setup fifo_mode 4                                                    
    musb-hdrc: 28/31 max ep, 16384/16384 memory                                     
    USB Peripheral mode controller at 47401000 using PIO, IRQ 0                     
    musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO)
    musb-hdrc: MHDRC RTL version 2.0                                                
    musb-hdrc: setup fifo_mode 4                                                    
    musb-hdrc: 28/31 max ep, 16384/16384 memory                                     
    USB Host mode controller at 47401800 using PIO, IRQ 0                           
    Hit any key to stop autoboot:  0                                                
    mmc0 is current device                                                          
    SD/MMC found on device 0                                                        
    reading uEnv.txt                                                                
    ** Unable to read file uEnv.txt **                                              
    reading uImage                                                                  
    3193288 bytes read in 300 ms (10.2 MiB/s)                                       
    Booting from mmc ...                                                            
    ## Booting kernel from Legacy Image at 80007fc0 ...                             
       Image Name:   Linux-3.2.0                                                    
       Image Type:   ARM Linux Kernel Image (uncompressed)                          
       Data Size:    3193224 Bytes = 3 MiB                                          
       Load Address: 80008000                                                       
       Entry Point:  80008000                                                       
       Verifying Checksum ... OK                                                    
       XIP Kernel Image ... OK                                                      
    OK                                                                              
                                                                                    
    Starting kernel ...                                                             
                                                                                    
    Uncompressing Linux... done, booting the kernel.                                
    [    0.000000] Linux version 3.2.0 (ly@ubuntu) (gcc version 4.7.3 20130226 (pre4
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d  
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie
    [    0.000000] Machine: am335xevm                                               
    [    0.000000] Memory policy: ECC disabled, Data cache writeback                
    [    0.000000] AM335X ES2.1 (sgx neon )                                         
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pa4
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 e
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)              
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)  
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)    
    [    0.000000] Memory: 256MB = 256MB total                                      
    [    0.000000] Memory: 253276k/253276k available, 8868k reserved, 0K highmem    
    [    0.000000] Virtual kernel memory layout:                                    
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)                
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)                
    [    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)                
    [    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)                
    [    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)                
    [    0.000000]       .text : 0xc0008000 - 0xc0598000   (5696 kB)                
    [    0.000000]       .init : 0xc0598000 - 0xc05d3000   ( 236 kB)                
    [    0.000000]       .data : 0xc05d4000 - 0xc063dd30   ( 424 kB)                
    [    0.000000]        .bss : 0xc063dd54 - 0xc066caa4   ( 188 kB)                
    [    0.000000] NR_IRQS:396                                                      
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrus
    [    0.000000] Total of 128 interrupts on 1 active controller                   
    [    0.000000] OMAP clockevent source: GPTIMER2 at 24000000 Hz                  
    [    0.000000] OMAP clocksource: GPTIMER1 at 32768 Hz                           
    [    0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 1s
    [    0.000000] Console: colour dummy device 80x30                               
    [    0.000061] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)          
    [    0.089233] pid_max: default: 32768 minimum: 301                             
    [    0.089324] Security Framework initialized                                   
    [    0.089385] Mount-cache hash table entries: 512                              
    [    0.089721] CPU: Testing write buffer coherency: ok                          
    [    0.109069] omap_hwmod: pruss: failed to hardreset                           
    [    0.110046] print_constraints: dummy:                                        
    [    0.110351] NET: Registered protocol family 16                               
    [    0.112060] OMAP GPIO hardware version 0.1                                   
    [    0.114013] omap_mux_init: Add partition: #1: core, flags: 0                 
    [    0.115539]  omap_i2c.1: alias fck already exists                            
    [    0.116241]  omap2_mcspi.1: alias fck already exists                         
    [    0.116424]  omap2_mcspi.2: alias fck already exists                         
    [    0.117156]  edma.0: alias fck already exists                                
    [    0.117187]  edma.0: alias fck already exists                                
    [    0.117187]  edma.0: alias fck already exists                                
    [    0.137207] bio: create slab <bio-0> at 0                                    
    [    0.138916] SCSI subsystem initialized                                       
    [    0.140258] usbcore: registered new interface driver usbfs                   
    [    0.140502] usbcore: registered new interface driver hub                     
    [    0.140625] usbcore: registered new device driver usb                        
    [    0.140899] registerd cppi-dma Intr @ IRQ 17                                 
    [    0.140899] Cppi41 Init Done Qmgr-base(d087a000) dma-base(d0878000)          
    [    0.140930] Cppi41 Init Done                                                 
    [    0.140930] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3   
    [    0.141174] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1   
    [    0.142028] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz                   
    [    0.143157] tps65910 1-002d: could not be detected                           
    [    0.144165] Advanced Linux Sound Architecture Driver Version 1.0.24.         
    [    0.145050] Switching to clocksource gp timer                                
    [    0.156616] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)             
    [    0.156768] musb-hdrc musb-hdrc.0: dma type: dma-cppi41                      
    [    0.157043] MUSB0 controller's USBSS revision = 4ea20800                     
    [    0.157073] musb0: Enabled SW babble control                                 
    [    0.157867] musb-hdrc musb-hdrc.0: USB OTG mode controller at d083c000 using8
    [    0.158020] musb-hdrc musb-hdrc.1: dma type: dma-cppi41                      
    [    0.158264] MUSB1 controller's USBSS revision = 4ea20800                     
    [    0.158264] musb1: Enabled SW babble control                                 
    [    0.158630] musb-hdrc musb-hdrc.1: MUSB HDRC host driver                     
    [    0.158721] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus numb1
    [    0.158813] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002    
    [    0.158843] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber1
    [    0.158843] usb usb1: Product: MUSB HDRC host driver                         
    [    0.158843] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd                     
    [    0.158843] usb usb1: SerialNumber: musb-hdrc.1                              
    [    0.159515] hub 1-0:1.0: USB hub found                                       
    [    0.159545] hub 1-0:1.0: 1 port detected                                     
    [    0.159973] musb-hdrc musb-hdrc.1: USB Host mode controller at d083e800 usin9
    [    0.160339] NET: Registered protocol family 2                                
    [    0.160491] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)   
    [    0.160736] TCP established hash table entries: 8192 (order: 4, 65536 bytes) 
    [    0.160858] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)        
    [    0.160919] TCP: Hash tables configured (established 8192 bind 8192)         
    [    0.160949] TCP reno registered                                              
    [    0.160949] UDP hash table entries: 256 (order: 0, 4096 bytes)               
    [    0.160980] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)          
    [    0.161132] NET: Registered protocol family 1                                
    [    0.161346] RPC: Registered named UNIX socket transport module.              
    [    0.161346] RPC: Registered udp transport module.                            
    [    0.161346] RPC: Registered tcp transport module.                            
    [    0.161346] RPC: Registered tcp NFSv4.1 backchannel transport module.        
    [    0.161560] NetWinder Floating Point Emulator V0.97 (double precision)       
    [    0.171569] VFS: Disk quotas dquot_6.5.2                                     
    [    0.171600] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)       
    [    0.172058] msgmni has been set to 494                                       
    [    0.174621] alg: No test for stdrng (krng)                                   
    [    0.175262] io scheduler noop registered                                     
    [    0.175262] io scheduler deadline registered                                 
    [    0.175323] io scheduler cfq registered (default)                            
    [    0.176300] Could not set LED4 to fully on                                   
    [    0.215972] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0 
    [    0.796813] console [ttyO0] enabled                                          
    [    0.800964] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1 
    [    0.808715] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2 
    [    0.816436] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3 
    [    0.824157] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4 
    [    0.831878] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5 
    [    0.839965] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00     
    [    0.853973] brd: module loaded                                               
    [    0.860992] loop: module loaded                                              
    [    0.864410] i2c-core: driver [tsl2550] using legacy suspend method           
    [    0.870910] i2c-core: driver [tsl2550] using legacy resume method            
    [    0.877349] at24 1-0051: 32768 byte 24c256 EEPROM, writable, 64 bytes/write  
    [    0.884613] Detected a daughter card on AM335x EVM..                         
    [    0.889648] at24 1-0050: 32768 byte 24c256 EEPROM, writable, 64 bytes/write  
    [    0.897125] AM335X: skip to read MAC address and other specific data         
    [    0.903778] Board name: A335EVM                                              
    [    0.907043] Board version: 1.5A                                              
    [    0.910339] SKU: SKU#01                                                      
    [    0.912872] The board is general purpose EVM with DDR3 in profile 0          
    [    0.919952] ###LCDC pin mux init.....                                        
    [    0.923980] ###register LCDC_pdata                                           
    [    0.927612]  da8xx_lcdc.0: alias fck already exists                          
    [    0.933074] da8xx_lcdc da8xx_lcdc.0: GLCD: Found TFC_S9700RTWV35TR_01B panel 
    [    0.950073] Console: switching to colour frame buffer device 100x30          
    [    0.962005] ############setup pin mux for mmc0                               
    [    0.966796]  omap_hsmmc.0: alias fck already exists                          
    [    0.972229]  omap_hsmmc.2: alias fck already exists                          
    [    0.977630] Configure Bluetooth Enable pin...                                           
    [    1.001678] _regulator_get: l3_main.0 supply vdd_core not found, using dummyr
    [    1.010253] am335x_opp_update: physical regulator not present for core(-22)  
    [    1.017791] registered am33xx_sr device                                      
    [    1.023315] mtdoops: mtd device (mtddev=name/number) must be supplied        
    [    1.030395] omap2-nand driver initializing                                   
    [    1.034820] OneNAND driver initializing                                      
    [    1.039855] CAN device driver interface                                      
    [    1.043853] CAN bus driver for Bosch D_CAN controller 1.0                    
    [    1.095642] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6           
    [    1.102111] davinci_mdio davinci_mdio.0: detected phy mask fffffffd          
    [    1.109252] davinci_mdio.0: probed                                           
    [    1.112823] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown 
    [    1.120483] usbcore: registered new interface driver zd1201                  
    [    1.126464] usbcore: registered new interface driver cdc_ether               
    [    1.132690] usbcore: registered new interface driver cdc_eem                 
    [    1.138763] usbcore: registered new interface driver dm9601                  
    [    1.144622] cdc_ncm: 04-Aug-2011                                             
    [    1.148162] usbcore: registered new interface driver cdc_ncm                 
    [    1.154083] Initializing USB Mass Storage driver...                          
    [    1.159393] usbcore: registered new interface driver usb-storage             
    [    1.165679] USB Mass Storage support registered.                             
    [    1.170837] mousedev: PS/2 mouse device common for all mice                  
    [    1.177581] omap_rtc am33xx-rtc: rtc core: registered am33xx-rtc as rtc0     
    [    1.184600] am33xx-rtc: already running                                      
    [    1.188812] i2c /dev entries driver                                          
    [    1.192749] Linux video capture interface: v2.00                             
    [    1.197875] usbcore: registered new interface driver uvcvideo                
    [    1.203887] USB Video Class driver (1.1.1)                                   
    [    1.346466] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec             
    [    1.352996] _regulator_get: deviceless supply vdd_mpu not found, using dummyr
    [    1.361633] cpuidle: using governor ladder                                   
    [    1.366302] cpuidle: using governor menu                                     
    [    1.373901] omap4_aes_mod_init: loading AM33X AES driver                     
    [    1.379608] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02                
    [    1.386291] omap4_aes_probe: probe() done                                    
    [    1.390686] omap4_sham_mod_init: loading AM33X SHA/MD5 driver                
    [    1.396850] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03          
    [    1.410552] omap4_sham_probe: probe() done                                   
    [    1.420013] usbcore: registered new interface driver usbhid                  
    [    1.425872] usbhid: USB HID core driver                                      
    [    1.430603] usbcore: registered new interface driver snd-usb-audio           
    [    1.438415] ALSA device list:                                                
    [    1.441528]   No soundcards found.                                           
    [    1.445098] oprofile: hardware counters not available                        
    [    1.450378] oprofile: using timer interrupt.                                 
    [    1.454864] nf_conntrack version 0.5.0 (3957 buckets, 15828 max)             
    [    1.461608] ip_tables: (C) 2000-2006 Netfilter Core Team                     
    [    1.467285] TCP cubic registered                                             
    [    1.470642] NET: Registered protocol family 17                               
    [    1.475311] can: controller area network core (rev 20090105 abi 8)           
    [    1.481842] NET: Registered protocol family 29                               
    [    1.486511] can: raw protocol (rev 20090105)                                 
    [    1.490966] can: broadcast manager protocol (rev 20090105 t)                 
    [    1.496917] Registering the dns_resolver key type                            
    [    1.501892] VFP support v0.3: implementor 41 architecture 3 part 30 variant 3
    [    1.509918] ThumbEE CPU extension supported.                                 
    [    1.514465] mux: Failed to setup hwmod io irq -22                            
    [    1.519958] Power Management for AM33XX family                               
    [    1.524810] Trying to load am335x-pm-firmware.bin (60 secs timeout)          
    [    1.531524] Copied the M3 firmware to UMEM                                   
    [    1.535888] Cortex M3 Firmware Version = 0x181                               
    [    1.540710] _regulator_get: deviceless supply vdd_core not found, using dummr
    [    1.549133] smartreflex smartreflex: am33xx_sr_probe: cannot determine opp   
    [    1.556365] smartreflex: probe of smartreflex failed with error -22          
    [    1.563415] sr_init: platform driver register failed                         
    [    1.572814] clock: disabling unused clocks to save power                     
    [    1.588562] Detected MACID=c4:ed:ba:87:ac:3c                                 
    [    1.594055] cpsw: Detected MACID = c4:ed:ba:87:ac:3e                         
    [    1.600219] omap_rtc am33xx-rtc: setting system clock to 2013-07-04 17:23:49)
    [    1.609649] Waiting for root device /dev/mmcblk0p2...                        
    [    1.618774] mmc0: new high speed SDHC card at address 1234                   
    [    1.625030] mmcblk0: mmc0:1234 SA16G 14.6 GiB (ro)                           
    [    1.632110]  mmcblk0: p1 p2                                                  
    [    1.723358] kjournald starting.  Commit interval 5 seconds                   
    [    1.729156] EXT3-fs (mmcblk0p2): mounted filesystem with ordered data mode   
    [    1.736419] VFS: Mounted root (ext3 filesystem) readonly on device 179:2.    
    [    1.743835] Freeing init memory: 236K                                        
    INIT: version 2.88 booting                                                      
    Starting udev                                                                   
    Starting Bootlog daemon: bootlogd: cannot allocate pseudo tty: No such file or y
    bootlogd.                                                                       
    ALSA: Restoring mixer settings...                                               
    Configuring network interfaces... /usr/sbin/alsactl: load_state:1686: No soundc.
    [    4.946166] net eth0: CPSW phy found : id is : 0x20005c90                    
    udhcpc (v1.20.2) started                                                        
    Sending discover...                                                             
    [    6.936981] PHY: 0:01 - Link is Up - 100/Half                                
    Sending discover...                                                             
    Sending discover...                                                             
    No lease, failing                                                               
    done.                                                                           
    INIT: Entering runlevel: 5                                                      
    Starting system message bus: dbus.                                              
    mkdir: can't create directory '/var/lib/dropbear': Read-only file system        
    Starting telnet daemon.                                                         
    Performing wifi calibration...                                                  
    rm: remove '/lib/firmware/ti-connectivity/wl1271-nvs.bin'?                      
    Error: Module wl12xx_sdio is not currently loaded                               
    nl80211 not found.                                                              
    [   15.156677] Disabling lock debugging due to kernel taint                     
    Starting network benchmark server: netserver.                                   
    Starting syslogd/klogd: done                                                    
    Starting thttpd.                                                                
    Starting PVR                                                                    
    touch: /etc/powervr-esrev: Read-only file system                                
    Starting Lighttpd Web Server: 2013-07-04 17:24:03: (log.c.166) server started   
    lighttpd.                                                                       
                                                                                    
    /                                                                               
    Starting Matrix GUI application.                                                
    /etc/rc5.d/S98parse-ip: line 37: /media/mmcblk0p1/.ipaddr: Read-only file system
    [   16.605957]  gadget: Mass Storage Function, version: 2009/09/11              
    [   16.612243]  gadget: Number of LUNs=1                                        
    [   16.616088]  lun0: LUN: removable file: /dev/mmcblk0p1                       
    [   16.621520]  gadget: Mass Storage Gadget, version: 2009/09/11                
    [   16.627532]  gadget: userspace failed to provide iSerialNumber               
    [   16.633636]  gadget: g_mass_storage ready                                    
    [   16.637878] musb-hdrc musb-hdrc.0: MUSB HDRC host driver                     
    [   16.643463] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus numb2
    [   16.651306] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002    
    [   16.658416] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber1
    [   16.666107] usb usb2: Product: MUSB HDRC host driver                         
    [   16.671325] usb usb2: Manufacturer: Linux 3.2.0 musb-hcd                     
    [   16.676879] usb usb2: SerialNumber: musb-hdrc.0                              
    [   16.682098] hub 2-0:1.0: USB hub found                                       
    [   16.686035] hub 2-0:1.0: 1 port detected                                     
    ***************************************************************                 
    ***************************************************************                 
    NOTICE: This file system contains the followin GPLv3 packages:                  
            binutils-symlinks                                                       
            binutils                                                                
            gdbserver                                                               
                                                                                    
    If you do not wish to distribute GPLv3 components please remove                 
    the above packages prior to distribution.  This can be done using               
    the opkg remove command.  i.e.:                                                 
        opkg remove <package>                                                       
    Where <package> is the name printed in the list above                           
                                                                                    
    NOTE: If the package is a dependency of another package you                     
          will be notified of the dependent packages.  You should                   
          use the --force-removal-of-dependent-packages option to                   
          also remove the dependent packages as well                                
    ***************************************************************                 
    ***************************************************************                 
    Stopping Bootlog daemon: bootlogd.                                              
                                                                                    
     _____                    _____           _         _                           
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
                  |___|                    |___|                                    
                                                                                    
    Arago Project http://arago-project.org am335x-evm ttyO0                         
                                                                                    
    Arago 2013.05 am335x-evm ttyO0                                                  
                                                                                    
    am335x-evm login: root                                                          
    root@am335x-evm:~# touch aaa                                                    
    touch: aaa: Read-only file system                                               
    root@am335x-evm:~# mkdir aaa                                                    
    mkdir: can't create directory 'aaa': Read-only file system                      
    root@am335x-evm:~# echo aaa > aaa                                               
    -sh: aaa: Read-only file system                                                 
    root@am335x-evm:~# 

     

    Someone also told me that the shell of '/etc/rcS.d/S10Checkroot.sh' will remounte with read/write capabilities later. I exe tht shell manually after login, but it still can not write. can you see something wrong from the log?

    Best regards

  • Post the contents of your board file. How do you init the pin mux? How do you init the mmc0 driver?

    How is your write protect sense connected to the SD card connector?

    regards

    Wolfgang

  • Hi, Wolfgang

        Thank you for your help ! Now the problem has been solve. The SD which I use is micro SD, it don't have the WP pin, but I use beaglebone pin mux to init it.

    Best regards