How to boot imx using ramdisk

21 minute read

This post explains how to load a ramdisk on iMX boards. The initrd and initramfs are two ways for achieving this. This tutorial approaches only the initrd (initial ram disk) method. This guide uses iMX6Q Sabre SD Board, and uses a file system generated by Buildroot.

Follow the next steps to enable the Kernel to support initrd:

$ make menuconfig

Then, mark the following packages in General setup:

  • Initial RAM filesystem and RAM disk (initramfs/initrd) support
  • Support initial ramdisk/ramfs compressed using gzip.

Compile the Kernel:

$ make

For building the initrd on Buildroot file system, follow the next steps:

$ git clone git clone git://git.buildroot.net/buildroot
$ cd buildroot/
$ make imx6-sabresd_defconfig
$ make menuconfig

Then, mark the following option:

  • File system > initial RAM filesystem linked into linux kernel

Compile the file system:

$ make

The result of this compilation is a rootfs.ext2.gz file.

For converting the file system to the right format, it is required to use mkimage tool. To install the tool use the following command:

$ sudo apt-get install u-boot-tools

Run the following command:

$ cd output/images/
$ mkimage -A arm -O linux -T ramdisk -C gzip -n "Build Root File System" -d rootfs.ext2.gz rootfs.ext2.gz.uboot

Copy the following files to the tftp folder. In case need help to install the tftp, read this post here.

$ cp linux/arch/arm/boot/zImage /tftpboot/
$ cp linux/arch/arm/boot/dts/imx6q-sabresd.dtb /tftpboot/
$ cp buildroot/output/images/rootfs.ext2.gz.uboot /tftpboot/

The file system is ready to be loaded. In U-Boot prompt set the following environment variables:

=> setenv autoload no
=> setenv initrd_high 0xffffffff
=> setenv fdt_high 0xffffffff
=> setenv loadkernel 'tftp 0x10000000 zImage'
=> setenv loadinitrd 'tftp 0x12800000 rootfs.ext2.gz.uboot; setenv initrd_size ${filesize}'
=> setenv loadfdt 'tftp 0x13f80000 imx6q-sabresd.dtb'
=> setenv bootargs 'console=ttymxc0,115200n8 root=/dev/ram0 rw ip=dhcp'
=> setenv bootcmd 'dhcp; setenv serverip YOUR_TFTP_IP; run loadkernel; run loadinitrd; run loadfdt; bootz 0x10000000 0x12800000 0x13f80000'

After these environment variables are set, run the following command:

=> run bootcmd

The kernel, dtb and rootfs will be downloaded by tftp and loaded into memory.

Below, follows the board booting:

U-Boot 2017.11 (Jan 10 2018 - 14:58:17 -0200)

CPU:   Freescale i.MX6Q rev1.2 996 MHz (running at 792 MHz)
CPU:   Automotive temperature grade (-40C to 125C) at 50C
Reset cause: POR
Board: MX6-SabreSD
I2C:   ready
DRAM:  1 GiB
PMIC:  PFUZE100 ID=0x10
MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
PCI:   pcie phy link never came up
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In:    serial
Out:   serial
Err:   serial
Net:   FEC [PRIME]
Hit any key to stop autoboot:  0
=>
=>
=>
=> setenv autoload no
=> setenv initrd_high 0xffffffff
=> setenv fdt_high 0xffffffff
=> setenv loadkernel 'tftp 0x10000000 zImage'
=> setenv loadinitrd 'tftp 0x12800000 rootfs.ext2.gz.uboot; setenv initrd_size ${filesize}'
=> setenv loadfdt 'tftp 0x13f80000 imx6q-sabresd.dtb'
=> setenv bootargs 'console=ttymxc0,115200n8 root=/dev/ram0 rw ip=dhcp'
=> setenv bootcmd 'dhcp; setenv serverip 10.29.244.193; run loadkernel; run loadinitrd; run loadfdt; bootz 0x10000'
=> run bootcmd
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
*** Unhandled DHCP Option in OFFER/ACK: 44
*** Unhandled DHCP Option in OFFER/ACK: 46
*** Unhandled DHCP Option in OFFER/ACK: 44
*** Unhandled DHCP Option in OFFER/ACK: 46
DHCP client bound to address 10.29.244.45 (1364 ms)
Using FEC device
TFTP from server 10.29.244.193; our IP address is 10.29.244.45
Filename 'zImage'.
Load address: 0x10000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ####################################################
         3.3 MiB/s
done
Bytes transferred = 6585352 (647c08 hex)
Using FEC device
TFTP from server 10.29.244.193; our IP address is 10.29.244.45
Filename 'rootfs.ext2.gz.uboot'.
Load address: 0x12800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################################
         3.3 MiB/s
done
Bytes transferred = 1500524 (16e56c hex)
Using FEC device
TFTP from server 10.29.244.193; our IP address is 10.29.244.45
Filename 'imx6q-sabresd.dtb'.
Load address: 0x13f80000
Loading: ##########
         2.7 MiB/s
done
Bytes transferred = 50548 (c574 hex)
## Loading init Ramdisk from Legacy Image at 12800000 ...
   Image Name:   Build Root File System
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    1500460 Bytes = 1.4 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 13f80000
   Booting using the fdt blob at 0x13f80000
   Using Device Tree in place at 13f80000, end 13f8f573

Starting kernel ...

Booting Linux on physical CPU 0x0
Linux version 4.9.11 (diego@dorta) (gcc version 6.4.0 (Buildroot 2018.02-git-00727-g39a21ab4b6) ) #1 SMP PREEMPT T8
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt:Machine model: Freescale i.MX6 Quad SABRE Smart Device Board
Reserved memory: created CMA memory pool at 0x3c000000, size 320 MiB
OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
Memory policy: Data cache writealloc
percpu: Embedded 14 pages/cpu @ab6fa000 s25868 r8192 d23284 u57344
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
Kernel command line: console=ttymxc0,115200n8 root=/dev/ram0 rw ip=dhcp
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: 693976K/1048576K available (9216K kernel code, 545K rwdata, 3208K rodata, 1024K init, 472K bss, 26920K res)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xc0800000 - 0xff800000   (1008 MB)
    lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    modules : 0x7f000000 - 0x7fe00000   (  14 MB)
      .text : 0x80008000 - 0x80a00000   (10208 kB)
      .init : 0x80e00000 - 0x80f00000   (1024 kB)
      .data : 0x80f00000 - 0x80f88460   ( 546 kB)
       .bss : 0x80f8a000 - 0x810003e0   ( 473 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Preemptible hierarchical RCU implementation.
        Build-time adjustment of leaf fanout to 32.
NR_IRQS:16 nr_irqs:16 16
L2C-310 errata 752271 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 0x76470001
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 0x10100000 - 0x10100058
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 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
imx-gpc 20dc000.gpc: pu regulator not ready, retry
mxs-dma 110000.dma-apbh: initialized
SCSI subsystem initialized
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: can't use DMA, using PIO instead.
i2c i2c-1: IMX I2C adapter registered
i2c i2c-1: can't use DMA, using PIO instead.
i2c i2c-2: IMX I2C adapter registered
i2c i2c-2: can't use DMA, using PIO instead.
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)
mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 driver probed
mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 dphy version is 0x3130302a
MIPI CSI2 driver module loaded
imx rpmsg driver is registered.
Advanced Linux Sound Architecture Driver Initialized.
Bluetooth: Core ver 2.22
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
clocksource: Switched to clocksource mxc_timer1
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
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.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 1468K (82800000 - 8296f000)
hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
Bus freq driver module loaded
futex hash table entries: 1024 (order: 4, 65536 bytes)
workingset: timestamp_bits=30 max_order=18 bucket_order=0
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.26)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
imx-weim 21b8000.weim: Driver registered.
backlight supply power not found, using dummy regulator
mxc_mipi_dsi 21e0000.mipi: i.MX MIPI DSI driver probed
mxc_sdc_fb fb@0: registered mxc display driver ldb
imx-ipuv3 2800000.ipu: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
Console: switching to colour frame buffer device 128x48
mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0xa:0xa0:0xc1
fbcvt: 1920x1080@60: CVT Name - 2.073M9
mxc_sdc_fb fb@1: registered mxc display driver hdmi
mxc_sdc_fb fb@2: registered mxc display driver lcd
mxc_sdc_fb fb@2: ipu0-di0 already in use
mxc_sdc_fb: probe of fb@2 failed with error -16
mxc_sdc_fb fb@3: registered mxc display driver ldb
imx-sdma 20ec000.sdma: no iram assigned, using external mem
imx-sdma 20ec000.sdma: loaded firmware 3.3
pfuze100-regulator 1-0008: Full layer: 1, Metal layer: 1
pfuze100-regulator 1-0008: FAB: 0, FIN: 0
pfuze100-regulator 1-0008: pfuze100 found.
vddarm: supplied by SW1AB
vddpu: supplied by SW1C
vddsoc: supplied by SW1C
usb_otg_vbus: supplied by SWBST
usb_h1_vbus: supplied by SWBST
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 28, base_baud = 5000000) is a IMX
console [ttymxc0] enabled
imx sema4 driver is registered.
[drm] Initialized
[drm] Initialized vivante 1.0.0 20120216 on minor 0
brd: module loaded
loop: module loaded
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 83
m25p80 spi0.0: unrecognized JEDEC id bytes: 00, 00, 00
spi_imx 2008000.ecspi: probed
libphy: Fixed MDIO Bus: 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
usbcore: registered new interface driver kaweth
pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
usbcore: registered new interface driver pegasus
usbcore: registered new interface driver rtl8150
usbcore: registered new interface driver r8152
usbcore: registered new interface driver asix
usbcore: registered new interface driver ax88179_178a
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver net1080
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
usbcore: registered new interface driver cdc_ncm
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) 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.1: EHCI Host Controller
ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mousedev: PS/2 mouse device common for all mice
egalax_ts 1-0004: Failed to switch to I2C interface
egalax_ts 2-0004: Failed to switch to I2C interface
egalax_ts: probe of 2-0004 failed with error -11
input: max11801_ts as /devices/soc0/soc/2100000.aips-bus/21a4000.i2c/i2c-1/1-0048/input/input2
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
mxc_v4l2_output v4l2_out: V4L2 device registered as video18
mxc_v4l2_output v4l2_out: V4L2 device registered as video19
mxc_v4l2_output v4l2_out: V4L2 device registered as video20
ata1: SATA link down (SStatus 0 SControl 300)
ahci-imx 2200000.sata: no device found, disabling link.
ahci-imx 2200000.sata: pass ahci_imx..hotplug=1 to enable hotplug
random: fast init done
mag3110 2-000e: check mag3110 chip ID
input: mag3110 as /devices/virtual/input/input3
mag3110 2-000e: mag3110 is probed
input: mma845x as /devices/virtual/input/input4
imx2-wdt 20c0000.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
sdhci-esdhc-imx 2194000.usdhc: Got CD GPIO
sdhci-esdhc-imx 2194000.usdhc: Got WP GPIO
mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
sdhci-esdhc-imx 2198000.usdhc: Got CD GPIO
sdhci-esdhc-imx 2198000.usdhc: Got WP GPIO
mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA
mmc3: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA
mmc2: new high speed SDHC card at address 1234
mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
mxc_hdmi_cec soc:hdmi_cec@00120000: HDMI CEC initialized
caam 2100000.caam: ERA source: CAAMVID.
caam 2100000.caam: AXI pipeline throttling enabled.
caam 2100000.caam: Entropy delay = 3200
mmcblk2: mmc2:1234 SA08G 7.25 GiB
caam 2100000.caam: Instantiated RNG4 SH0
 mmcblk2: p1 p2
caam 2100000.caam: Instantiated RNG4 SH1
caam 2100000.caam: device ID = 0x0a16010000000000 (Era 4)
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] 49 b0 60 34 34 a5 91 7e
platform caam_sm: [0008] 24 9f fa 19 76 d2 98 d3
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] 83 6c fb 17 92 76 32 75
platform caam_sm: [0008] ea 2e 70 6e 53 48 4d 82
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] 71 e5 87 b6 cb eb c7 ba
platform caam_sm: [0008] c1 36 d1 f0 55 22 69 4e
platform caam_sm: [0016] 04 38 b9 3b 39 98 f7 bd
platform caam_sm: [0024] e9 62 ce fa f1 88 65 9f
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] 5b b6 19 b6 fa 7f 68 26
platform caam_sm: [0008] 0c 0a 36 71 2a a3 32 10
mmc3: new DDR MMC card at address 0001
mmcblk3: mmc3:0001 SEM08G 7.40 GiB
mmcblk3boot0: mmc3:0001 SEM08G partition 1 2.00 MiB
mmcblk3boot1: mmc3:0001 SEM08G partition 2 2.00 MiB
mmcblk3rpmb: mmc3:0001 SEM08G partition 3 128 KiB
Alternate GPT is invalid, using primary GPT.
 mmcblk3: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11
platform caam_sm: [0016] 36 5d 92 a4 39 ac f4 6f
platform caam_sm: [0024] a2 01 48 a2 6d 3a 44 50
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] ba 35 db 84 6f 17 5e b0
platform caam_sm: [0008] 41 10 0d 51 95 1b 87 9f
platform caam_sm: [0016] f4 9e 4b a5 1c 09 82 d3
platform caam_sm: [0024] b4 01 0f a7 c7 de 4c 38
platform caam_sm: [0032] 4d 40 99 fd c8 36 39 e9
platform caam_sm: [0040] e5 e0 be 73 44 25 e0 e0
platform caam_sm: [0048] 69 d6 5d d9 c1 2c e0 2d
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] 21 d0 f2 15 30 9c 62 3a
platform caam_sm: [0008] d0 04 78 82 86 15 74 dc
platform caam_sm: [0016] b7 26 9a 6f 53 8d e6 3a
platform caam_sm: [0024] 48 dc 26 db 41 6a 1f f3
platform caam_sm: [0032] 94 96 6b c2 da 58 16 55
platform caam_sm: [0040] d9 f5 18 e0 28 98 f1 21
platform caam_sm: [0048] 11 15 29 3c b8 ef b9 6e
platform caam_sm: [0056] 5d 87 3c de ea 32 d8 7d
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] 69 35 a1 f5 e4 c1 36 ae
platform caam_sm: [0008] 19 40 b9 1c 56 b0 75 89
platform caam_sm: [0016] e4 9d c3 ec 75 09 20 ee
platform caam_sm: [0024] 58 ec 54 97 65 05 f2 2f
platform caam_sm: [0032] 1b ff b9 0b 87 4e 3d 72
platform caam_sm: [0040] e0 bd 99 90 59 89 70 e4
platform caam_sm: [0048] 52 fc 90 69 56 f4 e4 fc
platform caam_sm: [0056] a0 97 3a 32 0e cc c1 24
platform caam_sm: [0064] 8e 48 06 02 be 36 3b 8d
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] c6 01 8d 79 a7 41 56 b6
platform caam_sm: [0008] b7 5f da d5 c9 be 16 f1
platform caam_sm: [0016] 70 fd ca 69 a6 fd 7e b3
platform caam_sm: [0024] 35 1f a4 ea 35 4b b1 5c
platform caam_sm: [0032] 7b ae 65 3b 53 b9 ac 16
platform caam_sm: [0040] 2e 78 f1 e3 97 d4 f4 db
platform caam_sm: [0048] 84 b1 3d dc 74 56 84 bb
platform caam_sm: [0056] ab 2b d4 05 68 1c 31 c8
platform caam_sm: [0064] ad 86 7f c1 4a 1f ee 8c
platform caam_sm: [0072] 38 99 ee 96 ca 8b 17 05
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] dc 12 da 55 d3 d7 f6 e6
platform caam_sm: [0008] 62 0f f8 e3 cf f8 2b 43
platform caam_sm: restored 128-bit black key:
platform caam_sm: [0000] 83 6c fb 17 92 76 32 75
platform caam_sm: [0008] ea 2e 70 6e 53 48 4d 82
platform caam_sm: restored 192-bit black key:
platform caam_sm: [0000] 71 e5 87 b6 cb eb c7 ba
platform caam_sm: [0008] c1 36 d1 f0 55 22 69 4e
platform caam_sm: [0016] 82 ca 69 21 13 46 75 6e
platform caam_sm: [0024] 5a 3c 71 38 5a e4 2b fc
platform caam_sm: restored 256-bit black key:
platform caam_sm: [0000] 5b b6 19 b6 fa 7f 68 26
platform caam_sm: [0008] 0c 0a 36 71 2a a3 32 10
platform caam_sm: [0016] 36 5d 92 a4 39 ac f4 6f
platform caam_sm: [0024] a2 01 48 a2 6d 3a 44 50
snvs-secvio 20cc000.caam-snvs: can't 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
wm8962 0-001a: customer id 0 revision D
fsl-ssi-dai 202c000.ssi: No cache defaults, reading back from HW
input: WM8962 Beep Generator as /devices/soc0/soc/2100000.aips-bus/21a0000.i2c/i2c-0/0-001a/input/input5
imx-wm8962 sound: wm8962 <-> 202c000.ssi mapping ok
imx-wm8962 sound: snd-soc-dummy-dai <-> 2034000.asrc mapping ok
imx-wm8962 sound: wm8962 <-> 202c000.ssi mapping ok
imx-audio-hdmi sound-hdmi: hdmi-hifi.0 <-> soc:hdmi_audio@00120000 mapping ok
NET: Registered protocol family 26
NET: Registered protocol family 10
sit: IPv6, IPv4 and MPLS 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 20161123 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
cpu cpu0: Registered imx6q-cpufreq
imx-gpc 20dc000.gpc: Registered imx-gpc
imx_thermal 2000000.aips-bus:tempmon: Automotive CPU temperature grade - max:125C critical:120C passive:115C
mxc_vpu 2040000.vpu_fsl: VPU initialized
Galcore version 6.2.2.93313
dhd_module_init in
input: gpio-keys as /devices/soc0/gpio-keys/input/input8
snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:02 UTC (2)
Generic PHY 2188000.ethernet:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:01, irq=-1)
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
fec 2188000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 10.29.244.250, my address is 10.29.244.45
IP-Config: Complete:
     device=eth0, hwaddr=00:04:9f:02:6c:cc, ipaddr=10.29.244.45, mask=255.255.255.0, gw=10.29.244.254
     host=10.29.244.45, domain=am.freescale.net, nis-domain=(none)
     bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=     nameserver0=10.64.32.3, nameserver1=10.81.250.10
usb_otg_vbus: disabling
wm8962-supply: disabling
SW4: disabling
VGEN1: disabling
VGEN2: disabling
VGEN3: disabling
ALSA device list:
  #0: wm8962-audio
  #1: imx-hdmi-soc
RAMDISK: gzip image found at block 0
EXT4-fs (ram0): couldn't mount as ext3 due to feature incompatibilities
EXT4-fs (ram0): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 1:0.
devtmpfs: mounted
Freeing unused kernel memory: 1024K (80e00000 - 80f00000)
EXT4-fs (ram0): re-mounted. Opts: data=ordered
Starting logging: OK
Initializing random number generator... done.
Starting network: ip: RTNETLINK answers: File exists
FAIL

Welcome to Buildroot
buildroot login: