Hi Jeremy,
Thank you for the response, I have ported the mbedtls to my project, and it compiles successfully, but unfortunately, it's always reset by the server at the handshake stage, or sometimes after handshake and while reading the ssl content (it works with the same code on windows, also maybe because of the different platform configuration). I am still working on it.
Another observation is, the ssl handshake procedure goes very slow(too slow mips?), it lasts more than one minutes, I am wondering if this is the root cause.