Tyler Vaught Posted July 3, 2017 Posted July 3, 2017 I've loaded Armbian onto my Udoo Dual and am having issues getting it past starting the kernel. I really like this OS on my other sbc's and have had no issues before this. I'm mostly a Linux noob with an elementary grasp of compiling the kernel. I have had this problem for about a week and am finally asking the pro's on how to fix this. Any help would GREATLY appreciated. Below is what I get from the U-Boot startup. Thanks! U-Boot SPL 2015.10-armbian (Jun 13 2017 - 15:51:16) U-Boot 2015.10-armbian (Jun 13 2017 - 15:51:16 +0200) CPU: Freescale i.MX6DL rev1.1 at 792 MHz Reset cause: POR Board: UDOO DualLite DRAM: 1 GiB MMC: FSL_SDHC: 0 *** Warning - bad CRC, using default environment auto-detected panel HDMI Display: HDMI (1280x720) In: serial Out: serial Err: serial Net: using phy at 6 FEC [PRIME] Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc Found U-Boot script /boot.scr ** File not found /boot.scr ** ** Unrecognized filesystem type ** Found U-Boot script /boot/boot.scr 1757 bytes read in 99 ms (16.6 KiB/s) Running bootscript from mmc ... ## Executing script at 12000000 Booting from SD ** File not found /boot/armbianEnv.txt ** ** Unrecognized filesystem type ** 4765629 bytes read in 363 ms (12.5 MiB/s) 6234592 bytes read in 440 ms (13.5 MiB/s) 0 bytes read in 70 ms (0 Bytes/s) 37690 bytes read in 393 ms (92.8 KiB/s) Kernel image @ 0x12000000 [ 0x000000 - 0x5f21e0 ] ## Loading init Ramdisk from Legacy Image at 14800000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 4765565 Bytes = 4.5 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 18000000 Booting using the fdt blob at 0x18000000 Using Device Tree in place at 18000000, end 1800c339 Starting kernel ...
Igor Posted July 3, 2017 Posted July 3, 2017 Boot log looks fine ... Did you try the other kernel option? We have 3.14 (default) and 4.4 kernel (next) ... If you have some other Linux on hand, try this: Change this to 9 https://github.com/armbian/build/blob/master/config/bootscripts/boot-udoo.cmd#L11 Remove this line: https://github.com/armbian/build/blob/master/config/bootscripts/boot-udoo.cmd#L23 Recompile: ( you might need to install u-boot-tools on that computer) mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr Reboot and you should see more on your console. I only have Quad model here, which is different enough.
Tyler Vaught Posted July 3, 2017 Author Posted July 3, 2017 Unfortunately even with those changes, it still does the same thing. I installed Ubuntu and Debian 3.14 and 4.4 both the oldest archived version along with newest versions and they all do the same thing. I'm pretty stuck when it comes to getting this working.
Tyler Vaught Posted July 3, 2017 Author Posted July 3, 2017 This is what I get now 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 3.14.79-udoo (root@devel) (gcc version 5.4.0 201606 09 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #13 SMP PREEMPT Tue Jun 13 15:50:06 CEST 2017 [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio n cache [ 0.000000] Machine model: UDOO Quad Board [ 0.000000] cma: CMA: reserved 320 MiB at 3c000000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] On node 0 totalpages: 262144 [ 0.000000] free_area_init_node: node 0, pgdat 80c59780, node_mem_map ab75700 0 [ 0.000000] DMA zone: 2048 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 262144 pages, LIFO batch:31 [ 0.000000] PERCPU: Embedded 8 pages/cpu @ab733000 s8384 r8192 d16192 u32768 [ 0.000000] pcpu-alloc: s8384 r8192 d16192 u32768 alloc=8*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 260096 [ 0.000000] Kernel command line: root=/dev/mmcblk0p1 rootfstype=ext4 rootwait console=ttymxc1,115200 video=mxcfb0:dev=hdmi,1920x1080M60,if=RGB24,bpp=32 rd.d m=0 rd.luks=0 rd.lvm=0 raid=noautodetect pci=nomsi ahci_imx.hotplug=1 vt.global_ cursor_default=0 loglevel=9 [ 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] allocated 2097152 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memor y cgroups [ 0.000000] Memory: 690656K/1048576K available (6166K kernel code, 331K rwdat a, 5832K rodata, 280K init, 413K bss, 357920K reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xc0800000 - 0xff000000 (1000 MB) [ 0.000000] lowmem : 0x80000000 - 0xc0000000 (1024 MB) [ 0.000000] pkmap : 0x7fe00000 - 0x80000000 ( 2 MB) [ 0.000000] modules : 0x7f000000 - 0x7fe00000 ( 14 MB) [ 0.000000] .text : 0x80008000 - 0x80bbfa20 (11999 kB) [ 0.000000] .init : 0x80bc0000 - 0x80c060c0 ( 281 kB) [ 0.000000] .data : 0x80c08000 - 0x80c5ac80 ( 332 kB) [ 0.000000] .bss : 0x80c5ac8c - 0x80cc2370 ( 414 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=4 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] L310 cache controller enabled [ 0.000000] l2x0: 16 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x32450000, Cache si ze: 512 kB [ 0.000000] failed to set parent of clk gpu2d_core_sel to pll2_pfd1_594m: -22 [ 0.000000] Switching to timer-based delay loop [ 0.000006] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 14 31655765682ns [ 0.000860] Console: colour dummy device 80x30 [ 0.000881] Calibrating delay loop (skipped), value calculated using timer fr equency.. 6.00 BogoMIPS (lpj=30000) [ 0.000894] pid_max: default: 32768 minimum: 301 [ 0.001063] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001077] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.008648] Initializing cgroup subsys memory [ 0.008678] Initializing cgroup subsys devices [ 0.008690] Initializing cgroup subsys freezer [ 0.008699] Initializing cgroup subsys net_cls [ 0.008708] Initializing cgroup subsys blkio [ 0.008715] Initializing cgroup subsys perf_event [ 0.008730] Initializing cgroup subsys net_prio [ 0.008768] CPU: Testing write buffer coherency: ok [ 0.009068] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.009140] Setting up static identity map for 0x105e2460 - 0x105e24b8 [ 0.061274] CPU1: Booted secondary processor [ 0.061301] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.061420] Brought up 2 CPUs [ 0.061441] SMP: Total of 2 processors activated (12.00 BogoMIPS). [ 0.061450] CPU: All CPU(s) started in SVC mode. [ 0.062058] devtmpfs: initialized [ 0.066035] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 [ 0.066379] pinctrl core: initialized pinctrl subsystem [ 0.066702] regulator-dummy: no parameters [ 0.083367] NET: Registered protocol family 16 [ 0.091552] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.092127] cpuidle: using governor ladder [ 0.092138] cpuidle: using governor menu [ 0.092344] CPU identified as i.MX6DL, silicon rev 1.1 [ 0.092442] Use WDOG1 as reset source [ 0.100359] syscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registe red [ 0.100695] vdd1p1: 800 <--> 1375 mV at 1100 mV [ 0.101055] vdd3p0: 2800 <--> 3150 mV at 3000 mV [ 0.101385] vdd2p5: 2000 <--> 2750 mV at 2400 mV [ 0.101720] vddarm: 725 <--> 1450 mV at 1150 mV [ 0.110541] vddpu: 725 <--> 1450 mV at 1150 mV [ 0.110905] vddsoc: 725 <--> 1450 mV at 1175 mV [ 0.112872] syscon 20e0000.iomuxc-gpr: regmap [mem 0x020e0000-0x020e0037] reg istered [ 0.115194] syscon 21bc000.ocotp-ctrl: regmap [mem 0x021bc000-0x021bffff] reg istered [ 0.119541] No ATAGs? [ 0.119570] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.119579] hw-breakpoint: maximum watchpoint size is 4 bytes. [ 0.120281] imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver [ 0.130379] bio: create slab <bio-0> at 0 [ 0.132630] mxs-dma 110000.dma-apbh: initialized [ 0.133282] usb_h1_vbus: 5000 mV [ 0.133525] usb_otg_vbus: 5000 mV [ 0.133730] 2P5V: 2500 mV [ 0.134280] i2c-core: driver [max17135] using legacy suspend method [ 0.134290] i2c-core: driver [max17135] using legacy resume method [ 0.134922] SCSI subsystem initialized [ 0.135161] libata version 3.00 loaded. [ 0.135446] usbcore: registered new interface driver usbfs [ 0.135512] usbcore: registered new interface driver hub [ 0.135632] usbcore: registered new device driver usb [ 0.135801] usbphy_nop1.11 supply vcc not found, using dummy regulator [ 0.135906] usbphy_nop2.12 supply vcc not found, using dummy regulator [ 0.137230] i2c i2c-1: IMX I2C adapter registered [ 0.137354] Linux video capture interface: v2.00 [ 0.137430] pps_core: LinuxPPS API ver. 1 registered [ 0.137439] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome tti <giometti@linux.it> [ 0.137470] PTP clock support registered [ 0.150596] imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F( 6,7) [ 0.151768] imx-ipuv3 2800000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F( 6,7) [ 0.152658] mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 driver probed [ 0.152675] mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 dphy version is 0x 3130302a [ 0.152771] MIPI CSI2 driver module loaded [ 0.152929] Advanced Linux Sound Architecture Driver Initialized. [ 0.154232] cfg80211: Calling CRDA to update world regulatory domain [ 0.154370] Loading modules backported from Linux version v4.1.7-0-g0c5c1f1 [ 0.154380] Backport integrated by backports.git v4.1.1-1-0-g8286954 [ 0.154743] Switched to clocksource mxc_timer1 [ 0.165823] NET: Registered protocol family 2 [ 0.166614] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.166695] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.166821] TCP: Hash tables configured (established 8192 bind 8192) [ 0.166884] TCP: reno registered [ 0.166900] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.166942] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.167178] NET: Registered protocol family 1 [ 0.167418] Trying to unpack rootfs image as initramfs... [ 0.517863] Freeing initrd memory: 5296K (84801000 - 84d2d000) [ 0.518288] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counter s available [ 0.519261] imx6_busfreq busfreq.14: busfreq_probe: failed to get axi_alt_sel _clk [ 0.519292] imx6_busfreq: probe of busfreq.14 failed with error -2 [ 0.519356] Bus freq driver module loaded [ 0.520220] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.520436] audit: initializing netlink subsys (disabled) [ 0.520526] audit: type=2000 audit(0.510:1): initialized [ 0.529809] zbud: loaded [ 0.530176] VFS: Disk quotas dquot_6.5.2 [ 0.530488] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.532718] msgmni has been set to 1999 [ 0.536710] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2 49) [ 0.536837] io scheduler noop registered [ 0.536849] io scheduler deadline registered [ 0.536897] io scheduler cfq registered (default) [ 0.537367] imx-weim 21b8000.weim: Driver registered. [ 0.538819] MIPI DSI driver module loaded [ 0.539880] mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0x1a:0 xa0:0xc1 [ 0.539909] fbcvt: 1920x1080@60: CVT Name - 2.073M9 [ 0.540014] mxc_sdc_fb fb.22: registered mxc display driver hdmi IPU1_DISP0 [ 0.540026] mxc_sdc_fb fb.22: registered mxc display driver hdmi [ 0.574993] imx-ipuv3 2400000.ipu: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~ 5), 5F(6,7) [ 0.661557] Console: switching to colour frame buffer device 240x67 [ 0.699422] imx-sdma 20ec000.sdma: no iram assigned, using external mem [ 0.699993] imx-sdma 20ec000.sdma: no event needs to be remapped [ 0.700340] imx-sdma 20ec000.sdma: loaded firmware 3.1 [ 0.703055] imx-sdma 20ec000.sdma: initialized [ 0.703498] Serial: IMX driver [ 0.703953] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 59, base_baud = 5000000) is a IMX [ 1.224757] mxc_hdmi 20e0000.hdmi_video: Read EDID again [ 1.622207] console [ttymxc1] enabled [ 1.626423] 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 61, base_baud = 5000000) is a IMX [ 1.635415] serial: Freescale lpuart driver [ 1.640778] imx sema4 driver is registered. [ 1.645053] [drm] Initialized drm 1.1.0 20060810 [ 1.650103] [drm] Initialized vivante 1.0.0 20120216 on minor 0 [ 1.664222] brd: module loaded [ 1.671100] loop: module loaded [ 1.674661] [bossac] Registering IRQ 323 for BOSSAC Arduino erase/reset opera tion [ 1.682447] [bossac] Created device file /dev/udoo_ard [ 1.689168] ahci-imx 2200000.sata: fsl,transmit-level-mV not specified, using 00000024 [ 1.697131] ahci-imx 2200000.sata: fsl,transmit-boost-mdB not specified, usin g 00000480 [ 1.705161] ahci-imx 2200000.sata: fsl,transmit-atten-16ths not specified, us ing 00002000 [ 1.713350] ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using 05 000000 [ 1.723977] ahci-imx 2200000.sata: failed to reset phy: -110 [ 1.729701] ahci-imx: probe of 2200000.sata failed with error -110 [ 1.739020] 2188000.ethernet supply phy not found, using dummy regulator [ 1.865174] pps pps0: new PPS source ptp0 [ 1.873377] libphy: fec_enet_mii_bus: probed [ 1.878183] fec 2188000.ethernet eth0: registered PHC device 0 [ 1.884231] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.890791] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.897089] usbcore: registered new interface driver usb-storage [ 1.903317] mousedev: PS/2 mouse device common for all mice [ 1.910395] snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-r tc-lp as rtc0 [ 1.918809] i2c /dev entries driver [ 1.922603] IR NEC protocol handler initialized [ 1.927168] IR RC5(x) protocol handler initialized [ 1.931968] IR RC6 protocol handler initialized [ 1.936520] IR JVC protocol handler initialized [ 1.941059] IR Sony protocol handler initialized [ 1.944761] mxc_hdmi 20e0000.hdmi_video: create default modelist [ 1.951712] IR RC5 (streamzap) protocol handler initialized [ 1.951715] IR SANYO protocol handler initialized [ 1.951717] IR MCE Keyboard/mouse protocol handler initialized [ 1.952661] mxc_v4l2_output v4l2_out.19: V4L2 device registered as video16 [ 1.952812] mxc_v4l2_output v4l2_out.19: V4L2 device registered as video17 [ 1.953588] imx2-wdt 20bc000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0) [ 1.953709] md: raid0 personality registered for level 0 [ 1.954306] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-d evel@redhat.com [ 1.954460] sdhci: Secure Digital Host Controller Interface driver [ 1.954462] sdhci: Copyright(c) Pierre Ossman [ 1.954465] sdhci-pltfm: SDHCI platform and OF driver helper [ 1.955231] mmc0: no vqmmc regulator found [ 1.955237] mmc0: no vmmc regulator found [ 1.994769] mmc0: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADM A [ 1.995303] Galcore version 5.0.11.25762 [ 12.004750] mmc0: Timeout waiting for hardware interrupt. [ 22.024747] mmc0: Timeout waiting for hardware interrupt. [ 32.044747] mmc0: Timeout waiting for hardware interrupt. [ 42.064748] mmc0: Timeout waiting for hardware interrupt.
Igor Posted July 3, 2017 Posted July 3, 2017 My quad boot fine, but since you have double and we don't have auto detection ... focus on this part of the boot script: if load mmc 0 0x00000000 /boot/.next || load mmc 0 0x00000000 .next; then setenv fdt_file "imx6q-udoo.dtb" ext4load mmc 0 ${fdt_addr} /boot/dtb/${fdt_file} || fatload mmc 0 ${fdt_addr} dtb/${fdt_file} else setenv fdt_file "imx6q-udoo-hdmi.dtb" ext4load mmc 0 ${fdt_addr} /boot/dtb/${fdt_file} || fatload mmc 0 ${fdt_addr} dtb/${fdt_file} fi Change imx6q-udoo.dtb with imx6dl-udoo.dtb and imx6q-udoo-hdmi.dtb with imx6dl-udoo-hdmi.dtb Recompile and reboot. Edit: U-boot configuration is the same for Q and DL.
Recommended Posts