AnsweredAssumed Answered

Access u-boot variable from userspace

Question asked by Ali nawaz on Aug 22, 2019
Latest reply on Aug 25, 2019 by Ali nawaz


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.



u-boot env yocto-project


Best regards