SPI on Colibri iMX7D

Hi,

How can i access SPI on my iMX7D board? I used the following description to enable SPI but unfortunatly the spidev interface won’t appear. (E.g. there are no entries like /dev/spidev0.0)…
dmesg contains three entries about SPI:

dmesg | grep spi
[    1.150543] /soc/aips-bus@30800000/spba-bus@30800000/ecspi@30840000: could not find phandle
[    1.162653] /soc/aips-bus@30800000/spba-bus@30800000/ecspi@30840000: could not find phandle
[    1.174747] spi_imx 30840000.ecspi: probed

Thanks in advance

Hi

Which Software version are you exactly using for the target?

best regards, Jaski

Hi,
I am using the BSP 2.7.4 (refs/tags/Colibri-iMX7_LXDE-Image_2.7b4-20171005)

And it’s a Viola Plus V1.2A carrier board.

This is the patch i am using:

diff --git a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
index 217ddf0..c5af96a 100644
--- a/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
+++ b/arch/arm/boot/dts/imx7-colibri-eval-v3.dtsi
@@ -102,14 +102,14 @@
 		interrupt-parent = <&gpio5>;
 		interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
 		spi-max-frequency = <10000000>;
-		status = "okay";
+		status = "disabled";
 	};
 
 	spidev0: spidev@0 {
 		compatible = "toradex,evalspi";
 		reg = <0>;
 		spi-max-frequency = <23000000>;
-		status = "disabled";
+		status = "okay";
 	};
 };

Hi qojote

I used the same patch. I can see a /dev/spidev2.0 device. Can you send your zImage and dtb File.
Best regards
Jaski

Hi,

Please find attached my zImage and device treelink text

Hi qojote, I updated the software on target using your zImage and dtb File. I can see a /dev/spidev2.0 device.
And when i do dmesg | grep spi, I got this: 1.153063] spi_imx 30840000.ecspi: probed

Can you send the dmesg log?

Thanks and best regards,
Jaski

