-
Notifications
You must be signed in to change notification settings - Fork 3k
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
DeviceKey was not declared for RZ_A1H target #10876
Comments
Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-1311 |
@gggekov you can add "target.components_add" : ["FLASHIAP"], |
Thank you @toyowata, your suggestion fixes the problem. However, I get stuck into a different problem -
|
@gggekov The RZ/A1H doesn't have TRNG either on-chip or on-board. So, you have to add below in your mbed_app.json. "target.macros_add" : ["MBEDTLS_TEST_NULL_ENTROPY", "MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES"], You can also refer this example. https://os.mbed.com/teams/Renesas/code/pelion-example-common/file/5ab220a2ac08/mbed_app.json/ |
@gggekov Does this fixes your issue? |
Hello @0xc0170 @toyowata !
My
Did I misinterpret your instructions? I haven't done any other changes to the project. |
@gggekov The
|
Hi @toyowata,
Is there anything else that can be tried? |
@gggekov Latest version of the "RZ_A1H": {
"client_app.mbedtls-user-config-file" : "\"mbedTLSConfig_mbedOS_SW_TRNG_PSA.h\"",
"client_app.pal-user-defined-configuration" : "\"pal_config_non_trng_MbedOS.h\"",
"target.macros_add" : ["MBEDTLS_PSA_CRYPTO_C", "MBEDTLS_ENTROPY_NV_SEED"],
"target.macros_remove" : ["MBEDTLS_CONFIG_HW_SUPPORT"],
"target.components_add" : ["SD", "FLASHIAP"],
"target.network-default-interface-type" : "ETHERNET",
"update-client.application-details" : "(MBED_CONF_APP_FLASH_START_ADDRESS + 64*1024)",
"update-client.storage-address" : "(64*1024*1024)",
"update-client.storage-size" : "(2*1024*1024)",
"update-client.storage-locations" : "1",
"target.bootloader_img" : "bootloader/mbed-bootloader-RZ_A1H.bin",
"target.header_offset" : "0x10000",
"target.app_offset" : "0x10400"
} However, I got error below ...
I guess there is missing information in the |
cc @ARMmbed/team-renesas |
@gggekov, @toyowata, Hello. How about rewriting "R7S72100": {
"algorithms": [],
"family": "RZ_A",
"from_pack": {
"pack": "RZ_DFP",
"url": "http://www.keil.com/pack/",
"vendor": "Keil",
"version": "1.2.1"
},
"memories": {
"PROGRAM_FLASH": {
"access": {
"execute": true,
"non_secure": false,
"non_secure_callable": false,
"peripheral": false,
"read": true,
"secure": false,
"write": false
},
"default": true,
"size": 8388608,
"start": 402653184,
"startup": true
}
},
"name": "R7S72100",
"processor": {
"Symmetric": {
"core": "CortexA9",
"fpu": "DoublePrecision",
"mpu": "Present",
"units": 1
}
},
"sectors": [
[
0,
4096
]
],
"sub_family": "RZ_A1H",
"vendor": "Renesas:117"
}, |
@d-kato Thank you very much for this patch. Can you make PR for this? @gggekov I succeeded to build/run the example on rz_a1h target with configuration below: {
"macros": [
"ARM_UC_USE_PAL_BLOCKDEVICE=1",
"MBED_CLOUD_CLIENT_STL_API=0",
"MBED_CLOUD_CLIENT_STD_NAMESPACE_POLLUTION=1"
],
"target_overrides": {
"*": {
"target.features_add" : ["BOOTLOADER", "STORAGE"],
"platform.stdio-baud-rate" : 115200,
"platform.stdio-convert-newlines" : true,
"platform.stdio-buffered-serial" : true,
"platform.stdio-flush-at-exit" : true,
"rtos.main-thread-stack-size" : 5120,
"mbed-client.event-loop-size" : 1024,
"nanostack-hal.event_loop_thread_stack_size": 8192,
"update-client.storage-address" : "(1024*1024*64)",
"update-client.storage-size" : "(1024*1024*2)",
"update-client.storage-locations" : 1,
"mbed-trace.enable": null
},
"RZ_A1H": {
"target.components_add" : ["SD", "FLASHIAP"],
"target.macros_add" : ["MBEDTLS_ENTROPY_NV_SEED"],
"target.macros_remove" : ["MBEDTLS_CONFIG_HW_SUPPORT"],
"target.network-default-interface-type" : "ETHERNET",
"target.features_add" : ["BOOTLOADER"],
"target.bootloader_img" : "tools/mbed-bootloader-RZ_A1H.bin",
"target.header_offset" : "0x10000",
"target.app_offset" : "0x10400",
"client_app.mbedtls-user-config-file" : "\"mbedTLSConfig_mbedOS_SW_TRNG.h\"",
"client_app.pal-user-defined-configuration" : "\"pal_config_legacy_non_trng_MbedOS.h\"",
"client_app.sotp-section-1-address" : "(0x18000000 + (8*1024*1024) - 2*(4*1024))",
"client_app.sotp-section-1-size" : "(4*1024)",
"client_app.sotp-section-2-address" : "(0x18000000 + (8*1024*1024) - 1*(4*1024))",
"client_app.sotp-section-2-size" : "(4*1024)",
"update-client.bootloader-details" : "0x1800CBCC",
"update-client.application-details" : "(0x18000000 + 64*1024)",
"mbed-cloud-client.external-sst-support" : null,
"mbed-cloud-client.update-storage" : "ARM_UCP_FLASHIAP_BLOCKDEVICE",
"mbed-client-pal.pal-dns-api-version" : 0
}
},
"config": {
"developer-mode": {
"help" : "Enable Developer mode to skip Factory enrollment",
"options" : [null, 1],
"value" : 1
},
"button-pinname": {
"help" : "PinName for button.",
"value" : "BUTTON1"
},
"led-pinname" : {
"help" : "PinName for led, which is attached to led blink resource.",
"value" : "LED_RED"
}
}
}
|
Fixed via 10876 |
Description
Hello!
I'm building the cloud-client-example for the rz_a1h target, I'm on the Release candidate for mbed-os-5.13.0-rc3(commit id 92a58df).
The error I'm getting when building on Ubuntu is:
Note also that I'm getting the same error regardless whether MBEDTLS has been disabled or enabled with
MBEDTLS_ENTROPY_NV_SEED
Do you have suggestions how to fix this problem?
Many thanks!
George
Issue request type
The text was updated successfully, but these errors were encountered: