I continued trying to get Toaster to work last week. 

I found that by cloning a fresh poky work area directly from the yocto project 
main repository I was able to include the meta-fsl-arm layer from their servers 
(which I think is a direct mirror of the GitHub one) and build an image.  I 
targeted the ls1021atwr machine in my toaster build.  

I am sure that with some manipulation of the toasterconf.json file, it would be 
possible to use the freescale work area layout as generated by repo.  If I make 
progress in that area I will update this thread or possibly generate a patch 
for the toasterconf.json file.  

Thomas A. F. Thorne  Software Engineer  Net2Edge

-----Original Message-----
From: Thomas Thorne 
Sent: 19 October 2016 12:45
To: Thomas Thorne <[email protected]>; Daiane Angolini 
<[email protected]>; Gustavo Ramon Arambula Aguilar 
<[email protected]>
Cc: [email protected]
Subject: RE: [meta-freescale] Help using toaster

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 
-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to