Skip to content
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

Add bootloader support for Seeed Arch-MAX #11700

Merged
merged 1 commit into from Oct 18, 2019

Conversation

@toyowata
Copy link
Contributor

toyowata commented Oct 17, 2019

Description

Add bootloader support for Seeed Arch-MAX

  • Add flash sector info in the pack file
  • Fix linker script for GCC and IAR toolchain
  • Add SD and FLASHIAP component

Pull request type

[ ] Fix
[ ] Refactor
[x] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Test result

mbedgt: test suite report:
| target           | platform_name | test suite                                                                   | result | elapsed_time (sec) | copy_method |
|------------------|---------------|------------------------------------------------------------------------------|--------|--------------------|-------------|
| ARCH_MAX-GCC_ARM | ARCH_MAX      | components-storage-blockdevice-component_sd-tests-filesystem-dirs            | OK     | 136.24             | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | components-storage-blockdevice-component_sd-tests-filesystem-files           | OK     | 77.04              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | components-storage-blockdevice-component_sd-tests-filesystem-fopen           | OK     | 154.4              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | components-storage-blockdevice-component_sd-tests-filesystem-parallel        | OK     | 60.17              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | components-storage-blockdevice-component_sd-tests-filesystem-seek            | OK     | 83.37              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-device_key-tests-device_key-functionality                           | OK     | 62.18              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-frameworks-utest-tests-unit_tests-basic_test                        | OK     | 29.39              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-frameworks-utest-tests-unit_tests-basic_test_default                | OK     | 29.76              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-frameworks-utest-tests-unit_tests-case_async_validate               | OK     | 30.68              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-frameworks-utest-tests-unit_tests-case_control_async                | OK     | 37.69              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-frameworks-utest-tests-unit_tests-case_control_repeat               | OK     | 31.21              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-frameworks-utest-tests-unit_tests-case_selection                    | OK     | 29.3               | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-frameworks-utest-tests-unit_tests-case_setup_failure                | OK     | 30.24              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-frameworks-utest-tests-unit_tests-case_teardown_failure             | OK     | 30.87              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-frameworks-utest-tests-unit_tests-control_type                      | OK     | 30.15              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-frameworks-utest-tests-unit_tests-minimal_async_scheduler           | OK     | 29.43              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-frameworks-utest-tests-unit_tests-minimal_scheduler                 | OK     | 31.75              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-frameworks-utest-tests-unit_tests-test_assertion_failure_test_setup | OK     | 29.32              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-frameworks-utest-tests-unit_tests-test_setup_case_selection_failure | OK     | 29.28              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-frameworks-utest-tests-unit_tests-test_setup_failure                | OK     | 28.59              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-frameworks-utest-tests-unit_tests-test_skip                         | OK     | 29.23              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-storage-nvstore-tests-nvstore-functionality                         | OK     | 53.26              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-storage-tests-blockdevice-buffered_block_device                     | OK     | 29.91              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-storage-tests-blockdevice-flashsim_block_device                     | OK     | 30.12              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-storage-tests-blockdevice-general_block_device                      | OK     | 63.5               | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-storage-tests-blockdevice-heap_block_device                         | OK     | 33.34              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-storage-tests-blockdevice-mbr_block_device                          | OK     | 30.43              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-storage-tests-blockdevice-util_block_device                         | OK     | 29.03              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-storage-tests-filesystem-general_filesystem                         | OK     | 115.68             | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-storage-tests-kvstore-direct_access_devicekey_test                  | OK     | 44.31              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-storage-tests-kvstore-static_tests                                  | OK     | 76.76              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | features-storage-tests-kvstore-tdbstore_whitebox                             | OK     | 29.02              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-events-queue                                                           | OK     | 39.04              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-events-timing                                                          | OK     | 90.29              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_drivers-c_strings                                                 | OK     | 30.85              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_drivers-crc                                                       | OK     | 30.94              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_drivers-dev_null                                                  | OK     | 31.87              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_drivers-echo                                                      | OK     | 30.26              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_drivers-flashiap                                                  | OK     | 47.75              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_drivers-generic_tests                                             | OK     | 29.98              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_drivers-race_test                                                 | OK     | 29.9               | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_drivers-reset_reason                                              | OK     | 33.88              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_drivers-rtc                                                       | OK     | 43.58              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_drivers-sleep_lock                                                | OK     | 29.69              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_drivers-stl_features                                              | OK     | 29.25              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_drivers-ticker                                                    | OK     | 53.92              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_drivers-timeout                                                   | OK     | 67.92              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_drivers-timer                                                     | OK     | 37.06              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_drivers-timerevent                                                | OK     | 30.29              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_drivers-watchdog                                                  | OK     | 32.35              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_drivers-watchdog_reset                                            | OK     | 38.85              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_functional-callback                                               | OK     | 30.76              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_functional-callback_big                                           | OK     | 31.12              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_functional-callback_small                                         | OK     | 30.02              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_functional-functionpointer                                        | OK     | 28.98              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-common_tickers                                                | OK     | 31.47              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-common_tickers_freq                                           | OK     | 37.88              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-critical_section                                              | OK     | 29.42              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-flash                                                         | OK     | 33.31              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-gpio                                                          | OK     | 28.7               | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-minimum_requirements                                          | OK     | 29.18              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-mpu                                                           | OK     | 30.92              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-pinmap                                                        | OK     | 29.41              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-reset_reason                                                  | OK     | 34.66              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-rtc                                                           | OK     | 63.4               | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-rtc_reset                                                     | OK     | 35.01              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-rtc_time                                                      | OK     | 34.56              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-rtc_time_conv                                                 | OK     | 47.29              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-sleep                                                         | OK     | 30.34              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-sleep_manager                                                 | OK     | 30.51              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-sleep_manager_racecondition                                   | OK     | 41.36              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-stack_size_unification                                        | OK     | 28.34              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-ticker                                                        | OK     | 40.83              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-trng                                                          | OK     | 31.33              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-us_ticker                                                     | OK     | 27.9               | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-watchdog                                                      | OK     | 35.53              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-watchdog_reset                                                | OK     | 36.04              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_hal-watchdog_timing                                               | OK     | 50.93              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_platform-atomic                                                   | OK     | 40.47              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_platform-circularbuffer                                           | OK     | 36.42              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_platform-critical_section                                         | OK     | 30.24              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_platform-error_handling                                           | OK     | 30.69              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_platform-filehandle                                               | OK     | 31.19              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_platform-minimal-printf                                           | OK     | 34.71              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_platform-sharedptr                                                | OK     | 29.44              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_platform-singletonptr                                             | OK     | 30.37              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_platform-stream                                                   | OK     | 29.53              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_platform-system_reset                                             | OK     | 29.62              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_platform-transaction                                              | OK     | 31.47              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbed_platform-wait_ns                                                  | OK     | 30.18              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedmicro-mbed-attributes                                              | OK     | 31.22              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedmicro-mbed-call_before_main                                        | OK     | 28.76              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedmicro-mbed-cpp                                                     | OK     | 28.45              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedmicro-mbed-div                                                     | OK     | 27.96              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedmicro-mbed-static_assert                                           | OK     | 28.62              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedmicro-rtos-mbed-basic                                              | OK     | 43.25              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedmicro-rtos-mbed-condition_variable                                 | OK     | 29.49              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedmicro-rtos-mbed-event_flags                                        | OK     | 32.15              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedmicro-rtos-mbed-heap_and_stack                                     | OK     | 28.81              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedmicro-rtos-mbed-kernel_tick_count                                  | OK     | 31.02              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedmicro-rtos-mbed-mail                                               | OK     | 33.51              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedmicro-rtos-mbed-malloc                                             | OK     | 50.99              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedmicro-rtos-mbed-memorypool                                         | OK     | 36.87              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedmicro-rtos-mbed-mutex                                              | OK     | 33.13              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedmicro-rtos-mbed-queue                                              | OK     | 31.62              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedmicro-rtos-mbed-rtostimer                                          | OK     | 30.38              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedmicro-rtos-mbed-semaphore                                          | OK     | 33.24              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedmicro-rtos-mbed-signals                                            | OK     | 35.2               | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedmicro-rtos-mbed-systimer                                           | OK     | 30.88              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedmicro-rtos-mbed-threads                                            | OK     | 40.31              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedtls-multi                                                          | OK     | 30.01              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-mbedtls-selftest                                                       | OK     | 33.1               | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-netsocket-dns                                                          | OK     | 66.28              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-netsocket-tcp                                                          | OK     | 107.48             | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-netsocket-tls                                                          | OK     | 99.34              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-netsocket-udp                                                          | OK     | 57.4               | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-network-interface                                                      | OK     | 53.54              | default     |
| ARCH_MAX-GCC_ARM | ARCH_MAX      | tests-network-l3ip                                                           | OK     | 28.23              | default     |
mbedgt: test suite results: 118 OK

Full test log file

arch_max-gcc_arm.txt
arch_max-arm.txt
arch_max-iar.txt

cc @ARMmbed/team-seeed

@toyowata toyowata requested review from ARMmbed/mbed-os-maintainers, ytsuboi and 0xc0170 and removed request for ARMmbed/team-seeed Oct 17, 2019
@ciarmcom ciarmcom requested review from ARMmbed/mbed-os-storage Oct 17, 2019
@ciarmcom

This comment has been minimized.

Copy link
Member

ciarmcom commented Oct 17, 2019

@0xc0170 0xc0170 removed request for ARMmbed/mbed-os-storage Oct 17, 2019
@0xc0170

This comment has been minimized.

Copy link
Member

0xc0170 commented Oct 17, 2019

CI started

@mbed-ci

This comment has been minimized.

Copy link

mbed-ci commented Oct 17, 2019

Test run: SUCCESS

Summary: 12 of 12 test jobs passed
Build number : 1
Build artifacts

@0xc0170 0xc0170 added needs: review and removed needs: CI labels Oct 17, 2019
Copy link
Contributor

ytsuboi left a comment

Awesome! Thank you!

@0xc0170 0xc0170 merged commit 8ff5cf9 into ARMmbed:master Oct 18, 2019
26 checks passed
26 checks passed
continuous-integration/jenkins/pr-head This commit looks good
Details
jenkins-ci/build-ARM Success
Details
jenkins-ci/build-GCC_ARM Success
Details
jenkins-ci/build-IAR Success
Details
jenkins-ci/cloud-client-test Success
Details
jenkins-ci/dynamic-memory-usage RTOS ROM(+1524 bytes) RAM(+64 bytes)
Details
jenkins-ci/exporter Success
Details
jenkins-ci/greentea-test Success
Details
jenkins-ci/mbed2-build-ARM Success
Details
jenkins-ci/mbed2-build-GCC_ARM Success
Details
jenkins-ci/mbed2-build-IAR Success
Details
jenkins-ci/unittests Success
Details
jenkins-ci/wisun-mesh-test Success
Details
travis-ci/astyle Success!
Details
travis-ci/docs Success!
Details
travis-ci/doxy-spellcheck Success!
Details
travis-ci/events Success! Runtime is 8671 cycles.
Details
travis-ci/gitattributestest Success!
Details
travis-ci/include_check Success!
Details
travis-ci/licence_check Success!
Details
travis-ci/littlefs Success! Code size is 8464B.
Details
travis-ci/psa-autogen Success!
Details
travis-ci/tools-py2.7 Success!
Details
travis-ci/tools-py3.5 Success!
Details
travis-ci/tools-py3.6 Success!
Details
travis-ci/tools-py3.7 Success!
Details
@toyowata toyowata deleted the toyowata:arch_max_bootloader branch Oct 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.