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.

[参考译文] AM5718:DDR3 2GB Memtest 内核崩溃

Guru**** 1079370 points
Other Parts Discussed in Thread: AM5718
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1163494/am5718-ddr3-2gb-memtest-kernel-crash

器件型号:AM5718

大家好、

我们有一个具有2GB 内存的定制 am5718板。 DDR 内存总共为2GB、由两个 IS43TR16512BL-125KBLI 组成。

以下是我们迄今已采取的步骤

1、在 uboot/board/ti/am57xx/board.c 中使用硬编码电路板检测功能绕过 EEPROM 检查

2、使用了 EMIF 工具 www.ti.com/.../sprac36e.pdf

修改 DMM_LISA 映射_regs 和 EMIF_regs。

静态常量结构 DMM_LISA 映射_regs am571x_idk_LISA 寄存器={
.dm_lisa_map_0 = 0x00000000、
.dm_lisa_map_1 = 0x00000000、
.dm_lisa_map_2 = 0x80700100、
.dm_lisa_map_3 = 0xFF020100、
.in_ma_present = 0x1
};

静态常量结构 EMIF_regs am571x_emif1_DDR3_666mhz_EMIF_regs ={
SDRAM_CONFIG_INIT = 0x61862bb2、
SDRAM_CONFIG = 0x61862bb2、
.SDRAM_CONFIG2 = 0x08000000、
.ref_ctrl = 0x0000514d、
.ref_ctrl_final = 0x0000144a、
SDRAM_TIM1 = 0xd3337834、
SDRAM_TIT2 = 0x30ef7fe3、
SDRAM_TIM3 = 0x407f8e98、
READ_IDLE_Ctrl = 0x00050000、
zq_config = 0x5007190b、
temp_alert_config = 0x00000000、
.EMIF_DDR_phy_ctlr_1_init = 0x0024400e、
.EMIF_DDR_phy_ctlr_1 = 0x0e24400e、
.EMIF_DDR_ext_phy_Ctrl_1 = 0x10040100、
.EMIF_DDR_ext_phy_Ctrl_2 = 0x00910091、
.EMIF_DDR_ext_phy_Ctrl_3 = 0x00950095、
.EMIF_DDR_ext_phy_Ctrl_4 = 0x009b009b、
.EMIF_DDR_ext_phy_Ctrl_5 = 0x009e009e、
.EMIF_RD_EV_LVL_RMP_WIN = 0x00000000、
.EMIF_rd_wr_lvl_RMP_ctl = 0x8000000、
.EMIF_rd_wr_lvl_ctl = 0x00000000、
.EMIF_rd_wr_exec_thresh = 0x00000305
};

如您所见、 这看起来正常、DRAM 为2GB。

U-Boot SPL 2017.01-00458-g32d3fcd-dirty (Oct 20 2022 - 16:31:39)
DRA722-GP ES2.0
Trying to boot from MMC1
*** Warning - bad CRC, using default environment

reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img


U-Boot 2017.01-00458-g32d3fcd-dirty (Oct 20 2022 - 16:31:39 +0800)

CPU  : DRA722-GP ES2.0
Model: TI AM5718 IDK
Board: AM571x IDK REV 
DRAM:  2 GiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment

SCSI:  SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst 
scanning bus for devices...
Found 0 device(s).
Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
** Unable to read file uEnv.txt **
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading zImage
3736528 bytes read in 169 ms (21.1 MiB/s)
reading am5718-idk-touch_gt911.dtb
105820 bytes read in 9 ms (11.2 MiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffe3000, end 8ffffd5b ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.41-ge3a80a1c5c (goembed@goembed) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 SMP PREEMPT Thu Sep 29 17:29:43 CST 2022
[    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 AM5718 IDK
[    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_cma@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_cma@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_cma@9d000000, compatible id shared-dma-pool
[    0.000000] cma: Reserved 24 MiB at 0x00000000fd400000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] OMAP4: Map 0x00000000fed00000 to fe600000 for dram barrier
[    0.000000] DRA722 ES2.0
[    0.000000] percpu: Embedded 13 pages/cpu @eed68000 s22156 r8192 d22900 u53248
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 468544
[    0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=000cc69c-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: 1667688K/1881088K available (8192K kernel code, 315K rwdata, 2420K rodata, 2048K init, 304K bss, 33176K reserved, 180224K 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 : 0xc0e00000 - 0xc1000000   (2048 kB)
[    0.000000]       .data : 0xc1000000 - 0xc104ed60   ( 316 kB)
[    0.000000]        .bss : 0xc1050000 - 0xc109c0f0   ( 305 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] OMAP clockevent source: timer1 at 32786 Hz
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 6.14MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[    0.000016] Switching to timer-based delay loop, resolution 162ns
[    0.000325] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000333] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000741] Console: colour dummy device 80x30
[    0.000757] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
[    0.000764] This ensures that you still see kernel messages. Please
[    0.000770] update your kernel commandline.
[    0.000785] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[    0.000798] pid_max: default: 32768 minimum: 301
[    0.000901] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000911] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001518] CPU: Testing write buffer coherency: ok
[    0.001728] /cpus/cpu@0 missing clock-frequency property
[    0.001741] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001756] Setting up static identity map for 0x80200000 - 0x80200060
[    0.080036] EFI services will not be available.
[    0.099922] Brought up 1 CPUs
[    0.099932] SMP: Total of 1 processors activated (12.29 BogoMIPS).
[    0.099940] CPU: All CPU(s) started in HYP mode.
[    0.099946] CPU: Virtualization extensions available.
[    0.100390] devtmpfs: initialized
[    0.130079] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.130325] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.130341] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.133699] pinctrl core: initialized pinctrl subsystem
[    0.134561] NET: Registered protocol family 16
[    0.135433] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.136364] omap_hwmod: l3_main_2 using broken dt data from ocp
[    0.360274] cpuidle: using governor ladder
[    0.390297] cpuidle: using governor menu
[    0.400456] OMAP GPIO hardware version 0.1
[    0.441083] No ATAGs?
[    0.441103] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.441113] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.441503] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.441513] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.442068] OMAP DMA hardware revision 0.0
[    0.521023] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[    0.522396] edma 43300000.edma: memcpy is disabled
[    0.527212] edma 43300000.edma: TI EDMA DMA engine driver
[    0.527922] VSYS_3V3: supplied by VSYS
[    0.528226] V3_3D: supplied by VSYS_3V3
[    0.528507] VCC3_3: supplied by VSYS
[    0.531448] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[    0.531641] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[    0.531801] omap-iommu 58882000.mmu: 58882000.mmu registered
[    0.531959] omap-iommu 55082000.mmu: 55082000.mmu registered
[    0.534223] omap_i2c 48070000.i2c: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/i2c1_pins_default, deferring probe
[    0.534262] omap_i2c 48060000.i2c: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/i2c3_pins_default, deferring probe
[    0.534297] omap_i2c 4807c000.i2c: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/i2c5_pins_default, deferring probe
[    0.534450] media: Linux media interface: v0.10
[    0.534496] Linux video capture interface: v2.00
[    0.534530] pps_core: LinuxPPS API ver. 1 registered
[    0.534538] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.534558] PTP clock support registered
[    0.534588] EDAC MC: Ver: 3.0.0
[    0.541119] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[    0.541322] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[    0.541678] Advanced Linux Sound Architecture Driver Initialized.
[    0.550745] clocksource: Switched to clocksource arch_sys_counter
[    0.560814] NET: Registered protocol family 2
[    0.561321] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.561384] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.561510] TCP: Hash tables configured (established 8192 bind 8192)
[    0.561560] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.561591] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.561785] NET: Registered protocol family 1
[    0.582150] RPC: Registered named UNIX socket transport module.
[    0.582160] RPC: Registered udp transport module.
[    0.582168] RPC: Registered tcp transport module.
[    0.582175] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.583158] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    0.595828] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    0.603339] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.614070] NFS: Registering the id_resolver key type
[    0.614093] Key type id_resolver registered
[    0.614100] Key type id_legacy registered
[    0.614138] ntfs: driver 2.1.32 [Flags: R/O].
[    0.615560] bounce: pool size: 64 pages
[    0.615714] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.615724] io scheduler noop registered
[    0.615732] io scheduler deadline registered
[    0.615865] io scheduler cfq registered (default)
[    0.620583] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[    0.620653] pinctrl-single 4a002e8c.pinmux: please update dts to use #pinctrl-cells = <1>
[    0.620726] pinctrl-single 4a002e8c.pinmux: initialized with no interrupts
[    0.620800] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
[    0.634081] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.1
[    0.634411] OF: PCI: host bridge /ocp/axi@0/pcie@51000000 ranges:
[    0.634423] OF: PCI:   No bus range found for /ocp/axi@0/pcie@51000000, using [bus 00-ff]
[    0.634455] OF: PCI:    IO 0x20003000..0x20012fff -> 0x00000000
[    0.634476] OF: PCI:   MEM 0x20013000..0x2fffffff -> 0x20013000
[    1.635888] dra7-pcie 51000000.pcie: phy link never came up
[    1.636061] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
[    1.636075] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.636086] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.636097] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[    1.636485] PCI: bus0: Fast back to back transfers disabled
[    1.636601] PCI: bus1: Fast back to back transfers enabled
[    1.636734] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
[    1.636750] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
[    1.636764] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.637003] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    1.638051] backlight supply power not found, using dummy regulator
[    1.693931] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    1.697317] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
[    1.698252] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 302, base_baud = 3000000) is a 8250
[    1.699102] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250
[    2.663377] console [ttyS2] enabled
[    2.668778] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
[    2.675565] [drm] Initialized
[    2.679968] omapdss_dss 58000000.dss: master bind failed: -517
[    2.686468] tpd12s015 encoder@0: failed to find video source
[    2.692690] connector-hdmi connector@0: failed to find video source
[    2.699300] display supply vcc not found, using dummy regulator
[    2.705409] panel-dpi display: failed to find video source
[    2.882065] brd: module loaded
[    2.970440] loop: module loaded
[    2.978731] m25p80 spi0.0: unrecognized JEDEC id bytes: 00, 00, 00
[    2.985608] libphy: Fixed MDIO Bus: probed
[    3.050782] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
[    3.056907] libphy: 48485000.mdio: probed
[    3.075524] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver unknown
[    3.083620] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver unknown
[    3.092215] cpsw 48484000.ethernet: Detected MACID = 40:06:a0:b7:b6:f0
[    3.098861] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
[    3.107285] cpsw 48484000.ethernet: cpsw: Detected MACID = 40:06:a0:b7:b6:f1
[    3.115763] mousedev: PS/2 mouse device common for all mice
[    3.121683] i2c /dev entries driver
[    3.130364] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    3.251813] ledtrig-cpu: registered to indicate activity on CPUs
[    3.259720] NET: Registered protocol family 10
[    3.275245] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.281934] NET: Registered protocol family 17
[    3.287689] Key type dns_resolver registered
[    3.292145] omap_voltage_late_init: Voltage driver support not added
[    3.298682] Power Management for TI OMAP4+ devices.
[    3.303870] Registering SWP/SWPB emulation handler
[    3.309908] mmc0: new DDR MMC card at address 0001
[    3.327399] dmm 4e000000.dmm: initialized all PAT entries
[    3.333867] mmcblk0: mmc0:0001 032GB4 29.1 GiB 
[    3.339380] palmas 0-0058: IRQ missing: skipping irq request
[    3.355345] mmcblk0boot0: mmc0:0001 032GB4 partition 1 8.00 MiB
[    3.371093] palmas 0-0058: Muxing GPIO 51, PWM 0, LED 2
[    3.376523] mmcblk0boot1: mmc0:0001 032GB4 partition 2 8.00 MiB
[    3.384918]  mmcblk0: p1 p2
[    3.392335] smps5: Bringing 1500000uV into 1350000-1350000uV
[    3.403473] random: fast init done
[    3.413632] tmp102 0-0048: error reading config register
[    3.419066] tmp102: probe of 0-0048 failed with error -121
[    3.424669] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[    3.431326] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
[    3.451412] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 100 kHz
[    3.458453] OMAP DSS rev 6.1
[    3.461808] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[    3.470237] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
[    3.479498] display supply vcc not found, using dummy regulator
[    3.487912] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    3.550997] 58040000.encoder supply vdda not found, using dummy regulator
[    3.581270] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.587910] [drm] No driver support for vblank timestamp query.
[    3.606917] omapdrm omapdrm.0: No connectors reported connected with modes
[    3.614884] [drm] Cannot find any crtc or sizes - going 1024x768
[    3.629184] [drm] Enabling DMM ywrap scrolling
[    3.637890] Console: switching to colour frame buffer device 128x48
[    3.647901] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[    3.681883] hctosys: unable to open rtc device (rtc0)
[    3.687564] ldo4: disabling
[    3.690624] ALSA device list:
[    3.693650]   No soundcards found.
[    3.697548] Waiting for root device PARTUUID=000cc69c-02...
[    3.739719] mmc2: host does not support reading read-only switch, assuming write-enable
[    3.754385] mmc2: new ultra high speed DDR50 SDHC card at address aaaa
[    3.771309] mmcblk2: mmc2:aaaa SC16G 14.8 GiB 
[    3.780530]  mmcblk2: p1 p2
[    4.633800] EXT4-fs (mmcblk2p2): recovery complete
[    4.648531] EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Opts: (null)
[    4.656711] VFS: Mounted root (ext4 filesystem) on device 179:50.
[    4.667539] devtmpfs: mounted
[    4.672721] Freeing unused kernel memory: 2048K (c0e00000 - c1000000)
[    4.781238] systemd[1]: System time before build time, advancing clock.
[    4.798754] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[    4.817338] systemd[1]: Detected architecture arm.

