MISC-TN-030: Running Debian (bookworm) on RIALTO

From DAVE Developer's Wiki
Revision as of 23:07, 25 March 2024 by U0007 (talk | contribs) (Linux Kernel)

Jump to: navigation, search
Info Box


Warning-icon.png This technical note was validated against specific versions of hardware and software. It may not work with other versions. Warning-icon.png


History[edit | edit source]

Version Date Notes
1.0.0 March 2024 First public release

Introduction[edit | edit source]

In the last years, Debian-based distributions⁠—which are very widespread in desktop/server environments—have grown in popularity in the embedded world as well. Nowadays, armbian and Debian are two examples of available distro that can be used on Industrial appliances.

This Technical Note shows how to run such a distribution on RIALTO SBC, a product designed and manufactured by DAVE Embedded Systems to build compact Single Board Computer for industrial applications. Specifically, this example makes use of Debian 12 - bookworm.

The hardware platform[edit | edit source]

As stated previously, the RIALTO SBC is suited to implement low-cost edge computing devices.

From an architectural standpoint, RIALTO SBC is powered by NXP i.MX6UL system-on-chip (SoC).

RIALTO Industrial SBC

It is equipped with three network interfaces⁠ —two Ethernet ports and a WiFi⁠ — and provides several combinations of serial ports like RS232, RS485 and CAN. It also has two USB ports (host and OTG) and a microSD slot.

Linux Kernel[edit | edit source]

The Linux kernel used for booting RIALTO can be adapted starting from the DESK-MX6UL-L_4.0.1. This BSP can be easily ported starting from the BSP ready for the SBC Lynx platform with the related changes for the dual ethernet driver and the other peripherals available on the RTIN add-on.

For your sake of convenience, the preliminary binary artifacts can be downloaded from here.


Warning-icon.png This technical note uses a preliminary BSP porting and some peripherals may not work. Warning-icon.png

Installing the root file system[edit | edit source]

A ready-to-use root file system can be downloaded from RobertCNelson github repositories.

The minimal Debian 12 bookworm rootfs is ready to be installed in the SD card ext4 partition:

  • mount the second SD card partition /dev/mmcblk0p2 (from an SD card created using the WIC image)
  • delete all files in the partition
  • extract the Debian root file system in the SD card partition, then umount it
  • mount the first SD card partition /dev/mmcblk0p1
  • copy all the files available in the mirror in it and umount
  • insert the modified SD card in RIALTO

Full bootstrap process[edit | edit source]

To expand the box, please click on the Expand link on the right.

U-Boot 2016.03-rialto-1.1.2 (Jan 17 2019 - 15:09:27 +0100), Build: jenkins-Rialto_U-Boot-10

