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.

AM3358: Kernel boot issue

Part Number: AM3358
Other Parts Discussed in Thread: AM3352, TPS65910

hello,

we have dev. an am3358 based custom board with ref. design of sitara kit

there is only one change in our board there is two ddr3 ram and we have configure board.c for the same

at boot time we are getting log such as

U-Boot SPL 2019.01-g1ebdbc7d8b-dirty (Jan 29 2020 - 18:41:33 +0530)
Trying to boot from MMC1


U-Boot 2019.01-g1ebdbc7d8b-dirty (Jan 29 2020 - 18:41:33 +0530)

========================================
**************** AAROHI ****************
========================================
CPU123  : AM335X123-GP rev 2.1

=====> Inside sys_info.c
Model: TI AM335x EVM
DRAM:  1 GiB
NAND:  0 MiB
MMC:   OMAP SD/MMC: 0
Loading Environment from FAT... OK
Net:   Could not get PHY for ethernet@4a100000: addr 0

Warning: ethernet@4a100000 MAC addresses don't match:
Address in ROM is          04:79:b7:03:11:19
Address in environment is  04:79:b7:03:41:f4
eth0: ethernet@4a100000
Warning: usb_ether MAC addresses don't match:
Address in ROM is          de:ad:be:ef:00:01
Address in environment is  04:79:b7:03:41:f6
, eth1: usb_ether
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
Scanning mmc 0:1...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
4227584 bytes read in 274 ms (14.7 MiB/s)
37166 bytes read in 4 ms (8.9 MiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to bdf2b000, end bdf3712d ... OK

Starting kernel ...

after that cpu hangs

here are some boot time cmd test results

=>    bdinfo
arch_number = 0x00000e05
boot_params = 0x80000100
DRAM bank   = 0x00000000
-> start    = 0x80000000
-> size     = 0x40000000
baudrate    = 115200 bps
TLB addr    = 0xbfff0000
relocaddr   = 0xbff68000
reloc off   = 0x3f768000
irq_sp      = 0xbdf398c0
sp start    = 0xbdf398b0
Early malloc usage: 1ac / 1000
fdt_blob    = 0xbdf398d8
=> iminfo

## Checking Image at 82000000 ...
Unknown image format!
=> mmc info
Device: OMAP SD/MMC
Manufacturer ID: 1b
OEM: 534d
Name: 00000
Bus Speed: 48000000
Mode : SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.5 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
=>

i am confuse

because due to what reason kernel not coming up ...?

  • Hi Raju,

    RAJU KUMARKHANIYA said:
    because due to what reason kernel not coming up ...?

    there could be a number of things going wrong here including but not limited to DDR config including how this information is passed to the Kernel, the Kernel using some improper/unsuitable build configuration, issues with the device tree file, issues with how the Kernel boot arguments are setup (UART), etc.

    I would suggest using the JTAG debugger to do some analysis here for a quick path to resolution. A combination of JTAG and Code Composer Studio would also give you a platform to test and experiment with your DDR configuration which is often a reason why things don't work (I suppose you are aware of the the AM335x EMIF Tools App Note and its associated spreadsheet ?)

    Alternatively, I suppose you have that Sitara development board you modeled your design after at your disposal? Make sure your Kernel/dtb runs there. Then try stripping it down to the bare minimum by de-activating different things in the Kernel configuration. Also try "hiding" some of your memory by experimenting with your DDR config to go back to the baseline you started from (512MB?) to see if this does anything. Do some "poor man's" basic mem testing by making sure all memory is readable and writable by using memory-manipulating commands such as 'md' and 'mw' and make sure all regions are accessible and the values "stick" by trying random locations across the entire range you expect to have memory (obviously this would be nothing more than a quick sanity test).

    Then, you can try to enable early printk (console) functionality to see if this yields anything, configuring it for the UART you are using:

    https://e2e.ti.com/support/legacy_forums/embedded/linux/f/354/t/590728

    Also I suggest searching the Internet, there are many types of problems and associated solutions such as this one:

    https://e2e.ti.com/support/legacy_forums/embedded/linux/f/354/t/564201

    Can you please do some in-depth experiments on your end and then report back here what you find and/or how you were able to resolve the issue, if successful.

    Regards, Andreas

  • hello

    thank you so much for your reply

    after adding uEnv.txt file in sd card boot section kernel load successfully.

    bootargs=console=ttyO0,115200n8 root=/dev/mmcblk0p2 rootfstype=ext3 rw rootwait ip=off lpj=3590144
    bootcmd=mmc rescan; ext4load mmc 0:2 ${loadaddr} /boot/zImage; bootz ${loadaddr} - ${fdtaddr}
    loadfdt=ext4load mmc 0:2 ${fdtaddr} /boot/am335x-evmsk.dtb
    uenvcmd=boot

    but still getting one small issue with this file, at first time power on kernel not booting after board reset kernel load and working fine....

    should i create new thread for this issue...?

  • Hi Raju,

    RAJU KUMARKHANIYA said:
    but still getting one small issue with this file, at first time power on kernel not booting after board reset kernel load and working fine....

    Are you saying after power up, the boot works all the way to "Loading Kernel..." only (and then gets stuck, like you reported initially), but after you issue a reset the boot will go all the way to Linux prompt?

    If so, can you share a log of a full successful boot?

    Have you run "memtester" at the Linux prompt (if not, please do that)?

    Regards, Andreas

  • thank you so much for your reply

     

    ==========================================================================================

    ===>> can you share a log of a full successful boot?

    normally board boot stop log

    ==========================================================================================

    U-Boot SPL 2019.01-g1ebdbc7d8b-dirty (Feb 03 2020 - 16:12:47 +0530)             
    Trying to boot from MMC1                                                        
                                                                                    
                                                                                    
    U-Boot 2019.01-g1ebdbc7d8b-dirty (Feb 03 2020 - 16:12:47 +0530)                 
                                                                                    
    ========================================                                        
    **************** AAROHI ****************                                        
    ========================================                                        
    CPU123  : AM335X123-GP rev 2.1                                                  
                                                                                    
    =====> Inside sys_info.c                                                        
    Model: TI AM335x EVM                                                            
    DRAM:  1 GiB                                                                    
    NAND:  0 MiB                                                                    
    MMC:   OMAP SD/MMC: 0                                                           
    Loading Environment from FAT... OK                                              
    Net:   Could not get PHY for ethernet@4a100000: addr 0                          
    eth0: ethernet@4a100000                                                         
    Warning: usb_ether MAC addresses don't match:                                   
    Address in ROM is          de:ad:be:ef:00:01                                    
    Address in environment is  04:79:b7:03:11:1b                                    
    , eth1: usb_ether                                                               
    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 **                                              
    264 bytes read in 1 ms (257.8 KiB/s)                                            
    Loaded env from uEnv.txt                                                        
    Importing environment from mmc0 ...                                             
    Running uenvcmd ...                                                             
    4227584 bytes read in 276 ms (14.6 MiB/s)                                       
    ERROR: Did not find a cmdline Flattened Device Tree                             
    Could not find a valid device tree                                              
    switch to partitions #0, OK                                                     
    mmc0 is current device                                                          
    Scanning mmc 0:1...                                                             
    switch to partitions #0, OK                                                     
    mmc0 is current device                                                          
    SD/MMC found on device 0                                                        
    4227584 bytes read in 274 ms (14.7 MiB/s)                                       
    40172 bytes read in 4 ms (9.6 MiB/s)                                            
    ## Flattened Device Tree blob at 88000000                                       
       Booting using the fdt blob at 0x88000000                                     
       Loading Device Tree to 8fff3000, end 8ffffceb ... OK                         
                                                                                    
    Starting kernel ...                                                             

    ==========================================================================================

    ======================>>>>>>>>>>after board reset board boot log======================>>>>>>>>>>

    ==========================================================================================

    U-Boot SPL 2019.01-g1ebdbc7d8b-dirty (Feb 03 2020 - 16:12:47 +0530)             
    Trying to boot from MMC1                                                        
                                                                                    
                                                                                    
    U-Boot 2019.01-g1ebdbc7d8b-dirty (Feb 03 2020 - 16:12:47 +0530)                 
                                                                                    
    ========================================                                        
    **************** AAROHI ****************                                        
    ========================================                                        
    CPU123  : AM335X123-GP rev 2.1                                                  
                                                                                    
    =====> Inside sys_info.c                                                        
    Model: TI AM335x EVM                                                            
    DRAM:  1 GiB                                                                    
    NAND:  0 MiB                                                                    
    MMC:   OMAP SD/MMC: 0                                                           
    Loading Environment from FAT... OK                                              
    Net:   Could not get PHY for ethernet@4a100000: addr 0                          
    eth0: ethernet@4a100000                                                         
    Warning: usb_ether MAC addresses don't match:                                   
    Address in ROM is          de:ad:be:ef:00:01                                    
    Address in environment is  04:79:b7:03:11:1b                                    
    , eth1: usb_ether                                                               
    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 **                                              
    264 bytes read in 1 ms (257.8 KiB/s)                                            
    Loaded env from uEnv.txt                                                        
    Importing environment from mmc0 ...                                             
    Running uenvcmd ...                                                             
    4227584 bytes read in 276 ms (14.6 MiB/s)                                       
    ## Flattened Device Tree blob at 88000000                                       
       Booting using the fdt blob at 0x88000000                                     
       Loading Device Tree to 8fff3000, end 8ffffceb ... OK                         
                                                                                    
    Starting kernel ...                                                             
                                                                                    
    [    0.000000] Booting Linux on physical CPU 0x0                                
    [    0.000000] Linux version 4.19.59-g5f8c1c6121 (raju@Raju-PC) (gcc version 8.0
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d  
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie
    [    0.000000] OF: fdt: Machine model: TI AM335x EVM-SK                         
    [    0.000000] Memory policy: Data cache writeback                              
    [    0.000000] efi: Getting EFI parameters from FDT:                            
    [    0.000000] efi: UEFI not found.                                             
    [    0.000000] cma: Reserved 48 MiB at 0xbd000000                               
    [    0.000000] CPU: All CPU(s) started in SVC mode.                             
    [    0.000000] AM335X ES2.1 (sgx neon)                                          
    [    0.000000] random: get_random_bytes called from start_kernel+0xa4/0x434 wit0
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260416    
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 4
    [    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: 975336K/1048576K available (9216K kernel code, 309K rwda)
    [    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 : 0x(ptrval) - 0x(ptrval)   (10208 kB)               
    [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)                
    [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 310 kB)                
    [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 254 kB)                
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1       
    [    0.000000] rcu: Preemptible hierarchical RCU implementation.                
    [    0.000000]  Tasks RCU enabled.                                              
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16                  
    [    0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrus
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz                    
    [    0.000015] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 8947s
    [    0.000035] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, mas
    [    0.000045] OMAP clocksource: timer1 at 24000000 Hz                          
    [    0.000211] timer_probe: no matching timers found                            
    [    0.000383] Console: colour dummy device 80x30                               
    [    0.000411] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'       
    [    0.000417] This ensures that you still see kernel messages. Please          
    [    0.000422] update your kernel commandline.                                  
    [    0.000473] Calibrating delay loop (skipped) preset value.. 718.02 BogoMIPS )
    [    0.000491] pid_max: default: 32768 minimum: 301                             
    [    0.000679] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)      
    [    0.000695] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001464] CPU: Testing write buffer coherency: ok                          
    [    0.001527] CPU0: Spectre v2: using BPIALL workaround                        
    [    0.002345] Setting up static identity map for 0x80100000 - 0x80100060       
    [    0.002482] rcu: Hierarchical SRCU implementation.                           
    [    0.002792] EFI services will not be available.                              
    [    0.004080] devtmpfs: initialized                                            
    [    0.011623] VFP support v0.3: implementor 41 architecture 3 part 30 variant 3
    [    0.011985] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
    [    0.012007] futex hash table entries: 256 (order: -1, 3072 bytes)            
    [    0.015404] pinctrl core: initialized pinctrl subsystem                      
    [    0.016132] DMI not present or invalid.                                      
    [    0.016548] NET: Registered protocol family 16                               
    [    0.018647] DMA: preallocated 256 KiB pool for atomic coherent allocations   
    [    0.022326] omap_hwmod: rtc: no dt node                                      
    [    0.022344] ------------[ cut here ]------------                             
    [    0.022374] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2409 8
    [    0.022381] omap_hwmod: rtc: doesn't have mpu register target base           
    [    0.022388] Modules linked in:                                               
    [    0.022407] CPU: 0 PID: 1 Comm: swapper Not tainted 4.19.59-g5f8c1c6121 #5   
    [    0.022413] Hardware name: Generic AM33XX (Flattened Device Tree)            
    [    0.022420] Backtrace:                                                       
    [    0.022441] [<c010cb64>] (dump_backtrace) from [<c010ced4>] (show_stack+0x18)
    [    0.022453]  r7:00000009 r6:00000000 r5:c0bbd6b0 r4:ee885de4                 
    [    0.022476] [<c010cebc>] (show_stack) from [<c08f33d4>] (dump_stack+0x24/0x2)
    [    0.022497] [<c08f33b0>] (dump_stack) from [<c012aab8>] (__warn+0xe0/0xf8)   
    [    0.022509] [<c012a9d8>] (__warn) from [<c012a710>] (warn_slowpath_fmt+0x50/)
    [    0.022520]  r9:c0d3d820 r8:00000000 r7:c0e0aa58 r6:00000000 r5:c0bbdc40 r4:8
    [    0.022532] [<c012a6c4>] (warn_slowpath_fmt) from [<c0d0b724>] (_init.constp)
    [    0.022539]  r3:c0bfa494 r2:c0bbdc40                                         
    [    0.022546]  r5:00000000 r4:c0e0aa20                                         
    [    0.022557] [<c0d0b578>] (_init.constprop.21) from [<c0d0bb80>] (__omap_hwmo)
    [    0.022568]  r10:00000003 r9:c0d3d820 r8:00000000 r7:c0d0bb38 r6:ffffe000 r50
    [    0.022575]  r4:c0e0aa20                                                     
    [    0.022589] [<c0d0bb38>] (__omap_hwmod_setup_all) from [<c0102640>] (do_one_)
    [    0.022596]  r5:c0e03048 r4:c0e4d740                                         
    [    0.022614] [<c01025bc>] (do_one_initcall) from [<c0d00f2c>] (kernel_init_fr)
    [    0.022624]  r8:c0d3d840 r7:c0e4d740 r6:c0e4d740 r5:c0d503c4 r4:c0c9f624     
    [    0.022639] [<c0d00de4>] (kernel_init_freeable) from [<c09076b0>] (kernel_in)
    [    0.022649]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r50
    [    0.022655]  r4:00000000                                                     
    [    0.022666] [<c09076a0>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14)
    [    0.022673] Exception stack(0xee885fb0 to 0xee885ff8)                        
    [    0.022684] 5fa0:                                     00000000 00000000 00000
    [    0.022695] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000
    [    0.022705] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000      
    [    0.022712]  r5:c09076a0 r4:00000000                                         
    [    0.022727] ---[ end trace 792a34c90f324b76 ]---                             
    [    0.036438] l4_wkup_cm:clk:0010:0: failed to disable                         
    [    0.077300] cpuidle: using governor ladder                                   
    [    0.077335] cpuidle: using governor menu                                     
    [    0.082037] OMAP GPIO hardware version 0.1                                   
    [    0.091295] No ATAGs?                                                        
    [    0.091311] hw-breakpoint: debug architecture 0x4 unsupported.               
    [    0.103843] edma 49000000.edma: TI EDMA DMA engine driver                    
    [    0.105335] v1_8d: supplied by vbat                                          
    [    0.105599] v3_3d: supplied by vbat                                          
    [    0.107909] SCSI subsystem initialized                                       
    [    0.108365] media: Linux media interface: v0.10                              
    [    0.108406] videodev: Linux video capture interface: v2.00                   
    [    0.108491] pps_core: LinuxPPS API ver. 1 registered                         
    [    0.108498] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
    [    0.108519] PTP clock support registered                                     
    [    0.108550] EDAC MC: Ver: 3.0.0                                              
    [    0.109789] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400            
    [    0.110409] Advanced Linux Sound Architecture Driver Initialized.            
    [    0.111576] clocksource: Switched to clocksource timer1                      
    [    0.118915] NET: Registered protocol family 2                                
    [    0.119928] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096)
    [    0.119959] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.120028] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)        
    [    0.120095] TCP: Hash tables configured (established 8192 bind 8192)         
    [    0.120223] UDP hash table entries: 512 (order: 1, 8192 bytes)               
    [    0.120250] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)          
    [    0.120402] NET: Registered protocol family 1                                
    [    0.120952] RPC: Registered named UNIX socket transport module.              
    [    0.120962] RPC: Registered udp transport module.                            
    [    0.120968] RPC: Registered tcp transport module.                            
    [    0.120974] RPC: Registered tcp NFSv4.1 backchannel transport module.        
    [    0.122000] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 countee
    [    0.123209] Initialise system trusted keyrings                               
    [    0.123562] workingset: timestamp_bits=14 max_order=18 bucket_order=4        
    [    0.127710] squashfs: version 4.0 (2009/01/31) Phillip Lougher               
    [    0.128433] NFS: Registering the id_resolver key type                        
    [    0.128472] Key type id_resolver registered                                  
    [    0.128480] Key type id_legacy registered                                    
    [    0.128518] ntfs: driver 2.1.32 [Flags: R/O].                                
    [    0.130607] Key type asymmetric registered                                   
    [    0.130624] Asymmetric key parser 'x509' registered                          
    [    0.130690] bounce: pool size: 64 pages                                      
    [    0.130757] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
    [    0.130770] io scheduler noop registered                                     
    [    0.130777] io scheduler deadline registered                                 
    [    0.131006] io scheduler cfq registered (default)                            
    [    0.131016] io scheduler mq-deadline registered                              
    [    0.131022] io scheduler kyber registered                                    
    [    0.132967] pinctrl-single 44e10800.pinmux: 142 pins, size 568               
    [    0.136133] pwm-backlight backlight: backlight supply power not found, usingr
    [    0.136224] pwm-backlight backlight: Linked as a consumer to regulator.0     
    [    0.179911] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled         
    [    0.183800] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud =0
    [    1.042224] console [ttyS0] enabled                                          
    [    1.047883] omap_rng 48310000.rng: Random Number Generator ver. 20           
    [    1.054269] random: fast init done                                           
    [    1.057887] random: crng init done                                           
    [    1.062985] tilcdc-panel panel: found backlight                              
    [    1.067840] OF: graph: no port node found in /ocp/lcdc@4830e000              
    [    1.074450] OF: graph: no port node found in /ocp/lcdc@4830e000              
    [    1.080875] OF: graph: no port node found in /ocp/lcdc@4830e000              
    [    1.086911] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).      
    [    1.093569] [drm] No driver support for vblank timestamp query.              
    [    1.154667] Console: switching to colour frame buffer device 100x30          
    [    1.183239] tilcdc 4830e000.lcdc: fb0: DRM emulated frame buffer device      
    [    1.190444] [drm] Initialized tilcdc 1.0.0 20121205 for 4830e000.lcdc on min0
    [    1.209257] brd: module loaded                                               
    [    1.218792] loop: module loaded                                              
    [    1.224541] libphy: Fixed MDIO Bus: probed                                   
    [    1.301618] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6, bus freq 0
    [    1.309328] davinci_mdio 4a101000.mdio: detected phy mask fffffffe           
    [    1.316657] libphy: 4a101000.mdio: probed                                    
    [    1.320697] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, drit
    [    1.330928] cpsw 4a100000.ethernet: Detected MACID = 04:79:b7:03:11:19       
    [    1.337732] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4         
    [    1.344202] cpsw 4a100000.ethernet: ALE Table size 1024                      
    [    1.349491] cpsw 4a100000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.357519] cpsw 4a100000.ethernet: cpsw: Detected MACID = 04:79:b7:03:11:1b
    [    1.365909] i2c /dev entries driver                                          
    [    1.371288] cpuidle: enable-method property 'ti,am3352' found operations     
    [    1.378623] sdhci: Secure Digital Host Controller Interface driver           
    [    1.384878] sdhci: Copyright(c) Pierre Ossman                                
    [    1.389932] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000)
    [    1.398733] omap_hsmmc 48060000.mmc: Got CD GPIO                             
    [    1.404888] sdhci-pltfm: SDHCI platform and OF driver helper                 
    [    1.412178] ledtrig-cpu: registered to indicate activity on CPUs             
    [    1.423379] NET: Registered protocol family 10                               
    [    1.429197] Segment Routing with IPv6                                        
    [    1.433095] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver              
    [    1.439700] NET: Registered protocol family 17                               
    [    1.444595] Key type dns_resolver registered                                 
    [    1.449120] omap_voltage_late_init: Voltage driver support not added         
    [    1.456394] Loading compiled-in X.509 certificates                           
    [    1.491849] tps65910 0-002d: No interrupt support, no core IRQ               
    [    1.499492] vrtc: supplied by vbat                                           
    [    1.506537] vio: supplied by vbat                                            
    [    1.511258] vdd1: supplied by vbat                                           
    [    1.516362] vdd2: supplied by vbat                                           
    [    1.522874] vdig1: supplied by vbat                                          
    [    1.527621] vdig2: supplied by vbat                                          
    [    1.532405] vpll: supplied by vbat                                           
    [    1.537057] vdac: supplied by vbat                                           
    [    1.541720] vaux1: supplied by vbat                                          
    [    1.546453] vaux2: supplied by vbat                                          
    [    1.551183] vaux33: supplied by vbat                                         
    [    1.556042] vmmc: supplied by vbat                                           
    [    1.560698] vbb: supplied by vbat                                            
    [    1.565624] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz                  
    [    1.572514] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 400 kHz                  
    [    1.578507] cpu cpu0: Linked as a consumer to regulator.9                    
    [    1.584057] cpu cpu0: Dropping the link to regulator.9                       
    [    1.589393] cpu cpu0: Linked as a consumer to regulator.9                    
    [    1.596355] omap_gpio 44e07000.gpio: Could not set line 6 debounce to 200000)
    [    1.605272] omap_hsmmc 48060000.mmc: Got CD GPIO                             
    [    1.610445] omap_hsmmc 48060000.mmc: Linked as a consumer to regulator.19    
    [    1.645140] omap_hsmmc 481d8000.mmc: Linked as a consumer to regulator.6     
    [    1.684989] mmc0: host does not support reading read-only switch, assuming we
    [    1.695295] mmc0: new high speed SDHC card at address 59b4                   
    [    1.703329] mmcblk0: mmc0:59b4 00000 7.48 GiB                                
    [    1.710354]  mmcblk0: p1 p2                                                  
    [    1.770645] input: gpio_buttons as /devices/platform/gpio_buttons/input/inpu0
    [    1.779434] hctosys: unable to open rtc device (rtc0)                        
    [    1.785449] lis3_reg: disabling                                              
    [    1.788710] v1_8d: disabling                                                 
    [    1.791897] v3_3d: disabling                                                 
    [    1.795264] ALSA device list:                                                
    [    1.798289]   No soundcards found.                                           
    [    1.803939] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 sum
    [    1.845192] mmc1: new high speed MMC card at address 0001                    
    [    1.856111] mmcblk1: mmc1:0001 IS004G 3.64 GiB                               
    [    1.862105] mmcblk1boot0: mmc1:0001 IS004G partition 1 2.00 MiB              
    [    1.869301] mmcblk1boot1: mmc1:0001 IS004G partition 2 2.00 MiB              
    [    1.879540] mmcblk1rpmb: mmc1:0001 IS004G partition 3 512 KiB, chardev (244:)
    [    2.094824] EXT4-fs (mmcblk0p2): recovery complete                           
    [    2.103728] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. )
    [    2.112103] VFS: Mounted root (ext3 filesystem) on device 179:2.             
    [    2.129703] devtmpfs: mounted                                                
    [    2.134257] Freeing unused kernel memory: 1024K                              
    [    2.139347] Run /sbin/init as init process                                   
    [    2.584215] systemd[1]: System time before build time, advancing clock.      
    [    2.637968] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SE)
    [    2.660307] systemd[1]: Detected architecture arm.                           
                                                                                    
    Welcome to Arago 2019.07!                                                       
                                                                                    
    [    2.714106] systemd[1]: Set hostname to <am335x-evm>.                        
    [    3.043441] systemd[1]: File /lib/systemd/system/systemd-journald.service:36.
    [    3.060775] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warn)
    [    3.147039] systemd[1]: /lib/systemd/system/gadget-init.service:15: Unknown '
    [    3.547247] systemd[1]: Started Dispatch Password Requests to Console Direct.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.         
    [    3.593215] systemd[1]: Listening on initctl Compatibility Named Pipe.       
    [  OK  ] Listening on initctl Compatibility Named Pipe.                         
    [    3.632272] systemd[1]: Reached target Swap.                                 
    [  OK  ] Reached target Swap.                                                   
    [    3.672656] systemd[1]: Created slice system-getty.slice.                    
    [  OK  ] Created slice system-getty.slice.                                      
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.             
    [  OK  ] Listening on Process Core Dump Socket.                                 
    [  OK  ] Listening on Network Service Netlink Socket.                           
    [  OK  ] Listening on udev Kernel Socket.                                       
    [  OK  ] Reached target Remote File Systems.                                    
    [  OK  ] Created slice User and Session Slice.                                  
    [  OK  ] Listening on udev Control Socket.                                      
    [  OK  ] Listening on Journal Socket.                                           
             Starting Load Kernel Modules...                                        
             Starting udev Coldplug all Devices...                                  
             Mounting Kernel Debug File System...                                   
    [    4.118885] cryptodev: loading out-of-tree module taints kernel.             
             [    4.163877] cryptodev: driver 1.9 loaded.                           
    Mounting Temporary Directory (/tmp)...                                          
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.                          
    [    4.241171] usbcore: registered new interface driver usbfs                   
             Starting Remount Root and Kernel File Systems...                       
    [  OK  ] Reached target Slices.                                                 
    [    4.297640] usbcore: registered new interface driver hub                     
    [    4.303326] usbcore: registered new device driver usb                        
             Mounting POSIX Message Queue File System...                            
    [    4.350020] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)                    
    [  OK  ] Created slice system-serial\x2dgetty.slice.                            
    [  OK  ] Listening on Journal Socket (/dev/log).                                
    [    4.410937] usbcore: registered new interface driver ftdi_sio                
             [    4.437466] usbserial: USB Serial support registered for FTDI USB Se
    Starting Create list of required st��…ce nodes for the current kernel...        
             Starting Journal Service...                                            
    [  OK  ] Reached target Paths.                                                  
    [  OK  ] Started Load Kernel Modules.                                           
    [  OK  ] Mounted Kernel Debug File System.                                      
    [  OK  ] Mounted Temporary Directory (/tmp).                                    
    [  OK  ] Started Remount Root and Kernel File Systems.                          
    [  OK  ] Mounted POSIX Message Queue File System.                               
    [  OK  ] Started Create list of required sta��…vice nodes for the current kerne.
             Starting Create Static Device Nodes in /dev...                         
             Starting Apply Kernel Variables...                                     
             Mounting Kernel Configuration File System...                           
    [  OK  ] Started Journal Service.                                               
    [  OK  ] Mounted Kernel Configuration File System.                              
    [  OK  ] Started Create Static Device Nodes in /dev.                            
    [  OK  ] Started Apply Kernel Variables.                                        
    [  OK  ] Reached target Local File Systems (Pre).                               
             Mounting /media/ram...                                                 
             Mounting /var/volatile...                                              
    [  OK  ] Reached target Containers.                                             
             Starting udev Kernel Device Manager...                                 
             Starting Flush Journal to Persistent Storage...                        
    [  OK  ] Mounted /media/ram.                                                    
    [  OK  ] Mounted /var/volatile.                                                 
    [    5.412486] systemd-journald[84]: Received request to flush runtime journal 1
    [  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 udev Kernel Device Manager.                                    
    [  OK  ] Started Load/Save Random Seed.                                         
    [  OK  ] Started Create Volatile Files and Directories.                         
             Starting Network Service...                                            
             Starting Network Time Synchronization...                               
             Starting Update UTMP about System Boot/Shutdown...                     
    [  OK  ] Started Update UTMP about System Boot/Shutdown.                        
    [  OK  ] Started Network Service.                                               
             Starting Network Name Resolution...                                    
             Starting Wait for Network to be Configured...                          
    [  OK  ] Started Network Time Synchronization.                                  
    [  OK  ] Reached target System Time Synchronized.                               
    [    7.711950] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec   
    [  OK  ] Started udev Coldplug all Devices.                                     
    [  OK  ] Started Network Name Resolution.                                       
    [    7.849612] tlv320aic3x-codec 0-001b: Linked as a consumer to regulator.5    
    [    7.923440] tlv320aic3x-codec 0-001b: Linked as a consumer to regulator.4    
    [  OK  ] Found device /dev/ttyS0.                                               
    [  OK  ] Reached target Host and Network Name Lookups.                          
    [  OK  ] Reached target Network.                                                
    [  OK  ] Created slice system-systemd\x2dbacklight.slice.                       
             Starting Load/Save Screen Backlight��…ightness of backlight:backlight..
    [  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.  
    [  OK  ] Reached target System Initialization.                                  
    [  OK  ] Listening on D-Bus System Message Bus Socket.                          
    [  OK  ] Listening on RPCbind Server Activation Socket.                         
    [    8.846321] omap-sham 53100000.sham: hw accel on OMAP rev 4.3                
    [    8.894493] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2                
    [  OK  ] Listening on dropbear.socket.                                          
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.                
    [  OK  ] Reached target Sockets.                                                
    [  OK  ] Started Daily Cleanup of Temporary Directories.                        
    [  OK  ] Reached target Basic System.                                           
    [    9.022236] omap-aes 53500000.aes: will run requests pump with realtime prioy
             Starting Simple Network Management Protocol (SNMP) Daemon....          
    [    9.173154] [drm] Initialized pvr 1.17.4948957 20110701 for 56000000.sgx on 1
             Starting Login Service...                                              
    [    9.335645] remoteproc remoteproc0: wkup_m3 is available                     
             Starting Permit User Sessions...                                       
    [    9.421841] remoteproc remoteproc0: powering up wkup_m3                      
    [    9.454765] PM: Cannot get wkup_m3_ipc handle                                
    [    9.564100] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf,6
    [  OK  ] Started Redis In-Memory Data Store.                                    
    [  OK  ] Started D-Bus System Message Bus.                                      
    [    9.720416] remoteproc remoteproc0: remote processor wkup_m3 is now up       
    [    9.720435] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192   
    [   10.179923] asoc-simple-card sound: tlv320aic3x-hifi <-> 4803c000.mcasp mappk
    [  OK  ] Started Job spooling tools.                                            
             [   10.354511] asoc-simple-card sound: ASoC: no DMI vendor name!       
    Starting Print notice about GPLv3 packages...                                   
    [   10.516265] PM: no-rtc available, rtc-only mode disabled.                    
             Starting Avahi mDNS/DNS-SD Stack...                                    
             Starting uim-sysfs.service...                                          
    [  OK  ] Started Periodic Command Scheduler.                                    
             Starting Lightning Fast Webserver With Light System Requirements...    
             Starting RPC Bind Service...                                           
    [   11.169754] net eth0: initializing cpsw version 1.12 (0)                     
             Starting Enable and configure wl18xx bluetooth stack...                
             Starting Reboot and dump vmcore via kexec...                           
    [  OK  ] Started Daily rotation of log files.                                   
    [  OK  ] Reached target Timers.                                                 
    [   11.433524] Atheros 8031 ethernet 4a101000.mdio:00: attached PHY driver [Ath)
    [  OK  ] Started Permit User Sessions.                                          
    [   11.751029] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready               
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.       
    [  OK  ] Started RPC Bind Service.                                              
    [   12.233128] net eth1: initializing cpsw version 1.12 (0)                     
    [   12.240896] libphy: PHY 4a101000.mdio:01 not found                           
    [   12.526474] net eth1: phy "4a101000.mdio:01" not found on slave 1, err -19   
    [   12.690266] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready               
    [  OK  ] Started Reboot and dump vmcore via kexec.                              
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.                   
    [  OK  ] Found device /dev/ttyS3.                                               
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..             
    [  OK  ] Started uim-sysfs.service.                                             
    [   18.989967] TI-am335x-tsc TI-am335x-tsc.0.auto: ti,charge-delay not specified
    [   19.074078] am335x-phy-driver 47401300.usb-phy: 47401300.usb-phy supply vcc r
    [   19.143195] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x1
    [   19.220245] am335x-phy-driver 47401300.usb-phy: Linked as a consumer to regu0
    [   19.323420] musb-hdrc musb-hdrc.0: MUSB HDRC host driver                     
    [   19.328805] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus numb1
    [   19.340384] am335x-phy-driver 47401b00.usb-phy: 47401b00.usb-phy supply vcc r
    [   19.487091] am335x-phy-driver 47401b00.usb-phy: Linked as a consumer to regu0
    [   19.530793] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, b9
    [   19.609227] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber1
    [   19.673119] usb usb1: Product: MUSB HDRC host driver                         
    [   19.678129] usb usb1: Manufacturer: Linux 4.19.59-g5f8c1c6121 musb-hcd       
    [   19.779581] usb usb1: SerialNumber: musb-hdrc.0                              
    [   19.824547] hub 1-0:1.0: USB hub found                                       
    [   19.854021] hub 1-0:1.0: 1 port detected                                     
    [   19.915340] musb-hdrc musb-hdrc.1: MUSB HDRC host driver                     
    [   19.920719] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus numb2
    [   20.050095] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, b9
    [   20.141156] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber1
    [   20.274774] remoteproc remoteproc1: 4a334000.pru is available                
    [   20.280654] pru-rproc 4a334000.pru: PRU rproc node pru@4a334000 probed succey
    [   20.292850] usb usb2: Product: MUSB HDRC host driver                         
    [   20.297857] usb usb2: Manufacturer: Linux 4.19.59-g5f8c1c6121 musb-hcd       
    [   20.404078] usb usb2: SerialNumber: musb-hdrc.1                              
    [   20.438341] remoteproc remoteproc2: 4a338000.pru is available                
    [   20.453944] hub 2-0:1.0: USB hub found                                       
    [   20.475127] hub 2-0:1.0: 1 port detected                                     
    [   20.482815] pru-rproc 4a338000.pru: PRU rproc node pru@4a338000 probed succey
    ***************************************************************                 
    ***************************************************************                 
    NOTICE: This file system contains the following GPLv3 packages:                 
            autoconf                                                                
            bash-dev                                                                
            bash                                                                    
            bc                                                                      
            binutils                                                                
            cifs-utils                                                              
            cpio                                                                    
            cpp-symlinks                                                            
            cpp                                                                     
            dosfstools                                                              
            elfutils                                                                
            findutils                                                               
            g++-symlinks                                                            
            g++                                                                     
            gawk                                                                    
            gcc-symlinks                                                            
            gcc                                                                     
            gdb                                                                     
            gdbserver                                                               
            gettext                                                                 
            glmark2                                                                 
            gstreamer1.0-libav                                                      
            gzip                                                                    
            hidapi                                                                  
            libbfd                                                                  
            libdw1                                                                  
            libelf1                                                                 
            libgdbm-compat4                                                         
            libgdbm-dev                                                             
            libgdbm6                                                                
            libgettextlib                                                           
            libgettextsrc                                                           
            libgmp10                                                                
            libidn2-0                                                               
            libmavconn                                                              
            libmpc3                                                                 
            libmpfr6                                                                
            libreadline-dev                                                         
            libreadline7                                                            
            libunistring2                                                           
            m4-dev                                                                  
            m4                                                                      
            make                                                                    
            mavlink                                                                 
            mavros-extras                                                           
            mavros-msgs                                                             
            mavros                                                                  
            nettle                                                                  
            pdm-anomaly-detection                                                   
            socketcan-interface                                                     
            which                                                                   
                                                                                    
    If you do not wish to distribute GPLv3 components please remove                 
    the above packages prior to distribution.  This can be done using               
    the opkg remove command.  i.e.:                                                 
        opkg remove <package>                                                       
    Where <package> is the name printed in the list above                           
                                                                                    
    NOTE: If the package is a dependency of another package you                     
          will be notified of the dependent packages.  You should                   
          use the --force-removal-of-dependent-packages option to                   
          also remove the dependent packages as well                                
    ***************************************************************                 
    ***************************************************************                 
    [  OK  ] Started Print notice about GPLv3 packages.                             
    [  OK  ] Found device /dev/mmcblk0p1.                                           
             Starting Start USB gadget...                                           
             Starting Save/Restore Sound Card State...                              
    [  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.        
             Starting rc.pvr.service...                                             
    [  OK  ] Created slice system-systemd\x2dfsck.slice.                            
             Starting File System Check on /dev/mmcblk0p1...                        
    [   27.416587] using random self ethernet address                               
    [   27.421075] using random host ethernet address                               
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..                       
    [   27.450362] using host ethernet address: 04:79:B7:03:11:1B                   
    [   27.450434] using random self ethernet address                               
    [   27.492235] PVR_K: UM DDK-(4948957) and KM DDK-(4948957) match. [ OK ]       
    [  OK  ] Started Getty on tty1.                                                 
    [   27.511554] using random host ethernet address                               
    [   27.537424] using host ethernet address: 04:79:B7:03:11:1B                   
    [   27.555830] usb0: HOST MAC 04:79:b7:03:11:1b                                 
    [  OK  ] Started Serial Getty on ttyS0.                                         
    [   27.620121] usb0: MAC 02:7b:ed:9c:f4:cf                                      
    [  OK  ] Started Serial Getty on ttyS3.                                         
    [   27.734757] Mass Storage Function, version: 2009/09/11                       
    [   27.739946] LUN: removable file: (no medium)                                 
    [  OK  ] Started Save/Restore Sound Card State.                                 
    [   27.806173] LUN: removable read only file: /dev/mmcblk0p1                    
    [  OK  ] Started rc.pvr.service.                                                
    [   27.821954] Number of LUNs=1                                                 
    [   27.835506] g_multi gadget: Multifunction Composite Gadget                   
    [   27.841102] g_multi gadget: g_multi ready                                    
    [  OK  ] Found device /dev/ttyGS0.                                              
             Starting weston.service...                                             
    [  OK  ] Reached target Sound Card.                                             
    [  OK  ] Started Login Service.                                                 
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.                                       
    [   27.998788] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready               
    [  OK  ] Started File System Check on /dev/mmcblk0p1.                           
    [  OK  ] Started weston.service.                                                
             Starting telnetd.service...                                            
             Starting Matrix GUI...                                                 
             Mounting /run/media/mmcblk0p1...                                       
    [  OK  ] Started Start USB gadget.                                              
    [  OK  ] Started telnetd.service.                                               
    [  OK  ] Started Matrix GUI.                                                    
    [  OK  ] Mounted /run/media/mmcblk0p1.                                          
             Starting thttpd.service...                                             
             Starting busybox-udhcpd.service...                                     
    [  OK  ] Started Serial Getty on ttyGS0.                                        
    [  OK  ] Reached target Login Prompts.                                          
             Starting Synchronize System and HW clocks...                           
    [  OK  ] Started thttpd.service.                                                
    [  OK  ] Started busybox-udhcpd.service.                                        
    [FAILED] Failed to start Synchronize System and HW clocks.                      
    See 'systemctl status sync-clocks.service' for details.                         
                                                                                    
     _____                    _____           _         _                           
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_                         
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|                        
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|                          
                  |___|                    |___|                                    
                                                                                    
    Arago Project http://arago-project.org am335x-evm ttyS0                         
                                                                                    
    Arago 2019.07 am335x-evm ttyS0                                                  
                                                                                    
    am335x-evm login:

    ==========================================================================================

    ==========================================================================================

    still i am working on that if i get any update i will response here....

  • Also from the log it seems like your board does not use RTC, and it has not gotten disabled properly. Can you check the steps here: https://e2e.ti.com/support/processors/f/791/t/485319 to see if this cleans up your Kernel log. RTC mis-configuration is known to cause boot issues / hangs. This may not be responsible for the issue you reported, but at least it should help cleaning up your boot log. If so you would also want to disable the initialization of the 32-kHz oscillator in U-Boot by turning off CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC

    a0797059@jiji:~/git/u-boot (ti-u-boot-2019.01-next-dev)
    $ git grep -A 5 SPL_AM33XX_ENABLE_RTC32K_OSC common/spl/Kconfig
    common/spl/Kconfig:config SPL_AM33XX_ENABLE_RTC32K_OSC
    common/spl/Kconfig-     bool "Enable the RTC32K OSC on AM33xx based platforms"
    common/spl/Kconfig-     default y if AM33XX
    common/spl/Kconfig-     help
    common/spl/Kconfig-       Enable access to the AM33xx RTC and select the external 32kHz clock
    common/spl/Kconfig-       source.

    Have you gotten a chance to run 'memtester' in Linux, stress-testing as much of the DDR as possible?

    Regards, Andreas