This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM62A7-Q1: SElinux support on SDK9.2

Part Number: AM62A7-Q1


Tool/software:

Hi Expert, 

as aligned via email, post customer question to e2e, so that customer can discuss directly with BU expert.

Currently, Yocto compilation supports Linux and related strategies, The OS has been ported and the system functions are normal in the following permissive mod

And then change /etc/selinux/config  selinux mode to enforcing mode as below:

  Reboot will report some error.

Pls help check this, thanks a lot for your support.

BR,

Biao

  • Hi Expert, 

    The following is the startup log error message when using SDK9.2 and selinux mode is  enforcing mode.

    And why do I get the following error when I switch to Enforce mode? Do you have any solution for this?

    SYSFW Firmware Version 9.2.7--v09.02.07 (Kool Koala)
    SYSFW Firmware revision 0x9
    SYSFW ABI revision 3.1
    
    flash driver rd test: ffffffff !!!
    flash BOOT FROM A AREA
    [BOOTLOADER_PROFILE] Boot Media       : FLASH
    [BOOTLOADER_PROFILE] Boot Media Clock : 200.000 MHz
    [BOOTLOADER_PROFILE] Boot Image Size  : 384 KB
    [BOOTLOADER_PROFILE] Cores present    :
    mcu-r5f0-0
    r5f0-0
    [BOOTLOADER PROFILE] System_init                      :      24008us
    [BOOTLOADER PROFILE] Board_init                       :          0us
    [BOOTLOADER PROFILE] Drivers_open                     :        264us
    [BOOTLOADER PROFILE] Board_driversOpen                :       8729us
    [BOOTLOADER PROFILE] Sciclient Get Version            :      10184us
    [BOOTLOADER PROFILE] App_waitForMcuPbist              :       5497us
    [BOOTLOADER PROFILE] App_loadImages_A                 :       4640us
    [BOOTLOADER PROFILE] App_loadSelfcoreImage_A          :       3663us
    [BOOTLOADER_PROFILE] SBL Total Time Taken             :      56988us
    
    Image loading done, switching to application ...
    Starting MCU-r5f and 2nd stage bootloader
    
    SYSFW Firmware Version 9.2.7--v09.02.07 (Kool Koala)
    SYSFW Firmware revision 0x9
    SYSFW ABI revision 3.1
    
    [BOOTLOADER_PROFILE] Boot Media       : FLASH
    [BOOTLOADER_PROFILE] Boot Media Clock : 200.000 MHz
    [BOOTLOADER_PROFILE] Boot Image Size  : 1294 KB
    [BOOTLOADER_PROFILE] Cores present    :
    hsm-m4f0-0
    r5f0-0
    a530-0
    [BOOTLOADER PROFILE] System_init                      :       1846us
    [BOOTLOADER PROFILE] Board_init                       :          0us
    [BOOTLOADER PROFILE] Drivers_open                     :        311us
    [BOOTLOADER PROFILE] Board_driversOpen                :        100us
    [BOOTLOADER PROFILE] Sciclient Get Version            :      10180us
    [BOOTLOADER PROFILE] App_loadImages                   :       2560us
    [BOOTLOADER PROFILE] App_loadSelfcoreImage            :       6836us
    [BOOTLOADER PROFILE] App_loadLinuxImages              :       9587us
    [BOOTLOADER_PROFILE] SBL Total Time Taken             :      31423us
    
    Image loading done, switching to application ...
    Starting linux and RTOS/Baremetal applications
    NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
    NOTICE:  BL31: Built : 16:09:05, Feb  9 2024
    
    U-Boot SPL 2023.04 (Nov 29 2024 - 08:39:10 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    am62a_init: board_init_f done
    am62a_init: spl_boot_device: devstat = 0x273 bootmedia = 0x3 bootindex = 0
    bootdev : 3 support boot device : 10
    bootdev : 3 support boot device : 9
    bootdev : 3 support boot device : 8
    bootdev : 3 support boot device : 31
    bootdev : 3 support boot device : 3
    Trying to boot from MMC1
    mmc_dev : 0
    spl_mmc_boot_mode : 14, boot_device :3
    boot_mode : 3
    am62a_init: spl_boot_device: devstat = 0x273 bootmedia = 0x3 bootindex = 0
    Authentication passed
    am62a_init: spl_boot_device: devstat = 0x273 bootmedia = 0x3 bootindex = 0
    Authentication passed
    
    
    U-Boot 2023.04 (Jan 21 2025 - 11:26:50 +0000)
    
    SoC:   AM62AX SR1.0 HS-FS
    Model: Texas Instruments AM62A7 SK
    DRAM:  1 GiB
    Core:  58 devices, 28 uclasses, devicetree: separate
    MMC:   mmc@fa10000: 0, mmc@fa00000: 1
    Loading Environment from MMC... OK
    In:    serial@2800000
    Out:   serial@2800000
    Err:   serial@2800000
    Net:   Could not get PHY for ethernet@8000000port@1: addr 0
    am65_cpsw_nuss_port ethernet@8000000port@1: phy_connect() failed
    No ethernet found.
    
    Hit any key to stop autoboot:  0
    Looking for mmc device ..
    Found (0x00000000bdebafa0)
    successful_boot : 1 tries_remaining : 0
    boot from MMC device=0 part (boot_a, dtbo_a, rootfs_a)
    new bootargs : console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk0p6 rw rootfstype=ext4 rootwait selinux=1 setenforce=1
    Saving Environment to MMC... Writing to MMC(0)... OK
    dtbo_a: block start = 0x40c00, all size : 2048, block size = 512
    boot_a: block start = 0xc00, all size : 131072, block size = 512
    boot addr : 0x82200000 dtbo addr : 0x82000000
    ## Flattened Device Tree blob at 82000000
       Booting using the fdt blob at 0x82000000
    Working FDT set to 82000000
       Loading Device Tree to 000000008ffee000, end 000000008ffff74e ... OK
    Working FDT set to 8ffee000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [    0.000000] Linux version 6.1.80 (root@162f4fe436f7) (aarch64-oe-linux-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Tue Jan 21 11:31:11 UTC 2025
    [    0.000000] Machine model: Texas Instruments AM62A7 SK
    [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [    0.000000] printk: bootconsole [ns16550a0] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] Reserved memory: created CMA memory pool at 0x00000000bd000000, size 48 MiB
    [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009b900000, size 15 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9b900000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c800000, size 1 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x000000009c900000, size 30 MiB
    [    0.000000] OF: reserved mem: initialized node r5f-dma-memory@9c900000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000a1000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node edgeai-dma-memory@a1000000, compatible id shared-dma-pool
    [    0.000000] OF: reserved mem: initialized node edgeai_shared-memories, compatible id dma-heap-carveout
    [    0.000000] OF: reserved mem: initialized node edgeai_license-memories@aa000000, compatible id dma-heap-carveout
    [    0.000000] OF: reserved mem: initialized node edgeai_update-memories@aa100000, compatible id dma-heap-carveout
    [    0.000000] OF: reserved mem: initialized node edgeai_canLog-memories@aa300000, compatible id dma-heap-carveout
    [    0.000000] OF: reserved mem: initialized node edgeai_buffuer1-memories@aa800000, compatible id dma-heap-carveout
    [    0.000000] OF: reserved mem: initialized node edgeai_buffuer2-memories@aa900000, compatible id dma-heap-carveout
    [    0.000000] Reserved memory: created DMA memory pool at 0x00000000ae000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node edgeai-core-heap-memory@ae000000, compatible id shared-dma-pool
    [    0.000000] Zone ranges:
    [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000bfffffff]
    [    0.000000]   DMA32    empty
    [    0.000000]   Normal   empty
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000080000000-0x000000009b7fffff]
    [    0.000000]   node   0: [mem 0x000000009b800000-0x000000009e6fffff]
    [    0.000000]   node   0: [mem 0x000000009e700000-0x000000009e77ffff]
    [    0.000000]   node   0: [mem 0x000000009e780000-0x00000000a2ffffff]
    [    0.000000]   node   0: [mem 0x00000000a3000000-0x00000000adffffff]
    [    0.000000]   node   0: [mem 0x00000000ae000000-0x00000000afffffff]
    [    0.000000]   node   0: [mem 0x00000000b0000000-0x00000000bfffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bfffffff]
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: PSCIv1.1 detected in firmware.
    [    0.000000] psci: Using standard PSCI v0.2 function IDs
    [    0.000000] psci: Trusted OS migration not required
    [    0.000000] psci: SMC Calling Convention v1.4
    [    0.000000] percpu: Embedded 20 pages/cpu s41064 r8192 d32664 u81920
    [    0.000000] Detected VIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: ARM erratum 845719
    [    0.000000] alternatives: applying boot alternatives
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 258048
    [    0.000000] Kernel command line: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk0p6 rw rootfstype=ext4 rootwait selinux=1 setenforce=1
    [    0.000000] Unknown kernel command line parameters "setenforce=1", will be passed to user space.
    [    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] Memory: 693844K/1048576K available (11648K kernel code, 1258K rwdata, 3808K rodata, 2048K init, 454K bss, 305580K reserved, 49152K cma-reserved)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, 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=256 to nr_cpu_ids=4.
    [    0.000000]  Trampoline variant of Tasks RCU enabled.
    [    0.000000]  Tracing variant of Tasks RCU enabled.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 256 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] Root IRQ handler: gic_handle_irq
    [    0.000000] GICv3: GICv3 features: 16 PPIs
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000001880000
    [    0.000000] ITS [mem 0x01820000-0x0182ffff]
    [    0.000000] GIC: enabling workaround for ITS: Socionext Synquacer pre-ITS
    [    0.000000] ITS@0x0000000001820000: Devices Table too large, reduce ids 20->19
    [    0.000000] ITS@0x0000000001820000: allocated 524288 Devices @80800000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000080040000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000080050000
    [    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
    [    0.000000] arch_timer: cp15 timer(s) running at 200.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0x3ffffffffffffff max_cycles: 0x2e2049d3e8, max_idle_ns: 440795210634 ns
    [    0.000000] sched_clock: 58 bits at 200MHz, resolution 5ns, wraps every 4398046511102ns
    [    0.008504] Console: colour dummy device 80x25
    [    0.013088] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
    [    0.023769] pid_max: default: 32768 minimum: 301
    [    0.028532] LSM: Security Framework initializing
    [    0.033285] SELinux:  Initializing.
    [    0.036946] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
    [    0.044517] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
    [    0.054027] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.061458] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.067749] cblist_init_generic: Setting adjustable number of callback queues.
    [    0.075143] cblist_init_generic: Setting shift to 2 and lim to 1.
    [    0.081511] rcu: Hierarchical SRCU implementation.
    [    0.086417] rcu:     Max phase no-delay instances is 1000.
    [    0.091963] Platform MSI: msi-controller@1820000 domain created
    [    0.098216] PCI/MSI: /bus@f0000/interrupt-controller@1800000/msi-controller@1820000 domain created
    [    0.107612] EFI services will not be available.
    [    0.112485] smp: Bringing up secondary CPUs ...
    [    0.117701] Detected VIPT I-cache on CPU1
    [    0.117786] GICv3: CPU1: found redistributor 1 region 0:0x00000000018a0000
    [    0.117803] GICv3: CPU1: using allocated LPI pending table @0x0000000080060000
    [    0.117851] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
    [    0.118467] Detected VIPT I-cache on CPU2
    [    0.118533] GICv3: CPU2: found redistributor 2 region 0:0x00000000018c0000
    [    0.118547] GICv3: CPU2: using allocated LPI pending table @0x0000000080070000
    [    0.118578] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
    [    0.119130] Detected VIPT I-cache on CPU3
    [    0.119194] GICv3: CPU3: found redistributor 3 region 0:0x00000000018e0000
    [    0.119208] GICv3: CPU3: using allocated LPI pending table @0x0000000080080000
    [    0.119238] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
    [    0.119295] smp: Brought up 1 node, 4 CPUs
    [    0.199026] SMP: Total of 4 processors activated.
    [    0.203838] CPU features: detected: 32-bit EL0 Support
    [    0.209108] CPU features: detected: CRC32 instructions
    [    0.214414] CPU: All CPU(s) started at EL2
    [    0.218611] alternatives: applying system-wide alternatives
    [    0.225557] devtmpfs: initialized
    [    0.236381] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.246391] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
    [    0.255048] pinctrl core: initialized pinctrl subsystem
    [    0.260972] DMI not present or invalid.
    [    0.265466] NET: Registered PF_NETLINK/PF_ROUTE protocol family
    [    0.272469] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
    [    0.279872] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
    [    0.287870] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.296023] audit: initializing netlink subsys (disabled)
    [    0.301685] audit: type=2000 audit(0.188:1): state=initialized audit_enabled=0 res=1
    [    0.302110] thermal_sys: Registered thermal governor 'step_wise'
    [    0.309614] thermal_sys: Registered thermal governor 'power_allocator'
    [    0.315791] cpuidle: using governor menu
    [    0.326614] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.333632] ASID allocator initialised with 65536 entries
    [    0.350867] KASLR disabled due to lack of seed
    [    0.361652] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.368619] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
    [    0.375030] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.381969] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
    [    0.388378] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.395317] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
    [    0.401725] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.408664] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
    [    0.416339] k3-chipinfo 43000014.chipid: Family:AM62AX rev:SR1.0 JTAGID[0x0bb8d02f] Detected
    [    0.426644] iommu: Default domain type: Translated
    [    0.431656] iommu: DMA domain TLB invalidation policy: strict mode
    [    0.438321] SCSI subsystem initialized
    [    0.442457] usbcore: registered new interface driver usbfs
    [    0.448102] usbcore: registered new interface driver hub
    [    0.453556] usbcore: registered new device driver usb
    [    0.459111] pps_core: LinuxPPS API ver. 1 registered
    [    0.464190] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.473543] PTP clock support registered
    [    0.477678] EDAC MC: Ver: 3.0.0
    [    0.481665] omap-mailbox 29000000.mailbox: omap mailbox rev 0x66fca100
    [    0.488490] omap-mailbox 29010000.mailbox: omap mailbox rev 0x66fca100
    [    0.495294] omap-mailbox 29020000.mailbox: omap mailbox rev 0x66fca100
    [    0.502021] omap-mailbox 29030000.mailbox: no available mbox devices found
    [    0.509365] FPGA manager framework
    [    0.513745] clocksource: Switched to clocksource arch_sys_counter
    [    0.520206] VFS: Disk quotas dquot_6.6.0
    [    0.524253] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    0.537214] Carveout Heap: Exported 100 MiB at 0x00000000a3000000
    [    0.543571] Carveout Heap: Exported 1 MiB at 0x00000000aa000000
    [    0.549722] Carveout Heap: Exported 2 MiB at 0x00000000aa100000
    [    0.555879] Carveout Heap: Exported 5 MiB at 0x00000000aa300000
    [    0.562023] Carveout Heap: Exported 0 MiB at 0x00000000aa800000
    [    0.568167] Carveout Heap: Exported 0 MiB at 0x00000000aa900000
    [    0.574322] NET: Registered PF_INET protocol family
    [    0.579441] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
    [    0.587996] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
    [    0.596620] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
    [    0.604554] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
    [    0.612535] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    0.620124] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.626745] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    0.633543] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
    [    0.640913] NET: Registered PF_UNIX/PF_LOCAL protocol family
    [    0.647073] RPC: Registered named UNIX socket transport module.
    [    0.653145] RPC: Registered udp transport module.
    [    0.657954] RPC: Registered tcp transport module.
    [    0.662763] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.669352] NET: Registered PF_XDP protocol family
    [    0.674261] PCI: CLS 0 bytes, default 64
    [    0.678965] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
    [    0.688850] Initialise system trusted keyrings
    [    0.693607] workingset: timestamp_bits=46 max_order=18 bucket_order=0
    [    0.704704] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.711223] NFS: Registering the id_resolver key type
    [    0.716438] Key type id_resolver registered
    [    0.720715] Key type id_legacy registered
    [    0.724867] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    0.731723] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
    [    0.774116] Key type asymmetric registered
    [    0.778314] Asymmetric key parser 'x509' registered
    [    0.783350] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.791070] io scheduler mq-deadline registered
    [    0.795711] io scheduler kyber registered
    [    0.802835] pinctrl-single 4084000.pinctrl: 34 pins, size 136
    [    0.809351] pinctrl-single f4000.pinctrl: 151 pins, size 604
    [    0.821634] Serial: 8250/16550 driver, 12 ports, IRQ sharing enabled
    [    0.837171] loop: module loaded
    [    0.841578] megasas: 07.719.03.00-rc1
    [    0.848078] tun: Universal TUN/TAP device driver, 1.6
    [    0.853996] VFIO - User Level meta-driver version: 0.3
    [    0.859953] usbcore: registered new interface driver usb-storage
    [    0.866609] i2c_dev: i2c /dev entries driver
    [    0.872254] sdhci: Secure Digital Host Controller Interface driver
    [    0.878593] sdhci: Copyright(c) Pierre Ossman
    [    0.883248] sdhci-pltfm: SDHCI platform and OF driver helper
    [    0.889624] ledtrig-cpu: registered to indicate activity on CPUs
    [    0.895939] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    0.902867] usbcore: registered new interface driver usbhid
    [    0.908569] usbhid: USB HID core driver
    [    0.913301] optee: probing for conduit method.
    [    0.917896] optee: revision 4.1 (012cdca4)
    [    0.918180] optee: dynamic shared memory is enabled
    [    0.927699] optee: initialized driver
    [    0.932315] Initializing XFRM netlink socket
    [    0.936743] NET: Registered PF_PACKET protocol family
    [    0.941983] Key type dns_resolver registered
    [    0.946737] registered taskstats version 1
    [    0.950958] Loading compiled-in X.509 certificates
    [    0.963716] ti-sci 44043000.system-controller: ABI: 3.1 (firmware rev 0x0009 '9.2.7--v09.02.07 (Kool Koala)')
    [    1.009262] i2c 0-0048: Fixed dependency cycle(s) with /bus@f0000/i2c@20000000/pmic@48/regulators/buck5
    [    1.019373] omap_i2c 20000000.i2c: bus 0 rev0.12 at 400 kHz
    [    1.026229] omap_i2c 20010000.i2c: bus 1 rev0.12 at 100 kHz
    [    1.032721] omap_i2c 20020000.i2c: bus 2 rev0.12 at 400 kHz
    [    1.038642] ti-sci-intr 4210000.interrupt-controller: Interrupt Router 5 domain created
    [    1.046958] ti-sci-intr bus@f0000:interrupt-controller@a00000: Interrupt Router 3 domain created
    [    1.056148] ti-sci-inta 48000000.interrupt-controller: Interrupt Aggregator domain 28 created
    [    1.065132] ti-sci-inta 4e0a0000.interrupt-controller: Interrupt Aggregator domain 200 created
    [    1.075262] ti-udma 485c0100.dma-controller: Number of rings: 82
    [    1.083402] ti-udma 485c0100.dma-controller: Channels: 48 (bchan: 18, tchan: 12, rchan: 18)
    [    1.094258] ti-udma 485c0000.dma-controller: Number of rings: 150
    [    1.104073] ti-udma 485c0000.dma-controller: Channels: 35 (tchan: 20, rchan: 15)
    [    1.113475] ti-udma 4e230000.dma-controller: Number of rings: 6
    [    1.119971] ti-udma 4e230000.dma-controller: Channels: 6 (bchan: 0, tchan: 0, rchan: 6)
    [    1.129240] printk: console [ttyS2] disabled
    [    1.133676] 2800000.serial: ttyS2 at MMIO 0x2800000 (irq = 253, base_baud = 3000000) is a 8250
    [    1.142550] printk: console [ttyS2] enabled
    [    1.142550] printk: console [ttyS2] enabled
    [    1.151010] printk: bootconsole [ns16550a0] disabled
    [    1.151010] printk: bootconsole [ns16550a0] disabled
    [    1.163989] mmc0: CQHCI version 5.10
    [    1.164159] mmc1: CQHCI version 5.10
    [    1.208859] mmc0: SDHCI controller on fa10000.mmc [fa10000.mmc] using ADMA 64-bit
    [    1.281808] sdhci-am654 fa00000.mmc: Power on failed
    [    1.287399] mmc0: Command Queue Engine enabled
    [    1.291871] mmc0: new HS200 MMC card at address 0001
    [    1.297616] mmcblk0: mmc0:0001 8GUF4R 7.28 GiB
    [    1.304842]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18
    [    1.314531] mmcblk0boot0: mmc0:0001 8GUF4R 31.9 MiB
    [    1.319526] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
    [    1.327939] mmcblk0boot1: mmc0:0001 8GUF4R 31.9 MiB
    [    1.333693] mmcblk0rpmb: mmc0:0001 8GUF4R 4.00 MiB, chardev (240:0)
    [    1.470659] vddshv_sdio: Bringing 1800000uV into 3300000-3300000uV
    [    1.477948] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.486811] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.494146] debugfs: Directory 'pd:182' with parent 'pm_genpd' already present!
    [    1.517928] EXT4-fs (mmcblk0p6): warning: maximal mount count reached, running e2fsck is recommended
    [    1.527894] EXT4-fs (mmcblk0p6): recovery complete
    [    1.533073] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Quota mode: none.
    [    1.541650] VFS: Mounted root (ext4 filesystem) on device 179:6.
    [    1.547971] devtmpfs: mounted
    [    1.551582] Freeing unused kernel memory: 2048K
    [    1.556253] Run /sbin/init as init process
    [    1.664846] audit: type=1404 audit(1.472:2): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295 enabled=1 old-enabled=1 lsm=selinux res=1
    [    1.868882] SELinux:  policy capability network_peer_controls=1
    [    1.874894] SELinux:  policy capability open_perms=1
    [    1.879855] SELinux:  policy capability extended_socket_class=1
    [    1.885765] SELinux:  policy capability always_check_network=0
    [    1.891587] SELinux:  policy capability cgroup_seclabel=1
    [    1.896976] SELinux:  policy capability nnp_nosuid_transition=1
    [    1.902885] SELinux:  policy capability genfs_seclabel_symlinks=0
    [    1.908967] SELinux:  policy capability ioctl_skip_cloexec=0
    [    1.965846] audit: type=1403 audit(1.776:3): auid=4294967295 ses=4294967295 lsm=selinux res=1
    [    1.973276] systemd[1]: Successfully loaded SELinux policy in 309.305ms.
    [    2.053701] systemd[1]: System time before build time, advancing clock.
    [    2.200871] systemd[1]: Relabeled /dev, /dev/shm, /run, /sys/fs/cgroup in 107.920ms.
    [    2.233423] systemd[1]: systemd 255.4^ 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)
    [    2.265515] systemd[1]: Detected architecture arm64.
    
    Welcome to Arago 2023.10!
    
    [    2.282760] systemd[1]: Hostname set to <am62axx-evm>.
    [    2.414724] systemd-sysv-generator[151]: SysV service '/etc/init.d/telnetd' lacks a native systemd unit file. ~ Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
    [    2.445944] systemd-sysv-generator[151]: SysV service '/etc/init.d/write_WDGRegister.sh' lacks a native systemd unit file. ~ Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it safe, robust and future-proof. ! This compatibility logic is deprecated, expect removal soon. !
    [    2.761322] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [    2.770249] systemd[1]: Binding to IPv6 address not available since kernel does not support IPv6.
    [    2.799279] systemd[1]: Configuration file /usr/lib/systemd/system/svp-launcher.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    2.818094] systemd[1]: Configuration file /usr/lib/systemd/system/slot-mount.service is marked executable. Please remove executable permission bits. Proceeding anyway.
    [    2.867512] systemd[1]: Queued start job for default target Graphical Interface.
    [    2.911043] systemd[1]: Created slice Slice /system/getty.
    [  OK  ] Created slice Slice /system/getty.
    [    2.936806] systemd[1]: Created slice Slice /system/modprobe.
    [  OK  ] Created slice Slice /system/modprobe.
    [    2.959872] systemd[1]: Created slice Slice /system/serial-getty.
    [  OK  ] Created slice Slice /system/serial-getty.
    [    2.983096] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    3.007216] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    3.030103] systemd[1]: Expecting device /dev/mmcblk0p14...
             Expecting device /dev/mmcblk0p14...
    [    3.045891] systemd[1]: Expecting device /dev/mmcblk0p15...
             Expecting device /dev/mmcblk0p15...
    [    3.061911] systemd[1]: Expecting device /dev/mmcblk0p16...
             Expecting device /dev/mmcblk0p16...
    [    3.077858] systemd[1]: Expecting device /dev/mmcblk0p17...
             Expecting device /dev/mmcblk0p17...
    [    3.093892] systemd[1]: Expecting device /dev/mmcblk0p18...
             Expecting device /dev/mmcblk0p18...
    [    3.109973] systemd[1]: Expecting device /dev/ttyS2...
             Expecting device /dev/ttyS2...
    [    3.126126] systemd[1]: Reached target Host and Network Name Lookups.
    [  OK  ] Reached target Host and Network Name Lookups.
    [    3.150333] systemd[1]: Reached target Path Units.
    [  OK  ] Reached target Path Units.
    [    3.166127] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    3.186084] systemd[1]: Reached target Slice Units.
    [  OK  ] Reached target Slice Units.
    [    3.202117] systemd[1]: Reached target Swaps.
    [  OK  ] Reached target Swaps.
    [    3.271810] systemd[1]: Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [    3.294516] systemd[1]: Reached target RPC Port Mapper.
    [  OK  ] Reached target RPC Port Mapper.
    [    3.342724] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    3.368046] systemd[1]: Listening on initctl Compatibility Named Pipe.
    [  OK  ] Listening on initctl Compatibility Named Pipe.
    [    3.397610] audit: type=1400 audit(1709054765.340:4): avc:  denied  { audit_read } for  pid=1 comm="systemd" capability=37  scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=0
    [    3.397674] systemd[1]: systemd-journald-audit.socket: Failed to create listening socket (audit 1): Operation not permitted
    [    3.429508] systemd[1]: systemd-journald-audit.socket: Failed to listen on sockets: Operation not permitted
    [    3.439787] systemd[1]: systemd-journald-audit.socket: Failed with result 'resources'.
    [    3.447916] systemd[1]: Failed to listen on Journal Audit Socket.
    [FAILED] Failed to listen on Journal Audit Socket.
    See 'systemctl status systemd-journald-audit.socket' for details.
    [    3.491116] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    3.516320] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    3.540815] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    3.563850] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    3.589645] systemd[1]: Listening on User Database Manager Socket.
    [  OK  ] Listening on User Database Manager Socket.
    [    3.642486] systemd[1]: Mounting Huge Pages File System...
             Mounting Huge Pages File System...
    [    3.654476] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    3.684916] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    3.702411] systemd[1]: Kernel Trace File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/tracing).
    [    3.723133] systemd[1]: Mounting Temporary Directory /tmp...
             Mounting Temporary Directory /tmp...
    [    3.744390] systemd[1]: Starting Create List of Static Device Nodes...
             Starting Create List of Static Device Nodes...
    [    3.772165] systemd[1]: Starting Load Kernel Module configfs...
             Starting Load Kernel Module configfs...
    [    3.796682] systemd[1]: Starting Load Kernel Module fuse...
             Starting Load Kernel Module fuse...
    [    3.820639] systemd[1]: Starting RPC Bind...
             Starting RPC Bind...
    [    3.825462] audit: type=1400 audit(1709054765.768:5): avc:  denied  { module_load } for  pid=162 comm="modprobe" path="/usr/lib/modules/6.1.80/kernel/fs/fuse/fuse.ko" dev="mmcblk0p6" ino=3249 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=system permissive=0
    [    3.862967] systemd[1]: Started slot-mount Service.
    [  OK  ] Started slot-mount Service.
    [    3.898061] systemd[1]: Starting Journal Service...
    [    3.904760] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Quota mode: none.
    
    [    3.919653] EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Quota mode: none.
    [    3.929585] systemd[1]: Load Kernel Modules was skipped because no trigger condition checks were met.
    [    3.931515] EXT4-fs (mmcblk0p12): mounted filesystem with ordered data mode. Quota mode: none.
    [    3.945949] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    3.997688] systemd[1]: Starting Apply Kernel Variables...
             Starting Apply Kernel Variables...
    [    4.025670] systemd[1]: Starting Coldplug All udev Devices...
             Starting Coldplug All udev Devices...
    [    4.050177] systemd-journald[167]: Collecting audit messages is disabled.
    [    4.066248] systemd[1]: Started RPC Bind.
    [  OK  ] Started RPC Bind.
    [    4.083249] systemd[1]: Mounted Huge Pages File System.
    [  OK  ] Mounted Huge Pages File System.
    [    4.107058] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [    4.130670] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted Temporary Directory /tmp.
    [  OK  ] Finished Create List of Static Device Nodes.
    [  OK  ] Finished Load Kernel Module configfs.
    [  OK  ] Finished Load Kernel Module fuse.
    [  OK  ] Finished Remount Root and Kernel File Systems.
    [  OK  ] Finished Apply Kernel Variables.
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
             Starting Create Static Device Nodes in /dev gracefully...
    [    4.422349] systemd-journald[167]: Received client request to flush runtime journal.
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Finished Flush Journal to Persistent Storage.
    [  OK  ] Finished Create Static Device Nodes in /dev gracefully.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Finished Coldplug All udev Devices.
    [  OK  ] Finished Create Static Device Nodes in /dev.
    [  OK  ] Reached target Preparation for Local File Systems.
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting Rule-based Manager for Device Events and Files...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
             Starting Load/Save OS Random Seed...
    [  OK  ] Started Rule-based Manager for Device Events and Files.
    [  OK  ] Found device /dev/ttyS2.
    [  OK  ] Found device /dev/mmcblk0p18.
    [  OK  ] Found device /dev/mmcblk0p16.
    [  OK  ] Found device /dev/mmcblk0p15.
    [  OK  ] Found device /dev/mmcblk0p14.
    [    5.801788] random: crng init done
    [  OK  ] Found device /dev/mmcblk0p17.
    [  OK  ] Finished Load/Save OS Random Seed    5.844362] audit: type=1400 audit(1709054767.788:6): avc:  denied  { module_load } for  pid=214 comm="(udev-worker)" path="/usr/lib/modules/6.1.80/kernel/drivers/char/hw_random/rng-core.ko" dev="mmcblk0p6" ino=2910 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=system permissive=0
    0m.
    [    5.874252] audit: type=1400 audit(1709054767.788:7): avc:  denied  { module_load } for  pid=214 comm="(udev-worker)" path="/usr/lib/modules/6.1.80/kernel/drivers/char/hw_random/rng-core.ko" dev="mmcblk0p6" ino=2910 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=system permissive=0
    [    5.903676] audit: type=1400 audit(1709054767.816:8): avc:  denied  { module_load } for  pid=218 comm="(udev-worker)" path="/usr/lib/modules/6.1.80/kernel/drivers/media/mc/mc.ko" dev="mmcblk0p6" ino=3084 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=system permissive=0
    [    5.931448] audit: type=1400 audit(1709054767.816:9): avc:  denied  { module_load } for  pid=218 comm="(udev-worker)" path="/usr/lib/modules/6.1.80/kernel/drivers/media/mc/mc.ko" dev="mmcblk0p6" ino=3084 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=system permissive=0
    [    5.961880] audit: type=1400 audit(1709054767.856:10): avc:  denied  { module_load } for  pid=211 comm="(udev-worker)" path="/usr/lib/modules/6.1.80/kernel/drivers/media/mc/mc.ko" dev="mmcblk0p6" ino=3084 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=system permissive=0
    [    5.993808] audit: type=1400 audit(1709054767.860:11): avc:  denied  { module_load } for  pid=211 comm="(udev-worker)" path="/usr/lib/modules/6.1.80/kernel/drivers/media/mc/mc.ko" dev="mmcblk0p6" ino=3084 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=system permissive=0
    [    6.023737] audit: type=1400 audit(1709054767.860:12): avc:  denied  { module_load } for  pid=213 comm="(udev-worker)" path="/usr/lib/modules/6.1.80/kernel/drivers/media/mc/mc.ko" dev="mmcblk0p6" ino=3084 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=system permissive=0
    [    6.052791] audit: type=1400 audit(1709054767.864:13): avc:  denied  { module_load } for  pid=217 comm="(udev-worker)" path="/usr/lib/modules/6.1.80/kernel/drivers/phy/cadence/cdns-dphy-rx.ko" dev="mmcblk0p6" ino=3160 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=system permissive=0
    [    6.081545] audit: type=1400 audit(1709054767.864:14): avc:  denied  { module_load } for  pid=217 comm="(udev-worker)" path="/usr/lib/modules/6.1.80/kernel/drivers/phy/cadence/cdns-dphy-rx.ko" dev="mmcblk0p6" ino=3160 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=system permissive=0
    [    6.110350] audit: type=1400 audit(1709054767.868:15): avc:  denied  { module_load } for  pid=213 comm="(udev-worker)" path="/usr/lib/modules/6.1.80/kernel/drivers/media/mc/mc.ko" dev="mmcblk0p6" ino=3084 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=system permissive=0
             Mounting /data...
    [    6.232565] EXT4-fs (mmcblk0p18): warning: maximal mount count reached, running e2fsck is recommended
    
    [    6.251898] EXT4-fs (mmcblk0p18): recovery complete
    [    6.262692] EXT4-fs (mmcblk0p18): mounted filesystem with ordered data mode. Quota mode: none.
             Mounting /persist...
    [    6.290256] EXT4-fs (mmcblk0p16): warning: maximal mount count reached, running e2fsck is recommended
    [    6.300251] EXT4-fs (mmcblk0p16): recovery complete
    [    6.306408] EXT4-fs (mmcblk0p16): mounted filesystem with ordered data mode. Quota mode: none.
             Mounting /sign...
    [    6.325660] EXT4-fs (mmcblk0p14): warning: maximal mount count reached, running e2fsck is recommended
    [    6.326795] EXT4-fs (mmcblk0p17): warning: maximal mount count reached, running e2fsck is recommended
    [    6.335481] EXT4-fs (mmcblk0p14): recovery complete
    [    6.344924] EXT4-fs (mmcblk0p17): recovery complete
    [    6.349783] EXT4-fs (mmcblk0p14): mounted filesystem with ordered data mode. Quota mode: none.
    [    6.354273] EXT4-fs (mmcblk0p17): mounted filesystem with ordered data mode. Quota mode: none.
             Mounting /update_data...
    [  OK  ] Mounted /data.
    [    6.396284] EXT4-fs (mmcblk0p15): warning: maximal mount count reached, running e2fsck is recommended
    [    6.406411] EXT4-fs (mmcblk0p15): recovery complete
    [    6.411500] EXT4-fs (mmcblk0p15): mounted filesystem with ordered data mode. Quota mode: none.
    [  OK  ] Mounted /log.
    [  OK  ] Mounted /persist.
    [  OK  ] Mounted /sign.
    [  OK  ] Mounted /update_data.
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Finished Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Record System Boot/Shutdown in UTMP...
             Starting User Database Manager...
    [  OK  ] Finished Record System Boot/Shutdown in UTMP.
    [  OK  ] Started User Database Manager.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target System Time Set.
    [  OK  ] Started Daily rotation of log files.
    [  OK  ] Reached target Timer Units.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Listening on PC/SC Smart Card Daemon Activation Socket.
    [  OK  ] Reached target Socket Units.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started My Shell Script.
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started irqbalance daemon.
             Starting Reboot and dump vmcore via kexec...
             Starting Expand the rootfs partiti…to full size of the boot device....
    [  OK  ] Started set SELinux mode.
    [  OK  ] Started strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf.
    [    7.765267] set-selinux-mode.sh[272]: cmdline is: console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk0p6 rw rootfstype=ext4 rootwait selinux=1 setenforce=1
    [    7.778914] set-selinux-mode.sh[272]: selinux_param is: setenforce=1
    [  OK  ] Started dmesgLog Service.
    [    7.788802] set-selinux-mode.sh[272]: selinux_value is: 1
    [  OK  ] Started SVP Launcher.
             Starting Permit User Sessions...
    [  OK  ] Finished Reboot and dump vmcore via kexec.
    [SVP] SVP_VERSION      :01.DB_250117_A1
    [SVP] SVP_BUILD_DATE   :2025-01-17
    [SVP] Customer_version :SWX0DB
    [SVP] Starting ...
    [  OK  ] Finished Expand the rootfs partition to full size of the boot device..
    [  OK  ] Finished Permit User Sessions.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Reached target Login Prompts.
    [  OK  ] Reached target Multi-User System.
    [  OK  ] Reached target Graphical Interface.
             Starting Record Runlevel Change in UTMP...
    [svp.app-proxy] created.
    [SVP] Starting Service - "svp.svc.remote"
    [SVP] Starting Service - "svp.svc.log"
    [SVP] Starting Service - "svp.svc.update"
    [SVP] Starting App - "sva-dms"
    [SVP] Start application end - svp.util.procguard /sva/BatDMS/sva-dms  --debug-output none
    [FAILED] Failed to start Record Runlevel C[8077] (325|0xFFFF9DFA0020) [log.c(930)] [INFO] log size: 524316
    [8077] (326|0xFFFFBB034020) [log.c(930)] [INFO] log size: 524316
    [8088] (329|0xFFFFA9A4ADA0) [log.c(930)] [INFO] log size: 524316
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    EDGEAI_DATA_PATH Not Defined!!
    [8256] (330|0xFFFF95C23020) [log.c(930)] [INFO] log size: 1020
    [8257] (330|0xFFFF95C23020) [INFO] [default][main.cpp:  24]sva-dms debug-output = none
    file_deref_link: readlink failed for /sys/bus/platform/devices/78000000.r5f
    _rpmsg_char_find_rproc: 78000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/78000000.r5f
    _rpmsg_char_find_rproc: 78000000.r5f device is mostly yet to be created!
    [8281] (330|0xFFFF95C23020) [SVPAppSignal.cpp(182)] SVPAppSignal::Init:debug_flag_exist_[0]
    Register remote service end
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    Register remote service end
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project am62axx-evm ttyS2
    
    Arago 2023.10 am62axx-evm ttyS2
    
    am62axx-evm login: file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    [   10.595139] write_WDGRegister.sh[264]: WDGRegister write start...
    [   10.607905] write_WDGRegister.sh[264]: get 0x48 0x32 value: 0x20
    [   11.676120] platform 2b300050.target-module: deferred probe pending
    [   11.624474] write_WDGRegister.sh[264]: get 0x12 0x03 value: 0x7f
    [   11.630922] write_WDGRegister.sh[264]: get 0x12 0x04 value: 0x7f
    [   11.640250] write_WDGRegister.sh[264]: get 0x12 0x05 value: 0x89
    [   11.648693] write_WDGRegister.sh[264]: get 0x12 0x06 value: 0x00
    [   11.656598] write_WDGRegister.sh[264]: get 0x12 0x09 value: 0xbf
    [   12.140191] write_WDGRegister.sh[264]: WDGRegister write done.
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    [   17.880256] svdmesgLog.sh[289]: delete not used /log/kernellog/dmesg.txt.8
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    
    am62axx-evm login: file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    
    am62axx-evm login: roofile_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    t
    [   25.826673] kauditd_printk_skb: 29 callbacks suppressed
    [   25.826689] audit: type=1400 audit(1735124425.080:45): avc:  denied  { transition } for  pid=479 comm="login" path="/usr/bin/bash.bash" dev="mmcblk0p6" ino=1059 scontext=system_u:system_r:kernel_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0 tclass=process permissive=0
    Cannot execute /bin/sh: Permission denied[   25.856666] audit: type=1400 audit(1735124425.080:46): avc:  denied  { transition } for  pid=479 comm="login" path="/usr/bin/bash.bash" dev="mmcblk0p6" ino=1059 scontext=system_u:system_r:kernel_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0 tclass=process permissive=0
    [   26.345335] audit: type=1400 audit(1735124425.596:47): avc:  denied  { checkpoint_restore } for  pid=480 comm="agetty" capability=40  scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=0
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project am62axx-evm ttyS2
    
    Arago 2023.10 am62axx-evm ttyS2
    
    am62axx-evm login: file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    2024-12-25 11:00:34.345468 [warning] BLOCKING CALL MESSAGE(6202): [1008.2008.0001:001f]
    
    am62axx-evm login:
    am62axx-evm login: rootfile_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    
    [   36.041474] audit: type=1400 audit(1735124435.292:48): avc:  denied  { transition } for  pid=505 comm="login" path="/usr/bin/bash.bash" dev="mmcblk0p6" ino=1059 scontext=system_u:system_r:kernel_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0 tclass=process permissive=0
    Cannot execute /bin/sh: Permission denied
    [   36.066227] audit: type=1400 audit(1735124435.292:49): avc:  denied  { transition } for  pid=505 comm="login" path="/usr/bin/bash.bash" dev="mmcblk0p6" ino=1059 scontext=system_u:system_r:kernel_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0 tclass=process permissive=0
    [   36.549328] audit: type=1400 audit(1735124435.800:50): avc:  denied  { checkpoint_restore } for  pid=507 comm="agetty" capability=40  scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=0
    file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project am62axx-evm ttyS2
    
    Arago 2023.10 am62axx-evm ttyS2
    
    am62axx-evm login: file_deref_link: readlink failed for /sys/bus/platform/devices/79000000.r5f
    _rpmsg_char_find_rproc: 79000000.r5f device is mostly yet to be created!
    2024-12-25 11:00:37.919335 [warning] BLOCKING CALL MESSAGE(6202): [1008.2008.0001:0022]
    

    Best Regards.

  • Hi Shawn,

    I notice a lot of avc: denied messages. Particularly Line 472. SELinux is preventing the modules to load. IPC is a loadable module which is not started due to denial. The file_defref errors are IPC related.

    More importantly, please get your policy correct. Debugging errors will become harder with access errors

  • Hi Expert:

    how can we solve the following problem in selinux enforce mode:

    [FAILED] Failed to listen on Journal Audit Socker

    [FAILED] Failed to start Synchronize System and HW clocks

    file_deref_link:   readlink failed for  /sys/bus/platform/devices/78000000.r5f

  • Shawn,

    10.1 (6.6 Kernel + Yocto Scarthgap combination ) is the first time SELinux is validated .

    Recommendation is to switch the baseline to start any experimentation first. with the steps provided here. 

    https://texasinstruments.github.io/processor-sdk-doc/processor-sdk-linux-AM62AX/esd/docs/10_01_00/linux/Foundational_Components/System_Security/SELinux.html 

    As you can see from here . 

    https://git.ti.com/cgit/arago-project/oe-layersetup/tree/configs/arago-scarthgap-selinux-config.txt#n7 

    and

    https://git.yoctoproject.org/meta-arago/commit/?h=scarthgap&id=ea02bcb375e63257efd2e239fc2db94af67262d7 

    There are distribution layer changes to stitch selinux 

    9.2  (6.1 Kernel + Yocto Kirkstone combination ) is not a valid combination we tried or can guide where the issues could be on it. 

  • Hi Expert:

    There are avc log , we think you need add some policy:

    Line 316: [Wed Dec 25 04:43:56 2024] audit: type=1400 audit(1709054764.656:3): avc: denied { audit_read } for pid=1 comm="systemd" capability=37 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=1
    Line 332: [Wed Dec 25 04:43:57 2024] audit: type=1400 audit(1709054764.752:4): avc: denied { module_load } for pid=161 comm="modprobe" path="/usr/lib/modules/6.1.80/kernel/fs/fuse/fuse.ko" dev="mmcblk0p6" ino=3260 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=system permissive=1
    Line 434: [Wed Dec 25 04:44:00 2024] audit: type=1107 audit(1735101840.336:38): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:kernel_t:s0 msg='avc: denied { status } for auid=n/a uid=0 gid=0 path="/usr/lib/systemd/system/graphical.target" cmdline="" function="mac_selinux_filter" scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=service permissive=1 exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
    Line 454: [Wed Dec 25 04:44:01 2024] audit: type=1400 audit(1735101841.096:45): avc: denied { checkpoint_restore } for pid=327 comm="agetty" capability=40 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=1
    Line 455: [Wed Dec 25 04:44:01 2024] audit: type=1400 audit(1735101841.096:44): avc: denied { checkpoint_restore } for pid=328 comm="agetty" capability=40 scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=capability2 permissive=1
    Line 3468: [Wed Dec 25 04:56:11 2024] audit: type=1400 audit(1735102571.272:48): avc: denied { transition } for pid=925 comm="login" path="/usr/bin/bash.bash" dev="mmcblk0p6" ino=1074 scontext=system_u:system_r:kernel_t:s0 tcontext=unconfined_u:unconfined_r:unconfined_t:s0 tclass=process permissive=1
    Line 3469: [Wed Dec 25 04:56:11 2024] audit: type=1400 audit(1735102571.272:48): avc: denied { entrypoint } for pid=925 comm="login" path="/usr/bin/bash.bash" dev="mmcblk0p6" ino=1074 scontext=unconfined_u:unconfined_r:unconfined_t:s0 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file permissive=1

  • The issue is being supported by teams via offline emails.