CPU:   Freescale i.MX6UL rev1.2 528 MHz (running at 396 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 45C
Reset cause: POR
Environment: MMC
I2C:   ready
DRAM:  512 MiB
Relocating to 9ff1c000, new gd at 9ef19eb8, sp at 9ef19e90
PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
NAND:  1024 MiB
MMC:   FSL_SDHC: 0
In:    serial
Out:   serial
Err:   serial
switch to partitions #0, OK
mmc0 is current device
SOM ConfigID#: 00000022
SOM UniqueID#: f21c47eb:2e34b1d4
CB ConfigID#: 00000090
CB UniqueID#: 00000000:00000000
Board: MX6UL Rialto
Net:   FEC0
Normal Boot
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
reading boot.scr
1527 bytes read in 14 ms (106.4 KiB/s)
Running bootscript from mmc ...
## Executing script at 80800000
bootscript genwith command "mkimage -A ARM -T script -C none -n RIALTO -d bootscript.txt boot.scr"
Booting Debian on RIALTO via mmcboot with imx6ul-lynx-som0022-cb0090.dtb as device tree and /dev/mmcblk0p2 rootwait rw partition
reading uImage
8025008 bytes read in 359 ms (21.3 MiB/s)
reading imx6ul-lynx-som0022-cb0090.dtb
33708 bytes read in 20 ms (1.6 MiB/s)
FDT: override 'som_uniqueid' with 'f21c47eb:2e34b1d4'
FDT: override 'cb_uniqueid' with '00000000:00000000'
## Booting kernel from Legacy Image at 80800000 ...
   Image Name:   Linux-5.15.71-desk-mx6ul-l-4.0.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    8024944 Bytes = 7.7 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 83000000
   Booting using the fdt blob at 0x83000000
FDT: fixup by running configid_fixupfdt..
FDT: override 'som_uniqueid' with 'f21c47eb:2e34b1d4'
FDT: override 'cb_uniqueid' with '00000000:00000000'
   Loading Kernel Image ... OK
   reserving fdt memory region: addr=83000000 size=9000
   Using Device Tree in place at 83000000, end 8300bfff
ft_system_setup for mx6

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.71-desk-mx6ul-l-4.0.0-00003-g284f37067f6d-dirty (dvdk@vagrant) (arm-poky-linux-gnueabi-gcc (GCC) 11.3.0, GNU ld (GNU Binutils) 2.38.20220708) #12 SMP PREEMPT Mon Mar 25 16:59:11 CET 2024
[    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: Freescale i.MX6 UltraLite CB0090 RIALTO
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x000000009fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x000000009fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000009fffffff]
[    0.000000] percpu: Embedded 12 pages/cpu s17036 r8192 d23924 u49152
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: root=/dev/mmcblk0p2 rootwait rw console=ttymxc0,115200 vmalloc=400M mtdparts=gpmi-nand:2M(nand-SPL),6M(nand-uboot),1M(nand-env1),1M(nand-env2),1M(nand-fdt),1M(nand-spare),8M(nand-kernel),4M(nand-splash),-(nand-ubi);spi0.0:64k(spi-SPL),960k(spi-uboot),256k(spi-env1),256k(spi-env2),512k(spi-dtb),8M(spi-kernel),4M(spi-splash),-(spi-free)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 501440K/524288K available (12288K kernel code, 1354K rwdata, 2340K rodata, 1024K init, 407K bss, 22848K reserved, 0K cma-reserved, 0K highmem)
[    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 event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    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.000003] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000055] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.003012] Console: colour dummy device 80x30
[    0.003128] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.003182] pid_max: default: 32768 minimum: 301
[    0.003579] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003642] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.005305] CPU: Testing write buffer coherency: ok
[    0.006028] CPU0: update cpu_capacity 1024
[    0.006077] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.008565] Setting up static identity map for 0x80100000 - 0x80100060
[    0.009001] rcu: Hierarchical SRCU implementation.
[    0.011726] smp: Bringing up secondary CPUs ...
[    0.011777] smp: Brought up 1 node, 1 CPU
[    0.011812] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.011847] CPU: All CPU(s) started in SVC mode.
[    0.012894] devtmpfs: initialized
[    0.031463] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.032085] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.032159] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.032415] pinctrl core: initialized pinctrl subsystem
[    0.036122] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.036883] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.039861] thermal_sys: Registered thermal governor 'step_wise'
[    0.039896] thermal_sys: Registered thermal governor 'user_space'
[    0.040873] cpuidle: using governor menu
[    0.041297] CPU identified as i.MX6UL, silicon rev 1.2
[    0.041339] Use WDOG1 as reset source
[    0.070388] vdd3p0: supplied by regulator-dummy
[    0.071664] cpu: supplied by regulator-dummy
[    0.073289] vddsoc: supplied by regulator-dummy
[    0.109720] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.109789] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.113134] imx6ul-pinctrl 20e0000.pinctrl: initialized IMX pinctrl driver
[    0.116389] imx mu driver is registered.
[    0.117327] imx rpmsg driver is registered.
[    0.201695] vgaarb: loaded
[    0.203461] SCSI subsystem initialized
[    0.204766] usbcore: registered new interface driver usbfs
[    0.204922] usbcore: registered new interface driver hub
[    0.205073] usbcore: registered new device driver usb
[    0.207769] i2c i2c-0: IMX I2C adapter registered
[    0.210710] i2c i2c-1: IMX I2C adapter registered
[    0.212636] mc: Linux media interface: v0.10
[    0.212770] videodev: Linux video capture interface: v2.00
[    0.213037] pps_core: LinuxPPS API ver. 1 registered
[    0.213073] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.213136] PTP clock support registered
[    0.215151] MIPI CSI2 driver module loaded
[    0.215299] Advanced Linux Sound Architecture Driver Initialized.
[    0.217168] Bluetooth: Core ver 2.22
[    0.217329] NET: Registered PF_BLUETOOTH protocol family
[    0.217362] Bluetooth: HCI device and connection manager initialized
[    0.217415] Bluetooth: HCI socket layer initialized
[    0.217454] Bluetooth: L2CAP socket layer initialized
[    0.217548] Bluetooth: SCO socket layer initialized
[    0.219055] clocksource: Switched to clocksource mxc_timer1
[    0.219454] VFS: Disk quotas dquot_6.6.0
[    0.219621] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.241815] NET: Registered PF_INET protocol family
[    0.242410] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.244558] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.244674] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.244736] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.244856] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.245029] TCP: Hash tables configured (established 4096 bind 4096)
[    0.245238] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.245330] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.245771] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.247489] RPC: Registered named UNIX socket transport module.
[    0.247551] RPC: Registered udp transport module.
[    0.247578] RPC: Registered tcp transport module.
[    0.247605] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.250106] PCI: CLS 0 bytes, default 64
[    0.251312] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.255095] Bus freq driver module loaded
[    0.257417] Initialise system trusted keyrings
[    0.258826] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.272296] NFS: Registering the id_resolver key type
[    0.272450] Key type id_resolver registered
[    0.272480] Key type id_legacy registered
[    0.272629] ntfs: driver 2.1.32 [Flags: R/W].
[    0.273475] fuse: init (API version 7.34)
[    0.515254] Key type asymmetric registered
[    0.515314] Asymmetric key parser 'x509' registered
[    0.515489] io scheduler mq-deadline registered
[    0.515526] io scheduler kyber registered
[    0.529589] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[    0.529664] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin
[    0.534061] mxs-dma 1804000.dma-apbh: initialized
[    0.539285] pfuze100-regulator 0-0008: Full layer: 1, Metal layer: 1
[    0.539834] pfuze100-regulator 0-0008: FAB: 0, FIN: 0
[    0.539881] pfuze100-regulator 0-0008: pfuze3000 found.
[    0.561490] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.566494] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 29, base_baud = 5000000) is a IMX
[    1.331936] printk: console [ttymxc0] enabled
[    1.338800] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 65, base_baud = 5000000) is a IMX
[    1.349692] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 66, base_baud = 5000000) is a IMX
[    1.360571] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 67, base_baud = 5000000) is a IMX
[    1.373058] imx sema4 driver is registered.
[    1.403260] brd: module loaded
[    1.423419] loop: module loaded
[    1.427115] at24 1-0050: supply vcc not found, using dummy regulator
[    1.435310] at24 1-0050: 4096 byte 24c32 EEPROM, writable, 32 bytes/write
[    1.444188] imx ahci driver is registered.
[    1.453045] nand: device found, Manufacturer ID: 0xef, Chip ID: 0xd3
[    1.459542] nand: Winbond W29N08GV
[    1.462971] nand: 1024 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.471807] Scanning device for bad blocks
[    2.312366] 9 cmdlinepart partitions found on MTD device gpmi-nand
[    2.318608] Creating 9 MTD partitions on "gpmi-nand":
[    2.323742] 0x000000000000-0x000000200000 : "nand-SPL"
[    2.332619] 0x000000200000-0x000000800000 : "nand-uboot"
[    2.341733] 0x000000800000-0x000000900000 : "nand-env1"
[    2.350754] 0x000000900000-0x000000a00000 : "nand-env2"
[    2.359782] 0x000000a00000-0x000000b00000 : "nand-fdt"
[    2.368562] 0x000000b00000-0x000000c00000 : "nand-spare"
[    2.377818] 0x000000c00000-0x000001400000 : "nand-kernel"
[    2.387148] 0x000001400000-0x000001800000 : "nand-splash"
[    2.396367] 0x000001800000-0x000040000000 : "nand-ubi"
[    2.415110] gpmi-nand 1806000.nand-controller: driver registered.
[    2.422895] SPI driver spidev has no spi_device_id for spidev
[    2.434092] CAN device driver interface
[    2.444400] pps pps0: new PPS source ptp0
[    2.449417] fec 20b4000.ethernet: Invalid MAC address: 00:00:00:00:00:00
[    2.456193] fec 20b4000.ethernet: Using random MAC address: 0a:2c:84:0f:4a:dd
[    2.539977] pps pps0: new PPS source ptp0
[    2.552079] fec 2188000.ethernet eth0: registered PHC device 0
[    2.560588] usbcore: registered new interface driver asix
[    2.566148] usbcore: registered new interface driver ax88179_178a
[    2.572669] usbcore: registered new interface driver cdc_ether
[    2.578633] usbcore: registered new interface driver cdc_eem
[    2.584615] usbcore: registered new interface driver net1080
[    2.590591] usbcore: registered new interface driver cdc_subset
[    2.596634] usbcore: registered new interface driver zaurus
[    2.602547] usbcore: registered new interface driver cdc_ncm
[    2.608333] usbcore: registered new interface driver cdc_mbim
[    2.614312] usbcore: registered new interface driver r8153_ecm
[    2.620231] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.626838] ehci-pci: EHCI PCI platform driver
[    2.631671] usbcore: registered new interface driver cdc_wdm
[    2.637485] usbcore: registered new interface driver usb-storage
[    2.652907] rtc-m41t80 1-0068: HT bit was set!
[    2.657411] rtc-m41t80 1-0068: Power Down at 2024-03-25T17:02:38
[    2.668668] rtc-m41t80 1-0068: registered as rtc0
[    2.675114] rtc-m41t80 1-0068: setting system clock to 2024-03-25T17:02:51 UTC (1711386171)
[    2.686902] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc1
[    2.693568] i2c_dev: i2c /dev entries driver
[    2.707187] watchdog: imx2+ watchdog: cannot register miscdev on minor=130 (err=-16).
[    2.715292] watchdog: imx2+ watchdog: a legacy watchdog module is probably present.
[    2.724299] Bluetooth: HCI UART driver ver 2.3
[    2.728796] Bluetooth: HCI UART protocol H4 registered
[    2.734062] Bluetooth: HCI UART protocol BCSP registered
[    2.739538] Bluetooth: HCI UART protocol LL registered
[    2.745699] sdhci: Secure Digital Host Controller Interface driver
[    2.751987] sdhci: Copyright(c) Pierre Ossman
[    2.756369] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.764641] sdhci-esdhc-imx 2190000.mmc: Got CD GPIO
[    2.778408] leds-pca955x 1-0060: leds-pca955x: Using pca9551 8-bit LED driver at slave address 0x60
[    2.801483] caam 2140000.crypto: Entropy delay = 3200
[    2.819105] caam 2140000.crypto: Instantiated RNG4 SH0
[    2.829408] mmc0: SDHCI controller on 2190000.mmc [2190000.mmc] using ADMA
[    2.836876] caam 2140000.crypto: Instantiated RNG4 SH1
[    2.842368] caam 2140000.crypto: device ID = 0x0a16030000000000 (Era 8)
[    2.849379] caam 2140000.crypto: job rings = 3, qi = 0
[    2.891352] caam algorithms registered in /proc/crypto
[    2.898684] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.909321] mmc1: SDHCI controller on 2194000.mmc [2194000.mmc] using ADMA
[    2.920011] mmc0: new high speed SDHC card at address 59b4
[    2.927831] caam 2140000.crypto: caam pkc algorithms registered in /proc/crypto
[    2.935457] sdhci-esdhc-imx 2194000.mmc: card claims to support voltages below defined range
[    2.945294] mmcblk0: mmc0:59b4 USDU1 15.0 GiB
[    2.952035] caam 2140000.crypto: rng crypto API alg registered prng-caam
[    2.962804] caam 2140000.crypto: registering rng-caam
[    2.963154]  mmcblk0: p1 p2 p3 p4
[    2.976917] Device caam-keygen registered
[    2.989296] random: crng init done
[    3.001987] caam-snvs 20cc000.caam-snvs: violation handlers armed - non-secure state
[    3.010233] mmc1: new SDIO card at address 0001
[    3.018733] usbcore: registered new interface driver usbhid
[    3.025319] wl12xx_driver wl12xx.1.auto: Direct firmware load for ti-connectivity/wl127x-nvs.bin failed with error -2
[    3.036221] usbhid: USB HID core driver
[    3.040238] wl12xx_driver wl12xx.1.auto: Falling back to sysfs fallback for: ti-connectivity/wl127x-nvs.bin
[    3.068040] NET: Registered PF_INET6 protocol family
[    3.075963] Segment Routing with IPv6
[    3.080150] In-situ OAM (IOAM) with IPv6
[    3.084350] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.092035] NET: Registered PF_PACKET protocol family
[    3.097168] can: controller area network core
[    3.101954] NET: Registered PF_CAN protocol family
[    3.106794] can: raw protocol
[    3.109956] can: broadcast manager protocol
[    3.114194] can: netlink gateway - max_hops=1
[    3.119316] Bluetooth: RFCOMM TTY layer initialized
[    3.124275] Bluetooth: RFCOMM socket layer initialized
[    3.129788] Bluetooth: RFCOMM ver 1.11
[    3.133635] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.138979] Bluetooth: BNEP filters: protocol multicast
[    3.144330] Bluetooth: BNEP socket layer initialized
[    3.149388] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.155357] Bluetooth: HIDP socket layer initialized
[    3.160506] 8021q: 802.1Q VLAN Support v1.8
[    3.164768] lib80211: common routines for IEEE802.11 drivers
[    3.171139] Key type dns_resolver registered
[    3.203388] Registering SWP/SWPB emulation handler
[    3.209236] Loading compiled-in X.509 certificates
[    3.263433] pps pps1: new PPS source ptp1
[    3.270213] fec 20b4000.ethernet eth1: registered PHC device 1
[    3.289165] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    3.294147] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    3.329347] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    3.335758] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[    3.344488] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.352077] usb usb1: Product: EHCI Host Controller
[    3.356981] usb usb1: Manufacturer: Linux 5.15.71-desk-mx6ul-l-4.0.0-00003-g284f37067f6d-dirty ehci_hcd
[    3.366449] usb usb1: SerialNumber: ci_hdrc.1
[    3.372184] hub 1-0:1.0: USB hub found
[    3.376077] hub 1-0:1.0: 1 port detected
[    3.383806] imx_thermal 20c8000.anatop:tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
[    3.397335] input: gpio-push-button as /devices/platform/gpio-push-button/input/input0
[    3.407534] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.420194] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.427031] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.436257] ALSA device list:
[    3.439482]   No soundcards found.
[    3.444133] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[    3.563604] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[    3.573944] VFS: Mounted root (ext4 filesystem) on device 179:3.
[    3.592490] devtmpfs: mounted
[    3.602486] Freeing unused kernel image (initmem) memory: 1024K
[    3.609885] Run /sbin/init as init process
[    4.424418] systemd[1]: systemd 252.12-1~deb12u1 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -BPF_FRAMEWORK -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
[    4.457641] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 12 (bookworm)!

