Is there references of using 4G DDR3?
It is recognized in U-BOOT, but android kernel has errors.
So can I get the tested result about 4G DDR3 memory or information for compatibility?
Guys,
as Igor and Gary said, run the DDR test first i.MX6/7 DDR Stress Test Tool V2.52 . If the test will pass, try to run android with 1 or 2GB only. It looks like the memory chip is bad, bad signal routing or kernel is not compiled properly.
Michal
Hi,
The Boundary Devices Nitrogen6 MAX board is using 4GB of DDR3 with no issues. I suggest you look at the U-Boot cfg file and run the ddr stress test on your platform.
https://boundarydevices.com/product/nitrogen6max/
Regards,
Gary
I also think that this can be caused by ddr errors.
Had you run ddr test, are you able to run successfully
android with just 2GB ?
~igor
Hi JHY,
at what speed your DDR is running now?
Michal
Hi Michal,
This is Andy cho. JHY is our colleague.
Below is log file of Memory. Would you please check what is problem ?
--------------------------------------------------------------------------------------
U-Boot 2009.08-00702-g2cbc367-dirty (5 12 2016 - 22:39:13)
CPU: Freescale i.MX6 family TO1.5 at 792
MHz Thermal sensor with ratio = 178
Temperature: 36 C, calibration data 0x5674d869
mx6q pll1: 792MHz
mx6q pll2: 528MHz
mx6q pll3: 480MHz
mx6q pll8: 50MHz
ipg clock : 66000000Hz
ipg per clock : 66000000Hz
uart clock : 80000000Hz
cspi clock : 60000000Hz
ahb clock : 132000000Hz
axi clock : 264000000Hz
emi_slow clock: 132000000Hz
ddr clock : 528000000Hz
usdhc1 clock : 198000000Hz
usdhc2 clock : 198000000Hz
usdhc3 clock : 198000000Hz
usdhc4 clock : 198000000Hz
nfc clock : 24000000Hz
Board: i.MX6Q-SABRESD: unknown-board
Board: 0x63015 [POR ] Boot Device: MMC
DRAM:
3 GB
MMC:
FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2
*** Warning - bad CRC or MMC, using
default environment
Net:
got MAC address from IIM: 00:00:00:00:00:00
FEC0 [PRIME]
Hit any key to stop autoboot: 0
kernel
@ 10808000 (5223532)
ramdisk
@ 11800000 (496734)
kernel cmdline:
use uboot command line:
"console=ttymxc0,115200 init=/init
video=mxcfb0:dev=ldb,LDB-1080p60,if=RGB24 ldb=spl0 video=mxcfb1:off
video=mxcfb2:off fbmem=24M fb0bas
e=0x27b00000 vmalloc=400M
androidboot.console=ttymxc0 androidboot.hardware=freescale root=/dev/mmcblk0p1
ro rootfstype=ext4 rootwait ip=off mem= 3840M"
Starting kernel ...
Uncompressing Linux... done, booting the
kernel.
Initializing cgroup subsys cpu
Linux version
3.0.35-00002-g439f7c9-dirty (ybgwon@sul) (gcc version 4.6.x-google 20120106
(prerelease) (GCC) ) #488 SMP PREEMPT Mon May 23 20:18
:09 KST 2016
CPU: ARMv7 Processor [412fc09a] revision
10 (ARMv7), cr=10c53c7d
CPU: VIPT nonaliasing data cache, VIPT
aliasing instruction cache
Machine: Freescale i.MX
6Quad/DualLite/Solo Sabre-SD Board Ignoring unrecognised tag 0x54410008 Memory
policy: ECC disabled, Data cache writealloc CPU identified as i.MX6Q, unknown
revision
PERCPU: Embedded 7 pages/cpu @8348d000
s6528 r8192 d13952 u32768 Built 1 zonelists in Zone order, mobility grouping
on. Total pages: 834560 Kernel command
line: "console=ttymxc0,115200 init=/init
video=mxcfb0:dev=ldb,LDB-1080p60,if=RGB24 ldb=spl0 video=mxcfb1:off
video=mxcfb2:off fbm em=24M fb0base=0x27b00000 vmalloc=400M
androidboot.console=ttymxc0 androidboot.hardware=freescale root=/dev/mmcblk0p1
ro rootfstype=ext4 rootwai t ip=off mem=3840M"
PID hash table entries: 4096 (order: 2,
16384 bytes) Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 131072 (order: 7, 524288 bytes)
Memory: 379MB 1261MB 1648MB = 3288MB
total
Memory: 3323356k/3585500k available,
346660k reserved, 1687552K highmem Virtual kernel memory layout:
vector : 0xffff0000 -
0xffff1000 ( 4 kB)
fixmap : 0xfff00000 -
0xfffe0000 ( 896 kB)
DMA : 0xfbe00000 -
0xffe00000 ( 64 MB)
vmalloc : 0xea800000 - 0xf2000000
( 120 MB)
lowmem : 0x80000000 -
0xea000000 (1696 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2
MB)
modules : 0x7f000000 - 0x7fe00000
( 14 MB)
.init : 0x80008000 - 0x8004b000
( 268 kB)
.text : 0x8004b000 - 0x80a186e8
(10038 kB)
.data : 0x80a1a000 - 0x80ace058
( 721 kB)
.bss : 0x80ace07c - 0x80c56a30
(1571 kB)
Preemptible hierarchical RCU
implementation.
NR_IRQS:624
MXC GPIO hardware
sched_clock: 32 bits at 3000kHz,
resolution 333ns, wraps every 1431655ms arm_max_freq=1GHz MXC_Early serial
console at MMIO 0x2020000 (options '115200 init=/ini') bootconsole [ttymxc0]
enabled Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
pid_max: default: 32768 minimum: 301
Security Framework initialized
SELinux:
Initializing.
Mount-cache hash table entries: 512
Initializing cgroup subsys debug
Initializing cgroup subsys cpuacct
Initializing cgroup subsys freezer
CPU: Testing write buffer coherency: ok
hw perfevents: enabled with ARMv7
Cortex-A9 PMU driver, 7 counters available
CPU1: Booted secondary processor
CPU2: Booted secondary processor
CPU3: Booted secondary processor
Brought up 4 CPUs
SMP: Total of 4 processors activated
(6324.22 BogoMIPS).
print_constraints: dummy:
NET: Registered protocol family 16
print_constraints: vddpu: 725 <-->
1300 mV at 700 mV fast normal
print_constraints: vddcore: 725
<--> 1300 mV at 1150 mV fast normal
print_constraints: vddsoc: 725
<--> 1300 mV at 1200 mV fast normal
print_constraints: vdd2p5: 2000
<--> 2775 mV at 2400 mV fast normal
print_constraints: vdd1p1: 800
<--> 1400 mV at 1100 mV fast normal
print_constraints: vdd3p0: 2625
<--> 3400 mV at 3000 mV fast normal vmap allocation for size 134221824
failed: use vmalloc=<size> to increase size.
start,pcie_3v3_power
end,pcie_3v3_power
hw-breakpoint: found 6 breakpoint and 1
watchpoint registers.
hw-breakpoint: 1 breakpoint(s) reserved
for watchpoint single-step.
hw-breakpoint: maximum watchpoint size
is 4 bytes.
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c7,
AUX_CTRL 0x32070000, Cache size: 1048576 B
bio: create slab <bio-0> at 0
mxs-dma mxs-dma-apbh: initialized
print_constraints: vmmc: 3300 mV
print_constraints: VDDA: 3300 mV
print_constraints: VDDIO: 3300 mV
print_constraints: VDDD: 1800 mV
vgaarb: loaded
SCSI subsystem initialized
spi_imx imx6q-ecspi.0: probed
usbcore: registered new interface driver
usbfs
usbcore: registered new interface driver
hub
usbcore: registered new device driver
usb Freescale USB OTG Driver loaded, $Revision: 1.55 $ mc_pfuze 1-0008: ID: 0,Full
lay: 2 ,Metal lay: 1 mc_pfuze 1-0008: FAB: 0 ,FIN: 0
print_constraints: PFUZE100_SW1A: 300
<--> 1875 mV at 1300 mV
print_constraints: PFUZE100_SW1B: 300
<--> 1875 mV at 300 mV
print_constraints: PFUZE100_SW1C: 300
<--> 1875 mV at 1300 mV
print_constraints: PFUZE100_SW2: 800
<--> 3950 mV at 3000 mV
print_constraints: PFUZE100_SW3A: 400
<--> 1975 mV at 1500 mV
print_constraints: PFUZE100_SW3B: 400
<--> 1975 mV at 1500 mV
print_constraints: PFUZE100_SW4: 800
<--> 3950 mV at 3300 mV
print_constraints: PFUZE100_SWBST: 5000
<--> 5150 mV at 5000 mV
print_constraints: PFUZE100_VSNVS: 1200
<--> 3000 mV at 1800 mV
print_constraints: PFUZE100_VREFDDR: at
750 mV
print_constraints: PFUZE100_VGEN1: 800
<--> 1550 mV at 800 mV
print_constraints: PFUZE100_VGEN2: 800
<--> 1550 mV at 1500 mV
print_constraints: PFUZE100_VGEN3: 1800
<--> 3300 mV at 1800 mV
print_constraints: PFUZE100_VGEN4: 1800
<--> 3300 mV at 1800 mV
print_constraints: PFUZE100_VGEN5: 1800
<--> 3300 mV at 2500 mV
print_constraints: PFUZE100_VGEN6: 1800
<--> 3300 mV at 2800 mV
imx-ipuv3 imx-ipuv3.1: IPU DMFC NORMAL
mode: 1(0~1), 5B(4,5), 5F(6,7)
mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI
CSI2 driver probed
mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI
CSI2 dphy version is 0x3130302a MIPI CSI2 driver module loaded Advanced Linux
Sound Architecture Driver Version 1.0.24.
Bluetooth: Core ver 2.16
NET: Registered protocol family 31
Bluetooth: HCI device and connection
manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer
initialized
Bluetooth: SCO socket layer initialized
cfg80211: Calling CRDA to update world
regulatory domain
i2c-core: driver [max17135] using legacy
suspend method
i2c-core: driver [max17135] using legacy
resume method Switching to clocksource mxc_timer1
NET: Registered protocol family 2
IP route cache hash table entries: 65536
(order: 6, 262144 bytes) TCP established hash table entries: 262144 (order: 9,
2097152 bytes) TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established
262144 bind 65536) TCP reno registered UDP hash table entries: 1024 (order: 3,
32768 bytes) UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket
transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel
transport module.
Unpacking initramfs...
Unable to handle kernel paging request
at virtual address 00480078 pgd = 80004000 [00480078] *pgd=00000000 Internal
error: Oops: 5 [#1] PREEMPT SMP Modules linked in:
CPU: 0
Not tainted
(3.0.35-00002-g439f7c9-dirty #488)
PC is at __wake_up_common+0x28/0x90
LR is at __wake_up+0x3c/0x50
pc : [<8007aa0c>] lr : [<8007c5cc>] psr: a0000093
sp : e402fc60 ip : 00480078
fp : e402fc8c
r10: 00000003 r9 : e402fcb8
r8 : 00000000
r7 : 83486678 r6 : e402fcb8
r5 : 00000013 r4 : 83486670
r3 : 00000000 r2 : 00000001
r1 : 00000003 r0 : 83486670
Flags: NzCv IRQs off
FIQs on Mode SVC_32 ISA ARM
Segment kernel
Control: 10c53c7d Table: 1000404a DAC: 00000015
PC: 0x8007a98c:
a98c
e14b22d4 e18060da e0944002 e0a55003 e1b030a9 e1a02068 e14b82d4 e0566004
a9ac e0c77005 e18040fc e1580006 e0d99007
e18020f1 bafffff0 e24bd01c e8bd0ff0 a9cc
e12fff1e e1a01831 eaffffc6 80a1c080 8070d648 80a2faa0 e92d4ff0 e28db020
a9ec e24dd00c e1a07000 e1a0a001 e50b2028
e1a08003 e5b7c008 e59b9004 e157000c aa0c
e41c400c 0a000015 e244400c e59c5008 e1a0000c e3a00009 e1a01001 01a01208
aa2c e5006003 ea2f0035 e19230f8 e1a00004
e300002a 0a000005 e3160001 0a000003 aa4c
e51b2028 e2522001 e50b2028 0a000003 e5b3400c e1570003 e244400c 1affffea
aa6c e24bd020 e8bd8ff0 e92d4800 e3a0c000
e28db004 e24dd008 e3a02001 e1a0300c
LR: 0x8007c54c:
c54c
e58d5000 e1a06000 e1a00004 ebfff921 e1a00004 e1a01006 e24bd018 e8bd49f0
c56c ea1a3aab e24bd018 e8bd89f0 e52db004
e3a03000 e28db000 e28bd000 e8bd0800 c58c
eaffffe1 e92d49f0 e28db018 e24dd00c e1a04000 e1a06003 e1a08001 e1a07002
c5ac eb1a3bea e1a01008 e1a02007 e3a03000
e58d6000 e1a05000 e1a00004 ebfff905 c5cc
e1a00004 e1a01005 e24bd018 e8bd49f0 ea1a3a8f 002d0018 e200b000 00a00000
c5ec eb003a00 000d003c e3000000 001a00fa
eb001b00 e1a00004 e8bd4818 ea1a3bd5 c60c
e92d4ff8 e1a0c00d e3cc3d7f e59f715c e3c3303f e19f6058 e2a0b001 e1a07001
c62c e51a40ea e1a01000 e1a00007 e3a03002
e78da100 e085a00a 0a00003d e3a0ce13
SP: 0xe402fbe0:
fbe0
e40009c0 00100100 00000001 ffffffff 00100100 80ab7140 e402e000 00000004
fc00
80ab7140 0000040f 00000005 e402fcb8 83486678 800512d0 83486670 00000003
fc20
00000001 00000000 83486670 00000013 e402fcb8 83486678 00000000 e402fcb8
fc40
00000003 e402fc8c 00480078 e402fc60 8007c5cc 8007aa0c a0000093 ffffffff
fc60
e40b1b20 00000001 832fa0c0 83486670 00000013 e402fcb8 00000001 00000003
fc80
00000000 80724ee8 e402fcb4 8007c5cc e402fcb8 8011b8ec 832fa0c0 832fa0c0
fca0
e20e0538 00001000 e20e0614 00006000 00001000 800b0660 832fa0c0 00000000
fcc0
e20e0538 80158268 00000000 e402e000 00001000 00001000 e20e0614 00000000
FP: 0xe402fc0c:
fc0c
e402fcb8 83486678 800512d0 83486670 00000003 00000001 00000000 83486670
fc2c 00000013 e402fcb8 83486678 00000000
e402fcb8 00000003 e402fc8c 00480078 fc4c
e402fc60 8007c5cc 8007aa0c a0000093 ffffffff e40b1b20 00000001 832fa0c0
fc6c 83486670 00000013 e402fcb8 00000001
00000003 00000000 80724ee8 e402fcb4 fc8c
8007c5cc e402fcb8 8011b8ec 832fa0c0 832fa0c0 e20e0538 00001000 e20e0614
fcac 00006000 00001000 800b0660 832fa0c0
00000000 e20e0538 80158268 00000000 fccc
e402e000 00001000 00001000 e20e0614 00000000 00006000 80724ee8 e40b1b20
fcec 800ff4a4 00001000 00001000 832fa0c0
0aba9504 00006000 00000000 00001000
R0: 0x834865f0:
65f0
00000000 00000000 834865f8 834865f8 00000000 00000000 83486608 83486608
6610
00000000 00000000 83486618 83486618 00000000 00000000 83486628 83486628
6630
00000000 00000000 83486638 83486638 00000000 00000000 83486648 83486648
6650
00000000 00000000 83486658 83486658 00000000 00000000 00480068 83006600
6670
00000001 00000000 00480078 83006600 00000000 00000000 00480088 83006600
6690
00000000 00000000 00480098 83006600 00000000 00000000 834866a8 834866a8
66b0
00000000 00000000 834866b8 834866b8 00000000 00000000 834866c8 834866c8
66d0
00000000 00000000 834866d8 834866d8 00000000 00000000 834866e8 834866e8