Hi,All.
We design a pcb board based on imx 6Quad referring to Sabre-SD board.
After i download the android 4.2 image to eMMC, it can't boot successfully, always stop at a moment , and start to reboot again.
The boot log is :
----------------------------------------------------------------------------------------------------------------
U-Boot 2009.08 ( 9鏈06 2013 - 09:31:53)
CPU: Freescale i.MX6 family TO1.2 at 792 MHz
Thermal sensor with ratio = 185
Temperature: 68 C, calibration data 0x59250469
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: 0x63012 [WDOG ]
Boot Device: MMC
I2C: ready
DRAM: 1 GB
MMC: FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3
*** Warning - bad CRC or MMC, using default environment
In: serial
Out: serial
Err: serial
i2c: I2C2 SDA is low, start i2c recovery...
I2C2 Recovery failed, I2C1 SDA still low!!!
i2c: I2C3 SDA is low, start i2c recovery...
I2C3 Recovery failed, I2C1 SDA still low!!!
Net: got MAC address from IIM: 00:00:00:00:00:00
FEC0 [PRIME]
Hit any key to stop autoboot: 0
kernel @ 10808000 (4690416)
ramdisk @ 11800000 (189207)
kernel cmdline:
use boot.img command line:
console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=10M fb0base=0x27b00000 vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Initializing cgroup subsys cpu
Linux version 3.0.35-06126-g0f2d6ad-dirty (tonny@tonnypc) (gcc version 4.6.x-google 20120106 (prerelese) (GCC) ) #101 SMP PREEMPT Fri Nov 1 09:10:36 CST 2013
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, silicon rev 1.2
PERCPU: Embedded 7 pages/cpu @c12d9000 s6592 r8192 d13888 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 208128
Kernel command line: console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=10M fb0base=0x27b00000 vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 379MB 378MB 64MB = 821MB total
Memory: 820692k/820692k available, 227884k reserved, 441344K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xfbe00000 - 0xffe00000 ( 64 MB)
vmalloc : 0xd9800000 - 0xf2000000 ( 392 MB)
lowmem : 0xc0000000 - 0xd9000000 ( 400 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.init : 0xc0008000 - 0xc0045000 ( 244 kB)
.text : 0xc0045000 - 0xc08c2a70 (8695 kB)
.data : 0xc08c4000 - 0xc09484e8 ( 530 kB)
.bss : 0xc094850c - 0xc0acffe8 (1567 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')
bootconsole [ttymxc0] enabled
Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
pid_max: default: 32768 minimum: 301
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
ram_console: got buffer at 3ff00000, size 100000
ram_console: found existing buffer, size 24117, start 24117
console [ram-1] enabled
No AHCI save PWR: PDDQ disabled
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 0x02070000, Cache size: 1048576 B
bio: create slab <bio-0> at 0
mxs-dma mxs-dma-apbh: initialized
-----------------------------------------------------------------------------------------------------------------------------------
it stop booting at :
mxs-dma mxs-dma-apbh: initialized
one or two minutes later, it start to reboot ,and repeat the process above.
Is there anyone know how to fit this problem?
Solved! Go to Solution.
Hello,Dan,
Please try to the following way :
(1)open myandroid/bootable/bootlaoder/uboot-imx/include/configs/mx6q_sabresd.h, and comment "#define CONFIG_SPLASH_SCREEN"
// #define CONFIG_SPLASH_SCREEN
(2)Adjust command line in u-boot envrionment :
console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=10M vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale
< note : delete "fb0base=0x27b00000">
regards,
Weidong
Tonny, has your question been answered. If yes, please click Correct ANswer/Helpful Answer. We will assume your issue has been resolved and close the DI if no response received in 3 days.
Thanks,
Yixing
Hi tonny,
Both Adrian and Weidong have given you solutions on your problem. You can check it .
Best Rgards
Dan
Hi Dan,
Are you rebuilding Android or trying to boot our demo images?
As is a custom board does eMMC is attached in the same port as Sabre SD.
I suggest to first use the NFS Android rootfs for board bring up or Ltib based release.
Regards
Adrian
Hello,Dan,
Please try to the following way :
(1)open myandroid/bootable/bootlaoder/uboot-imx/include/configs/mx6q_sabresd.h, and comment "#define CONFIG_SPLASH_SCREEN"
// #define CONFIG_SPLASH_SCREEN
(2)Adjust command line in u-boot envrionment :
console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=10M vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale
< note : delete "fb0base=0x27b00000">
regards,
Weidong