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.

AM335x kernel booting issue

Other Parts Discussed in Thread: AM3352

Hello,

I am trying to do the initial configuration to startup our new design based on am3352 processor.

For this we use kernel 4.4.19 got from TI SDK, and file "tisdk_am335x-evm_defconfig" for the initial kernel configuration.

I have created our own .dts file and also removed from am33xx.dtsi "rtc: rtc@44e3e000" node because we don not use internal RTC.

At this point we try to start from SD. U-boot runs fine and also kernel does start running, but it stops at this point:

[    5.788328] systemd-journald[95]: Received request to flush runtime journal from PID 1
[    5.835180] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2

[    6.017917] omap_hwmod: pruss: _wait_target_ready failed: -16Storage.
[    6.026023] PM: no-rtc available, rtc-only mode disabled.
[    6.061264] ti-pruss 4a300000.pruss: couldn't enable pruss
         Starting Network Time Synchronization...
[    6.092702] ti-pruss: probe of 4a300000.pruss failed with error -16
         Starting Update UTMP about System Boot/Shutdown...
         Starting LSB: Raise network interfaces....
         Starting Copy rules generated while the root was ro...
[  OK  ] Started Copy rules generated while the root was ro.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started LSB: Raise network interfaces..

Any idea about how to fix this issue?

Best regards

