imx6ul not supprted in imx_4.1.15_2.0.0_ga

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

imx6ul not supprted in imx_4.1.15_2.0.0_ga

1,648 Views
mihaitaivascu
Contributor III

Hello,

    It seems that imx6ul architecture is not supported in 4.1.15 nxp kernel even though it says it does. 

    Either that or the support is incomplete and patches for the imx6ul cpu, freq etc are needed.

    I could not boot my imx6ul with the 4.1.15-2.0.0_ga kernel. It halts at "Starting kernel in secure mode" and from my past experiences it means most likely  that imx6ul cpu specific configuration is missing in the kernel.

    Could you please confirm this or not?

Thanks,

      Mihaita

Labels (1)
0 Kudos
5 Replies

978 Views
Yuri
NXP Employee
NXP Employee

Hello,

  Have You tried the demo image for i.MX 6UL EVK?

https://www.nxp.com/webapp/Download?colCode=L4.1.15_2.0.0_iMX6UL&appType=license&location=null&Paren... 

Summary Page:

i.MX Software|NXP 


Have a great day,
Yuri

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

0 Kudos

978 Views
mihaitaivascu
Contributor III

Hello,

    I work with FIT images (.itb) . I have tried both zimage files in that link and replaced in my build and rebuild my FIT image but the issue remains. If the kernel(zImage) would have been good I would have expected to see some additional output on my console.

    Is there anybody out there who successfully used the 4.1.15 kernel from NXP on imx6ul platforms?

Thanks,

      Mihaita

0 Kudos

978 Views
mihaitaivascu
Contributor III

Hello,

    I was to mke further steps by changing some device tree settings but  the botting is not successful.

    I have attached a log. It halts at "Populating dev cache" message. 

