UDOO Dual: Kernel 4.1.0 hangs during boot

This forum is for supported devices using an ARMv7 Freescale SoC.

UDOO Dual: Kernel 4.1.0 hangs during boot

Postby gashalot » Sat Jun 27, 2015 7:22 pm

Until recently, I was using Arch on my UDOO Dual board without incident. However, after a recent upgrade to the mainline kernels from the older 3.0.x series, the board no longer boots. I've tried a fresh install from the most recent tarballs and can confirm the problem is the same.

Using serial, the kernel appears to load, but consistently hangs immediately after the ALSA drivers load. I get no output on HDMI or the serial port after this point, and the system remains unresponsive.

Does anyone have an idea what may be happening here?

$this->bbcode_second_pass_code('', '
=> boot
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
Checking for: /boot/uEnv.txt ...
4956600 bytes read in 274 ms (17.3 MiB/s)
loading /boot/dtbs/imx6dl-udoo.dtb ...
39830 bytes read in 298 ms (129.9 KiB/s)
** File not found /boot/initramfs-linux.img **
Kernel image @ 0x12000000 [ 0x000000 - 0x4ba1b8 ]
## Flattened Device Tree blob at 18000000
Booting using the fdt blob at 0x18000000
Using Device Tree in place at 18000000, end 1800cb95

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.1.0-1-ARCH (builduser@leming) (gcc version 5.1.05
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie
[ 0.000000] Machine model: Udoo i.MX6 Dual-lite Board
[ 0.000000] cma: Reserved 16 MiB at 0x4f000000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] PERCPU: Embedded 13 pages/cpu @eeebb000 s21568 r8192 d23488 u5328
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa4
[ 0.000000] Kernel command line: console=ttymxc1,115200 root=/dev/mmcblk0p1 =
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 1004280K/1048576K available (10329K kernel code, 1170K r)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0e13734 (14382 kB)
[ 0.000000] .init : 0xc0e14000 - 0xc0f2a000 (1112 kB)
[ 0.000000] .data : 0xc0f2a000 - 0xc104ea78 (1171 kB)
[ 0.000000] .bss : 0xc1051000 - 0xc11343dc ( 909 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU dyntick-idle grace-period acceleration is enabled.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] L2C-310 erratum 769419 enabled
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[ 0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000] L2C-310 cache controller enabled, 16 ways, 512 kB
[ 0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76050001
[ 0.000000] GIC physical location is 0xa01000
[ 0.000000] Switching to timer-based delay loop, resolution 333ns
[ 0.000008] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 7s
[ 0.000030] clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff,s
[ 0.003335] Console: colour dummy device 80x30
[ 0.003366] Calibrating delay loop (skipped), value calculated using timer f)
[ 0.003383] pid_max: default: 32768 minimum: 301
[ 0.003512] Security Framework initialized
[ 0.003697] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.003712] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.004578] Initializing cgroup subsys blkio
[ 0.004600] Initializing cgroup subsys memory
[ 0.004646] Initializing cgroup subsys devices
[ 0.004664] Initializing cgroup subsys freezer
[ 0.004681] Initializing cgroup subsys net_cls
[ 0.004697] Initializing cgroup subsys perf_event
[ 0.004713] Initializing cgroup subsys net_prio
[ 0.004782] CPU: Testing write buffer coherency: ok
[ 0.004820] ftrace: allocating 37672 entries in 111 pages
[ 0.069722] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.069844] Setting up static identity map for 0x10008280 - 0x10008318
[ 0.074069] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.074167] Brought up 2 CPUs
[ 0.074221] SMP: Total of 2 processors activated (12.00 BogoMIPS).
[ 0.074230] CPU: All CPU(s) started in SVC mode.
[ 0.074935] devtmpfs: initialized
[ 0.086412] VFP support v0.3: implementor 41 architecture 3 part 30 variant 4
[ 0.087014] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, mas
[ 0.088514] xor: measuring software checksum speed
[ 0.134201] arm4regs : 1208.800 MB/sec
[ 0.184198] 8regs : 920.000 MB/sec
[ 0.234200] 32regs : 972.000 MB/sec
[ 0.284198] neon : 893.600 MB/sec
[ 0.284208] xor: using function: arm4regs (1208.800 MB/sec)
[ 0.284345] pinctrl core: initialized pinctrl subsystem
[ 0.285577] NET: Registered protocol family 16
[ 0.288221] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.290705] CPU identified as i.MX6DL, silicon rev 1.1
[ 0.310851] No ATAGs?
[ 0.310893] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint.
[ 0.310904] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.313383] imx6dl-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.314054] Serial: AMBA PL011 UART driver
[ 0.424284] raid6: int32x1 gen() 105 MB/s
[ 0.509358] raid6: int32x1 xor() 131 MB/s
[ 0.594254] raid6: int32x2 gen() 138 MB/s
[ 0.679396] raid6: int32x2 xor() 124 MB/s
[ 0.764452] raid6: int32x4 gen() 142 MB/s
[ 0.849285] raid6: int32x4 xor() 110 MB/s
[ 0.934342] raid6: int32x8 gen() 139 MB/s
[ 1.019230] raid6: int32x8 xor() 100 MB/s
[ 1.104202] raid6: neonx1 gen() 614 MB/s
[ 1.189250] raid6: neonx2 gen() 660 MB/s
[ 1.274276] raid6: neonx4 gen() 448 MB/s
[ 1.359371] raid6: neonx8 gen() 260 MB/s
[ 1.359380] raid6: using algorithm neonx2 gen() 660 MB/s
[ 1.359390] raid6: using intx1 recovery algorithm
[ 1.363746] mxs-dma 110000.dma-apbh: initialized
[ 1.369756] vgaarb: loaded
[ 1.370876] SCSI subsystem initialized
[ 1.371481] usbcore: registered new interface driver usbfs
[ 1.371565] usbcore: registered new interface driver hub
[ 1.371639] usbcore: registered new device driver usb
[ 1.373337] i2c i2c-1: IMX I2C adapter registered
[ 1.373356] i2c i2c-1: can't use DMA
[ 1.374234] media: Linux media interface: v0.10
[ 1.374306] Linux video capture interface: v2.00
[ 1.374434] pps_core: LinuxPPS API ver. 1 registered
[ 1.374445] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
[ 1.374481] PTP clock support registered
[ 1.374583] EDAC MC: Ver: 3.0.0
[ 1.375915] Advanced Linux Sound Architecture Driver Initialized.
[ 1.376654] NetLabel: Initializing
[ 1.376666] NetLabel: domain hash size = 128
[ 1.376673] NetLabel: protocols = UNLABELED CIPSOv4
[ 1.376730] NetLabel: unlabeled traffic allowed by default
[ 1.377026] Switched to clocksource mxc_timer1
[ 1.467227] NET: Registered protocol family 2
[ 1.468153] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 1.468237] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 1.468374] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.468452] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 1.468493] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 1.468743] NET: Registered protocol family 1
[ 1.469110] RPC: Registered named UNIX socket transport module.
[ 1.469122] RPC: Registered udp transport module.
[ 1.469130] RPC: Registered tcp transport module.
[ 1.469136] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.470106] CPU PMU: Failed to parse /soc/pmu/interrupt-affinity[0]
[ 1.470165] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 countee
[ 1.472788] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 1.480957] zpool: loaded
[ 1.480977] zbud: loaded
[ 1.481574] VFS: Disk quotas dquot_6.6.0
[ 1.481797] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.483670] NFS: Registering the id_resolver key type
[ 1.483710] Key type id_resolver registered
[ 1.483718] Key type id_legacy registered
[ 1.483750] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.484968] aufs 4.x-rcN-20150622
[ 1.487403] bounce: pool size: 64 pages
[ 1.487617] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
[ 1.487780] io scheduler noop registered
[ 1.487797] io scheduler deadline registered
[ 1.487998] io scheduler cfq registered (default)
[ 1.498569] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-im2
[ 1.498591] imx-sdma 20ec000.sdma: external firmware not found, using ROM fie
[ 1.501545] imx-sdma 20ec000.sdma: initialized
[ 1.576717] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 1.579165] Serial: AMBA driver
[ 1.580173] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 285, base_baud X
[ 2.408303] console [ttymxc1] enabled
[ 2.413900] [drm] Initialized drm 1.1.0 20060810
[ 2.426114] loop: module loaded
[ 2.430968] Loading iSCSI transport class v2.0-870.
[ 2.436407] iscsi: registered transport (tcp)
[ 2.447217] 2188000.ethernet supply phy not found, using dummy regulator
[ 2.454541] pps pps0: new PPS source ptp0
[ 2.463775] libphy: fec_enet_mii_bus: probed
[ 2.468788] fec 2188000.ethernet eth0: registered PHC device 0
[ 2.478099] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.484687] ehci-pci: EHCI PCI platform driver
[ 2.489241] ehci-platform: EHCI generic platform driver
[ 2.494780] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 2.500237] ehci-omap: OMAP-EHCI Host Controller driver
[ 2.505664] ehci-orion: EHCI orion driver
[ 2.509876] ehci-exynos: EHCI EXYNOS driver
[ 2.514286] tegra-ehci: Tegra EHCI driver
[ 2.518542] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.524783] ohci-pci: OHCI PCI platform driver
[ 2.529341] ohci-platform: OHCI generic platform driver
[ 2.534990] ohci-exynos: OHCI EXYNOS driver
[ 2.539432] ohci-omap3: OHCI OMAP3 driver
[ 2.543748] usbcore: registered new interface driver uas
[ 2.549196] usbcore: registered new interface driver usb-storage
[ 2.555296] usbcore: registered new interface driver ums-cypress
[ 2.561389] usbcore: registered new interface driver ums_eneub6250
[ 2.567665] usbcore: registered new interface driver ums-freecom
[ 2.573771] usbcore: registered new interface driver ums-isd200
[ 2.579790] usbcore: registered new interface driver ums-usbat
[ 2.592176] ci_hdrc ci_hdrc.0: EHCI Host Controller
[ 2.597401] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[ 2.612074] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[ 2.617763] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.624600] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber1
[ 2.631862] usb usb1: Product: EHCI Host Controller
[ 2.636771] usb usb1: Manufacturer: Linux 4.1.0-1-ARCH ehci_hcd
[ 2.642720] usb usb1: SerialNumber: ci_hdrc.0
[ 2.647790] hub 1-0:1.0: USB hub found
[ 2.651601] hub 1-0:1.0: 1 port detected
[ 2.660210] snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-0
[ 2.669411] i2c /dev entries driver
[ 2.676311] coda 2040000.vpu: unable to alloc iram
[ 2.681430] coda 2040000.vpu: Direct firmware load for v4l-coda960-imx6dl.bi2
[ 2.690463] coda 2040000.vpu: firmware request failed
[ 2.698580] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=1)
[ 2.706068] sdhci: Secure Digital Host Controller Interface driver
[ 2.712329] sdhci: Copyright(c) Pierre Ossman
[ 2.717665] Synopsys Designware Multimedia Card Interface Driver
[ 2.724704] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.731211] /soc/aips-bus@02100000/usdhc@02198000: voltage-ranges unspecified
[ 2.738407] sdhci-esdhc-imx 2198000.usdhc: could not get ultra high speed ste
[ 2.747713] sdhci-esdhc-imx 2198000.usdhc: No vmmc regulator found
[ 2.753940] sdhci-esdhc-imx 2198000.usdhc: No vqmmc regulator found
[ 2.792071] mmc0: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADA
[ 2.809552] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.823103] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.831216] usbcore: registered new interface driver usbhid
[ 2.836830] usbhid: USB HID core driver
[ 2.841020] ashmem: initialized
[ 2.849076] oprofile: using arm/armv7-ca9
[ 2.854383] NET: Registered protocol family 10
[ 2.860272] mip6: Mobile IPv6
[ 2.863310] NET: Registered protocol family 17
[ 2.864636] mmc0: host does not support reading read-only switch, assuming we
[ 2.870616] mmc0: new high speed SDHC card at address 0001
[ 2.871089] mmcblk0: mmc0:0001 00000 29.8 GiB
[ 2.876729] mmcblk0: p1
[ 2.888535] Key type dns_resolver registered
[ 2.894874] ThumbEE CPU extension supported.
[ 2.899200] Registering SWP/SWPB emulation handler
[ 2.904780] registered taskstats version 1
[ 2.911228] Btrfs loaded
[ 2.915293] Key type encrypted registered
[ 2.921974] snvs_rtc 20cc034.snvs-rtc-lp: setting system clock to 1970-01-01)
[ 2.930553] sr_init: No PMIC hook to init smartreflex
[ 2.935763] sr_init: platform driver register failed for SR
[ 2.941373] of_cfs_init
[ 2.943905] of_cfs_init: OK
[ 2.957752] Unable to find PPMU node
[ 2.961361] exynos5-bus-int: probe of exynos5-bus-int failed with error -2
[ 2.968349] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[ 2.974929] vddpu: disabling
[ 2.978157] ALSA device list:
[ 2.981135] No soundcards found.
')
Last edited by gashalot on Sun Jun 28, 2015 5:00 pm, edited 1 time in total.
gashalot
 
Posts: 3
Joined: Sat Jun 27, 2015 7:18 pm

Re: UDOO Dual: Kernel 4.1.0 hangs during boot

Postby pklaus » Sun Jun 28, 2015 8:15 am

Hi! I'm having the same problem with my UDOO quad. It happened after the kernel upgrade from 4.0.5 to 4.1.
pklaus
 
Posts: 15
Joined: Sat Apr 30, 2011 4:25 pm

Re: UDOO Dual: Kernel 4.1.0 hangs during boot

Postby GaalDornick » Sun Jun 28, 2015 9:06 pm

Same problem me too, with Udoo quad. I also tried to start from a clean installation. I hangs after upgrading to the kernel 4.1.0.1, and also to 4.1.0.2. Also my board sometimes stops at the same point as posted above, and sometimes after checking the fs type of the root partition.
GaalDornick
 
Posts: 16
Joined: Thu May 07, 2015 11:08 am

Re: UDOO Dual: Kernel 4.1.0 hangs during boot

Postby gashalot » Mon Jun 29, 2015 12:08 am

Good observation. It's been a while since I upgraded that device, and rolling back to the previous kernel worked just fine (linux-armv7 4.0.5-2). I've manually downgraded from a chroot'ed environment after compiling the previous release on a different machine.

Notes for others:
Simplified notes on downgrading from a chroot'ed environment: https://wiki.archlinux.org/index.php/Do ... the_kernel
Previously working Kernel PKGBUILD: https://github.com/archlinuxarm/PKGBUIL ... inux-armv7
gashalot
 
Posts: 3
Joined: Sat Jun 27, 2015 7:18 pm

Re: UDOO Dual: Kernel 4.1.0 hangs during boot

Postby gashalot » Mon Jun 29, 2015 12:12 am

Also, since others are having the same problems, here's a binary of the working kernel so you can skip the recompile step. To install, copy to your disk, chroot to the target environment, and downgrade using pacman -U.

http://gashalot.com/files/linux-armv7-4 ... pkg.tar.xz

Compiled from source this morning on a different ARMv7 device.
gashalot
 
Posts: 3
Joined: Sat Jun 27, 2015 7:18 pm

Re: UDOO Dual: Kernel 4.1.0 hangs during boot

Postby GaalDornick » Mon Jun 29, 2015 5:28 am

Thank you a lot for the kernel package.
GaalDornick
 
Posts: 16
Joined: Thu May 07, 2015 11:08 am

Re: UDOO Dual: Kernel 4.1.0 hangs during boot

Postby pklaus » Mon Jun 29, 2015 9:02 pm

Thanks, gashalot, this kernel downgrade helped! I had to do it via chroot on another ArchLinuxARM device.
pklaus
 
Posts: 15
Joined: Sat Apr 30, 2011 4:25 pm

Re: UDOO Dual: Kernel 4.1.0 hangs during boot

