acassis commented on issue #12356: URL: https://github.com/apache/nuttx/issues/12356#issuecomment-2116319053
Hi @MainframeReboot I'm happy to know that you are evolving with your testings! (Suggestion: if you have a blog, create a post documenting the path you are following, it could help more people in the future, even your future you). This error message is coming from here: ``` if (!_valid_hi20_imm(imm_hi)) { berr("ERROR: %s at %08" PRIxPTR " bad:%08lx\n", _get_rname(relotype), addr, imm_hi << 12); return -EINVAL; } ``` I don't know much about RV64 arch, but I think you are putting the userspace init ELF at wrong position, maybe the function explanation rings a bell: ``` * Name: _valid_hi20_imm * * Description: * Check that any XX_HI20 relocation has a valid upper 20-bit immediate. * Note that this test is not necessary for RV32 targets, the problem is * related to RV64 sign extension. * ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org