Custom image for i.mx6ull evk

Hi,

I just bought an i.mx6ull evk NAND version and I used the instructions on the seeed-studio website to get it up and running from an SD card.

It works fine and I would like to build my own kernel with some custom application and add an overlay on the rootfs. I worked with buildroot for our previous project but I can’t seem to find any documentation for the I.MX6ULL with buildroot so I tried to build one following instructions on this website: https://forum.digikey.com/t/debian-getting-started-with-the-npi-i-mx6ull/12710#NPii.MX6ULL-Bootloader:U-Boot

I build kernel version 4.19.x and some 5.x but nothing seems to work. The boot sequence hangs midway as shown in these logs

U-Boot 2019.04-00676-gd447c486 (Jul 06 2021 - 13:49:21 +0200)

CPU: Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 46C
Reset cause: POR
Model: Freescale i.MX6 ULL 14x14 EVK Board
Board: MX6ULL 14x14 EVK
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC… *** Warning - bad CRC, using default environment

Display: TFT43AB (480x272)
Video: 480x272x24
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc0 is current device
flash target is MMC:0
Net:
Error: ethernet@020b4000 address not set.

Error: ethernet@020b4000 address not set.

Error: ethernet@02188000 address not set.
eth-1: ethernet@020b4000
Error: ethernet@02188000 address not set.
, eth-1: ethernet@02188000
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1…
switch to partitions #0, OK
mmc0 is current device
Checking for: /uEnv.txt …
Checking for: /boot.scr …
Checking for: /boot/boot.scr …
Checking for: /boot/uEnv.txt …
56 bytes read in 6 ms (8.8 KiB/s)
Loaded environment from /boot/uEnv.txt
debug: [dtb=imx6ull-seeed-npi.dtb] …
Using: dtb=imx6ull-seeed-npi.dtb …
Checking if uname_r is set in /boot/uEnv.txt…
Running uname_boot …
loading /boot/vmlinuz-4.19.191-armv7-rt-x67 …
9613824 bytes read in 430 ms (21.3 MiB/s)
debug: [enable_uboot_overlays=] …
loading /boot/dtbs/4.19.191-armv7-rt-x67/imx6ull-seeed-npi.dtb …
32589 bytes read in 89 ms (357.4 KiB/s)
uboot_overlays: add [enable_uboot_overlays=1] to /boot/uEnv.txt to enable…
debug: [console=ttymxc0 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait] …
debug: [bootz 0x80800000 - 0x83000000] …
Kernel image @ 0x80800000 [ 0x000000 - 0x92b200 ]

Flattened Device Tree blob at 83000000

Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300af4c
ft_system_setup for mx6