Hi,
Thanks for your support. Are you testing on a Viola board like me?
I flashed my device via SD card and ‘run setupdate; run update’. As far as i see these commands should update the dtb and kernel, right?

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.1.44-2.7.4+gb1555bf (user@user-VirtualBox) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 SMP Tue Jan 16 16:01:51 CET 2018
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Toradex Colibri iMX7D on Colibri Evaluation Board V3
[    0.000000] Reserved memory: created CMA memory pool at 0x98000000, size 128 MiB
[    0.000000] Reserved memory: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat 808fa140, node_mem_map 97bba000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] PERCPU: Embedded 12 pages/cpu @97b80000 s16844 r8192 d24116 u49152
[    0.000000] pcpu-alloc: s16844 r8192 d24116 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: clk_ignore_unused ubi.mtd=ubi root=ubi0:rootfs rootfstype=ubifs ubi.fm_autoconvert=1 console=tty1 console=ttymxc0,115200n8 consoleblank=0
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 378604K/524288K available (6414K kernel code, 291K rwdata, 2144K rodata, 312K init, 380K bss, 14612K reserved, 131072K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xa0800000 - 0xff000000   (1512 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xa0000000   ( 512 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x80863c68   (8560 kB)
[    0.000000]       .init : 0x80864000 - 0x808b2000   ( 312 kB)
[    0.000000]       .data : 0x808b2000 - 0x808fadc0   ( 292 kB)
[    0.000000]        .bss : 0x808fd000 - 0x8095c1ac   ( 381 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] 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] Architected cp15 timer(s) running at 8.00MHz (phys).
[    0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
[    0.000007] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[    0.000019] Switching to timer-based delay loop, resolution 125ns
[    0.000467] mxc_clocksource_init 3000000
[    0.000480] Ignoring duplicate/late registration of read_current_timer delay
[    0.000497] clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[    0.001738] Console: colour dummy device 80x30
[    0.002376] console [tty1] enabled
[    0.002404] Calibrating delay loop (skipped), value calculated using timer frequency.. 16.00 BogoMIPS (lpj=80000)
[    0.002446] pid_max: default: 32768 minimum: 301
[    0.002565] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.002594] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.003235] Initializing cgroup subsys freezer
[    0.003274] Initializing cgroup subsys debug
[    0.003328] CPU: Testing write buffer coherency: ok
[    0.003636] Setting up static identity map for 0x80008280 - 0x800082d8
[    0.005583] Brought up 2 CPUs
[    0.005616] SMP: Total of 2 processors activated (32.00 BogoMIPS).
[    0.005638] CPU: All CPU(s) started in SVC mode.
[    0.006183] devtmpfs: initialized
[    0.019527] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.019962] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.020022] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.025227] pinctrl core: initialized pinctrl subsystem
[    0.025766] regulator-dummy: no parameters
[    0.026489] NET: Registered protocol family 16
[    0.032278] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.059970] cpuidle: using governor ladder
[    0.089987] cpuidle: using governor menu
[    0.098822] vdd1p0d: 800 <--> 1200 mV at 1000 mV 
[    0.099267] vdd1p2: 1100 <--> 1300 mV 
[    0.102924] DDR type is DDR3!
[    0.109560] imx7d_enet_clk_sel: failed to get enet_out clock, assuming ext. clock source
[    0.109649] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.109684] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.110054] imx7d-pinctrl 30270000.lpsr-gpr: initialized IMX pinctrl driver
[    0.110255] imx7d-pinctrl 302c0000.iomuxc-lpsr: initialized IMX pinctrl driver
[    0.111560] imx7d-pinctrl 30330000.iomuxc: initialized IMX pinctrl driver
[    0.112519] imx-gpcv2 303a0000.gpc: Looking up mipi-phy-supply from device tree
[    0.112595] imx-gpcv2 303a0000.gpc: Looking up pcie-phy-supply from device tree
[    0.112645] imx-gpcv2 303a0000.gpc: Looking up vcc-supply from device tree
[    0.113215] MU is ready for cross core communication!
[    0.123120] mxs-dma 33000000.dma-apbh: initialized
[    0.123814] +V3.3: 3300 mV 
[    0.123863] reg-fixed-voltage regulator-module-3v3: +V3.3 supplying 3300000uV
[    0.124053] +V3.3_AVDD_AUDIO: 3300 mV 
[    0.124103] reg-fixed-voltage regulator-module-3v3-avdd: +V3.3_AVDD_AUDIO supplying 3300000uV
[    0.124296] 3.3V: 3300 mV 
[    0.124332] reg-fixed-voltage regulator-3v3: 3.3V supplying 3300000uV
[    0.124532] 5V: 5000 mV 
[    0.124569] reg-fixed-voltage regulator-5v0: 5V supplying 5000000uV
[    0.124719] /regulator-usbh-vbus: could not find phandle
[    0.124893] VCC_USB[1-4]: 5000 mV 
[    0.124950] reg-fixed-voltage regulator-usbh-vbus: Looking up vin-supply from device tree
[    0.124976] VCC_USB[1-4]: supplied by 5V
[    0.125037] reg-fixed-voltage regulator-usbh-vbus: VCC_USB[1-4] supplying 5000000uV
[    0.125449] SCSI subsystem initialized
[    0.125762] usbcore: registered new interface driver usbfs
[    0.125850] usbcore: registered new interface driver hub
[    0.125977] usbcore: registered new device driver usb
[    0.126214] usb_phy_generic 30800000.aips-bus:usbphy_nop1: Looking up vcc-supply from device tree
[    0.126230] usb_phy_generic 30800000.aips-bus:usbphy_nop1: Looking up vcc-supply property in node /soc/aips-bus@30800000/usbphy_nop1 failed
[    0.126242] 30800000.aips-bus:usbphy_nop1 supply vcc not found, using dummy regulator
[    0.126402] usb_phy_generic 30800000.aips-bus:usbphy_nop3: Looking up vcc-supply from device tree
[    0.126524] usb_phy_generic 30800000.aips-bus:usbphy_nop2: Looking up vcc-supply from device tree
[    0.126540] usb_phy_generic 30800000.aips-bus:usbphy_nop2: Looking up vcc-supply property in node /soc/aips-bus@30800000/usbphy_nop2 failed
[    0.126549] 30800000.aips-bus:usbphy_nop2 supply vcc not found, using dummy regulator
[    0.127601] i2c i2c-0: IMX I2C adapter registered
[    0.127633] i2c i2c-0: can't use DMA
[    0.128115] i2c i2c-3: IMX I2C adapter registered
[    0.128144] i2c i2c-3: can't use DMA
[    0.128272] Linux video capture interface: v2.00
[    0.128345] pps_core: LinuxPPS API ver. 1 registered
[    0.128370] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.128435] PTP clock support registered
[    0.128968] Advanced Linux Sound Architecture Driver Initialized.
[    0.130335] Switched to clocksource arch_sys_counter
[    0.141343] NET: Registered protocol family 2
[    0.142172] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.142257] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.142350] TCP: Hash tables configured (established 4096 bind 4096)
[    0.142423] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.142472] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.142667] NET: Registered protocol family 1
[    0.142981] RPC: Registered named UNIX socket transport module.
[    0.143008] RPC: Registered udp transport module.
[    0.143029] RPC: Registered tcp transport module.
[    0.143050] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.144292] imx rpmsg driver is registered.
[    0.145276] Bus freq driver module loaded
[    0.153288] VFS: Disk quotas dquot_6.6.0
[    0.153533] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.155463] NFS: Registering the id_resolver key type
[    0.155530] Key type id_resolver registered
[    0.155552] Key type id_legacy registered
[    0.155589] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.156157] ntfs: driver 2.1.32 [Flags: R/W].
[    0.156699] fuse init (API version 7.23)
[    0.160373] io scheduler noop registered
[    0.160438] io scheduler deadline registered
[    0.160643] io scheduler cfq registered (default)
[    0.162572] pwm-backlight backlight: Looking up power-supply from device tree
[    0.162590] pwm-backlight backlight: Looking up power-supply property in node /backlight failed
[    0.162605] backlight supply power not found, using dummy regulator
[    0.164561] mxsfb 30730000.lcdif: Looking up lcd-supply from device tree
[    0.164578] mxsfb 30730000.lcdif: Looking up lcd-supply property in node /soc/aips-bus@30400000/lcdif@30730000 failed
[    0.164588] 30730000.lcdif supply lcd not found, using dummy regulator
[    0.230391] mxsfb 30730000.lcdif: failed to find mxc display driver 
[    0.239138] Console: switching to colour frame buffer device 80x30
[    0.256872] mxsfb 30730000.lcdif: initialized
[    0.259676] imx-sdma 30bd0000.sdma: no event needs to be remapped
[    0.261513] imx-sdma 30bd0000.sdma: loaded firmware 4.2
[    0.266372] imx-sdma 30bd0000.sdma: initialized
[    0.269127] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 246, base_baud = 1500000) is a IMX
[    0.989929] console [ttymxc0] enabled
[    0.996053] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 247, base_baud = 5000000) is a IMX
[    1.014484] loop: module loaded
[    1.021266] DCDC1: 1000 <--> 1100 mV at 1000 mV 
[    1.022618] DCDC2: 975 <--> 1100 mV at 1100 mV 
[    1.023933] DCDC3: 1800 mV 
[    1.025239] DCDC4: 1350 mV 
[    1.026556] LDO1: 1800 <--> 3300 mV at 3300 mV 
[    1.027336] LDO2: 1800 <--> 3300 mV at 3300 mV 
[    1.028110] LDO3: 3300 mV 
[    1.028898] LDO4: 1800 mV 
[    1.029667] LDO5: 3300 mV 
[    1.030505] LDORTC1: at 3000 mV 
[    1.031288] LDORTC2: at 900 mV 
[    1.039099] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xdc
[    1.047354] nand: Macronix MX30LF4G28AB
[    1.052993] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 112
[    1.064697] gpmi-nand 33002000.gpmi-nand: enable the asynchronous EDO mode 5
[    1.073872] Bad block table found at page 262080, version 0x01
[    1.081837] Bad block table found at page 262016, version 0x01
[    1.089891] 5 ofpart partitions found on MTD device gpmi-nand
[    1.097575] Creating 5 MTD partitions on "gpmi-nand":
[    1.104588] 0x000000000000-0x000000080000 : "mx7-bcb"
[    1.112083] 0x000000080000-0x000000200000 : "u-boot1"
[    1.119433] 0x000000200000-0x000000380000 : "u-boot2"
[    1.126716] 0x000000380000-0x000000400000 : "u-boot-env"
[    1.134202] 0x000000400000-0x000020000000 : "ubi"
[    1.141863] gpmi-nand 33002000.gpmi-nand: driver registered.
[    1.150566] /soc/aips-bus@30800000/spba-bus@30800000/ecspi@30840000: could not find phandle
[    1.162685] /soc/aips-bus@30800000/spba-bus@30800000/ecspi@30840000: could not find phandle
[    1.174786] spi_imx 30840000.ecspi: probed
[    1.182660] fec 30be0000.ethernet: Looking up phy-supply from device tree
[    1.183182] pps pps0: new PPS source ptp0
[    1.191199] libphy: fec_enet_mii_bus: probed
[    1.198917] fec 30be0000.ethernet eth0: registered PHC device 0
[    1.206811] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.215199] ehci-mxc: Freescale On-Chip EHCI Host driver
[    1.222549] usbcore: registered new interface driver usb-storage
[    1.230545] usbcore: registered new interface driver usbserial
[    1.238191] usbcore: registered new interface driver usbserial_generic
[    1.246461] usbserial: USB Serial support registered for generic
[    1.254190] usbcore: registered new interface driver ftdi_sio
[    1.261623] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.272343] usbcore: registered new interface driver pl2303
[    1.279692] usbserial: USB Serial support registered for pl2303
[    1.288512] usbmisc_imx 30b10200.usbmisc: Looking up vbus-wakeup-supply from device tree
[    1.288529] usbmisc_imx 30b10200.usbmisc: Looking up vbus-wakeup-supply property in node /soc/aips-bus@30800000/usbmisc@30b10200 failed
[    1.288551] 30b10200.usbmisc supply vbus-wakeup not found, using dummy regulator
[    1.299749] usbmisc_imx 30b30200.usbmisc: Looking up vbus-wakeup-supply from device tree
[    1.299765] usbmisc_imx 30b30200.usbmisc: Looking up vbus-wakeup-supply property in node /soc/aips-bus@30800000/usbmisc@30b30200 failed
[    1.299777] 30b30200.usbmisc supply vbus-wakeup not found, using dummy regulator
[    1.311289] usbmisc_imx 30b20200.usbmisc: Looking up vbus-wakeup-supply from device tree
[    1.311305] usbmisc_imx 30b20200.usbmisc: Looking up vbus-wakeup-supply property in node /soc/aips-bus@30800000/usbmisc@30b20200 failed
[    1.311316] 30b20200.usbmisc supply vbus-wakeup not found, using dummy regulator
[    1.323532] imx_usb 30b10000.usb: Can't register ci_hdrc platform device, err=-517
[    1.335463] imx_usb 30b20000.usb: Looking up vbus-supply from device tree
[    1.338305] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    1.345286] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    1.370368] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    1.378818] hub 1-0:1.0: USB hub found
[    1.384734] hub 1-0:1.0: 1 port detected
[    1.391681] mousedev: PS/2 mouse device common for all mice
[    1.402080] input: AD7879 Touchscreen as /devices/platform/soc/30800000.aips-bus/30a20000.i2c/i2c-0/0-002c/input/input0
[    1.420004] rtc-ds1307 3-0068: oscillator failed, set time!
[    1.427962] rtc-ds1307 3-0068: rtc core: registered m41t0 as rtc0
[    1.436874] snvs_rtc 30370000.snvs:snvs-rtc-lp: rtc core: registered 30370000.snvs:snvs- as rtc1
[    1.450172] i2c /dev entries driver
[    1.458573] imx2-wdt 30280000.wdog: timeout 60 sec (nowayout=0)
[    1.467012] sdhci: Secure Digital Host Controller Interface driver
[    1.475380] sdhci: Copyright(c) Pierre Ossman
[    1.481891] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.490544] /soc/aips-bus@30800000/usdhc@30b40000: voltage-ranges unspecified
[    1.499856] sdhci-esdhc-imx 30b40000.usdhc: Got CD GPIO
[    1.508797] sdhci-esdhc-imx 30b40000.usdhc: Looking up vmmc-supply from device tree
[    1.508917] sdhci-esdhc-imx 30b40000.usdhc: Looking up vqmmc-supply from device tree
[    1.508933] sdhci-esdhc-imx 30b40000.usdhc: Looking up vqmmc-supply property in node /soc/aips-bus@30800000/usdhc@30b40000 failed
[    1.508959] sdhci-esdhc-imx 30b40000.usdhc: No vqmmc regulator found
[    1.560499] mmc0: SDHCI controller on 30b40000.usdhc [30b40000.usdhc] using ADMA
[    1.585530] caam 30900000.caam: Entropy delay = 3200
[    1.592598] caam 30900000.caam: Instantiated RNG4 SH0
[    1.652011] caam 30900000.caam: Instantiated RNG4 SH1
[    1.658956] caam 30900000.caam: device ID = 0x0a16030000000000 (Era -524)
[    1.667666] caam 30900000.caam: job rings = 3, qi = 0
[    1.668698] mmc0: new high speed SDHC card at address 1234
[    1.669207] mmcblk0: mmc0:1234 SA04G 3.64 GiB 
[    1.682072]  mmcblk0: p1 p2
[    1.785417] caam algorithms registered in /proc/crypto
[    1.795879] caam_jr 30901000.jr0: registering rng-caam
[    1.803587] hidraw: raw HID events driver (C) Jiri Kosina
[    1.811312] usbcore: registered new interface driver usbhid
[    1.818703] usbhid: USB HID core driver
[    1.825491] imx7d_adc 30610000.adc: Looking up vref-supply from device tree
[    1.826354] imx7d_adc 30620000.adc: Looking up vref-supply from device tree
[    1.829033] coresight-tmc 30086000.etr: TMC initialized
[    1.836435] coresight-tmc 30084000.etf: TMC initialized
[    1.843620] coresight-tpiu 30087000.tpiu: TPIU initialized
[    1.851157] coresight-funnel 30083000.funnel: FUNNEL initialized
[    1.859052] coresight-funnel 30041000.funnel: FUNNEL initialized
[    1.866987] coresight-replicator replicator: REPLICATOR initialized
[    1.875495] coresight-etm3x 3007c000.etm: ETM initialized
[    1.882914] coresight-etm3x 3007d000.etm: ETM initialized
[    1.892881] sgtl5000 0-000a: Looking up VDDD-supply from device tree
[    1.893007] sgtl5000 0-000a: Looking up VDDA-supply from device tree
[    1.893099] sgtl5000 0-000a: Looking up VDDIO-supply from device tree
[    1.893164] sgtl5000 0-000a: Looking up VDDD-supply from device tree
[    1.894671] sgtl5000 0-000a: sgtl5000 revision 0x11
[    1.937496] imx-sgtl5000 sound: sgtl5000 <-> 308a0000.sai mapping ok
[    1.946710] Netfilter messages via NETLINK v0.30.
[    1.952984] nfnl_acct: registering with nfnetlink.
[    1.959273] nf_conntrack version 0.5.0 (7963 buckets, 31852 max)
[    1.967338] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@trash.net>
[    1.975936] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.983640] NET: Registered protocol family 10
[    1.990838] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    1.997881] NET: Registered protocol family 17
[    2.004018] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    2.020031] Bridge firewalling registered
[    2.025833] 8021q: 802.1Q VLAN Support v1.8
[    2.031787] Key type dns_resolver registered
[    2.038217] cpu cpu0: Looking up arm-supply from device tree
[    2.044986] Registering SWP/SWPB emulation handler
[    2.052475] registered taskstats version 1
[    2.061072] imx_usb 30b10000.usb: Looking up vbus-supply from device tree
[    2.064584] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    2.070948] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2
[    2.090439] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    2.098041] hub 2-0:1.0: USB hub found
[    2.103261] hub 2-0:1.0: 1 port detected
[    2.110357] ubi0: default fastmap pool size: 200
[    2.116363] ubi0: default fastmap WL pool size: 100
[    2.122645] ubi0: attaching mtd4
[    2.218529] ubi0: attached by fastmap
[    2.223922] ubi0: fastmap pool size: 200
[    2.229449] ubi0: fastmap WL pool size: 100
[    2.243195] ubi0: attached mtd4 (name "ubi", size 508 MiB)
[    2.249983] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.258186] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.266283] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.274580] ubi0: good PEBs: 4060, bad PEBs: 4, corrupted PEBs: 0
[    2.281998] ubi0: user volume: 4, internal volumes: 1, max. volumes count: 128
[    2.291819] ubi0: max/mean erase counter: 10/3, WL threshold: 4096, image sequence number: 0
[    2.302885] ubi0: available PEBs: 0, total reserved PEBs: 4060, PEBs reserved for bad PEB handling: 76
[    2.314998] ubi0: background thread "ubi_bgt0d" started, PID 143
[    2.315763] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[    2.332270] rtc-ds1307 3-0068: hctosys: unable to read the hardware clock
[    2.354656] clk: Not disabling unused clocks
[    2.360570] ALSA device list:
[    2.365016]   #0: imx7-colibri-sgtl5000
[    2.394004] UBIFS (ubi0:3): UBIFS: mounted UBI device 0, volume 3, name "rootfs", R/O mode
[    2.405400] UBIFS (ubi0:3): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    2.418619] UBIFS (ubi0:3): FS size: 493936640 bytes (471 MiB, 3890 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[    2.432838] UBIFS (ubi0:3): reserved for root: 0 bytes (0 KiB)
[    2.440534] UBIFS (ubi0:3): media format: w4/r0 (latest is w4/r0), UUID CC992764-19B8-484F-8E58-91CABEC18359, small LPT model
[    2.456406] VFS: Mounted root (ubifs filesystem) readonly on device 0:13.
[    2.465535] devtmpfs: mounted
[    2.470679] Freeing unused kernel memory: 312K
[    2.573081] random: nonblocking pool is initialized
[    2.584900] systemd[1]: System time before build time, advancing clock.
[    2.614653] systemd[1]: systemd 230 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS -ACL -XZ +LZ4 -SECCO)
[    2.639151] systemd[1]: Detected architecture arm.
[    2.671219] systemd[1]: Set hostname to <LCRTS>.
[    2.679456] systemd[1]: Initializing machine ID from random generator.
[    2.687932] systemd[1]: Installed transient /etc/machine-id file.
[    2.952411] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    2.982249] systemd[1]: Created slice User and Session Slice.
[    3.010537] systemd[1]: Reached target Swap.
[    3.031176] systemd[1]: Listening on udev Control Socket.
[    3.078646] systemd[1]: Reached target Remote File Systems.
[    3.100849] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    3.130559] systemd[1]: Reached target Paths.
[    3.150679] systemd[1]: Listening on udev Kernel Socket.
[    3.180887] systemd[1]: Created slice System Slice.
[    3.210584] systemd[1]: Reached target Slices.
[    3.230887] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    3.260819] systemd[1]: Created slice system-getty.slice.
[    3.290689] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    3.320745] systemd[1]: Listening on Journal Socket.
[    3.353359] systemd[1]: Starting Setup Virtual Console...
[    3.382209] systemd[1]: Starting File System Check on Root Device...
[    3.412326] systemd[1]: Mounting Debug File System...
[    3.433198] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    3.472502] systemd[1]: Mounting Temporary Directory...
[    3.501193] systemd[1]: Listening on Journal Socket (/dev/log).
[    3.532628] systemd[1]: Starting Journal Service...
[    3.560848] systemd[1]: Listening on Network Service Netlink Socket.
[    3.594019] systemd[1]: Starting Load Kernel Modules...
[    3.608834] systemd[1]: Mounted Debug File System.
[    3.630739] systemd[1]: Mounted Temporary Directory.
[    3.651812] systemd[1]: Started Setup Virtual Console.
[    3.681331] systemd[1]: Started File System Check on Root Device.
[    3.711623] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    3.741637] systemd[1]: Started Load Kernel Modules.
[    3.771041] systemd[1]: Started Journal Service.
[    3.882790] UBIFS (ubi0:3): start fixing up free space
[    9.672660] UBIFS (ubi0:3): free space fixup complete
[    9.685553] UBIFS (ubi0:3): background thread "ubifs_bgt0_3" started, PID 182
[    9.836975] systemd-journald[166]: Received request to flush runtime journal from PID 1
[   12.963992] using random self ethernet address
[   12.969911] using random host ethernet address
[   13.320686] usb0: HOST MAC 00:14:2d:ff:ff:fe
[   13.326929] usb0: MAC 00:14:2d:ff:ff:ff
[   13.561067] FAT-fs (mmcblk0p2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   13.610539] fec 30be0000.ethernet eth0: Freescale FEC PHY driver [Micrel KSZ8041] (mii_bus:phy_addr=30be0000.etherne:00, irq=-1)
[   13.644724] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   13.660676] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   13.725561] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready

Hi,
the update process is correct.
I did the same.
I tested on ViolaBoard with Colibri iMX7D V1.1B 512MB.
The only difference between your dmesg log and mine is, that i am not using

clk_ignore_unused

in the kernel command line, but this should not make any difference.

Are you sure that the update process went well? Have you any other changes in uboot or kernel?

Best regards, Jaski

Resetting the u-boot environment did the trick.

Hi, thanks for the feedback.