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.

problem with mounting mmcblk on dm365 evm

Other Parts Discussed in Thread: PCA9543A, TSC2004, THS7303, TVP5146, TVP7002, THS7353

Hi all,

My Setup:

HW: DM365 EVM that run fs and uImage from my ubuntu vm (tftp & nfs).

DVSDK: 4.0.2

Kernel: Linux dm365-evm 2.6.32.17-davinci1

After I login to the system, I tried to write video file into sdcard (via ./encode app.).

I inserted the sdcard and tried to mount it:

root@dm365-evm:~# mount /dev/mmcblk0p1 /media/card/
mount: block device /dev/mmcblk0p1 is write-protected, mounting read-only

I tried to format it via fdisk, but the fdisk can't to save the table on the mmcblk (read only).

What I should to do?

Note: in windows & Ubuntu I can to write to this SD card...

  • Gibbons,

    From the logs it clear that the partition is mounted as read-only.

    Can you please try mounting the partition using the following command.

    mount -t vfat -o defaults,rw,umask=0 /dev/mmcblk0p1 /media/card
    Also make sure that the write protect lock on the SD card is off


    -Deepu Raj-

    Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!


  • Hi Raj,

    After I send:

    mount -t vfat -o defaults,rw,umask=0 /dev/mmcblk0p1 /media/card
    I got this:

    root@dm365-evm:/usr/share/ti/dvsdk-demos# mount -t vfat -o defaults,rw,umask=0 /
    dev/mmcblk0p1 /media/card
    mount: block device /dev/mmcblk0p1 is write-protected, mounting read-only

    but, If I sent this:

    root@dm365-evm:~# mount -t vfat -r /dev/mmcblk0p1 /mnt/card/

    The mount is OK and I can to write to the SD Card.

    Why?



  • Gibbons,

    The option "-r" to the mount command make the partition "Read-only mount".
    But in you case this enable you the "read/write" access to the partition is that correct ?

    Have you verified the Write protect lock state on the SD card ? Also please share the complete bootlogs


    -Deepu Raj-

    Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!


  • Hi Raj,

    I Checked write access by following cmds:

    root@dm365-evm:~# umount /dev/mmcblk0p1
    root@dm365-evm:~# mount /dev/mmcblk0p1 -t vfat -r /media/card/
    root@dm365-evm:~# touch /mnt/mmc/test33.txt

    The test33.txt was created.

    In addition:

    1. what is the meaning of "Bad eraseblock" that apear in the below log?

    2. Why the uImage-dm365-evm.bin is loading two times?

    Thanks!

    here are the log file:


    Jumping to entry point at 0x81080000.

    LSP 2.10 BETA RELEASE
    VERSION: 2.10.008.02

    U-Boot 1.3.4 (Mar 2 2009 - 11:50:39)

    I2C: ready
    DRAM: 128 MB
    NAND: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit)
    Bad block table found at page 524224, version 0x01
    Bad block table found at page 524160, version 0x01
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit)
    Bad block table found at page 524224, version 0x01
    Bad block table found at page 524160, version 0x01
    2048 MiB
    In: serial
    Out: serial
    Err: serial
    Ethernet PHY: GENERIC @ 0x00
    Hit any key to stop autoboot: 4 3 2 1 0
    BOOTP broadcast 1
    DHCP client bound to address 172.20.161.49
    TFTP from server 172.20.160.144; our IP address is 172.20.161.49
    Filename 'uImage-dm365-evm.bin'.
    Load address: 0x80700000
    Loading: *#################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    ##############################
    done
    Bytes transferred = 2148124 (20c71c hex)
    TFTP from server 172.20.160.144; our IP address is 172.20.161.49
    Filename 'uImage-dm365-evm.bin'.
    Load address: 0x80700000
    Loading: *#################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    ##############################
    done
    Bytes transferred = 2148124 (20c71c hex)
    ## Booting kernel from Legacy Image at 80700000 ...
    Image Name: Arago/2.6.32.17-psp03.01.01.39/d
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 2148060 Bytes = 2 MB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux............................................................................................................................................ done, booting the kernel.
    Linux version 2.6.32.17-davinci1 (sdk@nemo) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 PREEMPT Thu Mar 24 19:30:24 CDT 2011
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    CPU: VIVT data cache, VIVT instruction cache
    Machine: DaVinci DM36x EVM
    Memory policy: ECC disabled, Data cache writeback
    DaVinci dm36x_rev1.2 variant 0x8
    Built 1 zonelists in Zone order, mobility grouping off. Total pages: 13716
    Kernel command line: console=ttyS0,115200n8 rw mem=54M video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,4050K dm365_imp.oper_mode=0 davinci_capture.device_type=1 vpfe_capture.cont_bufsize=6291456 davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=NTSC root=/dev/nfs nfsroot=172.20.160.144:/home/myUser/targetfs ip=dhcp
    PID hash table entries: 256 (order: -2, 1024 bytes)
    Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
    Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
    Memory: 54MB = 54MB total
    Memory: 50076KB available (4024K code, 393K data, 144K init, 0K highmem)
    SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    Hierarchical RCU implementation.
    NR_IRQS:245
    Console: colour dummy device 80x30
    Calibrating delay loop... 147.86 BogoMIPS (lpj=739328)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    DaVinci: 8 gpio irqs
    NET: Registered protocol family 16
    davinci_serial_init:97: failed to get UART2 clock
    EVM: HD imager video input
    bio: create slab <bio-0> at 0
    DM365 IPIPE initialized in Continuous mode
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    pca9543a_probe
    vpss vpss: dm365_vpss vpss probed
    vpss vpss: dm365_vpss vpss probe success
    dm365_afew_hw_init
    ch0 default output "COMPOSITE", mode "NTSC"
    VPBE Encoder Initialized
    cfg80211: Using static regulatory domain info
    cfg80211: Regulatory domain: US
    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
    (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
    (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
    (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
    (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
    (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
    cfg80211: Calling CRDA for country: US
    LogicPD encoder initialized
    Switching to clocksource timer0_1
    musb_hdrc: version 6.0, cppi-dma, host, debug=0
    musb_hdrc: USB Host mode controller at fec64000 using DMA, IRQ 12
    musb_hdrc musb_hdrc: MUSB HDRC host driver
    musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 2048 (order: 2, 16384 bytes)
    TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    TCP: Hash tables configured (established 2048 bind 2048)
    TCP reno registered
    NET: Registered protocol family 1
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    msgmni has been set to 97
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    davincifb davincifb.0: dm_osd0_fb: Initial window configuration is invalid.
    Console: switching to colour frame buffer device 90x36
    davincifb davincifb.0: dm_osd0_fb: 720x576x16@0,0 with framebuffer size 4050KB
    davincifb davincifb.0: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 1020KB
    davincifb davincifb.0: dm_osd1_fb: 720x480x4@0,0 with framebuffer size 675KB
    davincifb davincifb.0: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 1020KB
    DM365 IPIPEIF probed
    imp serializer initialized
    davinci_previewer initialized
    davinci_resizer initialized
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
    console [ttyS0] enabled
    brd: module loaded
    at24 1-0050: 32768 byte 24c256 EEPROM (writable)
    Read MAC addr from EEPROM: 00:0e:99:02:cf:54
    NAND device: Manufacturer ID: 0x2c, Chip ID: 0xd3 (Micron NAND 1GiB 3,3V 8-bit)
    2 NAND chips detected
    Bad block table not found for chip 0
    Bad block table not found for chip 1
    Bad block table not found for chip 0
    Bad block table not found for chip 1
    Scanning device for bad blocks
    Bad eraseblock 27 at 0x000000360000
    Bad eraseblock 28 at 0x000000380000
    Bad eraseblock 32 at 0x000000400000
    Bad eraseblock 33 at 0x000000420000
    Bad eraseblock 34 at 0x000000440000
    Bad eraseblock 35 at 0x000000460000
    Bad eraseblock 36 at 0x000000480000
    Bad eraseblock 37 at 0x0000004a0000
    Bad eraseblock 38 at 0x0000004c0000
    Bad eraseblock 39 at 0x0000004e0000
    Bad eraseblock 40 at 0x000000500000
    Bad eraseblock 41 at 0x000000520000
    Bad eraseblock 42 at 0x000000540000
    Bad eraseblock 43 at 0x000000560000
    Bad eraseblock 44 at 0x000000580000
    Bad eraseblock 45 at 0x0000005a0000
    Bad eraseblock 46 at 0x0000005c0000
    Bad eraseblock 47 at 0x0000005e0000
    Bad eraseblock 48 at 0x000000600000
    Bad eraseblock 62 at 0x0000007c0000
    Bad eraseblock 64 at 0x000000800000
    Bad eraseblock 65 at 0x000000820000
    Bad eraseblock 66 at 0x000000840000
    Bad eraseblock 67 at 0x000000860000
    Bad eraseblock 68 at 0x000000880000
    Bad eraseblock 69 at 0x0000008a0000
    Bad eraseblock 70 at 0x0000008c0000
    Bad eraseblock 71 at 0x0000008e0000
    Bad eraseblock 72 at 0x000000900000
    Bad eraseblock 73 at 0x000000920000
    Bad eraseblock 74 at 0x000000940000
    Bad eraseblock 75 at 0x000000960000
    Bad eraseblock 76 at 0x000000980000
    Bad eraseblock 77 at 0x0000009a0000
    Bad eraseblock 78 at 0x0000009c0000
    Bad eraseblock 79 at 0x0000009e0000
    Bad eraseblock 80 at 0x000000a00000
    Bad eraseblock 81 at 0x000000a20000
    Bad eraseblock 82 at 0x000000a40000
    Bad eraseblock 83 at 0x000000a60000
    Bad eraseblock 84 at 0x000000a80000
    Bad eraseblock 85 at 0x000000aa0000
    Bad eraseblock 86 at 0x000000ac0000
    Bad eraseblock 87 at 0x000000ae0000
    Bad eraseblock 88 at 0x000000b00000
    Bad eraseblock 89 at 0x000000b20000
    Bad eraseblock 90 at 0x000000b40000
    Bad eraseblock 91 at 0x000000b60000
    Bad eraseblock 92 at 0x000000b80000
    Bad eraseblock 93 at 0x000000ba0000
    Bad eraseblock 94 at 0x000000bc0000
    Bad eraseblock 95 at 0x000000be0000
    Bad eraseblock 96 at 0x000000c00000
    Bad eraseblock 97 at 0x000000c20000
    Bad eraseblock 98 at 0x000000c40000
    Bad eraseblock 99 at 0x000000c60000
    Bad eraseblock 100 at 0x000000c80000
    Bad eraseblock 101 at 0x000000ca0000
    Bad eraseblock 102 at 0x000000cc0000
    Bad eraseblock 103 at 0x000000ce0000
    Bad eraseblock 104 at 0x000000d00000
    Bad eraseblock 105 at 0x000000d20000
    Bad eraseblock 106 at 0x000000d40000
    Bad eraseblock 107 at 0x000000d60000
    Bad eraseblock 108 at 0x000000d80000
    Bad eraseblock 109 at 0x000000da0000
    Bad eraseblock 110 at 0x000000dc0000
    Bad eraseblock 111 at 0x000000de0000
    Bad eraseblock 112 at 0x000000e00000
    Bad eraseblock 113 at 0x000000e20000
    Bad eraseblock 114 at 0x000000e40000
    Bad eraseblock 115 at 0x000000e60000
    Bad eraseblock 116 at 0x000000e80000
    Bad eraseblock 117 at 0x000000ea0000
    Bad eraseblock 118 at 0x000000ec0000
    Bad eraseblock 119 at 0x000000ee0000
    Bad eraseblock 120 at 0x000000f00000
    Bad eraseblock 121 at 0x000000f20000
    Bad eraseblock 122 at 0x000000f40000
    Bad eraseblock 123 at 0x000000f60000
    Bad eraseblock 124 at 0x000000f80000
    Bad eraseblock 125 at 0x000000fa0000
    Bad eraseblock 126 at 0x000000fc0000
    Bad eraseblock 127 at 0x000000fe0000
    Bad eraseblock 128 at 0x000001000000
    Bad eraseblock 129 at 0x000001020000
    Bad eraseblock 130 at 0x000001040000
    Bad eraseblock 131 at 0x000001060000
    Bad eraseblock 132 at 0x000001080000
    Bad eraseblock 133 at 0x0000010a0000
    Bad eraseblock 134 at 0x0000010c0000
    Bad eraseblock 135 at 0x0000010e0000
    Bad eraseblock 136 at 0x000001100000
    Bad eraseblock 137 at 0x000001120000
    Bad eraseblock 138 at 0x000001140000
    Bad eraseblock 139 at 0x000001160000
    Bad eraseblock 140 at 0x000001180000
    Bad eraseblock 141 at 0x0000011a0000
    Bad eraseblock 142 at 0x0000011c0000
    Bad eraseblock 143 at 0x0000011e0000
    Bad eraseblock 144 at 0x000001200000
    Bad eraseblock 145 at 0x000001220000
    Bad eraseblock 146 at 0x000001240000
    Bad eraseblock 147 at 0x000001260000
    Bad eraseblock 148 at 0x000001280000
    Bad eraseblock 149 at 0x0000012a0000
    Bad eraseblock 150 at 0x0000012c0000
    Bad eraseblock 151 at 0x0000012e0000
    Bad eraseblock 152 at 0x000001300000
    Bad eraseblock 153 at 0x000001320000
    Bad eraseblock 154 at 0x000001340000
    Bad eraseblock 155 at 0x000001360000
    Bad eraseblock 156 at 0x000001380000
    Bad eraseblock 157 at 0x0000013a0000
    Bad eraseblock 158 at 0x0000013c0000
    Bad eraseblock 159 at 0x0000013e0000
    Bad eraseblock 160 at 0x000001400000
    Bad eraseblock 161 at 0x000001420000
    Bad eraseblock 162 at 0x000001440000
    Bad eraseblock 163 at 0x000001460000
    Bad eraseblock 164 at 0x000001480000
    Bad eraseblock 165 at 0x0000014a0000
    Bad eraseblock 166 at 0x0000014c0000
    Bad eraseblock 167 at 0x0000014e0000
    Bad eraseblock 168 at 0x000001500000
    Bad eraseblock 169 at 0x000001520000
    Bad eraseblock 170 at 0x000001540000
    Bad eraseblock 171 at 0x000001560000
    Bad eraseblock 172 at 0x000001580000
    Bad eraseblock 173 at 0x0000015a0000
    Bad eraseblock 174 at 0x0000015c0000
    Bad eraseblock 175 at 0x0000015e0000
    Bad eraseblock 176 at 0x000001600000
    Bad eraseblock 177 at 0x000001620000
    Bad eraseblock 178 at 0x000001640000
    Bad eraseblock 179 at 0x000001660000
    Bad eraseblock 180 at 0x000001680000
    Bad eraseblock 181 at 0x0000016a0000
    Bad eraseblock 182 at 0x0000016c0000
    Bad eraseblock 183 at 0x0000016e0000
    Bad eraseblock 184 at 0x000001700000
    Bad eraseblock 185 at 0x000001720000
    Bad eraseblock 186 at 0x000001740000
    Bad eraseblock 187 at 0x000001760000
    Bad eraseblock 188 at 0x000001780000
    Bad eraseblock 189 at 0x0000017a0000
    Bad eraseblock 190 at 0x0000017c0000
    Bad eraseblock 191 at 0x0000017e0000
    Bad eraseblock 192 at 0x000001800000
    Bad eraseblock 193 at 0x000001820000
    Bad eraseblock 194 at 0x000001840000
    Bad eraseblock 195 at 0x000001860000
    Bad eraseblock 196 at 0x000001880000
    Bad eraseblock 197 at 0x0000018a0000
    Bad eraseblock 198 at 0x0000018c0000
    Bad eraseblock 199 at 0x0000018e0000
    Bad eraseblock 200 at 0x000001900000
    Bad eraseblock 201 at 0x000001920000
    Bad eraseblock 202 at 0x000001940000
    Bad eraseblock 203 at 0x000001960000
    Bad eraseblock 204 at 0x000001980000
    Bad eraseblock 205 at 0x0000019a0000
    Bad eraseblock 206 at 0x0000019c0000
    Bad eraseblock 207 at 0x0000019e0000
    Bad eraseblock 208 at 0x000001a00000
    Bad eraseblock 209 at 0x000001a20000
    Bad eraseblock 210 at 0x000001a40000
    Bad eraseblock 211 at 0x000001a60000
    Bad eraseblock 212 at 0x000001a80000
    Bad eraseblock 213 at 0x000001aa0000
    Bad eraseblock 214 at 0x000001ac0000
    Bad eraseblock 215 at 0x000001ae0000
    Bad eraseblock 216 at 0x000001b00000
    Bad eraseblock 217 at 0x000001b20000
    Bad eraseblock 218 at 0x000001b40000
    Bad eraseblock 219 at 0x000001b60000
    Bad eraseblock 220 at 0x000001b80000
    Bad eraseblock 221 at 0x000001ba0000
    Bad eraseblock 222 at 0x000001bc0000
    Bad eraseblock 223 at 0x000001be0000
    Bad eraseblock 224 at 0x000001c00000
    Bad eraseblock 225 at 0x000001c20000
    Bad eraseblock 226 at 0x000001c40000
    Bad eraseblock 227 at 0x000001c60000
    Bad eraseblock 228 at 0x000001c80000
    Bad eraseblock 229 at 0x000001ca0000
    Bad eraseblock 230 at 0x000001cc0000
    Bad eraseblock 231 at 0x000001ce0000
    Bad eraseblock 232 at 0x000001d00000
    Bad eraseblock 233 at 0x000001d20000
    Bad eraseblock 234 at 0x000001d40000
    Bad eraseblock 235 at 0x000001d60000
    Bad eraseblock 236 at 0x000001d80000
    Bad eraseblock 237 at 0x000001da0000
    Bad eraseblock 238 at 0x000001dc0000
    Bad eraseblock 239 at 0x000001de0000
    Bad eraseblock 240 at 0x000001e00000
    Bad eraseblock 241 at 0x000001e20000
    Bad eraseblock 242 at 0x000001e40000
    Bad eraseblock 243 at 0x000001e60000
    Bad eraseblock 244 at 0x000001e80000
    Bad eraseblock 245 at 0x000001ea0000
    Bad eraseblock 246 at 0x000001ec0000
    Bad eraseblock 247 at 0x000001ee0000
    Bad eraseblock 248 at 0x000001f00000
    Bad eraseblock 249 at 0x000001f20000
    Bad eraseblock 250 at 0x000001f40000
    Bad eraseblock 251 at 0x000001f60000
    Bad eraseblock 252 at 0x000001f80000
    Bad eraseblock 253 at 0x000001fa0000
    Bad eraseblock 254 at 0x000001fc0000
    Bad eraseblock 255 at 0x000001fe0000
    Bad eraseblock 256 at 0x000002000000
    Bad eraseblock 257 at 0x000002020000
    Bad eraseblock 258 at 0x000002040000
    Bad eraseblock 259 at 0x000002060000
    Bad eraseblock 260 at 0x000002080000
    Bad eraseblock 261 at 0x0000020a0000
    Bad eraseblock 262 at 0x0000020c0000
    Bad eraseblock 263 at 0x0000020e0000
    Bad eraseblock 264 at 0x000002100000
    Bad eraseblock 265 at 0x000002120000
    Bad eraseblock 266 at 0x000002140000
    Bad eraseblock 267 at 0x000002160000
    Bad eraseblock 268 at 0x000002180000
    Bad eraseblock 269 at 0x0000021a0000
    Bad eraseblock 270 at 0x0000021c0000
    Bad eraseblock 271 at 0x0000021e0000
    Bad eraseblock 272 at 0x000002200000
    Bad eraseblock 273 at 0x000002220000
    Bad eraseblock 274 at 0x000002240000
    Bad eraseblock 275 at 0x000002260000
    Bad eraseblock 276 at 0x000002280000
    Bad eraseblock 277 at 0x0000022a0000
    Bad eraseblock 278 at 0x0000022c0000
    Bad eraseblock 279 at 0x0000022e0000
    Bad eraseblock 280 at 0x000002300000
    Bad eraseblock 281 at 0x000002320000
    Bad eraseblock 282 at 0x000002340000
    Bad eraseblock 283 at 0x000002360000
    Bad eraseblock 284 at 0x000002380000
    Bad eraseblock 285 at 0x0000023a0000
    Bad eraseblock 286 at 0x0000023c0000
    Bad eraseblock 287 at 0x0000023e0000
    Bad eraseblock 288 at 0x000002400000
    Bad eraseblock 289 at 0x000002420000
    Bad eraseblock 290 at 0x000002440000
    Bad eraseblock 291 at 0x000002460000
    Bad eraseblock 292 at 0x000002480000
    Bad eraseblock 293 at 0x0000024a0000
    Bad eraseblock 294 at 0x0000024c0000
    Bad eraseblock 295 at 0x0000024e0000
    Bad eraseblock 296 at 0x000002500000
    Bad eraseblock 297 at 0x000002520000
    Bad eraseblock 298 at 0x000002540000
    Bad eraseblock 299 at 0x000002560000
    Bad eraseblock 300 at 0x000002580000
    Bad eraseblock 301 at 0x0000025a0000
    Bad eraseblock 302 at 0x0000025c0000
    Bad eraseblock 303 at 0x0000025e0000
    Bad eraseblock 304 at 0x000002600000
    Bad eraseblock 305 at 0x000002620000
    Bad eraseblock 306 at 0x000002640000
    Bad eraseblock 307 at 0x000002660000
    Bad eraseblock 308 at 0x000002680000
    Bad eraseblock 309 at 0x0000026a0000
    Bad eraseblock 310 at 0x0000026c0000
    Bad eraseblock 311 at 0x0000026e0000
    Bad eraseblock 312 at 0x000002700000
    Bad eraseblock 313 at 0x000002720000
    Bad eraseblock 314 at 0x000002740000
    Bad eraseblock 315 at 0x000002760000
    Bad eraseblock 316 at 0x000002780000
    Bad eraseblock 317 at 0x0000027a0000
    Bad eraseblock 318 at 0x0000027c0000
    Bad eraseblock 319 at 0x0000027e0000
    Bad eraseblock 320 at 0x000002800000
    Bad eraseblock 321 at 0x000002820000
    Bad eraseblock 322 at 0x000002840000
    Bad eraseblock 323 at 0x000002860000
    Bad eraseblock 324 at 0x000002880000
    Bad eraseblock 325 at 0x0000028a0000
    Bad eraseblock 326 at 0x0000028c0000
    Bad eraseblock 327 at 0x0000028e0000
    Bad eraseblock 328 at 0x000002900000
    Bad eraseblock 329 at 0x000002920000
    Bad eraseblock 330 at 0x000002940000
    Bad eraseblock 331 at 0x000002960000
    Bad eraseblock 332 at 0x000002980000
    Bad eraseblock 333 at 0x0000029a0000
    Bad eraseblock 334 at 0x0000029c0000
    Bad eraseblock 335 at 0x0000029e0000
    Bad eraseblock 336 at 0x000002a00000
    Bad eraseblock 337 at 0x000002a20000
    Bad eraseblock 338 at 0x000002a40000
    Bad eraseblock 339 at 0x000002a60000
    Bad eraseblock 340 at 0x000002a80000
    Bad eraseblock 341 at 0x000002aa0000
    Bad eraseblock 342 at 0x000002ac0000
    Bad eraseblock 343 at 0x000002ae0000
    Bad eraseblock 344 at 0x000002b00000
    Bad eraseblock 345 at 0x000002b20000
    Bad eraseblock 346 at 0x000002b40000
    Bad eraseblock 347 at 0x000002b60000
    Bad eraseblock 348 at 0x000002b80000
    Bad eraseblock 349 at 0x000002ba0000
    Bad eraseblock 350 at 0x000002bc0000
    Bad eraseblock 351 at 0x000002be0000
    Bad eraseblock 352 at 0x000002c00000
    Bad eraseblock 353 at 0x000002c20000
    Bad eraseblock 354 at 0x000002c40000
    Bad eraseblock 355 at 0x000002c60000
    Bad eraseblock 356 at 0x000002c80000
    Bad eraseblock 357 at 0x000002ca0000
    Bad eraseblock 358 at 0x000002cc0000
    Bad eraseblock 359 at 0x000002ce0000
    Bad eraseblock 360 at 0x000002d00000
    Bad eraseblock 361 at 0x000002d20000
    Bad eraseblock 362 at 0x000002d40000
    Bad eraseblock 363 at 0x000002d60000
    Bad eraseblock 364 at 0x000002d80000
    Bad eraseblock 365 at 0x000002da0000
    Bad eraseblock 366 at 0x000002dc0000
    Bad eraseblock 367 at 0x000002de0000
    Bad eraseblock 368 at 0x000002e00000
    Bad eraseblock 369 at 0x000002e20000
    Bad eraseblock 370 at 0x000002e40000
    Bad eraseblock 371 at 0x000002e60000
    Bad eraseblock 372 at 0x000002e80000
    Bad eraseblock 373 at 0x000002ea0000
    Bad eraseblock 374 at 0x000002ec0000
    Bad eraseblock 375 at 0x000002ee0000
    Bad eraseblock 376 at 0x000002f00000
    Bad eraseblock 377 at 0x000002f20000
    Bad eraseblock 378 at 0x000002f40000
    Bad eraseblock 379 at 0x000002f60000
    Bad eraseblock 380 at 0x000002f80000
    Bad eraseblock 381 at 0x000002fa0000
    Bad eraseblock 382 at 0x000002fc0000
    Bad eraseblock 383 at 0x000002fe0000
    Bad eraseblock 384 at 0x000003000000
    Bad eraseblock 385 at 0x000003020000
    Bad eraseblock 386 at 0x000003040000
    Bad eraseblock 387 at 0x000003060000
    Bad eraseblock 388 at 0x000003080000
    Bad eraseblock 389 at 0x0000030a0000
    Bad eraseblock 390 at 0x0000030c0000
    Bad eraseblock 391 at 0x0000030e0000
    Bad eraseblock 392 at 0x000003100000
    Bad eraseblock 393 at 0x000003120000
    Bad eraseblock 394 at 0x000003140000
    Bad eraseblock 395 at 0x000003160000
    Bad eraseblock 396 at 0x000003180000
    Bad eraseblock 397 at 0x0000031a0000
    Bad eraseblock 398 at 0x0000031c0000
    Bad eraseblock 399 at 0x0000031e0000
    Bad eraseblock 400 at 0x000003200000
    Bad eraseblock 401 at 0x000003220000
    Bad eraseblock 402 at 0x000003240000
    Bad eraseblock 403 at 0x000003260000
    Bad eraseblock 404 at 0x000003280000
    Bad eraseblock 405 at 0x0000032a0000
    Bad eraseblock 406 at 0x0000032c0000
    Bad eraseblock 407 at 0x0000032e0000
    Bad eraseblock 408 at 0x000003300000
    Bad eraseblock 409 at 0x000003320000
    Bad eraseblock 410 at 0x000003340000
    Bad eraseblock 411 at 0x000003360000
    Bad eraseblock 412 at 0x000003380000
    Bad eraseblock 413 at 0x0000033a0000
    Bad eraseblock 414 at 0x0000033c0000
    Bad eraseblock 415 at 0x0000033e0000
    Bad eraseblock 416 at 0x000003400000
    Bad eraseblock 417 at 0x000003420000
    Bad eraseblock 418 at 0x000003440000
    Bad eraseblock 419 at 0x000003460000
    Bad eraseblock 420 at 0x000003480000
    Bad eraseblock 421 at 0x0000034a0000
    Bad eraseblock 422 at 0x0000034c0000
    Bad eraseblock 423 at 0x0000034e0000
    Bad eraseblock 424 at 0x000003500000
    Bad eraseblock 425 at 0x000003520000
    Bad eraseblock 426 at 0x000003540000
    Bad eraseblock 427 at 0x000003560000
    Bad eraseblock 428 at 0x000003580000
    Bad eraseblock 429 at 0x0000035a0000
    Bad eraseblock 430 at 0x0000035c0000
    Bad eraseblock 431 at 0x0000035e0000
    Bad eraseblock 432 at 0x000003600000
    Bad eraseblock 433 at 0x000003620000
    Bad eraseblock 434 at 0x000003640000
    Bad eraseblock 435 at 0x000003660000
    Bad eraseblock 436 at 0x000003680000
    Bad eraseblock 437 at 0x0000036a0000
    Bad eraseblock 438 at 0x0000036c0000
    Bad eraseblock 439 at 0x0000036e0000
    Bad eraseblock 440 at 0x000003700000
    Bad eraseblock 441 at 0x000003720000
    Bad eraseblock 442 at 0x000003740000
    Bad eraseblock 443 at 0x000003760000
    Bad eraseblock 444 at 0x000003780000
    Bad eraseblock 445 at 0x0000037a0000
    Bad eraseblock 446 at 0x0000037c0000
    Bad eraseblock 447 at 0x0000037e0000
    Bad eraseblock 448 at 0x000003800000
    Bad eraseblock 449 at 0x000003820000
    Bad eraseblock 450 at 0x000003840000
    Bad eraseblock 451 at 0x000003860000
    Bad eraseblock 452 at 0x000003880000
    Bad eraseblock 453 at 0x0000038a0000
    Bad eraseblock 454 at 0x0000038c0000
    Bad eraseblock 455 at 0x0000038e0000
    Bad eraseblock 456 at 0x000003900000
    Bad eraseblock 457 at 0x000003920000
    Bad eraseblock 458 at 0x000003940000
    Bad eraseblock 459 at 0x000003960000
    Bad eraseblock 460 at 0x000003980000
    Bad eraseblock 461 at 0x0000039a0000
    Bad eraseblock 462 at 0x0000039c0000
    Bad eraseblock 463 at 0x0000039e0000
    Bad eraseblock 464 at 0x000003a00000
    Bad eraseblock 465 at 0x000003a20000
    Bad eraseblock 466 at 0x000003a40000
    Bad eraseblock 467 at 0x000003a60000
    Bad eraseblock 468 at 0x000003a80000
    Bad eraseblock 469 at 0x000003aa0000
    Bad eraseblock 470 at 0x000003ac0000
    Bad eraseblock 471 at 0x000003ae0000
    Bad eraseblock 472 at 0x000003b00000
    Bad eraseblock 473 at 0x000003b20000
    Bad eraseblock 474 at 0x000003b40000
    Bad eraseblock 475 at 0x000003b60000
    Bad eraseblock 476 at 0x000003b80000
    Bad eraseblock 477 at 0x000003ba0000
    Bad eraseblock 478 at 0x000003bc0000
    Bad eraseblock 479 at 0x000003be0000
    Bad eraseblock 480 at 0x000003c00000
    Bad eraseblock 481 at 0x000003c20000
    Bad eraseblock 482 at 0x000003c40000
    Bad eraseblock 483 at 0x000003c60000
    Bad eraseblock 484 at 0x000003c80000
    Bad eraseblock 485 at 0x000003ca0000
    Bad eraseblock 486 at 0x000003cc0000
    Bad eraseblock 487 at 0x000003ce0000
    Bad eraseblock 488 at 0x000003d00000
    Bad eraseblock 489 at 0x000003d20000
    Bad eraseblock 490 at 0x000003d40000
    Bad eraseblock 491 at 0x000003d60000
    Bad eraseblock 492 at 0x000003d80000
    Bad eraseblock 493 at 0x000003da0000
    Bad eraseblock 494 at 0x000003dc0000
    Bad eraseblock 495 at 0x000003de0000
    Bad eraseblock 496 at 0x000003e00000
    Bad eraseblock 497 at 0x000003e20000
    Bad eraseblock 498 at 0x000003e40000
    Bad eraseblock 499 at 0x000003e60000
    Bad eraseblock 500 at 0x000003e80000
    Bad eraseblock 501 at 0x000003ea0000
    Bad eraseblock 502 at 0x000003ec0000
    Bad eraseblock 503 at 0x000003ee0000
    Bad eraseblock 504 at 0x000003f00000
    Bad eraseblock 505 at 0x000003f20000
    Bad eraseblock 506 at 0x000003f40000
    Bad eraseblock 507 at 0x000003f60000
    Bad eraseblock 508 at 0x000003f80000
    Bad eraseblock 509 at 0x000003fa0000
    Bad eraseblock 510 at 0x000003fc0000
    Bad eraseblock 511 at 0x000003fe0000
    Bad eraseblock 512 at 0x000004000000
    Bad eraseblock 513 at 0x000004020000
    Bad eraseblock 514 at 0x000004040000
    Bad eraseblock 515 at 0x000004060000
    Bad eraseblock 516 at 0x000004080000
    Bad eraseblock 517 at 0x0000040a0000
    Bad eraseblock 518 at 0x0000040c0000
    Bad eraseblock 519 at 0x0000040e0000
    Bad eraseblock 520 at 0x000004100000
    Bad eraseblock 521 at 0x000004120000
    Bad eraseblock 522 at 0x000004140000
    Bad eraseblock 523 at 0x000004160000
    Bad eraseblock 524 at 0x000004180000
    Bad eraseblock 525 at 0x0000041a0000
    Bad eraseblock 526 at 0x0000041c0000
    Bad eraseblock 527 at 0x0000041e0000
    Bad eraseblock 528 at 0x000004200000
    Bad eraseblock 529 at 0x000004220000
    Bad eraseblock 530 at 0x000004240000
    Bad eraseblock 531 at 0x000004260000
    Bad eraseblock 532 at 0x000004280000
    Bad eraseblock 533 at 0x0000042a0000
    Bad eraseblock 534 at 0x0000042c0000
    Bad eraseblock 535 at 0x0000042e0000
    Bad eraseblock 536 at 0x000004300000
    Bad eraseblock 537 at 0x000004320000
    Bad eraseblock 538 at 0x000004340000
    Bad eraseblock 539 at 0x000004360000
    Bad eraseblock 540 at 0x000004380000
    Bad eraseblock 541 at 0x0000043a0000
    Bad eraseblock 542 at 0x0000043c0000
    Bad eraseblock 543 at 0x0000043e0000
    Bad eraseblock 544 at 0x000004400000
    Bad eraseblock 545 at 0x000004420000
    Bad eraseblock 546 at 0x000004440000
    Bad eraseblock 547 at 0x000004460000
    Bad eraseblock 548 at 0x000004480000
    Bad eraseblock 549 at 0x0000044a0000
    Bad eraseblock 550 at 0x0000044c0000
    Bad eraseblock 551 at 0x0000044e0000
    Bad eraseblock 552 at 0x000004500000
    Bad eraseblock 553 at 0x000004520000
    Bad eraseblock 554 at 0x000004540000
    Bad eraseblock 555 at 0x000004560000
    Bad eraseblock 556 at 0x000004580000
    Bad eraseblock 557 at 0x0000045a0000
    Bad eraseblock 558 at 0x0000045c0000
    Bad eraseblock 559 at 0x0000045e0000
    Bad eraseblock 560 at 0x000004600000
    Bad eraseblock 561 at 0x000004620000
    Bad eraseblock 562 at 0x000004640000
    Bad eraseblock 563 at 0x000004660000
    Bad eraseblock 564 at 0x000004680000
    Bad eraseblock 565 at 0x0000046a0000
    Bad eraseblock 566 at 0x0000046c0000
    Bad eraseblock 567 at 0x0000046e0000
    Bad eraseblock 568 at 0x000004700000
    Bad eraseblock 569 at 0x000004720000
    Bad eraseblock 570 at 0x000004740000
    Bad eraseblock 571 at 0x000004760000
    Bad eraseblock 572 at 0x000004780000
    Bad eraseblock 573 at 0x0000047a0000
    Bad eraseblock 574 at 0x0000047c0000
    Bad eraseblock 575 at 0x0000047e0000
    Bad eraseblock 576 at 0x000004800000
    Bad eraseblock 577 at 0x000004820000
    Bad eraseblock 578 at 0x000004840000
    Bad eraseblock 579 at 0x000004860000
    Bad eraseblock 580 at 0x000004880000
    Bad eraseblock 581 at 0x0000048a0000
    Bad eraseblock 582 at 0x0000048c0000
    Bad eraseblock 583 at 0x0000048e0000
    Bad eraseblock 584 at 0x000004900000
    Bad eraseblock 585 at 0x000004920000
    Bad eraseblock 586 at 0x000004940000
    Bad eraseblock 587 at 0x000004960000
    Bad eraseblock 588 at 0x000004980000
    Bad eraseblock 589 at 0x0000049a0000
    Bad eraseblock 590 at 0x0000049c0000
    Bad eraseblock 591 at 0x0000049e0000
    Bad eraseblock 592 at 0x000004a00000
    Bad eraseblock 593 at 0x000004a20000
    Bad eraseblock 594 at 0x000004a40000
    Bad eraseblock 595 at 0x000004a60000
    Bad eraseblock 596 at 0x000004a80000
    Bad eraseblock 597 at 0x000004aa0000
    Bad eraseblock 598 at 0x000004ac0000
    Bad eraseblock 599 at 0x000004ae0000
    Bad eraseblock 600 at 0x000004b00000
    Bad eraseblock 601 at 0x000004b20000
    Bad eraseblock 602 at 0x000004b40000
    Bad eraseblock 603 at 0x000004b60000
    Bad eraseblock 604 at 0x000004b80000
    Bad eraseblock 605 at 0x000004ba0000
    Bad eraseblock 606 at 0x000004bc0000
    Bad eraseblock 1072 at 0x000008600000
    Bad eraseblock 2596 at 0x000014480000
    Bad eraseblock 2777 at 0x000015b20000
    Bad eraseblock 4340 at 0x000021e80000
    Bad eraseblock 4911 at 0x0000265e0000
    Bad eraseblock 5368 at 0x000029f00000
    Bad eraseblock 6068 at 0x00002f680000
    Bad eraseblock 7649 at 0x00003bc20000
    Bad eraseblock 7718 at 0x00003c4c0000
    Scanning device for bad blocks
    Bad eraseblock 11350 at 0x000058ac0000
    Bad eraseblock 12814 at 0x0000641c0000
    Bad eraseblock 14945 at 0x000074c20000
    Creating 5 MTD partitions on "davinci_nand.0":
    0x000000000000-0x000000f00000 : "bootloader"
    0x000000f00000-0x000001000000 : "params"
    0x000001000000-0x000001400000 : "kernel"
    0x000001400000-0x000021400000 : "filesystem1"
    0x000021400000-0x000080000000 : "filesystem2"
    davinci_nand davinci_nand.0: controller rev. 2.3
    spi_davinci spi_davinci.0: DaVinci SPI driver in EDMA mode
    Using RX channel = 17 , TX channel = 16 and event queue = 3
    at25 spi0.0: 8 KByte at25640 eeprom, pagesize 32
    spi_davinci spi_davinci.0: Controller at 0xfec66000
    console [netcon0] enabled
    netconsole: network logging started
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new interface driver usbtest
    mice: PS/2 mouse device common for all mice
    tsc2004: probe of 1-0049 failed with error -121
    input: DM365 EVM Controls as /devices/platform/i2c_davinci.1/i2c-1/1-0025/input/input0
    i2c /dev entries driver
    Linux video capture interface: v2.00
    ths7303 1-002c: chip found @ 0x58 (DaVinci I2C adapter)
    vpfe_init
    vpfe-capture: vpss clock vpss_master enabled
    vpfe-capture vpfe-capture: v4l2 device registered
    vpfe-capture vpfe-capture: video device registered
    EVM: switch to tvp5146 SD video input
    tvp514x 1-005d: tvp514x 1-005d decoder driver registered !!
    vpfe-capture vpfe-capture: v4l2 sub device tvp5146 registered
    EVM: switch to tvp7002 HD video input
    tvp7002 1-005c: tvp7002 1-005c decoder driver registered !!
    vpfe-capture vpfe-capture: v4l2 sub device tvp7002 registered
    EVM: switch to tvp7002 HD video input
    ths7353 1-002e: chip found @ 0x5c (DaVinci I2C adapter)
    ths7353 1-002e: No platform data!!
    vpfe-capture vpfe-capture: v4l2 sub device ths7353 registered
    vpfe_register_ccdc_device: DM365 ISIF
    DM365 ISIF is registered with vpfe.
    af major#: 252, minor# 0
    AF Driver initialized
    aew major#: 251, minor# 0
    AEW Driver initialized
    Trying to register davinci display video device.
    layer=c214f400,layer->video_dev=c214f570
    Trying to register davinci display video device.
    layer=c214f800,layer->video_dev=c214f970
    davinci_init:DaVinci V4L2 Display Driver V1.0 loaded
    watchdog watchdog: heartbeat 60 sec
    davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
    usbcore: registered new interface driver usbhid
    usbhid: v2.6:USB HID core driver
    Advanced Linux Sound Architecture Driver Version 1.0.21.
    No device for DAI tlv320aic3x
    No device for DAI davinci-i2s
    asoc: tlv320aic3x <-> davinci-i2s mapping ok
    ALSA device list:
    #0: DaVinci EVM (tlv320aic3x)
    TCP cubic registered
    NET: Registered protocol family 17
    lib80211: common routines for IEEE802.11 drivers
    Clocks: disable unused mmcsd1
    Clocks: disable unused spi1
    Clocks: disable unused spi2
    Clocks: disable unused spi3
    Clocks: disable unused spi4
    Clocks: disable unused pwm0
    Clocks: disable unused pwm1
    Clocks: disable unused pwm2
    Clocks: disable unused pwm3
    Clocks: disable unused timer1
    Clocks: disable unused timer3
    Clocks: disable unused emac
    Clocks: disable unused voice_codec
    Clocks: disable unused rto
    Clocks: disable unused mjcp
    emac-mii: probed
    mmc0: new high speed SDHC card at address aaaa
    mmcblk0: mmc0:aaaa SU16G 14.8 GiB (ro)
    mmcblk0: p1
    eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=1:01, id=221613)
    Sending DHCP requests .
    PHY: 1:01 - Link is Up - 100/Full
    ., OK
    IP-Config: Got DHCP answer from 0.0.0.0, my address is 172.20.161.51
    IP-Config: Complete:
    device=eth0, addr=172.20.161.51, mask=255.255.254.0, gw=172.20.161.254,
    host=172.20.161.51, domain=star-ds.local, nis-domain=(none),
    bootserver=0.0.0.0, rootserver=172.20.160.144, rootpath=
    Looking up port of RPC 100003/2 on 172.20.160.144
    Looking up port of RPC 100005/1 on 172.20.160.144
    VFS: Mounted root (nfs filesystem) on device 0:14.
    Freeing init memory: 144K
    INIT: version 2.86 booting
    Please wait: booting...
    Starting udev
    udev: starting version 141
    udevd-event[1066]: error changing netif name eth0 to eth1: Device or resource busy

    Remounting root file system...
    Caching udev devnodes
    Populating dev cacheFAT: invalid media value (0xb9)
    VFS: Can't find a valid FAT filesystem on dev mmcblk0.
    mv: cannot rename '/tmp/devices': No such file or directory
    NET: Registered protocol family 10
    ALSA: Restoring mixer settings...
    NOT configuring network interfaces: / is an NFS mount
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Fri Mar 25 00:48:00 UTC 2011
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    INIT: Entering runlevel: 5
    Starting system message bus: dbus.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
    CMEMK module: built on Mar 24 2011 at 19:34:57
    Reference Linux version 2.6.32
    File /sdk/build/DVSDK_4_02/4_02_00_06/arago-install/arago-tmp/work/dm365-evm-none-linux-gnueabi/ti-linuxutils-1_2_26_01_02-r52d/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
    allocated heap buffer 0xc7000000 of size 0x4400000
    heap fallback enabled - will try heap if pool buffer is not available
    CMEM Range Overlaps Kernel Physical - allowing overlap
    CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x83600000)
    cmemk initialized
    IRQK module: built on Mar 24 2011 at 19:35:11
    Reference Linux version 2.6.32
    File /sdk/build/DVSDK_4_02/4_02_00_06/arago-install/arago-tmp/work/dm365-evm-none-linux-gnueabi/ti-linuxutils-1_2_26_01_02-r52d/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
    irqk initialized
    EDMAK module: built on Mar 24 2011 at 19:35:06
    Reference Linux version 2.6.32
    File /sdk/build/DVSDK_4_02/4_02_00_06/arago-install/arago-tmp/work/dm365-evm-none-linux-gnueabi/ti-linuxutils-1_2_26_01_02-r52d/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/edma/src/module/edmak.c

    _____ _____ _ _
    | _ |___ ___ ___ ___ | _ |___ ___ |_|___ ___| |_
    | | _| .'| . | . | | __| _| . | | | -_| _| _|
    |__|__|_| |__,|_ |___| |__| |_| |___|_| |___|___|_|
    |___| |___|

    Arago Project http://arago-project.org dm365-evm ttyS0

    Arago 2011.02 dm365-evm ttyS0

    dm365-evm login: root

  • Sorry, I was wrong.

    I tried to access to another mount point. sorry...

    So...  the problem remains: I can't get write access to my sd card.

    Thanks!

  • Gibbons,

    Please find the inline answer for the questions

    2. Why the uImage-dm365-evm.bin is loading two times?

       You can set the following u-boot environment variable  to solve this issue

       try the command from u-boot   setenv  autoload 'no' 

       save the environment using  saveenv


    I am checking on the read only issue and will update you later.

    Can you please confirm the write protect switch status on the SD card ?

    -Deepu Raj-

    Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

  • Hi Raj,

    Regarding the autoload: if I boot via command "boot" (not autoload), the kernel load twice too (I interrupted the autoload by pressing any key when u-boot startup).

    I confirmed the write protect switch. in my PC I can write files into this card.

    In addition, I tried some other card without success.

    Thanks!

  • Gibbons,

    If the autoload argument is not present or the value is on the dhcp command will try to load a uImage file automatically an then the actual tftp will again load the kernel image you specified.

    Try setting it to no that will solve the loading of kernel image twice.

    Please find the description of autoload environment variable.

    autoload
    if set to no (or any string beginning with 'n'), the rarpb, bootp or dhcp commands will perform only a configuration lookup from the BOOTP / DHCP server, but not try to load any image using TFTP.

    -Deepu Raj-

    Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

  • Hi Raj,

    You are right, I set autoload no and now the kernel loaded one time.

    I still trying to get write access to my sd card.

    I created directory  + chmod:

    mkdir /mnt/sd
    chmod  777 /mnt/sd
    and tring to mount with write access:
    root@dm365-evm:~# mount -t vfat -o rw /dev/mmcblk0p1 /mnt/sd/
    mount: block device /dev/mmcblk0p1 is write-protected, mounting read-only
    As you can see, I can'nt write to this card (In my PC - I can copy to this sd card many files).
    Thanks!
  • Gibbons,


    Thanks for confirming the autoload issue is solved.

    I am looking in to the SD card read-only issue. I will update you soon with more details.

    Mean while can you please try remounting the sd card using the following command after you mount it.

    mount -o remount -o rw /dev/mmcblk0p1


    -Deepu Raj-

    Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

  • Hi Raj,

    Good News!

    The command: mount -o remount -o rw /dev/mmcblk0p1 

    that you write is works for me!!!

    (Before this command, I do reboot to the system, include reboot to ubuntu, that the fs and kernel load from...).

    Thanks !!!

  • Gibbons,

    Thats really a good news.

    Please mark this post as answered via the Verify Answer button below if you think it answers your question.  Thanks!

    -Deepu Raj-