Starting kernel …

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.19.191-armv7-rt-x67 (deva-dell@devadell-Precision-M4700) (gcc version 8.4.0 (GCC)) #1 SMP PREEMPT RT Tue Jul 6 14:38:43 CEST 2021
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Seeed i.MX6 ULL NPi Board
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x8c000000, size 320 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x504 with crng_init=0
[ 0.000000] percpu: Embedded 17 pages/cpu s40864 r8192 d20576 u69632
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 129920
[ 0.000000] Kernel command line: console=ttymxc0 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait
[ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 170396K/524288K available (13312K kernel code, 1298K rwdata, 3752K rodata, 1024K init, 380K bss, 26212K reserved, 327680K cma-reserved, 0K highme
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (14304 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) (1299 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 381 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] rcu: RCU priority boosting: priority 1 delay 500 ms.
[ 0.000000] No expedited grace period (rcu_normal_after_boot).
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] Switching to timer-based delay loop, resolution 41ns
[ 0.000018] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000049] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.002752] Console: colour dummy device 80x30
[ 0.003115] Calibrating delay loop (skipped), value calculated using timer frequency… 48.00 BogoMIPS (lpj=96000)
[ 0.003141] pid_max: default: 32768 minimum: 301
[ 0.003777] Security Framework initialized
[ 0.003794] Yama: becoming mindful.
[ 0.004087] AppArmor: AppArmor initialized
[ 0.004486] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.004515] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.007118] CPU: Testing write buffer coherency: ok
[ 0.008110] CPU0: update cpu_capacity 1024
[ 0.008316] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.010674] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.011599] rcu: Hierarchical SRCU implementation.
[ 0.022016] EFI services will not be available.
[ 0.022629] smp: Bringing up secondary CPUs …
[ 0.022667] smp: Brought up 1 node, 1 CPU
[ 0.022696] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.022719] CPU: All CPU(s) started in SVC mode.
[ 0.025379] devtmpfs: initialized
[ 0.047745] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.049397] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.049475] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.074720] xor: measuring software checksum speed
[ 0.114222] arm4regs : 497.000 MB/sec
[ 0.154426] 8regs : 345.000 MB/sec
[ 0.194666] 32regs : 318.000 MB/sec
[ 0.194697] xor: using function: arm4regs (497.000 MB/sec)
[ 0.194743] pinctrl core: initialized pinctrl subsystem
[ 0.198477] NET: Registered protocol family 16
[ 0.211368] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.213380] audit: initializing netlink subsys (disabled)
[ 0.219251] audit: type=2000 audit(0.208:1): state=initialized audit_enabled=0 res=1
[ 0.234319] vdd3p0: supplied by regulator-dummy
[ 0.236558] cpu: supplied by regulator-dummy
[ 0.238531] vddsoc: supplied by regulator-dummy
[ 0.260864] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.260904] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.264792] imx6ul-pinctrl 20e0000.iomuxc: Failed to create dummy-iomuxc-gpr@20e4000 debugfs directory
[ 0.265519] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.266578] imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
[ 0.310384] raid6: using algorithm int32x8 gen() 0 MB/s
[ 0.310422] raid6: … xor() 0 MB/s, rmw enabled
[ 0.310446] raid6: using intx1 recovery algorithm
[ 0.349993] mxs-dma 1804000.dma-apbh: initialized
[ 0.363778] SCSI subsystem initialized
[ 0.365413] usbcore: registered new interface driver usbfs
[ 0.365613] usbcore: registered new interface driver hub
[ 0.365768] usbcore: registered new device driver usb
[ 0.368784] media: Linux media interface: v0.10
[ 0.368942] videodev: Linux video capture interface: v2.00
[ 0.369361] pps_core: LinuxPPS API ver. 1 registered
[ 0.369390] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.369486] PTP clock support registered
[ 0.373286] NetLabel: Initializing
[ 0.373328] NetLabel: domain hash size = 128
[ 0.373349] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.373584] NetLabel: unlabeled traffic allowed by default
[ 0.375748] clocksource: Switched to clocksource mxc_timer1
[ 0.877559] VFS: Disk quotas dquot_6.6.0
[ 0.877804] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.880936] AppArmor: AppArmor Filesystem Enabled
[ 0.923360] NET: Registered protocol family 2
[ 0.926422] tcp_listen_portaddr_hash hash table entries: 256 (order: 1, 8192 bytes)
[ 0.926535] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.926685] TCP bind hash table entries: 4096 (order: 4, 114688 bytes)
[ 0.927036] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.927395] UDP hash table entries: 256 (order: 2, 16384 bytes)
[ 0.927501] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
[ 0.928753] NET: Registered protocol family 1
[ 0.930947] RPC: Registered named UNIX socket transport module.
[ 0.930989] RPC: Registered udp transport module.
[ 0.931014] RPC: Registered tcp transport module.
[ 0.931038] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.941172] Initialise system trusted keyrings
[ 0.942011] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.969666] zbud: loaded
[ 0.979398] NFS: Registering the id_resolver key type
[ 0.979499] Key type id_resolver registered
[ 0.979527] Key type id_legacy registered
[ 0.979586] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 0.979614] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering…
[ 0.980798] fuse init (API version 7.27)
[ 1.012935] Key type asymmetric registered
[ 1.012979] Asymmetric key parser ‘x509’ registered
[ 1.013161] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[ 1.013714] io scheduler noop registered
[ 1.013754] io scheduler deadline registered
[ 1.014789] io scheduler cfq registered (default)
[ 1.014829] io scheduler mq-deadline registered
[ 1.047505] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 1.047564] imx-sdma 20ec000.sdma: external firmware not found, using ROM firmware
[ 1.056162] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 1.069591] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 20, base_baud = 5000000) is a IMX
[ 1.069661] Console IMX rounded baud rate from 114943 to 114900
[ 1.852971] console [ttymxc0] enabled
[ 1.863029] sdhci: Secure Digital Host Controller Interface driver
[ 1.869264] sdhci: Copyright© Pierre Ossman
[ 1.874969] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.883595] sdhci-esdhc-imx 2190000.usdhc: Linked as a consumer to regulator.4
[ 1.926467] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[ 1.975467] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[ 2.002621] Error: Driver ‘tfp410’ is already registered, aborting…
[ 2.033630] libphy: Fixed MDIO Bus: probed
[ 2.048059] fec 20b4000.ethernet: 20b4000.ethernet supply phy not found, using dummy regulator
[ 2.057315] fec 20b4000.ethernet: Linked as a consumer to regulator.0
[ 2.063869] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.081101] pps pps0: new PPS source ptp0
[ 2.088433] fec 20b4000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[ 2.095225] fec 20b4000.ethernet: Using random MAC address: 3a:0f:8a:1c:9a:ee
[ 2.107952] libphy: fec_enet_mii_bus: probed
[ 2.127251] fec 20b4000.ethernet eth0: registered PHC device 0
[ 2.137762] fec 2188000.ethernet: 2188000.ethernet supply phy not found, using dummy regulator
[ 2.147406] fec 2188000.ethernet: Linked as a consumer to regulator.0
[ 2.160091] pps pps1: new PPS source ptp1
[ 2.166393] fec 2188000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[ 2.173179] fec 2188000.ethernet: Using random MAC address: e6:5e:a9:23:85:8c
[ 2.191618] mmc0: Tuning failed, falling back to fixed sampling clock
[ 2.198324] mmc0: new ultra high speed SDR104 SDHC card at address 59b4
[ 2.211242] mmcblk0: mmc0:59b4 USDU1 28.3 GiB
[ 2.267599] libphy: fec_enet_mii_bus: probed
[ 2.273883] fec 2188000.ethernet eth1: registered PHC device 1
[ 2.287161] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 2.293895] ehci-platform: EHCI generic platform driver
[ 2.300215] ehci-omap: OMAP-EHCI Host Controller driver
[ 2.307125] usbcore: registered new interface driver usb-storage
[ 2.320177] imx_usb 2184000.usb: 2184000.usb supply vbus not found, using dummy regulator
[ 2.328771] imx_usb 2184000.usb: Linked as a consumer to regulator.0
[ 2.502234] imx_usb 2184200.usb: 2184200.usb supply vbus not found, using dummy regulator
[ 2.510746] imx_usb 2184200.usb: Linked as a consumer to regulator.0
[ 2.522114] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 2.527173] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[ 2.547936] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 2.554499] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[ 2.562823] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.570089] usb usb1: Product: EHCI Host Controller
[ 2.575010] usb usb1: Manufacturer: Linux 4.19.191-armv7-rt-x67 ehci_hcd
[ 2.581755] usb usb1: SerialNumber: ci_hdrc.1
[ 2.588760] hub 1-0:1.0: USB hub found
[ 2.592799] hub 1-0:1.0: 1 port detected
[ 2.614757] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0
[ 2.622959] i2c /dev entries driver
[ 2.628225] Driver for 1-wire Dallas network protocol.
[ 2.641638] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[ 2.656594] hidraw: raw HID events driver © Jiri Kosina
[ 2.663556] usbcore: registered new interface driver usbhid
[ 2.669176] usbhid: USB HID core driver
[ 2.676202] gnss: GNSS driver registered with major 242
[ 2.685420] NET: Registered protocol family 10
[ 2.702271] Segment Routing with IPv6
[ 2.706488] mip6: Mobile IPv6
[ 2.709623] NET: Registered protocol family 17
[ 2.714511] Key type dns_resolver registered
[ 2.718917] mpls_gso: MPLS GSO support
[ 2.725253] cpu cpu0: Linked as a consumer to regulator.2
[ 2.731139] cpu cpu0: Linked as a consumer to regulator.3
[ 2.740627] ThumbEE CPU extension supported.
[ 2.744956] Registering SWP/SWPB emulation handler
[ 2.751408] registered taskstats version 1
[ 2.755535] Loading compiled-in X.509 certificates
[ 2.760562] zswap: loaded using pool lzo/zbud
[ 2.769842] Btrfs loaded, crc32c=crc32c-generic
[ 2.774548] AppArmor: AppArmor sha1 policy hashing enabled
[ 2.831175] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 2021-07-07 13:31:49 UTC (1625664709)
[ 2.840954] sr_init: No PMIC hook to init smartreflex
[ 12.263761] mmc0: Timeout waiting for hardware interrupt.
[ 12.269187] mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 12.275640] mmc0: sdhci: Sys addr: 0x00000008 | Version: 0x00000002
[ 12.282092] mmc0: sdhci: Blk size: 0x00000200 | Blk cnt: 0x00000008
[ 12.288543] mmc0: sdhci: Argument: 0x00000000 | Trn mode: 0x0000003b
[ 12.294993] mmc0: sdhci: Present: 0x01f88009 | Host ctl: 0x00000013
[ 12.301444] mmc0: sdhci: Power: 0x00000002 | Blk gap: 0x00000080
[ 12.307894] mmc0: sdhci: Wake-up: 0x00000008 | Clock: 0x0000000f
[ 12.314345] mmc0: sdhci: Timeout: 0x0000008f | Int stat: 0x00000000
[ 12.320798] mmc0: sdhci: Int enab: 0x117f100b | Sig enab: 0x117f100b
[ 12.327249] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000302
[ 12.333700] mmc0: sdhci: Caps: 0x07eb0000 | Caps_1: 0x0000b407
[ 12.340152] mmc0: sdhci: Cmd: 0x0000123a | Max curr: 0x00ffffff
[ 12.346604] mmc0: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0x00e29d7f
[ 12.353057] mmc0: sdhci: Resp[2]: 0x325b5900 | Resp[3]: 0x00400e00
[ 12.359509] mmc0: sdhci: Host ctl2: 0x00000008
[ 12.363963] mmc0: sdhci: ADMA Err: 0x00000003 | ADMA Ptr: 0x8c041204
[ 12.370410] mmc0: sdhci: ============================================
[ 33.767820] gpio_dvfs: disabling
[ 242.663803] INFO: task swapper/0:1 blocked for more than 120 seconds.
[ 242.670272] Not tainted 4.19.191-armv7-rt-x67 #1
[ 242.675425] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 242.683269] swapper/0 D 0 1 0 0x00000000
[ 242.688816] [] (__schedule) from [] (schedule+0x54/0x108)
[ 242.695987] [] (schedule) from [] (wait_for_device_probe+0x68/0xa0)
[ 242.704025] [] (wait_for_device_probe) from [] (prepare_namespace+0x3c/0x198)
[ 242.712929] [] (prepare_namespace) from [] (kernel_init_freeable+0x440/0x454)
[ 242.721830] [] (kernel_init_freeable) from [] (kernel_init+0x8/0x110)
[ 242.730038] [] (kernel_init) from [] (ret_from_fork+0x14/0x24)
[ 242.737624] Exception stack(0xcb0b7fb0 to 0xcb0b7ff8)
[ 242.742693] 7fa0: 00000000 00000000 00000000 00000000
[ 242.750892] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 242.759088] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 242.765741] INFO: task kworker/0:1:23 blocked for more than 120 seconds.
[ 242.772457] Not tainted 4.19.191-armv7-rt-x67 #1
[ 242.777607] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 242.785449] kworker/0:1 D 0 23 2 0x00000000
[ 242.790969] Workqueue: events_freezable mmc_rescan
[ 242.795799] [] (__schedule) from [] (schedule+0x54/0x108)
[ 242.802964] [] (schedule) from [] (io_schedule+0x14/0x34)
[ 242.810132] [] (io_schedule) from [] (wait_on_page_bit+0x120/0x158)
[ 242.818169] [] (wait_on_page_bit) from [] (do_read_cache_page+0x1fc/0x378)
[ 242.826811] [] (do_read_cache_page) from [] (read_cache_page+0x14/0x1c)
[ 242.835195] [] (read_cache_page) from [] (read_dev_sector+0x28/0xb4)
[ 242.843314] [] (read_dev_sector) from [] (read_lba+0xa4/0x1a0)
[ 242.850911] [] (read_lba) from [] (efi_partition+0x128/0xb3c)
[ 242.858421] [] (efi_partition) from [] (check_partition+0x118/0x200)
[ 242.866537] [] (check_partition) from [] (rescan_partitions+0x90/0x458)
[ 242.874920] [] (rescan_partitions) from [] (__blkdev_get+0x504/0x50c)
[ 242.883124] [] (__blkdev_get) from [] (blkdev_get+0x124/0x378)
[ 242.890720] [] (blkdev_get) from [] (__device_add_disk+0x4a4/0x550)
[ 242.898751] [] (__device_add_disk) from [] (mmc_add_disk+0x20/0xf8)
[ 242.906784] [] (mmc_add_disk) from [] (mmc_blk_probe+0x2cc/0x750)
[ 242.914643] [] (mmc_blk_probe) from [] (really_probe+0x1f0/0x3f0)
[ 242.922505] [] (really_probe) from [] (driver_probe_device+0x78/0x1c0)
[ 242.930795] [] (driver_probe_device) from [] (bus_for_each_drv+0x80/0xc4)
[ 242.939345] [] (bus_for_each_drv) from [] (__device_attach+0xe0/0x174)
[ 242.947634] [] (__device_attach) from [] (bus_probe_device+0x84/0x8c)
[ 242.955837] [] (bus_probe_device) from [] (device_add+0x380/0x638)
[ 242.963783] [] (device_add) from [] (mmc_add_card+0x108/0x2d0)
[ 242.971381] [] (mmc_add_card) from [] (mmc_attach_sd+0xe4/0x168)
[ 242.979151] [] (mmc_attach_sd) from [] (mmc_rescan+0x388/0x428)
[ 242.986836] [] (mmc_rescan) from [] (process_one_work+0x190/0x50c)
[ 242.994781] [] (process_one_work) from [] (worker_thread+0x44/0x4f8)
[ 243.002897] [] (worker_thread) from [] (kthread+0x174/0x19c)
[ 243.010319] [] (kthread) from [] (ret_from_fork+0x14/0x24)
[ 243.017556] Exception stack(0xcb1dffb0 to 0xcb1dfff8)
[ 243.022625] ffa0: 00000000 00000000 00000000 00000000
[ 243.030823] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 243.039017] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 363.495809] INFO: task swapper/0:1 blocked for more than 120 seconds.
[ 363.502276] Not tainted 4.19.191-armv7-rt-x67 #1
[ 363.507428] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 363.515271] swapper/0 D 0 1 0 0x00000000
[ 363.520807] [] (__schedule) from [] (schedule+0x54/0x108)
[ 363.527975] [] (schedule) from [] (wait_for_device_probe+0x68/0xa0)
[ 363.536014] [] (wait_for_device_probe) from [] (prepare_namespace+0x3c/0x198)
[ 363.544919] [] (prepare_namespace) from [] (kernel_init_freeable+0x440/0x454)
[ 363.553822] [] (kernel_init_freeable) from [] (kernel_init+0x8/0x110)
[ 363.562029] [] (kernel_init) from [] (ret_from_fork+0x14/0x24)
[ 363.569613] Exception stack(0xcb0b7fb0 to 0xcb0b7ff8)
[ 363.574683] 7fa0: 00000000 00000000 00000000 00000000
[ 363.582882] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 363.591079] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 363.597733] INFO: task kworker/0:1:23 blocked for more than 120 seconds.
[ 363.604449] Not tainted 4.19.191-armv7-rt-x67 #1
[ 363.609603] “echo 0 > /proc/sys/kernel/hung_task_timeout_secs” disables this message.
[ 363.617446] kworker/0:1 D 0 23 2 0x00000000
[ 363.622967] Workqueue: events_freezable mmc_rescan
[ 363.627800] [] (__schedule) from [] (schedule+0x54/0x108)
[ 363.634963] [] (schedule) from [] (io_schedule+0x14/0x34)
[ 363.642129] [] (io_schedule) from [] (wait_on_page_bit+0x120/0x158)
[ 363.650165] [] (wait_on_page_bit) from [] (do_read_cache_page+0x1fc/0x378)
[ 363.658806] [] (do_read_cache_page) from [] (read_cache_page+0x14/0x1c)
[ 363.667187] [] (read_cache_page) from [] (read_dev_sector+0x28/0xb4)
[ 363.675308] [] (read_dev_sector) from [] (read_lba+0xa4/0x1a0)
[ 363.682902] [] (read_lba) from [] (efi_partition+0x128/0xb3c)
[ 363.690413] [] (efi_partition) from [] (check_partition+0x118/0x200)
[ 363.698532] [] (check_partition) from [] (rescan_partitions+0x90/0x458)
[ 363.706912] [] (rescan_partitions) from [] (__blkdev_get+0x504/0x50c)
[ 363.715115] [] (__blkdev_get) from [] (blkdev_get+0x124/0x378)
[ 363.722709] [] (blkdev_get) from [] (__device_add_disk+0x4a4/0x550)
[ 363.730738] [] (__device_add_disk) from [] (mmc_add_disk+0x20/0xf8)
[ 363.738769] [] (mmc_add_disk) from [] (mmc_blk_probe+0x2cc/0x750)
[ 363.746631] [] (mmc_blk_probe) from [] (really_probe+0x1f0/0x3f0)
[ 363.754491] [] (really_probe) from [] (driver_probe_device+0x78/0x1c0)
[ 363.762784] [] (driver_probe_device) from [] (bus_for_each_drv+0x80/0xc4)
[ 363.771337] [] (bus_for_each_drv) from [] (__device_attach+0xe0/0x174)
[ 363.779627] [] (__device_attach) from [] (bus_probe_device+0x84/0x8c)
[ 363.787829] [] (bus_probe_device) from [] (device_add+0x380/0x638)
[ 363.795772] [] (device_add) from [] (mmc_add_card+0x108/0x2d0)
[ 363.803373] [] (mmc_add_card) from [] (mmc_attach_sd+0xe4/0x168)
[ 363.811143] [] (mmc_attach_sd) from [] (mmc_rescan+0x388/0x428)
[ 363.818828] [] (mmc_rescan) from [] (process_one_work+0x190/0x50c)
[ 363.826771] [] (process_one_work) from [] (worker_thread+0x44/0x4f8)
[ 363.834887] [] (worker_thread) from [] (kthread+0x174/0x19c)
[ 363.842308] [] (kthread) from [] (ret_from_fork+0x14/0x24)
[ 363.849545] Exception stack(0xcb1dffb0 to 0xcb1dfff8)
[ 363.854614] ffa0: 00000000 00000000 00000000 00000000
[ 363.862811] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 363.871005] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 484.327794] INFO: task swapper/0:1 blocked for more than 120 seconds.
[ 484.334260] Not tainted 4.19.191-armv7-rt-x67 #1

I tried to use the image-builder from seeed-studio without much success.

I would be really grateful if someone could help me understand how to build a custom image for the IMX6ULL evk.