Category Archives: EU

lynxis: Bisecting coreboot with LAVA

Since long time ago I was inspired of the features of LAVA (Linaro Automated Validation). Lava was developed by Linaro to do automatic test on real hardware. It's written in python and based on a lot small daemons and one django application. It's scheduling submitted tests on hardware depending on the rights and availability. Setting up an own instance isn't so hard, there is an video howto. But Lava is changing it's basic device model to pipeline devices to make it more flexible because the old device model was quite limited. Our instance is available under https://lava.coreboot.org. Atm. there is only one device (x60) and we're looking for help to add more devices.

coreboot is under heavy development around 200 commits a month. Sometime breaks, most time because somebody refactored code and made it simpler. There are many devices supported by coreboot, but commits aren't tested on every hardware. Which means it broke on some hardware. And here the bisect loop begins.

Lava is the perfect place to do bisecting. You can submit a Testjob via commandline, track Job and wait until it's done. Lava itself takes cares that a job doesn't take to long. To break down the task into smaller peaces:

  • checkout a revision
  • compile coreboot
  • copy artefact somewhere where Lava can access it (http-server)
  • submit a lava testjob
  • lava deploys your image and do some tests

Git itself supplies a command for bisecting and can run a certain script. So git-bisect does the binary search for the broken revision, checks out the next commit which needs to be tested. git bisect run a small script and uses the return code to know if this is a good or bad revision. Or if the compilation fails, skip revision.

Before the bisecting can begin, it needs a Lava Test Job written in yml. Under https://github.com/lynxis/coreboot-lava-bisect is my x60 bisect script together with a Lava Test Job for the x60. It only checks if coreboot is booting. But you might want to test something else, is the cdrom is showing up? Is the wifi card properly detected? Checkout the lava documentation for more information about how to write a Lava Testjob or a Lava Test.

To communicate with Lava on the shell you need to have lava-tool running on your workstation. See https://validation.linaro.org/static/docs/overview.html

With lava-tool submit-job $URL job.yml you can submit a job and get the JobId. And check the status of your job with lava-tool job-status $URL $JOBID. Depending on the job-status the script must set the exit code. My bisect script for coreboot is https://github.com:lynxis/coreboot-lava-bisect

cd coreboot
# CPU make -j$CPU
export CPU=4
# your login user name for the lava.coreboot.org
# you can also use LAVAURL="https://$LAVAUSER@lava.coreboot.fe80.eu/RPC2"
export LAVAUSER=lynxis
# used by lava to download the coreboot.rom
export COREBOOTURL=https://fe80.eu/bisect/coreboot.rom
# used as a target by *scp*
export COREBOOT_SCP_URL=lynxis@fe80.eu:/var/www/coreboot.rom
git bisect start
git bisect bad <REV>
git bisect good <REV>
git bisect run /path/to/this/dir/bisect.sh

lynxis: Bisecting coreboot with LAVA

Since long time ago I was inspired of the features of LAVA (Linaro Automated Validation). Lava was developed by Linaro to do automatic test on real hardware. It's written in python and based on a lot small daemons and one django application. It's scheduling submitted tests on hardware depending on the rights and availability. Setting up an own instance isn't so hard, there is an video howto. But Lava is changing it's basic device model to pipeline devices to make it more flexible because the old device model was quite limited. Our instance is available under https://lava.coreboot.org. Atm. there is only one device (x60) and we're looking for help to add more devices.

coreboot is under heavy development around 200 commits a month. Sometime breaks, most time because somebody refactored code and made it simpler. There are many devices supported by coreboot, but commits aren't tested on every hardware. Which means it broke on some hardware. And here the bisect loop begins.

Lava is the perfect place to do bisecting. You can submit a Testjob via commandline, track Job and wait until it's done. Lava itself takes cares that a job doesn't take to long. To break down the task into smaller peaces:

  • checkout a revision
  • compile coreboot
  • copy artefact somewhere where Lava can access it (http-server)
  • submit a lava testjob
  • lava deploys your image and do some tests

