iMX6 Rex Linux

From Voipac Wiki
Jump to navigation Jump to search

This section shows how to prepare a customized Linux kernel.

Set toolchain

Export toolchain variables for every related terminal session.

Create working directory

mkdir -pv ~/workdir/imx6/kernel/

Android 4.4.2

Download and Extract source code

cd ~/workdir/imx6/kernel
git clone -b linux-imx-v3.0.35 --single-branch https://github.com/voipac/linux-imx linux-imx-v3.0.35-rex
cd linux-imx-v3.0.35-rex

Compile

Note: Output file is called arch/arm/boot/uImage.

Production and Prototypes

make clean
make imx6_android_defconfig
make -j4 uImage modules
#sudo make ARCH=arm INSTALL_MOD_PATH=/srv/nfs/imx6rex-rootfs modules_install

Linux 4.1

Download and Extract source code

cd ~/workdir/imx6/kernel
git clone -b 4.1-2.0.x-imx-rex --single-branch https://github.com/voipac/linux-fslc linux-fslc-4.1-rex
cd linux-fslc-4.1-rex

Compile

Note: Output file is called arch/arm/boot/zImage.

Production

make clean
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- imx_v7_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j4 zImage modules imx6-rexbasic.dtb imx6-rexpro.dtb imx6-rexultra.dtb
#sudo make ARCH=arm INSTALL_MOD_PATH=/srv/nfs/imx6rex-rootfs modules_install

Prototypes

make clean
make imx_v7_defconfig
make -j4 zImage modules imx6dl-rex.dtb
#sudo make ARCH=arm INSTALL_MOD_PATH=/srv/nfs/imx6rex-rootfs modules_install

Dmesg log

Booting Linux on physical CPU 0x0
Linux version 4.1.36-18269-g08995e5-dirty (marek@marek-ThinkPad-T530) (gcc version 4.9.1 (GCC) ) #19 SMP PREEMPT Wed Mar 8 19:55:28 CET 2017
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: Fedevel i.MX6 Quad REX Board
Reserved memory: created CMA memory pool at 0x2a000000, size 320 MiB
Reserved memory: initialized node linux,cma, compatible id shared-dma-pool
Memory policy: Data cache writealloc
On node 0 totalpages: 524288
free_area_init_node: node 0, pgdat c0ba9540, node_mem_map ee757000
  Normal zone: 1520 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 194560 pages, LIFO batch:31
  HighMem zone: 329728 pages, LIFO batch:31
PERCPU: Embedded 12 pages/cpu @ee704000 s16960 r8192 d24000 u49152
pcpu-alloc: s16960 r8192 d24000 u49152 alloc=12*4096
pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522768
Kernel command line: console=ttymxc0,115200 ahci_imx.hotplug=1 root=/dev/mmcblk2p2 rootwait rw
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 1738876K/2097152K available (8167K kernel code, 433K rwdata, 2868K rodata, 440K init, 446K bss, 30596K reserved, 327680K cma-reserved, 1318912K highmem)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0acf04c   (11037 kB)
      .init : 0xc0ad0000 - 0xc0b3e000   ( 440 kB)
      .data : 0xc0b3e000 - 0xc0baa720   ( 434 kB)
       .bss : 0xc0bad000 - 0xc0c1c88c   ( 447 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Preemptible hierarchical RCU implementation.
        Additional per-CPU info printed with stalls.
NR_IRQS:16 nr_irqs:16 16
L2C-310 erratum 769419 enabled
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 ID prefetch enabled, offset 16 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 16 ways, 1024 kB
L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76070001
mxc_clocksource_init 3000000
Switching to timer-based delay loop, resolution 333ns
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x10008280 - 0x100082d8
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
Brought up 4 CPUs
SMP: Total of 4 processors activated (24.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
CPU identified as i.MX6Q, silicon rev 1.2
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
mxs-dma 110000.dma-apbh: initialized
vgaarb: loaded
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
2000000.aips-bus:usbphy_nop1 supply vcc not found, using dummy regulator
2000000.aips-bus:usbphy_nop2 supply vcc not found, using dummy regulator
i2c i2c-0: IMX I2C adapter registered
i2c i2c-0: cant use DMA
i2c i2c-1: IMX I2C adapter registered
i2c i2c-1: cant use DMA
i2c i2c-2: IMX I2C adapter registered
i2c i2c-2: cant use DMA
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
imx-ipuv3 2800000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Initialized.
Bluetooth: Core ver 2.20
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
Switched to clocksource mxc_timer1
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 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.
PCI: CLS 0 bytes, default 64
CPU PMU: Failed to parse /soc/pmu/interrupt-affinity[0]
hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
imx rpmsg driver is registered.
Bus freq driver module loaded
futex hash table entries: 1024 (order: 4, 65536 bytes)
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
fuse init (API version 7.23)
bounce: pool size: 64 pages
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
imx-weim 21b8000.weim: Driver registered.
MIPI DSI driver module loaded
MIPI DSI driver module loaded
20e0000.hdmi_video supply HDMI not found, using dummy regulator
mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0xa:0xa0:0xc1
fbcvt: 1920x1080@60: CVT Name - 2.073M9
mxc_sdc_fb fb@0: registered mxc display driver hdmi
imx-ipuv3 2400000.ipu: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
Console: switching to colour frame buffer device 240x67
mxc_sdc_fb fb@1: registered mxc display driver ldb
mxc_sdc_fb fb@1: ipu0-di0 already in use
mxc_sdc_fb: probe of fb@1 failed with error -16
imx-sdma 20ec000.sdma: no iram assigned, using external mem
imx-sdma 20ec000.sdma: no event needs to be remapped
imx-sdma 20ec000.sdma: loaded firmware 3.3
imx-sdma 20ec000.sdma: initialized
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 26, base_baud = 5000000) is a IMX
console [ttymxc0] enabled
21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 297, base_baud = 5000000) is a IMX
imx sema4 driver is registered.
[drm] Initialized drm 1.1.0 20060810
[drm] Initialized vivante 1.0.0 20120216 on minor 0
brd: module loaded
loop: module loaded
at24 1-0057: 256 byte 24c02 EEPROM, writable, 1 bytes/write
ahci-imx 2200000.sata: fsl,transmit-level-mV not specified, using 00000024
ahci-imx 2200000.sata: fsl,transmit-boost-mdB not specified, using 00000480
ahci-imx 2200000.sata: fsl,transmit-atten-16ths not specified, using 00002000
ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using 05000000
ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled
ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst 
scsi host0: ahci-imx
ata1: SATA max UDMA/133 mmio [mem 0x02200000-0x02203fff] port 0x100 irq 307
spi_imx 200c000.ecspi: probed
m25p80 spi2.0: found sst25vf032b, expected m25p32
m25p80 spi2.0: sst25vf032b (4096 Kbytes)
spi_imx 2010000.ecspi: probed
CAN device driver interface
2188000.ethernet supply phy not found, using dummy regulator
pps pps0: new PPS source ptp0
libphy: fec_enet_mii_bus: probed
fec 2188000.ethernet eth0: registered PHC device 0
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-mxc: Freescale On-Chip EHCI Host driver
usbcore: registered new interface driver usb-storage
usbcore: registered new interface driver usb_ehset_test
2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
ci_hdrc ci_hdrc.0: EHCI Host Controller
ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ci_hdrc ci_hdrc.1: EHCI Host Controller
ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
input: TSC2007 Touchscreen as /devices/soc0/soc/2100000.aips-bus/21a4000.i2c/i2c-1/1-0048/input/input0
snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x/sz) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
IR SANYO protocol handler initialized
IR Sharp protocol handler initialized
IR MCE Keyboard/mouse protocol handler initialized
IR XMP protocol handler initialized
mxc_v4l2_output v4l2_out: V4L2 device registered as video16
mxc_v4l2_output v4l2_out: V4L2 device registered as video17
imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
Bluetooth: HCI UART driver ver 2.3
Bluetooth: HCI UART protocol H4 registered
Bluetooth: HCI UART protocol BCSP registered
Bluetooth: HCI UART protocol ATH3K registered
usbcore: registered new interface driver bcm203x
usbcore: registered new interface driver btusb
usbcore: registered new interface driver ath3k
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
/soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified
sdhci-esdhc-imx 2194000.usdhc: Got CD GPIO
sdhci-esdhc-imx 2194000.usdhc: Got WP GPIO
sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found
sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
ata1: SATA link down (SStatus 0 SControl 300)
mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
/soc/aips-bus@02100000/usdhc@02198000: voltage-ranges unspecified
sdhci-esdhc-imx 2198000.usdhc: No vmmc regulator found
sdhci-esdhc-imx 2198000.usdhc: No vqmmc regulator found
mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
mxc_vpu 2040000.vpu_fsl: VPU initialized
mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
mxc_hdmi_cec soc:hdmi_cec@00120000: HDMI CEC initialized
Galcore version 5.0.11.41671
usb 1-1: new high-speed USB device number 2 using ci_hdrc
mmc2: host does not support reading read-only switch, assuming write-enable
mmc2: new high speed SDHC card at address 0001
mmcblk2: mmc2:0001 SD4GB 3.68 GiB 
 mmcblk2: p1 p2
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
caam 2100000.caam: Entropy delay = 3200
caam 2100000.caam: Instantiated RNG4 SH0
caam 2100000.caam: Instantiated RNG4 SH1
caam 2100000.caam: device ID = 0x0a16010000000000 (Era -524)
caam 2100000.caam: job rings = 2, qi = 0
caam algorithms registered in /proc/crypto
caam_jr 2101000.jr0: registering rng-caam
platform caam_sm: blkkey_ex: 4 keystore units available
platform caam_sm: 64-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: 64-bit black key:
platform caam_sm: [0000] d6 a1 73 52 82 e9 7c db
platform caam_sm: [0008] 47 df 9f 31 a7 cf 34 87
platform caam_sm: 128-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: 128-bit black key:
platform caam_sm: [0000] 25 78 e4 cf ea e4 b2 91
platform caam_sm: [0008] 70 ff bf e0 bc 5a 9b 80
platform caam_sm: 192-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: [0016] 10 11 12 13 14 15 16 17
platform caam_sm: 192-bit black key:
platform caam_sm: [0000] d5 a8 d7 22 09 86 79 84
platform caam_sm: [0008] f0 ab 85 cb 03 2a f4 9e
platform caam_sm: [0016] 0b a4 fc c8 a9 01 5f 18
platform caam_sm: [0024] 5e 0b e7 72 86 07 2c 04
platform caam_sm: 256-bit clear key:
platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
platform caam_sm: [0016] 10 11 12 13 14 15 16 17
platform caam_sm: [0024] 18 19 1a 1b 1c 1d 1e 1f
platform caam_sm: 256-bit black key:
platform caam_sm: [0000] e4 24 55 01 ab e9 72 45
platform caam_sm: [0008] dc fd f8 76 bc 7b 47 5f
platform caam_sm: [0016] 43 1e 40 eb 9b 93 0a e5
platform caam_sm: [0024] ba fc 11 53 3c 37 1b 81
platform caam_sm: 64-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 128-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 196-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 256-bit unwritten blob:
platform caam_sm: [0000] 00 00 00 00 00 00 00 00
platform caam_sm: [0008] 00 00 00 00 00 00 00 00
platform caam_sm: [0016] 00 00 00 00 00 00 00 00
platform caam_sm: [0024] 00 00 00 00 00 00 00 00
platform caam_sm: [0032] 00 00 00 00 00 00 00 00
platform caam_sm: [0040] 00 00 00 00 00 00 00 00
platform caam_sm: [0048] 00 00 00 00 00 00 00 00
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 64-bit black key in blob:
platform caam_sm: [0000] 32 e5 51 8d c8 2c 17 ff
platform caam_sm: [0008] cf 35 24 0c cd 0f b1 40
platform caam_sm: [0016] 36 7d 32 e9 e4 f8 37 50
platform caam_sm: [0024] 18 d9 9b 4d f8 40 ef 4c
platform caam_sm: [0032] 00 9a b0 06 c9 aa 77 92
platform caam_sm: [0040] 68 32 78 eb 79 67 9c ec
platform caam_sm: [0048] 5f 5b c4 6f b6 34 93 54
platform caam_sm: [0056] 00 00 00 00 00 00 00 00
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 128-bit black key in blob:
platform caam_sm: [0000] 2e bb c4 0c c2 06 af f6
platform caam_sm: [0008] e8 89 f4 a2 3a 38 de 27
platform caam_sm: [0016] 1e b7 ef 8f 20 f0 ea 5e
platform caam_sm: [0024] 12 4a aa fd c4 b0 bd 87
platform caam_sm: [0032] eb e2 d3 6f c3 f6 74 57
platform caam_sm: [0040] 7b 6d bf 91 8a 90 f8 05
platform caam_sm: [0048] 40 70 4e 51 28 71 f6 b9
platform caam_sm: [0056] 24 10 4e bc 38 5d 0b 41
platform caam_sm: [0064] 00 00 00 00 00 00 00 00
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 192-bit black key in blob:
platform caam_sm: [0000] 2e 00 19 89 fb f9 aa 71
platform caam_sm: [0008] 84 64 c6 c3 15 a9 f7 ef
platform caam_sm: [0016] 84 b1 f8 01 3c a2 42 02
platform caam_sm: [0024] 10 59 71 05 56 1a 4d 98
platform caam_sm: [0032] 8f 1f 90 3d c7 d6 07 1e
platform caam_sm: [0040] 15 17 8b fc e4 39 fd 34
platform caam_sm: [0048] f1 52 6e 5a 59 38 1c e4
platform caam_sm: [0056] 55 c6 bb b1 71 8f a9 8a
platform caam_sm: [0064] a0 fb c0 67 ea f6 77 28
platform caam_sm: [0072] 00 00 00 00 00 00 00 00
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: 256-bit black key in blob:
platform caam_sm: [0000] 53 e4 a1 33 c6 eb 4e 4e
platform caam_sm: [0008] 6b 97 9d dc 65 0e 0f 7f
platform caam_sm: [0016] a4 b9 e5 f0 ac 5f 8d 4c
platform caam_sm: [0024] 7c 78 29 3c 10 c5 c6 d3
platform caam_sm: [0032] d9 b2 21 e3 10 c9 f8 88
platform caam_sm: [0040] 10 03 c4 19 8d f3 b4 dc
platform caam_sm: [0048] 6d f7 84 99 53 f8 30 1a
platform caam_sm: [0056] cc f0 ca 08 df 89 c3 ac
platform caam_sm: [0064] 1a c2 ab 26 1a bc 32 da
platform caam_sm: [0072] fc d5 3e 19 94 ed 2e 36
platform caam_sm: [0080] 00 00 00 00 00 00 00 00
platform caam_sm: [0088] 00 00 00 00 00 00 00 00
platform caam_sm: restored 64-bit black key:
platform caam_sm: [0000] 02 a3 55 9b 85 61 cf e2
platform caam_sm: [0008] cc d5 a6 ab a0 fe a8 48
platform caam_sm: restored 128-bit black key:
platform caam_sm: [0000] 25 78 e4 cf ea e4 b2 91
platform caam_sm: [0008] 70 ff bf e0 bc 5a 9b 80
platform caam_sm: restored 192-bit black key:
platform caam_sm: [0000] d5 a8 d7 22 09 86 79 84
platform caam_sm: [0008] f0 ab 85 cb 03 2a f4 9e
platform caam_sm: [0016] e5 28 b4 f7 4e d4 9c bc
platform caam_sm: [0024] 6c 74 b7 96 74 08 6e 07
platform caam_sm: restored 256-bit black key:
platform caam_sm: [0000] e4 24 55 01 ab e9 72 45
platform caam_sm: [0008] dc fd f8 76 bc 7b 47 5f
platform caam_sm: [0016] 43 1e 40 eb 9b 93 0a e5
platform caam_sm: [0024] ba fc 11 53 3c 37 1b 81
snvs-secvio 20cc000.caam-snvs: cant get snvs clock
snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
sgtl5000 0-000a: sgtl5000 revision 0x11
fsl-asrc 2034000.asrc: driver registered
sgtl5000 0-000a: Using internal LDO instead of VDDD
imx-sgtl5000 sound-sgtl5000: sgtl5000 <-> 2028000.ssi mapping ok
imx-audio-hdmi sound-hdmi: hdmi-hifi <-> soc:hdmi_audio@00120000 mapping ok
NET: Registered protocol family 26
NET: Registered protocol family 10
sit: IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20120528 t)
can: netlink gateway (rev 20130117) max_hops=1
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: BNEP socket layer initialized
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Bluetooth: HIDP socket layer initialized
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
1ffc000.pcie supply pcie-bus not found, using dummy regulator
imx6q-pcie 1ffc000.pcie: phy link never came up
imx6q-pcie 1ffc000.pcie: failed to initialize host
imx6q-pcie: probe of 1ffc000.pcie failed with error -22
snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:02 UTC (2)
ALSA device list:
  #0: imx-audio-sgtl5000
  #1: imx-hdmi-soc
EXT3-fs (mmcblk2p2): error: couldnt mount because of unsupported optional features (240)
EXT2-fs (mmcblk2p2): error: couldnt mount because of unsupported optional features (240)
EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 179:2.
devtmpfs: mounted
Freeing unused kernel memory: 440K (c0ad0000 - c0b3e000)
udevd[200]: starting version 3.1.5
random: udevd urandom read with 103 bits of entropy available
rtc-pcf8563 1-0051: chip found, driver version 0.4.3
rtc-pcf8563 1-0051: low voltage detected, date/time is not reliable.
rtc-pcf8563 1-0051: low voltage detected, date/time is not reliable.
rtc rtc1: invalid alarm value: 2030-12-13 41:58:0
rtc-pcf8563 1-0051: rtc core: registered rtc-pcf8563 as rtc1
pca953x 1-0027: interrupt support not compiled in
EXT4-fs (mmcblk2p2): re-mounted. Opts: (null)
fec 2188000.ethernet eth0: Freescale FEC PHY driver [Micrel KSZ9021 Gigabit PHY] (mii_bus:phy_addr=2188000.ethernet:03, irq=-1)
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
random: nonblocking pool is initialized

Linux 3.14

Download and Extract source code

cd ~/workdir/imx6/kernel
git clone https://github.com/voipac/linux-fslc
cd linux-fslc
git checkout 3.14-1.0.x-mx6-tinyrex

Compile

Note: Output file is called arch/arm/boot/zImage.

Production

make clean
make imx_v7_defconfig
make -j4 zImage modules imx6-rexbasic.dtb imx6-rexpro.dtb imx6-rexultra.dtb
#sudo make ARCH=arm INSTALL_MOD_PATH=/srv/nfs/imx6rex-rootfs modules_install

Prototypes

make clean
make imx_v7_defconfig
make -j4 zImage modules imx6dl-rex.dtb
#sudo make ARCH=arm INSTALL_MOD_PATH=/srv/nfs/imx6tinyrex-rootfs modules_install