Hello,
I was trying to get a u-boot variable from logo.c(/drivers/video/logo/logo.c). Please let me know how can I access the variable from logo.c file. I want to get the value of console. If I use "fw_printenv console" command, the output is console=ttys0. I want to get the output ("fw_printenv console") value of the u-boot variable from logo.c.
Thanks!
u-boot env yocto-project
Best regards
Ali
Thanks for your suggestion. Could you please let me know which log or how can I see the output if I use"printk(fw_printenv console | cut -d= -f2)" in logo.c(/drivers/video/logo/logo.c). I was trying to see the output.I have logged in to the device while turning on, but it only shows the kernel messages.
You can use something like this:
# fw_printenv console | cut -d= -f2
to get the part of the output after "=".