CodeSource

Revision as of 14:16, 4 February 2019 by Registered User

1. Usage[edit source]

This template is used to indicate the URL of any Linux® kernel, U-Boot, TF-A and OP-TEE file used in this user guide.

It takes as first parameter a string that identifies the domain of the file. The possible values are:

  • Linux kernel: the file belongs to the Linux kernel domain.
  • U-Boot: the file belongs to the U-Boot domain.
  • TF-A: the file belongs to the TF-A domain.
  • OP-TEE_OS: the file belongs to the OP-TEE domain.


The second parameter is the relative path of the file from the root URL of the domain:


If the file is a directory (e.g. "arch/arm/boot/dts" directory for the Linux kernel), the parameter must end with the slash (/) character (e.g. ""arch/arm/boot/dts/").

It takes as optional third parameter, the link text (text that is displayed instead of the URL).

Per default, the URL points to:

  • the v4.19-stm32mp version of the Linux kernel (Kernel.org alternative: linux-4.19.y / Bootlin alternative: latest stable)
  • the v2018.11-stm32mp version of the U-Boot (Das U-Boot alternative: master / Bootlin alternative: latest stable)
  • the v2.0-stm32mp version of the TF-A (ARM Trusted Firmware alternative: master / Bootlin alternative: latest stable)
  • the 3.3.0-stm32mp version of the OP-TEE (Open Portable Trusted Execution Environment alternative: master)

2. Example[edit source]

Linux kernel:
Regular file

Directory

U-Boot:
Regular file

Directory

TF-A:
Regular file

Directory

OP-TEE_OS:
Regular file

Directory

Bad parameters:

  • Error (unsupported domain)

3. Code[edit source]

Linux kernel:

  • For STM STMicroelectronics git

[https://github.com/STMicroelectronics/linux/{{#ifeq:{{#sub:{{{2}}}|-1}}|/|tree|blob}}/{{#if: {{{4|}}}|v{{#replace:{{{4|}}}| |}}|v4.19-stm32mp}}/{{#replace:{{{2|}}}| |}} {{#if: {{{3|}}}|{{{3}}}|{{{2}}}}} {{#if: {{{4|}}}|(v{{#replace:{{{4|}}}| |}})}}]

  • For Kernel.org git

[https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/{{#replace:{{{2|}}}| |}}?h={{#if: {{{4|}}}|v{{#replace:{{{4|}}}||}}|linux-4.19.y}} {{#if: {{{3|}}}|{{{3}}}|{{{2}}}}} {{#if: {{{4|}}}|(v{{#replace:{{{4|}}}| |}})}}]

  • For Bootlin alternative

[https://elixir.bootlin.com/linux/{{#if: {{{4|}}}|v{{#replace:{{{4|}}}| |}}|latest}}/source/{{#replace:{{{2|}}}| |}} {{#if: {{{3|}}}|{{{3}}}|{{{2}}}}} ({{#if: {{{4|}}}|v{{#replace:{{{4|}}}| |}}|latest stable}})]

U-Boot:

  • For STM STMicroelectronics git

[https://github.com/STMicroelectronics/u-boot/{{#ifeq:{{#sub:{{{2}}}|-1}}|/|tree|blob}}/{{#if: {{{4|}}}|v{{#replace:{{{4|}}}| |}}|v2018.11-stm32mp}}/{{#replace:{{{2|}}}| |}} {{#if: {{{3|}}}|{{{3}}}|{{{2}}}}} {{#if: {{{4|}}}|(v{{#replace:{{{4|}}}| |}})}}]

  • For U-Boot git alternative

[http://git.denx.de/?p=u-boot.git;a={{#ifeq:{{#sub:{{{2}}}|-1}}|/|tree|blob}};f={{#ifeq:{{#sub:{{{2}}}|-1}}|/|{{#sub:{{{2}}}|0|-1}}|{{#sub:{{{2}}}|0}}}};hb={{#if: {{{4|}}}|v{{#replace:{{{4|}}}| |}}|master}} {{#if: {{{3|}}}|{{{3}}}|{{{2}}}}} ({{#if: {{{4|}}}|v{{#replace:{{{4|}}}| |}}|master}})]

  • For Bootlin alternative

[https://elixir.bootlin.com/u-boot/{{#if: {{{4|}}}|v{{#replace:{{{4|}}}| |}}|latest}}/source/{{#replace:{{{2|}}}| |}} {{#if: {{{3|}}}|{{{3}}}|{{{2}}}}} ({{#if: {{{4|}}}|v{{#replace:{{{4|}}}| |}}|latest stable}})]

TF-A

  • For STM STMicroelectronics git

[https://github.com/STMicroelectronics/arm-trusted-firmware/{{#ifeq:{{#sub:{{{2}}}|-1}}|/|tree|blob}}/{{#if: {{{4|}}}|v{{#replace:{{{4|}}}| |}}|v2.0-stm32mp}}/{{#replace:{{{2|}}}| |}} {{#if: {{{3|}}}|{{{3}}}|{{{2}}}}} {{#if: {{{4|}}}|(v{{#replace:{{{4|}}}| |}})}}]

  • For ARM Trusted Firmware git alternative

[https://github.com/ARM-software/arm-trusted-firmware/blob/{{#if: {{{4|}}}|v{{#replace:{{{4|}}}| |}}|master}}/{{#replace:{{{2|}}}| |}} {{#if: {{{3|}}}|{{{3}}}|{{{2}}}}} ({{#if: {{{4|}}}|v{{#replace:{{{4|}}}| |}}|master}})]

  • For Bootlin alternative

[https://elixir.bootlin.com/arm-trusted-firmware/{{#if: {{{4|}}}|v{{#replace:{{{4|}}}| |}}|latest}}/source/{{#replace:{{{2|}}}| |}} {{#if: {{{3|}}}|{{{3}}}|{{{2}}}}} ({{#if: {{{4|}}}|v{{#replace:{{{4|}}}| |}}|latest stable}})]

OP-TEE_OS

  • For STM STMicroelectronics git

[https://github.com/STMicroelectronics/optee_os/{{#ifeq:{{#sub:{{{2}}}|-1}}|/|tree|blob}}/{{#if: {{{4|}}}|{{#replace:{{{4|}}}| |}}|3.3.0-stm32mp}}/{{#replace:{{{2|}}}| |}} {{#if: {{{3|}}}|{{{3}}}|{{{2}}}}} {{#if: {{{4|}}}|({{#replace:{{{4|}}}| |}})}}]

  • For OP-TEE OS git alternative

[https://github.com/OP-TEE/optee_os/blob/{{#if: {{{4|}}}|{{#replace:{{{4|}}}| |}}|master}}/{{#replace:{{{2|}}}| |}} {{#if: {{{3|}}}|{{{3}}}|{{{2}}}}} ({{#if: {{{4|}}}|{{#replace:{{{4|}}}| |}}|master}})]

Error (unsupported domain)

No categories assignedEdit