Hello,
we are using Torizon OS with secure boot, including RootFS protection and encrypted partition (all done using Yocto build with tdx-signed). All is working fine, including Torizon Offline updates. We also managed to close the device by burning fuses. As the last step in security hardening process, we would like to disable the console output.
To disable the console, we called the following:
fw_setenv tdxargs ‘console=null’
fw_setenv silent yes
However, after the reboot, the hardened u-boot refuses to boot with the following error message. Apparently, setting console=null causes problems with the build-in expected boot args.
I have the following questions:
- What are the steps which we need to do in order to disable console in a safe way?
- Is there any way how to recover the unit which refuse to boot with the state below?
Unexpected argument in variable bootargs: console=null…
WARNING: Validation of the variable part of bootargs failed; the full bootargs string (A) and its fixed part (as defined in the ‘required-bootargs’ property inside the device-tree) follow:
A: “root=LABEL=otaroot rootfstype=ext4 quiet logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles splash fbcon=map:3 systemd.gpt_auto=0 ostree=/ostree/boot.0/torizon/acaf846b6077ed72eb4bb28cc6544b785604bbef8f078efe6a767c87d60cb640/0 console=null”
B: “root=LABEL=otaroot rootfstype=ext4 quiet logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles splash fbcon=map:3 systemd.gpt_auto=0”
FATAL: Stopping boot process due to bootargs validation error.
ERROR: /chosen node create failed
- must RESET the board to recover.
FDT creation failed!
resetting …
Result of tdx-info:
Software summary
Bootloader: U-Boot
Kernel version: 6.6.94-7.3.0-devel-g5a62539de8f9 #1-Torizon SMP PREEMP T Wed Jun 25 09:14:55 UTC 2025
Kernel command line: root=LABEL=otaroot rootfstype=ext4 quiet logo.nologo v t.global_cursor_default=0 plymouth.ignore-serial-consoles splash fbcon=map:3 sys temd.gpt_auto=0 ostree=/ostree/boot.1/torizon/a5b366d3447e11eeb9be00c8296ef085c4 bf9684d53c6fa4c270bdc342e1c785/0 cfs.enabled=false
Distro name: NAME=“Torizon OS”
Distro version: VERSION_ID=7.3.0-devel-20251021142752-build.0
Distro variant: VARIANT=“Docker”
Hostname: verdin-imx8mp-15380432Hardware info
HW model: XXX board second dev. version
Toradex version: 0058 V1.1B
Serial number: 15380432
Processor arch: aarch64
Thank you in advance for any help.
Best regards,
Ivo