[    4.505307] systemd[1]: Hostname set to <arm>.
[    6.855183] systemd[1]: Queued start job for default target graphical.target.
[    6.874185] systemd[1]: Created slice system-getty.slice - Slice /system/getty.
[  OK  ] Created slice system-getty.slice - Slice /system/getty.
[    6.912963] systemd[1]: Created slice system-modprobe.slice - Slice /system/modprobe.
[  OK  ] Created slice system-modpr…lice - Slice /system/modprobe.
[    6.953005] systemd[1]: Created slice system-serial\x2dgetty.slice - Slice /system/serial-getty.
[  OK  ] Created slice system-seria… - Slice /system/serial-getty.
[    6.991368] systemd[1]: Created slice user.slice - User and Session Slice.
[  OK  ] Created slice user.slice - User and Session Slice.
[    7.030426] systemd[1]: Started systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started systemd-ask-passwo…quests to Console Directory Watch.
[    7.070392] systemd[1]: Started systemd-ask-password-wall.path - Forward Password Requests to Wall Directory Watch.
[  OK  ] Started systemd-ask-passwo… Requests to Wall Directory Watch.
[    7.111656] systemd[1]: Set up automount proc-sys-fs-binfmt_misc.automount - Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount proc-sys-…rmats File System Automount Point.
[    7.161041] systemd[1]: Reached target cryptsetup.target - Local Encrypted Volumes.
[  OK  ] Reached target cryptsetup.…get - Local Encrypted Volumes.
[    7.200206] systemd[1]: Reached target integritysetup.target - Local Integrity Protected Volumes.
[  OK  ] Reached target integrityse…Local Integrity Protected Volumes.
[    7.240656] systemd[1]: Reached target paths.target - Path Units.
[  OK  ] Reached target paths.target - Path Units.
[    7.280156] systemd[1]: Reached target remote-fs.target - Remote File Systems.
[  OK  ] Reached target remote-fs.target - Remote File Systems.
[    7.319889] systemd[1]: Reached target slices.target - Slice Units.
[  OK  ] Reached target slices.target - Slice Units.
[    7.360167] systemd[1]: Reached target swap.target - Swaps.
[  OK  ] Reached target swap.target - Swaps.
[    7.400287] systemd[1]: Reached target veritysetup.target - Local Verity Protected Volumes.
[  OK  ] Reached target veritysetup… - Local Verity Protected Volumes.
[    7.441163] systemd[1]: Listening on systemd-initctl.socket - initctl Compatibility Named Pipe.
[  OK  ] Listening on systemd-initc… initctl Compatibility Named Pipe.
[    7.528333] systemd[1]: systemd-journald-audit.socket - Journal Audit Socket was skipped because of an unmet condition check (ConditionSecurity=audit).
[    7.544487] systemd[1]: Listening on systemd-journald-dev-log.socket - Journal Socket (/dev/log).
[  OK  ] Listening on systemd-journ…t - Journal Socket (/dev/log).
[    7.591494] systemd[1]: Listening on systemd-journald.socket - Journal Socket.
[  OK  ] Listening on systemd-journald.socket - Journal Socket.
[    7.638800] systemd[1]: Listening on systemd-udevd-control.socket - udev Control Socket.
[  OK  ] Listening on systemd-udevd….socket - udev Control Socket.
[    7.682434] systemd[1]: Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
[  OK  ] Listening on systemd-udevd…l.socket - udev Kernel Socket.
[    7.721405] systemd[1]: dev-hugepages.mount - Huge Pages File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/mm/hugepages).
[    7.738121] systemd[1]: dev-mqueue.mount - POSIX Message Queue File System was skipped because of an unmet condition check (ConditionPathExists=/proc/sys/fs/mqueue).
[    7.762974] systemd[1]: Mounting sys-kernel-debug.mount - Kernel Debug File System...
         Mounting sys-kernel-debug.… - Kernel Debug File System...
[    7.810672] systemd[1]: sys-kernel-tracing.mount - Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
[    7.855745] systemd[1]: Starting fake-hwclock.service - Restore / save the current clock...
         Starting fake-hwclock.serv…estore / save the current clock...
[    7.910617] systemd[1]: kmod-static-nodes.service - Create List of Static Device Nodes was skipped because of an unmet condition check (ConditionFileNotEmpty=/lib/modules/5.15.71-desk-mx6ul-l-4.0.0-00003-g284f37067f6d-dirty/modules.devname).
[    7.959514] systemd[1]: Starting modprobe@configfs.service - Load Kernel Module configfs...
         Starting modprobe@configfs…m - Load Kernel Module configfs...
[    8.012505] systemd[1]: Starting modprobe@dm_mod.service - Load Kernel Module dm_mod...
         Starting modprobe@dm_mod.s…[0m - Load Kernel Module dm_mod...
[    8.088247] systemd[1]: Starting modprobe@drm.service - Load Kernel Module drm...
         Starting modprobe@drm.service - Load Kernel Module drm...
[    8.148391] systemd[1]: Starting modprobe@efi_pstore.service - Load Kernel Module efi_pstore...
         Starting modprobe@efi_psto…- Load Kernel Module efi_pstore...
[    8.208350] systemd[1]: Starting modprobe@fuse.service - Load Kernel Module fuse...
         Starting modprobe@fuse.ser…e - Load Kernel Module fuse...
[    8.268406] systemd[1]: Starting modprobe@loop.service - Load Kernel Module loop...
         Starting modprobe@loop.ser…e - Load Kernel Module loop...
[    8.323370] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    8.336674] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    8.351133] systemd[1]: Starting systemd-journald.service - Journal Service...
         Starting systemd-journald.service - Journal Service...
