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/TMDSEVM572X: Arago "base-rootfs" maintenance mode

Kemal R. Shakir, hi!

Thanks for the tip: the sdk compilation in Ubuntu version 16 is successful.
But, unlike the previous compilation, linux arago displays a message when it boots:

U-Boot SPL 2018.01-gcdb1cc0a9e (Jun 25 2019 - 11:52:15)
DRA752-GP ES2.0
Trying to boot from MMC1
no pinctrl state for default mode
no pinctrl state for default mode


U-Boot 2018.01-gcdb1cc0a9e (Jun 25 2019 - 11:52:15 +0000)

CPU  : DRA752-GP ES2.0
Model: TI AM5728 IDK
Board: AM572x IDK REV 1.3B
DRAM:  2 GiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid GPT ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
SCSI:  SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net:   eth0: ethernet@48484000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
** Unable to read file boot.scr **
** Unable to read file uEnv.txt **
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
4010496 bytes read in 296 ms (12.9 MiB/s)
101231 bytes read in 74 ms (1.3 MiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffe4000, end 8ffffb6e ... OK

Starting kernel ...

[    0.000822] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
[    0.000831] This ensures that you still see kernel messages. Please
[    0.000838] update your kernel commandline.
[    0.001730] /cpus/cpu@0 missing clock-frequency property
[    0.001748] /cpus/cpu@1 missing clock-frequency property
[    0.580719] dmi: Firmware registration failed.
[    1.616246] dra7-pcie 51000000.pcie: phy link never came up
[    1.806359] cpsw 48484000.ethernet: device node lookup for pps timer failed
[    1.823502] sdhci-omap 4809c000.mmc: no pinctrl state for ddr_1_8v mode
[    1.830145] sdhci-omap 4809c000.mmc: no pinctrl state for hs200_1_8v mode
[    1.960945] omap_voltage_late_init: Voltage driver support not added
[FAILED] Failed to mount POSIX Message Queue File System.
See 'systemctl status dev-mqueue.mount' for details.
[FAILED] Failed to mount Temporary Directory (/tmp).
See 'systemctl status tmp.mount' for details.
[DEPEND] Dependency failed for Network Name Resolution.
[DEPEND] Dependency failed for Network Time Synchronization.
[FAILED] Failed to mount Kernel Configuration File System.
See 'systemctl status sys-kernel-config.mount' for details.
[FAILED] Failed to mount Kernel Debug File System.
See 'systemctl status sys-kernel-debug.mount' for details.
[  OK  ] Started Apply Kernel Variables.
[FAILED] Failed to start Remount Root and Kernel File Systems.
See 'systemctl status systemd-remount-fs.service' for details.
[  OK  ] Started Journal Service.
         Starting Rebuild Hardware Database...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Reached target System Time Synchronized.
         Starting Create System Users...
[  OK  ] Reached target Host and Network Name Lookups.
[  OK  ] Started Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /media/ram...
         Mounting /var/volatile...
[FAILED] Failed to mount /media/ram.
See 'systemctl status media-ram.mount' for details.
[DEPEND] Dependency failed for Local File Systems.
[FAILED] Failed to mount /var/volatile.
See 'systemctl status var-volatile.mount' for details.
[DEPEND] Dependency failed for Bind mount volatile /srv.
[DEPEND] Dependency failed for Bind mount volatile /var/spool.
[DEPEND] Dependency failed for Bind mount volatile /var/lib.
[DEPEND] Dependency failed for Bind mount volatile /var/cache.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Reached target Timers.
         Starting Network Service...
[  OK  ] Reached target Login Prompts.
         Starting Synchronize System and HW clocks...
[  OK  ] Closed Syslog Socket.
[  OK  ] Reached target Sockets.
         Starting Rebuild Dynamic Linker Cache...
         Starting Load/Save Random Seed...
         Starting Create Volatile Files and Directories...
[  OK  ] Started Emergency Shell.
         Starting Rebuild Journal Catalog...
[  OK  ] Reached target Emergency Mode.
[  OK  ] Started Network Service.
[  OK  ] Started Rebuild Hardware Database.
         Starting udev Coldplug all Devices...
[  OK  ] Reached target Network.
[FAILED] Failed to start Synchronize System and HW clocks.
See 'systemctl status sync-clocks.service' for details.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Rebuild Dynamic Linker Cache.
[  OK  ] Started Rebuild Journal Catalog.
         Mounting Kernel Configuration File System...
         Starting Update is Completed...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[FAILED] Failed to mount Kernel Configuration File System.
See 'systemctl status sys-kernel-config.mount' for details.
[  OK  ] Started Update is Completed.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.
[  OK  ] Started udev Coldplug all Devices.
You are in emergency mode. After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to boot
into default mode.
Press Enter for maintenance
(or press Control-D to continue):

This - every time the linux arago load.

How to remove it?

Please help.

  • Hello VLeshka,

    Please, enter these commands in U-Boot console to fix this issue.

    => env default -f -a
    => saveenv
    => reset

    Best regards,
    Kemal

  • Kemal R. Shakir, hi.

    Sorry for delay.
    I have enter that commands, and the result is the same.

    Welcome to Arago 2018.08!
    
    [    3.781505] systemd[1]: Set hostname to <am57xx-evm>.
    [    4.070788] NOHZ: local_softirq_pending 40
    [    4.098427] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.105394] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    4.140906] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.147715] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    4.190888] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.204241] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    4.231184] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    4.260903] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    4.290945] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    4.310832] [drm] Cannot find any crtc or sizes
    [    4.322340] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Created slice System Slice.
             Mounting POSIX Message Queue File System...
             Mounting Kernel Debug File System...
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Created slice system-getty.slice.
    [  OK  ] Reached target Slices.
             Starting Apply Kernel Variables...
    [  OK  ] Reached target Swap.
             Mounting Temporary Directory (/tmp)...
             Mounting Kernel Configuration File System...
             Starting Journal Service...
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Reached target Paths.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Started Journal Service.
    [FAILED] Failed to mount POSIX Message Queue File System.
    See 'systemctl status dev-mqueue.mount' for details.
    [FAILED] Failed to mount Kernel Debug File System.
    See 'systemctl status sys-kernel-debug.mount' for details.
    [  OK  ] Started Apply Kernel Variables.
    [FAILED] Failed to mount Temporary Directory (/tmp).
    See 'systemctl status tmp.mount' for details.
    [DEPEND] Dependency failed for Network Name Resolution.
    [DEPEND] Dependency failed for Network Time Synchronization.
    [FAILED] Failed to mount Kernel Configuration File System.
    See 'systemctl status sys-kernel-config.mount' for details.
    [FAILED] Failed to start Remount Root and Kernel File Systems.
    See 'systemctl status systemd-remount-fs.service' for details.
             Starting udev Coldplug all Devices...
    [  OK  ] Reached target System Time Synchronized.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [FAILED] Failed to mount /media/ram.
    See 'systemctl status media-ram.mount' for details.
    [DEPEND] Dependency failed for Local File Systems.
    [FAILED] Failed to mount /var/volatile.
    See 'systemctl status var-volatile.mount' for details.
    [DEPEND] Dependency failed for Bind mount volatile /var/cache.
    [DEPEND] Dependency failed for Bind mount volatile /srv.
    [DEPEND] Dependency failed for Bind mount volatile /var/lib.
    [DEPEND] Dependency failed for Bind mount volatile /var/spool.
    [  OK  ] Started udev Kernel Device Manager.
    [    5.944499] systemd-journald[88]: Received request to flush runtime journal from PID 1
    [  OK  ] Reached target Timers.
             Starting Network Service...
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Closed Syslog Socket.
    [  OK  ] Started Emergency Shell.
    [  OK  ] Reached target Emergency Mode.
             Mounting Kernel Configuration File System...
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Sockets.
    [  OK  ] Started Network Service.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [    6.296639] net eth1: initializing cpsw version 1.15 (0)
    [  OK  ] Started udev Coldplug all Devices.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [FAILED] Failed to mount Kernel Configuration File System.
    See 'systemctl status sys-kernel-config.mount' for details.
    [  OK  ] Started Load/Save Random Seed.
    [    6.470348] Micrel KSZ9031 Gigabit PHY 48485000.mdio:01: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:01, irq=POLL)
    [    6.607538] cpts ptp bc clkid 0
    [    6.621960] pruss 4b200000.pruss: creating PRU cores and other child platform devices
    [    6.625275] pruss 4b280000.pruss: creating PRU cores and other child platform devices
    [    6.691000] davinci_mdio 4b2b2400.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    6.691006] libphy: 4b2b2400.mdio: probed
    [    6.719309] davinci_mdio 4b2b2400.mdio: phy[0]: device 4b2b2400.mdio:00, driver TI TLK10X 10/100 Mbps PHY
    [    6.719314] davinci_mdio 4b2b2400.mdio: phy[1]: device 4b2b2400.mdio:01, driver TI TLK10X 10/100 Mbps PHY
    [    6.727271] remoteproc remoteproc0: 4b234000.pru is available
    [    6.727308] pru-rproc 4b234000.pru: PRU rproc node /ocp/pruss_soc_bus@4b226004/pruss@0/pru@34000 probed successfully
    [    6.727487] remoteproc remoteproc1: 4b238000.pru is available
    [    6.727525] pru-rproc 4b238000.pru: PRU rproc node /ocp/pruss_soc_bus@4b226004/pruss@0/pru@38000 probed successfully
    [    6.727704] remoteproc remoteproc2: 4b2b4000.pru is available
    [    6.727736] pru-rproc 4b2b4000.pru: PRU rproc node /ocp/pruss_soc_bus@4b2a6004/pruss@0/pru@34000 probed successfully
    [    6.727904] remoteproc remoteproc3: 4b2b8000.pru is available
    [    6.727938] pru-rproc 4b2b8000.pru: PRU rproc node /ocp/pruss_soc_bus@4b2a6004/pruss@0/pru@38000 probed successfully
    [    6.748931] prueth pruss2_eth: pruss_fw_drop_untagged_vlan 0
    [    6.748937] prueth pruss2_eth: pruss MC Mask 0:0:0:0:0:0
    [    6.934826] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [    6.974015] prueth pruss2_eth: request for sync latch pins failed: -19
             Starting Create Volatile Files and Directories...
    [    6.987486] prueth pruss2_eth: TI PRU ethernet (type 0) driver initialized
    [    7.014185] net eth0: initializing cpsw version 1.15 (0)
    [  OK  ] Reached target Network.
    [  OK  ] Started Create Volatile Files and Directories.
    [    7.143103] Micrel KSZ9031 Gigabit PHY 48485000.mdio:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:00, irq=POLL)
    [    7.190217] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [    7.274755] remoteproc remoteproc2: powering up 4b2b4000.pru
    [    7.283099] remoteproc remoteproc2: Booting fw image ti-pruss/am57xx-pru0-prueth-fw.elf, size 5028
    [    7.292975] pruss 4b280000.pruss: configured system_events[63-0] = 0x00000600.00500000
    [    7.302022] pruss 4b280000.pruss: configured intr_channels = 0x00000095 host_intr = 0x00000115
    [    7.310673] remoteproc remoteproc2: remote processor 4b2b4000.pru is now up
    [    7.318648] net eth2: started
    [    7.322263] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
    [    7.330692] remoteproc remoteproc3: powering up 4b2b8000.pru
    [    7.338290] remoteproc remoteproc3: Booting fw image ti-pruss/am57xx-pru1-prueth-fw.elf, size 5060
    [    7.347421] pruss 4b280000.pruss: configured system_events[63-0] = 0x00600000.00a00000
    [    7.356452] pruss 4b280000.pruss: configured intr_channels = 0x0000012a host_intr = 0x0000022a
    [    7.365578] remoteproc remoteproc3: remote processor 4b2b8000.pru is now up
    [    7.373106] net eth3: started
    [    7.376144] IPv6: ADDRCONF(NETDEV_UP): eth3: link is not ready
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    You are in emergency mode. After logging in, type "journalctl -xb" to view
    system logs, "systemctl reboot" to reboot, "systemctPress Enter for maintenance
    (or press Control-D to continue):
    You are in emergency mode. After logging in, type "journalctl -xPress Enter for maintenance
    (or press Control-D to continue):
    [  680.780790] NOHZ: local_softirq_pending 80
    You are in emergency mode. After logging in, type "journalctl -xPress Enter for maintenance
    (or press Control-D to continue):

    I press Ctrl+D, but there is no result.

    Please help.

  • Can you share what exactly you do, the exact commands? I will try this on my end.

  • I have entered your recommended commands in uboot menu:

    Please, enter these commands in U-Boot console to fix this issue.

    => env default -f -a
    => saveenv
    => reset

  • Which exact commands you use to build the rootfs?

  • At flash-card, I have delete all from rootfs, and copy files and directories from tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/core-image-base/1.0-r0/rootfs.

  • I do the same procedure as you and my board just boots fine. Please, try to boot with different SD card, make sure that files are successfully and completely copied to your SD card.

    See my log.

    U-Boot SPL 2018.01-gcdb1cc0a9e (Oct 06 2018 - 08:46:44)
    DRA752-GP ES2.0
    Trying to boot from MMC1
    no pinctrl state for default mode
    no pinctrl state for default mode
    
    
    U-Boot 2018.01-gcdb1cc0a9e (Oct 06 2018 - 08:46:44 +0000)
    
    CPU  : DRA752-GP ES2.0
    Model: TI AM5728 IDK
    Board: AM572x IDK REV 1.3B
    DRAM:  2 GiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
    part_get_info_efi: *** ERROR: Invalid GPT ***
    GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
    part_get_info_efi: *** ERROR: Invalid Backup GPT ***
    SCSI:  SATA link 0 timeout.
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
    scanning bus for devices...
    Found 0 device(s).
    Net:   
    Warning: ethernet@48484000 using MAC address from ROM
    eth0: ethernet@48484000
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    ** Unable to read file boot.scr **
    ** Unable to read file uEnv.txt **
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    4010496 bytes read in 327 ms (11.7 MiB/s)
    101231 bytes read in 54 ms (1.8 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe4000, end 8ffffb6e ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.67-gd315a9bb00 (oe-user@oe-host) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #1 SMP PREEMPT Thu Sep 19 12:25:41 UTC 2019
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM5728 IDK
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node dsp2-memory@9f000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
    [    0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier
    [    0.000000] DRA752 ES2.0
    [    0.000000] percpu: Embedded 15 pages/cpu @eed34000 s31308 r8192 d21940 u61440
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 472640
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=ec963b87-02 rw rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 1675648K/1897472K available (8192K kernel code, 346K rwdata, 2628K rodata, 2048K init, 299K bss, 33408K reserved, 188416K cma-reserved, 1283072K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0a00000   (10208 kB)
    [    0.000000]       .init : 0xc0e00000 - 0xc1000000   (2048 kB)
    [    0.000000]       .data : 0xc1000000 - 0xc1056ba8   ( 347 kB)
    [    0.000000]        .bss : 0xc1058000 - 0xc10a2c3c   ( 300 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]     Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000018] Switching to timer-based delay loop, resolution 162ns
    [    0.000345] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000354] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000820] Console: colour dummy device 80x30
    [    0.000837] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000845] This ensures that you still see kernel messages. Please
    [    0.000851] update your kernel commandline.
    [    0.000872] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000887] pid_max: default: 32768 minimum: 301
    [    0.000998] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001012] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001531] CPU: Testing write buffer coherency: ok
    [    0.001753] /cpus/cpu@0 missing clock-frequency property
    [    0.001771] /cpus/cpu@1 missing clock-frequency property
    [    0.001783] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.039874] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.059885] Hierarchical SRCU implementation.
    [    0.080077] EFI services will not be available.
    [    0.099951] smp: Bringing up secondary CPUs ...
    [    0.170267] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.170361] smp: Brought up 1 node, 2 CPUs
    [    0.170374] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.170382] CPU: All CPU(s) started in HYP mode.
    [    0.170389] CPU: Virtualization extensions available.
    [    0.170898] devtmpfs: initialized
    [    0.187953] random: get_random_u32 called from bucket_table_alloc+0x108/0x230 with crng_init=0
    [    0.188205] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.188397] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.188413] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.192123] pinctrl core: initialized pinctrl subsystem
    [    0.192567] DMI not present or invalid.
    [    0.192811] NET: Registered protocol family 16
    [    0.193841] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.194762] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.397559] cpuidle: using governor ladder
    [    0.397591] cpuidle: using governor menu
    [    0.405596] OMAP GPIO hardware version 0.1
    [    0.432998] No ATAGs?
    [    0.433070] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.433084] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.433438] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.433449] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.433963] OMAP DMA hardware revision 0.0
    [    0.443313] edma 43300000.edma: memcpy is disabled
    [    0.446398] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.452910] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.456089] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.456291] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.456531] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.456768] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.457115] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.457325] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.457546] iommu: Adding device 58820000.ipu to group 1
    [    0.457620] iommu: Adding device 55020000.ipu to group 2
    [    0.457755] iommu: Adding device 40800000.dsp to group 0
    [    0.457989] iommu: Adding device 41000000.dsp to group 3
    [    0.460164] palmas 0-0058: Irq flag is 0x00000004
    [    0.492238] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [    0.493855] SMPS12: supplied by regulator-dummy
    [    0.495608] SMPS3: supplied by VMAIN
    [    0.497182] SMPS45: supplied by regulator-dummy
    [    0.499044] SMPS6: supplied by VMAIN
    [    0.500766] SMPS7: supplied by VMAIN
    [    0.502621] SMPS8: supplied by VMAIN
    [    0.503938] SMPS9: supplied by VMAIN
    [    0.504926] LDO1: supplied by VMAIN
    [    0.511308] LDO2: supplied by VMAIN
    [    0.511522] random: fast init done
    [    0.521174] LDO3: supplied by VMAIN
    [    0.531194] LDO4: supplied by VMAIN
    [    0.541212] LDO5: supplied by regulator-dummy
    [    0.541911] LDO6: supplied by regulator-dummy
    [    0.542631] LDO7: supplied by regulator-dummy
    [    0.543332] LDO8: supplied by regulator-dummy
    [    0.544066] LDO9: supplied by VMAIN
    [    0.551531] LDOLN: supplied by VMAIN
    [    0.561236] LDOUSB: supplied by VMAIN
    [    0.573864] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.574053] media: Linux media interface: v0.10
    [    0.574091] Linux video capture interface: v2.00
    [    0.574169] pps_core: LinuxPPS API ver. 1 registered
    [    0.574178] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.574197] PTP clock support registered
    [    0.574225] EDAC MC: Ver: 3.0.0
    [    0.580710] dmi: Firmware registration failed.
    [    0.581090] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.581371] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.581695] Advanced Linux Sound Architecture Driver Initialized.
    [    0.590776] clocksource: Switched to clocksource arch_sys_counter
    [    0.598121] NET: Registered protocol family 2
    [    0.598636] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.598701] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.598826] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.598896] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.598929] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.599049] NET: Registered protocol family 1
    [    0.599334] RPC: Registered named UNIX socket transport module.
    [    0.599344] RPC: Registered udp transport module.
    [    0.599352] RPC: Registered tcp transport module.
    [    0.599359] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.600217] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.600392] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.601435] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    0.605446] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.605917] NFS: Registering the id_resolver key type
    [    0.605943] Key type id_resolver registered
    [    0.605952] Key type id_legacy registered
    [    0.605989] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.607293] bounce: pool size: 64 pages
    [    0.607335] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.607345] io scheduler noop registered
    [    0.607354] io scheduler deadline registered
    [    0.607496] io scheduler cfq registered (default)
    [    0.607505] io scheduler mq-deadline registered
    [    0.607514] io scheduler kyber registered
    [    0.613013] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.615583] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.3
    [    0.615946] OF: PCI: host bridge /ocp/axi@0/pcie@51000000 ranges:
    [    0.615981] OF: PCI:    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.616004] OF: PCI:   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    1.616272] dra7-pcie 51000000.pcie: phy link never came up
    [    1.616395] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [    1.616409] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    1.616420] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    1.616430] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    1.616742] PCI: bus0: Fast back to back transfers disabled
    [    1.616835] PCI: bus1: Fast back to back transfers enabled
    [    1.616873] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff 64bit]
    [    1.616891] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
    [    1.617195] pcieport 0000:00:00.0: Signaling PME with IRQ 173
    [    1.617325] pcieport 0000:00:00.0: AER enabled with IRQ 173
    [    1.620088] V3_3D: supplied by smps9
    [    1.620350] vtt_fixed: supplied by V3_3D
    [    1.661137] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    1.663630] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 45, base_baud = 3000000) is a 8250
    [    2.711889] console [ttyS2] enabled
    [    2.717192] omap_rng 48090000.rng: Random Number Generator ver. 20
    [    2.724309] DSS: OMAP DSS rev 6.1
    [    2.729209] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [    2.737633] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [    2.757382] brd: module loaded
    [    2.765839] loop: module loaded
    [    2.772823] m25p80 spi0.0: s25fl256s1 (32768 Kbytes)
    [    2.777871] 7 ofpart partitions found on MTD device spi0.0
    [    2.783411] Creating 7 MTD partitions on "spi0.0":
    [    2.788227] 0x000000000000-0x000000040000 : "QSPI.SPL"
    [    2.794058] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [    2.800080] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [    2.806741] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [    2.813133] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [    2.820199] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [    2.826225] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [    2.833238] libphy: Fixed MDIO Bus: probed
    [    2.890814] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    2.898507] davinci_mdio 48485000.mdio: detected phy mask fffffffc
    [    2.909446] libphy: 48485000.mdio: probed
    [    2.913508] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Micrel KSZ9031 Gigabit PHY
    [    2.923226] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
    [    2.933633] cpsw 48484000.ethernet: Detected MACID = 7c:38:66:7e:d2:1e
    [    2.940240] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [    2.946664] cpsw 48484000.ethernet: ALE Table size 1024
    [    2.951943] cpsw 48484000.ethernet: device node lookup for pps timer failed
    [    2.958972] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    2.966860] cpsw 48484000.ethernet: cpsw: Detected MACID = 7c:38:66:7e:d2:1f
    [    2.975051] i2c /dev entries driver
    [    2.979198] IR NEC protocol handler initialized
    [    2.983773] IR RC5(x/sz) protocol handler initialized
    [    2.988849] IR RC6 protocol handler initialized
    [    2.993417] IR JVC protocol handler initialized
    [    2.997968] IR Sony protocol handler initialized
    [    3.002621] IR SANYO protocol handler initialized
    [    3.007346] IR Sharp protocol handler initialized
    [    3.012144] IR MCE Keyboard/mouse protocol handler initialized
    [    3.018004] IR XMP protocol handler initialized
    [    3.027785] sdhci: Secure Digital Host Controller Interface driver
    [    3.034074] sdhci: Copyright(c) Pierre Ossman
    [    3.039199] sdhci-pltfm: SDHCI platform and OF driver helper
    [    3.045753] sdhci-omap 4809c000.mmc: Got CD GPIO
    [    3.051127] sdhci-omap 4809c000.mmc: no pinctrl state for ddr_1_8v mode
    [    3.057772] sdhci-omap 4809c000.mmc: no pinctrl state for hs200_1_8v mode
    [    3.121002] mmc0: SDHCI controller on 4809c000.mmc [4809c000.mmc] using ADMA
    [    3.167973] mmc0: host does not support reading read-only switch, assuming write-enable
    [    3.177992] mmc0: new high speed SDHC card at address 59b4
    [    3.183792] mmcblk0: mmc0:59b4 USD00 15.0 GiB
    [    3.189326]  mmcblk0: p1 p2
    [    3.190821] mmc1: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
    [    3.199338] ledtrig-cpu: registered to indicate activity on CPUs
    [    3.211482] NET: Registered protocol family 10
    [    3.226567] Segment Routing with IPv6
    [    3.230278] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    3.236735] NET: Registered protocol family 17
    [    3.241407] Key type dns_resolver registered
    [    3.245862] omap_voltage_late_init: Voltage driver support not added
    [    3.252290] Power Management for TI OMAP4+ devices.
    [    3.257461] Registering SWP/SWPB emulation handler
    [    3.271084] dmm 4e000000.dmm: workaround for errata i878 in use
    [    3.278429] dmm 4e000000.dmm: initialized all PAT entries
    [    3.285316] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    3.292020] [drm] No driver support for vblank timestamp query.
    [    3.297997] mmc1: new DDR MMC card at address 0001
    [    3.303024] mmcblk1: mmc1:0001 R1J56L 13.8 GiB
    [    3.307643] mmcblk1boot0: mmc1:0001 R1J56L partition 1 4.00 MiB
    [    3.313680] mmcblk1boot1: mmc1:0001 R1J56L partition 2 4.00 MiB
    [    3.319702] mmcblk1rpmb: mmc1:0001 R1J56L partition 3 128 KiB
    [    3.325760] [drm] Cannot find any crtc or sizes
    [    3.331871] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0
    [    3.339338] hctosys: unable to open rtc device (rtc0)
    [    3.345007] ALSA device list:
    [    3.347984]   No soundcards found.
    [    4.053378] EXT4-fs (mmcblk0p2): recovery complete
    [    4.107354] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    4.115581] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    4.125789] devtmpfs: mounted
    [    4.130318] Freeing unused kernel memory: 2048K
    [    4.390839] [drm] Cannot find any crtc or sizes
    [    4.447374] systemd[1]: System time before build time, advancing clock.
    [    4.487996] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN default-hierarchy=hybrid)
    [    4.509473] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2018.08!
    
    [    4.541724] systemd[1]: Set hostname to <am57xx-evm>.
    [    4.800783] NOHZ: local_softirq_pending 40
    [    4.850778] NOHZ: local_softirq_pending 282
    [    4.880879] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.887754] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    4.930903] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.937682] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    4.970973] random: systemd: uninitialized urandom read (16 bytes read)
    [    4.977689] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    5.010991] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    5.041236] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    5.072372] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [    5.101616] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
             Starting Remount Root and Kernel File Systems...
    [    5.159123] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
             Starting Apply Kernel Variables...
             Mounting Kernel Configuration File System...
             Mounting Kernel Debug File System...
             Mounting POSIX Message Queue File System...
             Mounting Temporary Directory (/tmp)...
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Listening on Process Core Dump Socket.
    [  OK  ] Listening on Journal Socket (/dev/log).
             Starting Journal Service...
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Journal Service.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Apply Kernel Variables.
             Starting udev Coldplug all Devices...
             Starting Create Static Device Nodes in /dev...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Create Static Device Nodes in /dev.
    [    6.053091] systemd-journald[92]: Received request to flush runtime journal from PID 1
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Flush Journal to Persistent Storage.
             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 udev Coldplug all Devices.
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Network Service...
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Telephony service...
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started Telephony service.
    [    7.283046] net eth1: initializing cpsw version 1.15 (0)
    [  OK  ] Started System Logging Service.
    [  OK  ] Reached target Containers.
             Starting Login Service...
    [    7.369349] Bluetooth: Core ver 2.22
    [    7.374354] NET: Registered protocol family 31
    [    7.379974] Bluetooth: HCI device and connection manager initialized
    [    7.389087] Bluetooth: HCI socket layer initialized
             [    7.401129] Bluetooth: L2CAP socket layer initialized
    Starting Avahi mDNS/DNS-SD Stack...
    [[    7.417426] Bluetooth: SCO socket layer initialized
      OK  ] Started Kernel Logging Service.
    [    7.443759] Micrel KSZ9031 Gigabit PHY 48485000.mdio:01: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:01, irq=POLL)
    [  OK  ] Reached target System Time Synchronized.
    [    7.522166] cpts ptp bc clkid 0
    [  OK  ] Started Network Service.
    [    7.547498] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [    7.584160] net eth0: initializing cpsw version 1.15 (0)
    [    7.732305] Micrel KSZ9031 Gigabit PHY 48485000.mdio:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:00, irq=POLL)
    [    7.786837] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Login Service.
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [  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...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Host and Network Name Lookups.
    [  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 am57xx-evm ttyS2
    
    Arago 2018.08 am57xx-evm ttyS2
    
    am57xx-evm login: root
    [   12.070793] NOHZ: local_softirq_pending 80
    [   12.080788] NOHZ: local_softirq_pending 80
    -sh: command: not found
    root@am57xx-evm:~#
  • Kemal R. Shakir, hi!

    You were right. I have use another sd-flash drive, and the linux arago boots finely.

    But I got the same bug that was after the previous compilation: unstable ping. Now I will create another branch about this bug.