Hi, imx6Q board can't bring up another 2 CPU, can give some good advice?
20180830_17:37:28]U-Boot 2015.04-00011-ga5072c5-dirty (Jul 20 2018 - 14:11:22)
20180830_17:37:28]
20180830_17:37:28]CPU: Freescale i.MX6Q rev1.5 at 792 MHz
20180830_17:37:28]Reset cause: POR
20180830_17:37:28]Board: MX6-SabreSD
20180830_17:37:28]I2C: ready
20180830_17:37:28]DRAM: 2 GiB
20180830_17:37:28]PMIC: PFUZE100 ID=0x10
20180830_17:37:28]MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
20180830_17:37:29]*** Warning - bad CRC, using default environment
20180830_17:37:29]
20180830_17:37:29]In: serial
20180830_17:37:29]Out: serial
20180830_17:37:29]Err: serial
20180830_17:37:29]flash target is MMC:2
20180830_17:37:29]Fastboot: Normal
20180830_17:37:29]starting USB...
20180830_17:37:29]USB0: USB EHCI 1.00
20180830_17:37:29]scanning bus 0 for devices... 1 USB Device(s) found
20180830_17:37:29]USB1: USB EHCI 1.00
20180830_17:37:29]scanning bus 1 for devices... 1 USB Device(s) found
20180830_17:37:29] scanning usb for storage devices... 0 Storage Device(s) found
20180830_17:37:29]USB mass storage is not plugged in
20180830_17:37:29]Hit any key to stop autoboot: 0
20180830_17:37:29]boota mmc2
20180830_17:37:30]not found VGA disp console.
20180830_17:37:30]kernel @ 14008000 (6204184)
20180830_17:37:30]ramdisk @ 15000000 (1639365)
20180830_17:37:30]fdt @ 14f00000 (46088)
20180830_17:37:30]## Booting Android Image at 0x12000000 ...
20180830_17:37:30]Kernel load addr 0x14008000 size 6059 KiB
20180830_17:37:30]Kernel command line: console=ttymxc3,115200 init=/init video=mxcfb0:dev=ldb,bpp=32,if=RGB24,fbpix=RGB32 video=mxcfb1:dev=off video=mxcfb2:off vmalloc=400M androidboot.console=ttymxc3 consoleblank=0 androidboot.hardware=freescale cma=448M androidboot.selinux=permissive androidboot.dm_verity=disabled loglevel=8 buildvariant=eng
20180830_17:37:30]## Flattened Device Tree blob at 14f00000
20180830_17:37:30] Booting using the fdt blob at 0x14f00000
20180830_17:37:30] Loading Kernel Image ... OK
20180830_17:37:30] Using Device Tree in place at 14f00000, end 14f0e407
20180830_17:37:30]
20180830_17:37:30]Starting kernel ...
20180830_17:37:30]
20180830_17:37:31][ 0.000000] Booting Linux on physical CPU 0x0
20180830_17:37:31][ 0.000000] Initializing cgroup subsys cpu
20180830_17:37:31][ 0.000000] Initializing cgroup subsys cpuacct
20180830_17:37:31][ 0.000000] Linux version 4.1.15-00021-g5a31ad4 (jiujin@jiujin-VirtualBox) (gcc version 4.9 20150123 (prerelease) (GCC) ) #3 SMP PREEMPT Fri Aug 24 15:39:43 CST 2018
20180830_17:37:31][ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
20180830_17:37:31][ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
20180830_17:37:31][ 0.000000] Machine model: Freescale i.MX6 Quad SABRE Smart Device Board
20180830_17:37:31][ 0.000000] cma: Reserved 448 MiB at 0x1a000000
20180830_17:37:31][ 0.000000] Memory policy: Data cache writealloc
20180830_17:37:31][ 0.000000] On node 0 totalpages: 524032
20180830_17:37:31][ 0.000000] free_area_init_node: node 0, pgdat c0daf8c0, node_mem_map c8f17000
20180830_17:37:31][ 0.000000] Normal zone: 1216 pages used for memmap
20180830_17:37:31][ 0.000000] Normal zone: 0 pages reserved
20180830_17:37:31][ 0.000000] Normal zone: 155648 pages, LIFO batch:31
20180830_17:37:31][ 0.000000] HighMem zone: 368384 pages, LIFO batch:31
20180830_17:37:31][ 0.000000] PERCPU: Embedded 13 pages/cpu @c8eba000 s22208 r8192 d22848 u53248
20180830_17:37:31][ 0.000000] pcpu-alloc: s22208 r8192 d22848 u53248 alloc=13*4096
20180830_17:37:31][ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
20180830_17:37:31][ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 522816
20180830_17:37:31][ 0.000000] Kernel command line: console=ttymxc3,115200 init=/init video=mxcfb0:dev=ldb,bpp=32,if=RGB24,fbpix=RGB32 video=mxcfb1:dev=off video=mxcfb2:off vmalloc=400M androidboot.console=ttymxc3 consoleblank=0 androidboot.hardware=freescale cma=448M androidboot.selinux=permissive androidboot.dm_verity=disabled loglevel=8 buildvariant=eng androidboot.serialno=1e2061d4e6fe115b androidboot.bootreason=normal lcd_manufacturer=hannstar
20180830_17:37:31][ 0.000000] hannstar lcd found
20180830_17:37:31][ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
20180830_17:37:31][ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
20180830_17:37:31][ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
20180830_17:37:31][ 0.000000] Memory: 1603540K/2096128K available (8192K kernel code, 819K rwdata, 2588K rodata, 1024K init, 589K bss, 33836K reserved, 458752K cma-reserved, 1473536K highmem)
20180830_17:37:31][ 0.000000] Virtual kernel memory layout:
20180830_17:37:31][ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
20180830_17:37:31][ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
20180830_17:37:31][ 0.000000] vmalloc : 0xe6800000 - 0xff000000 ( 392 MB)
20180830_17:37:31][ 0.000000] lowmem : 0xc0000000 - 0xe6000000 ( 608 MB)
20180830_17:37:31][ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
20180830_17:37:31][ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
20180830_17:37:31][ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB)
20180830_17:37:31][ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB)
20180830_17:37:31][ 0.000000] .data : 0xc0d00000 - 0xc0dccc00 ( 819 kB)
20180830_17:37:31][ 0.000000] .bss : 0xc0dccc00 - 0xc0e60264 ( 590 kB)
20180830_17:37:31][ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
20180830_17:37:31][ 0.000000] Preemptible hierarchical RCU implementation.
20180830_17:37:31][ 0.000000] Additional per-CPU info printed with stalls.
20180830_17:37:31][ 0.000000] NR_IRQS:16 nr_irqs:16 16
20180830_17:37:31][ 0.000000] L2C-310 erratum 769419 enabled
20180830_17:37:31][ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
20180830_17:37:31][ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
20180830_17:37:31][ 0.000000] L2C-310 ID prefetch enabled, offset 16 lines
20180830_17:37:31][ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
20180830_17:37:31][ 0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
20180830_17:37:31][ 0.000000] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76070001
20180830_17:37:31][ 0.000000] mxc_clocksource_init 3000000
20180830_17:37:31][ 0.000000] Switching to timer-based delay loop, resolution 333ns
20180830_17:37:31][ 0.000006] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
20180830_17:37:31][ 0.000023] clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
20180830_17:37:31][ 0.000053] MXC_Early serial console at MMIO 0x21f0000 (options '115200')
20180830_17:37:31][ 0.347067] bootconsole [ttymxc3] enabled
20180830_17:37:31][ 0.352124] Console: colour dummy device 80x30
20180830_17:37:31][ 0.356593] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
20180830_17:37:31][ 0.366819] pid_max: default: 32768 minimum: 301
20180830_17:37:31][ 0.371528] Security Framework initialized
20180830_17:37:31][ 0.375652] SELinux: Initializing.
20180830_17:37:31][ 0.379181] SELinux: Starting in permissive mode
20180830_17:37:31][ 0.383911] AppArmor: AppArmor disabled by boot time parameter
20180830_17:37:31][ 0.389800] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
20180830_17:37:31][ 0.396435] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
20180830_17:37:31][ 0.404152] Initializing cgroup subsys freezer
20180830_17:37:31][ 0.408631] CPU: Testing write buffer coherency: ok
20180830_17:37:31][ 0.413860] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
20180830_17:37:31][ 0.419633] Setting up static identity map for 0x10100000 - 0x10100058
20180830_17:37:32][ 0.480309] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
20180830_17:37:32][ 1.499692] CPU2: failed to come online
20180830_17:37:33][ 2.519694] CPU3: failed to come online
20180830_17:37:33][ 2.523559] Brought up 2 CPUs
Hi jiu
one can try with baremetal test using sdk (please check Chapter 3 Multicore Startup
iMX6_Firmware_Guide.pdf included in package), found on below link
or test with minimal linux image, try use the same image on i.MX6Q Sabre reference board.
May be useful to check number of cores in fuse NUM_CORES described in
Table 5-9. Fusemap Descriptions i.MX6Q Reference Manual
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
as u-boot print, the cpu is really iMX6Q, and Linux print 4 CPUs, we need FSL advice to fix this issue, please tell solution directly.
Hi jiu
suggest to run nxp i.mx6q sabre sd reference board with demo images from link:
check results, if results are good, replace processor from custom board to reference board
and check again.
Best regards
igor
we dont have imx6q reference board, that means FSL can't give any good advice for us?
I am afraid there is no way to give defnite answer without running some tests.
You can also try to change part to other, for example from other batch/date code.
Hi Igor,
I have successfully built /home/jiujin/code/1.1.0_iMX6_Platform_SDK/output/mx6dq/sdk_unit_test/evb_rev_a/sdk_unit_test_ALL.bin, which cmd should use to run SMP test?
please check Chapter 3 Multicore Startup iMX6_Firmware_Guide.pdf in doc folder
Best regards
igor
Hi Igor,
I have provide multi-core test in below, please help to ask other people to answer if you can't give.
thanks a lot!
Hi Igor,
I have successfully boot multi-core test in my imx6Q, it run CPU0(Primary) and CPU1 only, can you give some further advice?
**************************************************************************
Platform SDK (1.1) for MX6DQ TO1.x EVB rev. A
Build: Sep 4 2018, 10:06:05
Copyright (c) 2012-2013 Freescale Semiconductor, Inc. All rights reserved.
**************************************************************************
========== Clock frequencies ===========
CPU: 792000 kHz
DDR: 528000 kHz
IPG: 66000 kHz
Debug UART: 80000000 Hz
========================================
SDK Unit Tests
--------------
e - epit test
g - gpt test
i - i2c test
w - pwm test
s - sdma test
r - snvs rtc test
v - snvs srtc test
t - tempmon test
u - uart test
d - usdhc test
c - gic test
m - microseconds timer test
wa - watchdog test
o - ocotp test
wp - cpu workpoint test
h - hdmi test
ip - ipu test
mc - multicore test
sa - sata test
a - audio test
mi - mipi test
pc - pcie test
gp - gpmi test
n - spi nor test
en - enet test
us - usb test
ca - camera test
q - Exit menu.
Select test to run:
mc
Running the GIC Multicore Test
Starting and sending SGIs to secondary CPUs for "hello world"
secondary main cpu: 1