Postby kmihelich » Thu Jul 02, 2015 12:17 am

This is fixed in 4.1.1.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: UDOO Dual: Kernel 4.1.0 hangs during boot

Postby GaalDornick » Thu Jul 02, 2015 9:07 am

This is a very good piece of news. I will try it this night at home.
GaalDornick
 
Posts: 16
Joined: Thu May 07, 2015 11:08 am

Re: UDOO Dual: Kernel 4.1.0 hangs during boot

Postby GaalDornick » Thu Jul 02, 2015 9:38 pm

I can confirm that the new kernel 4.1.1-1 works. Many thanks to all the developers.
There is only one small problem, that can be easily solved:
At boot there is now a series of annoying
$this->bbcode_second_pass_code('', 'cfg80211: Calling CRDA to update world regulatory domain')
messages.

To solve it oyu have to install the package crda and uncommenting the correct line in the file /etc/conf.d/wireless-regdom
You can see the region currently set with the command
$this->bbcode_second_pass_code('', 'iw reg get')

You can set after the boot it with:
$this->bbcode_second_pass_code('', 'iw reg set <your region code>')
For example, for the United States:
$this->bbcode_second_pass_code('', 'iw reg set US')
GaalDornick
 
Posts: 16
Joined: Thu May 07, 2015 11:08 am


Return to Freescale

Who is online

Users browsing this forum: No registered users and 10 guests