Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Automated testing of firmware installation and update scenarios for peripheral devices
KTH, School of Electrical Engineering and Computer Science (EECS).
2019 (English)Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE creditsStudent thesisAlternative title
Automatisering av enhetsinstallation, uppdatering och testning med hjälp av virtuella maskiner (Swedish)
Abstract [en]

This research presents an approach to transition from manual to automated testing of hardware specific firmware. The manual approach for firmware testing can be repetitive and time consuming. A significant proportion of the time is spent on cleaning and re-installing operating systems so that old firmware does not interfere with the newer firmware that is being tested. The approach in this research utilizes virtual machines and presents an automation framework. One component of the automation framework is an application to imitate connected peripheral devices to bypass hardware dependencies of firmware installers. The framework also consists of automation and pipeline scripts with the objective to execute firmware installers and detect errors and abnormalities in the installation and updating processes. The framework can run on locally hosted virtual machines, but is most applicable using cloud hosted virtual machines, where it is part of a continuous integration that builds, downloads, installs, updates and tests new firmware versions, in a completely automated manner.

The framework is evaluated by measuring and comparing execution times with manually conducted installation and updating tests, and the result shows that the framework complete tests much faster than the manual approach. Another evaluation in terms of scalability is made where speedup is measured. It is however concluded that scalability does not necessarily depend on the performance and resource allocation of systems, but rather how well it can be expanded and used for future devices and functionalities.

Abstract [sv]

Föreliggande uppsats presenterar ett tillvägagångssätt för att övergå från manuella till automatiserade tester av hårdvaruspecifik installationsmjukvara. Manuella mjukvarutester kan vara tidskrävande då det ofta krävs ominstallation av systemets operativsystem för att förhindra att äldre mjukvara ska påverka den nyare mjukvaran som ska testas. Uppsatsen presenterar en lösning där virtuella maskiner och ett automatiseringsramverk används. Ramverket består bland annat av en applikation som härmar anslutna enheter för att kringgå det hårdvaruberoende installationsmjukvara kan ha. Ramverket innehåller även ett flertal automatiseringsskript för att exekvera och felsöka installationsmjukvara. Ramverket kan köras på stationära datorer men det största användningsområdet finns i en kontinuerlig integration som bygger, laddar ned, installerar, uppdaterar och testar den senaste mjukvaruversionen på ett helt automatiserat sätt.

Ramverket utvärderades genom att mäta och jämföra körtider med manuellt genomförda installations-och uppdateringstester. Ramverket utvärderades även med avseende på skalbarhet med ’speedup’ som mått. Det konstaterades dock att skalbarhet inte nödvändigtvis måste bero på systemets prestanda och resursfördelning, utan snarare hur bra det kan användas för framtida enheter och funktioner.

Place, publisher, year, edition, pages
2019. , p. 49
Series
TRITA-EECS-EX ; 2019:665
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:kth:diva-265001OAI: oai:DiVA.org:kth-265001DiVA, id: diva2:1376673
External cooperation
Tobii AB
Educational program
Master of Science in Engineering - Information and Communication Technology
Supervisors
Examiners
Available from: 2020-01-17 Created: 2019-12-10 Last updated: 2020-01-23Bibliographically approved

Open Access in DiVA

fulltext(890 kB)15 downloads
File information
File name FULLTEXT01.pdfFile size 890 kBChecksum SHA-512
372218dc1df5f13c0af5d37d28ff18fd20f32ea1c6cebfcde383a33546f76da698450ee9fcd32ac58f0f4b7b0461efde18f9924730239ee4ee2157bf561e2da2
Type fulltextMimetype application/pdf

By organisation
School of Electrical Engineering and Computer Science (EECS)
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 15 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 35 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf