• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Tatsh / hello-world-efi / #66
100%

Build:
DEFAULT BRANCH: master
Ran 08 May 2026 04:27AM UTC
Jobs 1
Files 1
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 May 2026 04:09AM UTC coverage: 100.0%. Remained the same
#66

push

travis-ci

Tatsh
project: produce a working UEFI-bootable hello.iso

The previous build produced an ISO9660 disc with no UEFI boot record,
so OVMF refused to mount it (only `BLK0:` ever appeared in the EFI
Shell). Even when forced to load, `hello.efi` contained no
application code: gnu-efi's `crt0` references `efi_main` only through
the runtime relocation table, which `ld`'s archive scanner ignores,
so a `STATIC` library member was silently dropped from the link.

- Embed a FAT image containing `EFI/BOOT/BOOTX64.EFI` and expose it
  via El Torito (platform 0xEF) so UEFI firmware auto-executes the
  application. Detect `xorrisofs`, `mkisofs`, or `genisoimage`; skip
  the `hello.iso` target if `mtools` or all three writers are
  missing.
- Switch the application library to `OBJECT` so `efi_main` is
  statically resolved. Use split `-I elf64-x86-64 -O efi-app-x86_64`
  for `objcopy`, which current binutils requires.
- Greet, prompt for a keypress, list GOP modes and framebuffer
  information, prompt again, clear the screen, then return. Drop the
  `SetMode(12)` call that wiped earlier output.
- Update `test.c` for the new flow with a fake `EFI_SYSTEM_TABLE` and
  `__wrap_efi_call1`. Add `efi_call1` to the `--wrap` list and the
  per-arch include path so the test target builds. Line coverage on
  `main.c` stays at 100%.
- Document the new build dependencies and the auto-boot QEMU flow in
  `README.md`.

Signed-off-by: Andrew Udvare <audvare@gmail.com>

13 of 13 new or added lines in 1 file covered. (100.0%)

36 of 36 relevant lines covered (100.0%)

2.03 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #66.1 08 May 2026 04:27AM UTC 1
100.0
Source Files on build #66
  • Tree
  • List 1
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • dce0312a on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc