HAB Problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HAB Problem

1,124 Views
baiaaren
Contributor II

Hi,

I have started with the High Assurance Boot Activity .

CUP: imx6q

Android kernel version: 4.1.15, (M6.0.1_2.1.0, 4.1 kernel)

I born uboot boot into sign HAB board.

But it stuck in boot location, it can't enter to system layer.

My question is android 4.1.15 uboot and boot does support HAB function?

If yes, I use android 6(kernel version: 3.14.52), my HAB function is useful.

But I use android 6(kernel version:4.1.15), when I enable HAB function, it can't enter to system.

My error log is:

#

U-Boot 2015.04 (Jul 27 2016 - 18:15:50)

CPU: Freescale i.MX6Q rev1.5 at 792 MHz

CPU: Temperature 36 C

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

*** Warning - bad CRC, using default environment

No panel detected: default to KOE-XGA

Display: KOE-XGA (1920x1200)

In: serial

Out: serial

Err: serial

check_and_clean: reg 0, flag_set 0

Fastboot: Normal

flash target is MMC:2

Net: Phy 1 not found

PHY reset timed out

FEC [PRIME]

Error: FEC address not set.

Normal Boot

Hit any key to stop autoboot: 1 ### 0

boota mmc2

Authenticate image from DDR location 0x12000000...

Secure boot enabled

HAB Configuration: 0xcc, HAB State: 0x99

No HAB Events Found!

Authenticate OK

kernel @ 14008000 (8751464)

ramdisk @ 15000000 (1034629)

fdt @ 14f00000 (46661)

## Booting Android Image at 0x12000000 ...

Kernel load addr 0x14008000 size 8547 KiB

Kernel command line: console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M

## Flattened Device Tree blob at 14f00000

  Booting using the fdt blob at 0x14f00000

  Loading Kernel Image ... OK

  Using Device Tree in place at 14f00000, end 14f0e644

switch to ldo_bypass mode!

Starting kernel ...

Booting Linux on physical CPU 0x0

Initializing cgroup subsys cpu

Initializing cgroup subsys cpuacct

Linux version 4.1.15 (stone@stone-Latitude-E5414) (gcc version 4.9.x-google 20140827 (prerelease) (GCC) ) #27 SMP PREEMPT Wed Jul 27 18:18:12 CST 2016

CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d

CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

Machine model: Freescale i.MX6 Quad SABRE Smart Device Board

cma: Reserved 384 MiB at 0x26000000

Memory policy: Data cache writealloc

PERCPU: Embedded 13 pages/cpu @ee6df000 s22144 r8192 d22912 u53248

Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260384

Kernel command line: console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M androidboot.serialno=162319d4e31698f6

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: 623064K/1047552K available (11567K kernel code, 977K rwdata, 3696K rodata, 3072K init, 655K bss, 31272K reserved, 393216K cma-reserved, 277504K highmem)

Virtual kernel memory layout:

  vector : 0xffff0000 - 0xffff1000 ( 4 kB)

  fixmap : 0xffc00000 - 0xfff00000 (3072 kB)

  vmalloc : 0xef800000 - 0xff000000 ( 248 MB)

  lowmem : 0xc0000000 - 0xef000000 ( 752 MB)

  pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)

  modules : 0xbf000000 - 0xbfe00000 ( 14 MB)

  .text : 0xc0008000 - 0xc0fe7c60 (16256 kB)

  .init : 0xc1000000 - 0xc1300000 (3072 kB)

  .data : 0xc1300000 - 0xc13f45d0 ( 978 kB)

  .bss : 0xc13f45d0 - 0xc1498524 ( 656 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

Security Framework initialized

SELinux: Initializing.

AppArmor: AppArmor disabled by boot time parameter

Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)

Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)

Initializing cgroup subsys freezer

Initializing cgroup subsys debug

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 ladder

cpuidle: using governor menu

CPU identified as i.MX6Q, silicon rev 1.5

anatop_regulator 20c8000.anatop:regulator-vddcore@140: Failed to read a valid default voltage selector.

anatop_regulator: probe of 20c8000.anatop:regulator-vddcore@140 failed with error -22

anatop_regulator 20c8000.anatop:regulator-vddsoc@140: Failed to read a valid default voltage selector.

anatop_regulator: probe of 20c8000.anatop:regulator-vddsoc@140 failed with error -22

!!request miniPCIE Power On gpio

hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.

hw-breakpoint: maximum watchpoint size is 4 bytes.

VDSO is not a valid ELF object!

imx6q-pinctrl 20e0000.iomuxc: Invalid fsl,pins property in node /soc/aips-bus@02000000/iomuxc@020e0000/imx6qdl-sabresd/hdmicecgrp

imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver

mxs-dma 110000.dma-apbh: initialized

MPCIE_3V3: Failed to request enable GPIO83: -16

reg-fixed-voltage regulators:regulator@3: Failed to register regulator: -16

reg-fixed-voltage: probe of regulators:regulator@3 failed with error -16

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

i2c i2c-1: IMX I2C adapter registered

i2c i2c-1: can't use DMA

i2c i2c-2: IMX I2C adapter registered

i2c i2c-2: can't 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)

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

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.

Trying to unpack rootfs image as initramfs...

Freeing initrd memory: 1012K (c5000000 - c50fd000)

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

console [pstore-1] enabled

pstore: Registered ramoops as persistent store backend

ramoops: attached 0x100000@0x4bf00000, ecc: 0/0

mxc_ramoops device success loaded

bt power gpio is:9

rfkill: BT RF going to : on

mxc_bt_rfkill_reset

mxc_bt_rfkill driver success loaded

futex hash table entries: 1024 (order: 4, 65536 bytes)

audit: initializing netlink subsys (disabled)

audit: type=2000 audit(0.480:1): initialized

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

ntfs: driver 2.1.32 [Flags: R/W DEBUG].

jffs2: version 2.2. (NAND) © 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.

pwm-backlight supply power not found, using dummy regulator

mxc_mipi_dsi 21e0000.mipi: i.MX MIPI DSI driver probed

MIPI DSI driver module loaded

MIPI DSI driver module loaded

ldb 2000000.aips-bus:ldb@020e0008: split mode

ldb 2000000.aips-bus:ldb@020e0008: split mode or dual mode, ignoring second output

[Stone] Enter mxcfb_probe

[Stone] Enter mxcfb_probe ret:0

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 240x75

mxc_sdc_fb fb@1: Can't get fb option for mxcfb1!

mxc_sdc_fb fb@2: Can't get fb option for mxcfb2!

mxc_sdc_fb fb@3: Can't get fb option for mxcfb3!

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

pfuze100-regulator 1-0008: Full layer: 2, Metal layer: 1

pfuze100-regulator 1-0008: FAB: 0, FIN: 0

pfuze100-regulator 1-0008: pfuze100 found.

2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 24, base_baud = 5000000) is a IMX

console [ttymxc0] enabled

21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 300, base_baud = 5000000) is a IMX

21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 301, base_baud = 5000000) is a IMX

tpm_i2c_infineon 0-0020: 1.2 TPM (device-id 0x1A)

tpm_i2c_infineon 0-0020: Issuing TPM_STARTUP

tpm_i2c_infineon 0-0020: TPM is disabled/deactivated (0x7)

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

zram: Created 1 device(s)

m25p80 spi4.0: w25q32 (4096 Kbytes)

spi_imx 2018000.ecspi: probed

tun: Universal TUN/TAP device driver, 1.6

tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

CAN device driver interface

2188000.ethernet supply phy not found, using dummy regulator

pps pps0: new PPS source ptp0

fec 2188000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00

fec 2188000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: e2:a0:2b:ff:da:5b

libphy: fec_enet_mii_bus: probed

fec 2188000.ethernet eth0: registered PHC device 0

PPP generic driver version 2.4.2

PPP BSD Compression module registered

PPP Deflate Compression module registered

PPP MPPE Compression module registered

NET: Registered protocol family 24

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 cdc_eem

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 cdc_acm

cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

usbcore: registered new interface driver usb-storage

usbcore: registered new interface driver usbserial

usbcore: registered new interface driver usbserial_generic

usbserial: USB Serial support registered for generic

usbcore: registered new interface driver ftdi_sio

usbserial: USB Serial support registered for FTDI USB Serial Device

usbcore: registered new interface driver option

usbserial: USB Serial support registered for GSM modem (1-port)

usbcore: registered new interface driver usb_ehset_test

2184800.usbmisc supply vbus-wakeup not found, using dummy regulator

usb_otg_vbus: supplied by SWBST

usb_h1_vbus: supplied by SWBST

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

usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

usb usb1: Product: EHCI Host Controller

usb usb1: Manufacturer: Linux 4.1.15 ehci_hcd

usb usb1: SerialNumber: ci_hdrc.1

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

usbcore: registered new interface driver xpad

usbcore: registered new interface driver usb_acecad

usbcore: registered new interface driver aiptek

usbcore: registered new interface driver gtco

usbcore: registered new interface driver hanwang

usbcore: registered new interface driver kbtab

input: eGalax_Touch_Screen as /devices/virtual/input/input0

bq32k 2-0068: rtc core: registered bq32k as rtc0

snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc1

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

imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_SD1_DAT1 already requested by 2018000.ecspi; cannot claim for 0-003c

imx6q-pinctrl 20e0000.iomuxc: pin-207 (0-003c) status -22

imx6q-pinctrl 20e0000.iomuxc: could not request pin 207 (MX6Q_PAD_SD1_DAT1) from group ipu1grp-2 on device 20e0000.iomuxc

ov564x 0-003c: Error applying setting, reverse things back

imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_SD1_DAT1 already requested by 2018000.ecspi; cannot claim for 0-003c

imx6q-pinctrl 20e0000.iomuxc: pin-207 (0-003c) status -22

imx6q-pinctrl 20e0000.iomuxc: could not request pin 207 (MX6Q_PAD_SD1_DAT1) from group ipu1grp-2 on device 20e0000.iomuxc

ov564x 0-003c: Error applying setting, reverse things back

ov564x 0-003c: setup pinctrl failed

ov564x: probe of 0-003c failed with error -22

imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_SD1_DAT1 already requested by 2018000.ecspi; cannot claim for 0-003c

imx6q-pinctrl 20e0000.iomuxc: pin-207 (0-003c) status -22

imx6q-pinctrl 20e0000.iomuxc: could not request pin 207 (MX6Q_PAD_SD1_DAT1) from group ipu1grp-2 on device 20e0000.iomuxc

ov5642 0-003c: Error applying setting, reverse things back

imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_SD1_DAT1 already requested by 2018000.ecspi; cannot claim for 0-003c

imx6q-pinctrl 20e0000.iomuxc: pin-207 (0-003c) status -22

imx6q-pinctrl 20e0000.iomuxc: could not request pin 207 (MX6Q_PAD_SD1_DAT1) from group ipu1grp-2 on device 20e0000.iomuxc

ov5642 0-003c: Error applying setting, reverse things back

ov5642 0-003c: ov5642 setup pinctrl failed!

ov5642: probe of 0-003c failed with error -22

ov5640_read_reg:write reg error:reg=300a

camera ov5640_mipi is not found

mxc_v4l2_output v4l2_out: V4L2 device registered as video16

mxc_v4l2_output v4l2_out: V4L2 device registered as video17

usbcore: registered new interface driver uvcvideo

USB Video Class driver (1.1.1)

mag3110 2-000e: check mag3110 chip ID

mag3110 2-000e: read chip ID 0xfffffffb is not equal to 0xc4!

mag3110: probe of 2-000e failed with error -22

mma8x5x 0-001c: read chip ID 0xfffffffb is not equal to 0x1a,0x2a,0x3a,0x4a,0x5a!

mma8x5x: probe of 0-001c failed with error -22

input: g751 as /devices/virtual/input/input1

Temperature sensor probe: OK

imx2-wdt 20c0000.wdog: use WDOG_B to reboot.

imx2-wdt 20c0000.wdog: timeout 60 sec (nowayout=0)

device-mapper: uevent: version 1.0.3

device-mapper: ioctl: 4.31.0-ioctl (2015-3-12) initialised: dm-devel@redhat.com

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 btusb

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: assigned as wifi host

sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found

sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found

mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA

/soc/aips-bus@02100000/usdhc@02198000: voltage-ranges unspecified

sdhci-esdhc-imx 2198000.usdhc: Got CD GPIO

sdhci-esdhc-imx 2198000.usdhc: Got WP GPIO

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

/soc/aips-bus@02100000/usdhc@0219c000: voltage-ranges unspecified

sdhci-esdhc-imx 219c000.usdhc: No vmmc regulator found

sdhci-esdhc-imx 219c000.usdhc: No vqmmc regulator found

mmc3: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA

mxc_vpu 2040000.vpu_fsl: VPU initialized

mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed

Galcore version 5.0.11.41671

mmc3: MAN_BKOPS_EN bit is not set

mmc3: new DDR MMC card at address 0001

mmcblk3: mmc3:0001 R1J56L 13.7 GiB

mmcblk3boot0: mmc3:0001 R1J56L partition 1 16.0 MiB

mmcblk3boot1: mmc3:0001 R1J56L partition 2 16.0 MiB

mmcblk3rpmb: mmc3:0001 R1J56L partition 3 128 KiB

mmcblk3: p1 p2 p3 < p5 p6 p7 p8 p9 p10 > p4

mmcblk3: p4 size 10027008 extends beyond EOD, truncated

Labels (1)
0 Kudos
1 Reply

467 Views
Yuri
NXP Employee
NXP Employee

Hello,

Does  the i.MX6 on the board has SRK burned a nd the part is “closed” ?

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos