Not to be fixed
Created: May 5, 2022
Updated: Jun 12, 2024
Resolved Date: Jun 12, 2024
Found In Version: 10.22.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 22
Component/s: Userspace
$ setup.sh --machines=qemux86-64 --dl-layers --accept-eula=yes && source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build
$ bitbake wrlinux-image-std
$ runqemu slirp nographic qemux86-64
......
# on target:
Wind River Linux development 21.22 qemux86-64 ttyS0
qemux86-64 login: root
Password:
root@qemux86-64:~# reboot
[ OK ] Stopped Create Static Device Nodes in /dev.
[ OK ] Reached target Shutdown.
[ OK ] Reached target Final Step.
[ OK ] Finished Reboot.
[ OK ] Reached target Reboot.
[ 113.436645] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 113.450289] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 113.571831] systemd-journald[154]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 113.604303] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 113.696786] systemd-shutdown[1]: Unmounting file systems.
[ 113.733080] [437]: Remounting '/' read-only in with options '(null)'.
[ 113.743745] EXT4-fs (vda): re-mounted. Opts: (null)
[ 113.754775] systemd-shutdown[1]: All filesystems unmounted.
[ 113.755422] systemd-shutdown[1]: Deactivating swaps.
[ 113.758892] systemd-shutdown[1]: All swaps deactivated.
[ 113.759596] systemd-shutdown[1]: Detaching loop devices.
[ 113.813363] systemd-shutdown[1]: All loop devices detached.
[ 113.813844] systemd-shutdown[1]: Stopping MD devices.
[ 113.816245] systemd-shutdown[1]: All MD devices stopped.
[ 113.816687] systemd-shutdown[1]: Detaching DM devices.
[ 113.819166] systemd-shutdown[1]: All DM devices detached.
[ 113.819733] systemd-shutdown[1]: All filesystems, swaps, loop devices, MD devices and DM devices detached.
[ 114.096437] systemd-shutdown[1]: Syncing filesystems and block devices.
[ 114.102780] systemd-shutdown[1]: Rebooting.
[ 114.122488] reboot: Restarting system
[ 114.122937] reboot: machine restart
Workaround:
$ git clone https://github.com/coreboot/seabios.git && cd seabios
$ git checkout 01774004c7f7fdc9c1e8f1715f70d3b913f8d491
$ make
bios will be present in out/bios.bin
Use the bios with qemu as such:
runqemu nographic qemuparams="-bios /path/to/bios.bin"
or deploy to target with a bbappend.
$ setup.sh --machines=qemux86-64 --dl-layers --accept-eula=yes && source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build
$ bitbake wrlinux-image-std
$ runqemu slirp nographic qemux86-64
......
Wind River Linux development 21.22 qemux86-64 ttyS0
qemux86-64 login: root
Password:
root@qemux86-64:~# reboot