Skip to content

Commit

Permalink
First import
Browse files Browse the repository at this point in the history
  • Loading branch information
g-pagano committed Nov 27, 2024
1 parent df1d9e1 commit f4405b9
Show file tree
Hide file tree
Showing 62 changed files with 7,505 additions and 1 deletion.
75 changes: 75 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at https://www.st.com/content/st_com/en/contact-us.html. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available [here](https://www.contributor-covenant.org/version/1/4/code-of-conduct.html).

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, refer to the FAQ section [here](https://www.contributor-covenant.org/faq).
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## Contributing guide

The issues and the pull-requests are not supported to submit problems or suggestions related to the software delivered in this repository. The STM32MPU_SDK_HELPER is being delivered as-is, not necessarily supported by ST.

For any question related to the product, the hardware performance or characteristics, the tools, the environment, you can submit it to the ST Community on the STM32 MCUs related page.
6 changes: 6 additions & 0 deletions FLASH_LAYOUT/flash.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@


"C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe" -c port=USB1 -w FLASH_LAYOUT\flash_layout_emmc.tsv

rem "C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\STM32_Programmer_CLI.exe" -c port=USB1 -w FLASH_LAYOUT\flash_layout_sdcard.tsv

7 changes: 7 additions & 0 deletions FLASH_LAYOUT/flash.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash -e

STORAGE="emmc"
# STORAGE="sdcard"

STM32_Programmer_CLI -c port=USB1 -w FLASH_LAYOUT/flash_layout_${STORAGE}.tsv

15 changes: 15 additions & 0 deletions FLASH_LAYOUT/flash_layout_emmc.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#Opt Id Name Type IP Offset Binary
- 0x01 fsbl-boot Binary none 0x0 tfa/tfa_usb.stm32
- 0x02 fip-ddr FIP none 0x0 fip/fip-ddr.bin
- 0x03 fip-boot FIP none 0x0 fip/fip.bin
P 0x04 fsbla1 Binary mmc1 boot1 tfa/tfa_emmc.stm32
P 0x05 fsbla2 Binary mmc1 boot2 tfa/tfa_emmc.stm32
PE 0x06 metadata1 FWU_MDATA mmc1 0x00080000 tfa/metadata.bin
PE 0x07 metadata2 FWU_MDATA mmc1 0x00100000 tfa/metadata.bin
P 0x08 fip-a FIP mmc1 0x00180000 fip/fip.bin
PED 0x09 fip-b FIP mmc1 0x00580000 fip/fip.bin
PED 0x0A u-boot-env ENV mmc1 0x00980000 none
PE 0x10 bootfs System mmc1 0x00A00000 none
PE 0x11 vendorfs FileSystem mmc1 0x04A00000 none
PE 0x12 rootfs FileSystem mmc1 0x10100000 none
PE 0x13 userfs FileSystem mmc1 0xD0100000 none
15 changes: 15 additions & 0 deletions FLASH_LAYOUT/flash_layout_sdcard.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#Opt Id Name Type IP Offset Binary
- 0x01 fsbl-boot Binary none 0x0 tfa/tfa_usb.stm32
- 0x02 fip-ddr FIP none 0x0 fip/fip-ddr.bin
- 0x03 fip-boot FIP none 0x0 fip/fip.bin
P 0x04 fsbla1 Binary mmc0 0x00004400 tfa/tfa_sdcard.stm32
P 0x05 fsbla2 Binary mmc0 0x00044400 tfa/tfa_sdcard.stm32
PE 0x06 metadata1 FWU_MDATA mmc0 0x00084400 tfa/metadata.bin
PE 0x07 metadata2 FWU_MDATA mmc0 0x000C4400 tfa/metadata.bin
P 0x08 fip-a FIP mmc0 0x00104400 fip/fip.bin
PED 0x09 fip-b FIP mmc0 0x00504400 fip/fip.bin
PED 0x0A u-boot-env ENV mmc1 0x00980000 none
PE 0x10 bootfs System mmc1 0x00A00000 none
PE 0x11 vendorfs FileSystem mmc1 0x04A00000 none
PE 0x12 rootfs FileSystem mmc1 0x10100000 none
PE 0x13 userfs FileSystem mmc1 0xD0100000 none
Binary file added FLASH_LAYOUT/metadata.bin
Binary file not shown.
Loading

0 comments on commit f4405b9

Please sign in to comment.