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.

Linux/LINUXSDK-OMAPL138: JFFS2 rootfs on NAND

Part Number: LINUXSDK-OMAPL138
Other Parts Discussed in Thread: OMAPL138, TMDSLCDK138, OMAP-L138

Tool/software: Linux

I'm using OMAPL138 LCDK (TMDSLCDK138), PROCESSOR-SDK-LINUX-OMAPL138 04_01_00_06.

My goal is to place all u-boot, kernel, rootfs, dtb in NAND flash.

I'm successfully wrote prebuilt u-boot and kernel to NAND. Now I can boot up Linux using boot from NAND (u-boot, kernel on NAND; rootfs on SD). 

I'm also rebuilt kernel to using mtd and jffs2 (7723.tialt3.config).

I'm successfully wrote jffs2 image to NAND partition from target Linux environment (booted up from SD). That NAND partition successfully mounts and I can see rootfs content.

When I trying manually boot up system using NAND rootfs partition boot process stucks on message: 

...
No filesystem could mount root, tried: jffs2 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

U-boot environment:

Click to view

args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
baudrate=115200
boot_fdt=yes
boot_fit=0
bootcmd=run envboot; run mmcboot; 
bootdelay=3
bootdir=/boot
bootenvfile=uEnv.txt
bootfile=zImage
bootpart=0:2
bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}
console=ttyS2,115200n8
envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded env from ${bootenvfile};run import
bootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;fi;fi;
ethact=DaVinci-EMAC
fdtaddr=0xc0600000
fdtfile=da850-lcdk.dtb
finduuid=part uuid mmc ${bootpart} uuid
importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}
loadaddr=0xc0700000
loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}
loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr
loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
mmcboot=mmc dev ${mmcdev}; setenv devnum ${mmcdev}; setenv devtype mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage; then if test ${boot_fit} -eq 1; then run loadfit; else r
un mmcloados;fi;fi;fi;
mmcdev=0
mmcloados=run args_mmc; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot lo
ad the DT; fi; fi; else bootz; fi;
mmcrootfstype=ext4 rootwait
mtddevname=u-boot env
mtddevnum=0
mtdids=nand0=nand512
mtdparts=mtdparts=nand512:0x20000(u-boot env),0x80000(u-boot),0x500000(kernel),0x1FA60000(rootfs)
nand_erasesize=20000
nand_oobsize=40
nand_writesize=800
partition=nand0,0
scriptaddr=0xc0600000
stderr=serial
stdin=serial
stdout=serial
ver=U-Boot 2017.01-g590c7d7fe1 (Sep 26 2017 - 18:58:02 -0400)

Environment size: 2078/65532 bytes

How I'm trying to boot up: (rootwait also tried)

nand read ${loadaddr} kernel
load mmc 0:2 ${fdtaddr} /boot/da850-lcdk.dtb
setenv bootargs console=${console} root=/dev/mtdblock3 rw rootfstype=jffs2 mtdparts=davinci-nand.0:128k(u-boot_env),512k(u-boot),5m(kernel),-(rootfs)
bootz ${loadaddr} - ${fdtaddr}

Boot log: 

Click to view

=> load mmc 0:2 ${loadaddr} /boot/zImage
2550968 bytes read in 2926 ms (850.6 KiB/s)
=> load mmc 0:2 ${fdtaddr} /boot/devicetree-zImage-da850-lcdk.dtb
13361 bytes read in 53 ms (246.1 KiB/s)
=> setenv bootargs console=${console} root=/dev/mtdblock3 rw rootfstype=jffs2 mtdparts=davinci-nand.0:128k(u-boot_env),512k(u-boot),5m(kernel),-(rootfs)
=> bootz ${loadaddr} - ${fdtaddr}
## Flattened Device Tree blob at c0600000
   Booting using the fdt blob at 0xc0600000
   Loading Device Tree to c7e21000, end c7e27430 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 4.9.41-ge3a80a1c5c (user@user-VM) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 PREEMPT Sun Nov 19 17:23:53 +06 2017
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
CPU: VIVT data cache, VIVT instruction cache
OF: fdt:Machine model: DA850/AM1808/OMAP-L138 LCDK
Reserved memory: created CMA memory pool at 0xc3000000, size 16 MiB
OF: reserved mem: initialized node dsp_cma@c3000000, compatible id shared-dma-pool
cma: Reserved 16 MiB at 0xc6c00000
Memory policy: Data cache writethrough
DaVinci da850/omap-l138/am18x variant 0x1
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480
Kernel command line: console=ttyS2,115200n8 root=/dev/mtdblock3 rw rootfstype=jffs2 mtdparts=davinci-nand.0:128k(u-boot_env),512k(u-boot),5m(kernel),-(rootfs)
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 89660K/131072K available (4906K kernel code, 319K rwdata, 1560K rodata, 232K init, 166K bss, 8644K reserved, 32768K cma-reserved)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc04d2f80   (4908 kB)
      .init : 0xc065a000 - 0xc0694000   ( 232 kB)
      .data : 0xc0694000 - 0xc06e3db0   ( 320 kB)
       .bss : 0xc06e3db0 - 0xc070d5c8   ( 167 kB)
SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptible hierarchical RCU implementation.
        Build-time adjustment of leaf fanout to 32.
NR_IRQS:245
clocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
Console: colour dummy device 80x30
Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0xc0008400 - 0xc0008458
devtmpfs: initialized
VFP support v0.3: not present
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
futex hash table entries: 256 (order: -1, 3072 bytes)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
mux: initialized RTC_ALARM
mux: Setting register RTC_ALARM
mux:    PINMUX0 (0x00000000) = 0x44080000 -> 0x24080000
No ATAGs?
edma 1c00000.edma: memcpy is disabled
edma 1c00000.edma: TI EDMA DMA engine driver
edma 1e30000.edma: memcpy is disabled
edma 1e30000.edma: TI EDMA DMA engine driver
i2c_davinci i2c_davinci.1: could not find pctldev for node /soc@1c00000/pinmux@14120/pinmux_i2c0_pins, deferring probe
clocksource: Switched to clocksource timer0_1
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
workingset: timestamp_bits=14 max_order=15 bucket_order=1
jffs2: version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
io scheduler noop registered (default)
pinctrl-single 1c14120.pinmux: 160 pins at pa fec14120 size 80
Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
console [ttyS2] disabled
serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a TI DA8xx/66AK2x
console [ttyS2] enabled
brd: module loaded
libphy: Fixed MDIO Bus: probed
davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
davinci_mdio davinci_mdio.0: no live phy, scanning all
davinci_mdio: probe of davinci_mdio.0 failed with error -5
i2c /dev entries driver
davinci_mmc da830-mmc.0: Got CD GPIO
davinci_mmc da830-mmc.0: Using DMA, 4-bit mode
NET: Registered protocol family 10
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
console [netcon0] enabled
netconsole: network logging started
davinci_emac davinci_emac.1: incompatible machine/device type for reading mac address
davinci_emac davinci_emac.1: using random MAC addr: 5e:8e:c8:d3:26:ff
mmc0: host does not support reading read-only switch, assuming write-enable
input: gpio-keys as /devices/platform/gpio-keys/input/input0
mmc0: new high speed SDHC card at address 0007
mmcblk0: mmc0:0007 SD8GB 7.42 GiB 
 mmcblk0: p1 p2
hctosys: unable to open rtc device (rtc0)
List of all partitions:
0100           32768 ram0  (driver?)
b300         7782400 mmcblk0  driver: mmcblk
  b301           71680 mmcblk0p1 794be9e4-01
  b302         7693312 mmcblk0p2 794be9e4-02
No filesystem could mount root, tried:  jffs2

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
random: fast init done

Thanks

  • Hi,

    Here are the proper commands to load u-boot into OMAP-L138 LCDK's NAND:
    processors.wiki.ti.com/.../Linux_Core_U-Boot_User's_Guide
    After that I see you use jffs. Can you share how did you build your jffs2? In my opinion this could very well be the root cause of your issue. Can you try with something like:
    mkfs.jffs2 –r rootfs -o rootfs.jffs2 -e 128 –n -p

    Best Regards,
    Yordan
  • Hi, thanks for reply.

    I'm using the commands set:

    host:------------------------------------------------------------------------------------------------------------------------
    $ tar -xf arago-base-tisdk-image-omapl138-lcdk.tar.xz -C rootfs
    $ mkfs.jffs2 -r rootfs -e 128 -n -p -o arago-base-tisdk-image-omapl138-lcdk-rootfs.jffs2
    
    target:----------------------------------------------------------------------------------------------------------------------
    $ cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 00020000 00020000 "u-boot_env"
    mtd1: 00080000 00020000 "u-boot"
    mtd2: 00500000 00020000 "kernel"
    mtd3: 1fa60000 00020000 "rootfs"
    $ flash_erase /dev/mtd3 0 0
    Erasing 128 Kibyte @ 1f9c0000 -- 99 % complete flash_erase: Skipping bad block at 1f9e0000
    flash_erase: Skipping bad block at 1fa00000
    flash_erase: Skipping bad block at 1fa20000
    flash_erase: Skipping bad block at 1fa40000
    Erasing 128 Kibyte @ 1fa40000 -- 100 % complete 
    $ nandwrite -p /dev/mtd3 /boot/arago-base-tisdk-image-omapl138-lcdk-rootfs.jffs2
    Writing data to block 0 at offset 0x0
    Writing data to block 1 at offset 0x20000
    ...
    Writing data to block 784 at offset 0x6200000
    $ mount -t jffs2 /dev/mtdblock3 /mnt/nandrootfs
    jffs2: notice: (610) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    $ ls -l /mnt/nandrootfs/
    drwxr-xr-x    2 1000     1000             0 Sep 26  2017 bin
    drwxr-xr-x    2 1000     1000             0 Sep 26  2017 boot
    drwxr-xr-x    2 1000     1000             0 Sep 26  2017 dev
    drwxr-xr-x   33 1000     1000             0 Sep 26  2017 etc
    drwxr-xr-x    3 1000     1000             0 Sep 26  2017 home
    lrwxrwxrwx    1 1000     1000            20 Sep 26  2017 init -> /lib/systemd/systemd
    drwxr-xr-x    8 1000     1000             0 Sep 26  2017 lib
    drwxr-xr-x    2 1000     1000             0 Sep 26  2017 media
    drwxr-xr-x    3 1000     1000             0 Sep 26  2017 mnt
    drwxr-xr-x    3 1000     1000             0 Sep 26  2017 opt
    drwxr-xr-x    2 1000     1000             0 Sep 26  2017 proc
    drwxr-xr-x    2 1000     1000             0 Sep 26  2017 run
    drwxr-xr-x    2 1000     1000             0 Sep 26  2017 sbin
    drwxr-xr-x    3 1000     1000             0 Sep 26  2017 srv
    drwxr-xr-x    2 1000     1000             0 Sep 26  2017 sys
    drwxrwxr-x    2 1000     1000             0 Sep 26  2017 tmp
    drwxr-xr-x   11 1000     1000             0 Sep 26  2017 usr
    drwxr-xr-x    8 1000     1000             0 Sep 26  2017 var
    

    That target commands executed from SD booted Linux.

    After reboot and using mentioned above commands for boot from NAND boot process has stuck.

  • I'm payed attention to fact of nand driver starts after loading rootfs. It seems like nand driver built as kernel module and loads from rootfs. This is log of boot from SD 

    U-Boot SPL 2017.01-g590c7d7fe1 (Sep 26 2017 - 18:58:02)
    Trying to boot from MMC1
    
    
    U-Boot 2017.01-g590c7d7fe1 (Sep 26 2017 - 18:58:02 -0400)
    
    I2C:   ready
    DRAM:  128 MiB
    WARNING: Caches not enabled
    NAND:  512 MiB
    MMC:   davinci: 0
    In:    serial
    Out:   serial
    Err:   serial
    Invalid MAC address read.
    Net:   No ETH PHY detected!!!
    Error: Ethernet init failed!
    Board Net Initialization Failed
    DaVinci-EMAC
    Warning: DaVinci-EMAC (eth0) using random MAC address - 5a:e5:f5:dd:97:29
    
    Hit any key to stop autoboot:  0 
    => load mmc 0:2 ${loadaddr} /boot/zImage
    2633104 bytes read in 3019 ms (851.6 KiB/s)
    => load mmc 0:2 ${fdtaddr} /boot/devicetree-zImage-da850-lcdk.dtb
    13361 bytes read in 54 ms (241.2 KiB/s)
    => run finduuid
    => setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype} mtdparts=davinci-nand.0:128k(u-boot_env),512k(u-boot),5m(kernel),-(rootfs)
    => bootz ${loadaddr} - ${fdtaddr}
    ## Flattened Device Tree blob at c0600000
       Booting using the fdt blob at 0xc0600000
       Loading Device Tree to c7e21000, end c7e27430 ... OK
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    Booting Linux on physical CPU 0x0
    Linux version 4.9.41-ge3a80a1c5c (user@user-VM) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 PREEMPT Mon Nov 20 15:54:50 +06 2017
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
    CPU: VIVT data cache, VIVT instruction cache
    OF: fdt:Machine model: DA850/AM1808/OMAP-L138 LCDK
    Reserved memory: created CMA memory pool at 0xc3000000, size 16 MiB
    OF: reserved mem: initialized node dsp_cma@c3000000, compatible id shared-dma-pool
    cma: Reserved 16 MiB at 0xc6c00000
    Memory policy: Data cache writethrough
    DaVinci da850/omap-l138/am18x variant 0x1
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480
    Kernel command line: console=ttyS2,115200n8 root=PARTUUID=794be9e4-02 rw rootfstype=ext4 rootwait mtdparts=davinci-nand.0:128k(u-boot_env),512k(u-boot),5m(kernel),-(rootfs)
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 89436K/131072K available (5104K kernel code, 318K rwdata, 1576K rodata, 240K init, 166K bss, 8868K reserved, 32768K cma-reserved)
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
        vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
        lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
        modules : 0xbf000000 - 0xc0000000   (  16 MB)
          .text : 0xc0008000 - 0xc0504480   (5106 kB)
          .init : 0xc0690000 - 0xc06cc000   ( 240 kB)
          .data : 0xc06cc000 - 0xc071baf0   ( 319 kB)
           .bss : 0xc071baf0 - 0xc07453c8   ( 167 kB)
    SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    Preemptible hierarchical RCU implementation.
            Build-time adjustment of leaf fanout to 32.
    NR_IRQS:245
    clocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    Console: colour dummy device 80x30
    Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    CPU: Testing write buffer coherency: ok
    Setting up static identity map for 0xc0008400 - 0xc0008458
    devtmpfs: initialized
    VFP support v0.3: not present
    clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    futex hash table entries: 256 (order: -1, 3072 bytes)
    pinctrl core: initialized pinctrl subsystem
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    cpuidle: using governor ladder
    cpuidle: using governor menu
    mux: initialized RTC_ALARM
    mux: Setting register RTC_ALARM
    mux:    PINMUX0 (0x00000000) = 0x44080000 -> 0x24080000
    No ATAGs?
    edma 1c00000.edma: memcpy is disabled
    edma 1c00000.edma: TI EDMA DMA engine driver
    edma 1e30000.edma: memcpy is disabled
    edma 1e30000.edma: TI EDMA DMA engine driver
    i2c_davinci i2c_davinci.1: could not find pctldev for node /soc@1c00000/pinmux@14120/pinmux_i2c0_pins, deferring probe
    clocksource: Switched to clocksource timer0_1
    NET: Registered protocol family 2
    TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    TCP: Hash tables configured (established 1024 bind 1024)
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    workingset: timestamp_bits=14 max_order=15 bucket_order=1
    jffs2: version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
    io scheduler noop registered (default)
    pinctrl-single 1c14120.pinmux: 160 pins at pa fec14120 size 80
    Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    console [ttyS2] disabled
    serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a TI DA8xx/66AK2x
    console [ttyS2] enabled
    brd: module loaded
    libphy: Fixed MDIO Bus: probed
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
    davinci_mdio davinci_mdio.0: no live phy, scanning all
    davinci_mdio: probe of davinci_mdio.0 failed with error -5
    i2c /dev entries driver
    davinci_mmc da830-mmc.0: Got CD GPIO
    davinci_mmc da830-mmc.0: Using DMA, 4-bit mode
    NET: Registered protocol family 10
    sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    NET: Registered protocol family 17
    console [netcon0] enabled
    netconsole: network logging started
    davinci_emac davinci_emac.1: incompatible machine/device type for reading mac address
    davinci_emac davinci_emac.1: using random MAC addr: 6e:ce:95:87:ba:d9
    mmc0: host does not support reading read-only switch, assuming write-enable
    input: gpio-keys as /devices/platform/gpio-keys/input/input0
    hctosys: unable to open rtc device (rtc0)
    mmcblk0: mmc0:0007 SD8GB 7.42 GiB 
     mmcblk0: p1 p2
    EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    VFS: Mounted root (ext4 filesystem) on device 179:2.
    random: fast init done
    devtmpfs: mounted
    Freeing unused kernel memory: 240K (c0690000 - c06cc000)
    This architecture does not have kernel memory protection.
    systemd[1]: System time before build time, advancing clock.
    systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2017.06!
    
    systemd[1]: Set hostname to <omapl138-lcdk>.
    systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Created slice System Slice.
    [  OK  ] Created slice system-getty.slice.
             Starting Create list of required st... nodes for the current kernel...
             Starting Journal Service...
             Mounting Debug File System...
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
             Mounting POSIX Message Queue File System...
             Starting Setup Virtual Console...
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Reached target Slices.
             Starting Load Kernel Modules...
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Reached target Swap.
             Mounting Temporary Directory...
    cryptodev: loading out-of-tree module taints kernel.
    cryptodev: driver 1.8 loaded.
    EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [  OK  ] Mounted Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Starting udev Coldplug all Devices...
             Starting Apply Kernel Variables...
             Starting Create Static Device Nodes in /dev...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
    systemd-journald[56]: Received request to flush runtime journal from PID 1
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started udev Kernel Device Manager.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    davinci-rproc davinci-rproc.0: assigned reserved memory node dsp_cma@c3000000
    remoteproc remoteproc0: dsp is available
    remoteproc remoteproc0: powering up dsp
    remoteproc remoteproc0: Booting fw image rproc-dsp-fw, size 4216832
    omap_rtc 1c23000.rtc: rtc core: registered 1c23000.rtc as rtc0
    remoteproc remoteproc0: registered virtio0 (type 7)
    remoteproc remoteproc0: remote processor dsp is now up
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    SCSI subsystem initialized
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    davinci-wdt davinci-wdt: heartbeat 60 sec
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting tiipclad-daemon.service...
    [drm] Initialized
    ahci_da850 ahci_da850: forcing PORTS_IMPL to 0x1
    [  OK  hci_da850 ahci_da850: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    m] Started System Logger Daemon.
    ahci_da850 ahci_da850: flags: ncq sntf pm led clo only pmp pio slum part ccc 
    scsi host0: ahci_da850
    ata1: SATA max UDMA/133 mmio [mem 0x01e18000-0x01e19fff] port 0x100 irq 67
    vpif vpif: vpif probe success
    [  OK  ] Started D-Bus System Message Bus.
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    0-0018 supply IOVDD not found, using dummy regulator
    0-0018 supply DVDD not found, using dummy regulator
    0-0018 supply AVDD not found, using dummy regulator
    0-0018 supply DRVDD not found, using dummy regulator
    asoc-simple-card sound: ASoC: Failed to create card debugfs directory
    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    asoc-simple-card sound: tlv320aic3x-hifi <-> davinci-mcasp.0 mapping ok
    nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xcc
    nand: Micron MT29F4G16ABADAH4
    nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    Bad block table not found for chip 0
    Bad block table not found for chip 0
    Scanning device for bad blocks
    usb_phy_generic.0.auto supply vcc not found, using dummy regulator
    ohci-da8xx: DA8XX
    ohci-da8xx ohci-da8xx: USB Host Controller
    ohci-da8xx ohci-da8xx: new USB bus registered, assigned bus number 1
    ohci-da8xx ohci-da8xx: irq 59, io mem 0x01e25000
    Linux video capture interface: v2.00
    ata1: SATA link down (SStatus 0 SControl 300)
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
             Starting Network Service...
    [  OK  ] Started Kernel Logging Service.
             Starting Login Service...
             Starting Ethernet Bridge Filtering Tables...
    [  OK  ] Started System Logging Service.
             Starting Print notice about GPLv3 packages...
             Starting Save/Restore Sound Card State...
             Starting telnetd.service...
    net eth0: no phy, defaulting to 100/full
    [  OK  ] Started Network Service.
    [  OK  ] Started tiipclad-daemon.service.
    [  OK  ] Started Ethernet Bridge Filtering Tables.
    Bad block table written to 0x00001ffe0000, version 0x01
    Bad block table written to 0x00001ffc0000, version 0x01
    [  OK  ] Found device /dev/ttyS2.
    4 cmdlinepart partitions found on MTD device davinci-nand.0
    Creating 4 MTD partitions on "davinci-nand.0":
    0x000000000000-0x000000020000 : "u-boot_env"
    0x000000020000-0x0000000a0000 : "u-boot"
    0x0000000a0000-0x0000005a0000 : "kernel"
    0x0000005a0000-0x000020000000 : "rootfs"
    davinci_nand davinci-nand.0: controller rev. 2.5
    [  OK  ] Started telnetd.service.
    [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [drm] No driver support for vblank timestamp query.
    [drm] EDID readout failed, falling back to standard modes
    tvp514x 0-005d: Write: retry ... 0
    tvp514x 0-005d: Write: retry ... 1
    tilcdc da8xx_lcdc.0: tilcdc_crtc_irq(0x00000160): FIFO underflow
    tvp514x 0-005d: Write: retry ... 2
    Console: switching to colour frame buffer device 100x37
    tvp514x 0-005d: Write: retry ... 3
    tvp514x 0-005d: Write: retry ... 4
    tvp514x 0-005d: Write: retry ... 5
    tvp514x 0-005d: tvp514x 0-005d decoder driver registered !!
    vpif_capture vpif_capture: registered sub device tvp514x-0
    tvp514x 0-005d: Write: retry ... 0
    tvp514x 0-005d: Write: retry ... 1
    tvp514x 0-005d: Write: retry ... 2
    tvp514x 0-005d: Write: retry ... 3
    tvp514x 0-005d: Write: retry ... 4
    tvp514x 0-005d: Write: retry ... 5
    [  OK  ] Started Save/Restore Sound Card State.
    tilcdc da8xx_lcdc.0: fb0:  frame buffer device
             Starting thttpd.service...
    [  OK  ] Reached target Network.
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
             Starting Simple Network Management Protocol (SNMP) Daemon....
    [  OK  ] Started Vsftpd ftp daemon.
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Permit User Sessions...
             Starting Network Name Resolution...
    FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [  OK  ] Started thttpd.service.
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started Login Service.
    random: crng init done
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting rng-tools.service...
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Started rng-tools.service.
    virtio_rpmsg_bus virtio0: rpmsg host is online
    virtio_rpmsg_bus virtio0: creating channel rpmsg-proto addr 0x3d
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org omapl138-lcdk ttyS2
    
    Arago 2017.06 omapl138-lcdk ttyS2
    
    omapl138-lcdk login: musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    NET: Registered protocol family 43
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            binutils
            cifs-utils
            cpp-symlinks
            cpp
            dosfstools
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            libgmp10
            libmpc3
            libmpfr4
            libreadline6
            m4
            make
    
    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
    ***************************************************************
    ***************************************************************
    root
    root@omapl138-lcdk:~#

    But MTD included statically in kernel config

  • I have resolved issue. I will post proper kernel config soon.
  • Hi,

    Thanks for updating the thread.

    Best Regards,
    Yordan
  • Resolving: kernel must contains memory controller driver "Texas Instruments AEMIF driver"

    Device Drivers  ---> 
         [*] Memory Controller drivers --->
              <*> Texas Instruments AEMIF driver

    By default this driver configured as kernel module.

    My config file: omapl138lcdk-alternate.config

    My boot log: 

    U-Boot SPL 2017.01-g590c7d7fe1 (Sep 26 2017 - 18:58:02)
    Trying to boot from MMC1
    
    
    U-Boot 2017.01-g590c7d7fe1 (Sep 26 2017 - 18:58:02 -0400)
    
    I2C:   ready
    DRAM:  128 MiB
    WARNING: Caches not enabled
    NAND:  512 MiB
    MMC:   davinci: 0
    In:    serial
    Out:   serial
    Err:   serial
    Invalid MAC address read.
    Net:   No ETH PHY detected!!!
    Error: Ethernet init failed!
    Board Net Initialization Failed
    DaVinci-EMAC
    Warning: DaVinci-EMAC (eth0) using random MAC address - e6:ba:0c:71:4a:46
    
    Hit any key to stop autoboot:  0 
    => load mmc 0:2 ${loadaddr} /boot/zImage
    2634112 bytes read in 3020 ms (851.6 KiB/s)
    => load mmc 0:2 ${fdtaddr} /boot/devicetree-zImage-da850-lcdk.dtb
    13361 bytes read in 54 ms (241.2 KiB/s)
    => setenv bootargs console=${console} root=/dev/mtdblock3 rw rootfstype=jffs2 rootwait mtdparts=davinci-nand.0:128k(u-boot_env),512k(u-boot),5m(kernel),-(rootfs)
    => bootz ${loadaddr} - ${fdtaddr}
    ## Flattened Device Tree blob at c0600000
       Booting using the fdt blob at 0xc0600000
       Loading Device Tree to c7e21000, end c7e27430 ... OK
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    Booting Linux on physical CPU 0x0
    Linux version 4.9.41-ge3a80a1c5c (user@user-VM) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 PREEMPT Tue Nov 21 14:45:33 +06 2017
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
    CPU: VIVT data cache, VIVT instruction cache
    OF: fdt:Machine model: DA850/AM1808/OMAP-L138 LCDK
    Reserved memory: created CMA memory pool at 0xc3000000, size 16 MiB
    OF: reserved mem: initialized node dsp_cma@c3000000, compatible id shared-dma-pool
    cma: Reserved 16 MiB at 0xc6c00000
    Memory policy: Data cache writethrough
    DaVinci da850/omap-l138/am18x variant 0x1
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480
    Kernel command line: console=ttyS2,115200n8 root=/dev/mtdblock3 rw rootfstype=jffs2 rootwait mtdparts=davinci-nand.0:128k(u-boot_env),512k(u-boot),5m(kernel),-(rootfs)
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 89436K/131072K available (5106K kernel code, 318K rwdata, 1576K rodata, 240K init, 166K bss, 8868K reserved, 32768K cma-reserved)
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
        vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
        lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
        modules : 0xbf000000 - 0xc0000000   (  16 MB)
          .text : 0xc0008000 - 0xc0504ca8   (5108 kB)
          .init : 0xc0690000 - 0xc06cc000   ( 240 kB)
          .data : 0xc06cc000 - 0xc071bb50   ( 319 kB)
           .bss : 0xc071bb50 - 0xc0745428   ( 167 kB)
    SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    Preemptible hierarchical RCU implementation.
            Build-time adjustment of leaf fanout to 32.
    NR_IRQS:245
    clocksource: timer0_1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    Console: colour dummy device 80x30
    Calibrating delay loop... 227.32 BogoMIPS (lpj=1136640)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    CPU: Testing write buffer coherency: ok
    Setting up static identity map for 0xc0008400 - 0xc0008458
    devtmpfs: initialized
    VFP support v0.3: not present
    clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    futex hash table entries: 256 (order: -1, 3072 bytes)
    pinctrl core: initialized pinctrl subsystem
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    cpuidle: using governor ladder
    cpuidle: using governor menu
    mux: initialized RTC_ALARM
    mux: Setting register RTC_ALARM
    mux:    PINMUX0 (0x00000000) = 0x44080000 -> 0x24080000
    No ATAGs?
    edma 1c00000.edma: memcpy is disabled
    edma 1c00000.edma: TI EDMA DMA engine driver
    edma 1e30000.edma: memcpy is disabled
    edma 1e30000.edma: TI EDMA DMA engine driver
    i2c_davinci i2c_davinci.1: could not find pctldev for node /soc@1c00000/pinmux@14120/pinmux_i2c0_pins, deferring probe
    clocksource: Switched to clocksource timer0_1
    NET: Registered protocol family 2
    TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    TCP: Hash tables configured (established 1024 bind 1024)
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    workingset: timestamp_bits=14 max_order=15 bucket_order=1
    jffs2: version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
    io scheduler noop registered (default)
    pinctrl-single 1c14120.pinmux: 160 pins at pa fec14120 size 80
    Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    console [ttyS2] disabled
    serial8250.2: ttyS2 at MMIO 0x1d0d000 (irq = 61, base_baud = 8250000) is a TI DA8xx/66AK2x
    console [ttyS2] enabled
    brd: module loaded
    libphy: Fixed MDIO Bus: probed
    davinci_mdio davinci_mdio.0: davinci mdio revision 1.5
    davinci_mdio davinci_mdio.0: no live phy, scanning all
    davinci_mdio: probe of davinci_mdio.0 failed with error -5
    i2c /dev entries driver
    davinci_mmc da830-mmc.0: Got CD GPIO
    davinci_mmc da830-mmc.0: Using DMA, 4-bit mode
    nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xcc
    nand: Micron MT29F4G16ABADAH4
    nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    Bad block table not found for chip 0
    Bad block table not found for chip 0
    Scanning device for bad blocks
    mmc0: host does not support reading read-only switch, assuming write-enable
    mmc0: new high speed SDHC card at address 0007
    mmcblk0: mmc0:0007 SD8GB 7.42 GiB 
     mmcblk0: p1 p2
    Bad block table written to 0x00001ffe0000, version 0x01
    Bad block table written to 0x00001ffc0000, version 0x01
    4 cmdlinepart partitions found on MTD device davinci-nand.0
    Creating 4 MTD partitions on "davinci-nand.0":
    0x000000000000-0x000000020000 : "u-boot_env"
    0x000000020000-0x0000000a0000 : "u-boot"
    0x0000000a0000-0x0000005a0000 : "kernel"
    0x0000005a0000-0x000020000000 : "rootfs"
    davinci_nand davinci-nand.0: controller rev. 2.5
    NET: Registered protocol family 10
    sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    NET: Registered protocol family 17
    console [netcon0] enabled
    netconsole: network logging started
    davinci_emac davinci_emac.1: incompatible machine/device type for reading mac address
    davinci_emac davinci_emac.1: using random MAC addr: 72:98:5d:69:32:39
    input: gpio-keys as /devices/platform/gpio-keys/input/input0
    hctosys: unable to open rtc device (rtc0)
    random: fast init done
    jffs2: notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    VFS: Mounted root (jffs2 filesystem) on device 31:3.
    devtmpfs: mounted
    Freeing unused kernel memory: 240K (c0690000 - c06cc000)
    This architecture does not have kernel memory protection.
    systemd[1]: System time before build time, advancing clock.
    systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
    systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2017.06!
    
    systemd[1]: Set hostname to <omapl138-lcdk>.
    systemd[1]: Initializing machine ID from random generator.
    systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Listening on Journal Socket.
    [  OK  ] Reached target Swap.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Created slice System Slice.
    [  OK  ] Reached target Slices.
             Starting Journal Service...
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-getty.slice.
             Starting Setup Virtual Console...
             Mounting POSIX Message Queue File System...
             Starting Create list of required st... nodes for the current kernel...
             Mounting Debug File System...
             Starting Load Kernel Modules...
             Starting Remount Root and Kernel File Systems...
             Mounting Temporary Directory...
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
    cryptodev: loading out-of-tree module taints kernel.
             Starting Create Static Device Nodes in /dev...
    cryptodev: driver 1.8 loaded.
    systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    systemd[1]: Mounted Debug File System.
    [  OK  ] Mounted Debug File System.
    systemd[1]: Mounted Temporary Directory.
    [  OK  ] Mounted Temporary Directory.
    systemd[1]: Started Load Kernel Modules.
    [  OK  ] Started Load Kernel Modules.
    systemd[1]: Starting Apply Kernel Variables...
             Starting Apply Kernel Variables...
    systemd[1]: Started Apply Kernel Variables.
    [  OK  ] Started Apply Kernel Variables.
    systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Create Static Device Nodes in /dev.
             Starting udev Kernel Device Manager...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting Rebuild Hardware Database...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Rebuild Dynamic Linker Cache...
             Starting Rebuild Journal Catalog...
    [  OK  ] Started Load/Save Random Seed.
    systemd-journald[55]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Rebuild Journal Catalog.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
             Starting Opkg first boot configure...
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Opkg first boot configure.
    [  OK  ] Started Rebuild Dynamic Linker Cache.
    [  OK  ] Started Rebuild Hardware Database.
             Starting Update is Completed...
             Starting udev Coldplug all Devices...
    [  OK  ] Started Update is Completed.
    [***   ] (1 of 2) A start job is running for...lug all Devices (51s / no limit)omap_rtc 1c23000.rtc: already running
    omap_rtc 1c23000.rtc: rtc core: registered 1c23000.rtc as rtc0
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    davinci-wdt davinci-wdt: heartbeat 60 sec
             Starting telnetd.service...
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started D-Bus System Message Bus.
    vpif vpif: vpif probe success
    davinci-rproc davinci-rproc.0: assigned reserved memory node dsp_cma@c3000000
    remoteproc remoteproc0: dsp is available
    remoteproc remoteproc0: Direct firmware load for rproc-dsp-fw failed with error -2
    remoteproc remoteproc0: powering up dsp
    remoteproc remoteproc0: Direct firmware load for rproc-dsp-fw failed with error -2
    remoteproc remoteproc0: request_firmware failed: -2
    Error: Driver 'ti_aemif' is already registered, aborting...
    Error: Driver 'ti_aemif' is already registered, aborting...
    SCSI subsystem initialized
    mtd: exports duplicate symbol mtd_concat_create (owned by kernel)
    mtd: exports duplicate symbol mtd_concat_create (owned by kernel)
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    ahci_da850 ahci_da850: forcing PORTS_IMPL to 0x1
    0-0018 supply IOVDD not found, using dummy regulator
    0-0018 supply DVDD not found, using dummy regulator
    0-0018 supply AVDD not found, using dummy regulator
    0-0018 supply DRVDD not found, using dummy regulator
    asoc-simple-card sound: ASoC: Failed to create card debugfs directory
    ohci-da8xx: DA8XX
    asoc-simple-card sound: tlv320aic3x-hifi <-> davinci-mcasp.0 mapping ok
    ahci_da850 ahci_da850: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
    ahci_da850 ahci_da850: flags: ncq sntf pm led clo only pmp pio slum part ccc 
    [drm] Initialized
    scsi host0: ahci_da850
    ata1: SATA max UDMA/133 mmio [mem 0x01e18000-0x01e19fff] port 0x100 irq 67
    ohci-da8xx ohci-da8xx: USB Host Controller
    ohci-da8xx ohci-da8xx: new USB bus registered, assigned bus number 1
    ohci-da8xx ohci-da8xx: irq 59, io mem 0x01e25000
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    usb_phy_generic.0.auto supply vcc not found, using dummy regulator
             Starting Login Service...
             Starting tiipclad-daemon.service...
    ata1: SATA link down (SStatus 0 SControl 300)
    [  OK  ] Started System Logging Service.
             Starting Save/Restore Sound Card State...
    [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [drm] No driver support for vblank timestamp query.
             Starting Network Service...
    [drm] EDID readout failed, falling back to standard modes
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    tilcdc da8xx_lcdc.0: tilcdc_crtc_irq(0x00000160): FIFO underflow
    Console: switching to colour frame buffer device 100x37
    [  OK  ilcdc da8xx_lcdc.0: fb0:  frame buffer device
    m] Reached target Timers.
    Linux video capture interface: v2.00
             Starting Print notice about GPLv3 packages...
    EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
    random: crng init done
    [  OK  ] Started telnetd.service.
    EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [  OK  ] Started tiipclad-daemon.service.
    [  OK  ] Found device /dev/ttyS2.
    FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
             Starting thttpd.service...
    tvp514x 0-005d: Write: retry ... 0
    tvp514x 0-005d: Write: retry ... 1
    tvp514x 0-005d: Write: retry ... 2
    tvp514x 0-005d: Write: retry ... 3
    tvp514x 0-005d: Write: retry ... 4
    tvp514x 0-005d: Write: retry ... 5
    tvp514x 0-005d: tvp514x 0-005d decoder driver registered !!
    vpif_capture vpif_capture: registered sub device tvp514x-0
    tvp514x 0-005d: Write: retry ... 0
    tvp514x 0-005d: Write: retry ... 1
    tvp514x 0-005d: Write: retry ... 2
    tvp514x 0-005d: Write: retry ... 3
    tvp514x 0-005d: Write: retry ... 4
    tvp514x 0-005d: Write: retry ... 5
    [  OK  ] Started Save/Restore Sound Card State.
    [  OK  ] Started thttpd.service.
             Starting rng-tools.service...
    [  OK  ] Started Login Service.
    [  OK  ] Started rng-tools.service.
             Starting thermal-zone-init.service...
    [  OK  ] Started thermal-zone-init.service.
    [  OK  ] Started Network Service.
    net eth0: no phy, defaulting to 100/full
    musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            binutils
            cifs-utils
            dosfstools
            libreadline6
            m4
    
    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
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Reached target Sound Card.
    [  OK  ] Reached target Network.
             Starting Permit User Sessions...
             Starting Network Name Resolution...
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Multi-User System.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org omapl138-lcdk ttyS2
    
    Arago 2017.06 omapl138-lcdk ttyS2
    
    omapl138-lcdk login: root        
    root@omapl138-lcdk:~# uname -a
    Linux omapl138-lcdk 4.9.41-ge3a80a1c5c #1 PREEMPT Tue Nov 21 14:45:33 +06 2017 armv5tejl GNU/Linux
    root@omapl138-lcdk:~# 
    

    This config have some JFFS2 problems that is not resolved: multiple messages like 

    jffs2: mtd->read(0x11e bytes from 0x620f800) returned ECC error
    jffs2: mtd->read(0x7da bytes from 0x620e800) returned ECC error
    jffs2: mtd->read(0x77c bytes from 0x620e000) returned ECC error
    jffs2: mtd->read(0x7b9 bytes from 0x620d800) returned ECC error
    jffs2: mtd->read(0x73c bytes from 0x620d000) returned ECC error
    jffs2: mtd->read(0x626 bytes from 0x620c800) returned ECC error