-
Notifications
You must be signed in to change notification settings - Fork 8k
boards: ruiside: add ART-Pi board support #96139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
boards: ruiside: add ART-Pi board support #96139
Conversation
Hello @newbie-jiang, and thank you very much for your first pull request to the Zephyr project! |
support art_pi mcuboot pr : zephyrproject-rtos/mcuboot#136 art_pi pr : zephyrproject-rtos#96139 building cmd ``` west build -p always -b art_pi samples/sysbuild/with_mcuboot \ --sysbuild -- \ -DSB_CONFIG_BOOTLOADER_MCUBOOT=y ``` building ``` -- Zephyr version: 4.2.99 (/home/hdj/zephyrproject/zephyr), build: v4.2.0-3810-g9fe29f98ae2d [286/286] Linking C executable zephyr/zephyr.elf Memory region Used Size Region Size %age Used FLASH: 43024 B 128 KB 32.82% RAM: 87296 B 512 KB 16.65% EXTMEM: 0 GB 64 MB 0.00% SRAM1: 0 GB 128 KB 0.00% SRAM2: 0 GB 128 KB 0.00% SRAM4: 0 GB 64 KB 0.00% DTCM: 0 GB 128 KB 0.00% ITCM: 0 GB 64 KB 0.00% SRAM3: 0 GB 32 KB 0.00% SDRAM1: 0 GB 6 MB 0.00% IDT_LIST: 0 GB 32 KB 0.00% Generating files from /home/hdj/zephyrproject/zephyr/build/mcuboot/zephyr/zephyr.elf for board: art_pi [11/16] Performing build step for 'with_mcuboot' [1/148] Preparing syscall dependency handling [2/148] Generating include/generated/zephyr/version.h -- Zephyr version: 4.2.99 (/home/hdj/zephyrproject/zephyr), build: v4.2.0-3810-g9fe29f98ae2d [148/148] Linking C executable zephyr/zephyr.elf Memory region Used Size Region Size %age Used FLASH: 20048 B 2096768 B 0.96% RAM: 4608 B 512 KB 0.88% EXTMEM: 0 GB 64 MB 0.00% SRAM1: 0 GB 128 KB 0.00% SRAM2: 0 GB 128 KB 0.00% SRAM4: 0 GB 64 KB 0.00% DTCM: 0 GB 128 KB 0.00% ITCM: 0 GB 64 KB 0.00% SRAM3: 0 GB 32 KB 0.00% SDRAM1: 0 GB 6 MB 0.00% IDT_LIST: 0 GB 32 KB 0.00% Generating files from /home/hdj/zephyrproject/zephyr/build/with_mcuboot/zephyr/zephyr.elf for board: art_pi image.py: sign the payload image.py: sign the payload [16/16] Completed 'with_mcuboot' ``` download ``` hdj@hdj-virtual-machine:~/zephyrproject/zephyr$ west flash -- west flash: rebuilding [0/6] Performing build step for 'with_mcuboot' ninja: no work to do. [1/6] Performing build step for 'mcuboot' ninja: no work to do. [6/6] Completed 'mcuboot' -- west flash: using runner stm32cubeprogrammer ------------------------------------------------------------------- STM32CubeProgrammer v2.20.0 ------------------------------------------------------------------- ST-LINK SN : 0669FF505750888667051238 ST-LINK FW : V2J43M28 Board : -- Voltage : 3.25V SWD freq : 4000 KHz Connect mode: Under Reset Reset mode : Hardware reset Device ID : 0x450 Revision ID : Rev V Device name : STM32H7xx Flash size : 128 KBytes Device type : MCU Device CPU : Cortex-M7 BL Version : 0x90 Opening and parsing file: zephyr.hex Memory Programming ... File : zephyr.hex Size : 42.02 KB Address : 0x08000000 Erasing memory corresponding to segment 0: Download in Progress: [==================================================] 100% File download complete Time elapsed during download operation: 00:00:09.268 RUNNING Program ... Address: : 0x8000000 Application is running, Please Hold on... Start operation achieved successfully -- west flash: using runner stm32cubeprogrammer ------------------------------------------------------------------- STM32CubeProgrammer v2.20.0 ------------------------------------------------------------------- ST-LINK SN : 0669FF505750888667051238 ST-LINK FW : V2J43M28 Board : -- Voltage : 3.25V SWD freq : 4000 KHz Connect mode: Under Reset Reset mode : Hardware reset Device ID : 0x450 Revision ID : Rev V Device name : STM32H7xx Flash size : 128 KBytes Device type : MCU Device CPU : Cortex-M7 BL Version : 0x90 Opening and parsing file: zephyr.signed.hex Memory Programming ... File : zephyr.signed.hex Size : 19.91 KB Address : 0x90000000 Erasing memory corresponding to segment 0: Erasing external memory sectors [0 4] Download in Progress: [==================================================] 100% File download complete Time elapsed during download operation: 00:00:01.051 RUNNING Program ... Address: : 0x8000000 Application is running, Please Hold on... Start operation achieved successfully ``` log ``` *** Booting MCUboot v2.2.0-118-gaa4fa2b6e173 *** *** Using Zephyr OS build v4.2.0-3810-g9fe29f98ae2d *** *** Booting Zephyr OS build v4.2.0-3810-g9fe29f98ae2d *** Address of sample 0x90000000 Hello sysbuild with mcuboot! art_pi ```
with_mcubootbuilding cmd
building
download
log
|
boards/ruiside/art_pi/art_pi.dts
Outdated
}; | ||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please run check_compliance.py
locally to fix some style issue, see https://docs.zephyrproject.org/latest/contribute/guidelines.html#:~:text=Running%20CI%20Tests,c%20upstream/main..
9fe29f9
to
12409b1
Compare
Running CI Tests Locally and Delete #96139 (comment)Running CI Tests Locallyhdj@hdj-virtual-machine:~/zephyrproject/zephyr$ ./scripts/ci/check_compliance.py -c upstream/main.. Complete results in compliance.xml Deletefile art_pi2_defconfig CONFIG_POWER_SUPPLY_DIRECT_SMPS=y |
update ART-Pi board files. Signed-off-by: Dejiang He <[email protected]>
68a2df0
to
ab94bd0
Compare
Please reopen the review, thank you. |
Run Tests with Twister ERRINFO - The following issues were found (showing the top 10 items): update art_pi.dtsenabling a die_temp node breaks the die_temp_polling sample at link time
Please reopen the review, thank you. |
update img and index.rst art_pi.yaml. - img: art_pi.png update art_pi.webp(699x415) size 50kB - index.rst: Format adjustment and update in accordance with the proposal - art_pi.yaml: Format adjustment Signed-off-by: Dejiang He <[email protected]>
779ffe7
to
b42209d
Compare
Thank you for your review. update
|
|
Support ART-PI (STM32H750XB)
sample pass
west build -b art_pi samples/basic/blinky
west build -b art_pi samples/hello_world
west build -b art_pi samples/basic/button
west build -b art_pi samples/drivers/spi_flash
west build -b art_pi samples/drivers/memc
====================================================
*** Booting Zephyr OS build v4.2.0-3809-g1d6b6759aa1a ***
Hello World! art_pi/stm32h750xx
====================================================
*** Booting Zephyr OS build v4.2.0-3810-g9fe29f98ae2d ***
spi-nor-flash@0 SPI flash testing
Perform test on single sector
Test 1: Flash erase
Flash erase succeeded!
Test 2: Flash write
Attempting to write 4 bytes
Data read matches data written. Good!!
Perform test on multiple consecutive sectors
Test 1: Flash erase
Flash erase succeeded!
Test 2: Flash write
Attempting to write 4 bytes at offset 0xff000
Data read matches data written. Good!!
Attempting to write 4 bytes at offset 0x100000
Data read matches data written. Good!!
====================================================
......
Check (6139/6143) passed!
Check (6140/6143) passed!
Check (6141/6143) passed!
Check (6142/6143) passed!
Check (6143/6143) passed!
First 1KB of Data in memory:
00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f
40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f
50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f
60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f
70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f
80 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e 8f
90 91 92 93 94 95 96 97 98 99 9a 9b 9c 9d 9e 9f
a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae af
b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 ba bb bc bd be bf
c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 ca cb cc cd ce cf
d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 da db dc dd de df
e0 e1 e2 e3 e4 e5 e6 e7 e8 e9 ea eb ec ed ee ef
f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe ff
00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f
40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f
50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f
60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f
70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f
80 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e 8f
90 91 92 93 94 95 96 97 98 99 9a 9b 9c 9d 9e 9f
a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae af
b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 ba bb bc bd be bf
c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 ca cb cc cd ce cf
d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 da db dc dd de df
e0 e1 e2 e3 e4 e5 e6 e7 e8 e9 ea eb ec ed ee ef
f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe ff
00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f
40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f
50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f
60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f
70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f
80 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e 8f
90 91 92 93 94 95 96 97 98 99 9a 9b 9c 9d 9e 9f
a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae af
b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 ba bb bc bd be bf
c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 ca cb cc cd ce cf
d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 da db dc dd de df
e0 e1 e2 e3 e4 e5 e6 e7 e8 e9 ea eb ec ed ee ef
f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe ff
00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f
20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f
30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f
40 41 42 43 44 45 46 47 48 49 4a 4b 4c 4d 4e 4f
50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f
60 61 62 63 64 65 66 67 68 69 6a 6b 6c 6d 6e 6f
70 71 72 73 74 75 76 77 78 79 7a 7b 7c 7d 7e 7f
80 81 82 83 84 85 86 87 88 89 8a 8b 8c 8d 8e 8f
90 91 92 93 94 95 96 97 98 99 9a 9b 9c 9d 9e 9f
a0 a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab ac ad ae af
b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 ba bb bc bd be bf
c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 ca cb cc cd ce cf
d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 da db dc dd de df
e0 e1 e2 e3 e4 e5 e6 e7 e8 e9 ea eb ec ed ee ef
f0 f1 f2 f3 f4 f5 f6 f7 f8 f9 fa fb fc fd fe ff
Read data matches written data
====================================================