[meta-freescale] Help using toaster

Thomas Thorne Thomas.Thorne at net2edge.com
Wed Oct 19 04:44:46 PDT 2016


After reading more of the toaster-manual I found the section on "4.1.1.2. Configuring Toaster to Hook Into Your Layer Index"

In there it is mentioned that after editing your toasterconf.json file there are two commands you should run from your toaster environment to pick up changes from your modified file.  To load the changes you run something like: 
$ bitbake/lib/toaster/manage.py loadconf /home/scottrif/poky/meta-poky/conf/toasterconf.json
If that was successful you then run:
$ bitbake/lib/toaster/manage.py lsupdates
to update your Toaster databse.  

When I run the loadconf command I get a lot of errors out of it, even with the default toasterconf.json:

~/work/fsl-community-bsp/ls1021atwr$ ../sources/poky/bitbake/lib/toaster/manage.py loadconf -v 2 /home/thomasthorne/work/fsl-community-bsp/sources/poky/meta-poky/conf/toasterconf.json 
WARNING:root:Error while looking for remote "origin" in "yocto	https://git.yoctoproject.org/git/poky (fetch)
yocto	https://git.yoctoproject.org/git/poky (push)
"
2016-10-19 11:54:17,691 ERROR The toaster config file references the local git repo, but Toaster cannot detect it.
Your local configuration for bitbake version jethro is invalid. Make sure that the toasterconf.json file is correct.
ERROR:toaster:The toaster config file references the local git repo, but Toaster cannot detect it.
Your local configuration for bitbake version jethro is invalid. Make sure that the toasterconf.json file is correct.
WARNING:root:Error while looking for remote "origin" in "yocto	https://git.yoctoproject.org/git/poky (fetch)
yocto	https://git.yoctoproject.org/git/poky (push)
"
2016-10-19 11:54:17,696 ERROR The toaster config file references the local git repo, but Toaster cannot detect it.
Your local configuration for bitbake version krogoth is invalid. Make sure that the toasterconf.json file is correct.
ERROR:toaster:The toaster config file references the local git repo, but Toaster cannot detect it.
Your local configuration for bitbake version krogoth is invalid. Make sure that the toasterconf.json file is correct.
WARNING:root:Error while looking for remote "origin" in "yocto	https://git.yoctoproject.org/git/poky (fetch)
yocto	https://git.yoctoproject.org/git/poky (push)
"
2016-10-19 11:54:17,699 ERROR The toaster config file references the local git repo, but Toaster cannot detect it.
Your local configuration for bitbake version HEAD is invalid. Make sure that the toasterconf.json file is correct.
ERROR:toaster:The toaster config file references the local git repo, but Toaster cannot detect it.
Your local configuration for bitbake version HEAD is invalid. Make sure that the toasterconf.json file is correct.
WARNING:root:Error while looking for remote "origin" in "yocto	https://git.yoctoproject.org/git/poky (fetch)
yocto	https://git.yoctoproject.org/git/poky (push)
"
2016-10-19 11:54:17,705 ERROR The toaster config file references the local git repo, but Toaster cannot detect it.
Your local configuration for layer openembedded-core is invalid. Make sure that the toasterconf.json file is correct.
ERROR:toaster:The toaster config file references the local git repo, but Toaster cannot detect it.
Your local configuration for layer openembedded-core is invalid. Make sure that the toasterconf.json file is correct.
WARNING:root:Error while looking for remote "origin" in "yocto	https://git.yoctoproject.org/git/poky (fetch)
yocto	https://git.yoctoproject.org/git/poky (push)
"
2016-10-19 11:54:17,711 ERROR The toaster config file references the local git repo, but Toaster cannot detect it.
Your local configuration for layer meta-poky is invalid. Make sure that the toasterconf.json file is correct.
ERROR:toaster:The toaster config file references the local git repo, but Toaster cannot detect it.
Your local configuration for layer meta-poky is invalid. Make sure that the toasterconf.json file is correct.
WARNING:root:Error while looking for remote "origin" in "yocto	https://git.yoctoproject.org/git/poky (fetch)
yocto	https://git.yoctoproject.org/git/poky (push)
"
2016-10-19 11:54:17,716 ERROR The toaster config file references the local git repo, but Toaster cannot detect it.
Your local configuration for layer meta-yocto-bsp is invalid. Make sure that the toasterconf.json file is correct.
ERROR:toaster:The toaster config file references the local git repo, but Toaster cannot detect it.
Your local configuration for layer meta-yocto-bsp is invalid. Make sure that the toasterconf.json file is correct.


So either there is a problem with the script doing the checking or with the default config file.  
$ ../sources/poky/bitbake/lib/toaster/manage.py loadconf --version
1.8.15
Who know what is really wants to see in that file.  I will try either working out how to write a new toasterconf.json file that does not generate a bunch of complains or see if getting the /admin/ web interface working suggests something helpful.  I can see the login page for that but I have no idea what credentials to enter yet. 


Regards, Tom Thorne 


More information about the meta-freescale mailing list