I just follow this uboot guite, to configure uefi emulation / uefi secure boot.
In “Configuring UEFI secure boot” section after generating PK, KEK and db keys, they do the following:
fatload mmc 0:1 <tmpaddr> PK.auth
setenv -e -nv -bs -rt -at -i <tmpaddr>:$filesize PK
fatload mmc 0:1 <tmpaddr> KEK.auth
setenv -e -nv -bs -rt -at -i <tmpaddr>:$filesize KEK
fatload mmc 0:1 <tmpaddr> db.auth
setenv -e -nv -bs -rt -at -i <tmpaddr>:$filesize db
I don’t understand this setenv arguments “-e -nv -bs …” according to my understanding setenv command doesn’t have this args.
u-boot=> setenv --help
setenv - set environment variables
Usage:
setenv setenv [-f] name value ...
- [forcibly] set environment variable 'name' to 'value ...'
setenv [-f] name
- [forcibly] delete environment variable 'name'
Can someone explain what is that?
Thank you.