AnsweredAssumed Answered

Boot for Linux Image on iMX8M Quad Evaluation Kit

Question asked by Hariasti Srimaldia on Apr 9, 2020
Latest reply on Apr 10, 2020 by Bio_TICFSL

Hello,

I flashed linux image into eMMC and boot it on iMX8M Quad Evaluation Kit. But seems Android system is booted (Android logo is appeared on HDMI display) as Android image is programmed in the eMMC by default. Could you please help how to boot Linux Image instead of Android?  Here is the console message. Any comment is very helpful. Thanks so much in advance.

 

port is        : /dev/ttyUSB0
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv
imap is        :
omap is        :
emap is        : crcrlf,delbs,

 

Terminal ready

 

U-Boot SPL 2018.03 (Apr 07 2019 - 02:50:00 +0800)
PMIC:  PFUZE100 ID=0x10
DDRINFO: start lpddr4 ddr init
DRAM PHY training for 3200MTS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
DRAM PHY training for 400MTS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
DRAM PHY training for 100MTS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
DRAM PHY training for 3200MTS
check ddr4_pmu_train_imem code
check ddr4_pmu_train_imem code pass
check ddr4_pmu_train_dmem code
check ddr4_pmu_train_dmem code pass
Training PASS
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from MMC1

 


U-Boot 2018.03 (Apr 07 2019 - 02:50:00 +0800)

 

CPU:   Freescale i.MX8MQ rev2.1 1500 MHz (running at 1000 MHz)
CPU:   Commercial temperature grade (0C to 95C) at 34C
Reset cause: POR
Model: Freescale i.MX8MQ EVK
DRAM:  3 GiB
TCPC:  Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C0 0x50]
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

 

Failed (-5)
No panel detected: default to HDMI
Display: HDMI (1280x720)
In:    serial
Out:   serial
Err:   serial

 

 BuildInfo:
  - ATF a-20190
  - U-Boot 2018.03

 

flash target is MMC:0
Net:   
Warning: ethernet@30be0000 using MAC address from ROM
eth0: ethernet@30be0000
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  0
 verify OK, boot 'boot_a'
Kernel load addr 0x40480000 size 30901 KiB
kernel   @ 40480000 (31642112)
ramdisk  @ 43600000 (7425776)
fdt      @ 43400000 (45555)
## Flattened Device Tree blob at 43400000
   Booting using the fdt blob at 0x43400000
   Using Device Tree in place at 0000000043400000, end 000000004340e1f2

 

Starting kernel ...

 

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.98-00063-gbcdaf61 (bamboo@pantakill) (gcc version 4.9.x 20150123 (prerelease) (GCC)) #1 SMP PREEMPT Sun Apr 7 02:52:49 CST 2019
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] Machine model: Freescale i.MX8MQ EVK
[    0.000000] earlycon: ec_imx6q0 at MMIO 0x0000000030860000 (options '115200')
[    0.000000] bootconsole [ec_imx6q0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: ION carveout pool at 0x00000000f8000000, size 128 MiB
[    0.000000] OF: reserved mem: initialized node imx_ion@0, compatible id imx-ion-pool
[    0.000000] cma: Reserved 1280 MiB at 0x00000000a8000000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000000ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xa7fbac80-0xa7fbca7f]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000ffffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000097ffffff]
[    0.000000]   node   0: [mem 0x0000000098100000-0x00000000ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000ffffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.1
[    0.000000] random: get_random_bytes called from start_kernel+0xa8/0x414 with crng_init=0
[    0.000000] percpu: Embedded 25 pages/cpu @ffff800067f50000 s64536 r8192 d29672 u102400
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 773888
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: console=ttymxc0,115200 earlycon=ec_imx6q,0x30860000,115200 init=/init androidboot.gui_resolution=1080p androidboot.console=ttymxc0 androidboot.hardware=freescale androidboot.fbTileSupport=enable cma=1280M androidboot.primary_display=imx-drm firmware_class.path=/vendor/firmware transparent_hugepage=never androidboot.wificountrycode=CN androidboot.wifivendor=bcm buildvariant=userdebug androidboot.serialno=1e1169d6f32ef628 androidboot.btmacaddr=1e:11:69:d6:f3:2e androidboot.soc_type=imx8mq androidboot.storage_type=emmc androidboot.boottime=1BLL:0,1BLE:4481,KL:0,KD:0,AVB:1932,ODT:0,SW:0 androidboot.bootreason=cold,powerkey androidboot.verifiedbootstate=green androidboot.slot_suffix=_a dm="1 vroot none ro 1,0 3611944 verity 1 PARTUUID=83acab61-02d9-4074-9946-ac5119bc3338 PARTUUID=83acab61-02d9-4074-9946-ac5119bc3338 4096 4096 451493 451493 sha1 d2aaaba9b668724031a40192ed1c58fd4bcd8eff 80f3ad061139f00d20c00f132b3a8b16c2636c43 10 restart_on_corruption ignore_ze
[    0.000000] device-mapper: init: will configure 1 devices
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Memory: 1621524K/3144704K available (15868K kernel code, 2420K rwdata, 7032K rodata, 5504K init, 523K bss, 212460K reserved, 1310720K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffff000000000000 - 0xffff000008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000   (129022 GB)
[    0.000000]       .text : 0xffff000008080000 - 0xffff000009000000   ( 15872 KB)
[    0.000000]     .rodata : 0xffff000009000000 - 0xffff0000096f0000   (  7104 KB)
[    0.000000]       .init : 0xffff0000096f0000 - 0xffff000009c50000   (  5504 KB)
[    0.000000]       .data : 0xffff000009c50000 - 0xffff000009ead200   (  2421 KB)
[    0.000000]        .bss : 0xffff000009ead200 - 0xffff000009f30080   (   524 KB)
[    0.000000]     fixed   : 0xffff7dfffe7f9000 - 0xffff7dfffec00000   (  4124 KB)
[    0.000000]     PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000   (    16 MB)
[    0.000000]     vmemmap : 0xffff7e0000000000 - 0xffff800000000000   (  2048 GB maximum)
[    0.000000]               0xffff7e0000000000 - 0xffff7e0003000000   (    48 MB actual)
[    0.000000]     memory  : 0xffff800000000000 - 0xffff8000c0000000   (  3072 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]     RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000]     Tasks RCU enabled.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] ITS: No ITS available, not enabling LPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000038880000
[    0.000000] i.MX8MQ clock driver init done
[    0.000000] arch_timer: cp15 timer(s) running at 8.33MHz (phys).

Outcomes