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.

DM8148 UBIFS support

Other Parts Discussed in Thread: PCF8575, TPS65910, PMP

Hi,

When I boot from NAND using ubi image as rootfilesystem, I see following issues,

[FAILED] Failed to start Load Random Seed.
See 'systemctl status systemd-random-seed-load.service' for details.

[FAILED] Failed to start Journal Service.
See 'systemctl status systemd-journald.service' for details.
[DEPEND] Dependency failed for Trigger Flushing of Journal to...istent Storage.
         Starting Journal Service...
[FAILED] Failed to start Journal Service.
See 'systemctl status systemd-journald.service' for details.

Is it a known issue ? Or is it that  I am missing something ?

Thanks & Regards,

Mike

  • Mike,

    Could you please provide the below info:

    1. How you create the UBI filesystem

    2. How you flash the UBI filesystem

    3. How you boot up your board from NAND - full console output

    Regards,
    Pavel

  • Hi Pavel,

    I have created the filesystem with following steps,

    1: mkfs.ubifs -r <path to fs> -m 2048  -e 126976 -c 993 -o ubifs.img

    2: ubinize.cfg file

    [ubifs]
    mode=ubi
    image=ubifs.img
    vol_id=0
    vol_size=121MiB
    vol_type=dynamic
    vol_name=rootfs


    3: ubinize -o ubi.img -m 2048 -p 128KiB -O 2048 ubinize.cfg

    4: setenv bootargs 'console=ttyO0,115200n8 rootwait ubi.mtd=4,2048 rootfstype=ubifs root=ubi0:rootfs rw noinitrd ip=off'

    --> How you flash the UBI filesystem

    For flashing I flashed it from SD boot,

    nandwrite -p /dev/mtd4 ubi.img (before nadwrite erased it with flash_erasell)

    ---> Complete boot log

    U-Boot 2010.06-00303-gd9f7b67-dirty (Oct 22 2014 - 09:55:28)

    TI8148-GP rev 2.1

    ARM clk: 1000MHz
    DDR clk: 533MHz

    I2C:   ready
    DRAM:  1 GiB
    DCACHE:  On
    NAND:  HW ECC BCH8 Selected
    256 MiB
    MMC:   OMAP SD/MMC: 0
                              .:;rrr;;.                   
                        ,5#@@@@#####@@@@@@#2,             
                     ,A@@@hi;;;r5;;;;r;rrSG@@@A,          
                   r@@#i;:;s222hG;rrsrrrrrr;ri#@@r        
                 :@@hr:r;SG3ssrr2r;rrsrsrsrsrr;rh@@:      
                B@H;;rr;3Hs;rrr;sr;;rrsrsrsrsrsr;;H@B     
               @@s:rrs;5#;;rrrr;r#@H:;;rrsrsrsrsrr:s@@    
              @@;;srs&X#9;r;r;;,2@@@rrr:;;rrsrsrsrr;;@@   
             @@;;rrsrrs@MB#@@@@@###@@@@@@#rsrsrsrsrr;;@@  
            G@r;rrsrsr;#X;SX25Ss#@@#M@#9H9rrsrsrsrsrs;r@G
            @9:srsrsrs;2@;:;;:.X@@@@@H::;rrsrsrsrsrsrr:3@
           X@;rrsrsrsrr;XAi;;:&@@#@Bs:rrsrsrsrsrsrsrsrr;@X
           @#;rsrsrsrsrr;r2ir@@@###::rrsrsrsrsrsrsrsrsr:@@
           @A:rrsrsrsrr;:2@29@@M@@@;:;rrrrsrsrsrsrsrsrs;H@
           @&;rsrsrsrr;A@@@@@@###@@@s::;:;;rrsrsrsrsrsr;G@
           @#:rrsrsrsr;G@5Hr25@@@#@@@#9XG9s:rrrrsrsrsrs:#@
           M@;rsrsrsrs;r@&#;::S@@@@@@@M@@@@Grr:;rsrsrsr;@#
           :@s;rsrsrsrr:M#Msrr;;&#@@@@@@@@@@H@@5;rsrsr;s@,
            @@:rrsrsrsr;S@rrrsr;:;r3MH@@#@M5,S@@irrsrr:@@
             @A:rrsrsrsrrrrrsrsrrr;::;@##@r:;rH@h;srr:H@  
             ;@9:rrsrsrsrrrsrsrsrsr;,S@Hi@i:;s;MX;rr:h@;  
              r@B:rrrrsrsrsrsrsrr;;sA@#i,i@h;r;S5;r:H@r   
               ,@@r;rrrsrsrsrsrr;2BM3r:;r:G@:rrr;;r@@,    
                 B@Mr;rrrrsrsrsr@@S;;;rrr:5M;rr;rM@H      
                  .@@@i;;rrrrsrs2i;rrrrr;r@M:;i@@@.       
                    .A@@#5r;;;r;;;rrr;r:r#AsM@@H.         
                       ;&@@@@MhXS5i5SX9B@@@@G;            
                           :ihM#@@@@@##hs,                

    Net:   Detected MACID:0:18:32:63:1d:26
    cpsw
    Hit any key to stop autoboot:  0
    TI8148_EVM#
    TI8148_EVM#
    TI8148_EVM#i2c mw 0x2D 0x22 0x3C
    TI8148_EVM#i2c mw 0x48 0x01 0xB0
    TI8148_EVM#setenv bootargs 'console=ttyO0,115200n8 rootwait ubi.mtd=4,2048 rootfstype=ubifs root=ubi0:rootfs rw mem=364M@0x80000000 mem=320M@0x9FC00000 v'
    TI8148_EVM#fatload mmc 0 0x80009000 uImage
    mmc_send_cmd : timeout: No status update
    ** Can't read from device 0 **

    ** Unable to use mmc 0:1 for fatload **
    TI8148_EVM#mmc rescan
    TI8148_EVM#fatload mmc 0 0x80009000 uImage
    mmc_send_cmd : timeout: No status update
    ** Can't read from device 0 **

    ** Unable to use mmc 0:1 for fatload **
    TI8148_EVM#mmc rescan 0
    TI8148_EVM#fatload mmc 0 0x80009000 uImage
    reading uImage

    2937720 bytes read
    TI8148_EVM#bootm 0x80009000
    ## Booting kernel from Legacy Image at 80009000 ...
       Image Name:   Linux-2.6.37
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    2937656 Bytes = 2.8 MiB
       Load Address: 80008000
       Entry Point:  80008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Linux version 2.6.37 (root@tango-charlie) (gcc version 4.7.3 (crosstool-NG 1.19.0) ) #1 Fri Aug 22 15:54:26 BST 2014
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
    [    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: ti8148evm
    [    0.000000] ti81xx_reserve: ### Reserved DDR region @b3b00000
    [    0.000000] reserved size = 52428800 at 0x0
    [    0.000000] FB: Reserving 52428800 bytes SDRAM for VRAM
    [    0.000000] Memory policy: ECC disabled, Data cache writeback
    [    0.000000] OMAP chip is TI8148 2.1
    [    0.000000] SRAM: Mapped pa 0x402f1000 to va 0xfe400000 size: 0xf000
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 160392
    [    0.000000] Kernel command line: console=ttyO0,115200n8 rootwait ubi.mtd=4,2048 rootfstype=ubifs root=ubi0:rootfs rw mem=364M@0x80000000 mem=320M@0x9Ff
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 364MB 268MB 1MB = 633MB total
    [    0.000000] Memory: 635992k/635992k available, 64424k reserved, 275456K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    [    0.000000]     vmalloc : 0xd7000000 - 0xf8000000   ( 528 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xd6c00000   ( 364 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .init : 0xc0008000 - 0xc0040000   ( 224 kB)
    [    0.000000]       .text : 0xc0040000 - 0xc0592000   (5448 kB)
    [    0.000000]       .data : 0xc0592000 - 0xc05e25c0   ( 322 kB)
    [    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] NR_IRQS:407
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] GPMC revision 6.0
    [    0.000000] Trying to install interrupt handler for IRQ400
    [    0.000000] Trying to install interrupt handler for IRQ401
    [    0.000000] Trying to install interrupt handler for IRQ402
    [    0.000000] Trying to install interrupt handler for IRQ403
    [    0.000000] Trying to install interrupt handler for IRQ404
    [    0.000000] Trying to install interrupt handler for IRQ405
    [    0.000000] Trying to install interrupt handler for IRQ406
    [    0.000000] Trying to install type control for IRQ407
    [    0.000000] Trying to set irq flags for IRQ407
    [    0.000000] OMAP clockevent source: GPTIMER1 at 20000000 Hz
    [    0.000000] Console: colour dummy device 80x30
    [    0.000000] Calibrating delay loop... 999.42 BogoMIPS (lpj=4997120)
    [    0.260000] pid_max: default: 32768 minimum: 301
    [    0.260000] Security Framework initialized
    [    0.260000] Mount-cache hash table entries: 512
    [    0.260000] CPU: Testing write buffer coherency: ok
    [    0.260000] devtmpfs: initialized
    [    0.260000] TI81XX: Map 0xb3b00000 to 0xfe500000 for dram barrier
    [    0.260000] TI81XX: Map 0x40300000 to 0xfe600000 for sram barrier
    [    0.260000] omap_voltage_early_init: voltage driver support not added
    [    0.260000] regulator: core version 0.5
    [    0.260000] regulator: dummy:
    [    0.260000] NET: Registered protocol family 16
    [    0.260000] omap_voltage_domain_lookup: Voltage driver init not yet happened.Faulting!
    [    0.260000] omap_voltage_add_dev: VDD specified does not exist!
    [    0.260000] OMAP GPIO hardware version 0.1
    [    0.260000] OMAP GPIO hardware version 0.1
    [    0.260000] OMAP GPIO hardware version 0.1
    [    0.260000] OMAP GPIO hardware version 0.1
    [    0.260000] omap_mux_init: Add partition: #1: core, flags: 4
    [    0.260000] NOR: Can't request GPMC CS
    [    0.280000] Cannot clk_get ck_32
    [    0.280000] Debugfs: Only enabling/disabling deep sleep and wakeup timer is supported now
    [    0.280000] registered ti81xx_vpss device
    [    0.280000] registered ti81xx_vidout device
    [    0.280000] registered ti81xx on-chip HDMI device
    [    0.280000] registered ti81xx_fb device
    [    0.280000] registered ti81xx_vin device
    [    0.280000] NSS Crypto DMA hardware revision 1.9 @ IRQ 116
    [    0.290000] ti81xx_pcie: Invoking PCI BIOS...
    [    0.290000] ti81xx_pcie: Setting up Host Controller...
    [    0.290000] ti81xx_pcie: Register base mapped @0xd7030000
    [    0.290000] ti81xx_pcie: forcing link width - x1
    [    0.400000] ti81xx_pcie: Starting PCI scan...
    [    0.400000] PCI: bus0: Fast back to back transfers enabled
    [    0.400000] ti81xx_pcie: PCI scan done.
    [    0.400000] bio: create slab <bio-0> at 0
    [    0.400000] vgaarb: loaded
    [    0.400000] SCSI subsystem initialized
    [    0.400000] usbcore: registered new interface driver usbfs
    [    0.400000] usbcore: registered new interface driver hub
    [    0.400000] usbcore: registered new device driver usb
    [    0.400000] USBSS revision 4ea2080b
    [    0.400000] registerd cppi-dma Intr @ IRQ 17
    [    0.400000] Cppi41 Init Done
    [    0.400000] omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz
    [    0.400000] pcf857x 1-0021: gpios 128..143 on a pcf8575
    [    0.410000] regulator: VRTC: 1800 mV
    [    0.410000] regulator: VIO: 1500 mV
    [    0.410000] regulator: VDD1: 600 <--> 1500 mV at 1312 mV
    [    0.410000] regulator: VDD2: 600 <--> 1500 mV at 1200 mV
    [    0.410000] regulator: VDDCTRL: 600 <--> 1400 mV at 1200 mV
    [    0.410000] regulator: LDO1: 1100 <--> 3300 mV at 1800 mV
    [    0.420000] regulator: LDO2: 1100 <--> 3300 mV at 1800 mV
    [    0.420000] regulator: LDO3: 1100 <--> 3300 mV at 3300 mV
    [    0.420000] regulator: LDO4: 1100 <--> 3300 mV at 1800 mV
    [    0.420000] regulator: LDO5: 1100 <--> 3300 mV at 3300 mV
    [    0.420000] regulator: LDO6: 1100 <--> 3300 mV at 3300 mV
    [    0.420000] regulator: LDO7: 1100 <--> 3300 mV at 3300 mV
    [    0.420000] regulator: LDO8: 1100 <--> 3300 mV at 1800 mV
    [    0.420000] tps65910 1-002d: No interrupt support, no core IRQ
    [    0.420000] omap_i2c omap_i2c.3: bus 3 rev4.0 at 100 kHz
    [    0.430000] Advanced Linux Sound Architecture Driver Version 1.0.23.
    [    0.430000] Switching to clocksource gp timer
    [    0.440000] musb-hdrc: version 6.0, host, debug=0
    [    0.440000] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
    [    0.440000] MUSB controller-0 revision 4ea20800
    [    0.440000] usb2phy: computed values rxcalib(15)DACs(28 14 15)
    [    0.440000] usb2phy: override computed values rxcalib(15)DACs(28 14 15)
    [    0.440000] usb2phy_config: musb(0) rxcalib done, rxcalib read value 6f6e5d7e
    [    0.440000] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
    [    0.440000] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
    [    0.440000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    0.440000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.440000] usb usb1: Product: MUSB HDRC host driver
    [    0.440000] usb usb1: Manufacturer: Linux 2.6.37 musb-hcd
    [    0.440000] usb usb1: SerialNumber: musb-hdrc.0
    [    0.440000] hub 1-0:1.0: USB hub found
    [    0.440000] hub 1-0:1.0: 1 port detected
    [    0.440000] musb-hdrc musb-hdrc.0: USB Host mode controller at d701e000 using DMA, IRQ 18
    [    0.440000] musb-hdrc musb-hdrc.1: dma type: dma-cppi41
    [    0.440000] MUSB controller-1 revision 4ea20800
    [    0.440000] usb2phy: computed values rxcalib(15)DACs(27 15 14)
    [    0.440000] usb2phy: override computed values rxcalib(15)DACs(27 15 14)
    [    0.440000] usb2phy_config: musb(1) rxcalib done, rxcalib read value 6f6ddf76
    [    0.440000] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [    0.440000] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2
    [    0.440000] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [    0.440000] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    0.440000] usb usb2: Product: MUSB HDRC host driver
    [    0.440000] usb usb2: Manufacturer: Linux 2.6.37 musb-hcd
    [    0.440000] usb usb2: SerialNumber: musb-hdrc.1
    [    0.440000] hub 2-0:1.0: USB hub found
    [    0.440000] hub 2-0:1.0: 1 port detected
    [    0.440000] musb-hdrc musb-hdrc.1: USB Host mode controller at d702a800 using DMA, IRQ 19
    [    0.440000] NET: Registered protocol family 2
    [    0.440000] IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.440000] TCP established hash table entries: 65536 (order: 7, 524288 bytes)
    [    0.440000] TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.440000] TCP: Hash tables configured (established 65536 bind 65536)
    [    0.440000] TCP reno registered
    [    0.440000] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.440000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.440000] NET: Registered protocol family 1
    [    0.440000] RPC: Registered udp transport module.
    [    0.440000] RPC: Registered tcp transport module.
    [    0.440000] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.440000] NetWinder Floating Point Emulator V0.97 (double precision)
    [    0.440000] PMU: registered new PMU device of type 0
    [    0.440000] omap-iommu omap-iommu.0: ducati registered
    [    0.440000] omap-iommu omap-iommu.1: sys registered
    [    0.520000] highmem bounce pool size: 64 pages
    [    0.530000] JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
    [    0.530000] msgmni has been set to 704
    [    0.530000] io scheduler noop registered
    [    0.530000] io scheduler deadline registered
    [    0.530000] io scheduler cfq registered (default)
    [    0.530000] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [    0.530000] omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0
    [    1.440000] console [ttyO0] enabled
    [    1.450000] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [    1.460000] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [    1.460000] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [    1.470000] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [    1.480000] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [    1.490000] brd: module loaded
    [    1.500000] loop: module loaded
    [    1.500000] ahci probe: devid name is ahci
    [    1.500000] ahci CAP register dump =0x6726ff80
    [    1.510000] Modified ahci CAP register dump =0x6f26ff80
    [    1.510000] ahci ahci.0: forcing PORTS_IMPL to 0x1
    [    1.520000] ahci: SSS flag set, parallel bus scan disabled
    [    1.520000] ahci ahci.0: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    [    1.530000] ahci ahci.0: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst
    [    1.540000] scsi0 : ahci_platform
    [    1.550000] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16
    [    1.550000] omap2-nand driver initializing
    [    1.560000] ONFI param page 0 valid
    [    1.560000] ONFI flash detected
    [    1.570000] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xca (Micron NAND 256MiB 3,3V 16-bit)
    [    1.580000] omap2-nand: detected x16 NAND flash
    [    1.580000] Creating 6 MTD partitions on "omap2-nand.0":
    [    1.590000] 0x000000000000-0x000000020000 : "U-Boot-min"
    [    1.590000] 0x000000020000-0x000000260000 : "U-Boot"
    [    1.600000] 0x000000260000-0x000000280000 : "U-Boot Env"
    [    1.610000] 0x000000280000-0x0000006c0000 : "Kernel"
    [    1.610000] 0x0000006c0000-0x00000cee0000 : "File System"
    [    1.700000] 0x00000cee0000-0x000010000000 : "Reserved"
    [    1.730000] UBI: attaching mtd4 to ubi0
    [    1.730000] UBI: physical eraseblock size:   131072 bytes (128 KiB)
    [    1.740000] UBI: logical eraseblock size:    126976 bytes
    [    1.740000] UBI: smallest flash I/O unit:    2048
    [    1.750000] UBI: sub-page size:              512
    [    1.750000] UBI: VID header offset:          2048 (aligned 2048)
    [    1.760000] UBI: data offset:                4096
    [    1.920000] ata1: SATA link down (SStatus 0 SControl 300)
    [    3.010000] UBI: max. sequence number:       0
    [    3.030000] UBI: attached mtd4 to ubi0
    [    3.030000] UBI: MTD device name:            "File System"
    [    3.040000] UBI: MTD device size:            200 MiB
    [    3.040000] UBI: number of good PEBs:        1601
    [    3.050000] UBI: number of bad PEBs:         0
    [    3.050000] UBI: number of corrupted PEBs:   0
    [    3.060000] UBI: max. allowed volumes:       128
    [    3.060000] UBI: wear-leveling threshold:    4096
    [    3.070000] UBI: number of internal volumes: 1
    [    3.070000] UBI: number of user volumes:     1
    [    3.080000] UBI: available PEBs:             581
    [    3.080000] UBI: total number of reserved PEBs: 1020
    [    3.090000] UBI: number of PEBs reserved for bad PEB handling: 16
    [    3.090000] UBI: max/mean erase counter: 0/0
    [    3.100000] UBI: image sequence number:  1245033918
    [    3.100000] UBI: background thread "ubi_bgt0d" started, PID 51
    [    3.150000] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [    3.150000] davinci_mdio davinci_mdio.0: detected phy mask fffffffc
    [    3.170000] davinci_mdio.0: probed
    [    3.170000] davinci_mdio davinci_mdio.0: phy[0]: device 0:00, driver unknown
    [    3.180000] davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown
    [    3.200000] usbcore: registered new interface driver cdc_ether
    [    3.210000] usbcore: registered new interface driver dm9601
    [    3.210000] usbcore: registered new interface driver cdc_acm
    [    3.220000] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
    [    3.230000] Initializing USB Mass Storage driver...
    [    3.230000] usbcore: registered new interface driver usb-storage
    [    3.240000] USB Mass Storage support registered.
    [    3.240000] mice: PS/2 mouse device common for all mice
    [    3.570000] qt602240_ts 1-004a: Family ID: 128 Variant ID: 1 Version: 22 Build: 171
    [    3.580000] qt602240_ts 1-004a: Matrix X Size: 18 Matrix Y Size: 12 Object Num: 17
    [    3.590000] input: AT42QT602240/ATMXT224 Touchscreen as /devices/platform/omap/omap_i2c.1/i2c-1/1-004a/input/input0
    [    3.600000] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
    [    3.600000] i2c /dev entries driver
    [    3.610000] Linux video capture interface: v2.00
    [    3.610000] usbcore: registered new interface driver uvcvideo
    [    3.620000] USB Video Class driver (v1.0.0)
    [    3.620000] OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
    [    3.680000] nss_aes_mod_init: loading NSS AES driver
    [    3.680000] nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 0 @0x41140000)
    [    3.690000] nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 1 @0x41141000)
    [    3.700000] nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 2 @0x411a0000)
    [    3.700000] nss-aes nss-aes: NSS AES hw accel rev: 3.2 (context 3 @0x411a1000)
    [    3.740000] nss_aes_probe: probe() done
    [    3.740000] nss_des_mod_init: loading NSS DES driver
    [    3.740000] nss-des nss-des: NSS DES hw accel rev: 2.2 (context 0 @0x41160000)
    [    3.750000] nss-des nss-des: NSS DES hw accel rev: 2.2 (context 1 @0x41161000)
    [    3.780000] nss_des_probe: probe() done
    [    3.780000] nss_sham_mod_init: loading NSS SHA/MD5 driver
    [    3.780000] nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 0 @0x41100000)
    [    3.790000] nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 1 @0x41101000)
    [    3.800000] nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 2 @0x411c0000)
    [    3.810000] nss-sham nss-sham: NSS SHA/MD5 hw accel rev: 4.03 (context 3 @0x411c1000)
    [    3.850000] nss_sham_probe: probe() done
    [    3.850000] usbcore: registered new interface driver usbhid
    [    3.860000] usbhid: USB HID core driver
    [    3.860000] notify_init : notify drivercreated  for  remote proc id 2 at physical Address 0xbf900000
    [    3.870000] usbcore: registered new interface driver snd-usb-audio
    [    3.880000] asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok
    [    3.890000] ALSA device list:
    [    3.890000]   #0: TI81XX EVM
    [    3.890000] TCP cubic registered
    [    3.900000] NET: Registered protocol family 10
    [    3.900000] NET: Registered protocol family 17
    [    3.910000] can: controller area network core (rev 20090105 abi 8)
    [    3.910000] NET: Registered protocol family 29
    [    3.920000] can: raw protocol (rev 20090105)
    [    3.920000] can: broadcast manager protocol (rev 20090105 t)
    [    3.930000] Registering the dns_resolver key type
    [    3.930000] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    3.940000] omap_voltage_late_init: Voltage driver support not added
    [    3.950000] Power Management for TI81XX.
    [    3.960000] Detected MACID=0:18:32:63:1d:26
    [    3.960000] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
    [    4.190000] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [    4.190000] UBIFS: file system size:   124690432 bytes (121768 KiB, 118 MiB, 982 LEBs)
    [    4.200000] UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
    [    4.210000] UBIFS: media format:       w4/r0 (latest is w4/r0)
    [    4.210000] UBIFS: default compressor: lzo
    [    4.220000] UBIFS: reserved for root:  0 bytes (0 KiB)
    [    4.230000] VFS: Mounted root (ubifs filesystem) on device 0:14.
    [    4.240000] devtmpfs: mounted
    [    4.240000] Freeing init memory: 224K
    [    4.380000] mmc1: host does not support reading read-only switch. assuming write-enable.
    [    4.420000] mmc1: new high speed SDHC card at address e624
    [    4.430000] mmcblk0: mmc1:e624 SE32G 29.7 GiB
    [    4.430000]  mmcblk0: p1 p2
    [    4.740000] <30>systemd[1]: systemd 204 running in system mode. (-PAM +LIBWRAP -AUDIT -SELINUX +IMA +SYSVINIT -LIBCRYPTSETUP +GCRYPT +ACL -XZ)

    Welcome to Linux!

    [    4.780000] <30>systemd[1]: Set hostname to <dm8148evm>.
    [    4.950000] <27>systemd[1]: Cannot open /etc/machine-id: No such file or directory
    [    5.410000] <30>systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
    [    5.420000] <30>systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    5.430000] <30>systemd[1]: Expecting device dev-ttyO0.device...
             Expecting device dev-ttyO0.device...
    [    5.460000] <30>systemd[1]: Starting Delayed Shutdown Socket.
    [  OK  ] Listening on Delayed Shutdown Socket.
    [    5.490000] <30>systemd[1]: Listening on Delayed Shutdown Socket.
    [    5.490000] <30>systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    5.520000] <30>systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [    5.520000] <30>systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
    [    5.530000] <30>systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    5.540000] <30>systemd[1]: Starting Paths.
    [  OK  ] Reached target Paths.
    [    5.570000] <30>systemd[1]: Reached target Paths.
    [    5.570000] <30>systemd[1]: Starting udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    5.600000] <30>systemd[1]: Listening on udev Kernel Socket.
    [    5.600000] <30>systemd[1]: Starting udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    5.630000] <30>systemd[1]: Listening on udev Control Socket.
    [    5.630000] <30>systemd[1]: Starting Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    5.660000] <30>systemd[1]: Listening on Journal Socket.
    [    5.660000] <30>systemd[1]: Starting udev Coldplug all Devices...
             Starting udev Coldplug all Devices...
    [    5.690000] <30>systemd[1]: Mounting Debug File System...
             Mounting Debug File System...
    [    5.730000] <30>systemd[1]: Starting Setup Virtual Console...
             Starting Setup Virtual Console...
    [    5.740000] <30>systemd[1]: Mounted Huge Pages File System.
    [    5.780000] <30>systemd[1]: Started Load Kernel Modules.
    [    5.820000] <30>systemd[1]: Mounted FUSE Control File System.
    [    5.820000] <30>systemd[1]: Starting Apply Kernel Variables...
             Starting Apply Kernel Variables...
    [    5.870000] <30>systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [  OK  ] Started Journal Service.
    [  OK  ] Set up automount Arbitrary Executable File Formats F...utomount Point.
             Starting Create static device nodes in /dev...
             Mounting POSIX Message Queue File System...
    [  OK  ] Reached target Swap.
             Mounting Temporary Directory...
             Starting Load Random Seed...
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Mounted Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory.
    [  OK  ] Started Create static device nodes in /dev.
    [FAILED] Failed to start Load Random Seed.
    See 'systemctl status systemd-random-seed-load.service' for details.
    [  OK  ] Started udev Coldplug all Devices.
             Starting udev Kernel Device Manager...
    [  OK  ] Stopped Trigger Flushing of Journal to Persistent Storage.
             Stopping Journal Service...
    [  OK  ] Stopped Journal Service.
             Starting Journal Service...
    [  OK  ] Started Journal Service.
    [  OK  ] Stopped Trigger Flushing of Journal to Persistent Storage.
             Stopping Journal Service...
    [  OK  ] Stopped Journal Service.
             Starting Journal Service...
    [  OK  ] Started Journal Service.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Reached target Local File Systems (Pre).
    [  OK  ] Reached target Local File Systems.
             Starting Recreate Volatile Files and Directories...
    [  OK  ] Stopped Trigger Flushing of Journal to Persistent Storage.
             Stopping Journal Service...
    [  OK  ] Stopped Journal Service.
             Starting Journal Service...
    [  OK  ] Started Journal Service.
    [  OK  ] Started Recreate Volatile Files and Directories.
    [  OK  ] Stopped Trigger Flushing of Journal to Persistent Storage.
             Stopping Journal Service...
    [  OK  ] Stopped Journal Service.
             Starting Journal Service...
    [  OK  ] Started Journal Service.
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on OpenSSH Socket.
    [  OK  ] Reached target Timers.
             Starting Restore Sound Card State...
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Connection service...
             Starting SSH Key Generation...
             Starting D-Bus System Message Bus...
    [  OK  ] Started D-Bus System Message Bus.
             Starting Login Service...
    [  OK  ] Stopped Trigger Flushing of Journal to Persistent Storage.
             Stopping Journal Service...
    [  OK  ] Stopped Journal Service.
             Starting Journal Service...
    [FAILED] Failed to start Journal Service.
    See 'systemctl status systemd-journald.service' for details.
    [DEPEND] Dependency failed for Trigger Flushing of Journal to...istent Storage.
    [  OK  ] Found device /dev/ttyO0.
             Starting Journal Service...
    [FAILED] Failed to start Journal Service.
    See 'systemctl status systemd-journald.service' for details.
    [  OK  ] Reached target Sound Card.
    [  OK  ] Started Restore Sound Card State.
    [  OK  ] Started Login Service.
    [  OK  ] Started Connection service.
    [  OK  ] Reached target Remote File Systems.
             Starting Permit User Sessions...
    [  OK  ] Started Permit User Sessions.
             Starting Getty on tty1...
    [  OK  ] Started Getty on tty1.
             Starting Serial Getty on ttyO0...
    [  OK  ] Started Serial Getty on ttyO0.
    [  OK  ] Reached target Login Prompts.
             Starting Wi-Fi Security Service...
    [    8.690000]
    [    8.690000] CPSW phy found : id is : 0x4dd074
    [    8.690000]
    [    8.690000] CPSW phy found : id is : 0x4dd074
    [  OK  ] Started Wi-Fi Security Service.
    login:

    Thanks & Regards,

    Mike

  • Hi,

    If I try to create a file in the ubifs, I get the following message,

    # touch a.txt
    touch: cannot touch 'a.txt': No space left on device

    despite of vol_flags=autoresize

    Thanks & Regards,

    Mike

  • Mike,

    Please try with applying all the MTD/NAND/UBI/UBIFS patches from the latest version of the linux kernel:

    http://arago-project.org/git/projects/?p=linux-omap3.git;a=shortlog;h=refs/heads/ti81xx-master

    See also the below e2e thread:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/t/211477.aspx

    Regards,
    Pavel

  • Hi Pavel,

    I am using the ti81xx-master branch itself.

    Thanks & Regards,

    Mike

  • mike A said:

    If I try to create a file in the ubifs, I get the following message,

    # touch a.txt
    touch: cannot touch 'a.txt': No space left on device

    despite of vol_flags=autoresize

    Answered here:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/377262/1328376.aspx#1328376

    BR
    Pavel