[    8.403727] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
         Starting systemd-modules-l…rvice - Load Kernel Modules...
[    8.477910] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
         Starting systemd-remount-f…nt Root and Kernel File Systems...
[    8.588469] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
         Starting systemd-udev-trig…[0m - Coldplug All udev Devices...
[    8.755348] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[  OK  ] Mounted sys-kernel-debug.m…nt - Kernel Debug File System.
[    8.812415] systemd[1]: Finished fake-hwclock.service - Restore / save the current clock.
[  OK  ] Finished fake-hwclock.serv… Restore / save the current clock.
[    8.935158] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[    8.961202] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
[  OK  ] Finished modprobe@configfs…[0m - Load Kernel Module configfs.
[    9.023060] systemd[1]: modprobe@dm_mod.service: Deactivated successfully.
[    9.059730] systemd[1]: Finished modprobe@dm_mod.service - Load Kernel Module dm_mod.
[  OK  ] Finished modprobe@dm_mod.s…e - Load Kernel Module dm_mod.
[    9.093189] systemd[1]: modprobe@drm.service: Deactivated successfully.
[    9.121556] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
[  OK  ] Finished modprobe@drm.service - Load Kernel Module drm.
[    9.183159] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[    9.219873] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[  OK  ] Finished modprobe@efi_psto…m - Load Kernel Module efi_pstore.
[    9.253175] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[    9.291747] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse.
[  OK  ] Finished modprobe@fuse.service - Load Kernel Module fuse.
[    9.343182] systemd[1]: modprobe@loop.service: Deactivated successfully.
[    9.379439] systemd[1]: Finished modprobe@loop.service - Load Kernel Module loop.
[  OK  ] Finished modprobe@loop.service - Load Kernel Module loop.
[    9.412888] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules.
[  OK  ] Finished systemd-modules-l…service - Load Kernel Modules.
[    9.472885] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems.
[  OK  ] Finished systemd-remount-f…ount Root and Kernel File Systems.
[    9.579555] systemd[1]: Mounting sys-fs-fuse-connections.mount - FUSE Control File System...
         Mounting sys-fs-fuse-conne… - FUSE Control File System...
[    9.633296] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System...
         Mounting sys-kernel-config…ernel Configuration File System...
[    9.709986] systemd[1]: systemd-firstboot.service - First Boot Wizard was skipped because of an unmet condition check (ConditionFirstBoot=yes).
[    9.750385] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[    9.800883] systemd[1]: Starting systemd-random-seed.service - Load/Save Random Seed...
         Starting systemd-random-se…ice - Load/Save Random Seed...
[    9.860137] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because no trigger condition checks were met.
[    9.923804] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables...
         Starting systemd-sysctl.se…ce - Apply Kernel Variables...
[   10.007734] systemd[1]: Starting systemd-sysusers.service - Create System Users...
         Starting systemd-sysusers.…rvice - Create System Users...
[   10.212638] systemd[1]: Started systemd-journald.service - Journal Service.
[  OK  ] Started systemd-journald.service - Journal Service.
[  OK  ] Mounted sys-fs-fuse-connec…nt - FUSE Control File System.
[  OK  ] Mounted sys-kernel-config.… Kernel Configuration File System.
[  OK  ] Finished systemd-random-se…rvice - Load/Save Random Seed.
[  OK  ] Finished systemd-sysctl.service - Apply Kernel Variables.
         Starting systemd-journal-f…h Journal to Persistent Storage...
[  OK  ] Finished systemd-sysusers.service - Create System Users.
         Starting systemd-tmpfiles-…ate Static Device Nodes in /dev...
[   10.732489] systemd-journald[188]: Received client request to flush runtime journal.
[  OK  ] Finished systemd-tmpfiles-…reate Static Device Nodes in /dev.
[  OK  ] Reached target local-fs-pr…reparation for Local File Systems.
[  OK  ] Reached target local-fs.target - Local File Systems.
         Starting systemd-binfmt.se…et Up Additional Binary Formats...
         Starting systemd-udevd.ser…ger for Device Events and Files...
[  OK  ] Finished systemd-journal-f…ush Journal to Persistent Storage.
         Starting systemd-tmpfiles-… Volatile Files and Directories...
         Mounting proc-sys-fs-binfm…utable File Formats File System...
[FAILED] Failed to mount proc-sys-f…ecutable File Formats File System.
See 'systemctl status proc-sys-fs-binfmt_misc.mount' for details.
         Mounting proc-sys-fs-binfm…utable File Formats File System...
[FAILED] Failed to mount proc-sys-f…ecutable File Formats File System.
See 'systemctl status proc-sys-fs-binfmt_misc.mount' for details.
         Mounting proc-sys-fs-binfm…utable File Formats File System...
[  OK  ] Finished systemd-tmpfiles-…te Volatile Files and Directories.
         Starting systemd-timesyncd… - Network Time Synchronization...
         Starting systemd-update-ut…rd System Boot/Shutdown in UTMP...
[FAILED] Failed to mount proc-sys-f…ecutable File Formats File System.
See 'systemctl status proc-sys-fs-binfmt_misc.mount' for details.
[FAILED] Failed to start systemd-bi… Set Up Additional Binary Formats.
See 'systemctl status systemd-binfmt.service' for details.
[  OK  ] Finished systemd-update-ut…cord System Boot/Shutdown in UTMP.
[  OK  ] Started systemd-udevd.serv…nager for Device Events and Files.
[  OK  ] Finished systemd-udev-trig…e - Coldplug All udev Devices.
[   14.370081] mtdblock: MTD device 'nand-SPL' is NAND, please consider using UBI block devices instead.
[   14.404768] mtdblock: MTD device 'nand-uboot' is NAND, please consider using UBI block devices instead.
[   14.420299] mtdblock: MTD device 'nand-env1' is NAND, please consider using UBI block devices instead.
[   14.430776] mtdblock: MTD device 'nand-env2' is NAND, please consider using UBI block devices instead.
[   14.441301] mtdblock: MTD device 'nand-fdt' is NAND, please consider using UBI block devices instead.
[   14.451785] mtdblock: MTD device 'nand-spare' is NAND, please consider using UBI block devices instead.
[   14.462449] mtdblock: MTD device 'nand-kernel' is NAND, please consider using UBI block devices instead.
[   14.473093] mtdblock: MTD device 'nand-splash' is NAND, please consider using UBI block devices instead.
[   14.483829] mtdblock: MTD device 'nand-ubi' is NAND, please consider using UBI block devices instead.
         Starting ifupdown-pre.serv…ynchronize boot up for ifupdown...
[  OK  ] Finished ifupdown-pre.serv… synchronize boot up for ifupdown.
[   15.906497] fec 2188000.ethernet end0: renamed from eth0
[   16.066222] fec 20b4000.ethernet end1: renamed from eth1
[  OK  ] Started systemd-timesyncd.…0m - Network Time Synchronization.
[   20.401158] cfg80211: failed to load regulatory.db
[ ***  ] Job dev-ttymxc0.device/start running (14s / 1min 30s)
[   22.340430] imx-sdma 20ec000.sdma: firmware found.
[  *** ] Job dev-ttymxc0.device/start running (16s / 1min 30s)
[  OK  ] Found device dev-ttymxc0.device - /dev/ttymxc0.
[  OK  ] Reached target sysinit.target - System Initialization.
[  OK  ] Started systemd-tmpfiles-c… Cleanup of Temporary Directories.
[  OK  ] Reached target time-set.target - System Time Set.
[  OK  ] Started dpkg-db-backup.tim… Daily dpkg database backup timer.
[  OK  ] Started e2scrub_all.timer…etadata Check for All Filesystems.
[  OK  ] Started fstrim.timer - Discard unused blocks once a week.
[  OK  ] Started logrotate.timer - Daily rotation of log files.
[  OK  ] Reached target timers.target - Timer Units.
[  OK  ] Reached target usb-gadget.…m - Hardware activated USB gadget.
[  OK  ] Listening on avahi-daemon.…NS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on dbus.socket…- D-Bus System Message Bus Socket.
[  OK  ] Reached target sockets.target - Socket Units.
[  OK  ] Listening on systemd-rfkil…l Switch Status /dev/rfkill Watch.
         Starting networking.service - Raise network interfaces...
[  OK  ] Reached target basic.target - Basic System.
         Starting avahi-daemon.serv…e - Avahi mDNS/DNS-SD Stack...
[  OK  ] Started cron.service -…kground program processing daemon.
         Starting dbus.service - D-Bus System Message Bus...
         Starting e2scrub_reap.serv…e ext4 Metadata Check Snapshots...
         Starting polkit.service - Authorization Manager...
         Starting regenerate_ssh_ho… - Regenerate SSH host keys...
         Starting systemd-logind.se…ice - User Login Management...
[  OK  ] Started dbus.service - D-Bus System Message Bus.
[  OK  ] Started avahi-daemon.service - Avahi mDNS/DNS-SD Stack.
[  OK  ] Started polkit.service - Authorization Manager.
         Starting ModemManager.service - Modem Manager...
         Starting NetworkManager.service - Network Manager...
         Starting wpa_supplicant.service - WPA supplicant...
[  OK  ] Finished networking.service - Raise network interfaces.
[  OK  ] Started wpa_supplicant.service - WPA supplicant.
[  OK  ] Started systemd-logind.service - User Login Management.
[  OK  ] Started NetworkManager.service - Network Manager.
[  OK  ] Reached target network.target - Network.
         Starting NetworkManager-wa…m - Network Manager Wait Online...
         Starting systemd-user-sess…vice - Permit User Sessions...
         Starting systemd-hostnamed.service - Hostname Service...
[  OK  ] Finished systemd-user-sess…ervice - Permit User Sessions.
[  OK  ] Started getty@tty1.service - Getty on tty1.
[  OK  ] Started serial-getty@ttymx…ice - Serial Getty on ttymxc0.
[  OK  ] Reached target getty.target - Login Prompts.
[  OK  ] Started ModemManager.service - Modem Manager.
[  OK  ] Started systemd-hostnamed.service - Hostname Service.
         Starting NetworkManager-di…nager Script Dispatcher Service...
[  OK  ] Started NetworkManager-dis…Manager Script Dispatcher Service.
[   32.701830] Micrel KSZ8081 or KSZ8091 2188000.ethernet-1:03: attached PHY driver (mii_bus:phy_addr=2188000.ethernet-1:03, irq=POLL)
[   33.071866] Micrel KSZ8081 or KSZ8091 2188000.ethernet-1:00: attached PHY driver (mii_bus:phy_addr=2188000.ethernet-1:00, irq=POLL)
[   33.769272] vref-3v3: disabling

Debian GNU/Linux 12 arm ttymxc0

default username:password is [debian:temppwd]

arm login: [   35.849577] fec 2188000.ethernet end0: Link is Up - 100Mbps/Full - flow control off
[   35.857345] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
[   36.249595] fec 20b4000.ethernet end1: Link is Up - 100Mbps/Full - flow control off
[   36.257357] IPv6: ADDRCONF(NETDEV_CHANGE): end1: link becomes ready

arm login: 

Interfaces[edit | edit source]

  • ethernet

As can be seen from the dmesg, the two ethernet interfaces have been brought up:

[   35.849577] fec 2188000.ethernet end0: Link is Up - 100Mbps/Full - flow control off
[   35.857345] IPv6: ADDRCONF(NETDEV_CHANGE): end0: link becomes ready
[   36.249595] fec 20b4000.ethernet end1: Link is Up - 100Mbps/Full - flow control off
[   36.257357] IPv6: ADDRCONF(NETDEV_CHANGE): end1: link becomes ready

and once the network interfaces has been properly configured, the apt-get can be used for installing the deb packages:

debian@arm:~$ sudo apt-get update
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:4 http://repos.rcn-ee.com/debian bookworm InRelease [3068 B]
Get:5 http://security.debian.org/debian-security bookworm-security/main armhf Packages [142 kB]
Get:6 http://deb.debian.org/debian bookworm/non-free armhf Packages [55.9 kB]
Get:7 http://deb.debian.org/debian bookworm/non-free-firmware armhf Packages [5480 B]
Get:8 http://deb.debian.org/debian bookworm/main armhf Packages [8498 kB]
Get:9 http://deb.debian.org/debian bookworm/contrib armhf Packages [42.9 kB]
Get:10 http://deb.debian.org/debian bookworm-updates/main armhf Packages [12.1 kB]
Get:11 http://deb.debian.org/debian bookworm-updates/non-free armhf Packages [492 B]
Get:12 http://repos.rcn-ee.com/debian bookworm/main armhf Packages [512 kB]
Fetched 9526 kB in 23s (410 kB/s)
Reading package lists... Done
debian@arm:~$

Also the other RIALTO peripherals are available in the SBC:

  • tty
[    0.566494] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 29, base_baud = 5000000) is a IMX
[    1.331936] printk: console [ttymxc0] enabled
[    1.338800] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 65, base_baud = 5000000) is a IMX
[    1.349692] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 66, base_baud = 5000000) is a IMX
[    1.360571] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 67, base_baud = 5000000) is a IMX
  • CAN
[    3.097168] can: controller area network core
[    3.101954] NET: Registered PF_CAN protocol family
[    3.106794] can: raw protocol
[    3.109956] can: broadcast manager protocol
[    3.114194] can: netlink gateway - max_hops=1
  • rtc
[    2.668668] rtc-m41t80 1-0068: registered as rtc0
  • leds and push-button
[    2.778408] leds-pca955x 1-0060: leds-pca955x: Using pca9551 8-bit LED driver at slave address 0x60
[    3.397335] input: gpio-push-button as /devices/platform/gpio-push-button/input/input0