mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
f85654a82f
This patch adds support for optionally building EFI binaries in addition to Multiboot ELF binaries. It includes a script, build_uefi.sh, that downloads tool and library sources from the EDK II project, builds the GenFw tool that is used to create UEFI binaries, and creates a makefile that is included from the main x86 common makefile and enables UEFI support in the Contiki build system. If the script is not run prior to building Contiki, then an informational message will be displayed with instructions for running build_uefi.sh if UEFI support is desired. This patch also adds the path to the auto-generated makefile to .gitignore. This patch modifies the linker script for the Intel Quark X1000 to account for the output file section offsets and alignment expectations of the EDK II GenFw project. This patch also adds a newlib patch to remove the weak symbol attribute from floating point stdio support routines. See <newlib>/newlib/README for an explanation of how the newlib developers intended for _printf_float and _scanf_float to be linked. Newlib declares them as weak symbols with the intention that developers would force them to be linked only when needed using a linker command line option. However, some but not all Contiki programs require them, so we cannot simply always include or exclude them. Instead, we remove the weak symbol attributes and rely on the linker to automatically determine whether or not they should be linked. This avoids an issue in which weak symbols were undefined in the intermediate DLL generated as part of the UEFI build process. That resulted in the GenFw program emitting "ERROR 3000" messages when it encountered relocations referencing such an undefined symbol. Finally, this patch updates README.md to both make some revisions to account for the UART support introduced in previous patches as well as to provide instructions for using the UEFI support.
130 lines
1.7 KiB
Plaintext
130 lines
1.7 KiB
Plaintext
*.a
|
|
*.bin
|
|
*.map
|
|
*.png
|
|
*.log
|
|
*.elf
|
|
*.zip
|
|
*.d
|
|
*.ihex
|
|
*.pyc
|
|
*.redbee-econotag
|
|
*.econotag
|
|
*.native
|
|
*.z1
|
|
*.minimal-net
|
|
*.sky
|
|
*.wismote
|
|
*.esb
|
|
*.avr-raven
|
|
*.exp5438
|
|
*.mbxxx
|
|
*.win32
|
|
*.apple2enh
|
|
*.atarixl
|
|
*.c128
|
|
*.c64
|
|
*.cc2538dk
|
|
*.zoul
|
|
*.jn516x
|
|
*.srf06-cc26xx
|
|
*.ev-aducrf101mkxz
|
|
*.report
|
|
summary
|
|
*.summary
|
|
*.runerr
|
|
*.runlog
|
|
*.faillog
|
|
*.orig
|
|
*~
|
|
.DS_Store
|
|
obj_*
|
|
symbols.*
|
|
Makefile.target
|
|
doc/html
|
|
doc/latex
|
|
patches-*
|
|
tools/tunslip
|
|
tools/tunslip6
|
|
build
|
|
tools/coffee-manager/build/
|
|
tools/cooja/dist/
|
|
tools/collect-view/build/
|
|
tools/collect-view/dist/
|
|
COOJA.testlog
|
|
tools/cooja/apps/mrm/lib/
|
|
tools/cooja/apps/mspsim/lib/
|
|
tools/cooja/apps/powertracker/lib/
|
|
tools/cooja/apps/serial_socket/lib/
|
|
tools/coffee-manager/coffee.jar
|
|
tools/cooja/apps/avrora/lib/cooja_avrora.jar
|
|
tools/cooja/apps/collect-view/cooja-collect-view.jar
|
|
|
|
# sdcc build artifacts
|
|
contiki-sensinode.lib
|
|
contiki-cc2530dk.lib
|
|
*.ihx
|
|
*.hex
|
|
*.mem
|
|
*.lk
|
|
*.omf
|
|
*.cdb
|
|
*.banks
|
|
*.sensinode
|
|
*.cc2530dk
|
|
|
|
# VC++ build artifacts
|
|
*.exp
|
|
*.ilk
|
|
*.lib
|
|
*.pdb
|
|
*.prg
|
|
*.dsc
|
|
|
|
#cc65 build artifacts
|
|
*.S
|
|
*.eth
|
|
*.dsk
|
|
*.po
|
|
*.atr
|
|
*.d64
|
|
*.d71
|
|
*.d81
|
|
|
|
# Cooja Build Artifacts
|
|
*.cooja
|
|
|
|
#regression tests artifacts
|
|
*.testlog
|
|
*.log.prog
|
|
regression-tests/[0-9][0-9]-*/report
|
|
regression-tests/[0-9][0-9]-*/org/
|
|
|
|
# rl78 build artifacts
|
|
*.eval-adf7xxxmb4z
|
|
*.eval-adf7xxxmb4z.srec
|
|
|
|
# cscope files
|
|
cscope.*
|
|
|
|
# vim swap files
|
|
*.swp
|
|
*.swo
|
|
|
|
# x86 UEFI files
|
|
cpu/x86/uefi/Makefile.uefi
|
|
cpu/x86/uefi/edk2
|
|
|
|
# galileo bsp files
|
|
platform/galileo/bsp/libc/Makefile.libc
|
|
platform/galileo/bsp/libc/i586-elf/
|
|
platform/galileo/bsp/libc/newlib-2.2.0-1*
|
|
platform/galileo/bsp/grub/src/
|
|
platform/galileo/bsp/grub/bin/
|
|
|
|
# galileo build and debug artefacts
|
|
*.galileo
|
|
*.galileo.dll
|
|
*.galileo.efi
|
|
LOG_OPENOCD
|