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.

AM5748: Enabling ECC in EMIF for DDR3

Part Number: AM5748

Hi, 

We are using 2GB DDR3 in our board and we are trying to enable ECC in EMIF 1 for DDR3 from the excel sheet configs we are programming as below w

.emif_ecc_ctrl_reg = 0xC0000001,
.emif_ecc_address_range_1 = 0xFFFF0000,
.emif_ecc_address_range_2 = 0x00000000,

The board was not comming up, then we reduced the address range to 0x3FFF0000 then the board started crashing and we are not able to use. The crash log is attached. 

Then we found the post in e2e 

and we changed .emif_ecc_ctrl_reg = 0xD0000001, Now the board still not coming up.
Please help us to resolve this. 
NG-WCP SPL 1 .0.0 (Apr 07 2021 - 17:33:06)
DRA762-GP ES1.0 ABZ package
Trying to boot from SPI


NG-WCP U-Boot Version 1 .0.0 (Apr 07 2021 - 17:33:06 +0530)

CPU : DRA762-GP ES1.0 ABZ package
Model: TI AM5748 IDK
Board: NG-WCP CBB Revision 1
DRAM: 2 GiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1, OMAP SD/MMC: 2
Net: eth0: ethernet@48484000
Hit any key to stop autoboot: 0
Trying to boot Linux from eMMC Partition 1 ...
switch to partitions #0, OK
mmc2(part 0) is current device
SD/MMC found on device 2
3310080 bytes read in 220 ms (14.3 MiB/s)
99524 bytes read in 12 ms (7.9 MiB/s)
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8ffe4000, end 8ffff4c3 ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.40-g4796173fc5 (deepak@Deepak-PC) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #3 SMP PREEMPT Mon Feb 8 14:53:19 IST 2021
[ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt: Machine model: TI AM5748 IDK
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
[ 0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
[ 0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
[ 0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
[ 0.000000] OF: reserved mem: initialized node dsp2-memory@9f000000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 24 MiB at 0x00000000fd400000
[ 0.000000] OMAP4: Map 0x00000000fed00000 to fe600000 for dram barrier
[ 0.000000] DRA762 ES1.0
[ 0.000000] percpu: Embedded 15 pages/cpu @eed58000 s31308 r8192 d21940 u61440
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 468544
[ 0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=d76c4e6d-02 rw rootfstype=ext4 rootwait
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 1661580K/1881088K available (8192K kernel code, 237K rwdata, 1692K rodata, 2048K init, 277K bss, 31092K reserved, 188416K cma-reserved, 1266688K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0a00000 (10208 kB)
[ 0.000000] .init : 0xc0c00000 - 0xc0e00000 (2048 kB)
[ 0.000000] .data : 0xc0e00000 - 0xc0e3b7f0 ( 238 kB)
[ 0.000000] .bss : 0xc0e3d000 - 0xc0e82634 ( 278 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] OMAP clockevent source: timer1 at 32786 Hz
[ 0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[ 0.000007] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[ 0.000025] Switching to timer-based delay loop, resolution 162ns
[ 0.000513] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[ 0.000526] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.001211] Console: colour dummy device 80x30
[ 0.001234] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
[ 0.001245] This ensures that you still see kernel messages. Please
[ 0.001255] update your kernel commandline.
[ 0.001284] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[ 0.001306] pid_max: default: 32768 minimum: 301
[ 0.001470] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001489] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.002283] CPU: Testing write buffer coherency: ok
[ 0.002599] CPU0: update cpu_capacity 1024
[ 0.002616] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.039797] Setting up static identity map for 0x80200000 - 0x80200060
[ 0.059809] Hierarchical SRCU implementation.
[ 0.080086] EFI services will not be available.
[ 0.099894] smp: Bringing up secondary CPUs ...
[ 0.170312] CPU1: update cpu_capacity 1024
[ 0.170321] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.170454] smp: Brought up 1 node, 2 CPUs
[ 0.170478] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[ 0.170489] CPU: All CPU(s) started in HYP mode.
[ 0.170499] CPU: Virtualization extensions available.
[ 0.171236] devtmpfs: initialized
[ 0.198156] random: get_random_u32 called from bucket_table_alloc+0x108/0x230 with crng_init=0
[ 0.198470] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.198758] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.198781] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.204410] xor: measuring software checksum speed
[ 0.300257] arm4regs : 1349.200 MB/sec
[ 0.400374] 8regs : 1025.600 MB/sec
[ 0.500490] 32regs : 1025.200 MB/sec
[ 0.600611] neon : 1979.600 MB/sec
[ 0.600624] xor: using function: neon (1979.600 MB/sec)
[ 0.600643] pinctrl core: initialized pinctrl subsystem
[ 0.601299] DMI not present or invalid.
[ 0.601649] NET: Registered protocol family 16
[ 0.603127] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.604256] omap_hwmod: l3_main_2 using broken dt data from ocp
[ 0.838771] cpuidle: using governor ladder
[ 0.838819] cpuidle: using governor menu
[ 0.840854] ------------[ cut here ]------------
[ 0.840881] WARNING: CPU: 0 PID: 1 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x254/0x370
[ 0.840896] 44000000.ocp:L3 Custom Error: MASTER TC1_EDMA TARGET DMM_P1 (Idle): Data Access in User mode during Functional access
[ 0.840907] Modules linked in:
[ 0.840930] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.40-g4796173fc5 #3
[ 0.840942] Hardware name: Generic DRA74X (Flattened Device Tree)
[ 0.840952] Backtrace:
[ 0.840978] [<c020b5ac>] (dump_backtrace) from [<c020b890>] (show_stack+0x18/0x1c)
[ 0.840994] r7:00000009 r6:60000193 r5:00000000 r4:c0e38f68
[ 0.841014] [<c020b878>] (show_stack) from [<c07f4c28>] (dump_stack+0x90/0xa4)
[ 0.841037] [<c07f4b98>] (dump_stack) from [<c022aaa0>] (__warn+0xec/0x104)
[ 0.841052] r7:00000009 r6:c0b49040 r5:00000000 r4:ee87f980
[ 0.841073] [<c022a9b4>] (__warn) from [<c022aaf8>] (warn_slowpath_fmt+0x40/0x48)
[ 0.841089] r9:00000001 r8:ee9d0a50 r7:c0b493f0 r6:00000000 r5:c0b48f6c r4:c0b49010
[ 0.841109] [<c022aabc>] (warn_slowpath_fmt) from [<c05991f4>] (l3_interrupt_handler+0x254/0x370)
[ 0.841122] r3:ee9d08c0 r2:c0b49010
[ 0.841133] r4:80080003
[ 0.841152] [<c0598fa0>] (l3_interrupt_handler) from [<c027e870>] (__handle_irq_event_percpu+0x6c/0x134)
[ 0.841168] r10:c0e3a051 r9:ee9d2200 r8:00000017 r7:ee87faa4 r6:00000000 r5:ee9d2200
[ 0.841179] r4:ee9d0dc0
[ 0.841196] [<c027e804>] (__handle_irq_event_percpu) from [<c027e95c>] (handle_irq_event_percpu+0x24/0x60)
[ 0.841213] r10:60000013 r9:ee87e000 r8:ee808000 r7:00000000 r6:c0e094ac r5:ee9d2200
[ 0.841223] r4:ee9d2200
[ 0.841240] [<c027e938>] (handle_irq_event_percpu) from [<c027e9d8>] (handle_irq_event+0x40/0x64)
[ 0.841252] r5:ee9d2264 r4:ee9d2200
[ 0.841270] [<c027e998>] (handle_irq_event) from [<c02822ac>] (handle_fasteoi_irq+0xac/0x160)
[ 0.841284] r7:00000000 r6:c0e094ac r5:ee9d2264 r4:ee9d2200
[ 0.841302] [<c0282200>] (handle_fasteoi_irq) from [<c027dac0>] (generic_handle_irq+0x2c/0x3c)
[ 0.841316] r7:00000000 r6:00000000 r5:00000017 r4:c0c56afc
[ 0.841332] [<c027da94>] (generic_handle_irq) from [<c027e048>] (__handle_domain_irq+0x64/0xbc)
[ 0.841348] [<c027dfe4>] (__handle_domain_irq) from [<c0201474>] (gic_handle_irq+0x44/0x80)
[ 0.841364] r9:ee87e000 r8:fa213000 r7:fa212000 r6:ee87fb60 r5:fa21200c r4:c0e03ffc
[ 0.841380] [<c0201430>] (gic_handle_irq) from [<c020c478>] (__irq_svc+0x58/0x8c)
[ 0.841392] Exception stack(0xee87fb60 to 0xee87fba8)
[ 0.841408] fb60: ee9d2264 60000013 00000004 00000005 ee9d2200 ee9d0dc0 00000017 00000000
[ 0.841423] fb80: ee9d22cc ee9d2264 60000013 ee87fbbc ee87fbc0 ee87fbb0 c02809b4 c080d8c4
[ 0.841435] fba0: 60000013 ffffffff
[ 0.841449] r9:ee87e000 r8:ee9d22cc r7:ee87fb94 r6:ffffffff r5:60000013 r4:c080d8c4
[ 0.841468] [<c080d89c>] (_raw_spin_unlock_irqrestore) from [<c02809b4>] (__setup_irq+0x44c/0x70c)
[ 0.841487] [<c0280568>] (__setup_irq) from [<c0280de4>] (request_threaded_irq+0xe0/0x154)
[ 0.841503] r10:ee9d2214 r9:00000000 r8:00000017 r7:00000000 r6:ee9d2200 r5:00000000
[ 0.841513] r4:ee9d0dc0
[ 0.841532] [<c0280d04>] (request_threaded_irq) from [<c0283460>] (devm_request_threaded_irq+0x70/0xc4)
[ 0.841548] r10:00000000 r9:eea1ea10 r8:c0598fa0 r7:00000017 r6:ee9d0a50 r5:ee9d0d90
[ 0.841559] r4:c0b48ddc r3:00000000
[ 0.841578] [<c02833f0>] (devm_request_threaded_irq) from [<c05994ec>] (omap_l3_probe+0x1dc/0x278)
[ 0.841593] r10:00000002 r9:ee9d0a50 r8:eea1ea10 r7:c0e759ec r6:00000008 r5:ee9d0a50
[ 0.841603] r4:00000000
[ 0.841623] [<c0599310>] (omap_l3_probe) from [<c0618418>] (platform_drv_probe+0x58/0xb4)
[ 0.841638] r10:00000000 r9:00000000 r8:c0e232d4 r7:fffffdfb r6:c0e232d4 r5:ffffffed
[ 0.841649] r4:eea1ea10
[ 0.841667] [<c06183c0>] (platform_drv_probe) from [<c061695c>] (driver_probe_device+0x240/0x2f0)
[ 0.841681] r7:00000000 r6:c0e7998c r5:c0e79988 r4:eea1ea10
[ 0.841698] [<c061671c>] (driver_probe_device) from [<c0616b5c>] (__device_attach_driver+0xa0/0xd4)
[ 0.841713] r10:00000000 r9:00000000 r8:c0e79964 r7:00000001 r6:ee87fd40 r5:eea1ea10
[ 0.841725] r4:c0e232d4 r3:00000000
[ 0.841741] [<c0616abc>] (__device_attach_driver) from [<c0614d54>] (bus_for_each_drv+0x4c/0x9c)
[ 0.841755] r7:00000001 r6:c0616abc r5:ee87fd40 r4:00000000
[ 0.841771] [<c0614d08>] (bus_for_each_drv) from [<c06165f8>] (__device_attach+0xb8/0x11c)
[ 0.841784] r6:eea1ea10 r5:eea1ea44 r4:eea1ea10
[ 0.841801] [<c0616540>] (__device_attach) from [<c0616bdc>] (device_initial_probe+0x14/0x18)
[ 0.841814] r7:00000000 r6:eea1ea10 r5:c0e2bf20 r4:eea1ea18
[ 0.841830] [<c0616bc8>] (device_initial_probe) from [<c0615b54>] (bus_probe_device+0x8c/0x94)
[ 0.841847] [<c0615ac8>] (bus_probe_device) from [<c0613d58>] (device_add+0x39c/0x59c)
[ 0.841860] r7:00000000 r6:eea1ea10 r5:c0e2bd90 r4:eea1ea18
[ 0.841878] [<c06139bc>] (device_add) from [<c06c9020>] (of_device_add+0x38/0x40)
[ 0.841893] r10:00000001 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:eed7a360
[ 0.841903] r4:eea1ea00
[ 0.841921] [<c06c8fe8>] (of_device_add) from [<c06c9548>] (of_platform_device_create_pdata+0x7c/0xb4)
[ 0.841939] [<c06c94cc>] (of_platform_device_create_pdata) from [<c06c9744>] (of_platform_bus_create+0x168/0x1ec)
[ 0.841954] r9:00000000 r8:c0c44520 r7:00000000 r6:c0c44520 r5:00000000 r4:eed7a310
[ 0.841973] [<c06c95dc>] (of_platform_bus_create) from [<c06c9908>] (of_platform_populate+0x64/0xb4)
[ 0.841988] r10:c0e3d000 r9:00000001 r8:00000000 r7:c0c44520 r6:c0c46f8c r5:eed785b8
[ 0.841999] r4:eed7a310
[ 0.842018] [<c06c98a4>] (of_platform_populate) from [<c0c0eab0>] (pdata_quirks_init+0x74/0x88)
[ 0.842034] r9:00000082 r8:c0c40828 r7:c0e3d000 r6:c0c03834 r5:00000000 r4:c0c46f8c
[ 0.842051] [<c0c0ea3c>] (pdata_quirks_init) from [<c0c0ea30>] (omap_generic_init+0x18/0x24)
[ 0.842063] r5:00000000 r4:ffffe000
[ 0.842081] [<c0c0ea18>] (omap_generic_init) from [<c0c0385c>] (customize_machine+0x28/0x30)
[ 0.842098] [<c0c03834>] (customize_machine) from [<c02019fc>] (do_one_initcall+0x4c/0x170)
[ 0.842115] [<c02019b0>] (do_one_initcall) from [<c0c00f80>] (kernel_init_freeable+0x1d8/0x274)
[ 0.842130] r8:c0c40828 r7:c0e3d000 r6:00000004 r5:c0c4f888 r4:c0ba6378
[ 0.842149] [<c0c00da8>] (kernel_init_freeable) from [<c0807ca0>] (kernel_init+0x10/0x110)
[ 0.842164] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0807c90
[ 0.842174] r4:00000000
[ 0.842194] [<c0807c90>] (kernel_init) from [<c0207d58>] (ret_from_fork+0x14/0x3c)
[ 0.842206] r5:c0807c90 r4:00000000
[ 0.842222] ---[ end trace bb73aa8d472dbd3c ]---
[ 0.851464] OMAP GPIO hardware version 0.1
[ 0.880156] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[ 0.880638] gpmc cs3 before gpmc_cs_program_settings:
[ 0.880653] cs3 GPMC_CS_CONFIG1: 0x00001000
[ 0.880666] cs3 GPMC_CS_CONFIG2: 0x00101001
[ 0.880678] cs3 GPMC_CS_CONFIG3: 0x22060514
[ 0.880690] cs3 GPMC_CS_CONFIG4: 0x10057016
[ 0.880701] cs3 GPMC_CS_CONFIG5: 0x010f1111
[ 0.880712] cs3 GPMC_CS_CONFIG6: 0x8f070000
[ 0.880722] gpmc cs3 access configuration:
[ 0.880733] gpmc,mux-add-data = <0>;
[ 0.880744] gpmc,device-width = <2>;
[ 0.880755] gpmc,wait-pin = <0>;
[ 0.880766] gpmc,burst-length = <4>;
[ 0.880779] gpmc cs3 timings configuration:
[ 0.880794] gpmc,cs-on-ns = <3>; /* 1 ns - 3 ns; 1 ticks */
[ 0.880807] gpmc,cs-rd-off-ns = <60>; /* 57 ns - 60 ns; 16 ticks */
[ 0.880820] gpmc,cs-wr-off-ns = <60>; /* 57 ns - 60 ns; 16 ticks */
[ 0.880834] gpmc,adv-on-ns = <15>; /* 12 ns - 15 ns; 4 ticks */
[ 0.880847] gpmc,adv-rd-off-ns = <18>; /* 16 ns - 18 ns; 5 ticks */
[ 0.880860] gpmc,adv-wr-off-ns = <22>; /* 19 ns - 22 ns; 6 ticks */
[ 0.880873] gpmc,adv-aad-mux-on-ns = <3>; /* 1 ns - 3 ns; 1 ticks */
[ 0.880886] gpmc,adv-aad-mux-rd-off-ns = <7>; /* 4 ns - 7 ns; 2 ticks */
[ 0.880900] gpmc,adv-aad-mux-wr-off-ns = <7>; /* 4 ns - 7 ns; 2 ticks */
[ 0.880912] gpmc,oe-on-ns = <22>; /* 19 ns - 22 ns; 6 ticks */
[ 0.880925] gpmc,oe-off-ns = <60>; /* 57 ns - 60 ns; 16 ticks */
[ 0.880937] gpmc,oe-aad-mux-on-ns = <3>; /* 1 ns - 3 ns; 1 ticks */
[ 0.880949] gpmc,oe-aad-mux-off-ns = <11>; /* 8 ns - 11 ns; 3 ticks */
[ 0.880963] gpmc,we-on-ns = <18>; /* 16 ns - 18 ns; 5 ticks */
[ 0.880977] gpmc,we-off-ns = <60>; /* 57 ns - 60 ns; 16 ticks */
[ 0.880989] gpmc,rd-cycle-ns = <63>; /* 61 ns - 63 ns; 17 ticks */
[ 0.881002] gpmc,wr-cycle-ns = <63>; /* 61 ns - 63 ns; 17 ticks */
[ 0.881015] gpmc,access-ns = <56>; /* 53 ns - 56 ns; 15 ticks */
[ 0.881028] gpmc,page-burst-access-ns = <3>; /* 1 ns - 3 ns; 1 ticks */
[ 0.881041] gpmc,bus-turnaround-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
[ 0.881053] gpmc,cycle2cycle-delay-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
[ 0.881065] gpmc,wait-monitoring-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
[ 0.881077] gpmc,clk-activation-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
[ 0.881090] gpmc,wr-data-mux-bus-ns = <26>; /* 23 ns - 26 ns; 7 ticks */
[ 0.881103] gpmc,wr-access-ns = <56>; /* 53 ns - 56 ns; 15 ticks */
[ 0.881119] GPMC CS3: cs_on : 0 ticks, 0 ns (was 1 ticks) 0 ns
[ 0.881135] GPMC CS3: cs_rd_off : 19 ticks, 71 ns (was 16 ticks) 70 ns
[ 0.881149] GPMC CS3: cs_wr_off : 20 ticks, 75 ns (was 16 ticks) 75 ns
[ 0.881163] GPMC CS3: adv_on : 0 ticks, 0 ns (was 4 ticks) 0 ns
[ 0.881176] GPMC CS3: adv_rd_off : 10 ticks, 37 ns (was 5 ticks) 35 ns
[ 0.881189] GPMC CS3: adv_wr_off : 10 ticks, 37 ns (was 6 ticks) 35 ns
[ 0.881201] GPMC CS3: adv_aad_mux_on : 0 ticks, 0 ns (was 1 ticks) 0 ns
[ 0.881215] GPMC CS3: adv_aad_mux_rd_off: 0 ticks, 0 ns (was 2 ticks) 0 ns
[ 0.881227] GPMC CS3: adv_aad_mux_wr_off: 0 ticks, 0 ns (was 2 ticks) 0 ns
[ 0.881239] GPMC CS3: oe_on : 0 ticks, 0 ns (was 6 ticks) 0 ns
[ 0.881252] GPMC CS3: oe_off : 19 ticks, 71 ns (was 16 ticks) 70 ns
[ 0.881264] GPMC CS3: oe_aad_mux_on : 0 ticks, 0 ns (was 1 ticks) 0 ns
[ 0.881276] GPMC CS3: oe_aad_mux_off : 0 ticks, 0 ns (was 3 ticks) 0 ns
[ 0.881288] GPMC CS3: we_on : 0 ticks, 0 ns (was 5 ticks) 0 ns
[ 0.881300] GPMC CS3: we_off : 20 ticks, 75 ns (was 16 ticks) 75 ns
[ 0.881313] GPMC CS3: rd_cycle : 19 ticks, 71 ns (was 17 ticks) 70 ns
[ 0.881326] GPMC CS3: wr_cycle : 20 ticks, 75 ns (was 17 ticks) 75 ns
[ 0.881338] GPMC CS3: access : 19 ticks, 71 ns (was 15 ticks) 70 ns
[ 0.881351] GPMC CS3: page_burst_access: 6 ticks, 22 ns (was 1 ticks) 20 ns
[ 0.881363] GPMC CS3: bus_turnaround : 0 ticks, 0 ns (was 0 ticks) 0 ns
[ 0.881374] GPMC CS3: cycle2cycle_delay: 0 ticks, 0 ns (was 0 ticks) 0 ns
[ 0.881387] GPMC CS3: wr_data_mux_bus : 0 ticks, 0 ns (was 7 ticks) 0 ns
[ 0.881399] GPMC CS3: wr_access : 0 ticks, 0 ns (was 15 ticks) 0 ns
[ 0.881412] GPMC CS3: wait_monitoring : 0 ticks, 0 ns (was 0 ticks) 0 ns
[ 0.881423] GPMC CS3: clk_activation : 0 ticks, 0 ns (was 0 ticks) 0 ns
[ 0.881434] GPMC CS3 CLK period is 3 ns (div 1)
[ 0.881446] gpmc cs3 after gpmc_cs_set_timings:
[ 0.881458] cs3 GPMC_CS_CONFIG1: 0x00000002
[ 0.881469] cs3 GPMC_CS_CONFIG2: 0x00141300
[ 0.881479] cs3 GPMC_CS_CONFIG3: 0x000a0a00
[ 0.881489] cs3 GPMC_CS_CONFIG4: 0x14001300
[ 0.881499] cs3 GPMC_CS_CONFIG5: 0x06131413
[ 0.881510] cs3 GPMC_CS_CONFIG6: 0x80000000
[ 0.881519] gpmc cs3 access configuration:
[ 0.881530] gpmc,mux-add-data = <0>;
[ 0.881540] gpmc,device-width = <1>;
[ 0.881550] gpmc,wait-pin = <0>;
[ 0.881561] gpmc,burst-length = <4>;
[ 0.881574] gpmc cs3 timings configuration:
[ 0.881586] gpmc,cs-on-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
[ 0.881600] gpmc,cs-rd-off-ns = <71>; /* 68 ns - 71 ns; 19 ticks */
[ 0.881612] gpmc,cs-wr-off-ns = <75>; /* 72 ns - 75 ns; 20 ticks */
[ 0.881625] gpmc,adv-on-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
[ 0.881639] gpmc,adv-rd-off-ns = <37>; /* 34 ns - 37 ns; 10 ticks */
[ 0.881651] gpmc,adv-wr-off-ns = <37>; /* 34 ns - 37 ns; 10 ticks */
[ 0.881663] gpmc,adv-aad-mux-on-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
[ 0.881675] gpmc,adv-aad-mux-rd-off-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
[ 0.881687] gpmc,adv-aad-mux-wr-off-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
[ 0.881699] gpmc,oe-on-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
[ 0.881712] gpmc,oe-off-ns = <71>; /* 68 ns - 71 ns; 19 ticks */
[ 0.881724] gpmc,oe-aad-mux-on-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
[ 0.881736] gpmc,oe-aad-mux-off-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
[ 0.881748] gpmc,we-on-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
[ 0.881761] gpmc,we-off-ns = <75>; /* 72 ns - 75 ns; 20 ticks */
[ 0.881774] gpmc,rd-cycle-ns = <71>; /* 68 ns - 71 ns; 19 ticks */
[ 0.881786] gpmc,wr-cycle-ns = <75>; /* 72 ns - 75 ns; 20 ticks */
[ 0.881799] gpmc,access-ns = <71>; /* 68 ns - 71 ns; 19 ticks */
[ 0.881811] gpmc,page-burst-access-ns = <22>; /* 19 ns - 22 ns; 6 ticks */
[ 0.881823] gpmc,bus-turnaround-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
[ 0.881835] gpmc,cycle2cycle-delay-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
[ 0.881847] gpmc,wait-monitoring-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
[ 0.881859] gpmc,clk-activation-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
[ 0.881871] gpmc,wr-data-mux-bus-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
[ 0.881883] gpmc,wr-access-ns = <0>; /* 0 ns - 0 ns; 0 ticks */
[ 0.893605] No ATAGs?
[ 0.893704] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.893725] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.894256] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.894272] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.894995] OMAP DMA hardware revision 0.0
[ 1.063084] raid6: int32x1 gen() 150 MB/s
[ 1.233140] raid6: int32x1 xor() 173 MB/s
[ 1.403401] raid6: int32x2 gen() 221 MB/s
[ 1.573448] raid6: int32x2 xor() 220 MB/s
[ 1.743604] raid6: int32x4 gen() 283 MB/s
[ 1.913720] raid6: int32x4 xor() 231 MB/s
[ 2.083960] raid6: int32x8 gen() 307 MB/s
[ 2.254141] raid6: int32x8 xor() 215 MB/s
[ 2.424318] raid6: neonx1 gen() 625 MB/s
[ 2.594429] raid6: neonx1 xor() 666 MB/s
[ 2.764607] raid6: neonx2 gen() 884 MB/s
[ 2.934758] raid6: neonx2 xor() 1122 MB/s
[ 3.104930] raid6: neonx4 gen() 1279 MB/s
[ 3.275111] raid6: neonx4 xor() 1184 MB/s
[ 3.445303] raid6: neonx8 gen() 1140 MB/s
[ 3.615453] raid6: neonx8 xor() 982 MB/s
[ 3.615464] raid6: using algorithm neonx4 gen() 1279 MB/s
[ 3.615476] raid6: .... xor() 1184 MB/s, rmw enabled
[ 3.615487] raid6: using neon recovery algorithm
[ 3.619723] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[ 3.620018] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[ 3.620378] omap-iommu 58882000.mmu: 58882000.mmu registered
[ 3.620721] omap-iommu 55082000.mmu: 55082000.mmu registered
[ 3.621233] omap-iommu 41501000.mmu: 41501000.mmu registered
[ 3.621543] omap-iommu 41502000.mmu: 41502000.mmu registered
[ 3.621883] iommu: Adding device 58820000.ipu to group 1
[ 3.621997] iommu: Adding device 55020000.ipu to group 2
[ 3.622202] iommu: Adding device 40800000.dsp to group 0
[ 3.622553] iommu: Adding device 41000000.dsp to group 3
[ 3.623903] palmas 0-0058: Irq flag is 0x00000004
[ 3.655038] palmas 0-0058: Muxing GPIO 2b, PWM 0, LED 0
[ 3.656988] SMPS12: supplied by regulator-dummy
[ 3.658971] SMPS3: supplied by VMAIN
[ 3.660761] SMPS45: supplied by regulator-dummy
[ 3.662850] SMPS6: supplied by VMAIN
[ 3.664841] SMPS7: supplied by VMAIN
[ 3.666929] SMPS8: supplied by VMAIN
[ 3.668427] SMPS9: supplied by VMAIN
[ 3.669593] LDO1: supplied by VMAIN
[ 3.684094] LDO2: supplied by VMAIN
[ 3.684516] random: fast init done
[ 3.693936] LDO3: supplied by VMAIN
[ 3.703957] LDO4: supplied by VMAIN
[ 3.713959] LDO5: supplied by regulator-dummy
[ 3.714805] LDO6: supplied by regulator-dummy
[ 3.715665] LDO7: supplied by regulator-dummy
[ 3.716514] LDO8: supplied by regulator-dummy
[ 3.717382] LDO9: supplied by VMAIN
[ 3.734339] LDOLN: supplied by VMAIN
[ 3.744034] LDOUSB: supplied by VMAIN
[ 3.757164] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[ 3.757855] omap_i2c 48072000.i2c: bus 1 rev0.12 at 25 kHz
[ 3.758231] dmi: Firmware registration failed.
[ 3.758762] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[ 3.759160] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[ 3.760274] clocksource: Switched to clocksource arch_sys_counter
[ 3.770943] NET: Registered protocol family 2
[ 3.771630] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 3.771725] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 3.771914] TCP: Hash tables configured (established 8192 bind 8192)
[ 3.772012] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 3.772060] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 3.772237] NET: Registered protocol family 1
[ 3.773269] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 3.773585] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[ 3.775032] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[ 3.783220] bounce: pool size: 64 pages
[ 3.783282] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 3.783430] io scheduler noop registered
[ 3.783445] io scheduler deadline registered
[ 3.783684] io scheduler cfq registered (default)
[ 3.783700] io scheduler mq-deadline registered
[ 3.783713] io scheduler kyber registered
[ 3.784672] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[ 3.788461] V3_3D: supplied by smps9
[ 3.788773] vtt_fixed: supplied by V3_3D
[ 3.850178] HDLC line discipline maxframe=4096
[ 3.850194] N_HDLC line discipline registered.
[ 3.850209] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[ 3.853760] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 45, base_baud = 3000000) is a 8250
[ 3.854822] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 46, base_baud = 3000000) is a 8250
[ 6.059394] console [ttyS2] enabled
[ 6.064025] 4806e000.serial: ttyS3 at MMIO 0x4806e000 (irq = 47, base_baud = 3000000) is a 8250
[ 6.073888] 48420000.serial: ttyS6 at MMIO 0x48420000 (irq = 48, base_baud = 3000000) is a 8250
[ 6.094756] brd: module loaded
[ 6.105952] loop: module loaded
[ 6.110301] spi spi1.0: not using DMA for McSPI (-19)
[ 6.115767] m25p80 spi1.0: unrecognized JEDEC id bytes: 00, 00, 00
[ 6.123096] ti-qspi 4b300000.qspi: No Rx DMA available, trying mmap mode
[ 6.131138] m25p80 spi0.0: s25fl256s1 (32768 Kbytes)
[ 6.136182] 4 ofpart partitions found on MTD device spi0.0
[ 6.141732] Creating 4 MTD partitions on "spi0.0":
[ 6.146555] 0x000000000000-0x000000040000 : "QSPI.MLO"
[ 6.153000] 0x000000040000-0x000000140000 : "QSPI.u-boot"
[ 6.159571] 0x000000140000-0x000000150000 : "QSPI.u-boot-env"
[ 6.166506] 0x0000001d0000-0x0000001e0000 : "QSPI.Private-Space"
[ 6.174856] libphy: Fixed MDIO Bus: probed
[ 6.179370] tun: Universal TUN/TAP device driver, 1.6
[ 6.240321] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
[ 6.248021] davinci_mdio 48485000.mdio: detected phy mask fffffffc
[ 6.279390] libphy: 48485000.mdio: probed
[ 6.283459] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Micrel KSZ9031 Gigabit PHY
[ 6.293191] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
[ 6.303708] cpsw 48484000.ethernet: Detected MACID = 90:9a:77:65:11:0c
[ 6.310370] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
[ 6.316760] cpsw 48484000.ethernet: ALE Table size 1024
[ 6.322113] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
[ 6.330348] cpsw 48484000.ethernet: cpsw: Detected MACID = 90:9a:77:65:11:0d
[ 6.338703] Driver for 1-wire Dallas network protocol.
[ 6.385272] w1_master_driver w1_bus_master1: Attaching one wire slave 10.000803a23473 crc 9d
[ 6.394803] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 6.402536] cpu cpu0: dev_pm_opp_set_regulators: no regulator (vdd) found: -19
[ 6.410398] sdhci: Secure Digital Host Controller Interface driver
[ 6.416610] sdhci: Copyright(c) Pierre Ossman
[ 6.421736] sdhci-pltfm: SDHCI platform and OF driver helper
[ 6.428865] sdhci-omap 4809c000.mmc: Got CD GPIO
[ 6.434920] sdhci-omap 4809c000.mmc: no pinctrl state for ddr_1_8v mode
[ 6.441608] sdhci-omap 4809c000.mmc: no pinctrl state for hs200_1_8v mode
[ 6.500594] mmc0: SDHCI controller on 4809c000.mmc [4809c000.mmc] using ADMA
[ 6.570329] mmc1: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
[ 6.580485] sdhci-omap 480ad000.mmc: no pinctrl state for ddr_1_8v mode
[ 6.587236] sdhci-omap 480ad000.mmc: no pinctrl state for hs mode
[ 6.593481] sdhci-omap 480ad000.mmc: no pinctrl state for hs mode
[ 6.599699] sdhci-omap 480ad000.mmc: no pinctrl state for hs200_1_8v mode
[ 6.612267] mmc0: host does not support reading read-only switch, assuming write-enable
[ 6.627015] mmc0: new high speed SDHC card at address aaaa
[ 6.633421] mmcblk0: mmc0:aaaa SS08G 7.40 GiB
[ 6.643133] mmcblk0: p1 p2
[ 6.660325] mmc2: SDHCI controller on 480ad000.mmc [480ad000.mmc] using PIO
[ 6.670890] NET: Registered protocol family 10
[ 6.688233] Segment Routing with IPv6
[ 6.692074] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 6.698669] NET: Registered protocol family 17
[ 6.703319] omap_voltage_late_init: Voltage driver support not added
[ 6.709706] Power Management for TI OMAP4+ devices.
[ 6.715342] Registering SWP/SWPB emulation handler
[ 6.721982] Btrfs loaded, crc32c=crc32c-generic
[ 6.737984] mmc2: new MMC card at address 0001
[ 6.743481] mmcblk2: mmc2:0001 IS004G 3.64 GiB
[ 6.746072] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[ 6.750354] hctosys: unable to open rtc device (rtc0)
[ 6.761216] mmcblk2boot0: mmc2:0001 IS004G partition 1 2.00 MiB
[ 6.767656] mmcblk2boot1: mmc2:0001 IS004G partition 2 2.00 MiB
[ 6.774136] mmcblk2rpmb: mmc2:0001 IS004G partition 3 512 KiB
[ 6.781623] mmcblk2: p1 p2 p3
[ 6.806433] EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Opts: (null)
[ 6.814968] VFS: Mounted root (ext4 filesystem) on device 179:18.
[ 6.824776] devtmpfs: mounted
[ 6.836365] Freeing unused kernel memory: 2048K
[ 7.275477] systemd[1]: System time before build time, advancing clock.
[ 7.323325] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[ 7.344745] systemd[1]: Detected architecture arm.

Welcome to Arago 2018.04!

[ 7.381205] systemd[1]: Set hostname to <AirlinkWCP>.
[ 7.750057] systemd[1]: Configuration file /lib/systemd/system/sshpipe.service is marked executable. Please remove executable permission bits. Proceeding anyway.
[ 7.764652] systemd[1]: Configuration file /lib/systemd/system/sshpipe.service is marked world-writable. Please remove world writability permission bits. Proceeding anyway.
[ 7.798585] systemd[1]: Configuration file /lib/systemd/system/docker.service is marked executable. Please remove executable permission bits. Proceeding anyway.
[ 7.874754] random: systemd: uninitialized urandom read (16 bytes read)
[ 7.881692] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ 7.948764] random: systemd: uninitialized urandom read (16 bytes read)
[ 7.955702] systemd[1]: Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket (/dev/log).
[ 7.990428] random: systemd: uninitialized urandom read (16 bytes read)
[ 7.997380] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ 8.040724] systemd[1]: Listening on Network Service Netlink Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ OK ] Listening on Syslog Socket.
[ OK ] Listening on Process Core Dump Socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Created slice User and Session Slice.
[ OK ] Reached target Remote File Systems.
[ OK ] Listening on Journal Socket.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Created slice System Slice.
Starting Journal Service...
Mounting Kernel Debug File System...
[ OK ] Created slice system-getty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
Starting Load Kernel Modules...
[ OK ] Reached target Slices.
Starting Create list of required st��…ce nodes for the current kernel...
[ OK ] Reached target Swap.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Reached target Paths.
Mounting POSIX Message Queue File System...
Starting Remount Root and Kernel File Systems...
[ 8.706908] EXT4-fs (mmcblk2p2): re-mounted. Opts: (null)
[ OK ] Mounted Kernel Debug File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Started Journal Service.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[ OK ] Started Create list of required sta��…vice nodes for the current kernel.
[ OK ] Started Remount Root and Kernel File Systems.
Starting udev Coldplug all Devices...
Starting Load/Save Random Seed...
Starting Create Static Device Nodes in /dev...
Starting Apply Kernel Variables...
Mounting Kernel Configuration File System...
Starting Flush Journal to Persistent Storage...
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Started Apply Kernel Variables.
[ 9.237056] systemd-journald[79]: Received request to flush runtime journal from PID 1
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
Mounting /tmp...
[ OK ] Mounted /tmp.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Reached target Local File Systems.
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.
[ 10.015358] omap-rproc 58820000.ipu: assigned reserved memory node ipu1-memory@9d000000
[ OK ] Started udev Coldplug all Devices.
[ 10.034411] remoteproc remoteproc0: 58820000.ipu is available
[ OK ] Reached target System Initialization.
[ 10.108165] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
[ 10.136892] omap-rproc 55020000.ipu: assigned reserved memory node ipu2-memory@95800000
[ 10.137024] remoteproc remoteproc1: 55020000.ipu is available
[ 10.137423] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000
[ 10.137527] remoteproc remoteproc2: 40800000.dsp is available
[ 10.138134] omap-rproc 41000000.dsp: assigned reserved memory node dsp2-memory@9f000000
[ 10.138244] remoteproc remoteproc3: 41000000.dsp is available
[ 10.413523] remoteproc remoteproc0: powering up 58820000.ipu
Starting Network Service...
[ OK ] Listening on D-Bus System Message Bus Socket.[ 10.425778] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2

[ 10.490515] ds1307 type ds3231
[ 10.521454] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
[ 10.521464] omap-des 480a5000.des: Unable to request in DMA channel
[ 10.533683] omap-des 480a5000.des: will run requests pump with realtime priority
[ 10.552944] rtc-ds1307 1-0068: registered as rtc0
[ 10.567495] m25p80_fpga spi1.0: unrecognized JEDEC id bytes: 00, 00, 00
[ OK ] Started Daily rotation of log files.
[ 10.633025] remoteproc remoteproc0: request_firmware failed: -2
[ 10.644284] remoteproc remoteproc1: Direct firmware load for dra7-ipu2-fw.xem4 failed with error -2
[ OK ] Started Daily Cleanup of Temporary Directorie[ 10.706318] remoteproc remoteproc1: powering up 55020000.ipu
s.
[ OK ] Reached target Timers.
[ 10.732912] remoteproc remoteproc1: Direct firmware load for dra7-ipu2-fw.xem4 failed with error -2
[ OK ] Listening on RPCbind Server Activation Socket[ 10.869106] remoteproc remoteproc1: request_firmware failed: -2
.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ OK ] Started Hardware RNG Entropy Gatherer Daemon.
[ 11.080047] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
[ OK ] Started SSH pipe to execute commands on serial terminal.
[ 11.185312] random: crng init done
[ 11.190853] random: 7 urandom warning(s) missed due to ratelimiting
Starting tiipclad-daemon.service...
[ 11.207763] remoteproc remoteproc3: Direct firmware load for dra7-dsp2-fw.xe66 failed with error -2
[ 11.220989] remoteproc remoteproc3: powering up 41000000.dsp
[ 11.229693] remoteproc remoteproc3: Direct firmware load for dra7-dsp2-fw.xe66 failed with error -2
[ 11.476018] remoteproc remoteproc3: request_firmware failed: -2
[ 11.487608] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
[ 11.487617] omap-aes 4b500000.aes: Unable to request in DMA channel
[ 11.537162] omap-aes 4b500000.aes: will run requests pump with realtime priority
[ 11.545360] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
[ 11.545369] omap-aes 4b700000.aes: Unable to request in DMA channel
[ 11.545782] omap-aes 4b700000.aes: will run requests pump with realtime priority
[ 11.605753] remoteproc remoteproc2: powering up 40800000.dsp
[ 11.605773] remoteproc remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 5226672
[ 11.613716] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 11.613774] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
[ 11.613892] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
[ 11.635335] remoteproc remoteproc2: unsupported resource -1728053248
[ 11.635346] remoteproc remoteproc2: unsupported resource -1728036864
[ OK ] Reached target Containers.
Starting telnetd.service...
[ OK ] Started Kernel Logging Service.
[ OK ] Started D-Bus System Message Bus.
[ 12.062933] remoteproc remoteproc2: unsupported resource -1728053248
[ 12.186880] remoteproc remoteproc2: unsupported resource -1728036864
[ 12.336402] ------------[ cut here ]------------
[ 12.341080] WARNING: CPU: 0 PID: 372 at drivers/bus/omap_l3_noc.c:147 l3_interrupt_handler+0x254/0x370
[ 12.350439] 44000000.ocp:L3 Custom Error: MASTER DSP1_MDMA TARGET DMM_P1 (Idle): Data Access in User mode during Functional access
[ 12.362237] Modules linked in: omap_aes_driver omap_sham pruss_soc_bus m25p80_fpga omap_des des_generic rtc_ds1307 crypto_engine omap_crypto omap_remoteproc virtio_rpmsg_bus rpmsg_core remoteproc sch_fl
[ 12.380965] CPU: 0 PID: 372 Comm: mount.sh Tainted: G W 4.14.40-g4796173fc5 #3
[ 12.389362] Hardware name: Generic DRA74X (Flattened Device Tree)
[ 12.395489] Backtrace:
[ 12.397975] [<c020b5ac>] (dump_backtrace) from [<c020b890>] (show_stack+0x18/0x1c)
[ 12.405592] r7:00000009 r6:600b0193 r5:00000000 r4:c0e38f68
[ 12.411302] [<c020b878>] (show_stack) from [<c07f4c28>] (dump_stack+0x90/0xa4)
[ 12.418580] [<c07f4b98>] (dump_stack) from [<c022aaa0>] (__warn+0xec/0x104)
[ 12.425580] r7:00000009 r6:c0b49040 r5:00000000 r4:ed003b18
[ 12.431289] [<c022a9b4>] (__warn) from [<c022aaf8>] (warn_slowpath_fmt+0x40/0x48)
[ 12.438824] r9:00000001 r8:ee9d0a50 r7:c0b49334 r6:00000000 r5:c0b48f6c r4:c0b49010
[ 12.446623] [<c022aabc>] (warn_slowpath_fmt) from [<c05991f4>] (l3_interrupt_handler+0x254/0x370)
[ 12.455544] r3:ee9d08c0 r2:c0b49010
[ 12.459148] r4:80080003
[ 12.461715] [<c0598fa0>] (l3_interrupt_handler) from [<c027e870>] (__handle_irq_event_percpu+0x6c/0x134)
[ 12.471260] r10:c0e3a051 r9:ee9d2200 r8:00000017 r7:ed003c3c r6:00000000 r5:ee9d2200
[ 12.479136] r4:ee9d0dc0
[ 12.481703] [<c027e804>] (__handle_irq_event_percpu) from [<c027e95c>] (handle_irq_event_percpu+0x24/0x60)
[ 12.491411] r10:00000000 r9:ed002000 r8:ee808000 r7:00000000 r6:c0e094ac r5:ee9d2200
[ 12.499280] r4:ee9d2200
[ 12.501838] [<c027e938>] (handle_irq_event_percpu) from [<c027e9d8>] (handle_irq_event+0x40/0x64)
[ 12.510759] r5:ee9d2264 r4:ee9d2200
[ 12.514374] [<c027e998>] (handle_irq_event) from [<c02822ac>] (handle_fasteoi_irq+0xac/0x160)
[ 12.522947] r7:00000000 r6:c0e094ac r5:ee9d2264 r4:ee9d2200
[ 12.528644] [<c0282200>] (handle_fasteoi_irq) from [<c027dac0>] (generic_handle_irq+0x2c/0x3c)
[ 12.537300] r7:00000000 r6:00000000 r5:00000017 r4:c0c56afc
[ 12.543000] [<c027da94>] (generic_handle_irq) from [<c027e048>] (__handle_domain_irq+0x64/0xbc)
[ 12.551754] [<c027dfe4>] (__handle_domain_irq) from [<c0201474>] (gic_handle_irq+0x44/0x80)
[ 12.560153] r9:ed002000 r8:fa213000 r7:fa212000 r6:ed003cf8 r5:fa21200c r4:c0e03ffc
[ 12.567941] [<c0201430>] (gic_handle_irq) from [<c020c478>] (__irq_svc+0x58/0x8c)
[ 12.575461] Exception stack(0xed003cf8 to 0xed003d40)
[ 12.580539] 3ce0: c0e39ec0 600b0113
[ 12.588775] 3d00: 00003a59 000016a8 00000004 eff181e0 eed5dc00 eed5dbec 600b0113 c02edc3c
[ 12.597000] 3d20: 00000000 ed003d54 ed003d58 ed003d48 c02ee1c4 c080d8c4 a00b0113 ffffffff
[ 12.605226] r9:ed002000 r8:600b0113 r7:ed003d2c r6:ffffffff r5:a00b0113 r4:c080d8c4
[ 12.613028] [<c080d89c>] (_raw_spin_unlock_irqrestore) from [<c02ee1c4>] (pagevec_lru_move_fn+0xb8/0xe0)
[ 12.622571] [<c02ee10c>] (pagevec_lru_move_fn) from [<c02ef4ec>] (lru_add_drain_cpu+0xf0/0x108)
[ 12.631317] r10:00000009 r9:edd6c540 r8:ed8f204c r7:edacc8c0 r6:ed06be00 r5:00000000
[ 12.639187] r4:c0e03e4c r3:2e108000
[ 12.642794] [<c02ef3fc>] (lru_add_drain_cpu) from [<c02ef7b8>] (lru_add_drain+0x30/0x60)
[ 12.650929] r7:edacc8c0 r6:ed06be00 r5:edd6c540 r4:ffffe000
[ 12.656629] [<c02ef788>] (lru_add_drain) from [<c031427c>] (exit_mmap+0x78/0x150)
[ 12.664158] r5:edd6c540 r4:ed28c618
[ 12.667774] [<c0314204>] (exit_mmap) from [<c0228060>] (mmput+0x48/0xe8)
[ 12.674513] r5:00000000 r4:edd6c540
[ 12.678122] [<c0228018>] (mmput) from [<c0342f40>] (flush_old_exec+0x4b4/0x6f0)
[ 12.685474] r5:edd6c540 r4:ed8f1b00
[ 12.689084] [<c0342a8c>] (flush_old_exec) from [<c038d428>] (load_elf_binary+0x2b4/0x11fc)
[ 12.697398] r10:00000009 r9:00000000 r8:ed977e00 r7:ed003e80 r6:00000034 r5:ed06be00
[ 12.705273] r4:ed929c00
[ 12.707837] [<c038d174>] (load_elf_binary) from [<c03431e8>] (search_binary_handler.part.3+0x6c/0x234)
[ 12.717196] r10:edacc8c0 r9:00000000 r8:fffffff8 r7:c0e6d5f4 r6:c0e1d538 r5:ed06be00
[ 12.725067] r4:c0e1da10
[ 12.727626] [<c034317c>] (search_binary_handler.part.3) from [<c0343bf8>] (do_execveat_common+0x594/0x67c)
[ 12.737332] r9:00000000 r8:ed06be00 r7:00000174 r6:ffffe000 r5:ed8f1b00 r4:edd7f000
[ 12.745121] [<c0343664>] (do_execveat_common) from [<c0343f34>] (SyS_execve+0x38/0x40)
[ 12.753084] r10:00000000 r9:ed002000 r8:c0207e64 r7:0000000b r6:001029b8 r5:001015e0
[ 12.760956] r4:00102b88
[ 12.763521] [<c0343efc>] (SyS_execve) from [<c0207c80>] (ret_fast_syscall+0x0/0x4c)
[ 12.771221] r5:000f4084 r4:00102898
[ 12.774817] ---[ end trace bb73aa8d472dbd3e ]---
[ 12.818398] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 12.865745] remoteproc remoteproc2: registered virtio0 (type 7)
[ OK ] Started Periodic Command Scheduler.
[ 13.015491] remoteproc remoteproc2: remote processor 40800000.dsp is now up
[ OK ] Started SSH pipe to execute commands on serial terminal.
[ OK ] Started System Logging Service.
[ 13.122929] EXT4-fs (mmcblk2p3): mounted filesystem with ordered data mode. Opts: (null)
Starting RPC Bind Service...
Starting Print notice about GPLv3 packages...
[ OK ] Started Job spooling tools.
[ 13.297099] pruss 4b200000.pruss: creating PRU cores and other child platform devices
Starting Login Service...
[ 13.428491] pruss 4b280000.pruss: creating PRU cores and other child platform devices
[ 13.461767] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ OK ] Started Network Service.
[ OK ] Started tiipclad-daemon.service.
[ OK ] Started telnetd.service.
[ OK ] Started [ 13.681051] davinci_mdio 4b2b2400.mdio: davinci mdio revision 1.6, bus freq 1000000
[ 13.689423] libphy: 4b2b2400.mdio: probed
RPC Bind Service.
[ OK ] Found device /dev/ttyS2.
[ 14.295150] davinci_mdio 4b2b2400.mdio: phy[2]: device 4b2b2400.mdio:02, driver unknown
[ 14.334471] davinci_mdio 4b2b2400.mdio: phy[3]: device 4b2b2400.mdio:03, driver unknown
[ 14.438982] remoteproc remoteproc4: 4b234000.pru is available
[ 14.512238] pru-rproc 4b234000.pru: PRU rproc node /ocp/pruss_soc_bus@4b226004/pruss@0/pru@34000 probed successfully
[ 14.646013] remoteproc remoteproc5: 4b238000.pru is available
[ 14.712589] pru-rproc 4b238000.pru: PRU rproc node /ocp/pruss_soc_bus@4b226004/pruss@0/pru@38000 probed successfully
[ 14.805299] remoteproc remoteproc6: 4b2b4000.pru is available
[ 14.839733] pru-rproc 4b2b4000.pru: PRU rproc node /ocp/pruss_soc_bus@4b2a6004/pruss@0/pru@34000 probed successfully
[ 14.940977] remoteproc remoteproc7: 4b2b8000.pru is available
[ 14.983208] pru-rproc 4b2b8000.pru: PRU rproc node /ocp/pruss_soc_bus@4b2a6004/pruss@0/pru@38000 probed successfully
[ 15.193515] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
[ 15.327649] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 17.204147] EXT4-fs (mmcblk2p1): mounted filesystem with ordered data mode. Opts: (null)
Starting LSB: OpenBSD Secure Shell server...
Starting LSB: Misc Things...
Starting LSB: Misc Things...
Starting thttpd.service...
[ OK ] Reached target Network.
Starting Permit User Sessions...
Starting Network Name Resolution...
[ OK ] Started LSB: Misc Things.
[FAILED] Failed to start LSB: Misc Things.
See 'systemctl status systemreq.service' for details.
[ OK ] Started Login Service.
[ OK ] Started Permit User Sessions.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyS2.
[ OK ] Reached target Login Prompts.
Starting Synchronize System and HW clocks...
[ OK ] Started Synchronize System and HW clocks.
[ OK ] Started thttpd.service.
[ OK ] Started Network Name Resolution.
[ OK ] Reached target Host and Network Name Lookups.
[ OK ] Started NFS status monitor for NFSv2/3 locking..
***************************************************************
***************************************************************
NOTICE: This file system contains the following GPLv3 packages:
bash
binutils
cifs-utils
cpio
dosfstools
elfutils
gawk
gzip
libdw1
libelf1
libreadline7
m4
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 ] Started LSB: OpenBSD Secure Shell server.
Starting rng-tools.service...
[ OK ] Started rng-tools.service.
Starting thermal-zone-init.service...
[ OK ] Started thermal-zone-init.service.
[ OK ] Reached target Multi-User System.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.

Starting internet superserver: xinetd.
[ 21.214481] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 21.233954] Bridge firewalling registered
[ 21.298098] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 21.324820] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 22.094950] Initializing XFRM netlink socket
LCD driver loaded
[ 22.738526] IPv6: ADDRCONF(NETDEV_UP): docker0: link is not ready
sh: Mounting: command not found
Setting eth2 IP to 1.1.1.2
ifconfig: SIOCSIFADDR: No such device
ifconfig: SIOCGIFFLAGS: No such device
starting Application ...........
[ 26.714119] net eth1: initializing cpsw version 1.15 (0)
[ 26.841131] Micrel KSZ9031 Gigabit PHY 48485000.mdio:01: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:01, irq=POLL)
[ 26.863371] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
## Error: "autostart" not defined
Last login: Wed Apr 7 12:06:39 UTC 2021 on ttyS2
root@AirlinkWCP:~#
root@AirlinkWCP:~#
root@AirlinkWCP:~#
root@AirlinkWCP:~# free
total used free shared buff/cache available
Mem: 1852044 51680 1670616 17868 129748 1759224
Swap: 0 0 0
root@AirlinkWCP:~# free
CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7 | VT102 | Offline | ttyUSB0
Thank you 
Deepak H M
  • Hi,

    Does the board boot without ECC enabled?

    How are the DMM LISA registers and MPU_LA configured?

    Is the ECC protected region initialized (written to) prior to being read?

    Thanks,
    Kevin

    1. Does the board boot without ECC enabled? 

    Yes 

            2. How are the DMM LISA registers and MPU_LA configured? 

    Yes DMM LISA maps are configured  

    const struct dmm_lisa_map_regs AM574x_DDR3L_666MHz_TI_AM574x_EVM_dmm_regs = {  

        .dmm_lisa_map_0 = 0x00000000,  

        .dmm_lisa_map_1 = 0x00000000,  

        .dmm_lisa_map_2 = 0x80700100,  

        .dmm_lisa_map_3 = 0xFF020100,  

        .is_ma_present = 0x1  

    };  

     

    And about MPU LA we are not sure can you explain more? 

           3. Is the ECC protected region initialized (written to) prior to being read? 

    Are to talking about register writes we are doing that if not please help how to check that 

  • Do you have JTAG and Code Composer available?  Please download the following script:

    http://git.ti.com/sitara-dss-files/am57xx-dss-files/blobs/raw/main/am57xx-ddr.dss

    Press a key to pause during u-boot and then run the script following these directions:

    http://git.ti.com/sitara-dss-files/am57xx-dss-files/blobs/main/README

    The script will output a file to your desktop.  Please zip up your spreadsheet plus that file and attach here.

    Best regards,
    Brad

  • ********************** DPLL_DDR **********************
    
    CTRL_CORE_BOOTSTRAP = 0x00008106
      * SPEEDSELECT = 20 MHz
    CM_CLKSEL_DPLL_DDR = 0x00014d04
      * DPLL_MULT = 333 (x333)
      * DPLL_DIV = 4 (/5)
    CM_DIV_M2_DPLL_DDR = 0x00000202
      * CLKST = 1: M2 output clock enabled
      * DIVHS = 2 (/2)
    CM_DIV_H11_DPLL_DDR = 0x00000208
      * CLKST = 1: H11 output clock enabled
      * DIVHS = 8 (/8)
    
    DPLL_DDR Summary
     -> F_input = 20 MHz
     -> F_dpll_ddr = 2664 MHz
     -> CLKOUT_M2 = EMIF_PHY_GCLK = 666 MHz
     -> CLKOUTX2_H11 = EMIF_DLL_GCLK = 333 MHz
    
    ********************** DMM - LISA **********************
    
    DMM_LISA_MAP_0 = 0x00000000
    DMM_LISA_MAP_1 = 0x00000000
    DMM_LISA_MAP_2 = 0x80700100
      * System Address Mapping = 0x80000000
      * Section Size = 2048 MB
      * Mapped to EMIF1
    DMM_LISA_MAP_3 = 0xff020100
      * System Address Mapping = 0xff000000
      * Section Size = 16 MB
      * Mapped to EMIF1
    
    ********************** EMIF1 **********************
    
    CTRL_CORE_CONTROL_DDRCACH1_0 = 0x80808080
    ddr1_casn, ddr1_rasn, ddr1_rst, ddr1_wen, ddr1_csn[0], ddr1_cke, ddr1_odt[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr1_a[15:0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr1_ba[0], ddr1_ba[1], ddr1_ba[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr1_ck, ddr1_nck
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    
    CTRL_CORE_CONTROL_DDRCH1_0 = 0x40404040
    ddr1_d[7:0], ddr1_dqm[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_dqs[0], ddr1_dqsn[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_d[15:8], ddr1_dqm[1]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_dqs[1], ddr1_dqsn[1]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    
    CTRL_CORE_CONTROL_DDRCH1_1 = 0x40404040
    ddr1_d[23:16], ddr1_dqm[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_dqs[2], ddr1_dqsn[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_d[31:24], ddr1_dqm[3]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_dqs[3], ddr1_dqsn[3]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    
    CTRL_CORE_CONTROL_DDRCH1_2 = 0x00404000
    ddr1_ecc_d[7:0], ddr1_dqm_ecc
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_dqs_ecc, ddr1_dqsn_ecc
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    
    CTRL_CORE_CONTROL_DDRIO_0 = 0x00094a40
    ddr1_d[7:0], ddr1_d[15:8]
      * Internal VREF disabled
    ddr1_d[23:16], ddr1_d[31:24], ddr1_ecc_d[7:0]
      * Internal VREF disabled
    
    CTRL_WKUP_EMIF1_SDRAM_CONFIG_EXT = 0x0000c123
      * Bit 16: EMIF1_EN_ECC = 0
    EMIF_ECC_CTRL_REG = 0x00000000
      * Bit 31: reg_ecc_en = 0
      * Bit 30: reg_ecc_addr_rgn_prot = 0
      * Bit 29: reg_ecc_verify_dis = 0, enable ECC verification on reads (normal)
      * Bit 1: reg_ecc_addr_rgn_2_en = 0
      * Bit 0: reg_ecc_addr_rgn_1_en = 0
    EMIF_ECC_ADDRESS_RANGE_1 = 0x00000000
    EMIF_ECC_ADDRESS_RANGE_2 = 0x00000000
    EMIF_1B_ECC_ERR_CNT = 0x00000000
    EMIF_1B_ECC_ERR_THRSH = 0x00000000
    EMIF_1B_ECC_ERR_DIST_1 = 0x00000000
    EMIF_1B_ECC_ERR_DIST_1 = 0x00000000
    EMIF_2B_ECC_ERR_ADDR_LOG = 0x00000000
    EMIF_STATUS = 0x40000004
    
    EMIF_SDRAM_CONFIG = 0x61862bb2
    EMIF_SDRAM_CONFIG_2 = 0x00000000
    EMIF_SDRAM_REFRESH_CONTROL = 0x10000a25
    EMIF_SDRAM_TIMING_1 = 0xd3337834
    EMIF_SDRAM_TIMING_2 = 0x30ef7fe3
    EMIF_SDRAM_TIMING_3 = 0x409f8e98
    EMIF_READ_WRITE_LEVELING_RAMP_WINDOW = 0x00000000
    EMIF_READ_WRITE_LEVELING_RAMP_CONTROL = 0x00000000
    EMIF_READ_WRITE_LEVELING_CONTROL = 0x00000000
    EMIF_DDR_PHY_CONTROL_1 = 0x0e24400e
      * Bits 4:0 READ_LATENCY = 14
      * Bit 9 PHY_FAST_DLL_LOCK = 0
      * Bits 17:10 PHY_DLL_LOCK_DIFF = 16
      * Bit 18 PHY_INVERT_CLKOUT = 1
      * Bit 19 PHY_DIS_CALIB_RST = 0
      * Bit 20 PHY_CLK_STALL_LEVEL = 0
      * Bit 21 PHY_HALF_DELAYS = 1
      * Bit 25 WRLVL_MASK = 1
      * Bit 26 RDLVLGATE_MASK = 1
      * Bit 27 RDLVL_MASK = 1
    
    EMIF_EXT_PHY_CONTROL_1  = 0x10040100
    EMIF_EXT_PHY_CONTROL_2  = 0x07000094
    EMIF_EXT_PHY_CONTROL_3  = 0x07000099
    EMIF_EXT_PHY_CONTROL_4  = 0x070000a8
    EMIF_EXT_PHY_CONTROL_5  = 0x070000af
    EMIF_EXT_PHY_CONTROL_6  = 0x07000700
    EMIF_EXT_PHY_CONTROL_7  = 0x00000040
    EMIF_EXT_PHY_CONTROL_8  = 0x00000037
    EMIF_EXT_PHY_CONTROL_9  = 0x00000039
    EMIF_EXT_PHY_CONTROL_10 = 0x00000039
    EMIF_EXT_PHY_CONTROL_11 = 0x00000000
    EMIF_EXT_PHY_CONTROL_12 = 0x01bf0064
    EMIF_EXT_PHY_CONTROL_13 = 0x02fe0057
    EMIF_EXT_PHY_CONTROL_14 = 0x021c006c
    EMIF_EXT_PHY_CONTROL_15 = 0x00600064
    EMIF_EXT_PHY_CONTROL_16 = 0x00f50015
    EMIF_EXT_PHY_CONTROL_17 = 0x019f0044
    EMIF_EXT_PHY_CONTROL_18 = 0x02de0037
    EMIF_EXT_PHY_CONTROL_19 = 0x01fc004c
    EMIF_EXT_PHY_CONTROL_20 = 0x00400044
    EMIF_EXT_PHY_CONTROL_21 = 0x00f50015
    EMIF_EXT_PHY_CONTROL_22 = 0x00000000
    EMIF_EXT_PHY_CONTROL_23 = 0x00600020
    EMIF_EXT_PHY_CONTROL_24 = 0x40011080
    EMIF_EXT_PHY_CONTROL_25 = 0x08102040
    EMIF_EXT_PHY_CONTROL_26 = 0x00000000
    EMIF_EXT_PHY_CONTROL_27 = 0x00000000
    EMIF_EXT_PHY_CONTROL_28 = 0x00000000
    EMIF_EXT_PHY_CONTROL_29 = 0x00000000
    EMIF_EXT_PHY_CONTROL_30 = 0x00000000
    EMIF_EXT_PHY_CONTROL_31 = 0x00000000
    EMIF_EXT_PHY_CONTROL_32 = 0x00000000
    EMIF_EXT_PHY_CONTROL_33 = 0x00000000
    EMIF_EXT_PHY_CONTROL_34 = 0x00000000
    EMIF_EXT_PHY_CONTROL_35 = 0x00000000
    EMIF_EXT_PHY_CONTROL_36 = 0x00000177
    
    EMIF_EXT_PHY_STATUS_1  = 0x000d90f3
    EMIF_EXT_PHY_STATUS_2  = 0xcb65c2da
    EMIF_EXT_PHY_STATUS_3  = 0x00000006
    EMIF_EXT_PHY_STATUS_4  = 0x00120000
    EMIF_EXT_PHY_STATUS_5  = 0x00009999
    EMIF_EXT_PHY_STATUS_6  = 0x00004924
    EMIF_EXT_PHY_STATUS_7  = 0x00000040
    EMIF_EXT_PHY_STATUS_8  = 0x00000037
    EMIF_EXT_PHY_STATUS_9  = 0x00000039
    EMIF_EXT_PHY_STATUS_10 = 0x00000039
    EMIF_EXT_PHY_STATUS_11 = 0x00000000
    EMIF_EXT_PHY_STATUS_12 = 0x07000094
    EMIF_EXT_PHY_STATUS_13 = 0x07000099
    EMIF_EXT_PHY_STATUS_14 = 0x070000a8
    EMIF_EXT_PHY_STATUS_15 = 0x070000af
    EMIF_EXT_PHY_STATUS_16 = 0x07000700
    EMIF_EXT_PHY_STATUS_17 = 0x01bf0064
    EMIF_EXT_PHY_STATUS_18 = 0x02fe0057
    EMIF_EXT_PHY_STATUS_19 = 0x02de0037
    EMIF_EXT_PHY_STATUS_20 = 0x00600064
    EMIF_EXT_PHY_STATUS_21 = 0x00f50015
    EMIF_EXT_PHY_STATUS_22 = 0x019f0044
    EMIF_EXT_PHY_STATUS_23 = 0x02de0037
    EMIF_EXT_PHY_STATUS_24 = 0x01fc004c
    EMIF_EXT_PHY_STATUS_25 = 0x00400044
    EMIF_EXT_PHY_STATUS_26 = 0x00f50015
    EMIF_EXT_PHY_STATUS_27 = 0x10f01111
    EMIF_EXT_PHY_STATUS_28 = 0x00000000
    
    ********************** EMIF2 **********************
    
    CTRL_CORE_CONTROL_DDRCACH2_0 = 0x80808080
    ddr2_casn, ddr2_rasn, ddr2_rst, ddr2_wen, ddr2_csn[0], ddr2_cke, ddr2_odt[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr2_a[15:0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr2_ba[0], ddr2_ba[1], ddr2_ba[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr2_ck, ddr2_nck
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    
    CTRL_CORE_CONTROL_DDRCH2_0 = 0x40404040
    ddr2_d[7:0], ddr2_dqm[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_dqs[0], ddr2_dqsn[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_d[15:8], ddr2_dqm[1]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_dqs[1], ddr2_dqsn[1]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    
    CTRL_CORE_CONTROL_DDRCH2_1 = 0x40404040
    ddr2_d[23:16], ddr2_dqm[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_dqs[2], ddr2_dqsn[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_d[31:24], ddr2_dqm[3]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_dqs[3], ddr2_dqsn[3]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    
    CTRL_CORE_CONTROL_DDRIO_1 = 0x00000000
    ddr2_d[7:0], ddr2_d[15:8]
      * Internal VREF disabled
    ddr2_d[23:16], ddr2_d[31:24]
      * Internal VREF disabled
    
    CTRL_WKUP_EMIF2_SDRAM_CONFIG_EXT = 0x0000c123
    EMIF_STATUS = 0x40000004
    
    EMIF_SDRAM_CONFIG = 0x60812031
    EMIF_SDRAM_CONFIG_2 = 0x00000010
    EMIF_SDRAM_REFRESH_CONTROL = 0x8000061b
    EMIF_SDRAM_TIMING_1 = 0x1c000000
    EMIF_SDRAM_TIMING_2 = 0x00000000
    EMIF_SDRAM_TIMING_3 = 0x000f8120
    EMIF_READ_WRITE_LEVELING_RAMP_WINDOW = 0x00000000
    EMIF_READ_WRITE_LEVELING_RAMP_CONTROL = 0x00000000
    EMIF_READ_WRITE_LEVELING_CONTROL = 0x00000000
    EMIF_DDR_PHY_CONTROL_1 = 0x0000081e
      * Bits 4:0 READ_LATENCY = 30
      * Bit 9 PHY_FAST_DLL_LOCK = 0
      * Bits 17:10 PHY_DLL_LOCK_DIFF = 2
      * Bit 18 PHY_INVERT_CLKOUT = 0
      * Bit 19 PHY_DIS_CALIB_RST = 0
      * Bit 20 PHY_CLK_STALL_LEVEL = 0
      * Bit 21 PHY_HALF_DELAYS = 0
      * Bit 25 WRLVL_MASK = 0
      * Bit 26 RDLVLGATE_MASK = 0
      * Bit 27 RDLVL_MASK = 0
    
    EMIF_EXT_PHY_CONTROL_1  = 0x04020080
    EMIF_EXT_PHY_CONTROL_2  = 0x00000000
    EMIF_EXT_PHY_CONTROL_3  = 0x00000000
    EMIF_EXT_PHY_CONTROL_4  = 0x00000000
    EMIF_EXT_PHY_CONTROL_5  = 0x00000000
    EMIF_EXT_PHY_CONTROL_6  = 0x00000000
    EMIF_EXT_PHY_CONTROL_7  = 0x00400040
    EMIF_EXT_PHY_CONTROL_8  = 0x00400040
    EMIF_EXT_PHY_CONTROL_9  = 0x00400040
    EMIF_EXT_PHY_CONTROL_10 = 0x00400040
    EMIF_EXT_PHY_CONTROL_11 = 0x00400040
    EMIF_EXT_PHY_CONTROL_12 = 0x00400040
    EMIF_EXT_PHY_CONTROL_13 = 0x00400040
    EMIF_EXT_PHY_CONTROL_14 = 0x00400040
    EMIF_EXT_PHY_CONTROL_15 = 0x00400040
    EMIF_EXT_PHY_CONTROL_16 = 0x00400040
    EMIF_EXT_PHY_CONTROL_17 = 0x00000000
    EMIF_EXT_PHY_CONTROL_18 = 0x00000000
    EMIF_EXT_PHY_CONTROL_19 = 0x00000000
    EMIF_EXT_PHY_CONTROL_20 = 0x00000000
    EMIF_EXT_PHY_CONTROL_21 = 0x00000000
    EMIF_EXT_PHY_CONTROL_22 = 0x00800080
    EMIF_EXT_PHY_CONTROL_23 = 0x00800080
    EMIF_EXT_PHY_CONTROL_24 = 0x00010080
    EMIF_EXT_PHY_CONTROL_25 = 0x00000000
    EMIF_EXT_PHY_CONTROL_26 = 0x01500150
    EMIF_EXT_PHY_CONTROL_27 = 0x01500150
    EMIF_EXT_PHY_CONTROL_28 = 0x01500150
    EMIF_EXT_PHY_CONTROL_29 = 0x01500150
    EMIF_EXT_PHY_CONTROL_30 = 0x01500150
    EMIF_EXT_PHY_CONTROL_31 = 0x00000000
    EMIF_EXT_PHY_CONTROL_32 = 0x00000000
    EMIF_EXT_PHY_CONTROL_33 = 0x00000000
    EMIF_EXT_PHY_CONTROL_34 = 0x00000000
    EMIF_EXT_PHY_CONTROL_35 = 0x00000000
    EMIF_EXT_PHY_CONTROL_36 = 0x00000077
    
    EMIF_EXT_PHY_STATUS_1  = 0x000d91f3
    EMIF_EXT_PHY_STATUS_2  = 0xd36db6dd
    EMIF_EXT_PHY_STATUS_3  = 0x00000006
    EMIF_EXT_PHY_STATUS_4  = 0x00020000
    EMIF_EXT_PHY_STATUS_5  = 0x00009999
    EMIF_EXT_PHY_STATUS_6  = 0x00000924
    EMIF_EXT_PHY_STATUS_7  = 0x00000000
    EMIF_EXT_PHY_STATUS_8  = 0x00000000
    EMIF_EXT_PHY_STATUS_9  = 0x00000000
    EMIF_EXT_PHY_STATUS_10 = 0x00000000
    EMIF_EXT_PHY_STATUS_11 = 0x00000000
    EMIF_EXT_PHY_STATUS_12 = 0x07000700
    EMIF_EXT_PHY_STATUS_13 = 0x07000700
    EMIF_EXT_PHY_STATUS_14 = 0x07000700
    EMIF_EXT_PHY_STATUS_15 = 0x07000700
    EMIF_EXT_PHY_STATUS_16 = 0x00000000
    EMIF_EXT_PHY_STATUS_17 = 0x025f01a5
    EMIF_EXT_PHY_STATUS_18 = 0x031603be
    EMIF_EXT_PHY_STATUS_19 = 0x031603be
    EMIF_EXT_PHY_STATUS_20 = 0x03b703b6
    EMIF_EXT_PHY_STATUS_21 = 0x00000000
    EMIF_EXT_PHY_STATUS_22 = 0x025f01a5
    EMIF_EXT_PHY_STATUS_23 = 0x031603be
    EMIF_EXT_PHY_STATUS_24 = 0x0172037e
    EMIF_EXT_PHY_STATUS_25 = 0x03b703b6
    EMIF_EXT_PHY_STATUS_26 = 0x00000000
    EMIF_EXT_PHY_STATUS_27 = 0x10f00000
    EMIF_EXT_PHY_STATUS_28 = 0x00000000
    
    

    Hi Brad griffis, 

    Thanks for your replay, Please find the attached txt that we tried on CCS

    Thank you

    Deepak H M 

  • Your register output shows no sign of ECC being enabled:

    CTRL_WKUP_EMIF1_SDRAM_CONFIG_EXT = 0x0000c123
      * Bit 16: EMIF1_EN_ECC = 0
    EMIF_ECC_CTRL_REG = 0x00000000
      * Bit 31: reg_ecc_en = 0
      * Bit 30: reg_ecc_addr_rgn_prot = 0
      * Bit 29: reg_ecc_verify_dis = 0, enable ECC verification on reads (normal)
      * Bit 1: reg_ecc_addr_rgn_2_en = 0
      * Bit 0: reg_ecc_addr_rgn_1_en = 0

    Can you attach your DDR spreadsheet as well as your u-boot board.c file?  (zip them up)

  • Hi Brad,

    Sorry for the wrong file I changed the u-boot in between, in which ecc was not enabled. Please check this file 

    ********************** DPLL_DDR **********************
    
    CTRL_CORE_BOOTSTRAP = 0x00008106
      * SPEEDSELECT = 20 MHz
    CM_CLKSEL_DPLL_DDR = 0x00014d04
      * DPLL_MULT = 333 (x333)
      * DPLL_DIV = 4 (/5)
    CM_DIV_M2_DPLL_DDR = 0x00000202
      * CLKST = 1: M2 output clock enabled
      * DIVHS = 2 (/2)
    CM_DIV_H11_DPLL_DDR = 0x00000208
      * CLKST = 1: H11 output clock enabled
      * DIVHS = 8 (/8)
    
    DPLL_DDR Summary
     -> F_input = 20 MHz
     -> F_dpll_ddr = 2664 MHz
     -> CLKOUT_M2 = EMIF_PHY_GCLK = 666 MHz
     -> CLKOUTX2_H11 = EMIF_DLL_GCLK = 333 MHz
    
    ********************** DMM - LISA **********************
    
    DMM_LISA_MAP_0 = 0x00000000
    DMM_LISA_MAP_1 = 0x00000000
    DMM_LISA_MAP_2 = 0x80700100
      * System Address Mapping = 0x80000000
      * Section Size = 2048 MB
      * Mapped to EMIF1
    DMM_LISA_MAP_3 = 0xff020100
      * System Address Mapping = 0xff000000
      * Section Size = 16 MB
      * Mapped to EMIF1
    
    ********************** EMIF1 **********************
    
    CTRL_CORE_CONTROL_DDRCACH1_0 = 0x80808080
    ddr1_casn, ddr1_rasn, ddr1_rst, ddr1_wen, ddr1_csn[0], ddr1_cke, ddr1_odt[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr1_a[15:0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr1_ba[0], ddr1_ba[1], ddr1_ba[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr1_ck, ddr1_nck
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    
    CTRL_CORE_CONTROL_DDRCH1_0 = 0x40404040
    ddr1_d[7:0], ddr1_dqm[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_dqs[0], ddr1_dqsn[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_d[15:8], ddr1_dqm[1]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_dqs[1], ddr1_dqsn[1]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    
    CTRL_CORE_CONTROL_DDRCH1_1 = 0x40404040
    ddr1_d[23:16], ddr1_dqm[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_dqs[2], ddr1_dqsn[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_d[31:24], ddr1_dqm[3]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_dqs[3], ddr1_dqsn[3]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    
    CTRL_CORE_CONTROL_DDRCH1_2 = 0x00404000
    ddr1_ecc_d[7:0], ddr1_dqm_ecc
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_dqs_ecc, ddr1_dqsn_ecc
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    
    CTRL_CORE_CONTROL_DDRIO_0 = 0x00094a40
    ddr1_d[7:0], ddr1_d[15:8]
      * Internal VREF disabled
    ddr1_d[23:16], ddr1_d[31:24], ddr1_ecc_d[7:0]
      * Internal VREF disabled
    
    CTRL_WKUP_EMIF1_SDRAM_CONFIG_EXT = 0x0001c123
      * Bit 16: EMIF1_EN_ECC = 1
    EMIF_ECC_CTRL_REG = 0xc0000001
      * Bit 31: reg_ecc_en = 1
      * Bit 30: reg_ecc_addr_rgn_prot = 1
      * Bit 29: reg_ecc_verify_dis = 0, enable ECC verification on reads (normal)
      * Bit 28: WARNING, reg_rmw_en is expected to be enabled when using ECC
      * Bit 1: reg_ecc_addr_rgn_2_en = 0
      * Bit 0: reg_ecc_addr_rgn_1_en = 1
    EMIF_ECC_ADDRESS_RANGE_1 = 0x0fff0000
    EMIF_ECC_ADDRESS_RANGE_2 = 0x00000000
      -> ECC Region 1 is enabled to protect inside the address range 0x80000000 to 0x8fffffff
      -> ECC Region 2 is disabled.
    EMIF_1B_ECC_ERR_CNT = 0x00000000
    EMIF_1B_ECC_ERR_THRSH = 0x00000000
    EMIF_1B_ECC_ERR_DIST_1 = 0x00000000
    EMIF_1B_ECC_ERR_DIST_1 = 0x00000000
    EMIF_2B_ECC_ERR_ADDR_LOG = 0x00000000
    EMIF_STATUS = 0x40000004
    
    EMIF_SDRAM_CONFIG = 0x61862bb2
    EMIF_SDRAM_CONFIG_2 = 0x00000000
    EMIF_SDRAM_REFRESH_CONTROL = 0x10000a25
    EMIF_SDRAM_TIMING_1 = 0xd3337834
    EMIF_SDRAM_TIMING_2 = 0x30ef7fe3
    EMIF_SDRAM_TIMING_3 = 0x409f8e98
    EMIF_READ_WRITE_LEVELING_RAMP_WINDOW = 0x00000000
    EMIF_READ_WRITE_LEVELING_RAMP_CONTROL = 0x00000000
    EMIF_READ_WRITE_LEVELING_CONTROL = 0x00000000
    EMIF_DDR_PHY_CONTROL_1 = 0x0e24400e
      * Bits 4:0 READ_LATENCY = 14
      * Bit 9 PHY_FAST_DLL_LOCK = 0
      * Bits 17:10 PHY_DLL_LOCK_DIFF = 16
      * Bit 18 PHY_INVERT_CLKOUT = 1
      * Bit 19 PHY_DIS_CALIB_RST = 0
      * Bit 20 PHY_CLK_STALL_LEVEL = 0
      * Bit 21 PHY_HALF_DELAYS = 1
      * Bit 25 WRLVL_MASK = 1
      * Bit 26 RDLVLGATE_MASK = 1
      * Bit 27 RDLVL_MASK = 1
    
    EMIF_EXT_PHY_CONTROL_1  = 0x10040100
    EMIF_EXT_PHY_CONTROL_2  = 0x07000092
    EMIF_EXT_PHY_CONTROL_3  = 0x07000099
    EMIF_EXT_PHY_CONTROL_4  = 0x070000a8
    EMIF_EXT_PHY_CONTROL_5  = 0x070000af
    EMIF_EXT_PHY_CONTROL_6  = 0x070000c0
    EMIF_EXT_PHY_CONTROL_7  = 0x0000003f
    EMIF_EXT_PHY_CONTROL_8  = 0x00000037
    EMIF_EXT_PHY_CONTROL_9  = 0x00000039
    EMIF_EXT_PHY_CONTROL_10 = 0x00000037
    EMIF_EXT_PHY_CONTROL_11 = 0x00000039
    EMIF_EXT_PHY_CONTROL_12 = 0x01bf0064
    EMIF_EXT_PHY_CONTROL_13 = 0x02fe0057
    EMIF_EXT_PHY_CONTROL_14 = 0x021c006b
    EMIF_EXT_PHY_CONTROL_15 = 0x00600064
    EMIF_EXT_PHY_CONTROL_16 = 0x0115007e
    EMIF_EXT_PHY_CONTROL_17 = 0x019f0044
    EMIF_EXT_PHY_CONTROL_18 = 0x02de0037
    EMIF_EXT_PHY_CONTROL_19 = 0x01fc004b
    EMIF_EXT_PHY_CONTROL_20 = 0x00400044
    EMIF_EXT_PHY_CONTROL_21 = 0x00f5005e
    EMIF_EXT_PHY_CONTROL_22 = 0x00000000
    EMIF_EXT_PHY_CONTROL_23 = 0x00600020
    EMIF_EXT_PHY_CONTROL_24 = 0x40011080
    EMIF_EXT_PHY_CONTROL_25 = 0x08102040
    EMIF_EXT_PHY_CONTROL_26 = 0x00000000
    EMIF_EXT_PHY_CONTROL_27 = 0x00000000
    EMIF_EXT_PHY_CONTROL_28 = 0x00000000
    EMIF_EXT_PHY_CONTROL_29 = 0x00000000
    EMIF_EXT_PHY_CONTROL_30 = 0x00000000
    EMIF_EXT_PHY_CONTROL_31 = 0x00000000
    EMIF_EXT_PHY_CONTROL_32 = 0x00000000
    EMIF_EXT_PHY_CONTROL_33 = 0x00000000
    EMIF_EXT_PHY_CONTROL_34 = 0x00000000
    EMIF_EXT_PHY_CONTROL_35 = 0x00000000
    EMIF_EXT_PHY_CONTROL_36 = 0x00000177
    
    EMIF_EXT_PHY_STATUS_1  = 0x000d91f3
    EMIF_EXT_PHY_STATUS_2  = 0xd365c2db
    EMIF_EXT_PHY_STATUS_3  = 0x00000d86
    EMIF_EXT_PHY_STATUS_4  = 0x00120000
    EMIF_EXT_PHY_STATUS_5  = 0x00099999
    EMIF_EXT_PHY_STATUS_6  = 0x00004924
    EMIF_EXT_PHY_STATUS_7  = 0x0000003f
    EMIF_EXT_PHY_STATUS_8  = 0x00000037
    EMIF_EXT_PHY_STATUS_9  = 0x00000039
    EMIF_EXT_PHY_STATUS_10 = 0x00000037
    EMIF_EXT_PHY_STATUS_11 = 0x00000039
    EMIF_EXT_PHY_STATUS_12 = 0x07000092
    EMIF_EXT_PHY_STATUS_13 = 0x07000099
    EMIF_EXT_PHY_STATUS_14 = 0x070000a8
    EMIF_EXT_PHY_STATUS_15 = 0x070000af
    EMIF_EXT_PHY_STATUS_16 = 0x070000c0
    EMIF_EXT_PHY_STATUS_17 = 0x01bf0064
    EMIF_EXT_PHY_STATUS_18 = 0x02fe0057
    EMIF_EXT_PHY_STATUS_19 = 0x02de0037
    EMIF_EXT_PHY_STATUS_20 = 0x00600064
    EMIF_EXT_PHY_STATUS_21 = 0x0115007e
    EMIF_EXT_PHY_STATUS_22 = 0x019f0044
    EMIF_EXT_PHY_STATUS_23 = 0x02de0037
    EMIF_EXT_PHY_STATUS_24 = 0x01fc004b
    EMIF_EXT_PHY_STATUS_25 = 0x00400044
    EMIF_EXT_PHY_STATUS_26 = 0x00f5005e
    EMIF_EXT_PHY_STATUS_27 = 0x11f11111
    EMIF_EXT_PHY_STATUS_28 = 0x00000000
    
    ********************** EMIF2 **********************
    
    CTRL_CORE_CONTROL_DDRCACH2_0 = 0x80808080
    ddr2_casn, ddr2_rasn, ddr2_rst, ddr2_wen, ddr2_csn[0], ddr2_cke, ddr2_odt[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr2_a[15:0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr2_ba[0], ddr2_ba[1], ddr2_ba[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr2_ck, ddr2_nck
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    
    CTRL_CORE_CONTROL_DDRCH2_0 = 0x40404040
    ddr2_d[7:0], ddr2_dqm[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_dqs[0], ddr2_dqsn[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_d[15:8], ddr2_dqm[1]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_dqs[1], ddr2_dqsn[1]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    
    CTRL_CORE_CONTROL_DDRCH2_1 = 0x40404040
    ddr2_d[23:16], ddr2_dqm[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_dqs[2], ddr2_dqsn[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_d[31:24], ddr2_dqm[3]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_dqs[3], ddr2_dqsn[3]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    
    CTRL_CORE_CONTROL_DDRIO_1 = 0x00000000
    ddr2_d[7:0], ddr2_d[15:8]
      * Internal VREF disabled
    ddr2_d[23:16], ddr2_d[31:24]
      * Internal VREF disabled
    
    CTRL_WKUP_EMIF2_SDRAM_CONFIG_EXT = 0x0001c123
    EMIF_STATUS = 0x40000004
    
    EMIF_SDRAM_CONFIG = 0x60812031
    EMIF_SDRAM_CONFIG_2 = 0x00000010
    EMIF_SDRAM_REFRESH_CONTROL = 0x8000061b
    EMIF_SDRAM_TIMING_1 = 0x1c000000
    EMIF_SDRAM_TIMING_2 = 0x00000000
    EMIF_SDRAM_TIMING_3 = 0x000f8120
    EMIF_READ_WRITE_LEVELING_RAMP_WINDOW = 0x00000000
    EMIF_READ_WRITE_LEVELING_RAMP_CONTROL = 0x00000000
    EMIF_READ_WRITE_LEVELING_CONTROL = 0x00000000
    EMIF_DDR_PHY_CONTROL_1 = 0x0000081e
      * Bits 4:0 READ_LATENCY = 30
      * Bit 9 PHY_FAST_DLL_LOCK = 0
      * Bits 17:10 PHY_DLL_LOCK_DIFF = 2
      * Bit 18 PHY_INVERT_CLKOUT = 0
      * Bit 19 PHY_DIS_CALIB_RST = 0
      * Bit 20 PHY_CLK_STALL_LEVEL = 0
      * Bit 21 PHY_HALF_DELAYS = 0
      * Bit 25 WRLVL_MASK = 0
      * Bit 26 RDLVLGATE_MASK = 0
      * Bit 27 RDLVL_MASK = 0
    
    EMIF_EXT_PHY_CONTROL_1  = 0x04020080
    EMIF_EXT_PHY_CONTROL_2  = 0x00000000
    EMIF_EXT_PHY_CONTROL_3  = 0x00000000
    EMIF_EXT_PHY_CONTROL_4  = 0x00000000
    EMIF_EXT_PHY_CONTROL_5  = 0x00000000
    EMIF_EXT_PHY_CONTROL_6  = 0x00000000
    EMIF_EXT_PHY_CONTROL_7  = 0x00400040
    EMIF_EXT_PHY_CONTROL_8  = 0x00400040
    EMIF_EXT_PHY_CONTROL_9  = 0x00400040
    EMIF_EXT_PHY_CONTROL_10 = 0x00400040
    EMIF_EXT_PHY_CONTROL_11 = 0x00400040
    EMIF_EXT_PHY_CONTROL_12 = 0x00400040
    EMIF_EXT_PHY_CONTROL_13 = 0x00400040
    EMIF_EXT_PHY_CONTROL_14 = 0x00400040
    EMIF_EXT_PHY_CONTROL_15 = 0x00400040
    EMIF_EXT_PHY_CONTROL_16 = 0x00400040
    EMIF_EXT_PHY_CONTROL_17 = 0x00000000
    EMIF_EXT_PHY_CONTROL_18 = 0x00000000
    EMIF_EXT_PHY_CONTROL_19 = 0x00000000
    EMIF_EXT_PHY_CONTROL_20 = 0x00000000
    EMIF_EXT_PHY_CONTROL_21 = 0x00000000
    EMIF_EXT_PHY_CONTROL_22 = 0x00800080
    EMIF_EXT_PHY_CONTROL_23 = 0x00800080
    EMIF_EXT_PHY_CONTROL_24 = 0x00010080
    EMIF_EXT_PHY_CONTROL_25 = 0x00000000
    EMIF_EXT_PHY_CONTROL_26 = 0x01500150
    EMIF_EXT_PHY_CONTROL_27 = 0x01500150
    EMIF_EXT_PHY_CONTROL_28 = 0x01500150
    EMIF_EXT_PHY_CONTROL_29 = 0x01500150
    EMIF_EXT_PHY_CONTROL_30 = 0x01500150
    EMIF_EXT_PHY_CONTROL_31 = 0x00000000
    EMIF_EXT_PHY_CONTROL_32 = 0x00000000
    EMIF_EXT_PHY_CONTROL_33 = 0x00000000
    EMIF_EXT_PHY_CONTROL_34 = 0x00000000
    EMIF_EXT_PHY_CONTROL_35 = 0x00000000
    EMIF_EXT_PHY_CONTROL_36 = 0x00000077
    
    EMIF_EXT_PHY_STATUS_1  = 0x000d91f3
    EMIF_EXT_PHY_STATUS_2  = 0xd36db6dd
    EMIF_EXT_PHY_STATUS_3  = 0x00000006
    EMIF_EXT_PHY_STATUS_4  = 0x00020000
    EMIF_EXT_PHY_STATUS_5  = 0x00009999
    EMIF_EXT_PHY_STATUS_6  = 0x00000924
    EMIF_EXT_PHY_STATUS_7  = 0x00000000
    EMIF_EXT_PHY_STATUS_8  = 0x00000000
    EMIF_EXT_PHY_STATUS_9  = 0x00000000
    EMIF_EXT_PHY_STATUS_10 = 0x00000000
    EMIF_EXT_PHY_STATUS_11 = 0x00000000
    EMIF_EXT_PHY_STATUS_12 = 0x07000700
    EMIF_EXT_PHY_STATUS_13 = 0x07000700
    EMIF_EXT_PHY_STATUS_14 = 0x07000700
    EMIF_EXT_PHY_STATUS_15 = 0x07000700
    EMIF_EXT_PHY_STATUS_16 = 0x00000000
    EMIF_EXT_PHY_STATUS_17 = 0x025f01a5
    EMIF_EXT_PHY_STATUS_18 = 0x031603be
    EMIF_EXT_PHY_STATUS_19 = 0x031603be
    EMIF_EXT_PHY_STATUS_20 = 0x03b703b6
    EMIF_EXT_PHY_STATUS_21 = 0x00000000
    EMIF_EXT_PHY_STATUS_22 = 0x025f01a5
    EMIF_EXT_PHY_STATUS_23 = 0x031603be
    EMIF_EXT_PHY_STATUS_24 = 0x0172037e
    EMIF_EXT_PHY_STATUS_25 = 0x03b703b6
    EMIF_EXT_PHY_STATUS_26 = 0x00000000
    EMIF_EXT_PHY_STATUS_27 = 0x10f00000
    EMIF_EXT_PHY_STATUS_28 = 0x00000000
    
    

    Thank you 

  • I see a couple issues here:

    CTRL_WKUP_EMIF1_SDRAM_CONFIG_EXT = 0x0001c123
      * Bit 16: EMIF1_EN_ECC = 1
    EMIF_ECC_CTRL_REG = 0xc0000001
      * Bit 31: reg_ecc_en = 1
      * Bit 30: reg_ecc_addr_rgn_prot = 1
      * Bit 29: reg_ecc_verify_dis = 0, enable ECC verification on reads (normal)
      * Bit 28: WARNING, reg_rmw_en is expected to be enabled when using ECC
      * Bit 1: reg_ecc_addr_rgn_2_en = 0
      * Bit 0: reg_ecc_addr_rgn_1_en = 1
    EMIF_ECC_ADDRESS_RANGE_1 = 0x0fff0000
    EMIF_ECC_ADDRESS_RANGE_2 = 0x00000000
      -> ECC Region 1 is enabled to protect inside the address range 0x80000000 to 0x8fffffff
      -> ECC Region 2 is disabled.
    EMIF_1B_ECC_ERR_CNT = 0x00000000
    EMIF_1B_ECC_ERR_THRSH = 0x00000000
    EMIF_1B_ECC_ERR_DIST_1 = 0x00000000
    EMIF_1B_ECC_ERR_DIST_1 = 0x00000000
    EMIF_2B_ECC_ERR_ADDR_LOG = 0x00000000
    EMIF_STATUS = 0x40000004

    1. You need to set bit 28 of EMIF_ECC_CTRL_REG.  I suspect you're using an out-dated version of the EMIF spreadsheet.  This was something we fixed long ago. 

    2. It looks like ECC is only being applied to 256MB of your memory.

    Please configure the following:

        .emif_ecc_ctrl_reg = 0xD0000003,        
        .emif_ecc_address_range_1 = 0x3FFF0000,        
        .emif_ecc_address_range_2 = 0x7FFF4000,        

    That will enable the read-modify-write capability which is likely the main issue.  It will also extend ECC coverage to the full 2GB of memory.  I expect that will resolve your issues.  Please collect one last set of logs even if things are working.

    Best regards,
    Brad

  • Hi Brad, 

    After this configuration the board hanged here, 

    NG-WCP SPL 1 .0.0 (Apr 20 2021 - 21:18:38)
    DRA762-GP ES1.0 ABZ package
    Trying to boot from SPI


    NG-WCP U-Boot Version 1 .0.0 (Apr 20 2021 - 21:18:38 +0530)

    CPU : DRA762-GP ES1.0 ABZ package
    Model: TI AM5748 IDK
    Board: NG-WCP CBB Revision 1
    DRAM: 2 GiB

    ********************** DPLL_DDR **********************
    
    CTRL_CORE_BOOTSTRAP = 0x00008106
      * SPEEDSELECT = 20 MHz
    CM_CLKSEL_DPLL_DDR = 0x00014d04
      * DPLL_MULT = 333 (x333)
      * DPLL_DIV = 4 (/5)
    CM_DIV_M2_DPLL_DDR = 0x00000202
      * CLKST = 1: M2 output clock enabled
      * DIVHS = 2 (/2)
    CM_DIV_H11_DPLL_DDR = 0x00000208
      * CLKST = 1: H11 output clock enabled
      * DIVHS = 8 (/8)
    
    DPLL_DDR Summary
     -> F_input = 20 MHz
     -> F_dpll_ddr = 2664 MHz
     -> CLKOUT_M2 = EMIF_PHY_GCLK = 666 MHz
     -> CLKOUTX2_H11 = EMIF_DLL_GCLK = 333 MHz
    
    ********************** DMM - LISA **********************
    
    DMM_LISA_MAP_0 = 0x00000000
    DMM_LISA_MAP_1 = 0x00000000
    DMM_LISA_MAP_2 = 0x80700100
      * System Address Mapping = 0x80000000
      * Section Size = 2048 MB
      * Mapped to EMIF1
    DMM_LISA_MAP_3 = 0xff020100
      * System Address Mapping = 0xff000000
      * Section Size = 16 MB
      * Mapped to EMIF1
    
    ********************** EMIF1 **********************
    
    CTRL_CORE_CONTROL_DDRCACH1_0 = 0x80808080
    ddr1_casn, ddr1_rasn, ddr1_rst, ddr1_wen, ddr1_csn[0], ddr1_cke, ddr1_odt[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr1_a[15:0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr1_ba[0], ddr1_ba[1], ddr1_ba[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr1_ck, ddr1_nck
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    
    CTRL_CORE_CONTROL_DDRCH1_0 = 0x40404040
    ddr1_d[7:0], ddr1_dqm[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_dqs[0], ddr1_dqsn[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_d[15:8], ddr1_dqm[1]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_dqs[1], ddr1_dqsn[1]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    
    CTRL_CORE_CONTROL_DDRCH1_1 = 0x40404040
    ddr1_d[23:16], ddr1_dqm[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_dqs[2], ddr1_dqsn[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_d[31:24], ddr1_dqm[3]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_dqs[3], ddr1_dqsn[3]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    
    CTRL_CORE_CONTROL_DDRCH1_2 = 0x00404000
    ddr1_ecc_d[7:0], ddr1_dqm_ecc
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_dqs_ecc, ddr1_dqsn_ecc
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    
    CTRL_CORE_CONTROL_DDRIO_0 = 0x00094a40
    ddr1_d[7:0], ddr1_d[15:8]
      * Internal VREF disabled
    ddr1_d[23:16], ddr1_d[31:24], ddr1_ecc_d[7:0]
      * Internal VREF disabled
    
    CTRL_WKUP_EMIF1_SDRAM_CONFIG_EXT = 0x0001c123
      * Bit 16: EMIF1_EN_ECC = 1
    EMIF_ECC_CTRL_REG = 0xd0000003
      * Bit 31: reg_ecc_en = 1
      * Bit 30: reg_ecc_addr_rgn_prot = 1
      * Bit 29: reg_ecc_verify_dis = 0, enable ECC verification on reads (normal)
      * Bit 28: reg_rmw_en=1,  this is the recommended configuration when using ECC
      * Bit 1: reg_ecc_addr_rgn_2_en = 1
      * Bit 0: reg_ecc_addr_rgn_1_en = 1
    EMIF_ECC_ADDRESS_RANGE_1 = 0x3fff0000
    EMIF_ECC_ADDRESS_RANGE_2 = 0x7fff4000
      -> ECC Region 1 is enabled to protect inside the address range 0x80000000 to 0xbfffffff
      -> ECC Region 2 is enabled to protect inside the address range 0xc0000000 to 0xffffffff
    EMIF_1B_ECC_ERR_CNT = 0x00000049
    EMIF_1B_ECC_ERR_THRSH = 0x00000000
    EMIF_1B_ECC_ERR_DIST_1 = 0x88808004
    EMIF_1B_ECC_ERR_DIST_1 = 0x7efff020
    EMIF_2B_ECC_ERR_ADDR_LOG = 0x7efff020
    EMIF_STATUS = 0x40000004
    
    EMIF_SDRAM_CONFIG = 0x61862bb2
    EMIF_SDRAM_CONFIG_2 = 0x00000000
    EMIF_SDRAM_REFRESH_CONTROL = 0x10000a25
    EMIF_SDRAM_TIMING_1 = 0xd3337834
    EMIF_SDRAM_TIMING_2 = 0x30ef7fe3
    EMIF_SDRAM_TIMING_3 = 0x409f8e98
    EMIF_READ_WRITE_LEVELING_RAMP_WINDOW = 0x00000000
    EMIF_READ_WRITE_LEVELING_RAMP_CONTROL = 0x00000000
    EMIF_READ_WRITE_LEVELING_CONTROL = 0x00000000
    EMIF_DDR_PHY_CONTROL_1 = 0x0e24400e
      * Bits 4:0 READ_LATENCY = 14
      * Bit 9 PHY_FAST_DLL_LOCK = 0
      * Bits 17:10 PHY_DLL_LOCK_DIFF = 16
      * Bit 18 PHY_INVERT_CLKOUT = 1
      * Bit 19 PHY_DIS_CALIB_RST = 0
      * Bit 20 PHY_CLK_STALL_LEVEL = 0
      * Bit 21 PHY_HALF_DELAYS = 1
      * Bit 25 WRLVL_MASK = 1
      * Bit 26 RDLVLGATE_MASK = 1
      * Bit 27 RDLVL_MASK = 1
    
    EMIF_EXT_PHY_CONTROL_1  = 0x10040100
    EMIF_EXT_PHY_CONTROL_2  = 0x07000091
    EMIF_EXT_PHY_CONTROL_3  = 0x07000099
    EMIF_EXT_PHY_CONTROL_4  = 0x070000a7
    EMIF_EXT_PHY_CONTROL_5  = 0x070000ae
    EMIF_EXT_PHY_CONTROL_6  = 0x070000c1
    EMIF_EXT_PHY_CONTROL_7  = 0x0000003f
    EMIF_EXT_PHY_CONTROL_8  = 0x00000037
    EMIF_EXT_PHY_CONTROL_9  = 0x00000039
    EMIF_EXT_PHY_CONTROL_10 = 0x00000038
    EMIF_EXT_PHY_CONTROL_11 = 0x0000003a
    EMIF_EXT_PHY_CONTROL_12 = 0x01bb0064
    EMIF_EXT_PHY_CONTROL_13 = 0x02fc0057
    EMIF_EXT_PHY_CONTROL_14 = 0x01f4006c
    EMIF_EXT_PHY_CONTROL_15 = 0x00200064
    EMIF_EXT_PHY_CONTROL_16 = 0x00d5007e
    EMIF_EXT_PHY_CONTROL_17 = 0x019b0044
    EMIF_EXT_PHY_CONTROL_18 = 0x02dc0037
    EMIF_EXT_PHY_CONTROL_19 = 0x01d4004c
    EMIF_EXT_PHY_CONTROL_20 = 0x00000044
    EMIF_EXT_PHY_CONTROL_21 = 0x00b5005e
    EMIF_EXT_PHY_CONTROL_22 = 0x00000000
    EMIF_EXT_PHY_CONTROL_23 = 0x00600020
    EMIF_EXT_PHY_CONTROL_24 = 0x40011080
    EMIF_EXT_PHY_CONTROL_25 = 0x08102040
    EMIF_EXT_PHY_CONTROL_26 = 0x00000000
    EMIF_EXT_PHY_CONTROL_27 = 0x00000000
    EMIF_EXT_PHY_CONTROL_28 = 0x00000000
    EMIF_EXT_PHY_CONTROL_29 = 0x00000000
    EMIF_EXT_PHY_CONTROL_30 = 0x00000000
    EMIF_EXT_PHY_CONTROL_31 = 0x00000000
    EMIF_EXT_PHY_CONTROL_32 = 0x00000000
    EMIF_EXT_PHY_CONTROL_33 = 0x00000000
    EMIF_EXT_PHY_CONTROL_34 = 0x00000000
    EMIF_EXT_PHY_CONTROL_35 = 0x00000000
    EMIF_EXT_PHY_CONTROL_36 = 0x00000177
    
    EMIF_EXT_PHY_STATUS_1  = 0x000da1f3
    EMIF_EXT_PHY_STATUS_2  = 0xd365c2db
    EMIF_EXT_PHY_STATUS_3  = 0x00000d96
    EMIF_EXT_PHY_STATUS_4  = 0x00120000
    EMIF_EXT_PHY_STATUS_5  = 0x00099999
    EMIF_EXT_PHY_STATUS_6  = 0x00004924
    EMIF_EXT_PHY_STATUS_7  = 0x0000003f
    EMIF_EXT_PHY_STATUS_8  = 0x00000037
    EMIF_EXT_PHY_STATUS_9  = 0x00000039
    EMIF_EXT_PHY_STATUS_10 = 0x00000038
    EMIF_EXT_PHY_STATUS_11 = 0x0000003a
    EMIF_EXT_PHY_STATUS_12 = 0x07000091
    EMIF_EXT_PHY_STATUS_13 = 0x07000099
    EMIF_EXT_PHY_STATUS_14 = 0x070000a7
    EMIF_EXT_PHY_STATUS_15 = 0x070000ae
    EMIF_EXT_PHY_STATUS_16 = 0x070000c1
    EMIF_EXT_PHY_STATUS_17 = 0x01bb0064
    EMIF_EXT_PHY_STATUS_18 = 0x02fc0057
    EMIF_EXT_PHY_STATUS_19 = 0x02dc0037
    EMIF_EXT_PHY_STATUS_20 = 0x00200064
    EMIF_EXT_PHY_STATUS_21 = 0x00d5007e
    EMIF_EXT_PHY_STATUS_22 = 0x019b0044
    EMIF_EXT_PHY_STATUS_23 = 0x02dc0037
    EMIF_EXT_PHY_STATUS_24 = 0x01d4004c
    EMIF_EXT_PHY_STATUS_25 = 0x00000044
    EMIF_EXT_PHY_STATUS_26 = 0x00b5005e
    EMIF_EXT_PHY_STATUS_27 = 0x11f11011
    EMIF_EXT_PHY_STATUS_28 = 0x00000000
    
    ********************** EMIF2 **********************
    
    CTRL_CORE_CONTROL_DDRCACH2_0 = 0x80808080
    ddr2_casn, ddr2_rasn, ddr2_rst, ddr2_wen, ddr2_csn[0], ddr2_cke, ddr2_odt[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr2_a[15:0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr2_ba[0], ddr2_ba[1], ddr2_ba[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr2_ck, ddr2_nck
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    
    CTRL_CORE_CONTROL_DDRCH2_0 = 0x40404040
    ddr2_d[7:0], ddr2_dqm[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_dqs[0], ddr2_dqsn[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_d[15:8], ddr2_dqm[1]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_dqs[1], ddr2_dqsn[1]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    
    CTRL_CORE_CONTROL_DDRCH2_1 = 0x40404040
    ddr2_d[23:16], ddr2_dqm[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_dqs[2], ddr2_dqsn[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_d[31:24], ddr2_dqm[3]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_dqs[3], ddr2_dqsn[3]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    
    CTRL_CORE_CONTROL_DDRIO_1 = 0x00000000
    ddr2_d[7:0], ddr2_d[15:8]
      * Internal VREF disabled
    ddr2_d[23:16], ddr2_d[31:24]
      * Internal VREF disabled
    
    CTRL_WKUP_EMIF2_SDRAM_CONFIG_EXT = 0x0001c123
    EMIF_STATUS = 0x40000004
    
    EMIF_SDRAM_CONFIG = 0x60812031
    EMIF_SDRAM_CONFIG_2 = 0x00000010
    EMIF_SDRAM_REFRESH_CONTROL = 0x8000061b
    EMIF_SDRAM_TIMING_1 = 0x1c000000
    EMIF_SDRAM_TIMING_2 = 0x00000000
    EMIF_SDRAM_TIMING_3 = 0x000f8120
    EMIF_READ_WRITE_LEVELING_RAMP_WINDOW = 0x00000000
    EMIF_READ_WRITE_LEVELING_RAMP_CONTROL = 0x00000000
    EMIF_READ_WRITE_LEVELING_CONTROL = 0x00000000
    EMIF_DDR_PHY_CONTROL_1 = 0x0000081e
      * Bits 4:0 READ_LATENCY = 30
      * Bit 9 PHY_FAST_DLL_LOCK = 0
      * Bits 17:10 PHY_DLL_LOCK_DIFF = 2
      * Bit 18 PHY_INVERT_CLKOUT = 0
      * Bit 19 PHY_DIS_CALIB_RST = 0
      * Bit 20 PHY_CLK_STALL_LEVEL = 0
      * Bit 21 PHY_HALF_DELAYS = 0
      * Bit 25 WRLVL_MASK = 0
      * Bit 26 RDLVLGATE_MASK = 0
      * Bit 27 RDLVL_MASK = 0
    
    EMIF_EXT_PHY_CONTROL_1  = 0x04020080
    EMIF_EXT_PHY_CONTROL_2  = 0x00000000
    EMIF_EXT_PHY_CONTROL_3  = 0x00000000
    EMIF_EXT_PHY_CONTROL_4  = 0x00000000
    EMIF_EXT_PHY_CONTROL_5  = 0x00000000
    EMIF_EXT_PHY_CONTROL_6  = 0x00000000
    EMIF_EXT_PHY_CONTROL_7  = 0x00400040
    EMIF_EXT_PHY_CONTROL_8  = 0x00400040
    EMIF_EXT_PHY_CONTROL_9  = 0x00400040
    EMIF_EXT_PHY_CONTROL_10 = 0x00400040
    EMIF_EXT_PHY_CONTROL_11 = 0x00400040
    EMIF_EXT_PHY_CONTROL_12 = 0x00400040
    EMIF_EXT_PHY_CONTROL_13 = 0x00400040
    EMIF_EXT_PHY_CONTROL_14 = 0x00400040
    EMIF_EXT_PHY_CONTROL_15 = 0x00400040
    EMIF_EXT_PHY_CONTROL_16 = 0x00400040
    EMIF_EXT_PHY_CONTROL_17 = 0x00000000
    EMIF_EXT_PHY_CONTROL_18 = 0x00000000
    EMIF_EXT_PHY_CONTROL_19 = 0x00000000
    EMIF_EXT_PHY_CONTROL_20 = 0x00000000
    EMIF_EXT_PHY_CONTROL_21 = 0x00000000
    EMIF_EXT_PHY_CONTROL_22 = 0x00800080
    EMIF_EXT_PHY_CONTROL_23 = 0x00800080
    EMIF_EXT_PHY_CONTROL_24 = 0x00010080
    EMIF_EXT_PHY_CONTROL_25 = 0x00000000
    EMIF_EXT_PHY_CONTROL_26 = 0x01500150
    EMIF_EXT_PHY_CONTROL_27 = 0x01500150
    EMIF_EXT_PHY_CONTROL_28 = 0x01500150
    EMIF_EXT_PHY_CONTROL_29 = 0x01500150
    EMIF_EXT_PHY_CONTROL_30 = 0x01500150
    EMIF_EXT_PHY_CONTROL_31 = 0x00000000
    EMIF_EXT_PHY_CONTROL_32 = 0x00000000
    EMIF_EXT_PHY_CONTROL_33 = 0x00000000
    EMIF_EXT_PHY_CONTROL_34 = 0x00000000
    EMIF_EXT_PHY_CONTROL_35 = 0x00000000
    EMIF_EXT_PHY_CONTROL_36 = 0x00000077
    
    EMIF_EXT_PHY_STATUS_1  = 0x000da1f3
    EMIF_EXT_PHY_STATUS_2  = 0xd36db8dd
    EMIF_EXT_PHY_STATUS_3  = 0x00000006
    EMIF_EXT_PHY_STATUS_4  = 0x00020000
    EMIF_EXT_PHY_STATUS_5  = 0x00009999
    EMIF_EXT_PHY_STATUS_6  = 0x00000924
    EMIF_EXT_PHY_STATUS_7  = 0x00000000
    EMIF_EXT_PHY_STATUS_8  = 0x00000000
    EMIF_EXT_PHY_STATUS_9  = 0x00000000
    EMIF_EXT_PHY_STATUS_10 = 0x00000000
    EMIF_EXT_PHY_STATUS_11 = 0x00000000
    EMIF_EXT_PHY_STATUS_12 = 0x07000700
    EMIF_EXT_PHY_STATUS_13 = 0x07000700
    EMIF_EXT_PHY_STATUS_14 = 0x07000700
    EMIF_EXT_PHY_STATUS_15 = 0x07000700
    EMIF_EXT_PHY_STATUS_16 = 0x00000000
    EMIF_EXT_PHY_STATUS_17 = 0x02df03b3
    EMIF_EXT_PHY_STATUS_18 = 0x023603af
    EMIF_EXT_PHY_STATUS_19 = 0x023603af
    EMIF_EXT_PHY_STATUS_20 = 0x03b702a6
    EMIF_EXT_PHY_STATUS_21 = 0x00000000
    EMIF_EXT_PHY_STATUS_22 = 0x02df03b3
    EMIF_EXT_PHY_STATUS_23 = 0x023603af
    EMIF_EXT_PHY_STATUS_24 = 0x01f2037e
    EMIF_EXT_PHY_STATUS_25 = 0x03b702a6
    EMIF_EXT_PHY_STATUS_26 = 0x00000000
    EMIF_EXT_PHY_STATUS_27 = 0x10f00000
    EMIF_EXT_PHY_STATUS_28 = 0x00000000
    
    

    And the dump file

    Thank you

    Deepak H M

  • Please replace this LISA mapping with 0x00000000:

    DMM_LISA_MAP_3 = 0xff020100
      * System Address Mapping = 0xff000000
      * Section Size = 16 MB
      * Mapped to EMIF1

  • One other thought, you need to ensure that software does not try to access (read) uninitialized memory when using ECC. 

    If you are not already, can you try initializing (writing) the DRAM contents to a known value (ex: write 0x0 to full DDR address space) immediately after the initialization sequence completes?

    Thanks,
    Kevin

  • Hi Brad, 

    With this changes system boots but I am seeing kernel crashes, with the error Unhandled fault: asynchronous external abort

    NG-WCP  SPL 1 .0.0  (Apr 20 2021 - 23:10:10)
    DRA762-GP ES1.0 ABZ package
    Trying to boot from SPI
    
    
    NG-WCP U-Boot Version 1 .0.0  (Apr 20 2021 - 23:10:10 +0530)
    
    CPU  : DRA762-GP ES1.0 ABZ package
    Model: TI AM5748 IDK
    Board: NG-WCP CBB Revision 1
    DRAM:  2 GiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1, OMAP SD/MMC: 2
    Net:   eth0: ethernet@48484000
    Hit any key to stop autoboot:  0
    Trying to boot Linux from eMMC Partition 2...
    switch to partitions #0, OK
    mmc2(part 0) is current device
    SD/MMC found on device 2
    3351040 bytes read in 223 ms (14.3 MiB/s)
    99528 bytes read in 13 ms (7.3 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe4000, end 8ffff4c7 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.40-g4796173fc5 (deepak@Deepak-PC) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #2 SMP PREEMPT Wed Feb 24 17:20:09 IST 2021
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [    0.000000] CPU: div instructions available: patching division code
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM5748 IDK
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
    [    0.000000] OF: reserved mem: initialized node dsp2-memory@9f000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
    [    0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier
    [    0.000000] Hit pending asynchronous external abort (FSR=0x00001211) during first unmask, this is most likely caused by a firmware/bootloader bug.
    [    0.000000] DRA762 ES1.0
    [    0.000000] percpu: Embedded 15 pages/cpu @eed34000 s31308 r8192 d21940 u61440
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 472640
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=d76c4e6d-03 rw rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 1677820K/1897472K available (8192K kernel code, 238K rwdata, 1724K rodata, 2048K init, 277K bss, 31236K reserved, 188416K cma-reserved, 1283072K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc0a00000   (10208 kB)
    [    0.000000]       .init : 0xc0c00000 - 0xc0e00000   (2048 kB)
    [    0.000000]       .data : 0xc0e00000 - 0xc0e3bbb0   ( 239 kB)
    [    0.000000]        .bss : 0xc0e3d000 - 0xc0e82764   ( 278 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Tasks RCU enabled.
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
    [    0.000007] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000025] Switching to timer-based delay loop, resolution 162ns
    [    0.000504] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000516] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.001189] Console: colour dummy device 80x30
    [    0.001212] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.001222] This ensures that you still see kernel messages. Please
    [    0.001232] update your kernel commandline.
    [    0.001262] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.001284] pid_max: default: 32768 minimum: 301
    [    0.001414] Security Framework initialized
    [    0.001473] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001492] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.002280] CPU: Testing write buffer coherency: ok
    [    0.002600] CPU0: update cpu_capacity 1024
    [    0.002615] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.039792] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.059802] Hierarchical SRCU implementation.
    [    0.080081] EFI services will not be available.
    [    0.099885] smp: Bringing up secondary CPUs ...
    [    0.170299] CPU1: update cpu_capacity 1024
    [    0.170308] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.170440] smp: Brought up 1 node, 2 CPUs
    [    0.170464] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.170475] CPU: All CPU(s) started in HYP mode.
    [    0.170485] CPU: Virtualization extensions available.
    [    0.171225] devtmpfs: initialized
    [    0.196569] random: get_random_u32 called from bucket_table_alloc+0x108/0x230 with crng_init=0
    [    0.196891] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.197169] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.197192] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.202741] xor: measuring software checksum speed
    [    0.300234]    arm4regs  :  1349.200 MB/sec
    [    0.400333]    8regs     :  1025.600 MB/sec
    [    0.500439]    32regs    :  1025.600 MB/sec
    [    0.600544]    neon      :  1983.200 MB/sec
    [    0.600557] xor: using function: neon (1983.200 MB/sec)
    [    0.600575] pinctrl core: initialized pinctrl subsystem
    [    0.601224] DMI not present or invalid.
    [    0.601580] NET: Registered protocol family 16
    [    0.603062] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.604205] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.838858] cpuidle: using governor ladder
    [    0.838908] cpuidle: using governor menu
    [    0.850109] OMAP GPIO hardware version 0.1
    [    0.889849] No ATAGs?
    [    0.889952] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.889972] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.890497] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.890513] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.891279] OMAP DMA hardware revision 0.0
    [    1.061505] raid6: int32x1  gen()   135 MB/s
    [    1.231488] raid6: int32x1  xor()   122 MB/s
    [    1.401814] raid6: int32x2  gen()   221 MB/s
    [    1.571904] raid6: int32x2  xor()   183 MB/s
    [    1.742117] raid6: int32x4  gen()   280 MB/s
    [    1.912175] raid6: int32x4  xor()   195 MB/s
    [    2.082280] raid6: int32x8  gen()   309 MB/s
    [    2.252435] raid6: int32x8  xor()   205 MB/s
    [    2.422722] raid6: neonx1   gen()   580 MB/s
    [    2.592804] raid6: neonx1   xor()   687 MB/s
    [    2.762980] raid6: neonx2   gen()   863 MB/s
    [    2.933139] raid6: neonx2   xor()   999 MB/s
    [    3.103319] raid6: neonx4   gen()  1278 MB/s
    [    3.273463] raid6: neonx4   xor()  1146 MB/s
    [    3.443607] raid6: neonx8   gen()  1139 MB/s
    [    3.613765] raid6: neonx8   xor()  1015 MB/s
    [    3.613776] raid6: using algorithm neonx4 gen() 1278 MB/s
    [    3.613788] raid6: .... xor() 1146 MB/s, rmw enabled
    [    3.613799] raid6: using neon recovery algorithm
    [    3.618011] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    3.618313] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    3.618676] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    3.619020] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    3.619526] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    3.619836] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    3.620175] iommu: Adding device 58820000.ipu to group 1
    [    3.620287] iommu: Adding device 55020000.ipu to group 2
    [    3.620490] iommu: Adding device 40800000.dsp to group 0
    [    3.620833] iommu: Adding device 41000000.dsp to group 3
    [    3.622145] palmas 0-0058: Irq flag is 0x00000004
    [    3.655018] palmas 0-0058: Muxing GPIO 2b, PWM 0, LED 0
    [    3.656961] SMPS12: supplied by regulator-dummy
    [    3.658950] SMPS3: supplied by VMAIN
    [    3.660737] SMPS45: supplied by regulator-dummy
    [    3.662841] SMPS6: supplied by VMAIN
    [    3.664798] SMPS7: supplied by VMAIN
    [    3.666887] SMPS8: supplied by VMAIN
    [    3.668391] SMPS9: supplied by VMAIN
    [    3.669557] LDO1: supplied by VMAIN
    [    3.684065] LDO2: supplied by VMAIN
    [    3.684524] random: fast init done
    [    3.703896] LDO3: supplied by VMAIN
    [    3.723940] LDO4: supplied by VMAIN
    [    3.743938] LDO5: supplied by regulator-dummy
    [    3.744788] LDO6: supplied by regulator-dummy
    [    3.745647] LDO7: supplied by regulator-dummy
    [    3.746501] LDO8: supplied by regulator-dummy
    [    3.747382] LDO9: supplied by VMAIN
    [    3.764316] LDOLN: supplied by VMAIN
    [    3.784024] LDOUSB: supplied by VMAIN
    [    3.807153] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    3.807836] omap_i2c 48072000.i2c: bus 1 rev0.12 at 25 kHz
    [    3.808201] dmi: Firmware registration failed.
    [    3.808730] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    3.809126] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    3.809945] NetLabel: Initializing
    [    3.809960] NetLabel:  domain hash size = 128
    [    3.809970] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
    [    3.810058] NetLabel:  unlabeled traffic allowed by default
    [    3.810351] clocksource: Switched to clocksource arch_sys_counter
    [    3.821332] NET: Registered protocol family 2
    [    3.822012] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    3.822107] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    3.822296] TCP: Hash tables configured (established 8192 bind 8192)
    [    3.822396] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    3.822444] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    3.822625] NET: Registered protocol family 1
    [    3.823638] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    3.823958] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    3.825382] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [    3.833510] bounce: pool size: 64 pages
    [    3.833570] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
    [    3.833719] io scheduler noop registered
    [    3.833734] io scheduler deadline registered
    [    3.833959] io scheduler cfq registered (default)
    [    3.833973] io scheduler mq-deadline registered
    [    3.833985] io scheduler kyber registered
    [    3.834959] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    3.848768] V3_3D: supplied by smps9
    [    3.849085] vtt_fixed: supplied by V3_3D
    [    3.913267] HDLC line discipline maxframe=4096
    [    3.913284] N_HDLC line discipline registered.
    [    3.913297] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    3.916864] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 45, base_baud = 3000000) is a 8250
    [    3.917916] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 46, base_baud = 3000000) is a 8250
    [    4.941864] console [ttyS2] enabled
    [    4.946441] 4806e000.serial: ttyS3 at MMIO 0x4806e000 (irq = 47, base_baud = 3000000) is a 8250
    [    4.956307] 48420000.serial: ttyS6 at MMIO 0x48420000 (irq = 48, base_baud = 3000000) is a 8250
    [    4.977090] brd: module loaded
    [    4.988308] loop: module loaded
    [    4.992646] spi spi1.0: not using DMA for McSPI (-19)
    [    4.998106] m25p80 spi1.0: unrecognized JEDEC id bytes: 00, 00, 00
    [    5.005435] ti-qspi 4b300000.qspi: No Rx DMA available, trying mmap mode
    [    5.013436] m25p80 spi0.0: s25fl256s1 (32768 Kbytes)
    [    5.018481] 4 ofpart partitions found on MTD device spi0.0
    [    5.024031] Creating 4 MTD partitions on "spi0.0":
    [    5.028852] 0x000000000000-0x000000040000 : "QSPI.MLO"
    [    5.035275] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [    5.041942] 0x000000140000-0x000000150000 : "QSPI.u-boot-env"
    [    5.048839] 0x0000001d0000-0x0000001e0000 : "QSPI.Private-Space"
    [    5.057176] libphy: Fixed MDIO Bus: probed
    [    5.061713] tun: Universal TUN/TAP device driver, 1.6
    [    5.120398] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    5.128097] davinci_mdio 48485000.mdio: detected phy mask fffffffc
    [    5.159464] libphy: 48485000.mdio: probed
    [    5.163532] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Micrel KSZ9031 Gigabit PHY
    [    5.173262] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
    [    5.183783] cpsw 48484000.ethernet: Detected MACID = 90:9a:77:65:11:0c
    [    5.190452] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [    5.196841] cpsw 48484000.ethernet: ALE Table size 1024
    [    5.202198] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    5.210396] cpsw 48484000.ethernet: cpsw: Detected MACID = 90:9a:77:65:11:0d
    [    5.218747] Driver for 1-wire Dallas network protocol.
    [    5.265348] w1_master_driver w1_bus_master1: Attaching one wire slave 10.000803a23473 crc 9d
    [    5.274871] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [    5.282598] cpu cpu0: dev_pm_opp_set_regulators: no regulator (vdd) found: -19
    [    5.290450] sdhci: Secure Digital Host Controller Interface driver
    [    5.296661] sdhci: Copyright(c) Pierre Ossman
    [    5.301773] sdhci-pltfm: SDHCI platform and OF driver helper
    [    5.308896] sdhci-omap 4809c000.mmc: Got CD GPIO
    [    5.314952] sdhci-omap 4809c000.mmc: no pinctrl state for ddr_1_8v mode
    [    5.321638] sdhci-omap 4809c000.mmc: no pinctrl state for hs200_1_8v mode
    [    5.380653] mmc0: SDHCI controller on 4809c000.mmc [4809c000.mmc] using ADMA
    [    5.450404] mmc1: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
    [    5.460579] sdhci-omap 480ad000.mmc: no pinctrl state for ddr_1_8v mode
    [    5.467332] sdhci-omap 480ad000.mmc: no pinctrl state for hs mode
    [    5.473576] sdhci-omap 480ad000.mmc: no pinctrl state for hs mode
    [    5.479796] sdhci-omap 480ad000.mmc: no pinctrl state for hs200_1_8v mode
    [    5.493271] mmc0: host does not support reading read-only switch, assuming write-enable
    [    5.508111] mmc0: new high speed SDHC card at address aaaa
    [    5.514522] mmcblk0: mmc0:aaaa SS08G 7.40 GiB
    [    5.524248]  mmcblk0: p1 p2
    [    5.540400] mmc2: SDHCI controller on 480ad000.mmc [480ad000.mmc] using PIO
    [    5.550956] NET: Registered protocol family 10
    [    5.568291] Segment Routing with IPv6
    [    5.572137] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    5.578720] NET: Registered protocol family 17
    [    5.583367] omap_voltage_late_init: Voltage driver support not added
    [    5.589755] Power Management for TI OMAP4+ devices.
    [    5.595385] Registering SWP/SWPB emulation handler
    [    5.602049] Btrfs loaded, crc32c=crc32c-generic
    [    5.618125] mmc2: new MMC card at address 0001
    [    5.623606] mmcblk2: mmc2:0001 IS004G 3.64 GiB
    [    5.626968] input: gpio-keys as /devices/platform/gpio-keys/input/input0
    [    5.630484] hctosys: unable to open rtc device (rtc0)
    [    5.641431] mmcblk2boot0: mmc2:0001 IS004G partition 1 2.00 MiB
    [    5.647895] mmcblk2boot1: mmc2:0001 IS004G partition 2 2.00 MiB
    [    5.654374] mmcblk2rpmb: mmc2:0001 IS004G partition 3 512 KiB
    [    5.661858]  mmcblk2: p1 p2 p3
    [    5.696751] EXT4-fs (mmcblk2p3): mounted filesystem with ordered data mode. Opts: (null)
    [    5.704960] VFS: Mounted root (ext4 filesystem) on device 179:19.
    [    5.712296] devtmpfs: mounted
    [    5.717126] Freeing unused kernel memory: 2048K
    [    6.178270] systemd[1]: System time before build time, advancing clock.
    [    6.226555] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELF)
    [    6.248010] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2018.04!
    
    [    6.281265] systemd[1]: Set hostname to <AirlinkWCP>.
    [    6.658049] systemd[1]: Configuration file /lib/systemd/system/sshpipe.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    6.672619] systemd[1]: Configuration file /lib/systemd/system/sshpipe.service is marked world-writable. Please remove world writability permission bits. Proceeding anyway.
    [    6.767513] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.774426] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    6.810524] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.817448] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    6.850535] random: systemd: uninitialized urandom read (16 bytes read)
    [    6.857297] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    6.890836] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    6.930652] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Reached target Swap.
    [  OK  ] Created slice System Slice.
             Starting Load Kernel Modules...
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Created slice system-getty.slice.
    [    7.145580] EXT4-fs (mmcblk2p3): re-mounted. Opts: (null)
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Reached target Paths.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
             Mounting POSIX Message Queue File System...
             Mounting Kernel Debug File System...
    [  OK  ] Listening on Syslog Socket.
             Starting Journal Service...
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on Process Core Dump Socket.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Started Journal Service.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [FAILED] Failed to start Remount Root and Kernel File Systems.
    See 'systemctl status systemd-remount-fs.service' for details.
             Starting Load/Save Random Seed...
             Starting Create Static Device Nodes in /dev...
             Starting udev Coldplug all Devices...
             Mounting Kernel Configuration File System...
             Starting Apply Kernel Variables...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /tmp...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /tmp.
    [    8.294780] systemd-journald[89]: Received request to flush runtime journal from PID 1
    [  OK  ] Reached target Local File Systems.
    [    8.311431] Unhandled fault: synchronous external abort (0x1210) at 0xffeee008
    [    8.311484] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [    8.311490] pgd = ed9069c0
    [    8.311496] [00000000] *pgd=ad901003, *pmd=00000000
    [    8.311515] Internal error: : 1211 [#1] PREEMPT SMP ARM
    [    8.311521] Modules linked in:
    [    8.311535] CPU: 0 PID: 97 Comm: udevadm Not tainted 4.14.40-g4796173fc5 #2
    [    8.311541] Hardware name: Generic DRA74X (Flattened Device Tree)
    [    8.311547] task: ed8e0d80 task.stack: ed922000
    [    8.311564] PC is at generic_fillattr+0xec/0x100
    [    8.311572] LR is at 0xee777948
    [    8.311578] pc : [<c03412cc>]    lr : [<ee777948>]    psr: 400e0013
    [    8.311584] sp : ed923e80  ip : ed923f78  fp : ed923e94
    [    8.311589] r10: 00000000  r9 : ed922000  r8 : ee7778f8
    [    8.311596] r7 : ee074840  r6 : ed923f28  r5 : 00001000  r4 : 00000401
    [    8.311603] r3 : 00000000  r2 : ed923f28  r1 : 60000000  r0 : 00000000
    [    8.311612] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [    8.311618] Control: 30c5387d  Table: ad9069c0  DAC: fffffffd
    [    8.311625] Process udevadm (pid: 97, stack limit = 0xed922210)
    [    8.311631] Stack: (0xed923e80 to 0xed924000)
    [    8.311642] 3e80: c0e1dc34 ee7778f8 ed923eb4 ed923e98 c03a3d68 c03411ec ed923f28 c03a3d1c
    [    8.311651] 3ea0: ed92e848 00000000 ed923edc ed923eb8 c0341344 c03a3d28 ed92e848 ed923f28
    [    8.311661] 3ec0: 000007ff 00000000 000007ff ed922000 ed923efc ed923ee0 c0341394 c03412ec
    [    8.311669] 3ee0: ed92e840 00000000 ed92e840 ed923f28 ed923f24 ed923f00 c03413dc c0341364
    [    8.311678] 3f00: bec7f5e0 0059cea0 0053a014 000000c5 c0207e64 ed922000 ed923fa4 ed923f28
    [    8.311686] 3f20: c0341c94 c03413a4 000007ff 000041ed 00000003 00001000 00000000 00000000
    [    8.311694] 3f40: 00000000 00000000 000036f8 00000000 0000000e 00000000 00000000 00000000
    [    8.311702] 3f60: 00000000 00000000 5b53de97 07bf6d02 5b53de97 07bf6d02 5b53de97 07bf6d02
    [    8.311710] 3f80: 00000000 00000000 00000000 00000000 c033a4b4 0059cf36 00000000 ed923fa8
    [    8.311718] 3fa0: c0207c80 c0341c7c 0059cf36 0059cea0 00000006 bec7f5e0 bec7f5e0 00000000
    [    8.311727] 3fc0: 0059cf36 0059cea0 0053a014 000000c5 00000005 00000006 0054179c bec7f690
    [    8.311735] 3fe0: 000000c5 bec7f5ac b6daed3f b6d3d7e6 200e0030 00000006 00000000 00000000
    [    8.311739] Backtrace:
    [    8.311764] [<c03411e0>] (generic_fillattr) from [<c03a3d68>] (kernfs_iop_getattr+0x4c/0x54)
    [    8.311772]  r5:ee7778f8 r4:c0e1dc34
    [    8.311788] [<c03a3d1c>] (kernfs_iop_getattr) from [<c0341344>] (vfs_getattr_nosec+0x64/0x78)
    [    8.311799]  r7:00000000 r6:ed92e848 r5:c03a3d1c r4:ed923f28
    [    8.311812] [<c03412e0>] (vfs_getattr_nosec) from [<c0341394>] (vfs_getattr+0x3c/0x40)
    [    8.311822]  r9:ed922000 r8:000007ff r7:00000000 r6:000007ff r5:ed923f28 r4:ed92e848
    [    8.311836] [<c0341358>] (vfs_getattr) from [<c03413dc>] (vfs_statx_fd+0x44/0x70)
    [    8.311845]  r7:ed923f28 r6:ed92e840 r5:00000000 r4:ed92e840
    [    8.311859] [<c0341398>] (vfs_statx_fd) from [<c0341c94>] (SyS_fstat64+0x24/0x40)
    [    8.311869]  r9:ed922000 r8:c0207e64 r7:000000c5 r6:0053a014 r5:0059cea0 r4:bec7f5e0
    [    8.311886] [<c0341c70>] (SyS_fstat64) from [<c0207c80>] (ret_fast_syscall+0x0/0x4c)
    [    8.311891]  r4:0059cf36
    [    8.311901] Code: 13c11020 15821000 e593300c e3130b02 (15923010)
    [    8.311911] ---[ end trace e8f5db0ed146b8a3 ]---
    [    8.612909] pgd = edc76180
    [    8.615631] [ffeee008] *pgd=80000080007003, *pmd=affae003, *pte=c00000fcc1171f
    [    8.622912] Internal error: : 1210 [#2] PREEMPT SMP ARM
    [    8.628163] Modules linked in:
    [    8.631245] CPU: 1 PID: 99 Comm: systemd-udevd Tainted: G      D         4.14.40-g4796173fc5 #2
    [    8.639984] Hardware name: Generic DRA74X (Flattened Device Tree)
    [    8.646107] task: ed8e1440 task.stack: ed95e000
    [    8.650668] PC is at __copy_to_user_std+0x4c/0x3c4
    [    8.655485] LR is at copyout+0x38/0x44
    [    8.659254] pc : [<c08095fc>]    lr : [<c054c314>]    psr: 20010013
    [    8.665552] sp : ed95fdec  ip : 00000000  fp : ed95fe1c
    [    8.670802] r10: ed95fee8  r9 : ffeee000  r8 : 00000000
    [    8.676052] r7 : eff2d264  r6 : ed95fef0  r5 : 0000026c  r4 : 0000026c
    [    8.682611] r3 : 00000000  r2 : 000001ec  r1 : ffeee000  r0 : 00508a30
    [    8.689171] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [    8.696342] Control: 30c5387d  Table: adc76180  DAC: 55555555
    [    8.702117] Process systemd-udevd (pid: 99, stack limit = 0xed95e210)
    [    8.708590] Stack: (0xed95fdec to 0xed960000)
    [    8.712971] fde0:                            0000026c ed95fef0 eff2d264 00000000 00508a30
    [    8.721190] fe00: 0000026c 00000000 0000026c c054c314 ed95fe5c ed95fe20 c054f830 c054c2e8
    [    8.729410] fe20: ed8e1440 c02dced4 ffeee000 00508a30 ee6cde40 ed95ff08 ee6cdf34 eff2d264
    [    8.737628] fe40: ed95fef0 edd62480 ee6cde40 00000000 ed95fecc ed95fe60 c02e0678 c054f620
    [    8.745847] fe60: 00000001 edd0a110 ee74ebb0 00010001 014000c0 00080001 00000fff ffffffff
    [    8.754066] fe80: 00000001 edd624e8 ffffe000 becdf260 00000000 00000000 00000000 0000026c
    [    8.762285] fea0: 0000b313 00000000 edd62480 ed95ff78 ed95ff78 00000000 00001000 00000000
    [    8.770504] fec0: ed95fedc ed95fed0 c03bbbb0 c02e0264 ed95ff44 ed95fee0 c033c9a8 c03bbb7c
    [    8.778723] fee0: 00001000 c037db2c 00508a30 00001000 00000000 00000000 00001000 ed95fee8
    [    8.786941] ff00: 00000001 ed95ff10 edd62480 00000000 00000000 00000000 00000000 00000000
    [    8.795160] ff20: 00000000 00000000 00001000 edd62480 00508a30 ed95ff78 ed95ff74 ed95ff48
    [    8.803379] ff40: c033ca84 c033c8dc 00000440 00000000 ed95ff74 edd62480 edd62480 00000000
    [    8.811599] ff60: 00000000 00508a30 ed95ffa4 ed95ff78 c033cf34 c033ca00 00000000 00000000
    [    8.819817] ff80: 0050bf60 b6e24f41 000005e8 00000003 c0207e64 ed95e000 00000000 ed95ffa8
    [    8.828036] ffa0: c0207c80 c033cefc 0050bf60 b6e24f41 00000007 00508a30 00001000 00000000
    [    8.836254] ffc0: 0050bf60 b6e24f41 000005e8 00000003 0000000a becdf734 00000000 00000000
    [    8.844472] ffe0: 00000000 becdf2e4 b6e257e1 b6e604b8 40010030 00000007 00000000 00000000
    [    8.852684] Backtrace:
    [    8.855158] [<c054c2dc>] (copyout) from [<c054f830>] (copy_page_to_iter+0x21c/0x498)
    [    8.862950] [<c054f614>] (copy_page_to_iter) from [<c02e0678>] (generic_file_read_iter+0x420/0x9ac)
    [    8.872044]  r10:00000000 r9:ee6cde40 r8:edd62480 r7:ed95fef0 r6:eff2d264 r5:ee6cdf34
    [    8.879910]  r4:ed95ff08
    [    8.882466] [<c02e0258>] (generic_file_read_iter) from [<c03bbbb0>] (ext4_file_read_iter+0x40/0x4c)
    [    8.891559]  r10:00000000 r9:00001000 r8:00000000 r7:ed95ff78 r6:ed95ff78 r5:edd62480
    [    8.899425]  r4:00000000
    [    8.901979] [<c03bbb70>] (ext4_file_read_iter) from [<c033c9a8>] (__vfs_read+0xd8/0x124)
    [    8.910113] [<c033c8d0>] (__vfs_read) from [<c033ca84>] (vfs_read+0x90/0x114)
    [    8.917285]  r7:ed95ff78 r6:00508a30 r5:edd62480 r4:00001000
    [    8.922978] [<c033c9f4>] (vfs_read) from [<c033cf34>] (SyS_read+0x44/0x98)
    [    8.929890]  r8:00508a30 r7:00000000 r6:00000000 r5:edd62480 r4:edd62480
    [    8.936632] [<c033cef0>] (SyS_read) from [<c0207c80>] (ret_fast_syscall+0x0/0x4c)
    [    8.944154]  r9:ed95e000 r8:c0207e64 r7:00000003 r6:000005e8 r5:b6e24f41 r4:0050bf60
    [    8.951939] Code: ba000002 f5d1f03c f5d1f05c f5d1f07c (e8b151f8)
    [    8.958068] ---[ end trace e8f5db0ed146b8a4 ]---
    [    8.962789] note: systemd-udevd[99] exited with preempt_count 1
    [  OK  ] Started Flush Journal to Persistent Storage.
    [FAILED] Failed to start udev Coldplug all Devices.
    See 'systemctl status systemd-udev-trigger.service' for details.
    [FAILED] Failed to start udev Kernel Device Manager.
    See 'systemctl status systemd-udevd.service' for details.
    [  OK  ] Stopped udev Kernel Device Manager.
    [    9.173856] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [    9.181216] pgd = ee3ea900
    [    9.183947] [00000000] *pgd=add14003, *pmd=00000000
    [    9.189618] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [    9.194624] Unhandled fault: synchronous external abort (0x1210) at 0xffefe008
    [    9.194631] pgd = ed9063c0
    [    9.194636] [ffefe008] *pgd=80000080007003, *pmd=affae003, *pte=c00000fcc1171f
    [    9.194659] Internal error: : 1210 [#3] PREEMPT SMP ARM
    [    9.194664] Modules linked in:
    [    9.194679] CPU: 0 PID: 101 Comm: systemd-udevd Tainted: G      D         4.14.40-g4796173fc5 #2
    [    9.194684] Hardware name: Generic DRA74X (Flattened Device Tree)
    [    9.194690] task: ed8e0d80 task.stack: ed95e000
    [    9.194704] PC is at __copy_to_user_std+0x4c/0x3c4
    [    9.194713] LR is at copyout+0x38/0x44
    [    9.194720] pc : [<c08095fc>]    lr : [<c054c314>]    psr: 20010013
    [    9.194726] sp : ed95fdec  ip : 00000000  fp : ed95fe1c
    [    9.194731] r10: ed95fee8  r9 : ffefe000  r8 : 00000000
    [    9.194738] r7 : eff2d264  r6 : ed95fef0  r5 : 0000026c  r4 : 0000026c
    [    9.194744] r3 : 00000000  r2 : 000001ec  r1 : ffefe000  r0 : 0049fa30
    [    9.194752] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [    9.194758] Control: 30c5387d  Table: ad9063c0  DAC: fffffffd
    [    9.194765] Process systemd-udevd (pid: 101, stack limit = 0xed95e210)
    [    9.194772] Stack: (0xed95fdec to 0xed960000)
    [    9.194781] fde0:                            0000026c ed95fef0 eff2d264 00000000 0049fa30
    [    9.194791] fe00: 0000026c 00000000 0000026c c054c314 ed95fe5c ed95fe20 c054f830 c054c2e8
    [    9.194800] fe20: ed95fe44 ed95fe30 ffefe000 0049fa30 eff2d264 ed95ff08 ee6cdf34 eff2d264
    [    9.194808] fe40: ed95fef0 ed92c900 ee6cde40 00000000 ed95fecc ed95fe60 c02e0678 c054f620
    [    9.194817] fe60: ee6cde40 ed909510 ee74ebb0 ed95fe78 014000c0 00080001 00000fff ffffffff
    [    9.194825] fe80: 00000001 ed92c968 ffffe000 be9f7260 00000000 00000000 00000000 0000026c
    [    9.194834] fea0: 0000b313 00000000 ed92c900 ed95ff78 ed95ff78 00000000 00001000 00000000
    [    9.194843] fec0: ed95fedc ed95fed0 c03bbbb0 c02e0264 ed95ff44 ed95fee0 c033c9a8 c03bbb7c
    [    9.194851] fee0: 00001000 c037db2c 0049fa30 00001000 00000000 00000000 00001000 ed95fee8
    [    9.194859] ff00: 00000001 ed95ff10 ed92c900 00000000 00000000 00000000 00000000 00000000
    [    9.194868] ff20: 00000000 00000000 00001000 ed92c900 0049fa30 ed95ff78 ed95ff74 ed95ff48
    [    9.194876] ff40: c033ca84 c033c8dc 00000440 00000000 ed95ff74 ed92c900 ed92c900 00000000
    [    9.194884] ff60: 00000000 0049fa30 ed95ffa4 ed95ff78 c033cf34 c033ca00 00000000 00000000
    [    9.194892] ff80: 004a2f60 b6e1bf41 000005e8 00000003 c0207e64 ed95e000 00000000 ed95ffa8
    [    9.194900] ffa0: c0207c80 c033cefc 004a2f60 b6e1bf41 00000007 0049fa30 00001000 00000000
    [    9.194908] ffc0: 004a2f60 b6e1bf41 000005e8 00000003 0000000a be9f7734 00000000 00000000
    [    9.194917] ffe0: 00000000 be9f72e4 b6e1c7e1 b6e574b8 40010030 00000007 00000000 00000000
    [    9.194921] Backtrace:
    [    9.194937] [<c054c2dc>] (copyout) from [<c054f830>] (copy_page_to_iter+0x21c/0x498)
    [    9.194955] [<c054f614>] (copy_page_to_iter) from [<c02e0678>] (generic_file_read_iter+0x420/0x9ac)
    [    9.194967]  r10:00000000 r9:ee6cde40 r8:ed92c900 r7:ed95fef0 r6:eff2d264 r5:ee6cdf34
    [    9.194972]  r4:ed95ff08
    [    9.194988] [<c02e0258>] (generic_file_read_iter) from [<c03bbbb0>] (ext4_file_read_iter+0x40/0x4c)
    [    9.194998]  r10:00000000 r9:00001000 r8:00000000 r7:ed95ff78 r6:ed95ff78 r5:ed92c900
    [    9.195002]  r4:00000000
    [    9.195015] [<c03bbb70>] (ext4_file_read_iter) from [<c033c9a8>] (__vfs_read+0xd8/0x124)
    [    9.195026] [<c033c8d0>] (__vfs_read) from [<c033ca84>] (vfs_read+0x90/0x114)
    [    9.195035]  r7:ed95ff78 r6:0049fa30 r5:ed92c900 r4:00001000
    [    9.195046] [<c033c9f4>] (vfs_read) from [<c033cf34>] (SyS_read+0x44/0x98)
    [    9.195054]  r8:0049fa30 r7:00000000 r6:00000000 r5:ed92c900 r4:ed92c900
    [    9.195068] [<c033cef0>] (SyS_read) from [<c0207c80>] (ret_fast_syscall+0x0/0x4c)
    [    9.195077]  r9:ed95e000 r8:c0207e64 r7:00000003 r6:000005e8 r5:b6e1bf41 r4:004a2f60
    [    9.195089] Code: ba000002 f5d1f03c f5d1f05c f5d1f07c (e8b151f8)
    [    9.195099] ---[ end trace e8f5db0ed146b8a5 ]---
    [    9.195109] note: systemd-udevd[101] exited with preempt_count 1
    [    9.559533] pgd = ee3ea900
    [    9.562255] [00000000] *pgd=add14003, *pmd=00000000
    [    9.567331] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [    9.574683] pgd = ee3ea900
    [    9.577408] [00000000] *pgd=add14003, *pmd=00000000
    [    9.582398] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [    9.589750] pgd = ee3ea900
    [    9.592473] [00000000] *pgd=add14003, *pmd=00000000
    [    9.597631] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [    9.604982] pgd = ee3ea900
    [    9.607706] [00000000] *pgd=add14003, *pmd=00000000
    [    9.610037] Unhandled fault: synchronous external abort (0x1210) at 0xbfe45000
    [    9.610043] pgd = edd61cc0
    [    9.610048] [bfe45000] *pgd=add63003, *pmd=affa4003, *pte=c00000fcc0071f
    [    9.610073] Internal error: : 1210 [#4] PREEMPT SMP ARM
    [    9.610078] Modules linked in:
    [    9.610093] CPU: 0 PID: 102 Comm: systemd Tainted: G      D         4.14.40-g4796173fc5 #2
    [    9.610098] Hardware name: Generic DRA74X (Flattened Device Tree)
    [    9.610104] task: ed8e06c0 task.stack: ed922000
    [    9.610118] PC is at memcpy+0x48/0x330
    [    9.610127] LR is at _copy_from_iter+0x2a4/0x3a4
    [    9.610134] pc : [<c080b108>]    lr : [<c054c608>]    psr: 200b0013
    [    9.610139] sp : ed923a74  ip : 00000000  fp : ed923acc
    [    9.610145] r10: ffefe000  r9 : ed923b68  r8 : 00000000
    [    9.610151] r7 : ed923b70  r6 : 00001000  r5 : 00001000  r4 : 00001000
    [    9.610157] r3 : 00001000  r2 : 00000f80  r1 : bfe45000  r0 : ffefd000
    [    9.610164] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [    9.610171] Control: 30c5387d  Table: add61cc0  DAC: fffffffd
    [    9.610177] Process systemd (pid: 102, stack limit = 0xed922210)
    [    9.610183] Stack: (0xed923a74 to 0xed924000)
    [    9.610191] 3a60:                                              00001000 00001000 ed923b70
    [    9.610201] 3a80: 00000000 ffefd000 00001000 c054c608 5b53de98 186fc1a9 ed923acc ed923aa8
    [    9.610209] 3aa0: c030a834 00001000 ed923b70 00001000 ffefd000 00000000 eff5a9b4 ed907000
    [    9.610217] 3ac0: ed923b14 ed923ad0 c054d47c c054c370 ed923ae8 ed923af0 ed923b14 ed923ae8
    [    9.610226] 3ae0: c03587f4 c0358734 5b53de98 ed8c7f00 0000001e 0000000a ed9126f0 00000000
    [    9.610234] 3b00: eff5a9b4 ed907000 ed923b5c ed923b18 c0344b94 c054d308 015200c2 ffffe000
    [    9.610243] 3b20: ed923b18 ed912600 ed923b70 00000000 00527000 00000000 ed907000 ed923c00
    [    9.610251] 3b40: 00000000 00000000 00000000 00000000 ed923bcc ed923b60 c033cc1c c0344ae0
    [    9.610260] 3b60: 00001000 00000000 bfe45000 00001000 00000003 00000000 00001000 ed923b68
    [    9.610268] 3b80: 00000001 c0215684 ed907000 00000000 00000000 00000000 00000000 00000000
    [    9.610276] 3ba0: 00000000 00000000 ffffe000 ed907000 00000000 00000000 ed922000 00000000
    [    9.610284] 3bc0: ed923bfc ed923bd0 c033ccbc c033cb50 c030ac20 c0825830 eff49560 ed923e20
    [    9.610292] 3be0: 00001000 ed907000 bfe45000 ed922000 ed923c2c ed923c00 c0391a44 c033cc78
    [    9.610301] 3c00: 00000000 00000000 00527000 005b7000 f5a98000 eff2d000 edd8b000 edd98478
    [    9.610309] 3c20: ed923da4 ed923c30 c038d998 c03919b8 ed912500 00000000 00000b34 00000000
    [    9.610318] 3c40: c0249900 00000058 00000058 c0e08418 003fffff f5a95410 00000057 464c457f
    [    9.610327] 3c60: 00159000 00000000 bf000000 ed923e20 f5a9800c 00000000 00000000 edd8b100
    [    9.610335] 3c80: 00000000 00000000 00000001 00158000 ffff0000 00000000 00001000 00001000
    [    9.610344] 3ca0: 00000005 00001000 ed923d70 edd60400 c0b33018 00000003 0000007c ed8c7e80
    [    9.610352] 3cc0: c0b33018 53494749 00000080 ed923cf0 c0b33018 00000006 000000a0 edd10eac
    [    9.610360] 3ce0: c0b33018 46494c45 000009c1 f5a95000 00000007 00000000 00000000 00000066
    [    9.610368] 3d00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    9.610375] 3d20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    9.610383] 3d40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    9.610391] 3d60: 00000000 00000000 00000000 00000000 00000df8 00000003 c022a3dc edd10e00
    [    9.610399] 3d80: c0e1da10 c0e6ead8 00000001 c0e6eadc edd8b104 ed8ef080 ed923e74 ed923da8
    [    9.610407] 3da0: c03927b4 c038c7fc c03915ac 00000000 ed923e20 a0070093 ed923e47 edde22a4
    [    9.610416] 3dc0: ed923dec c0e66bd8 c0b34ea4 ed8ef080 edd8a280 00000000 00000000 00000000
    [    9.610424] 3de0: 00000000 ed8c7e00 00000045 00000080 edd4f090 ed923edc ed923e24 ed923e08
    [    9.610432] 3e00: ed923e24 00000000 ed8e06c0 00000000 00000000 00000000 ed923e18 ed923e18
    [    9.610440] 3e20: ed923edc ed923fb0 ed907000 ffffffff 000000cd 00000000 00019000 00000000
    [    9.610449] 3e40: 00019000 00000000 ed922000 08430000 ffffe000 edc15f44 01060013 c0e03c8c
    [    9.610457] 3e60: edde2280 c0b2c878 ed923ec4 ed923e78 c0239054 c0391c08 00000001 c0207e64
    [    9.610465] 3e80: ed923eb4 c0e02040 418004fc ed923ec8 edc15a40 ed923edc 00000000 ed923fb0
    [    9.610474] 3ea0: b6bae336 ed923ec8 00000000 b6bae338 ed922000 00000000 ed923f8c ed923ec8
    [    9.610482] 3ec0: c020aae0 c0238dbc ed923ef4 ed923ed8 c0238850 c0288118 ffffe000 00000007
    [    9.610491] 3ee0: 00000000 00000000 00000066 00000000 ed923f18 c0354e38 c0288118 00000000
    [    9.610500] 3f00: 00000000 00000066 00000000 ed923f18 c0354e38 c0288118 ee3cc900 00000000
    [    9.610508] 3f20: ed923f4c ed923f30 c035e14c c0288118 ed923f80 00000000 004e8958 00000002
    [    9.610516] 3f40: ed923f5c ed923f50 c035e308 c035e114 ed923f74 ed923f60 c0346304 c035e2e8
    [    9.610525] 3f60: 00000066 ffffe000 c0207e64 ed923fb0 00000025 c0207e64 ed922000 00000000
    [    9.610534] 3f80: ed923fac ed923f90 c020af8c c020aa20 00525144 bec37080 bec37084 00000025
    [    9.610543] 3fa0: 00000000 ed923fb0 c0207ce4 c020aeec 00000000 00000007 00000000 67616e61
    [    9.610551] 3fc0: 00525144 bec37080 bec37084 00000025 00000000 00001008 000001ff b6c5710c
    [    9.610560] 3fe0: 005253b4 bec36fc4 0046839c b6bae338 00070030 00000066 00000000 00000000
    [    9.610564] Backtrace:
    [    9.610580] [<c054c364>] (_copy_from_iter) from [<c054d47c>] (copy_page_from_iter+0x180/0x3b8)
    [    9.610592]  r10:ed907000 r9:eff5a9b4 r8:00000000 r7:ffefd000 r6:00001000 r5:ed923b70
    [    9.610597]  r4:00001000
    [    9.610611] [<c054d2fc>] (copy_page_from_iter) from [<c0344b94>] (pipe_write+0xc0/0x474)
    [    9.610622]  r10:ed907000 r9:eff5a9b4 r8:00000000 r7:ed9126f0 r6:0000000a r5:0000001e
    [    9.610627]  r4:ed8c7f00
    [    9.610639] [<c0344ad4>] (pipe_write) from [<c033cc1c>] (__vfs_write+0xd8/0x128)
    [    9.610648]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:ed923c00 r5:ed907000
    [    9.610653]  r4:00000000
    [    9.610664] [<c033cb44>] (__vfs_write) from [<c033ccbc>] (__kernel_write+0x50/0xd8)
    [    9.610673]  r9:00000000 r8:ed922000 r7:00000000 r6:00000000 r5:ed907000 r4:ffffe000
    [    9.610687] [<c033cc6c>] (__kernel_write) from [<c0391a44>] (dump_emit+0x98/0x110)
    [    9.610695]  r8:ed922000 r7:bfe45000 r6:ed907000 r5:00001000 r4:ed923e20
    [    9.610708] [<c03919ac>] (dump_emit) from [<c038d998>] (elf_core_dump+0x11a8/0x1308)
    [    9.610717]  r9:edd98478 r8:edd8b000 r7:eff2d000 r6:f5a98000 r5:005b7000 r4:00527000
    [    9.610729] [<c038c7f0>] (elf_core_dump) from [<c03927b4>] (do_coredump+0xbb8/0x10ac)
    [    9.610739]  r10:ed8ef080 r9:edd8b104 r8:c0e6eadc r7:00000001 r6:c0e6ead8 r5:c0e1da10
    [    9.610744]  r4:edd10e00
    [    9.610756] [<c0391bfc>] (do_coredump) from [<c0239054>] (get_signal+0x2a4/0x640)
    [    9.610765]  r10:c0b2c878 r9:edde2280 r8:c0e03c8c r7:01060013 r6:edc15f44 r5:ffffe000
    [    9.610769]  r4:08430000
    [    9.610784] [<c0238db0>] (get_signal) from [<c020aae0>] (do_signal+0xcc/0x3ac)
    [    9.610793]  r10:00000000 r9:ed922000 r8:b6bae338 r7:00000000 r6:ed923ec8 r5:b6bae336
    [    9.610798]  r4:ed923fb0
    [    9.610812] [<c020aa14>] (do_signal) from [<c020af8c>] (do_work_pending+0xac/0xc4)
    [    9.610821]  r10:00000000 r9:ed922000 r8:c0207e64 r7:00000025 r6:ed923fb0 r5:c0207e64
    [    9.610826]  r4:ffffe000
    [    9.610840] [<c020aee0>] (do_work_pending) from [<c0207ce4>] (slow_work_pending+0xc/0x20)
    [    9.610847]  r7:00000025 r6:bec37084 r5:bec37080 r4:00525144
    [    9.610858] Code: ba000002 f5d1f03c f5d1f05c f5d1f07c (e8b151f8)
    [    9.610868] ---[ end trace e8f5db0ed146b8a6 ]---
    [    9.610918] note: systemd[102] exited with preempt_count 1
    [   10.292619] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.299967] pgd = ee3ea900
    [   10.302688] [00000000] *pgd=add14003, *pmd=00000000
    [   10.307654] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.315000] pgd = ee3ea900
    [   10.317720] [00000000] *pgd=add14003, *pmd=00000000
    [   10.322757] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.330104] pgd = ee3ea900
    [   10.332825] [00000000] *pgd=add14003, *pmd=00000000
    [   10.337789] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.345133] pgd = ee3ea900
    [   10.347853] [00000000] *pgd=add14003, *pmd=00000000
    [   10.352811] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.360156] pgd = ee3ea900
    [   10.362877] [00000000] *pgd=add14003, *pmd=00000000
    [   10.367837] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.375183] pgd = ee3ea900
    [   10.377903] [00000000] *pgd=add14003, *pmd=00000000
    [   10.382899] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.390244] pgd = ee3ea900
    [   10.392965] [00000000] *pgd=add14003, *pmd=00000000
    [   10.397958] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.405308] pgd = ee3ea900
    [   10.408028] [00000000] *pgd=add14003, *pmd=00000000
    [   10.412988] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.420332] pgd = ee3ea900
    [   10.423053] [00000000] *pgd=add14003, *pmd=00000000
    [   10.428021] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.435367] pgd = ee3ea900
    [   10.438088] [00000000] *pgd=add14003, *pmd=00000000
    [   10.443045] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.450389] pgd = ee3ea900
    [   10.453109] [00000000] *pgd=add14003, *pmd=00000000
    [   10.458068] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.465413] pgd = ee3ea900
    [   10.468133] [00000000] *pgd=add14003, *pmd=00000000
    [   10.473088] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.480431] pgd = ee3ea900
    [   10.483151] [00000000] *pgd=add14003, *pmd=00000000
    [   10.488129] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.495475] pgd = ee3ea900
    [   10.498196] [00000000] *pgd=add14003, *pmd=00000000
    [   10.503154] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.510499] pgd = ee3ea900
    [   10.513221] [00000000] *pgd=add14003, *pmd=00000000
    [   10.518180] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.525525] pgd = ee3ea900
    [   10.528246] [00000000] *pgd=add14003, *pmd=00000000
    [   10.533202] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.540546] pgd = ee3ea900
    [   10.543266] [00000000] *pgd=add14003, *pmd=00000000
    [   10.548224] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.555569] pgd = ee3ea900
    [   10.558290] [00000000] *pgd=add14003, *pmd=00000000
    [   10.563268] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.570612] pgd = ee3ea900
    [   10.573334] [00000000] *pgd=add14003, *pmd=00000000
    [   10.578295] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.585640] pgd = ee3ea900
    [   10.588360] [00000000] *pgd=add14003, *pmd=00000000
    [   10.593316] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.600659] pgd = ee3ea900
    [   10.603380] [00000000] *pgd=add14003, *pmd=00000000
    [   10.608339] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.615683] pgd = ee3ea900
    [   10.618404] [00000000] *pgd=add14003, *pmd=00000000
    [   10.623359] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.630703] pgd = ee3ea900
    [   10.633423] [00000000] *pgd=add14003, *pmd=00000000
    [   10.638381] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.645724] pgd = ee3ea900
    [   10.648446] [00000000] *pgd=add14003, *pmd=00000000
    [   10.653413] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.660761] pgd = ee3ea900
    [   10.663481] [00000000] *pgd=add14003, *pmd=00000000
    [   10.668442] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.675786] pgd = ee3ea900
    [   10.678508] [00000000] *pgd=add14003, *pmd=00000000
    [   10.683464] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.690810] pgd = ee3ea900
    [   10.693531] [00000000] *pgd=add14003, *pmd=00000000
    [   10.698499] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.705844] pgd = ee3ea900
    [   10.708565] [00000000] *pgd=add14003, *pmd=00000000
    [   10.713521] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.720865] pgd = ee3ea900
    [   10.723586] [00000000] *pgd=add14003, *pmd=00000000
    [   10.728605] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.735950] pgd = ee3ea900
    [   10.738671] [00000000] *pgd=add14003, *pmd=00000000
    [   10.743630] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.750975] pgd = ee3ea900
    [   10.753695] [00000000] *pgd=add14003, *pmd=00000000
    [   10.758654] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.765998] pgd = ee3ea900
    [   10.768719] [00000000] *pgd=add14003, *pmd=00000000
    [   10.773676] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.781020] pgd = ee3ea900
    [   10.783741] [00000000] *pgd=add14003, *pmd=00000000
    [   10.788700] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.796045] pgd = ee3ea900
    [   10.798766] [00000000] *pgd=add14003, *pmd=00000000
    [   10.803722] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.811066] pgd = ee3ea900
    [   10.813787] [00000000] *pgd=add14003, *pmd=00000000
    [   10.818758] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.826102] pgd = ee3ea900
    [   10.828824] [00000000] *pgd=add14003, *pmd=00000000
    [   10.833788] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.841133] pgd = ee3ea900
    [   10.843854] [00000000] *pgd=add14003, *pmd=00000000
    [   10.848814] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.856158] pgd = ee3ea900
    [   10.858879] [00000000] *pgd=add14003, *pmd=00000000
    [   10.863834] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.871179] pgd = ee3ea900
    [   10.873899] [00000000] *pgd=add14003, *pmd=00000000
    [   10.878859] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.886204] pgd = ee3ea900
    [   10.888924] [00000000] *pgd=add14003, *pmd=00000000
    [   10.893891] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.901239] pgd = ee3ea900
    [   10.903959] [00000000] *pgd=add14003, *pmd=00000000
    [   10.908919] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.916264] pgd = ee3ea900
    [   10.918984] [00000000] *pgd=add14003, *pmd=00000000
    [   10.923940] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.931284] pgd = ee3ea900
    [   10.934005] [00000000] *pgd=add14003, *pmd=00000000
    [   10.938965] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.946310] pgd = ee3ea900
    [   10.949031] [00000000] *pgd=add14003, *pmd=00000000
    [   10.953987] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.961331] pgd = ee3ea900
    [   10.964052] [00000000] *pgd=add14003, *pmd=00000000
    [   10.969029] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.976374] pgd = ee3ea900
    [   10.979095] [00000000] *pgd=add14003, *pmd=00000000
    [   10.984052] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   10.991396] pgd = ee3ea900
    [   10.994115] [00000000] *pgd=add14003, *pmd=00000000
    [   10.999075] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.006420] pgd = ee3ea900
    [   11.009140] [00000000] *pgd=add14003, *pmd=00000000
    [   11.014096] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.021442] pgd = ee3ea900
    [   11.024163] [00000000] *pgd=add14003, *pmd=00000000
    [   11.029123] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.036467] pgd = ee3ea900
    [   11.039188] [00000000] *pgd=add14003, *pmd=00000000
    [   11.044144] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.051488] pgd = ee3ea900
    [   11.054209] [00000000] *pgd=add14003, *pmd=00000000
    [   11.059180] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.066525] pgd = ee3ea900
    [   11.069246] [00000000] *pgd=add14003, *pmd=00000000
    [   11.074204] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.081549] pgd = ee3ea900
    [   11.084271] [00000000] *pgd=add14003, *pmd=00000000
    [   11.089230] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.096574] pgd = ee3ea900
    [   11.099294] [00000000] *pgd=add14003, *pmd=00000000
    [   11.104258] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.111602] pgd = ee3ea900
    [   11.114324] [00000000] *pgd=add14003, *pmd=00000000
    [   11.119284] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.126629] pgd = ee3ea900
    [   11.129349] [00000000] *pgd=add14003, *pmd=00000000
    [   11.134317] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.141664] pgd = ee3ea900
    [   11.144386] [00000000] *pgd=add14003, *pmd=00000000
    [   11.149345] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.156689] pgd = ee3ea900
    [   11.159410] [00000000] *pgd=add14003, *pmd=00000000
    [   11.164365] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.171709] pgd = ee3ea900
    [   11.174430] [00000000] *pgd=add14003, *pmd=00000000
    [   11.179390] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.186733] pgd = ee3ea900
    [   11.189453] [00000000] *pgd=add14003, *pmd=00000000
    [   11.194409] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.201753] pgd = ee3ea900
    [   11.204473] [00000000] *pgd=add14003, *pmd=00000000
    [   11.209432] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.216777] pgd = ee3ea900
    [   11.219497] [00000000] *pgd=add14003, *pmd=00000000
    [   11.224465] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.231813] pgd = ee3ea900
    [   11.234535] [00000000] *pgd=add14003, *pmd=00000000
    [   11.239501] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.246847] pgd = ee3ea900
    [   11.249567] [00000000] *pgd=add14003, *pmd=00000000
    [   11.254522] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.261865] pgd = ee3ea900
    [   11.264587] [00000000] *pgd=add14003, *pmd=00000000
    [   11.269545] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.276891] pgd = ee3ea900
    [   11.279611] [00000000] *pgd=add14003, *pmd=00000000
    [   11.284567] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.291911] pgd = ee3ea900
    [   11.294632] [00000000] *pgd=add14003, *pmd=00000000
    [   11.299603] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.306948] pgd = ee3ea900
    [   11.309669] [00000000] *pgd=add14003, *pmd=00000000
    [   11.314631] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.321975] pgd = ee3ea900
    [   11.324696] [00000000] *pgd=add14003, *pmd=00000000
    [   11.329655] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.336999] pgd = ee3ea900
    [   11.339721] [00000000] *pgd=add14003, *pmd=00000000
    [   11.344676] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.352020] pgd = ee3ea900
    [   11.354741] [00000000] *pgd=add14003, *pmd=00000000
    [   11.359699] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.367043] pgd = ee3ea900
    [   11.369763] [00000000] *pgd=add14003, *pmd=00000000
    [   11.374824] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.382171] pgd = ee3ea900
    [   11.384892] [00000000] *pgd=add14003, *pmd=00000000
    [   11.391056] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.398405] pgd = ee3ea900
    [   11.401128] [00000000] *pgd=add14003, *pmd=00000000
    [   11.415989] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.423337] pgd = ee3ea900
    [   11.426061] [00000000] *pgd=add14003, *pmd=00000000
    [   11.431288] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.438634] pgd = ee3ea900
    [   11.441356] [00000000] *pgd=add14003, *pmd=00000000
    [   11.446386] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.453732] pgd = ee3ea900
    [   11.456454] [00000000] *pgd=add14003, *pmd=00000000
    [   11.461488] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.468835] pgd = ee3ea900
    [   11.471556] [00000000] *pgd=add14003, *pmd=00000000
    [   11.479332] Unhandled fault: asynchronous external abort (0x1211) at 0x00000000
    [   11.486681] pgd = c0003000
    [   11.489403] [00000000] *pgd=80000080004003, *pmd=00000000
    [   11.494845] Internal error: : 1211 [#5] PREEMPT SMP ARM
    [   11.500095] Modules linked in:
    [   11.503175] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D         4.14.40-g4796173fc5 #2
    [   11.511479] Hardware name: Generic DRA74X (Flattened Device Tree)
    [   11.517604] task: c0e07280 task.stack: c0e00000
    [   11.522165] PC is at arch_cpu_idle+0x28/0x44
    [   11.526465] LR is at omap_do_wfi+0x8/0x5c
    [   11.530495] pc : [<c0208804>]    lr : [<c021f00c>]    psr: 60070013
    [   11.536792] sp : c0e01f20  ip : c0e01f0c  fp : c0e01f2c
    [   11.542043] r10: c0e03ce4  r9 : c0c573b8  r8 : 00000000
    [   11.547294] r7 : 00000000  r6 : c0e03c78  r5 : c0e03cd8  r4 : ffffe000
    [   11.553852] r3 : 00000000  r2 : fe600000  r1 : 00000000  r0 : 00000001
    [   11.560414] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [   11.567583] Control: 30c5387d  Table: add8b1c0  DAC: fffffffd
    [   11.573358] Process swapper/0 (pid: 0, stack limit = 0xc0e00210)
    [   11.579393] Stack: (0xc0e01f20 to 0xc0e02000)
    [   11.583777] 1f20: c0e01f3c c0e01f30 c08253fc c02087e8 c0e01f74 c0e01f40 c026ab08 c08253e0
    [   11.591997] 1f40: c0b2d8a8 c0e3a402 c0e01f6c 000000be 00000002 00000000 c0e3d000 ffffffff
    [   11.600216] 1f60: c0e3d000 c0c41a30 c0e01f84 c0e01f78 c026ae5c c026a980 c0e01f9c c0e01f88
    [   11.608435] 1f80: c081fc6c c026ae48 c0e3d04c 00000000 c0e01ff4 c0e01fa0 c0c00da0 c081fba0
    [   11.616655] 1fa0: ffffffff ffffffff 00000000 c0c00700 ffffffff 00000000 00000000 c0e03c40
    [   11.624874] 1fc0: 00000000 c0c41a30 00000000 c0e3d214 c0e03c58 c0c41a2c c0e08650 80007000
    [   11.633092] 1fe0: 412fc0f2 00000000 00000000 c0e01ff8 80008090 c0c009bc 00000000 00000000
    [   11.641306] Backtrace:
    [   11.643784] [<c02087dc>] (arch_cpu_idle) from [<c08253fc>] (default_idle_call+0x28/0x34)
    [   11.651925] [<c08253d4>] (default_idle_call) from [<c026ab08>] (do_idle+0x194/0x224)
    [   11.659715] [<c026a974>] (do_idle) from [<c026ae5c>] (cpu_startup_entry+0x20/0x24)
    [   11.667327]  r10:c0c41a30 r9:c0e3d000 r8:ffffffff r7:c0e3d000 r6:00000000 r5:00000002
    [   11.675194]  r4:000000be
    [   11.677752] [<c026ae3c>] (cpu_startup_entry) from [<c081fc6c>] (rest_init+0xd8/0xdc)
    [   11.685542] [<c081fb94>] (rest_init) from [<c0c00da0>] (start_kernel+0x3f0/0x3fc)
    [   11.693061]  r5:00000000 r4:c0e3d04c
    [   11.696661] [<c0c009b0>] (start_kernel) from [<80008090>] (0x80008090)
    [   11.703226] Code: e3530000 0a000002 e12fff33 f1080080 (e89da800)
    [   11.709363] ---[ end trace e8f5db0ed146b8a7 ]---
    [   11.714005] Kernel panic - not syncing: Attempted to kill the idle task!
    [   11.720753] CPU1: stopping
    [   11.723486] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D         4.14.40-g4796173fc5 #2
    [   11.731790] Hardware name: Generic DRA74X (Flattened Device Tree)
    [   11.737912] Backtrace:
    [   11.740386] [<c020b5a4>] (dump_backtrace) from [<c020b888>] (show_stack+0x18/0x1c)
    [   11.747996]  r7:fa212000 r6:200f0193 r5:00000000 r4:c0e39344
    [   11.753693] [<c020b870>] (show_stack) from [<c080cc08>] (dump_stack+0x90/0xa4)
    [   11.760960] [<c080cb78>] (dump_stack) from [<c020df18>] (handle_IPI+0x1b8/0x1cc)
    [   11.768395]  r7:fa212000 r6:00000001 r5:00000000 r4:c0c57afc
    [   11.774088] [<c020dd60>] (handle_IPI) from [<c02014ac>] (gic_handle_irq+0x7c/0x80)
    [   11.781695]  r6:ee8a3f20 r5:fa21200c r4:c0e03ff8
    [   11.786340] [<c0201430>] (gic_handle_irq) from [<c020c478>] (__irq_svc+0x58/0x8c)
    [   11.793858] Exception stack(0xee8a3f20 to 0xee8a3f68)
    [   11.798939] 3f20: 00000001 00000000 fe600000 00000000 ffffe000 c0e03cd8 c0e03c78 00000000
    [   11.807158] 3f40: 00000000 c0c573b8 c0e03ce4 ee8a3f7c ee8a3f5c ee8a3f70 c021f00c c0208804
    [   11.815373] 3f60: 600f0013 ffffffff
    [   11.818884]  r9:ee8a2000 r8:00000000 r7:ee8a3f54 r6:ffffffff r5:600f0013 r4:c0208804
    [   11.826674] [<c02087dc>] (arch_cpu_idle) from [<c08253fc>] (default_idle_call+0x28/0x34)
    [   11.834814] [<c08253d4>] (default_idle_call) from [<c026ab08>] (do_idle+0x194/0x224)
    [   11.842604] [<c026a974>] (do_idle) from [<c026ae5c>] (cpu_startup_entry+0x20/0x24)
    [   11.850212]  r10:00000000 r9:412fc0f2 r8:80007000 r7:c0e3d240 r6:00000001 r5:ee8a2000
    [   11.858079]  r4:00000084
    [   11.860634] [<c026ae3c>] (cpu_startup_entry) from [<c020dadc>] (secondary_start_kernel+0x170/0x17c)
    [   11.869727] [<c020d96c>] (secondary_start_kernel) from [<802017ac>] (0x802017ac)
    [   11.877160]  r7:c0e3d240 r6:30c0387d r5:00000000 r4:ae8681c0
    [   11.882861] ---[ end Kernel panic - not syncing: Attempted to kill the idle task!
    

    And I am trying to write into ddr for full address after this init.

    Thank you 

    Deepak H M

  • Please grab another register dump after encountering a kernel crash.  There's diagnostic info with respect to the number of ECC errors encountered.

  • ********************** DPLL_DDR **********************
    
    CTRL_CORE_BOOTSTRAP = 0x00008106
      * SPEEDSELECT = 20 MHz
    CM_CLKSEL_DPLL_DDR = 0x00014d04
      * DPLL_MULT = 333 (x333)
      * DPLL_DIV = 4 (/5)
    CM_DIV_M2_DPLL_DDR = 0x00000202
      * CLKST = 1: M2 output clock enabled
      * DIVHS = 2 (/2)
    CM_DIV_H11_DPLL_DDR = 0x00000208
      * CLKST = 1: H11 output clock enabled
      * DIVHS = 8 (/8)
    
    DPLL_DDR Summary
     -> F_input = 20 MHz
     -> F_dpll_ddr = 2664 MHz
     -> CLKOUT_M2 = EMIF_PHY_GCLK = 666 MHz
     -> CLKOUTX2_H11 = EMIF_DLL_GCLK = 333 MHz
    
    ********************** DMM - LISA **********************
    
    DMM_LISA_MAP_0 = 0x00000000
    DMM_LISA_MAP_1 = 0x00000000
    DMM_LISA_MAP_2 = 0x80700100
      * System Address Mapping = 0x80000000
      * Section Size = 2048 MB
      * Mapped to EMIF1
    DMM_LISA_MAP_3 = 0x00000000
    
    ********************** EMIF1 **********************
    
    CTRL_CORE_CONTROL_DDRCACH1_0 = 0x80808080
    ddr1_casn, ddr1_rasn, ddr1_rst, ddr1_wen, ddr1_csn[0], ddr1_cke, ddr1_odt[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr1_a[15:0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr1_ba[0], ddr1_ba[1], ddr1_ba[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr1_ck, ddr1_nck
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    
    CTRL_CORE_CONTROL_DDRCH1_0 = 0x40404040
    ddr1_d[7:0], ddr1_dqm[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_dqs[0], ddr1_dqsn[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_d[15:8], ddr1_dqm[1]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_dqs[1], ddr1_dqsn[1]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    
    CTRL_CORE_CONTROL_DDRCH1_1 = 0x40404040
    ddr1_d[23:16], ddr1_dqm[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_dqs[2], ddr1_dqsn[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_d[31:24], ddr1_dqm[3]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_dqs[3], ddr1_dqsn[3]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    
    CTRL_CORE_CONTROL_DDRCH1_2 = 0x00404000
    ddr1_ecc_d[7:0], ddr1_dqm_ecc
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr1_dqs_ecc, ddr1_dqsn_ecc
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    
    CTRL_CORE_CONTROL_DDRIO_0 = 0x00094a40
    ddr1_d[7:0], ddr1_d[15:8]
      * Internal VREF disabled
    ddr1_d[23:16], ddr1_d[31:24], ddr1_ecc_d[7:0]
      * Internal VREF disabled
    
    CTRL_WKUP_EMIF1_SDRAM_CONFIG_EXT = 0x0001c123
      * Bit 16: EMIF1_EN_ECC = 1
    EMIF_ECC_CTRL_REG = 0xd0000003
      * Bit 31: reg_ecc_en = 1
      * Bit 30: reg_ecc_addr_rgn_prot = 1
      * Bit 29: reg_ecc_verify_dis = 0, enable ECC verification on reads (normal)
      * Bit 28: reg_rmw_en=1,  this is the recommended configuration when using ECC
      * Bit 1: reg_ecc_addr_rgn_2_en = 1
      * Bit 0: reg_ecc_addr_rgn_1_en = 1
    EMIF_ECC_ADDRESS_RANGE_1 = 0x3fff0000
    EMIF_ECC_ADDRESS_RANGE_2 = 0x7fff4000
      -> ECC Region 1 is enabled to protect inside the address range 0x80000000 to 0xbfffffff
      -> ECC Region 2 is enabled to protect inside the address range 0xc0000000 to 0xffffffff
    EMIF_1B_ECC_ERR_CNT = 0x0000f38b
    EMIF_1B_ECC_ERR_THRSH = 0x00000000
    EMIF_1B_ECC_ERR_DIST_1 = 0xffffffff
    EMIF_1B_ECC_ERR_DIST_1 = 0x40000000
    EMIF_2B_ECC_ERR_ADDR_LOG = 0x40000000
    EMIF_STATUS = 0x40000004
    
    EMIF_SDRAM_CONFIG = 0x61862bb2
    EMIF_SDRAM_CONFIG_2 = 0x00000000
    EMIF_SDRAM_REFRESH_CONTROL = 0x10000a25
    EMIF_SDRAM_TIMING_1 = 0xd3337834
    EMIF_SDRAM_TIMING_2 = 0x30ef7fe3
    EMIF_SDRAM_TIMING_3 = 0x409f8e98
    EMIF_READ_WRITE_LEVELING_RAMP_WINDOW = 0x00000000
    EMIF_READ_WRITE_LEVELING_RAMP_CONTROL = 0x00000000
    EMIF_READ_WRITE_LEVELING_CONTROL = 0x00000000
    EMIF_DDR_PHY_CONTROL_1 = 0x0e24400e
      * Bits 4:0 READ_LATENCY = 14
      * Bit 9 PHY_FAST_DLL_LOCK = 0
      * Bits 17:10 PHY_DLL_LOCK_DIFF = 16
      * Bit 18 PHY_INVERT_CLKOUT = 1
      * Bit 19 PHY_DIS_CALIB_RST = 0
      * Bit 20 PHY_CLK_STALL_LEVEL = 0
      * Bit 21 PHY_HALF_DELAYS = 1
      * Bit 25 WRLVL_MASK = 1
      * Bit 26 RDLVLGATE_MASK = 1
      * Bit 27 RDLVL_MASK = 1
    
    EMIF_EXT_PHY_CONTROL_1  = 0x10040100
    EMIF_EXT_PHY_CONTROL_2  = 0x07000091
    EMIF_EXT_PHY_CONTROL_3  = 0x07000099
    EMIF_EXT_PHY_CONTROL_4  = 0x070000a8
    EMIF_EXT_PHY_CONTROL_5  = 0x070000af
    EMIF_EXT_PHY_CONTROL_6  = 0x070000c0
    EMIF_EXT_PHY_CONTROL_7  = 0x00000040
    EMIF_EXT_PHY_CONTROL_8  = 0x00000037
    EMIF_EXT_PHY_CONTROL_9  = 0x00000039
    EMIF_EXT_PHY_CONTROL_10 = 0x00000037
    EMIF_EXT_PHY_CONTROL_11 = 0x0000003a
    EMIF_EXT_PHY_CONTROL_12 = 0x01bf0064
    EMIF_EXT_PHY_CONTROL_13 = 0x02fe0057
    EMIF_EXT_PHY_CONTROL_14 = 0x0214006b
    EMIF_EXT_PHY_CONTROL_15 = 0x00600064
    EMIF_EXT_PHY_CONTROL_16 = 0x0115007e
    EMIF_EXT_PHY_CONTROL_17 = 0x019f0044
    EMIF_EXT_PHY_CONTROL_18 = 0x02de0037
    EMIF_EXT_PHY_CONTROL_19 = 0x01f4004b
    EMIF_EXT_PHY_CONTROL_20 = 0x00400044
    EMIF_EXT_PHY_CONTROL_21 = 0x00f5005e
    EMIF_EXT_PHY_CONTROL_22 = 0x00000000
    EMIF_EXT_PHY_CONTROL_23 = 0x00600020
    EMIF_EXT_PHY_CONTROL_24 = 0x40011080
    EMIF_EXT_PHY_CONTROL_25 = 0x08102040
    EMIF_EXT_PHY_CONTROL_26 = 0x00000000
    EMIF_EXT_PHY_CONTROL_27 = 0x00000000
    EMIF_EXT_PHY_CONTROL_28 = 0x00000000
    EMIF_EXT_PHY_CONTROL_29 = 0x00000000
    EMIF_EXT_PHY_CONTROL_30 = 0x00000000
    EMIF_EXT_PHY_CONTROL_31 = 0x00000000
    EMIF_EXT_PHY_CONTROL_32 = 0x00000000
    EMIF_EXT_PHY_CONTROL_33 = 0x00000000
    EMIF_EXT_PHY_CONTROL_34 = 0x00000000
    EMIF_EXT_PHY_CONTROL_35 = 0x00000000
    EMIF_EXT_PHY_CONTROL_36 = 0x00000177
    
    EMIF_EXT_PHY_STATUS_1  = 0x000da1f3
    EMIF_EXT_PHY_STATUS_2  = 0xcb65c2db
    EMIF_EXT_PHY_STATUS_3  = 0x00000d96
    EMIF_EXT_PHY_STATUS_4  = 0x00120000
    EMIF_EXT_PHY_STATUS_5  = 0x00099999
    EMIF_EXT_PHY_STATUS_6  = 0x00004924
    EMIF_EXT_PHY_STATUS_7  = 0x00000040
    EMIF_EXT_PHY_STATUS_8  = 0x00000037
    EMIF_EXT_PHY_STATUS_9  = 0x00000039
    EMIF_EXT_PHY_STATUS_10 = 0x00000037
    EMIF_EXT_PHY_STATUS_11 = 0x0000003a
    EMIF_EXT_PHY_STATUS_12 = 0x07000091
    EMIF_EXT_PHY_STATUS_13 = 0x07000099
    EMIF_EXT_PHY_STATUS_14 = 0x070000a8
    EMIF_EXT_PHY_STATUS_15 = 0x070000af
    EMIF_EXT_PHY_STATUS_16 = 0x070000c0
    EMIF_EXT_PHY_STATUS_17 = 0x01bf0064
    EMIF_EXT_PHY_STATUS_18 = 0x02fe0057
    EMIF_EXT_PHY_STATUS_19 = 0x02de0037
    EMIF_EXT_PHY_STATUS_20 = 0x00600064
    EMIF_EXT_PHY_STATUS_21 = 0x0115007e
    EMIF_EXT_PHY_STATUS_22 = 0x019f0044
    EMIF_EXT_PHY_STATUS_23 = 0x02de0037
    EMIF_EXT_PHY_STATUS_24 = 0x01f4004b
    EMIF_EXT_PHY_STATUS_25 = 0x00400044
    EMIF_EXT_PHY_STATUS_26 = 0x00f5005e
    EMIF_EXT_PHY_STATUS_27 = 0x11f11111
    EMIF_EXT_PHY_STATUS_28 = 0x00000000
    
    ********************** EMIF2 **********************
    
    CTRL_CORE_CONTROL_DDRCACH2_0 = 0x80808080
    ddr2_casn, ddr2_rasn, ddr2_rst, ddr2_wen, ddr2_csn[0], ddr2_cke, ddr2_odt[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr2_a[15:0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr2_ba[0], ddr2_ba[1], ddr2_ba[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    ddr2_ck, ddr2_nck
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 34 Ohms
    
    CTRL_CORE_CONTROL_DDRCH2_0 = 0x40404040
    ddr2_d[7:0], ddr2_dqm[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_dqs[0], ddr2_dqsn[0]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_d[15:8], ddr2_dqm[1]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_dqs[1], ddr2_dqsn[1]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    
    CTRL_CORE_CONTROL_DDRCH2_1 = 0x40404040
    ddr2_d[23:16], ddr2_dqm[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_dqs[2], ddr2_dqsn[2]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_d[31:24], ddr2_dqm[3]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    ddr2_dqs[3], ddr2_dqsn[3]
      * Pull logic is disabled
      * Slew rate is 0, where 0=fastest and 7=slowest
      * Output Impedance = 48 Ohms
    
    CTRL_CORE_CONTROL_DDRIO_1 = 0x00000000
    ddr2_d[7:0], ddr2_d[15:8]
      * Internal VREF disabled
    ddr2_d[23:16], ddr2_d[31:24]
      * Internal VREF disabled
    
    CTRL_WKUP_EMIF2_SDRAM_CONFIG_EXT = 0x0001c123
    EMIF_STATUS = 0x40000004
    
    EMIF_SDRAM_CONFIG = 0x60812031
    EMIF_SDRAM_CONFIG_2 = 0x00000010
    EMIF_SDRAM_REFRESH_CONTROL = 0x8000061b
    EMIF_SDRAM_TIMING_1 = 0x1c000000
    EMIF_SDRAM_TIMING_2 = 0x00000000
    EMIF_SDRAM_TIMING_3 = 0x000f8120
    EMIF_READ_WRITE_LEVELING_RAMP_WINDOW = 0x00000000
    EMIF_READ_WRITE_LEVELING_RAMP_CONTROL = 0x00000000
    EMIF_READ_WRITE_LEVELING_CONTROL = 0x00000000
    EMIF_DDR_PHY_CONTROL_1 = 0x0000081e
      * Bits 4:0 READ_LATENCY = 30
      * Bit 9 PHY_FAST_DLL_LOCK = 0
      * Bits 17:10 PHY_DLL_LOCK_DIFF = 2
      * Bit 18 PHY_INVERT_CLKOUT = 0
      * Bit 19 PHY_DIS_CALIB_RST = 0
      * Bit 20 PHY_CLK_STALL_LEVEL = 0
      * Bit 21 PHY_HALF_DELAYS = 0
      * Bit 25 WRLVL_MASK = 0
      * Bit 26 RDLVLGATE_MASK = 0
      * Bit 27 RDLVL_MASK = 0
    
    EMIF_EXT_PHY_CONTROL_1  = 0x04020080
    EMIF_EXT_PHY_CONTROL_2  = 0x00000000
    EMIF_EXT_PHY_CONTROL_3  = 0x00000000
    EMIF_EXT_PHY_CONTROL_4  = 0x00000000
    EMIF_EXT_PHY_CONTROL_5  = 0x00000000
    EMIF_EXT_PHY_CONTROL_6  = 0x00000000
    EMIF_EXT_PHY_CONTROL_7  = 0x00400040
    EMIF_EXT_PHY_CONTROL_8  = 0x00400040
    EMIF_EXT_PHY_CONTROL_9  = 0x00400040
    EMIF_EXT_PHY_CONTROL_10 = 0x00400040
    EMIF_EXT_PHY_CONTROL_11 = 0x00400040
    EMIF_EXT_PHY_CONTROL_12 = 0x00400040
    EMIF_EXT_PHY_CONTROL_13 = 0x00400040
    EMIF_EXT_PHY_CONTROL_14 = 0x00400040
    EMIF_EXT_PHY_CONTROL_15 = 0x00400040
    EMIF_EXT_PHY_CONTROL_16 = 0x00400040
    EMIF_EXT_PHY_CONTROL_17 = 0x00000000
    EMIF_EXT_PHY_CONTROL_18 = 0x00000000
    EMIF_EXT_PHY_CONTROL_19 = 0x00000000
    EMIF_EXT_PHY_CONTROL_20 = 0x00000000
    EMIF_EXT_PHY_CONTROL_21 = 0x00000000
    EMIF_EXT_PHY_CONTROL_22 = 0x00800080
    EMIF_EXT_PHY_CONTROL_23 = 0x00800080
    EMIF_EXT_PHY_CONTROL_24 = 0x00010080
    EMIF_EXT_PHY_CONTROL_25 = 0x00000000
    EMIF_EXT_PHY_CONTROL_26 = 0x01500150
    EMIF_EXT_PHY_CONTROL_27 = 0x01500150
    EMIF_EXT_PHY_CONTROL_28 = 0x01500150
    EMIF_EXT_PHY_CONTROL_29 = 0x01500150
    EMIF_EXT_PHY_CONTROL_30 = 0x01500150
    EMIF_EXT_PHY_CONTROL_31 = 0x00000000
    EMIF_EXT_PHY_CONTROL_32 = 0x00000000
    EMIF_EXT_PHY_CONTROL_33 = 0x00000000
    EMIF_EXT_PHY_CONTROL_34 = 0x00000000
    EMIF_EXT_PHY_CONTROL_35 = 0x00000000
    EMIF_EXT_PHY_CONTROL_36 = 0x00000077
    
    EMIF_EXT_PHY_STATUS_1  = 0x000da1f3
    EMIF_EXT_PHY_STATUS_2  = 0xdb6db6dd
    EMIF_EXT_PHY_STATUS_3  = 0x00000006
    EMIF_EXT_PHY_STATUS_4  = 0x00020000
    EMIF_EXT_PHY_STATUS_5  = 0x00009999
    EMIF_EXT_PHY_STATUS_6  = 0x00000924
    EMIF_EXT_PHY_STATUS_7  = 0x00000000
    EMIF_EXT_PHY_STATUS_8  = 0x00000000
    EMIF_EXT_PHY_STATUS_9  = 0x00000000
    EMIF_EXT_PHY_STATUS_10 = 0x00000000
    EMIF_EXT_PHY_STATUS_11 = 0x00000000
    EMIF_EXT_PHY_STATUS_12 = 0x07000700
    EMIF_EXT_PHY_STATUS_13 = 0x07000700
    EMIF_EXT_PHY_STATUS_14 = 0x07000700
    EMIF_EXT_PHY_STATUS_15 = 0x07000700
    EMIF_EXT_PHY_STATUS_16 = 0x00000000
    EMIF_EXT_PHY_STATUS_17 = 0x025f01a5
    EMIF_EXT_PHY_STATUS_18 = 0x031603be
    EMIF_EXT_PHY_STATUS_19 = 0x031603be
    EMIF_EXT_PHY_STATUS_20 = 0x03b703b6
    EMIF_EXT_PHY_STATUS_21 = 0x00000000
    EMIF_EXT_PHY_STATUS_22 = 0x025f01a5
    EMIF_EXT_PHY_STATUS_23 = 0x031603be
    EMIF_EXT_PHY_STATUS_24 = 0x0130037e
    EMIF_EXT_PHY_STATUS_25 = 0x03b703b6
    EMIF_EXT_PHY_STATUS_26 = 0x00000000
    EMIF_EXT_PHY_STATUS_27 = 0x10f00000
    EMIF_EXT_PHY_STATUS_28 = 0x00000000
    
    

  • Something isn't right.  You have a huge number of 1-bit ECC errors:

    EMIF_1B_ECC_ERR_CNT = 0x0000f38b

    There's also a 2-bit error present (non-correctable) which might be what's triggering the fault.  The fact that you're seeing a huge number of 1-bit errors might indicate an issue related to the ECC data lane, i.e. corruption happening, etc.

    Can you please post your EMIF spreadsheet? What's the part number of the memory you're using?

  • The DDR Part No is  AS4C512M16D3LB-12BIN and the excel sheet I am not able to attach here but the version is Date: August 22nd, 2018 Revision: 2.0.2 

  • You need to zip it before you can attach it since *.xls/*.xlsx is not an allowed file type otherwise.

  • I migrated your spreadsheet to the latest revision and have checked against the data sheet for the device you mentioned.  I made a couple minor adjustments, but none of the timings changed as a result.  Here is the updated spreadsheet:

    EMIF_RegisterConfiguration_NG-WCPCBB-1v1_2021041.zip

    An important thing I noticed is that you have not completed Step 2 of the spreadsheet.  This is a very important step!  Please be sure to fill in the trace lengths (in mils) for your traces.  Failure to complete this step might result in some of your units not initializing properly.  I don't think that's the issue we're seeing now, but it's an issue that will likely pop up when you start producing larger volumes later.  The updates in that step will correspondingly impact the PHY_CTRL registers, i.e. the big structure for ext_phy_regs.

    Can you tell me which SDK you're using?  Based on the kernel version (4.14.40) that looks like it corresponds to Linux SDK 5.00.  Is that correct?  Have you pulled in any updates from the u-boot or Linux trees?  My view is that 5.00 is not a proper choice for taking to production since that's the first of four releases for the 2019 kernel.  Linux SDK 5.03 would be much better since there would be almost a full year of bug-fixes incorporated.

    There were a number of ECC-related bug fixes that were incorporated into Linux SDK 6.x:

    https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2020.01&id=92ffd0d9ed9a8389a7fb28addcd46547d6fb8539

    https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2020.01&id=2b2e1573cffbe5d47712d138690f45e01353c3f5

    https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2020.01&id=d0a37a5e510a6772bb86d3cda8d1a2c14c01a0e2

    https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2020.01&id=5ebe6c0cb74a93ae75a1dd37e92e3765511f788c

    https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2020.01&id=ed474ae00c7b2b51fc97b0580d2e52483a657acb

    As it happens, I had another customer that was on SDK 5.03 and so I've already back-ported these to that release.  It was just trivial changes in the file name cmd_ddr3.c in 5.03 compared to ddr3.c in SDK 6.00.  Here's an attachment:

    sdk-5.03-ecc-backport.zip

    This patch set above was developed as we were debugging an issue getting 2GB of RAM with ECC to work at another customer.  You definitely will need these patches to get things working properly.  Please also be sure to fix your phy_ctrl values while you are making updates.

    Best regards,
    Brad

  • Hi Brad,

    1. Can you tell me which SDK you're using?

        ti-processor-sdk-linux-am57xx-evm-05.00.00.15

    2. Have you pulled in any updates from the u-boot or Linux trees?

    No

    Further I downloaded 5.0.3 SDK and added the patch you are given and tried to boot the linux still we  are seeing the crash. Please find the attached excel and crashlog

    05-05-2021Logs.tar.gz 

    Thank you 

    Deepak H M

  • Can you please send an updated register dump to go with it, i.e. collected using the DSS script?

  • Can you also clarify on the behavior you're seeing?  The log you sent ended with "remote proc done" (around 28 seconds).  Did the device hang after that print?  Also, I saw a crash around the 0.945 second mark.  Is that the crash you're referring to?  If that's the case, it looks like the unit survived and continued to boot.  Are you able to fully boot now?  If so, that crash might be something entirely different.  It looks to me like the EDMA is seeing some kind of access issue, e.g. accessing bad address, wrong permissions, etc.

    We should be able to see from the DSS output whether you're still experiencing any ECC errors.

    Best regards,
    Brad

  • Hi 

    1. The log you sent ended with "remote proc done" (around 28 seconds) Did the device hang after that print?
    Ans: No
    2. I saw a crash around the 0.945 second mark. Is that the crash you're referring to?
    Ans: Yes
    3. If that's the case, it looks like the unit survived and continued to boot. Are you able to fully boot now?
    Ans: Yes

    06-05-2020Logs.tar.gz

    Also PFA of DSS dump full log

    Thank you

  • I see now in your register dump that ECC is enabled, coverage is applied to the full 2GB address map, and zero errors are observed:

    CTRL_WKUP_EMIF1_SDRAM_CONFIG_EXT = 0x0001c123
      * Bit 16: EMIF1_EN_ECC = 1
    EMIF_ECC_CTRL_REG = 0xd0000003
      * Bit 31: reg_ecc_en = 1
      * Bit 30: reg_ecc_addr_rgn_prot = 1
      * Bit 29: reg_ecc_verify_dis = 0, enable ECC verification on reads (normal)
      * Bit 28: reg_rmw_en=1,  this is the recommended configuration when using ECC
      * Bit 1: reg_ecc_addr_rgn_2_en = 1
      * Bit 0: reg_ecc_addr_rgn_1_en = 1
    EMIF_ECC_ADDRESS_RANGE_1 = 0x3fff0000
    EMIF_ECC_ADDRESS_RANGE_2 = 0x7fff4000
      -> ECC Region 1 is enabled to protect inside the address range 0x80000000 to 0xbfffffff
      -> ECC Region 2 is enabled to protect inside the address range 0xc0000000 to 0xffffffff
    EMIF_1B_ECC_ERR_CNT = 0x00000000
    EMIF_1B_ECC_ERR_THRSH = 0x00000000
    EMIF_1B_ECC_ERR_DIST_1 = 0x00000000
    EMIF_1B_ECC_ERR_DIST_1 = 0x00000000
    EMIF_2B_ECC_ERR_ADDR_LOG = 0x00000000

    At this point, my assessment of your crash is that it's unrelated to ECC.  Please start a new thread for that issue.  I believe we have resolved your issue of enabling ECC.

    Best regards,
    Brad