git-bisect does the binary search for the broken revision, checks out the next commit which needs to be tested. But somebody have to tell git-bisect if this is a good or bad revision. Or you use git bisect run. git bisect run a small script and uses the return code to know if this is a good or bad revision. There is also a third command skip, to skip the revision if the compilation fails. git-bisect would do the full bisect job, but to use lava, it needs a Lava Test Job. Under https://github.com/lynxis/coreboot-lava-bisect is my x60 bisect script together with a Lava Test Job for the x60. It only checks if coreboot is booting. But you might want to test something else. Is the cdrom is showing up? Is the wifi card properly detected? Checkout the lava documentation for more information about how to write a Lava Testjob or a Lava Test.

To communicate with Lava on the shell you need to have lava-tool running on your workstation. See https://validation.linaro.org/static/docs/overview.html

With lava-tool submit-job $URL job.yml you can submit a job and get the JobId. And check the status of your job with lava-tool job-status $URL $JOBID. Depending on the job-status the script must set the exit code. My bisect script for coreboot is https://github.com/lynxis/coreboot-lava-bisect

cd coreboot
# CPU make -j$CPU
export CPU=4
# your login user name for the lava.coreboot.org
# you can also use LAVAURL="https://$LAVAUSER@lava.coreboot.fe80.eu/RPC2"
export LAVAUSER=lynxis
# used by lava to download the coreboot.rom
export COREBOOTURL=https://fe80.eu/bisect/coreboot.rom
# used as a target by *scp*
export COREBOOT_SCP_URL=lynxis@fe80.eu:/var/www/bisect/coreboot.rom
git bisect start
git bisect bad <REV>
git bisect good <REV>
git bisect run /path/to/this/dir/bisect.sh

Brewers “Equipment Day” (Saturday March 12th, 2pm)

We are having an informal “brewing equipment day” on March 12th in the new TOG space at 2pm. The goal is to meet up for a few hours to clean up a corner to store the brewing equipment. This is an opportunity for people who had offered to donate brewing equipment to TOG to bring in their gear and give it a home. We will also be giving tours of the space to show anyone around who hasn’t seen the space yet. In short this is what we will be doing:

– Clean up the potential brewing corner
– Give tours of the space to those who haven’t seen it yet
– Make an inventory of all of the brewing equipment
– Label all of the equipment
– Make a plan/list of what else we need if anything
– Pick a date for the first brew-day of the new space

The goal of the brewers within TOG is to establish and maintain a high end brewing system to give brewers of all levels access to equipment that they might not have at home. This would enable all members to brew beer, wine, mead or cider in the space without needing to own any equipment, they merely need to purchase ingredients. As the spring/summer approaches we will start up the monthly brew days again with a bit more structure. We will brew a beer in advance for the open socials along with members brewing their own beer too.

Goodbye Old TOG, Hello New

At the stroke of midnight just past, the original TOG organisation that was started back in 2009 ceased to be. At our AGM in January, we voted to wind up that organisation. From today, our new TOG Hackerspace DAC will continue to take us forward.

Last summer we started a process of building a new legal and organisational structure that would better serve the members and the organisation itself. We started a new company with a new constitution, elected directors and moved to a new space with a new lease. We set up a new bank account, created a new method for members to join and restarted all of our regular evenings and events. If you’re interested in joining us, drop in to see us anytime or contact us online. We’ll be glad to give you a tour of our space and tell you about some of our activities.

Elektronenrad: Cargo Circus 2016!

Ab März ist der Cargo Circus wieder regulär geöffnet. Wie gewohnt gibt es feinstes Lastenrad am Stück.

Zur Probefahrt in unserer Filiale in Berlin stehen bereit:

  • KIFFY Fix Nummer 1
  • eBullitt Shimano STePS mit Alfine 8 DI-2 und BionX P-Serie mit Deore
  • Urban Arrow Family mit aktuellem BOSCH active Motor
  • BULLITT Race Alfine8 mit Gates Carboon Drive CRX und Pepper XT(!)
  • Bicicapace Speciale ala Sig. Francesco
  • und NEU 2016 ständig ab Lager verfügbar: All Colors, all Extras!!!

Elektronenrad: Cargo Circus 2016!

Elektronenrad: Cargo Circus 2016!

Maker Faire UK 2016

We are delighted to have been accepted to showcase our projects at Maker Faire UK. Being the largest Maker Faire in the UK, its a huge gathering of all sorts of makers. We always have a great time talking to the public and seeing our fellow hackerspaces.

This will be our 4th year showing casing at the event.  Last year we were trilled to find other Irish makers also there (Mint Tek). We hope this year will be no different.

This year we will be showing a range of wearables and a arduino powered panel clock. We are super proud that our project from last year is now featured on the Maker Faire UK home page. Can you tell which one it is ?

 

 

 

Monday,Tuesday and Thursday

We hebben natuurlijk al iedere dinsdag onze meetup waar wekelijks onze leden bij elkaar komen (en iedereen van harte welkom is om een kijkje te nemen bij TkkrLab). We hebben het programma uitgebreid met :

Blender Monday

Voor de liefhebbers van Blender (open source 3D software) houden we iedere maandag vanaf 20:00 bijeenkomst. Neem je laptop mee en ga zelf of samen aan de slag met tutorials en ander materiaal. Mocht je vast lopen is er wel iemand die je verder kan helpen.

Voor meer informatie zie onze wiki

Code & Cookies (on Thursday)

Code & Cookies is een informele wekelijkse bijeenkomst op donderdag van (web)programmeurs die met elkaar willen sparren over de ‘uitdagingen’ die ze dagelijks tegenkomen. Dit kan variëren van eenvoudige problemen tot heilige oorlogen over welk framework beter is.

Voor meer informatie zie onze wiki

ESP – Party! 1.3.’16

hi all,

nächsten dienstag 17:00 Uhr wollen wir zusammen unsere ESP 8266 zum rennen bringen

kommt alle.



mitbringen:
- ESP 8266
- breadboards
- 3,3 V quellen
- FTDI 232 USB - seriell adapter
- jumper wires

the internet of all the things!

ESP - Party! 1.3.'16

5 Jarig bestaan / Open dag

5 jarig bestaan TkkrLab

Zaterdag 19 maart vanaf 15:00 tot 00:00
We houden een informeel feestje ter ere van ons 5-jarig bestaan. We gaan er een gezellige avond van maken met Club Mate, chiptunes, veel LED’s, Powerpoint karaoke, projector games and more. 
Wil je komen, schrijf je dan in op https://tkkrlab.nl/wiki/TkkrLab_0x5_Jaar

Open dag

Op zaterdag 26 maart van 11:00-20:00u houdt TkkrLab voor de 5e keer een open dag. TkkrLab is een maker / hackerspace waar creatieve geïnteresseerden voor techniek bij elkaar komen om elkaar te ontmoeten en hun projecten te maken. Tijdens de open dag laten we zien wat we in onze ruimte doen en mag je eventueel meteen meedoen.
Activiteiten voor deze dag zijn:  
  • Ervaar hoe je zelf een maker kan zijn tijdens onze doorlopende workshops Arduino, solderen (€5) en programmeren in Scratch.
  • Presentaties van de projecten die bij TkkrLab door onze leden zijn gemaakt, zoals onze 3D printer, diverse electronica- / LED-projecten, zelfgebouwde CNC en Internet of Things gadgets.
  • Uitleg over gebruik van ons gereedschap, zoals 3D-printer, lasersnijder, reflow oven en electronicalab. 
  • Discussie over onderwerpen zoals encryptie, privacy op internet en toekomstige (internet)wetgeving en de invloed hiervan op onze samenleving.
Laat je inspireren door onze enthousiaste makers / hackers en de mooie creaties die ze maken. Dit doen we door onze gemeenschappelijke kennis en ervaring te delen met elkaar, onze bezoekers en via het internet. Mocht dit allemaal te veel techniek worden kun je weer tot rust komen in onze lounge onder genot van een verfrissende Club Mate en een retro game.
Mocht je de open dag hebben gemist en wil je toch een keertje komen kijken? We zijn iedere dinsdagavond open, je bent dan ook van harte welkom om langs te komen.

 

Prove your knowledge at the Nottinghack Nerdy Pub Quiz

Do you know your Cylons from your Cybermen?

Your Elder Gods from your Elder Ones?

Your C# from your C++?

Your Sonic from your Sanic?

Then join us at our first Nerdy Pub Quiz!

Our Nerdy Pub Quiz will take place on Friday, 11 March, starting at 8pm.

Rounds will include video games, programming, robotics, music, picture round, and the potato disco round!

Teams can be up to 6 people, and it’s only £4 per person (or £5 if you want a bottle of beer). Beer and soft drinks will be available to purchase, and tickets are available now through EventBrite.

All proceeds are going to support Hackspace 2.5, our expansion plans.

So sign up, join us, and nerd out!