reboot after running “poweroff” command on 93x

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

reboot after running “poweroff” command on 93x

6,418 Views
gongyaxuan
Contributor I

The boards we built based on 93x will reboot after poweroff, I found the issue in the forums. Here is the log and the link

root@imx93evk:~# poweroff
root@imx93evk:~# Stoppi Stopping Session c2 of User root...
[ OK ] Removed slice Slice /system/modprobe.
[ OK ] Stopped target Graphical Interface.
[ OK ] Stopped target Multi-User System.
[ OK ] Stopped target Login Prompts.
[ OK ] Stopped target RPC Port Mapper.
[ OK ] Stopped target Sound Card.
[ OK ] Stopped target System Time Set.
[ OK ] Stopped target Timer Units.
[ OK ] Stopped Daily Cleanup of Temporary Directories.
[ OK ] Stopped target Hardware activated USB gadget.
Stopping Save/Restore Sound Card State...
Stopping Avahi mDNS/DNS-SD Stack...
Stopping Kernel Logging Service...
Stopping System Logging Service...
Stopping Linux Firmware Loader Daemon...
Stopping Getty on tty1...
Stopping NFS status monitor for NFSv2/3 locking....
Stopping Network Time Service...
Stopping Telephony service...
Stopping LSB: Run /etc/rc.local if it exist...
Stopping Serial Getty on ttyLP0...
Stopping Load/Save OS Random Seed...
Stopping TEE Supplicant...
Stopping Weston, a Wayland…ositor, as a system service...
[ OK ] Stopped OpenSSH Key Generation.
[ OK ] Stopped NFS status monitor for NFSv2/3 locking..
[ OK ] Stopped Avahi mDNS/DNS-SD Stack.
[ OK ] Stopped Kernel Logging Service.
[ OK ] Stopped System Logging Service.
[ OK ] Stopped Linux Firmware Loader Daemon.
[ OK ] Stopped Telephony service.
[ OK ] Stopped Network Time Service.
[ OK ] Stopped TEE Supplicant.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Serial Getty on ttyLP0.
[ OK ] Stopped Weston, a Wayland …mpositor, as a system service.
[ OK ] Stopped Save/Restore Sound Card State.
[ OK ] Stopped LSB: Run /etc/rc.local if it exist.
[ OK ] Stopped Load/Save OS Random Seed.
[ OK ] Stopped Session c1 of User root.
[ OK ] Stopped Session c2 of User root.
[ OK ] Removed slice Slice /system/getty.
[ OK ] Removed slice Slice /system/serial-getty.
[ OK ] Stopped target Host and Network Name Lookups.
[ OK ] Stopped /etc/rc.local Compatibility.
Stopping User Login Management...
Stopping Permit User Sessions...
Stopping User Manager for UID 0...
[ OK ] Stopped User Manager for UID 0.
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped target Network.
[ OK ] Stopped target Remote File Systems.
Stopping Network Configuration...
Stopping User Runtime Directory /run/user/0...
[ OK ] Unmounted /run/user/0.
[ OK ] Stopped Network Configuration.
[ OK ] Stopped User Runtime Directory /run/user/0.
[ OK ] Removed slice User Slice of UID 0.
[ OK ] Stopped target Preparation for Network.
Stopping D-Bus System Message Bus...
[ OK ] Stopped Generate network units from Kernel command line.
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped User Login Management.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Path Units.
[ OK ] Stopped Dispatch Password …ts to Console Directory Watch.
[ OK ] Stopped Forward Password R…uests to Wall Directory Watch.
[ OK ] Stopped target Slice Units.
[ OK ] Removed slice User and Session Slice.
[ OK ] Stopped target Socket Units.
[ OK ] Closed Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Closed sshd.socket.
[ OK ] Closed Syslog Socket.
[ OK ] Closed Network Service Netlink Socket.
[ OK ] Closed Weston socket.
[ OK ] Stopped target System Initialization.
Stopping Network Name Resolution...
[ OK ] Stopped Apply Kernel Variables.
Stopping Network Time Synchronization...
Stopping Record System Boot/Shutdown in UTMP...
[ OK ] Unmounted /run/credentials/systemd-sysctl.service.
[ OK ] Stopped Network Name Resolution.
[ OK ] Unmounted /run/credentials/systemd-resolved.service.
[ OK ] Stopped Network Time Synchronization.
[ OK ] Stopped Record System Boot/Shutdown in UTMP.
[ OK ] Stopped Create Volatile Files and Directories.
[ OK ] Stopped target Local File Systems.
Unmounting /run/credential…temd-tmpfiles-setup.service...
Unmounting /run/credential…-tmpfiles-setup-dev.service...
Unmounting /run/media/boot-mmcblk0p1...
Unmounting Temporary Directory /tmp...
Unmounting /var/volatile...
[ OK ] Unmounted /run/credentials…ystemd-tmpfiles-setup.service.
[ OK ] Unmounted /run/credentials…md-tmpfiles-setup-dev.service.
[ OK ] Unmounted /run/media/boot-mmcblk0p1.
[ OK ] Unmounted Temporary Directory /tmp.
[ OK ] Unmounted /var/volatile.
[ OK ] Stopped target Swaps.
[ OK ] Reached target Unmount All Filesystems.
[ OK ] Stopped File System Check on /dev/mmcblk0p1.
[ OK ] Removed slice Slice /system/systemd-fsck.
[ OK ] Stopped target Preparation for Local File Systems.
[ OK ] Stopped Remount Root and Kernel File Systems.
[ OK ] Stopped Create Static Device Nodes in /dev.
[ OK ] Reached target System Shutdown.
[ OK ] Reached target Late Shutdown Services.
[ OK ] Finished System Power Off.
[ OK ] Reached target System Power Off.
[ 94.480334] kauditd_printk_skb: 10 callbacks suppressed
[ 94.480349] audit: type=1334 audit(1678231552.140:14): prog-id=4 op=UNLOAD
[ 94.493323] audit: type=1334 audit(1678231552.140:15): prog-id=3 op=UNLOAD
[ 94.500734] audit: type=1334 audit(1678231552.156:16): prog-id=10 op=UNLOAD
[ 94.507780] audit: type=1334 audit(1678231552.156:17): prog-id=9 op=UNLOAD
[ 94.514682] audit: type=1334 audit(1678231552.160:18): prog-id=8 op=UNLOAD
[ 94.521606] audit: type=1334 audit(1678231552.160:19): prog-id=7 op=UNLOAD
[ 94.528505] audit: type=1334 audit(1678231552.160:20): prog-id=6 op=UNLOAD
[ 94.535388] audit: type=1334 audit(1678231552.160:21): prog-id=5 op=UNLOAD
[ 94.563575] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 94.575743] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 94.594848] systemd-journald[187]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 94.604332] audit: type=1335 audit(1678231552.264:22): pid=187 uid=0 auid=4294967295 tty=(none) ses=4294967295 comm="systemd-journal" exe="/lib/systemd/systemd-journald" nl-mcgrp=1 op=disconnect res=1
[ 94.607517] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 94.637681] systemd-shutdown[1]: Unmounting file systems.
[ 94.645527] (sd-remount)[500]: Remounting '/' read-only with options ''.
[ 94.658397] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
[ 94.668070] systemd-shutdown[1]: All filesystems unmounted.
[ 94.673822] systemd-shutdown[1]: Deactivating swaps.
[ 94.679005] systemd-shutdown[1]: All swaps deactivated.
[ 94.684245] systemd-shutdown[1]: Detaching loop devices.
[ 94.691475] systemd-shutdown[1]: All loop devices detached.
[ 94.697079] systemd-shutdown[1]: Stopping MD devices.
[ 94.702413] systemd-shutdown[1]: All MD devices stopped.
[ 94.707726] systemd-shutdown[1]: Detaching DM devices.
[ 94.713059] systemd-shutdown[1]: All DM devices detached.
[ 94.718463] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
[ 94.733356] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 94.740263] systemd-shutdown[1]: Powering off.
[ 94.744813] kvm: exiting hardware virtualization
[ 94.784311] RTW: rtw_dev_shutdown
[ 94.787619] RTW: rtw_dev_shutdown call halt notify
[ 94.792451] RTW: rtw_btcoex_HaltNotify(wlan0): bup=0 Skip!
[ 94.797929] RTW: ==> rtl8733bu_deinit
[ 94.801590] RTW: rtl8733bu_deinit <==
[ 94.806540] ci_hdrc ci_hdrc.1: remove, state 1
[ 94.811014] usb usb1: USB disconnect, device number 1
[ 94.816060] usb 1-1: USB disconnect, device number 2
[ 94.821016] usb 1-1.4: USB disconnect, device number 3
[ 94.826349] RTW: +rtw_dev_remove
[ 94.829572] RTW: rtw_wdev_unregister(wdev=00000000dfd62291)
[ 94.835304] RTW: cfg80211_rtw_get_txpower(wlan0) total max: -10000 mbm
[ 94.841867] RTW: rtw_ndev_notifier_call(wlan0) state:6
[ 94.847143] RTW: rtw_ndev_uninit(wlan0) if1
[ 94.888164] RTW: rtw_wiphy_unregister(phy0)
[ 94.892354] RTW: Vendor: Unregister RTW cfg80211 vendor interface
[ 94.912240] RTW: rtw_btcoex_HaltNotify(wlan0): bup=0 Skip!
[ 94.917721] RTW: rtw_btcoex_HaltNotify(wlan0): bSurpriseRemoved=True Skip!
[ 94.924582] RTW: rtw_usb_primary_adapter_deinit(wlan0)
[ 94.929711] RTW: rtw_dev_unload: bup==_FALSE
[ 94.933981] RTW: +r871xu_dev_remove, hw_init_completed=0
[ 94.939829] RTW: WARN free_recv_skb_queue not empty, 8
[ 94.945031] RTW: rtw_wdev_free(wdev=00000000dfd62291)
[ 94.950094] rtl8733bu 1-1.4:1.0 wlan0 (unregistered): Current addr: f4 3c 3b 6d 39 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 94.964770] rtl8733bu 1-1.4:1.0 wlan0 (unregistered): Expected addr: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 94.979448] ------------[ cut here ]------------
[ 94.984060] netdevice: wlan0 (unregistered): Incorrect netdev->dev_addr
[ 94.990716] WARNING: CPU: 0 PID: 1 at net/core/dev_addr_lists.c:519 dev_addr_check+0x90/0x12c
[ 94.999239] Modules linked in: nvmem_imx_ocotp_fsb_s400 crct10dif_ce polyval_ce polyval_generic layerscape_edac_mod el_enclave rtc_ds1307 snd_soc_fsl_micfil snd_soc_fsl_xcvr fuse
[ 95.015136] CPU: 0 PID: 1 Comm: systemd-shutdow Not tainted 6.1.22+g29e1a12a07b3 #1
[ 95.022777] Hardware name: NXP i.MX93 11X11 EVK board (DT)
[ 95.028248] pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 95.035197] pc : dev_addr_check+0x90/0x12c
[ 95.039279] lr : dev_addr_check+0x90/0x12c
[ 95.043360] sp : ffff80000a1eb590
[ 95.046663] x29: ffff80000a1eb590 x28: ffff000004098000 x27: ffff0000051b7c00
[ 95.053786] x26: ffff000005102800 x25: ffff0000051028a8 x24: 0000000000000001
[ 95.060910] x23: ffff80000a098dc8 x22: ffff0000049e7000 x21: 0000000000000122
[ 95.068034] x20: ffff0000049e7000 x19: ffff0000049e7000 x18: 0000000000000006
[ 95.075158] x17: 000000010099000c x16: 0000000000000006 x15: ffff80000a1eb0c0
[ 95.082282] x14: 0000000000000000 x13: ffff800009f72e30 x12: 0000000000000918
[ 95.089407] x11: 0000000000000308 x10: ffff800009fcae30 x9 : ffff800009f72e30
[ 95.096530] x8 : 00000000ffffefff x7 : ffff800009fcae30 x6 : 80000000fffff000
[ 95.103654] x5 : 000000000000bff4 x4 : 0000000000000000 x3 : 0000000000000000
[ 95.110778] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000004098000
[ 95.117903] Call trace:
[ 95.120339] dev_addr_check+0x90/0x12c
[ 95.124082] dev_addr_flush+0x24/0x90
[ 95.127730] free_netdev+0x78/0x1b0
[ 95.131215] rtw_free_netdev+0x1c/0x2c
[ 95.134958] rtw_os_ndev_free+0x24/0x38
[ 95.138789] rtw_usb_primary_adapter_deinit+0x80/0x128
[ 95.143911] rtw_dev_remove+0x88/0x124
[ 95.147646] usb_unbind_interface+0x78/0x26c
[ 95.151910] device_remove+0x70/0x80
[ 95.155481] device_release_driver_internal+0x1e4/0x250
[ 95.160690] device_release_driver+0x18/0x24
[ 95.164945] bus_remove_device+0x124/0x130
[ 95.169027] device_del+0x174/0x440
[ 95.172511] usb_disable_device+0xd4/0x1b0
[ 95.176593] usb_disconnect+0xdc/0x2ac
[ 95.180337] usb_disconnect+0xc4/0x2ac
[ 95.184073] usb_disconnect+0xc4/0x2ac
[ 95.187808] usb_remove_hcd+0xfc/0x1a4
[ 95.191552] host_stop+0x38/0xa0
[ 95.194776] ci_hdrc_host_destroy+0x20/0x30
[ 95.198953] ci_hdrc_remove+0x60/0x124
[ 95.202688] platform_remove+0x28/0x60
[ 95.206433] device_remove+0x4c/0x80
[ 95.209994] device_release_driver_internal+0x1e4/0x250
[ 95.215203] device_release_driver+0x18/0x24
[ 95.219459] bus_remove_device+0x124/0x130
[ 95.223540] device_del+0x174/0x440
[ 95.227016] platform_device_del.part.0+0x1c/0x90
[ 95.231713] platform_device_unregister+0x24/0x40
[ 95.236402] ci_hdrc_remove_device+0x18/0x40
[ 95.240657] ci_hdrc_imx_remove+0x34/0x140
[ 95.244739] ci_hdrc_imx_shutdown+0x10/0x20
[ 95.248908] platform_shutdown+0x24/0x3c
[ 95.252816] device_shutdown+0x148/0x260
[ 95.256725] kernel_power_off+0x38/0x80
[ 95.260556] __do_sys_reboot+0x1fc/0x240
[ 95.264464] __arm64_sys_reboot+0x24/0x30
[ 95.268460] invoke_syscall+0x48/0x114
[ 95.272204] el0_svc_common.constprop.0+0x44/0xec
[ 95.276892] do_el0_svc+0x2c/0xd0
[ 95.280194] el0_svc+0x2c/0x84
[ 95.283245] el0t_64_sync_handler+0xf4/0x120
[ 95.287500] el0t_64_sync+0x18c/0x190
[ 95.291150] ---[ end trace 0000000000000000 ]---
[ 95.295879] RTW: rtw_wiphy_free(phy0)
[ 95.299545] RTW: -r871xu_dev_remove, done
[ 95.307115] ci_hdrc ci_hdrc.1: USB bus 1 deregistered
[ 95.327261] reboot: Power down

 

 

