[tbot] Question regarding BBB (beagle bone black) tbot deployment

Harald Seiler hws at denx.de
Mon Jan 14 14:46:45 UTC 2019


Hello Lukasz,

On Mon, 2019-01-14 at 15:39 +0100, Lukasz Majewski wrote:
> Hi Heiko,
> 
> > Hello Lukasz,
> > 
> > Am 14.01.2019 um 14:02 schrieb Lukasz Majewski:
> > > Dear All,
> > > 
> > > I'd like to ask you if is there any meta-* layer for BBB (which
> > > works with out of the box poky/meta-yocto-bsp layer) to create
> > > core-image*.wic file for Beagle Bone Black ?
> > > 
> > > The wic file is supposed to run from the SD card.
> > > 
> > > Thanks in advance for help.  
> > 
> > Hmm.. isn;t the BBB a yocto reference board which should work out of
> > the box?
> 
> Yes. BBB is a yocto/OE reference board and has meta-yocto-bsp support.
> 
> The above is one reason - the second reason for using it is no running
> parts on it (silence :-) ).
> 
> > I have here a BBB board, but did for some times no real tests, but saw
> > in my old tbot config files (beside using meta-xenomai from Marek)
> > no other meta layer used than "meta-openembedded"
> 
> I read your manual for old tbot:
> https://www.tbot.tools/bbb_guide.html
> 
> As fair as I can see it uses python 2.7.
> 
> Unfortunately, new one https://rahix.de/tbot/install.html [*]
> 
> relies on python3. At lease on my setup, I do need pathlib and ntpath
> modules.
> 

New tbot requires python 3.6+.  I use a lot of features introduced
in 3.6 which means that I can't support older versions.

> 
> BTW: What is the "blessed" version of python3?
> 
> The "thud" provides:
> Python 3.5.6 (default, Jan 12 2019, 22:41:06) 
> [GCC 8.2.0] on linux
> 
> When I do install paramiko via pip3 (as advised in [*]), I do see
> following error:
> 
> root at beaglebone-yocto:~/tbot# python3 setup.py install --user
> random: python3: uninitialized urandom read (24 bytes read)
>   File "setup.py", line 8
>     about: typing.Dict[str, str] = {}
>          ^
> SyntaxError: invalid syntax
> 

Yes, this fails because type-annotations (what you are seeing in that
error message) were introduced in python 3.6 while you try to run the
code on 3.5.  That won't be possible, I'm afraid ...

> Any help?
> 
> (I'm also now testing the "stock" debian 9 image from beaglebone.org
> webpage).

I am not quite sure what you are trying to do.  Do you intend to run
tbot *on* the BBB?  Is your plan to use the BBB as a kind of CI runner?


> > Also I had a fix sometime ago for the BBB console, see:
> > 
> > http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=81e48b24dd9c97a3bdda3b4140f8e2bda29d24da
> > 
> > bye,
> > Heiko
> 
> Best regards,
> 
> Lukasz Majewski
> 

Cheers,
-- 
	Harald

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-62  Fax: +49-8142-66989-80   Email: hws at denx.de 



More information about the tbot mailing list