Starting kernel in secure mode
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.1.15 (mivascu@ubuntu) (gcc version 5.3.0 (GCC) ) #2 SMP PREEMPT Thu Nov 8 05:02:44 PST 2018
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Phytec phyBOARD-Segin i.MX6 UltraLite Full Featured
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] PERCPU: Embedded 12 pages/cpu @9ffd2000 s16908 r8192 d24052 u49152
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: consoleblank=0 console=ttymxc0,115200n8 rootwait ro fsck.repair=yes
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 474884K/524288K available (8078K kernel code, 427K rwdata, 2944K rodata, 432K init, 538K bss, 49404K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xa0800000 - 0xff000000 (1512 MB)
[ 0.000000] lowmem : 0x80000000 - 0xa0000000 ( 512 MB)
[ 0.000000] pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
[ 0.000000] modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
[ 0.000000] .text : 0x80008000 - 0x80acbbb4 (11023 kB)
[ 0.000000] .init : 0x80acc000 - 0x80b38000 ( 432 kB)
[ 0.000000] .data : 0x80b38000 - 0x80ba2ec0 ( 428 kB)
[ 0.000000] .bss : 0x80ba5000 - 0x80c2b938 ( 539 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Additional per-CPU info printed with stalls.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] mxc_clocksource_init 3000000
[ 0.000000] Switching to timer-based delay loop, resolution 333ns
[ 0.000017] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[ 0.000062] clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[ 0.002644] Console: colour dummy device 80x30
[ 0.002686] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[ 0.002720] pid_max: default: 32768 minimum: 301
[ 0.002956] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.002987] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.004497] CPU: Testing write buffer coherency: ok
[ 0.005010] /cpus/cpu@0 missing clock-frequency property
[ 0.005057] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.005178] Setting up static identity map for 0x80008280 - 0x800082d8
[ 0.041251] Brought up 1 CPUs
[ 0.041291] SMP: Total of 1 processors activated (6.00 BogoMIPS).
[ 0.041311] CPU: All CPU(s) started in SVC mode.
[ 0.042262] devtmpfs: initialized
[ 0.063757] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.064665] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.065601] pinctrl core: initialized pinctrl subsystem
[ 0.068342] NET: Registered protocol family 16
[ 0.069116] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.100765] cpuidle: using governor ladder
[ 0.130829] cpuidle: using governor menu
[ 0.176400] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.176438] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.179933] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/enet1grp
[ 0.179976] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/gpioledssomgrp
[ 0.180006] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/gpminandgrp
[ 0.180034] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/i2cgrp
[ 0.180061] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/uart1grp
[ 0.180087] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/enet2grp
[ 0.180115] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/flexcan1
[ 0.180144] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/flexcan1engrp
[ 0.180173] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/pwm3grp
[ 0.180203] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/rtcintgrp
[ 0.180229] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/sai2grp
[ 0.180258] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/stmpegrp
[ 0.180285] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/uart5grp
[ 0.180313] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/usbotg1idgrp
[ 0.180341] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/usdhc1grp
[ 0.180368] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/usdhc1grp100mhz
[ 0.180396] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/usdhc1grp200mhz
[ 0.180425] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/edtft5x06grp
[ 0.180455] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/lcdifdatgrp
[ 0.180482] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/gpio_keysgrp
[ 0.180511] imx6ul-pinctrl 20e0000.iomuxc: no groups defined in /soc/aips-bus@02000000/iomuxc@020e0000/user_ledsgrp
[ 0.180975] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.248552] mxs-dma 1804000.dma-apbh: initialized
[ 0.251120] imx6ul-pinctrl 20e0000.iomuxc: unable to find group for node flexcan1engrp
[ 0.255467] SCSI subsystem initialized
[ 0.256895] usbcore: registered new interface driver usbfs
[ 0.257097] usbcore: registered new interface driver hub
[ 0.257330] usbcore: registered new device driver usb
[ 0.258890] imx6ul-pinctrl 20e0000.iomuxc: unable to find group for node i2cgrp
[ 0.261062] i2c i2c-0: IMX I2C adapter registered
[ 0.261110] i2c i2c-0: can't use DMA
[ 0.261348] Linux video capture interface: v2.00
[ 0.261798] pps_core: LinuxPPS API ver. 1 registered
[ 0.261824] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.261924] PTP clock support registered
[ 0.264853] MIPI CSI2 driver module loaded
[ 0.265568] Advanced Linux Sound Architecture Driver Initialized.
[ 0.269935] Switched to clocksource mxc_timer1
[ 0.297403] NET: Registered protocol family 2
[ 0.299009] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.299148] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.299310] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.299458] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.299525] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.300140] NET: Registered protocol family 1
[ 0.300898] RPC: Registered named UNIX socket transport module.
[ 0.300926] RPC: Registered udp transport module.
[ 0.300949] RPC: Registered tcp transport module.
[ 0.300971] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.301557] Trying to unpack rootfs image as initramfs...
[ 6.395589] Freeing initrd memory: 31296K (8272a000 - 845ba000)
[ 6.398363] imx rpmsg driver is registered.
[ 6.400645] Bus freq driver module loaded
[ 6.403045] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 6.419863] VFS: Disk quotas dquot_6.6.0
[ 6.420491] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 6.425943] NFS: Registering the id_resolver key type
[ 6.426077] Key type id_resolver registered
[ 6.426101] Key type id_legacy registered
[ 6.426324] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 6.428246] fuse init (API version 7.23)
[ 6.439188] io scheduler noop registered
[ 6.439248] io scheduler deadline registered
[ 6.439750] io scheduler cfq registered (default)
[ 6.441084] imx-weim 21b8000.weim: Driver registered.
[ 6.447351] MIPI DSI driver module loaded
[ 6.447829] MIPI DSI driver module loaded
[ 6.453802] imx-sdma 20ec000.sdma: no event needs to be remapped
[ 6.454032] imx-sdma 20ec000.sdma: loaded firmware 3.3
[ 6.461966] imx-sdma 20ec000.sdma: initialized
[ 6.463580] imx6ul-pinctrl 20e0000.iomuxc: unable to find group for node uart1grp
[ 6.464065] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 20, base_baud = 5000000) is a IMX
[ 7.308874] console [ttymxc0] enabled
[ 7.314023] imx6ul-pinctrl 20e0000.iomuxc: unable to find group for node uart5grp
[ 7.322088] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 225, base_baud = 5000000) is a IMX
[ 7.337106] imx sema4 driver is registered.
[ 7.341658] [drm] Initialized drm 1.1.0 20060810
[ 7.347640] [drm] Initialized vivante 1.0.0 20120216 on minor 0
[ 7.381466] brd: module loaded
[ 7.398789] loop: module loaded
[ 7.402725] at24 0-0052: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
[ 7.409604] at24 0-005a: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
[ 7.423317] imx6ul-pinctrl 20e0000.iomuxc: unable to find group for node gpminandgrp
[ 7.439776] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xdc
[ 7.446263] nand: Micron MT29F4G08ABADAH4
[ 7.450364] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 7.458782] gpmi-nand 1806000.gpmi-nand: enable the asynchronous EDO mode 5
[ 7.466279] Bad block table found at page 262080, version 0x01
[ 7.472625] Bad block table found at page 262016, version 0x01
[ 7.478707] nand_bbt: ECC error in BBT at 0x00001ffe0005
[ 7.484366] nand_bbt: ECC error in BBT at 0x00001ffc0005
[ 7.489718] Scanning device for bad blocks
[ 7.705696] random: nonblocking pool is initialized
[ 7.862464] Bad block table written to 0x00001ffe0000, version 0x01
[ 7.869998] Bad block table written to 0x00001ffc0000, version 0x01
[ 7.879055] gpmi-nand 1806000.gpmi-nand: driver registered.
[ 7.888833] CAN device driver interface
[ 7.894881] imx6ul-pinctrl 20e0000.iomuxc: unable to find group for node enet2grp
[ 7.902945] 20b4000.ethernet supply phy not found, using dummy regulator
[ 7.911123] pps pps0: new PPS source ptp0
[ 8.224885] libphy: fec_enet_mii_bus: probed
[ 8.231535] fec 20b4000.ethernet eth0: registered PHC device 0
[ 8.238011] imx6ul-pinctrl 20e0000.iomuxc: unable to find group for node enet1grp
[ 8.246652] 2188000.ethernet supply phy not found, using dummy regulator
[ 8.254944] pps pps1: new PPS source ptp1
[ 8.261683] fec 2188000.ethernet eth1: registered PHC device 1
[ 8.269327] usbcore: registered new interface driver asix
[ 8.275196] usbcore: registered new interface driver ax88179_178a
[ 8.281663] usbcore: registered new interface driver cdc_ether
[ 8.287732] usbcore: registered new interface driver net1080
[ 8.293683] usbcore: registered new interface driver cdc_subset
[ 8.299796] usbcore: registered new interface driver zaurus
[ 8.305751] usbcore: registered new interface driver cdc_ncm
[ 8.311542] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 8.318127] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 8.324066] usbcore: registered new interface driver usb-storage
[ 8.330376] usbcore: registered new interface driver usb_ehset_test
[ 8.339562] 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
[ 8.348464] imx6ul-pinctrl 20e0000.iomuxc: unable to find group for node usbotg1idgrp
[ 8.356676] imx6ul-pinctrl 20e0000.iomuxc: unable to find group for node usbotg1idgrp
[ 8.364752] 2184000.usb supply vbus not found, using dummy regulator
[ 8.378632] 2184200.usb supply vbus not found, using dummy regulator
[ 8.385220] ci_hdrc ci_hdrc.0: EHCI Host Controller
[ 8.391081] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[ 8.400914] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 8.405909] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[ 8.413116] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[ 8.421081] hub 1-0:1.0: USB hub found
[ 8.424982] hub 1-0:1.0: 1 port detected
[ 8.430072] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 8.437886] hub 2-0:1.0: USB hub found
[ 8.441942] hub 2-0:1.0: 1 port detected
[ 8.448428] mousedev: PS/2 mouse device common for all mice
[ 8.455366] snvs_pwrkey 20cc000.snvs:snvs-powerkey: KEY_POWER without setting in dts
[ 8.464247] input: 20cc000.snvs:snvs-powerkey as /devices/platform/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
[ 8.482504] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
[ 8.491669] i2c /dev entries driver
[ 8.497686] IR NEC protocol handler initialized
[ 8.502383] IR RC5(x/sz) protocol handler initialized
[ 8.507486] IR RC6 protocol handler initialized
[ 8.512111] IR JVC protocol handler initialized
[ 8.516688] IR Sony protocol handler initialized
[ 8.522502] IR SANYO protocol handler initialized
[ 8.527267] IR Sharp protocol handler initialized
[ 8.532091] IR MCE Keyboard/mouse protocol handler initialized
[ 8.538091] IR XMP protocol handler initialized
[ 8.551324] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[ 8.558735] sdhci: Secure Digital Host Controller Interface driver
[ 8.565073] sdhci: Copyright(c) Pierre Ossman
[ 8.569491] sdhci-pltfm: SDHCI platform and OF driver helper
[ 8.576435] imx6ul-pinctrl 20e0000.iomuxc: unable to find group for node usdhc1grp
[ 8.584502] imx6ul-pinctrl 20e0000.iomuxc: unable to find group for node usdhc1grp
[ 8.592285] sdhci-esdhc-imx: probe of 2190000.usdhc failed with error -22
[ 8.603454] imx6ul-pinctrl 20e0000.iomuxc: unable to find group for node gpioledssomgrp
[ 8.612278] imx6ul-pinctrl 20e0000.iomuxc: unable to find group for node user_ledsgrp
[ 8.621995] usbcore: registered new interface driver usbhid
[ 8.627612] usbhid: USB HID core driver
[ 8.631905] usbcore: registered new interface driver prism2_usb
[ 8.646058] fsl-asrc 2034000.asrc: driver registered
[ 8.652104] imx6ul-pinctrl 20e0000.iomuxc: unable to find group for node sai2grp
[ 8.670306] NET: Registered protocol family 26
[ 8.676852] NET: Registered protocol family 10
[ 8.684213] sit: IPv6 over IPv4 tunneling driver
[ 8.690899] NET: Registered protocol family 17
[ 8.695445] can: controller area network core (rev 20120528 abi 9)
[ 8.701947] NET: Registered protocol family 29
[ 8.706460] can: raw protocol (rev 20120528)
[ 8.710844] can: broadcast manager protocol (rev 20120528 t)
[ 8.716583] can: netlink gateway (rev 20130117) max_hops=1
[ 8.722710] 8021q: 802.1Q VLAN Support v1.8
[ 8.727067] Key type dns_resolver registered
[ 8.733356] cpu0 supply soc not found, using dummy regulator
[ 8.739240] cpu cpu0: failed to get regulators
[ 8.743871] imx6q-cpufreq: probe of imx6q-cpufreq failed with error -2
[ 8.777830] dhd_module_init in
[ 8.782362] imx6ul-pinctrl 20e0000.iomuxc: unable to find group for node gpio_keysgrp
[ 8.791436] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[ 8.800815] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 2018-11-08 13:03:43 UTC (1541682223)
[ 8.837381] Can and backlight: disabling
[ 8.841479] i2s-audio-3v3: disabling
[ 8.845092] i2s-audio-1v8: disabling
[ 8.849130] ALSA device list:
[ 8.852211] No soundcards found.
[ 8.857432] Freeing unused kernel memory: 432K (80acc000 - 80b38000)
INIT: version 2.88 booting
Starting udev
[ 9.379389] udevd[161]: starting version 3.1.5
Populating dev cache

    What could be the issue?

Thanks,

      Mihaita

0 Kudos

978 Views
Yuri
NXP Employee
NXP Employee

Hello,

   NXP i.MX Linux BSP does not use  FIT kernel format.

Regards,

Yuri.

0 Kudos

978 Views
mihaitaivascu
Contributor III

Hello,

     Ok, understood but the issue remains with loading the kernel as shown above.

Thanks,

      Mihaita

0 Kudos