Hi all, I followed the instructions from here but the boot process hangs just before its ending. This is what I get in U-Boot with the sata info command: Code: => sata info SATA device 0: Model: KINGSTON SV300S37A60G Firm: 608ABBF0 Ser#: 50026B72630E9F8 Type: Hard Disk Supports 48-bit addressing Capacity: 57241.8 MB = 55.9 GB (117231408 x 512) so the SATA device is visible. That's the output of the boot process: Code: U-Boot SPL 2015.10-00062-g8af36f3 (Mar 08 2016 - 16:53:02) U-Boot 2015.10-00062-g8af36f3 (Mar 08 2016 - 16:53:02 +0100) CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: POR Board: UDOO Quad DRAM: 1 GiB MMC: FSL_SDHC: 0 *** Warning - bad CRC, using default environment No panel detected: default to HDMI Display: HDMI (1024x768) 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 AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode flags: ncq stag pm led clo only pmp pio slum part SATA Device Info: S/N: 50026B72630E9F48 Product model number: KINGSTON SV300S37A60G Firmware version: 608ABBF0 Capacity: 117231408 sectors reading uEnv.txt 52 bytes read in 121 ms (0 Bytes/s) Running bootscript from mmc ... Device Tree: dts/imx6q-udoo-hdmi.dtb reading zImage 4547280 bytes read in 47 ms (92.3 MiB/s) Booting from mmc ... reading dts/imx6q-udoo-hdmi.dtb 41714 bytes read in 8 ms (5 MiB/s) Kernel image @ 0x12000000 [ 0x000000 - 0x4562d0 ] ## Flattened Device Tree blob at 18000000 Booting using the fdt blob at 0x18000000 Using Device Tree in place at 18000000, end 1800d2f1 Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 3.14.56-udooqdl-02021-g724c68a (udooer@udoo_compil6 [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructie [ 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] PERCPU: Embedded 8 pages/cpu @ab723000 s8256 r8192 d16320 u32768 [ 0.000000] Kernel command line: console=ttymxc1,115200 root=/dev/sda2 rootw1 [ 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] 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 - 0x80abda64 (10967 kB) [ 0.000000] .init : 0x80abe000 - 0x80afc040 ( 249 kB) [ 0.000000] .data : 0x80afe000 - 0x80b3a9c0 ( 243 kB) [ 0.000000] .bss : 0x80b3a9cc - 0x80b9cb5c ( 393 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. ... [ 0.000759] Console: colour dummy device 80x30 [ 0.000779] Calibrating delay loop (skipped), value calculated using timer f) [ 0.000794] pid_max: default: 32768 minimum: 301 [ 0.000973] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000987] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.008684] Initializing cgroup subsys devices [ 0.008698] Initializing cgroup subsys freezer [ 0.008727] CPU: Testing write buffer coherency: ok ... [ 0.101291] Brought up 4 CPUs ... [ 0.137086] CPU identified as i.MX6Q, silicon rev 1.2 [ 0.137180] Use WDOG1 as reset source ... [ 1.164666] loop: module loaded [ 1.169274] ahci-imx 2200000.sata: fsl,transmit-level-mV not specified, usin4 [ 1.177227] ahci-imx 2200000.sata: fsl,transmit-boost-mdB not specified, usi0 [ 1.185258] ahci-imx 2200000.sata: fsl,transmit-atten-16ths not specified, u0 [ 1.193447] ahci-imx 2200000.sata: fsl,receive-eq-mdB not specified, using 00 [ 1.203921] ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled [ 1.210920] ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0xe [ 1.219741] ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp [ 1.230289] scsi0 : ahci_platform [ 1.233954] ata1: SATA max UDMA/133 mmio [mem 0x02200000-0x02203fff] port 0x1 ... [ 1.455260] mmc0: no vqmmc regulator found [ 1.459371] mmc0: no vmmc regulator found [ 1.503805] mmc0: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADA ... [ 1.552205] mmc0: host does not support reading read-only switch. assuming w. [ 1.567375] mmc0: new high speed SDHC card at address 0002 [ 1.573823] mmcblk0: mmc0:0002 SD16G 14.9 GiB [ 1.580532] mmcblk0: unknown partition table [ 1.783841] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 1.797204] ata1.00: ATA-8: KINGSTON SV300S37A60G, 608ABBF0, max UDMA/133 [ 1.804040] ata1.00: 117231408 sectors, multi 1: LBA48 NCQ (depth 31/32) [ 1.815940] ata1.00: configured for UDMA/133 [ 1.820950] scsi 0:0:0:0: Direct-Access ATA KINGSTON SV300S3 BBF0 P5 [ 1.830003] sd 0:0:0:0: [sda] 117231408 512-byte logical blocks: (60.0 GB/55) [ 1.838078] sd 0:0:0:0: [sda] Write Protect is off [ 1.843021] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doeA [ 1.853811] sda: sda1 sda2 [ 1.858309] sd 0:0:0:0: [sda] Attached SCSI disk ... [ 2.094096] EXT4-fs (sda2): recovery complete [ 2.098622] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts:) [ 2.106338] VFS: Mounted root (ext4 filesystem) on device 8:2. [ 2.112463] devtmpfs: mounted [ 2.115615] Freeing unused kernel memory: 248K (80abe000 - 80afc000) [ 2.301529] random: init urandom read with 27 bits of entropy available [ 2.454807] init: mounted-proc main process (118) terminated with status 1 [ 3.224323] ov5640_read_reg:write reg error:reg=300a [ 3.346308] ERROR: v4l2 capture: slave not found! [ 3.355458] ERROR: v4l2 capture: slave not found! and it stops there. I wonder if the boot image for UDOObuntu 2.0 (the one you can download from the page Boot from SATA) is good also for UDOObuntu 2.1. If not, where we can get it? Last words: UDOObuntu2.1 runs flawlessly with the bootable microSD card alone. Thanks in advance for your help.
Hi Francesco, yes I'm trying to boot *without* HDMI cable connected. That's what I get. Btw, the boot process stop at the same step also with the HDMI cable connected.
Udoo finally boots from SATA after changing SD card (a few of...) I've noticed that it takes some seconds to prompt the console: Code: [ 3.468442] ERROR: v4l2 capture: slave not found! [ OK ]ting up X socket directories... [ OK ]ding cpufreq kernel modules... [ OK ]Freq Utilities: Setting ondemand CPUFreq governor... * CPU0... [ OK ]ting sysfs variables... * Starting NTP server ntpd [ 13.194472] imx-hdmi-audio imx-hdmi-audio! [ 13.202974] imx-hdmi-audio imx-hdmi-audio: ASoC: can't open platform imx-hdm2 [ 13.213690] imx-hdmi-audio imx-hdmi-audio: HDMI Video is not ready! [ 13.228579] imx-hdmi-audio imx-hdmi-audio: ASoC: can't open platform imx-hdm2 [ OK ] UDOObuntu v2.1 default username:password is [udooer:udooer] udoo login: udooer Password: Last login: Fri Jan 1 00:00:23 UTC 2016 on ttymxc1 Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.14.56-udooqdl-02021-g724c68a armv7l) * Documentation: http://www.udoo.org/docs/ udooer@udoo:~$ I don't know if this is ok or not.
Hi damoreluc, so you have just changed SD card in order to boot properly? A few seconds are necessary for the login console to appear. If you want to know what is blocking, you need some metering tool like bootchartd. Or if you try the Ubuntu 16.04 image you can use the builtin `systemd-analyze` tool to find the bad guy.
Yes, now I'm using a Class 4 SD card. It works fine. ok, I'll give a try to bootchartd. BTW, is Ubuntu 16.04 image still a release candidate?
The directions at http://www.udoo.org/docs/Hardware_&_Accessories/Boot_from_SATA.html, I think, are not correct for version 2.1. Could somebody try and give a more general description of what should be typed into /dev/sd??/etc/fstab? I still can't get my quad to boot from SATA.
Hi sirrab, this is my /etc/fstab, it works on my UDOO Quad: Code: /dev/sda2 / ext4 defaults,noatime 0 0 /dev/sda1 /boot vfat defaults,noatime 0 0 Remember to edit your /etc/fstab file while your SATA disk is still connected to the machine you used to flash the UDOOBuntu 2.1 image. Delete any previous content in the /etc/fstab. Of course, be carefull to edit the /etc/fstab file on the disk you'll used on the UDOO, not the one on your computer. Have you flashed also the bootloader on the SD card? Let me know if this helps you.
Removing what was there might help. My SSD has 2 partitions, 1st is 34MB and not mountable, 2nd partition is udoobuntu and is ~2.8GB. 2nd partition has a Linux file system and typical folders.
Had a bad microSD card. Starts to boot, stops at ERROR: v4l2 capture: slave not found! What does this mean?