Angel

  • The software team have been notified. They will respond here.
  • Hello Angel,

    Could you attach the complete boot log?

    Best regards,
    Kemal
  • Hello Kemal,

    I attach the file with the complete log.

    Best regards

    Angel

    U-Boot SPL 2016.09-rc2-dirty (Nov 14 2016 - 12:13:57)
    Trying to boot from MMC1
    reading args
    spl_load_image_fat_os: error reading image args, err - -1
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    reading u-boot.img
    
    U-Boot 2016.09-rc2-dirty (Nov 14 2016 - 12:13:57 +0100)
    
    DRAM:  512 MiB
    MMC:   OMAP SD/MMC: 0
    Using default environment
    
    Net:   No ethernet found.
    Press SPACE to abort autoboot in 2 seconds
    =>     
    => 
    => env set board_name owa4x
    => env set board_rev 0
    => env set board_serial
    => env set bootfile /boot/vmlinuz-4.4.19-gdb0b54cdad
    => env set fdtfile dtbs/4.4.19-gdb0b54cdad/am335x-owasys.dtb
    => env set bootcmd 'run findfdt; run init_console; run envboot; run distro_bootcmd;'
    => env set findfdt 'echo board_name=[$board_name] ...; echo board_rev=[$board_rev] ...; setenv fdtfile am335x-owasys.dtb; setenv fdtbase am335x-owasys;'
    => 
    => 
    => boot
    board_name=[owa4x] ...
    board_rev=[0] ...
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    ** Bad device 0:2 0x82000000 **
    ** Bad device 0:2 0x82000000 **
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    gpio: pin 56 (gpio 56) value is 0
    gpio: pin 55 (gpio 55) value is 0
    gpio: pin 54 (gpio 54) value is 0
    gpio: pin 53 (gpio 53) value is 1
    switch to partitions #0, OK
    mmc0 is current device
    gpio: pin 54 (gpio 54) value is 1
    Checking for: /uEnv.txt ...
    Checking for: /boot.scr ...
    Checking for: /boot/boot.scr ...
    Checking for: /boot/uEnv.txt ...
    gpio: pin 55 (gpio 55) value is 1
    27 bytes read in 56 ms (0 Bytes/s)
    Loaded environment from /boot/uEnv.txt
    Checking if uname_r is set in /boot/uEnv.txt...
    gpio: pin 56 (gpio 56) value is 1
    Running uname_boot ...
    loading /boot/vmlinuz-4.4.19-gdb0b54cdad ...
    3448408 bytes read in 311 ms (10.6 MiB/s)
    loading /boot/dtbs/4.4.19-gdb0b54cdad/am335x-owasys.dtb ...
    33500 bytes read in 81 ms (403.3 KiB/s)
    debug: [console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait] ...
    debug: [bootz 0x82000000 - 0x88000000] ...
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8fff4000, end 8ffff2db ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.19-gdb0b54cdad (owzafs@PCOWZAFS) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #2 PREEMPT Tue Nov 15 10:19:11 CET 2016
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: Owa4x board
    [    0.000000] cma: Reserved 24 MiB at 0x9e800000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129920
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Memory: 484704K/524288K available (6551K kernel code, 314K rwdata, 2328K rodata, 268K init, 265K bss, 15008K reserved, 24576K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc08b4004   (8881 kB)
    [    0.000000]       .init : 0xc08b5000 - 0xc08f8000   ( 268 kB)
    [    0.000000]       .data : 0xc08f8000 - 0xc0946b10   ( 315 kB)
    [    0.000000]        .bss : 0xc0946b10 - 0xc0989258   ( 266 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] 	Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000014] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000035] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000047] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000190] clocksource_probe: no matching clocksources found
    [    0.000370] Console: colour dummy device 80x30
    [    0.000396] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.000403] This ensures that you still see kernel messages. Please
    [    0.000408] update your kernel commandline.
    [    0.000426] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
    [    0.089201] pid_max: default: 32768 minimum: 301
    [    0.089329] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.089342] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.090031] Initializing cgroup subsys io
    [    0.090063] Initializing cgroup subsys memory
    [    0.090101] Initializing cgroup subsys devices
    [    0.090116] Initializing cgroup subsys freezer
    [    0.090131] Initializing cgroup subsys perf_event
    [    0.090144] Initializing cgroup subsys pids
    [    0.090174] CPU: Testing write buffer coherency: ok
    [    0.090569] Setting up static identity map for 0x80008200 - 0x80008258
    [    0.092726] devtmpfs: initialized
    [    0.103201] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.106570] omap_hwmod: rtc: no dt node
    [    0.106588] ------------[ cut here ]------------
    [    0.106612] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2538 _init.constprop.22+0x230/0x458()
    [    0.106621] omap_hwmod: rtc: doesn't have mpu register target base
    [    0.106627] Modules linked in:
    [    0.106644] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.19-gdb0b54cdad #2
    [    0.106651] Hardware name: Generic AM33XX (Flattened Device Tree)
    [    0.106658] Backtrace: 
    [    0.106691] [<c00134e4>] (dump_backtrace) from [<c00136e0>] (show_stack+0x18/0x1c)
    [    0.106699]  r7:c08c07bc r6:000009ea r5:00000009 r4:00000000
    [    0.106723] [<c00136c8>] (show_stack) from [<c02a7ba8>] (dump_stack+0x24/0x28)
    [    0.106744] [<c02a7b84>] (dump_stack) from [<c0031c28>] (warn_slowpath_common+0x88/0xb4)
    [    0.106758] [<c0031ba0>] (warn_slowpath_common) from [<c0031c8c>] (warn_slowpath_fmt+0x38/0x40)
    [    0.106764]  r8:000000a8 r7:dd8c75c0 r6:00000000 r5:00000000 r4:c07f2a64
    [    0.106788] [<c0031c58>] (warn_slowpath_fmt) from [<c08c07bc>] (_init.constprop.22+0x230/0x458)
    [    0.106795]  r3:c0830c5c r2:c07f2a64
    [    0.106803]  r4:c0901f30
    [    0.106816] [<c08c058c>] (_init.constprop.22) from [<c08c0b14>] (__omap_hwmod_setup_all+0x48/0x98)
    [    0.106823]  r10:00000000 r9:c08b5600 r8:000000a8 r7:dd8c75c0 r6:c08fcc60 r5:c08fef18
    [    0.106840]  r4:c0901f30
    [    0.106854] [<c08c0acc>] (__omap_hwmod_setup_all) from [<c00096bc>] (do_one_initcall+0x98/0x1e4)
    [    0.106861]  r5:c08c0acc r4:c08fcc60
    [    0.106879] [<c0009624>] (do_one_initcall) from [<c08b5e80>] (kernel_init_freeable+0x138/0x1cc)
    [    0.106886]  r10:00000002 r9:c08b5600 r8:000000a8 r7:c08e981c r6:c08f5a0c r5:c0946b40
    [    0.106903]  r4:c0946b40
    [    0.106923] [<c08b5d48>] (kernel_init_freeable) from [<c0667894>] (kernel_init+0x18/0xf4)
    [    0.106930]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c066787c
    [    0.106947]  r4:c0946b40
    [    0.106961] [<c066787c>] (kernel_init) from [<c000fab8>] (ret_from_fork+0x14/0x3c)
    [    0.106968]  r5:c066787c r4:00000000
    [    0.107016] ---[ end trace 48585301b897d78f ]---
    [    0.117463] omap_hwmod: debugss: _wait_target_disable failed
    [    0.172823] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.174968] pinctrl core: initialized pinctrl subsystem
    [    0.176265] NET: Registered protocol family 16
    [    0.178359] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.209195] cpuidle: using governor ladder
    [    0.239186] cpuidle: using governor menu
    [    0.243727] OMAP GPIO hardware version 0.1
    [    0.250131] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nandflash_pins_default, deferring probe
    [    0.251789] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.287380] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.287708] reg-fixed-voltage fixedregulator@0: Fixed regulator specified with variable voltages
    [    0.287742] reg-fixed-voltage: probe of fixedregulator@0 failed with error -22
    [    0.291002] media: Linux media interface: v0.10
    [    0.291077] Linux video capture interface: v2.00
    [    0.291125] pps_core: LinuxPPS API ver. 1 registered
    [    0.291133] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.291161] PTP clock support registered
    [    0.291216] EDAC MC: Ver: 3.0.0
    [    0.292357] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.292643] Advanced Linux Sound Architecture Driver Initialized.
    [    0.293812] clocksource: Switched to clocksource timer1
    [    0.304719] NET: Registered protocol family 2
    [    0.305499] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.305557] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.305604] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.305676] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.305696] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.305848] NET: Registered protocol family 1
    [    0.306253] RPC: Registered named UNIX socket transport module.
    [    0.306267] RPC: Registered udp transport module.
    [    0.306274] RPC: Registered tcp transport module.
    [    0.306281] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.307169] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
    [    0.308980] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.317195] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.318190] NFS: Registering the id_resolver key type
    [    0.318262] Key type id_resolver registered
    [    0.318272] Key type id_legacy registered
    [    0.318350] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.321994] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
    [    0.322028] io scheduler noop registered
    [    0.322045] io scheduler deadline registered
    [    0.322224] io scheduler cfq registered (default)
    [    0.323388] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    0.386567] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.390600] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
    [    1.187276] console [ttyS0] enabled
    [    1.191698] [drm] Initialized drm 1.1.0 20060810
    [    1.203961] loop: module loaded
    [    1.209545] libphy: Fixed MDIO Bus: probed
    [    1.215714] mousedev: PS/2 mouse device common for all mice
    [    1.221988] i2c /dev entries driver
    [    1.226613] cpuidle: enable-method property 'ti,am3352' found operations
    [    1.274494] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.286403] NET: Registered protocol family 10
    [    1.295357] sit: IPv6 over IPv4 tunneling driver
    [    1.300832] NET: Registered protocol family 17
    [    1.305792] Key type dns_resolver registered
    [    1.310254] omap_voltage_late_init: Voltage driver support not added
    [    1.320014] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.325368] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.331850] omap-gpmc 50000000.gpmc: cannot request GPMC CS 0
    [    1.337706] omap-gpmc 50000000.gpmc: failed to probe DT children
    [    1.344020] omap-gpmc: probe of 50000000.gpmc failed with error -16
    [    1.351623] hctosys: unable to open rtc device (rtc0)
    [    1.360694] ALSA device list:
    [    1.363779] mmc0: host does not support reading read-only switch, assuming write-enable
    [    1.371899]   No soundcards found.
    [    1.376527] Waiting for root device /dev/mmcblk0p2...
    [    1.383595] mmc0: new high speed SDHC card at address 0007
    [    1.389909] mmcblk0: mmc0:0007 SD8GB 7.21 GiB 
    [    1.396205]  mmcblk0: p1 p2
    [    1.498852] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    1.507174] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
    [    1.517230] devtmpfs: mounted
    [    1.520576] Freeing unused kernel memory: 268K (c08b5000 - c08f8000)
    [    1.527188] This architecture does not have kernel memory protection.
    [    1.747746] random: systemd: uninitialized urandom read (16 bytes read, 8 bits of entropy available)
    [    1.769230] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
    [    1.783104] systemd[1]: Detected architecture 'arm'.
    
    Welcome to Debian GNU/Linux 8 (jessie)!
    
    [    1.835972] systemd[1]: Set hostname to <arm>.
    [    1.955027] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 12 bits of entropy available)
    [    2.056998] random: systemd: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
    [    2.066959] random: systemd: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
    [    2.077423] random: systemd: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
    [    2.108095] random: systemd: uninitialized urandom read (16 bytes read, 18 bits of entropy available)
    [    2.118367] random: systemd: uninitialized urandom read (16 bytes read, 18 bits of entropy available)
    [    2.127886] random: systemd: uninitialized urandom read (16 bytes read, 18 bits of entropy available)
    [    2.190452] random: systemd: uninitialized urandom read (16 bytes read, 20 bits of entropy available)
    [    2.200022] random: systemd: uninitialized urandom read (16 bytes read, 20 bits of entropy available)
    [    2.294372] systemd[1]: Cannot add dependency job for unit dbus.socket, ignoring: Unit dbus.socket failed to load: No such file or directory.
    [    2.307383] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
    [    2.325092] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
    [    2.333313] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [    2.341182] systemd[1]: Expecting device dev-ttyS0.device...
             Expecting device dev-ttyS0.device...
    [    2.364131] systemd[1]: Starting Remote File Systems (Pre).
    [  OK  ] Reached target Remote File Systems (Pre).
    [    2.394052] systemd[1]: Reached target Remote File Systems (Pre).
    [    2.400330] systemd[1]: Starting Encrypted Volumes.
    [  OK  ] Reached target Encrypted Volumes.
    [    2.424046] systemd[1]: Reached target Encrypted Volumes.
    [    2.429732] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
    [    2.439391] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
    [    2.447847] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [    2.455977] systemd[1]: Starting Paths.
    [  OK  ] Reached target Paths.
    [    2.484045] systemd[1]: Reached target Paths.
    [    2.488545] systemd[1]: Starting Swap.
    [  OK  ] Reached target Swap.
    [    2.514034] systemd[1]: Reached target Swap.
    [    2.518456] systemd[1]: Starting Root Slice.
    [  OK  ] Created slice Root Slice.
    [    2.544045] systemd[1]: Created slice Root Slice.
    [    2.548901] systemd[1]: Starting User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    2.574072] systemd[1]: Created slice User and Session Slice.
    [    2.579989] systemd[1]: Starting Delayed Shutdown Socket.
    [  OK  ] Listening on Delayed Shutdown Socket.
    [    2.604061] systemd[1]: Listening on Delayed Shutdown Socket.
    [    2.609963] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    2.634057] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [    2.641179] systemd[1]: Starting Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    2.664050] systemd[1]: Listening on Journal Socket (/dev/log).
    [    2.670186] systemd[1]: Starting udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    2.694051] systemd[1]: Listening on udev Control Socket.
    [    2.699648] systemd[1]: Starting udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    2.724047] systemd[1]: Listening on udev Kernel Socket.
    [    2.729547] systemd[1]: Starting Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    2.754050] systemd[1]: Listening on Journal Socket.
    [    2.759272] systemd[1]: Starting System Slice.
    [  OK  ] Created slice System Slice.
    [    2.784073] systemd[1]: Created slice System Slice.
    [    2.789242] systemd[1]: Starting File System Check on Root Device...
             Starting File System Check on Root Device...
    [    2.817539] systemd[1]: Starting system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    2.844303] systemd[1]: Created slice system-getty.slice.
    [    2.856003] systemd[1]: Starting system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.[    2.864875] systemd[1]: Created slice system-serial\x2dgetty.slice.
    
    [    2.877656] systemd[1]: Starting Increase datagram queue length...
             Starting Increase datagram queue length...
    [    2.911187] systemd[1]: Starting Create list of required static device nodes for the current kernel...
             Starting Create list of required static device nodes...rrent kernel...[    2.928749] systemd[1]: Mounting Debug File System...
    
             Mounting Debug File System...
    [    2.957839] systemd[1]: Starting udev Coldplug all Devices...
             Starting udev Coldplug all Devices...
    [    3.019222] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    3.883587] systemd[1]: Started Set Up Additional Binary Formats.
    [    3.906723] systemd[1]: Mounted Huge Pages File System.
    [    3.915507] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    3.958042] systemd[1]: Starting Slices.
    [  OK  ] Reached target Slices.
    [    3.984267] systemd[1]: Reached target Slices.
    [  OK  ] Mounted POSIX Message Queue File System.
    [    4.014716] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Debug File System.
    [    4.044160] systemd[1]: Mounted Debug File System.
    [  OK  ] Started File System Check on Root Device.
    [    4.074158] systemd[1]: Started File System Check on Root Device.
    [  OK  ] Started Increase datagram queue length.
    [    4.114286] systemd[1]: Started Increase datagram queue length.
    [  OK  ] Started Create list of required static device nodes ...current kernel.
    [    4.144312] systemd[1]: Started Create list of required static device nodes for the current kernel.
    [  OK  ] Started Load Kernel Modules.
    [    4.184381] systemd[1]: Started Load Kernel Modules.
    [  OK  ] Started udev Coldplug all Devices.
    [    4.444186] systemd[1]: Started udev Coldplug all Devices.
    [    4.589623] systemd[1]: Mounted FUSE Control File System.
    [    4.595848] systemd[1]: Mounted Configuration File System.
    [    4.601501] systemd[1]: Starting Apply Kernel Variables...
             Starting Apply Kernel Variables...
    [    4.628716] systemd[1]: Starting Create Static Device Nodes in /dev...
             Starting Create Static Device Nodes in /dev...
    [    4.677907] systemd[1]: Starting Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    4.704355] systemd[1]: Listening on Syslog Socket.
    [    4.709471] systemd[1]: Starting Sockets.
    [  OK  ] Reached target Sockets.
    [    4.720849] systemd[1]: Reached target Sockets.
    [    4.726473] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [  OK  ] Started Journal Service.
    [    4.784330] systemd[1]: Started Journal Service.
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [    4.926517] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
    [  OK  ] Started Remount Root and Kernel File Systems.
    [    4.995408] systemd-fsck[61]: rootfs: clean, 8459/60928 files, 43029/243456 blocks
             Starting Various fixups to make systemd work better on Debian...
             Starting Load/Save Random Seed...
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [    5.247060] systemd-udevd[107]: starting version 215
    [  OK  ] Reached target Remote File Systems.
             Starting Trigger Flushing of Journal to Persistent Storage...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Various fixups to make systemd work better on Debian.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
    [    5.822990] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    5.903278] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [  OK  ] Found device /dev/ttyS0.
    [    6.057417] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
    [    6.136218] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
    [    6.156810]  remoteproc0: wkup_m3 is available
    [    6.161301]  remoteproc0: Note: remoteproc is still under development and considered experimental.
    [    6.266259]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
    [    6.325150]  remoteproc0: Direct firmware load for am335x-pm-firmware.elf failed with error -2
    [    6.340586] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
    [    6.349809]  remoteproc0: failed to load am335x-pm-firmware.elf
    [    6.367984] systemd-journald[94]: Received request to flush runtime journal from PID 1
    [    6.400855]  remoteproc0: powering up wkup_m3
    [    6.428052]  remoteproc0: Direct firmware load for am335x-pm-firmware.elf failed with error -2
    [  OK  ] Started Trigger Flushing of Journal to Persistent Storage.[    6.501552]  remoteproc0: request_firmware failed: -2
    
    [    6.513173] edma 49000000.edma: dma_ccerr_handler: Error interrupt without error event!
    [    6.673593] wkup_m3_ipc 44e11324.wkup_m3_ipc: rproc_boot failed
    [    6.825667] omap_hwmod: pruss: _wait_target_ready failed: -16
    [    6.834083] PM: no-rtc available, rtc-only mode disabled.
             Starting Network Time Synchronization...
    [    6.862083] ti-pruss 4a300000.pruss: couldn't enable pruss
    [    6.901847] ti-pruss: probe of 4a300000.pruss failed with error -16
             Starting Update UTMP about System Boot/Shutdown...
             Starting LSB: Raise network interfaces....
             Starting Copy rules generated while the root was ro...
    [  OK  ] Started Copy rules generated while the root was ro.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started LSB: Raise network interfaces..
    

  • Hello Kemal,

    I compiled the kernel using "omap2plus_defconfig" instead of "tisdk_am335x-evm_defconfig" and now the system starts, so it seems to be a kernel configuration issue.

    Now we have to check all the configuration to do the correct setup of our board.

    Thanks a lot for your help.
    Angel
  • Could you just put status = "disabled"; property to the rtc: rtc@44e3e000 { .... ) node instead of removing it. I think the booting hangs because of some other reason.

  • Hello Kemal,

    I checked that before using "omap2plus_defconfig", but the system still was stopping at the same point.

    Regards
    Angel
  • You are booting the system in read-only mode and some systemd services may need to create a work directories like /media/ram at first boot which in case of fail may cause a hang like this. Have you tried to boot the system in read-write mode?

  • Hello Kemal,

    Do you mean this trace?
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait

    I have change to
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait

    But it stills does not start.

    Anyway, compiling kernel with "omap2plus_defconfig" file the system does start fine and it is fine for us, so you can close this ticket.

    Now we are trying to load system and start from NAND, but I will open other ticket to ask about it.

    Regards
    Angel