I could build an image for imx6 sabrelite following Yocto tutorial.
Here is the log
NOTE: Your conf/bblayers.conf has been automatically updated.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.36.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-16.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6dlsabresd"
DISTRO = "fsl-imx-fb"
DISTRO_VERSION = "4.9.88-2.0.0"
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU = "hard"
meta
meta-poky = "HEAD:0ec241873367e18f5371a3ad9aca1e2801dcd4ee"
meta-oe
meta-multimedia = "HEAD:dacfa2b1920e285531bec55cd2f08743390aaf57"
meta-freescale = "HEAD:49ac225a38f6d84519798e3264f2e4d19b84f70a"
meta-freescale-3rdparty = "HEAD:1d6d5961dbf82624b28bb318b4950a64abc31d12"
meta-freescale-distro = "HEAD:0ec6d7e206705702b5b534611754de0787f92b72"
meta-bsp
meta-sdk = "HEAD:d65692ecb3a4136fc1cc137152634e8633ddb3c6"
meta-browser = "HEAD:d6f9aed41c73b75a97d71bff060b03a66ee087b1"
meta-gnome
meta-networking
meta-python
meta-filesystems = "HEAD:dacfa2b1920e285531bec55cd2f08743390aaf57"
meta-qt5 = "HEAD:32bb7d18a08d1c48873d7ab6332d4cc3815a4dff"
I flashed the generated image on a 4Gb MMC following the instruction using dd command:
sudo dd if=<iamge name>.sdcard of=/dev/sd<partition> bs=1M conv=fsync
I had on my sd card two partition
when i try to boot this is the u-boot output
U-Boot 2020.10-53068-ga173e0c8f7 (Nov 18 2021 - 09:25:14 -0800), Build: jenkins-uboot_v2020.10-166
CPU: i.MX6Q rev1.2 at 792 MHz
Reset cause: POR
Model: Boundary Devices i.MX6 Quad Nitrogen6x Board
Board: sabrelite
I2C: ready
DRAM: 1 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from SPIFlash...
SF: Detected sst25vf016b with page size 256 Bytes, erase size 4 KiB, total 2 MiB
*** Warning - bad CRC, using default environment
U-Boot 2020.10-53068-ga173e0c8f7 (Nov 18 2021 - 09:25:14 -0800), Build: jenkins-uboot_v2020.10-166x720M@60 (1280x720)
In: serial
CPU: i.MX6Q rev1.2 at 792 MHz
Reset cause: POR
Model: Boundary Devices i.MX6 Quad Nitrogen6x Board
Board: sabrelite_ether
I2C: readyto stop autoboot: 0
DRAM: 1 GiB present
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from SPIFlash...
SF: Detected sst25vf016b with page size 256 Bytes, erase size 4 KiB, total 2 MiB
*** Warning - bad CRC, using default environment
starting USB...
Display: hdmi:1280x720M@60 (1280x720)d
In: serial00: USB EHCI 1.00
Out: serialusb@2184200 for devices... 2 USB Device(s) found
Err: serialng usb for storage devices... 0 Storage Device(s) found
Net: Micrel ksz9021 at 6hernet devices... 0 Ethernet Device(s) found
FEC [PRIME], usb_ether
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
MMC: no card present
mmc_init: -123, time 2
Cannot probe SATA device 0 (err=-19)
starting USB...
Bus usb@2184000: usb dr_mode not found
Bus usb@2184200: USB EHCI 1.00
scanning bus usb@2184200 for devices... 2 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
scanning usb for ethernet devices... 0 Ethernet Device(s) found
Device 0: unknown device
I list partition 1 and 2 of MMC 0 which are boot and root partition, but if i try to access partition 0 of mmc 0 i got unknown fs result.
It seems the parttion 0 is not existing and is the one the device is trying to boot, did I miss something?
Thanks in advance for your answers
Regards Luca
Hi Luca
for sabrelite board one can look at boundary devices tutorial
https://boundarydevices.com/programming-emmc-on-i-mx6/
Best regards
igor