From b766f08cf3f3ba4f89bf5e2bb992e58260f17719 Mon Sep 17 00:00:00 2001 From: Johnathan Van Why Date: Wed, 7 Jun 2023 15:34:47 -0700 Subject: [PATCH] Add license headers to `.ld` files. --- .lcignore | 2 -- boards/acd52832/layout.ld | 4 ++++ boards/apollo3/lora_things_plus/layout.ld | 4 ++++ boards/apollo3/redboard_artemis_nano/layout.ld | 4 ++++ boards/arty_e21/layout.ld | 4 ++++ boards/clue_nrf52840/layout.ld | 4 ++++ boards/esp32-c3-devkitM-1/layout.ld | 4 ++++ boards/hail/chip_layout.ld | 4 ++++ boards/hail/layout.ld | 4 ++++ boards/hifive1/layout.ld | 4 ++++ boards/hifive_inventor/layout.ld | 4 ++++ boards/imix/chip_layout.ld | 4 ++++ boards/imix/layout.ld | 4 ++++ boards/imxrt1050-evkb/chip_layout.ld | 4 ++++ boards/imxrt1050-evkb/layout.ld | 4 ++++ boards/kernel_layout.ld | 4 ++++ boards/litex/arty/layout.ld | 4 ++++ boards/litex/sim/layout.ld | 4 ++++ boards/microbit_v2/layout.ld | 4 ++++ boards/msp_exp432p401r/chip_layout.ld | 4 ++++ boards/msp_exp432p401r/layout.ld | 4 ++++ boards/nano33ble/layout.ld | 4 ++++ boards/nano_rp2040_connect/layout.ld | 4 ++++ boards/nordic/nrf52832_chip_layout.ld | 4 ++++ boards/nordic/nrf52840_chip_layout.ld | 4 ++++ boards/nordic/nrf52840_dongle/layout.ld | 4 ++++ boards/nordic/nrf52840dk/layout.ld | 4 ++++ boards/nordic/nrf52dk/layout.ld | 4 ++++ boards/nucleo_f429zi/chip_layout.ld | 4 ++++ boards/nucleo_f429zi/layout.ld | 4 ++++ boards/nucleo_f446re/chip_layout.ld | 4 ++++ boards/nucleo_f446re/layout.ld | 4 ++++ boards/opentitan/earlgrey-cw310/layout.ld | 4 ++++ boards/opentitan/earlgrey-cw310/test_layout.ld | 4 ++++ boards/particle_boron/layout.ld | 4 ++++ boards/pico_explorer_base/layout.ld | 4 ++++ boards/qemu_rv32_virt/layout.ld | 4 ++++ boards/raspberry_pi_pico/layout.ld | 4 ++++ boards/redboard_redv/layout.ld | 4 ++++ boards/sma_q3/layout.ld | 4 ++++ boards/stm32f3discovery/chip_layout.ld | 4 ++++ boards/stm32f3discovery/layout.ld | 4 ++++ boards/stm32f412gdiscovery/chip_layout.ld | 4 ++++ boards/stm32f412gdiscovery/layout.ld | 4 ++++ boards/stm32f429idiscovery/chip_layout.ld | 4 ++++ boards/stm32f429idiscovery/layout.ld | 4 ++++ boards/swervolf/layout.ld | 4 ++++ boards/teensy40/layout.ld | 4 ++++ boards/weact_f401ccu6/layout.ld | 4 ++++ 49 files changed, 192 insertions(+), 2 deletions(-) diff --git a/.lcignore b/.lcignore index 0fdcab4105..585040b555 100644 --- a/.lcignore +++ b/.lcignore @@ -34,7 +34,5 @@ # File types that the license checker does not support but should support (see # issue #3417) -*.ld -!/tools/license-checker/testdata/block_comments.ld *.xml !/tools/license-checker/testdata/block_comments.xml diff --git a/boards/acd52832/layout.ld b/boards/acd52832/layout.ld index cede59a8c4..9f56cf4afa 100644 --- a/boards/acd52832/layout.ld +++ b/boards/acd52832/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* Memory Space Definitions, 512K flash, 64K ram */ MEMORY { diff --git a/boards/apollo3/lora_things_plus/layout.ld b/boards/apollo3/lora_things_plus/layout.ld index dfb4ee9c9d..62f0b5d017 100644 --- a/boards/apollo3/lora_things_plus/layout.ld +++ b/boards/apollo3/lora_things_plus/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + MEMORY { rom (rx) : ORIGIN = 0x0000C000, LENGTH = 0x00030000 diff --git a/boards/apollo3/redboard_artemis_nano/layout.ld b/boards/apollo3/redboard_artemis_nano/layout.ld index dfb4ee9c9d..62f0b5d017 100644 --- a/boards/apollo3/redboard_artemis_nano/layout.ld +++ b/boards/apollo3/redboard_artemis_nano/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + MEMORY { rom (rx) : ORIGIN = 0x0000C000, LENGTH = 0x00030000 diff --git a/boards/arty_e21/layout.ld b/boards/arty_e21/layout.ld index 85be82e497..2a1f31fa67 100644 --- a/boards/arty_e21/layout.ld +++ b/boards/arty_e21/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + MEMORY { rom (rx) : ORIGIN = 0x40400000, LENGTH = 0x00030000 diff --git a/boards/clue_nrf52840/layout.ld b/boards/clue_nrf52840/layout.ld index 07ac47aa49..155ce70074 100644 --- a/boards/clue_nrf52840/layout.ld +++ b/boards/clue_nrf52840/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + MEMORY { # Make space for the UF2 bootloader (152K) diff --git a/boards/esp32-c3-devkitM-1/layout.ld b/boards/esp32-c3-devkitM-1/layout.ld index 2327bf1410..817a10501d 100644 --- a/boards/esp32-c3-devkitM-1/layout.ld +++ b/boards/esp32-c3-devkitM-1/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + MEMORY { rom (rx) : ORIGIN = 0x40380000, LENGTH = 0x30000 diff --git a/boards/hail/chip_layout.ld b/boards/hail/chip_layout.ld index 4979b83422..14f528c9ac 100644 --- a/boards/hail/chip_layout.ld +++ b/boards/hail/chip_layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* Memory Spaces Definitions, 448K flash, 64K ram */ /* Bootloader is at address 0x00000000 */ MEMORY diff --git a/boards/hail/layout.ld b/boards/hail/layout.ld index 234dcaea2c..6814c00acd 100644 --- a/boards/hail/layout.ld +++ b/boards/hail/layout.ld @@ -1,2 +1,6 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + INCLUDE ./chip_layout.ld INCLUDE ../kernel_layout.ld diff --git a/boards/hifive1/layout.ld b/boards/hifive1/layout.ld index 43b4d72c1a..4be3945554 100644 --- a/boards/hifive1/layout.ld +++ b/boards/hifive1/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* The HiFive1a board has 512 MB of flash. The first 0x400000 is reserved for * the default bootloader provided by SiFive. We also reserve room for apps to * make all of the linker files work, but don't really support them on this diff --git a/boards/hifive_inventor/layout.ld b/boards/hifive_inventor/layout.ld index 0f68d9831d..dd16de43aa 100644 --- a/boards/hifive_inventor/layout.ld +++ b/boards/hifive_inventor/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* The HiFive inventor board has 512 MiB of flash and 64 KiB of RAM. */ diff --git a/boards/imix/chip_layout.ld b/boards/imix/chip_layout.ld index 4b8c311829..195403e389 100644 --- a/boards/imix/chip_layout.ld +++ b/boards/imix/chip_layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* Memory Spaces Definitions, 448K flash, 64K ram */ /* Use bootloader starting at 0x0000 */ MEMORY diff --git a/boards/imix/layout.ld b/boards/imix/layout.ld index 234dcaea2c..6814c00acd 100644 --- a/boards/imix/layout.ld +++ b/boards/imix/layout.ld @@ -1,2 +1,6 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + INCLUDE ./chip_layout.ld INCLUDE ../kernel_layout.ld diff --git a/boards/imxrt1050-evkb/chip_layout.ld b/boards/imxrt1050-evkb/chip_layout.ld index 9eda2a091d..8918f5709e 100644 --- a/boards/imxrt1050-evkb/chip_layout.ld +++ b/boards/imxrt1050-evkb/chip_layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* Memory layout for the i.MX RT 1050 EVKB * rom = 2MB (LENGTH = 0x02000000) * kernel = 256KB diff --git a/boards/imxrt1050-evkb/layout.ld b/boards/imxrt1050-evkb/layout.ld index 234dcaea2c..6814c00acd 100644 --- a/boards/imxrt1050-evkb/layout.ld +++ b/boards/imxrt1050-evkb/layout.ld @@ -1,2 +1,6 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + INCLUDE ./chip_layout.ld INCLUDE ../kernel_layout.ld diff --git a/boards/kernel_layout.ld b/boards/kernel_layout.ld index 254c343aa0..9fa17104f7 100644 --- a/boards/kernel_layout.ld +++ b/boards/kernel_layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* * This is the generic linker script for Tock. For most developers, it should * be sufficient to define {ROM/PROG/RAM}_{ORIGIN/LENGTH} (6 variables, the diff --git a/boards/litex/arty/layout.ld b/boards/litex/arty/layout.ld index 3b0e52f09d..de22551394 100644 --- a/boards/litex/arty/layout.ld +++ b/boards/litex/arty/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* The entire memory is actually placed into DRAM by the bootloader */ MEMORY diff --git a/boards/litex/sim/layout.ld b/boards/litex/sim/layout.ld index 42a801a835..6ad9d950f4 100644 --- a/boards/litex/sim/layout.ld +++ b/boards/litex/sim/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* RAM starts at 0x40000000, the binary is loaded into ROM at 0x0 */ MEMORY diff --git a/boards/microbit_v2/layout.ld b/boards/microbit_v2/layout.ld index 635f95eeea..b9b80d64d0 100644 --- a/boards/microbit_v2/layout.ld +++ b/boards/microbit_v2/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + MEMORY { # with bootloader diff --git a/boards/msp_exp432p401r/chip_layout.ld b/boards/msp_exp432p401r/chip_layout.ld index 422741ff61..f01d2202cb 100644 --- a/boards/msp_exp432p401r/chip_layout.ld +++ b/boards/msp_exp432p401r/chip_layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* Memory Space Definitions, 256K flash, 64K ram */ MEMORY { diff --git a/boards/msp_exp432p401r/layout.ld b/boards/msp_exp432p401r/layout.ld index 234dcaea2c..6814c00acd 100644 --- a/boards/msp_exp432p401r/layout.ld +++ b/boards/msp_exp432p401r/layout.ld @@ -1,2 +1,6 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + INCLUDE ./chip_layout.ld INCLUDE ../kernel_layout.ld diff --git a/boards/nano33ble/layout.ld b/boards/nano33ble/layout.ld index 74a7281aa4..d5950e39c4 100644 --- a/boards/nano33ble/layout.ld +++ b/boards/nano33ble/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + MEMORY { rom (rx) : ORIGIN = 0x00010000, LENGTH = 256K diff --git a/boards/nano_rp2040_connect/layout.ld b/boards/nano_rp2040_connect/layout.ld index 5549b378a3..75b23a9d07 100644 --- a/boards/nano_rp2040_connect/layout.ld +++ b/boards/nano_rp2040_connect/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + MEMORY { /* uncomment this to boot from RAM */ diff --git a/boards/nordic/nrf52832_chip_layout.ld b/boards/nordic/nrf52832_chip_layout.ld index 011d6a9db9..cecec84a38 100644 --- a/boards/nordic/nrf52832_chip_layout.ld +++ b/boards/nordic/nrf52832_chip_layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* Memory Space Definitions, 512K flash, 64K ram */ MEMORY { diff --git a/boards/nordic/nrf52840_chip_layout.ld b/boards/nordic/nrf52840_chip_layout.ld index 37c0c74d78..716a1c38ae 100644 --- a/boards/nordic/nrf52840_chip_layout.ld +++ b/boards/nordic/nrf52840_chip_layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* Memory Space Definitions, 1M flash, 256K ram */ MEMORY { diff --git a/boards/nordic/nrf52840_dongle/layout.ld b/boards/nordic/nrf52840_dongle/layout.ld index a8da375997..3eccbaa12d 100644 --- a/boards/nordic/nrf52840_dongle/layout.ld +++ b/boards/nordic/nrf52840_dongle/layout.ld @@ -1,2 +1,6 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + INCLUDE ../nrf52840_chip_layout.ld INCLUDE ../../kernel_layout.ld diff --git a/boards/nordic/nrf52840dk/layout.ld b/boards/nordic/nrf52840dk/layout.ld index a8da375997..3eccbaa12d 100644 --- a/boards/nordic/nrf52840dk/layout.ld +++ b/boards/nordic/nrf52840dk/layout.ld @@ -1,2 +1,6 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + INCLUDE ../nrf52840_chip_layout.ld INCLUDE ../../kernel_layout.ld diff --git a/boards/nordic/nrf52dk/layout.ld b/boards/nordic/nrf52dk/layout.ld index 9b6d12e935..0142c25b8a 100644 --- a/boards/nordic/nrf52dk/layout.ld +++ b/boards/nordic/nrf52dk/layout.ld @@ -1,2 +1,6 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + INCLUDE ../nrf52832_chip_layout.ld INCLUDE ../../kernel_layout.ld diff --git a/boards/nucleo_f429zi/chip_layout.ld b/boards/nucleo_f429zi/chip_layout.ld index 720a93667b..cdd58a3eed 100644 --- a/boards/nucleo_f429zi/chip_layout.ld +++ b/boards/nucleo_f429zi/chip_layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* Memory layout for the STM32F446RE * rom = 2MB (LENGTH = 0x02000000) * kernel = 256KB diff --git a/boards/nucleo_f429zi/layout.ld b/boards/nucleo_f429zi/layout.ld index 234dcaea2c..6814c00acd 100644 --- a/boards/nucleo_f429zi/layout.ld +++ b/boards/nucleo_f429zi/layout.ld @@ -1,2 +1,6 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + INCLUDE ./chip_layout.ld INCLUDE ../kernel_layout.ld diff --git a/boards/nucleo_f446re/chip_layout.ld b/boards/nucleo_f446re/chip_layout.ld index 76538c02df..3cc698939d 100644 --- a/boards/nucleo_f446re/chip_layout.ld +++ b/boards/nucleo_f446re/chip_layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* Memory layout for the STM32F446RE * rom = 512KB (LENGTH = 0x00080000) * kernel = 256KB diff --git a/boards/nucleo_f446re/layout.ld b/boards/nucleo_f446re/layout.ld index 234dcaea2c..6814c00acd 100644 --- a/boards/nucleo_f446re/layout.ld +++ b/boards/nucleo_f446re/layout.ld @@ -1,2 +1,6 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + INCLUDE ./chip_layout.ld INCLUDE ../kernel_layout.ld diff --git a/boards/opentitan/earlgrey-cw310/layout.ld b/boards/opentitan/earlgrey-cw310/layout.ld index f7dc73a0d3..c7d025c896 100644 --- a/boards/opentitan/earlgrey-cw310/layout.ld +++ b/boards/opentitan/earlgrey-cw310/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + MEMORY { rom (rx) : ORIGIN = 0x20000000, LENGTH = 0x30000 diff --git a/boards/opentitan/earlgrey-cw310/test_layout.ld b/boards/opentitan/earlgrey-cw310/test_layout.ld index 9c3797ac82..84e5be0149 100644 --- a/boards/opentitan/earlgrey-cw310/test_layout.ld +++ b/boards/opentitan/earlgrey-cw310/test_layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* * This is used when building test binaries with `make test`. * It reduces the size for apps, as we don't use apps with the test diff --git a/boards/particle_boron/layout.ld b/boards/particle_boron/layout.ld index 683dd471a3..89d8ab00fc 100644 --- a/boards/particle_boron/layout.ld +++ b/boards/particle_boron/layout.ld @@ -1,2 +1,6 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + INCLUDE ../nordic/nrf52840_chip_layout.ld INCLUDE ../kernel_layout.ld diff --git a/boards/pico_explorer_base/layout.ld b/boards/pico_explorer_base/layout.ld index cbb3ee90dc..ce99f68d6d 100644 --- a/boards/pico_explorer_base/layout.ld +++ b/boards/pico_explorer_base/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + MEMORY { /* uncomment this to boot from RAM */ diff --git a/boards/qemu_rv32_virt/layout.ld b/boards/qemu_rv32_virt/layout.ld index b5f6598361..97fa069887 100644 --- a/boards/qemu_rv32_virt/layout.ld +++ b/boards/qemu_rv32_virt/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /** * QEMU emulated DRAM region. Tock is currently designed to be placed * at the start of DRAM, using the `-bios` option in qemu-system-riscv32. diff --git a/boards/raspberry_pi_pico/layout.ld b/boards/raspberry_pi_pico/layout.ld index cbb3ee90dc..ce99f68d6d 100644 --- a/boards/raspberry_pi_pico/layout.ld +++ b/boards/raspberry_pi_pico/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + MEMORY { /* uncomment this to boot from RAM */ diff --git a/boards/redboard_redv/layout.ld b/boards/redboard_redv/layout.ld index 6d5ef629b8..ec098cebcb 100644 --- a/boards/redboard_redv/layout.ld +++ b/boards/redboard_redv/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* The RedV board has 4 MB of flash. The first 0x10000 is reserved for * the default bootloader provided by SiFive. We also reserve room for apps to * make all of the linker files work. diff --git a/boards/sma_q3/layout.ld b/boards/sma_q3/layout.ld index 683dd471a3..89d8ab00fc 100644 --- a/boards/sma_q3/layout.ld +++ b/boards/sma_q3/layout.ld @@ -1,2 +1,6 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + INCLUDE ../nordic/nrf52840_chip_layout.ld INCLUDE ../kernel_layout.ld diff --git a/boards/stm32f3discovery/chip_layout.ld b/boards/stm32f3discovery/chip_layout.ld index f230ffb0a6..e5e7605c89 100644 --- a/boards/stm32f3discovery/chip_layout.ld +++ b/boards/stm32f3discovery/chip_layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* Memory layout for the STM32F303VCT6 * rom = 256KB (LENGTH = 0x00040000) * kernel = 128KB diff --git a/boards/stm32f3discovery/layout.ld b/boards/stm32f3discovery/layout.ld index 234dcaea2c..6814c00acd 100644 --- a/boards/stm32f3discovery/layout.ld +++ b/boards/stm32f3discovery/layout.ld @@ -1,2 +1,6 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + INCLUDE ./chip_layout.ld INCLUDE ../kernel_layout.ld diff --git a/boards/stm32f412gdiscovery/chip_layout.ld b/boards/stm32f412gdiscovery/chip_layout.ld index 019d1db680..3e844d875b 100644 --- a/boards/stm32f412gdiscovery/chip_layout.ld +++ b/boards/stm32f412gdiscovery/chip_layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* Memory layout for the STM32F412G * rom = 1MB (LENGTH = 0x01000000) * kernel = 256KB diff --git a/boards/stm32f412gdiscovery/layout.ld b/boards/stm32f412gdiscovery/layout.ld index 234dcaea2c..6814c00acd 100644 --- a/boards/stm32f412gdiscovery/layout.ld +++ b/boards/stm32f412gdiscovery/layout.ld @@ -1,2 +1,6 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + INCLUDE ./chip_layout.ld INCLUDE ../kernel_layout.ld diff --git a/boards/stm32f429idiscovery/chip_layout.ld b/boards/stm32f429idiscovery/chip_layout.ld index 720a93667b..cdd58a3eed 100644 --- a/boards/stm32f429idiscovery/chip_layout.ld +++ b/boards/stm32f429idiscovery/chip_layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* Memory layout for the STM32F446RE * rom = 2MB (LENGTH = 0x02000000) * kernel = 256KB diff --git a/boards/stm32f429idiscovery/layout.ld b/boards/stm32f429idiscovery/layout.ld index 234dcaea2c..6814c00acd 100644 --- a/boards/stm32f429idiscovery/layout.ld +++ b/boards/stm32f429idiscovery/layout.ld @@ -1,2 +1,6 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + INCLUDE ./chip_layout.ld INCLUDE ../kernel_layout.ld diff --git a/boards/swervolf/layout.ld b/boards/swervolf/layout.ld index 3bcc9b7b81..6591304808 100644 --- a/boards/swervolf/layout.ld +++ b/boards/swervolf/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + MEMORY { rom (rx) : ORIGIN = 0x00000000, LENGTH = 0x30000 diff --git a/boards/teensy40/layout.ld b/boards/teensy40/layout.ld index d79e2f663f..9843310901 100644 --- a/boards/teensy40/layout.ld +++ b/boards/teensy40/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* * Teensy 4 Linker Script * diff --git a/boards/weact_f401ccu6/layout.ld b/boards/weact_f401ccu6/layout.ld index 40b5de4124..832556e9dc 100644 --- a/boards/weact_f401ccu6/layout.ld +++ b/boards/weact_f401ccu6/layout.ld @@ -1,3 +1,7 @@ +/* Licensed under the Apache License, Version 2.0 or the MIT License. */ +/* SPDX-License-Identifier: Apache-2.0 OR MIT */ +/* Copyright Tock Contributors 2023. */ + /* Memory layout for the STM32F401CCU6 * rom = 256KB (LENGTH = 0x00040000) * kernel = 128KB