https://community.nxp.com/t5/i-MX-Processors/reboot-after-running-poweroff-command-on-imx8mm-with-Li...

 

 

 

0 Kudos
Reply
10 Replies

6,388 Views
gongyaxuan
Contributor I

I have no print on the serial port after dialing in the photo. Why does it start normally on the board we made

0 Kudos
Reply

6,383 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @gongyaxuan!

What silicon version do you have on your EVK?

The first version of the silicon is not compatible with the new Linux releases.
 
Please try to use Kernel 6.1.22

Sorry for the mistake! 
 
Best Regards!
 
Chavira
0 Kudos
Reply

6,375 Views
gongyaxuan
Contributor I

How to check what version of my evk? Can you send me a 6.1.22 image to try?

0 Kudos
Reply

6,366 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @gongyaxuan 

I am working on a community post to explain that.

You can download the BSP by following the link:

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

Best Regards!

Chavira

0 Kudos
Reply

6,361 Views
gongyaxuan
Contributor I

I downloaded the image of 6.1.22 through the link you provided and tried it. The situation is still the same, there is no printing at all, but our own board can be started.

 

Is there any other operation I missed? Can you tell me the detailed operation how to use SD card to start evk board? I need to make a comparative analysis.

Thank you very much

0 Kudos
Reply

6,350 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @gongyaxuan!

I attached the user guide for the board.

Those guides explain how to burn images in MMC or SD using our uuu tool.

https://www.nxp.com/document/guide/getting-started-with-the-i-mx93-evk:GS-IMX93EVK?section=out-of-th...


Best Regards!
Alejandro

0 Kudos
Reply

6,299 Views
gongyaxuan
Contributor I

Board dip and led light as shown below, could you please help me see why SD card startup without any printing? I read the data you sent only described the sw1301 dip Settings, but I carefully checked the dip is no problem

gongyaxuan_1-1700535963308.jpeg

 

 

 

0 Kudos
Reply

6,310 Views
gongyaxuan
Contributor I

I tried 6.1.22 and 6.1.36 to burn two images to SD card, sw301 dial 0010, without any printing

And I tried emmc uuu burning with the following problems

 

 

PS C:\Users\23139\Downloads> .\uuu.exe .\LF_v6.1.22-2.0.0_images_IMX93EVK.zip
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.141-0-gde317f5

Wait for Known USB Device Appear...
Error: fail open file: >./LF_v6.1.22-2.0.0_images_IMX93EVK.zip/uuu.auto

 

 

 

I don't understand why the SD card booted without printing at all. Is the board broken

0 Kudos
Reply

6,412 Views
gongyaxuan
Contributor I

Could you please tell me how to start the dip switch of 93evk SD card?

0 Kudos
Reply

6,393 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @gongyaxuan!
Thank you for contacting NXP Support!

Is not a normal behavior.

Please try to download our precompiled image and reflash your board.

I attached a picture with a Switch configuration to boot from an SD card


Best Regards!

Chavira

0 Kudos
Reply