Welcome to Arago 2017.12!

[    4.854775] systemd[1]: Set hostname to <am57xx-evm>.
[    5.104962] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    5.130974] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    5.170832] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    5.201196] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    5.253267] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    5.295648] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    5.330929] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Reached target Paths.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Mounting Debug File System...
         Starting Journal Service...
         Starting Load Kernel Modules...
[  OK  ] Reached target Slices.
[  OK  ] Created slice system-getty.slice.
         Starting Setup Virtual Console...
         Mounting POSIX Message Queue File System...
         Mounting Temporary Directory...
[  OK  ] Reached target Remote File Systems.
         Starting Remount Root and Kernel File Systems...
[    5.899359] EXT4-fs (mmcblk2p2): re-mounted. Opts: (null)
         Starting Create Static Device Nodes in /dev...
[  OK  ] Listening on Process Core Dump Socket.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted Temporary Directory.
[  OK  ] Started Journal Service.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[  OK  ] Started Setup Virtual Console.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
         Starting udev Coldplug all Devices...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /media/ram...
         Mounting /var/volatile...
         Starting Apply Kernel Variables...
         Mounting Configuration File System...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Mounted Configuration File System.
[  OK  ] Mounted /var/volatile.
[  OK  ] Mounted /media/ram.
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started Apply Kernel Variables.
[    6.711164] systemd-journald[101]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Started Load/Save Random Seed.
[  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.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started D-Bus System Message Bus.
         Starting Network Service...
         Starting tiipclad-daemon.service...
[  OK  ] Started Job spooling tools.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Started System Logging Service.
         Starting Login Service...
         Starting Print notice about GPLv3 packages...
         Starting telnetd.service...
[    7.961737] net eth1: initializing cpsw version 1.15 (0)
[  OK  ] Started Kernel Logging Service.
[  OK  ] Started Periodic Command Scheduler.
[    8.061851] net eth0: initialized cpsw ale version 1.4
[    8.067014] net eth0: ALE Table size 1024
[  OK  ] Started Network Service.
[  OK  ] Started tiipclad-daemon.service.
[  OK  ] Started telnetd.service.
[  OK  ] Found device /dev/ttyS2.
[    8.248595] Generic PHY 48485000.mdio:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=48485000.mdio:01, irq=-1)
[  OK  ] Started Login Service.
         Starting thttpd.service...
[  OK  ] Reached target Network.
         Starting Permit User Sessions...
[    8.527190] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
         Starting Network Name Resolution...
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS2.
[  OK  ] Reached target Login Prompts.
[    8.704368] net eth0: initializing cpsw version 1.15 (0)
         Starting Synchronize System and HW clocks...
[  OK  ] Started thttpd.service.
[FAILED] Failed to start Synchronize System and HW clocks.
See 'systemctl status sync-clocks.service' for details.
[    8.844178] Generic PHY 48485000.mdio:02: attached PHY driver [Generic PHY] (mii_bus:phy_addr=48485000.mdio:02, irq=-1)
[    8.871428] EXT4-fs (mmcblk0p2): recovery complete
[    8.871438] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    8.887040] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    8.907079] FAT-fs (mmcblk2p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    9.078129] random: crng init done
         Starting rng-tools.service...
[    9.439856] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  OK  ] Started rng-tools.service.
[  OK  ] Started Network Name Resolution.
[  OK  ] Created slice system-systemd\x2dbacklight.slice.
         Starting Load/Save Screen Backlight...htness of backlight:backlight...
         Starting thermal-zone-init.service...
[  OK  ] Started Load/Save Screen Backlight Brightness of backlight:backlight.
[  OK  ] Started thermal-zone-init.service.
***************************************************************
***************************************************************
NOTICE: This file system contains the following GPLv3 packages:
        binutils
        cifs-utils
        cpio
        dosfstools
        gawk
        gzip
        libreadline6
        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  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Started Print notice about GPLv3 packages.
[  OK  ] Reached target Multi-User System.
         Starting Update UTMP about System Runlevel Changes...
[   10.488376] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[[   10.554702] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
  OK  ] Started Update UTMP about System Runlevel Changes.

 _____                    _____           _         _   
|  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
|     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
|__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
              |___|                    |___|            

Arago Project http://arago-project.org am57xx-evm ttyS2

Arago 2017.12 am57xx-evm ttyS2

am57xx-evm login: 

但是、当我使用 Mentest 进行内存压力测试时、内核崩溃。

root@am57xx-evm:~# free -m   
              total        used        free      shared  buff/cache   available
Mem:           1806          21        1740          12          43        1749
Swap:             0           0           0
root@am57xx-evm:~# memtester 512M 1
memtester version 4.3.0 (32-bit)
Copyright (C) 2001-2012 Charles Cazabon.
Licensed under the GNU General Public License version 2 (only).

pagesize is 4096
pagesizemask is 0xfffff000
want 512MB (536870912 bytes)
got  512MB (536870912 bytes), trying mlock ...[  185.951053] Unable to handle kernel paging request at virtual address 2fd89000
[  185.958316] pgd = edb8a600
[  185.961070] [2fd89000] *pgd=ad0e3003, *pmd=00000000
[  185.965986] Internal error: Oops: a06 [#1] PREEMPT SMP ARM
[  185.971492] Modules linked in:
[  185.974566] CPU: 0 PID: 718 Comm: memtester Not tainted 4.9.41-ge3a80a1c5c #1
[  185.981729] Hardware name: Generic DRA72X (Flattened Device Tree)
[  185.987844] task: ed240c80 task.stack: edb94000
[  185.992397] PC is at __memzero+0x24/0x7c
[  185.996334] LR is at 0x0
[  185.998877] pc : [<c04cc064>]    lr : [<00000000>]    psr: 200e0013
[  185.998877] sp : edb95e04  ip : 00000000  fp : edb95e1c
[  186.010401] r10: 00000000  r9 : 00000001  r8 : ed142ba0
[  186.015646] r7 : a1e7b000  r6 : 00000000  r5 : ed142ba0  r4 : 2fd89000
[  186.022199] r3 : 00000000  r2 : 00000000  r1 : 00000fc0  r0 : 2fd89000
[  186.028753] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[  186.035915] Control: 30c5387d  Table: adb8a600  DAC: fffffffd
[  186.041683] Process memtester (pid: 718, stack limit = 0xedb94210)
[  186.047887] Stack: (0xedb95e04 to 0xedb96000)
[  186.052261] 5e00:          c0218f1c efd84744 ed142ba0 edb95e94 edb95e20 c0305e34 c0218f0c
[  186.060473] 5e20: 00000000 00000000 ed142ba0 000003d8 00001053 c1080944 c1006184 edb7a878
[  186.068684] 5e40: edb95e94 edb95e50 c02ff0d4 ed142ba0 a1e7b000 00000005 edb7a878 00000000
[  186.076896] 5e60: 00000000 00000000 edb95e94 ed142ba0 a1e7b000 0000afa9 ffffe000 00001053
[  186.085107] 5e80: edb94000 ed240c80 edb95ef4 edb95e98 c02ff4dc c0305330 edb95ed4 edb95ea8
[  186.093318] 5ea0: c03090b0 c03088e4 ed1428a0 c1006184 c1080944 fffff000 ed05f540 00015057
[  186.101529] 5ec0: 96ed2000 00000000 edb95ee4 00000000 edb95f34 00001042 b6ed2000 ed05f540
[  186.109739] 5ee0: ed05f57c 00000001 edb95f24 edb95ef8 c02ffda0 c02ff3ec 00001053 00000000
[  186.117950] 5f00: 00000000 edb95f34 96ed2000 96ed2000 b6ed2000 ed142ba0 edb95f64 edb95f28
[  186.126161] 5f20: c02ffe4c c02ffd34 edb95f64 00000000 c030757c 00000001 00102073 20000000
[  186.134372] 5f40: 96ed2000 00000000 ffffe000 00000010 00020000 00000000 edb95f94 edb95f68
[  186.142583] 5f60: c03076a8 c02ffdb4 96ed2000 20000000 96ed1008 00000001 00000096 c0207d84
[  186.150794] 5f80: edb94000 00000000 edb95fa4 edb95f98 c03078f4 c03075b8 00000000 edb95fa8
[  186.159005] 5fa0: c0207be0 c03078ec 20000000 96ed1008 96ed2000 1ffff008 00001000 96ed2000
[  186.167216] 5fc0: 20000000 96ed1008 00000001 00000096 00012a94 00001000 00023214 00000000
[  186.175425] 5fe0: b6f62cc1 bef3fb94 00010d6c b6f62cc6 000e0030 96ed2000 00001fff 00002000
[  186.183632] Backtrace: 
[  186.186105] [<c0218f00>] (v6_clear_user_highpage_nonaliasing) from [<c0305e34>] (handle_mm_fault+0xb10/0xd7c)
[  186.196058]  r5:ed142ba0 r4:efd84744
[  186.199649] [<c0305324>] (handle_mm_fault) from [<c02ff4dc>] (__get_user_pages+0xfc/0x514)
[  186.207949]  r10:ed240c80 r9:edb94000 r8:00001053 r7:ffffe000 r6:0000afa9 r5:a1e7b000
[  186.215808]  r4:ed142ba0
[  186.218351] [<c02ff3e0>] (__get_user_pages) from [<c02ffda0>] (populate_vma_page_range+0x78/0x80)
[  186.227261]  r10:00000001 r9:ed05f57c r8:ed05f540 r7:b6ed2000 r6:00001042 r5:edb95f34
[  186.235120]  r4:00000000
[  186.237663] [<c02ffd28>] (populate_vma_page_range) from [<c02ffe4c>] (__mm_populate+0xa4/0x140)
[  186.246397]  r6:ed142ba0 r5:b6ed2000 r4:96ed2000
[  186.251034] [<c02ffda8>] (__mm_populate) from [<c03076a8>] (do_mlock+0xfc/0x230)
[  186.258461]  r10:00000000 r9:00020000 r8:00000010 r7:ffffe000 r6:00000000 r5:96ed2000
[  186.266319]  r4:20000000
[  186.268864] [<c03075ac>] (do_mlock) from [<c03078f4>] (SyS_mlock+0x14/0x18)
[  186.275853]  r10:00000000 r9:edb94000 r8:c0207d84 r7:00000096 r6:00000001 r5:96ed1008
[  186.283712]  r4:20000000 r3:96ed2000
[  186.287305] [<c03078e0>] (SyS_mlock) from [<c0207be0>] (ret_fast_syscall+0x0/0x34)
[  186.294906] Code: e52de004 e1a0c002 e1a0e002 e2511040 (a8a0500c) 
[  186.301071] ---[ end trace 4b3df7168fa605e4 ]---
[  186.305710] note: memtester[718] exited with preempt_count 1

Broadcast message from systemd-journald@am57xx-evm (Mon 2018-0[  186.321099] Unable to handle kernel paging request at virtual address 2fd8a000
3-26 15:26:34 UTC):

kernel[280]: [  185.965986] Internal er[  186.332542] pgd = edaa70c0
ror: Oops: a06 [#1] PREEMPT SMP ARM

[  186.340846] [2fd8a000] *pgd=ada83003, *pmd=00000000
[  186.349317] Internal error: Oops: a06 [#2] PREEMPT SMP ARM
[  186.354822] Modules linked in:
[  186.357895] CPU: 0 PID: 232 Comm: syslogd Tainted: G      D         4.9.41-ge3a80a1c5c #1
[  186.366105] Hardware name: Generic DRA72X (Flattened Device Tree)
[  186.372222] task: edac3200 task.stack: ed95a000
[  186.376777] PC is at arm_copy_from_user+0x1d0/0x3b8
[  186.381673] LR is at 0x7474616c
[  186.384825] pc : [<c04c9b78>]    lr : [<7474616c>]    psr: a00b0013
[  186.384825] sp : ed95bd88  ip : 6c462820  fp : ed95bdf4
[  186.396350] r10: 2fd8a035  r9 : 58323741  r8 : 52442063
[  186.401593] r7 : 6972656e  r6 : 6547203a  r5 : 656d616e  r4 : 20657261
[  186.408146] r3 : 77647261  r2 : ffffff95  r1 : 000bd4c4  r0 : 2fd8a000
[  186.414699] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[  186.421861] Control: 30c5387d  Table: adaa70c0  DAC: fffffffd
[  186.427628] Process syslogd (pid: 232, stack limit = 0xed95a210)
[  186.433657] Stack: (0xed95bd88 to 0xed95c000)
[  186.438030] bd80:                   00000035 0000003d ed95bee0 00000000 c0a0d340 2fd8a000
[  186.446242] bda0: 00000035 00000000 00000035 c04de018 00001000 00000000 c0a0d340 2fd8a000
[  186.454453] bdc0: 00000035 ed95bee8 c02f1d00 00000035 ed95bee8 eda54914 00001000 00000000
[  186.462664] bde0: c0a0d340 00000000 ed95be54 ed95bdf8 c02d7884 c04ddf98 00000035 00000000
[  186.470875] be00: ed95be20 ed95be24 00000000 ed95a000 0000003d ed90bd80 00014000 00000000
[  186.479084] be20: efd84768 c0350310 5ab9112a 00000000 ed95bf00 ed90bd80 ed95bee8 eda54914
[  186.487294] be40: 00000000 ed95bee8 ed95be9c ed95be58 c02d87d4 c02d779c 00000002 ed95bee8
[  186.495505] be60: c084a1a8 edf3be40 ee5c1540 ed95bf78 000000ff 00000072 ed95bf00 eda54898
[  186.503715] be80: ed95bee8 ffffffff 00000000 00000000 ed95bed4 ed95bea0 c02d89dc c02d86d0
[  186.511926] bea0: 00000001 00000000 00000000 00000000 ed90bd80 00000002 ed95bf78 00000072
[  186.520135] bec0: 00013fc3 00000000 ed95bf44 ed95bed8 c032ebc4 c02d88c8 00000072 00000000
[  186.528345] bee0: 000bd464 00000072 00000001 0000003d 00000035 ed95bee0 00000001 00000000
[  186.536555] bf00: ed90bd80 00000000 00013fc3 00000000 00000000 00000000 00000002 00000000
[  186.544766] bf20: 00000072 ed90bd80 000bd464 ed95bf78 00000000 00000072 ed95bf74 ed95bf48
[  186.552976] bf40: c032f978 c032eb08 00000000 00000000 ed90bd80 ed90bd80 00013fc3 00000000
[  186.561185] bf60: 000bd464 00000072 ed95bfa4 ed95bf78 c033073c c032f8d8 00013fc3 00000000
[  186.569395] bf80: 000bc9b8 00000072 000bd464 00000004 c0207d84 ed95a000 00000000 ed95bfa8
[  186.577605] bfa0: c0207be0 c0330704 000bc9b8 00000072 00000003 000bd464 00000072 000bd008
[  186.585815] bfc0: 000bc9b8 00000072 000bd464 00000004 00000072 000bc9f0 00000010 bed79c04
[  186.594025] bfe0: 00000000 bed79b3c 0001a7ac b6f0b006 200b0030 00000003 00480000 88004000
[  186.602232] Backtrace: 
[  186.604703] [<c04ddf8c>] (iov_iter_copy_from_user_atomic) from [<c02d7884>] (generic_perform_write+0xf4/0x1d4)
[  186.614748]  r10:00000000 r9:c0a0d340 r8:00000000 r7:00001000 r6:eda54914 r5:ed95bee8
[  186.622607]  r4:00000035
[  186.625152] [<c02d7790>] (generic_perform_write) from [<c02d87d4>] (__generic_file_write_iter+0x110/0x1f8)
[  186.634847]  r10:ed95bee8 r9:00000000 r8:eda54914 r7:ed95bee8 r6:ed90bd80 r5:ed95bf00
[  186.642706]  r4:00000000
[  186.645249] [<c02d86c4>] (__generic_file_write_iter) from [<c02d89dc>] (generic_file_write_iter+0x120/0x200)
[  186.655118]  r10:00000000 r9:00000000 r8:ffffffff r7:ed95bee8 r6:eda54898 r5:ed95bf00
[  186.662978]  r4:00000072
[  186.665521] [<c02d88bc>] (generic_file_write_iter) from [<c032ebc4>] (__vfs_write+0xc8/0x120)
[  186.674081]  r9:00000000 r8:00013fc3 r7:00000072 r6:ed95bf78 r5:00000002 r4:ed90bd80
[  186.681857] [<c032eafc>] (__vfs_write) from [<c032f978>] (vfs_write+0xac/0x170)
[  186.689196]  r9:00000072 r8:00000000 r7:ed95bf78 r6:000bd464 r5:ed90bd80 r4:00000072
[  186.696972] [<c032f8cc>] (vfs_write) from [<c033073c>] (SyS_write+0x44/0x98)
[  186.704050]  r9:00000072 r8:000bd464 r7:00000000 r6:00013fc3 r5:ed90bd80 r4:ed90bd80
[  186.711827] [<c03306f8>] (SyS_write) from [<c0207be0>] (ret_fast_syscall+0x0/0x34)
[  186.719428]  r9:ed95a000 r8:c0207d84 r7:00000004 r6:000bd464 r5:00000072 r4:000bc9b8
[  186.727203] Code: e1a09429 e1899c0c e1a0c42c e18ccc0e (e8a013f8) 
[  186.733367] ---[ end trace 4b3df7168fa605e5 ]---
[  186.738004] note: syslogd[232] exited with preempt_count 1

Broadcast message from systemd-journald@am57xx-evm (Mon 2018-03-26 15:26:35 UTC):

kernel[280]: [  186.041683] Process memtester (pid: 718, stack limit = 0xedb94210)


Broadcast message from systemd-journald@am57xx-evm (Mon 2018-03-26 15:26:35 UTC):

kernel[280]: [  186.047887] Stack: (0xedb95e04 to 0xedb96000)


Broadcast message from systemd-journald@am57xx-evm (Mon 2018-03-26 15:26:35 UTC):

kernel[280]: [  186.052261] 5e00:          c0218f1c efd84744 ed142ba0 edb95e94 edb95e20 c0305e34 c0218f0c


Broadcast message from systemd-jour[  186.805519] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[  186.816874] pgd = c0003000
[  186.819587] [00000000] *pgd=80000080004003, *pmd=00000000
[  186.825019] Internal error: Oops: a06 [#3] PREEMPT SMP ARM
[  186.830523] Modules linked in:
[  186.833595] CPU: 0 PID: 718 Comm: memtester Tainted: G      D         4.9.41-ge3a80a1c5c #1
[  186.841976] Hardware name: Generic DRA72X (Flattened Device Tree)
[  186.848092] task: ed240c80 task.stack: edb94000
[  186.852642] PC is at __munlock_isolate_lru_page+0xd4/0x178
[  186.858146] LR is at 0x100
[  186.860860] pc : [<c0306b18>]    lr : [<00000100>]    psr: 00010093
[  186.860860] sp : edb95a10  ip : 00000200  fp : edb95a34
[  186.872383] r10: 00000001  r9 : c104c800  r8 : 00000005
[  186.877624] r7 : fffffffe  r6 : 00000004  r5 : ee803600  r4 : efd81168
[  186.884174] r3 : 00000000  r2 : ffffffff  r1 : 00000004  r0 : efd81134
[  186.890726] Flags: nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
[  186.897973] Control: 30c5387d  Table: ad8fe180  DAC: fffffffd
[  186.903740] Process memtester (pid: 718, stack limit = 0xedb94210)
[  186.909942] Stack: (0xedb95a10 to 0xedb96000)
[  186.914312] 5a00:                                     edb95acc efd81168 00000002 fffffffe
[  186.922520] 5a20: 00000000 c104c800 edb95aac edb95a38 c0306c70 c0306a50 c1006184 edb95ac0
[  186.930729] 5a40: 00000000 00000000 ed142ba0 a1cfb000 0000000c c1080944 edb95aac edb95a68
[  186.938937] 5a60: 000000fb ed05f578 edb95abc 00000870 edb7a000 c104c800 edb95aac edb95a88
[  186.947146] 5a80: c0304e60 a1cfd000 ffefe7e8 a1e00000 00000002 ed142ba0 c104c800 b6ed2000
[  186.955355] 5aa0: edb95b2c edb95ab0 c03072ec c0306bc8 ffe00000 c104c100 00000000 ed05f578
[  186.963563] 5ac0: 00000002 00000000 efd81144 efd81168 00000000 00000000 00000000 00000000
[  186.971771] 5ae0: 00000000 00000000 00000000 efd92ebc efd92ee0 efd92f04 efd92f28 efd92f4c
[  186.979978] 5b00: c1053f50 ed142ba0 ed05f540 edb94000 ed05f540 c04cc066 ed05f57c c0b92864
[  186.988187] 5b20: edb95ba4 edb95b30 c0309fc0 c0307144 0000000b 0008054c 00000001 c04cc066
[  186.996396] 5b40: c10077d0 c0b92864 edb95b6c edb95b58 c08c8664 c08c7d58 ed288480 0000000b
[  187.004604] 5b60: edb95b7c edb95b70 c08c869c c08c8644 edb95b8c edb95b80 c08c86c8 ed05f540
[  187.012813] 5b80: 00000000 edb94000 ed05f540 ed05f540 00000000 edb94000 edb95bbc edb95ba8
[  187.021021] 5ba0: c022bb24 c0309f88 ed240c80 ed24115c edb95be4 edb95bc0 c0231e68 c022bae8
[  187.029229] 5bc0: c04cc066 00000000 edb95be4 edb95bd8 c022e2f8 00000001 edb95c6c edb95be8
[  187.037437] 5be0: c020b958 c0231bb0 edb94210 0000000b c0b9286c 00000008 bf000000 00000000
[  187.045645] 5c00: c04cc068 600e0113 65b95c34 65643235 20343030 30613165 32303063 61316520
[  187.053854] 5c20: 30306530 32652032 30313135 28203034 30613861 63303035 c0002029 600e0113
[  187.062062] 5c40: 00000001 2fd89000 edb95db0 00000a06 ed05f540 2fd89000 edb94000 00000000
[  187.070270] 5c60: edb95c84 edb95c70 c021a958 c020b568 edb95db0 00000a06 edb95cd4 edb95c88
[  187.078479] 5c80: c0215810 c021a8f8 0000001e efd84b00 00000000 c104c800 c0e60a88 eed6fa88
[  187.086687] 5ca0: edb95d44 edb95cb0 c02dedf4 c100804c 00000a06 c02158ac 2fd89000 edb95db0
[  187.094895] 5cc0: edb94000 00000000 edb95cfc edb95cd8 c02159b0 c02154d4 c100804c 00000a06
[  187.103103] 5ce0: c02158ac 2fd89000 edb95db0 edb94000 edb95dac edb95d00 c02012ac c02158b8
[  187.111310] 5d00: 024200ca 00000000 200e0013 00000001 00000081 c104cf00 c02333a0 00000000
[  187.119519] 5d20: 00000081 024200ca a1e7b000 ed142ba0 00000000 c10031ac edb95e1c edb95d48
[  187.127727] 5d40: c02df630 c02de5d0 edb95d7c edb95d58 c02014a0 c027f3a8 c08cc320 200e0013
[  187.135935] 5d60: ffffffff edb95db4 c104c100 edb94000 edb95db0 00000001 ed96f400 a1e70000
[  187.144143] 5d80: edb95df4 edb95d90 c0324e78 c04cc064 200e0013 ffffffff edb95de4 ed142ba0
[  187.152351] 5da0: edb95e1c edb95db0 c020c070 c0201280 2fd89000 00000fc0 00000000 00000000
[  187.160560] 5dc0: 2fd89000 ed142ba0 00000000 a1e7b000 ed142ba0 00000001 00000000 edb95e1c
[  187.168768] 5de0: 00000000 edb95e04 00000000 c04cc064 200e0013 ffffffff edb95e1c bf000000
[  187.176976] 5e00: c0218f10 c0218f1c efd84744 ed142ba0 edb95e94 edb95e20 c0305e34 c0218f0c
[  187.185185] 5e20: 00000000 00000000 ed142ba0 000003d8 00001053 c1080944 c1006184 edb7a878
[  187.193393] 5e40: edb95e94 edb95e50 c02ff0d4 ed142ba0 a1e7b000 00000005 edb7a878 00000000
[  187.201601] 5e60: 00000000 00000000 edb95e94 ed142ba0 a1e7b000 0000afa9 ffffe000 00001053
[  187.209809] 5e80: edb94000 ed240c80 edb95ef4 edb95e98 c02ff4dc c0305330 edb95ed4 edb95ea8
[  187.218017] 5ea0: c03090b0 c03088e4 ed1428a0 c1006184 c1080944 fffff000 ed05f540 00015057
[  187.226225] 5ec0: 96ed2000 00000000 edb95ee4 00000000 edb95f34 00001042 b6ed2000 ed05f540
[  187.234433] 5ee0: ed05f57c 00000001 edb95f24 edb95ef8 c02ffda0 c02ff3ec 00001053 00000000
[  187.242640] 5f00: 00000000 edb95f34 96ed2000 96ed2000 b6ed2000 ed142ba0 edb95f64 edb95f28
[  187.250849] 5f20: c02ffe4c c02ffd34 edb95f64 00000000 c030757c 00000001 00102073 20000000
[  187.259057] 5f40: 96ed2000 00000000 ffffe000 00000010 00020000 00000000 edb95f94 edb95f68
[  187.267266] 5f60: c03076a8 c02ffdb4 96ed2000 20000000 96ed1008 00000001 00000096 c0207d84
[  187.275474] 5f80: edb94000 00000000 edb95fa4 edb95f98 c03078f4 c03075b8 00000000 edb95fa8
[  187.283683] 5fa0: c0207be0 c03078ec 20000000 96ed1008 96ed2000 1ffff008 00001000 96ed2000
[  187.291892] 5fc0: 20000000 96ed1008 00000001 00000096 00012a94 00001000 00023214 00000000
[  187.300100] 5fe0: b6f62cc1 bef3fb94 00010d6c b6f62cc6 000e0030 96ed2000 00001fff 00002000
[  187.308305] Backtrace: 
[  187.310766] [<c0306a44>] (__munlock_isolate_lru_page) from [<c0306c70>] (__munlock_pagevec+0xb4/0x30c)
[  187.320109]  r9:c104c800 r8:00000000 r7:fffffffe r6:00000002 r5:efd81168 r4:edb95acc
[  187.327885] [<c0306bbc>] (__munlock_pagevec) from [<c03072ec>] (munlock_vma_pages_range+0x1b4/0x1d4)
[  187.337054]  r10:b6ed2000 r9:c104c800 r8:ed142ba0 r7:00000002 r6:a1e00000 r5:ffefe7e8
[  187.344911]  r4:a1cfd000
[  187.347454] [<c0307138>] (munlock_vma_pages_range) from [<c0309fc0>] (exit_mmap+0x44/0x1fc)
[  187.355838]  r10:c0b92864 r9:ed05f57c r8:c04cc066 r7:ed05f540 r6:edb94000 r5:ed05f540
[  187.363696]  r4:ed142ba0
[  187.366239] [<c0309f7c>] (exit_mmap) from [<c022bb24>] (mmput+0x48/0xf4)
[  187.372965]  r6:edb94000 r5:00000000 r4:ed05f540
[  187.377600] [<c022badc>] (mmput) from [<c0231e68>] (do_exit+0x2c4/0x9f0)
[  187.384325]  r5:ed24115c r4:ed240c80
[  187.387913] [<c0231ba4>] (do_exit) from [<c020b958>] (die+0x3fc/0x460)
[  187.394463]  r7:00000001
[  187.397005] [<c020b55c>] (die) from [<c021a958>] (__do_kernel_fault.part.0+0x6c/0x1ec)
[  187.404953]  r10:00000000 r9:edb94000 r8:2fd89000 r7:ed05f540 r6:00000a06 r5:edb95db0
[  187.412811]  r4:2fd89000
[  187.415354] [<c021a8ec>] (__do_kernel_fault.part.0) from [<c0215810>] (do_page_fault+0x348/0x354)
[  187.424259]  r7:00000a06 r4:edb95db0
[  187.427846] [<c02154c8>] (do_page_fault) from [<c02159b0>] (do_translation_fault+0x104/0x108)
[  187.436403]  r10:00000000 r9:edb94000 r8:edb95db0 r7:2fd89000 r6:c02158ac r5:00000a06
[  187.444260]  r4:c100804c
[  187.446801] [<c02158ac>] (do_translation_fault) from [<c02012ac>] (do_DataAbort+0x38/0xb8)
[  187.455096]  r9:edb94000 r8:edb95db0 r7:2fd89000 r6:c02158ac r5:00000a06 r4:c100804c
[  187.462869] [<c0201274>] (do_DataAbort) from [<c020c070>] (__dabt_svc+0x50/0x80)
[  187.470292] Exception stack(0xedb95db0 to 0xedb95df8)
[  187.475360] 5da0:                                     2fd89000 00000fc0 00000000 00000000
[  187.483568] 5dc0: 2fd89000 ed142ba0 00000000 a1e7b000 ed142ba0 00000001 00000000 edb95e1c
[  187.491776] 5de0: 00000000 edb95e04 00000000 c04cc064 200e0013 ffffffff
[  187.498414]  r8:ed142ba0 r7:edb95de4 r6:ffffffff r5:200e0013 r4:c04cc064
[  187.505142] [<c0218f00>] (v6_clear_user_highpage_nonaliasing) from [<c0305e34>] (handle_mm_fault+0xb10/0xd7c)
[  187.515093]  r5:ed142ba0 r4:efd84744
[  187.518680] [<c0305324>] (handle_mm_fault) from [<c02ff4dc>] (__get_user_pages+0xfc/0x514)
[  187.526976]  r10:ed240c80 r9:edb94000 r8:00001053 r7:ffffe000 r6:0000afa9 r5:a1e7b000
[  187.534834]  r4:ed142ba0
[  187.537375] [<c02ff3e0>] (__get_user_pages) from [<c02ffda0>] (populate_vma_page_range+0x78/0x80)
[  187.546281]  r10:00000001 r9:ed05f57c r8:ed05f540 r7:b6ed2000 r6:00001042 r5:edb95f34
[  187.554139]  r4:00000000
[  187.556681] [<c02ffd28>] (populate_vma_page_range) from [<c02ffe4c>] (__mm_populate+0xa4/0x140)
[  187.565412]  r6:ed142ba0 r5:b6ed2000 r4:96ed2000
[  187.570046] [<c02ffda8>] (__mm_populate) from [<c03076a8>] (do_mlock+0xfc/0x230)
[  187.577470]  r10:00000000 r9:00020000 r8:00000010 r7:ffffe000 r6:00000000 r5:96ed2000
[  187.585329]  r4:20000000
[  187.587870] [<c03075ac>] (do_mlock) from [<c03078f4>] (SyS_mlock+0x14/0x18)
[  187.594858]  r10:00000000 r9:edb94000 r8:c0207d84 r7:00000096 r6:00000001 r5:96ed1008
[  187.602716]  r4:20000000 r3:96ed2000
[  187.606305] [<c03078e0>] (SyS_mlock) from [<c0207be0>] (ret_fast_syscall+0x0/0x34)
[  187.613904] Code: e3a0cc02 e1a01006 e3e02000 e5803004 (e5830000) 
[  187.620021] ---[ end trace 4b3df7168fa605e6 ]---
[  187.624653] Fixing recursive fault but reboot is needed!
nald@am57xx-evm (Mon 2018-03-26 15:26:35 UTC):

kernel[280]: [  186.060473] 5e20: 00000000 00000000 ed142ba0 000003d8 000010

您能帮我 解决问题吗?

谢谢

此致、

特里祖

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    调用 memtester 时、如果使用较小的内存大小(例如:256 MB 或128 MB)、是否会看到相同的错误?  如果您将 DDR 频率降低到532MHz、该怎么办?

    谢谢、
    Kevin

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    大家好、 Kevin

    1、调用超过128MB 内存大小的 memtest 将会看到相同的错误。

    2、我已尝试更改 board.c 中的以下行:

    void hw_data_init (void)

       * prcm =&dra7xx_prcm;
       *dplls_data =&dra7xx_dplls;
       *Ctrl =&dra7xx_Ctrl;

    将 DDR 频率降低至532MHz 并调用 Memtester。 因此、仍然会看到相同的误差。

    谢谢、

    特里祖