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/AM4378: Boot issues

Part Number: AM4378

Tool/software: Linux

Hi,

Let me talk about SD Card boot for AM437x.

My customer try to SD Card boot using Procesoor SDK RT Linux version 04.00.00.4
on AM437x SK board.

We just execute "make clean" and "make" and "setup.sh" on host Linux.
After this, We write MLO and u-boot.img and zImage am437x-sk-evm.dtb to SD Card.

But We sometimes get missed boot.
We have 3 logs.

logs.zip

Every logs are difference when boot log stop.
Please let me know why it is stop ?

and We see Known issue of RT Linux Release Notes for RT Linux PSDK 04.00.00.04.

Scheduling while atomic bug is described in this release note.

I understand it is talking about am572x idk.

Does this problem have the same problem with AM437x SK board?

Because We got scheduling error.


Best Regards
Hiroyasu

  • Hi,

    The Starter Kit EVM is not directly supported by the Linux-RT SDK. See "Supported EVM's" in software-dl.ti.com/.../index_FDS.html
  • Hi, Biser

    Thank you for your comment.I got it.

    Actually My customer evaluate RT Linux v4.0.0.4 and v4.2.0.9.
    It has boot issue v4.0.0.4, but no issue on v4.2.0.9 using AM437x SK.
    It seem to improved.

    You told me The Starter Kit EVM is not directly supported by the Linux-RT SDK.
    Does "directly" means that TI is evaluating to operation ?

    Best Regards
    Hiroyasu
  • Hiroyasu,

    We do not test the Linux RT SDK on the Starterkit for AM437x. It should boot and operate normally, but it has not run all of our testing as this board is not identified with industrial markets where RT is usually required. The EVM or IDK would be better evaluation platforms for RT specifically, as they are both thoroughly tested.

    I hope this helps answer you query,

    Ron

  • Hi, RonB

    Thank you for your reply. I got it.

    I try to evaluate on AM437x GP EVM.

    and I see same boot issue.

    U-Boot SPL 2017.01 (Jan 29 2018 - 20:20:34)
    Trying to boot from MMC1
    SPL: Please implement spl_start_uboot() for your board
    SPL: Direct Linux boot not active!
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    
    
    U-Boot 2017.01 (Jan 29 2018 - 20:20:34 +0900)
    
    CPU  : AM437X-GP rev 1.1
    Model: TI AM437x GP EVM
    DRAM:  2 GiB
    PMIC:  TPS65218
    NAND:  512 MiB
    MMC:   OMAP SD/MMC: 0
    reading uboot.env
    
    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment
    
    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw, usb_ether
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    3564472 bytes read in 804 ms (4.2 MiB/s)
    54389 bytes read in 66 ms (804.7 KiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffef000, end 8ffff474 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.28-rt16-g786e64041b (root@tazawa) (gcc ver                                            sion 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 PREEMPT RT Mon Jan 29 20:                                            08:32 JST 2018
    [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5                                            3c7d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instr                                            uction cache
    [    0.000000] OF: fdt:Machine model: TI AM437x GP EVM
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0xfcc00000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM437x ES1.1 (sgx neon)
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Tota                                            l pages: 522559
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=00                                            01dd4e-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 by                                            tes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 byte                                            s)
    [    0.000000] Memory: 2016588K/2097148K available (7168K kernel code, 299K                                             rwdata, 2348K rodata, 1024K init, 317K bss, 31408K reserved, 49152K cma-re                                            served, 1261564K 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 - 0xc0800000   (8160 kB)
    [    0.000000]       .init : 0xc0b00000 - 0xc0c00000   (1024 kB)
    [    0.000000]       .data : 0xc0c00000 - 0xc0c4ad20   ( 300 kB)
    [    0.000000]        .bss : 0xc0c4ad20 - 0xc0c9a2a0   ( 318 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  RCU kthread priority: 1.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0                                            x3e430000
    [    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -                                            > 0x3e430000
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] OMAP L2C310: ROM does not support power control setting
    [    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every                                             89478484971ns
    [    0.000024] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff                                            , max_idle_ns: 79635851949 ns
    [    0.000028] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000144] sched_clock: 64 bits at 500MHz, resolution 2ns, wraps every                                             4398046511103ns
    [    0.000153] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_                                            cycles: 0xe6a171a037, max_idle_ns: 881590485102 ns
    [    0.000168] Switching to timer-based delay loop, resolution 2ns
    [    0.000537] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xfff                                            fffff, max_idle_ns: 58327039986419 ns
    [    0.000541] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000931] Console: colour dummy device 80x30
    [    0.001065] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.001066] This ensures that you still see kernel messages. Please
    [    0.001068] update your kernel commandline.
    [    0.001088] Calibrating delay loop (skipped), value calculated using tim                                            er frequency.. 1000.00 BogoMIPS (lpj=5000000)
    [    0.001092] pid_max: default: 32768 minimum: 301
    [    0.001208] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001213] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 by                                            tes)
    [    0.002050] CPU: Testing write buffer coherency: ok
    [    0.002357] Setting up static identity map for 0x80100000 - 0x80100060
    [    0.003364] EFI services will not be available.
    [    0.004312] devtmpfs: initialized
    [    0.016422] VFP support v0.3: implementor 41 architecture 3 part 30 vari                                            ant 9 rev 4
    [    0.016736] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xfffffff                                            f, max_idle_ns: 19112604462750000 ns
    [    0.016761] futex hash table entries: 256 (order: 1, 8192 bytes)
    [    0.020006] pinctrl core: initialized pinctrl subsystem
    [    0.021372] NET: Registered protocol family 16
    [    0.022798] DMA: preallocated 256 KiB pool for atomic coherent allocatio                                            ns
    [    0.101737] omap_gpio 44e07000.gpio: could not find pctldev for node /oc                                            p@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/gpio0_pins, deferring pro                                            be
    [    0.103720] OMAP GPIO hardware version 0.1
    [    0.108179] omap_gpio 48322000.gpio: could not find pctldev for node /oc                                            p@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/display_mux_pins, deferri                                            ng probe
    [    0.111883] omap-gpmc 50000000.gpmc: could not find pctldev for node /oc                                            p@44000000/l4_wkup@44c00000/scm@210000/pinmux@800/nand_flash_x8, deferring                                             probe
    [    0.116065] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchp                                            oint registers.
    [    0.116081] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.129623] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.133774] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp@                                            44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins, deferring probe
    [    0.133830] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp@                                            44000000/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins, deferring probe
    [    0.133953] media: Linux media interface: v0.10
    [    0.133999] Linux video capture interface: v2.00
    [    0.134039] pps_core: LinuxPPS API ver. 1 registered
    [    0.134045] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo                                             Giometti <giometti@linux.it>
    [    0.134066] PTP clock support registered
    [    0.134108] EDAC MC: Ver: 3.0.0
    [    0.135023] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.135361] Advanced Linux Sound Architecture Driver Initialized.
    [    0.136452] clocksource: Switched to clocksource arm_global_timer
    [    0.145287] NET: Registered protocol family 2
    [    0.146003] TCP established hash table entries: 8192 (order: 3, 32768 by                                            tes)
    [    0.146088] TCP bind hash table entries: 8192 (order: 5, 196608 bytes)
    [    0.146668] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.146850] UDP hash table entries: 512 (order: 3, 32768 bytes)
    [    0.146970] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes)
    [    0.147391] NET: Registered protocol family 1
    [    0.147896] RPC: Registered named UNIX socket transport module.
    [    0.147911] RPC: Registered udp transport module.
    [    0.147916] RPC: Registered tcp transport module.
    [    0.147922] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.150283] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    0.155835] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.156812] NFS: Registering the id_resolver key type
    [    0.156845] Key type id_resolver registered
    [    0.156852] Key type id_legacy registered
    [    0.156900] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.158413] bounce: pool size: 64 pages
    [    0.158626] Block layer SCSI generic (bsg) driver version 0.4 loaded (ma                                            jor 247)
    [    0.158639] io scheduler noop registered
    [    0.158645] io scheduler deadline registered
    [    0.158764] io scheduler cfq registered (default)
    [    0.161101] pinctrl-single 44e10800.pinmux: please update dts to use #pi                                            nctrl-cells = <1>
    [    0.161917] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size                                             796
    [    0.164716] backlight supply power not found, using dummy regulator
    [    0.215061] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.217529] omap8250 44e09000.serial: No clock speed specified: using de                                            fault: 48000000
    [    0.218239] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_ba                                            ud = 3000000) is a 8250
    [    0.940035] console [ttyS0] enabled
    [    0.943977] omap8250 481a6000.serial: No clock speed specified: using de                                            fault: 48000000
    [    0.952726] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 31, base_ba                                            ud = 3000000) is a 8250
    [    0.963271] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    0.970113] [drm] Initialized
    [    0.974418] 4832a000.dss supply vdda_video not found, using dummy regula                                            tor
    [    0.981563] OMAP DSS rev 2.0
    [    0.984611] omapdss_dss 4832a000.dss: bound 4832a400.dispc (ops dispc_co                                            mponent_ops)
    [    0.993714] display supply vcc not found, using dummy regulator
    [    1.013038] brd: module loaded
    [    1.022394] loop: module loaded
    [    1.028334] libphy: Fixed MDIO Bus: probed
    [    1.106530] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.112666] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
    [    1.119754] libphy: 4a101000.mdio: probed
    [    1.123800] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00,                                             driver Micrel KSZ9031 Gigabit PHY
    [    1.134205] cpsw 4a100000.ethernet: Detected MACID = 34:b1:f7:31:50:9f
    [    1.140902] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jif                                            fies)
    [    1.149795] mousedev: PS/2 mouse device common for all mice
    [    1.155789] i2c /dev entries driver
    [    1.222869] NET: Registered protocol family 10
    [    1.229714] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.236314] NET: Registered protocol family 17
    [    1.241074] Key type dns_resolver registered
    [    1.245583] omap_voltage_late_init: Voltage driver support not added
    [    1.259197] omapdrm omapdrm.0: DMM not available, disable DMM support
    [    1.266257] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.272916] [drm] No driver support for vblank timestamp query.
    [    1.341152] Console: switching to colour frame buffer device 100x30
    [    1.364221] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    1.371663] GPIO line 119 (SelEMMCorNAND) hogged as output/low
    [    1.379595] GPIO line 136 (SelLCDorHDMI) hogged as output/high
    [    1.387598] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.392776] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.400526] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xdc
    [    1.406918] nand: Micron MT29F4G08ABAEAWP
    [    1.410949] nand: 512 MiB, SLC, erase size: 256 KiB, page size: 4096, OO                                            B size: 224
    [    1.418673] using OMAP_ECC_BCH16_CODE_HW ECC scheme
    [    1.423660] 10 ofpart partitions found on MTD device 8000000.nand
    [    1.429780] Creating 10 MTD partitions on "8000000.nand":
    [    1.435208] 0x000000000000-0x000000040000 : "NAND.SPL"
    [    1.441596] 0x000000040000-0x000000080000 : "NAND.SPL.backup1"
    [    1.448521] 0x000000080000-0x0000000c0000 : "NAND.SPL.backup2"
    [    1.455452] 0x0000000c0000-0x000000100000 : "NAND.SPL.backup3"
    [    1.462330] 0x000000100000-0x000000180000 : "NAND.u-boot-spl-os"
    [    1.469423] 0x000000180000-0x000000280000 : "NAND.u-boot"
    [    1.475971] 0x000000280000-0x0000002c0000 : "NAND.u-boot-env"
    [    1.482777] 0x0000002c0000-0x000000300000 : "NAND.u-boot-env.backup1"
    [    1.490296] 0x000000300000-0x000000a00000 : "NAND.kernel"
    [    1.497352] 0x000000a00000-0x000020000000 : "NAND.file-system"
    [    1.592086] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
    [    1.599170] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.605381] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.668501] hctosys: unable to open rtc device (rtc0)
    [    1.676348] vmmcwl_fixed: disabling
    [    1.682661] ALSA device list:
    [    1.685644]   No soundcards found.
    [    1.690112] Waiting for root device PARTUUID=0001dd4e-02...
    [    1.713962] mmc1: host does not support reading read-only switch, assumi                                            ng write-enable
    [    1.724469] mmc1: new high speed SDHC card at address 0007
    [    1.730675] mmcblk1: mmc1:0007 SD08G 7.42 GiB
    [    1.737281]  mmcblk1: p1 p2
    [    1.874309] random: fast init done
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    [    9.645500] EXT4-fs (mmcblk1p2): recovery complete
    [    9.654496] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [    9.662692] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    9.673242] devtmpfs: mounted
    [    9.678196] Freeing unused kernel memory: 1024K (c0b00000 - c0c00000)
    [    9.986893] systemd[1]: System time before build time, advancing clock.
    [   10.051782] 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)
    [   10.070434] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2017.05!
    
    [   10.115966] systemd[1]: Set hostname to <am437x-evm>.
    [   10.636752] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
    [   10.644568] systemd[1]: sysinit.target: Found dependency on alignment.service/start
    [   10.652284] systemd[1]: sysinit.target: Found dependency on basic.target/start
    [   10.659552] systemd[1]: sysinit.target: Found dependency on sockets.target/start
    [   10.666990] systemd[1]: sysinit.target: Found dependency on dropbear.socket/stop
    [   10.674424] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
    [   10.681860] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
    [ SKIP ] Ordering cycle found, skipping alignment.service
    [  OK  ] Reached target Swap.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Created slice System Slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Listening on Journal Socket.
             Starting Journal Service...
             Starting Setup Virtual Console...
             Mounting POSIX Message Queue File System...
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Reached target Remote File Systems.
             Starting Load Kernel Modules...
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [   11.337678] cmemk: loading out-of-tree module taints kernel.
    [   11.344766] CMEMK module: reference Linux version 4.9.28
             Mounting Debug File System...
    [   11.376014] no physical memory specified
    [   11.380047] cmemk initialized
    [   11.416943] cryptodev: driver 1.8 loaded.
             Mounting Temporary Directory...
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Reached target Slices.
    [  OK  ] Created slice system-getty.slice.
             Starting Remount Root and Kernel File Systems...
    [   11.621322] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Debug File System.
    [  OK  ] Mounted Temporary Directory.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Setup Virtual Console.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Starting udev Coldplug all Devices...
             Starting Apply Kernel Variables...
             Mounting Configuration File System...
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted Configuration File System.
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Apply Kernel Variables.
    [   12.479825] systemd-journald[114]: Received request to flush runtime journal from PID 1
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Load/Save Random Seed.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
             Starting Synchronize System and HW clocks...
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [   13.827161] remoteproc remoteproc0: wkup_m3 is available
    [   13.866387] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [  OK  ] Found device /dev/ttyS0.
    [   13.962084] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
    [   14.036937] ov2659 0-0030: Sensor detection failed (3030, 0)
    [   14.070262] ov2659 1-0030: Found OV2656 sensor
    [   14.119549] remoteproc remoteproc0: powering up wkup_m3
    [   14.141375] ov2659 1-0030: ov2659 1-0030 sensor driver registered !!
    [   14.155706] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 224352
    [   14.190726] remoteproc remoteproc0: remote processor wkup_m3 is now up
    [   14.190865] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
    [   14.393299] CAN device driver interface
    [   14.421550] input: pixcir_tangoc as /devices/platform/44000000.ocp/4802a000.i2c/i2c-1/1-005c/input/input0
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [   14.645739] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=154)
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [   14.749354] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=155)
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
             Starting Telephony service...
    [  OK  ] Started System Logging Service.
    [   15.164498] omap-sham 53100000.sham: hw accel on OMAP rev 0.0
             Starting Print notice about GPLv3 packages...
             Starting Login Service...
             Starting Avahi mDNS/DNS-SD Stack...
    [   15.401649] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1
    [  OK  ] Started Kernel Logging Service.
    [   15.428755] omap-aes 53501000.aes: will run requests pump with realtime priority
    [  OK  ] Started D-Bus System Message Bus.
    [   15.631455] omap-des 53701000.des: OMAP DES hw accel rev: 0.33
    [   15.682351] omap-des 53701000.des: will run requests pump with realtime priority
    [   15.850876] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Telephony service.
             Starting uim-sysfs.service...
    [   16.814401] Bluetooth: Core ver 2.22
    [   16.878317] NET: Registered protocol family 31
    [   16.882790] Bluetooth: HCI device and connection manager initialized
             Starting Network Service...
    [   17.089553] Bluetooth: HCI socket layer initialized
    [   17.172585] Bluetooth: L2CAP socket layer initialized
    [   17.245968] Bluetooth: SCO socket layer initialized
    [  OK  ] Started Network Service.
    [   17.677007] input: matrix_keypad0 as /devices/platform/matrix_keypad0/input/input1
    [   17.813861] PM: bootloader does not support rtc-only!
    [   17.945733] asoc-simple-card sound0: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
    [   18.003844] net eth0: initializing cpsw version 1.15 (0)
    [   18.003853] net eth0: initialized cpsw ale version 1.4
    [   18.003858] net eth0: ALE Table size 1024
    [   18.139174] Micrel KSZ9031 Gigabit PHY 4a101000.mdio:00: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=4a101000.mdio:00, irq=-1)
    [   18.177619] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [  OK  ] Started Login Service.
    [   18.501076] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Plea
    

    Please check a log and working.

    I use microSD Card boot after just make Processor SDK RTLinux v4.0.0.4.

    Best Regards

    Hiroyasu

  • Hiroyasu,

    I just tried Processor SDK for RT Linux 4.2, the latest and it booted on a AM437x SK just fine. Can you try this SDK version or maybe a different SD Card?
  • Hi, RonB

    Thank you for your check !

    I checked RT Linux 4.2 and It was fine.

    My customer already start to develop usig RT Linux 4.0.0.4
    and We need to know about why it was improved.

    I checked These Release note of RT Linux.

    processors.wiki.ti.com/.../Processor_SDK_Linux_RT_Kernel_Release_Notes
    processors.wiki.ti.com/index.php

    But I can not find this reason of improved.
    Please let me know this reason, if you know.

    Best Regards
    Hiroyasu

  • Hiroyasu,

    We believe this problem was corrected by a Linux community patch here:

    git.kernel.org/.../

    This was applied just after our 4.0.0.4 release. I would recommend moving to a later SDK to pick up this fix. Since these releases are all the same kernel version and U-Boot version, it should be fairly simple to move.

    You could also simply choose to apply the patch and test to see if it fixes the problem. However, this is untested. Choosing a later SDK, which is validated, would seem to be the better path.
  • Hi, RonB

    Thank you for your support !
    It was fixed !

    Best Regards
    Hiroyasu