-
Notifications
You must be signed in to change notification settings - Fork 24
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
Nanopi R1: See if UART1(external uart) can be used #130
Comments
It is something we may want as a build-time setting since some folks may want to connect UART1 to their DUT |
Agreed. |
@chombourger do you actually use the NanoPI NEO with a second UART based on the ISAR image in this repo? A colleague from me who is just setting this up is struggling with it. I notice that the documentation seems to elaborate quiet a bit about the NanoPI, hence I would assume it is his fault (-; /cc @kergos |
Hello @bovi , this issue is for the https://www.friendlyelec.com/index.php?route=product/product&product_id=248, another NanoPI variant. I don't think the NEO has pins for 2 UARTs: just one. I did use the UART at the very beginning to bring-up the NEO but have not since (I however believe the first and only UART should still work). |
Hi @chombourger, the NEO definitly has more than one UART: As a matter of fact @kergos has managed today to use the UART from a regular Armbian by modifying the overlay kernel configuration. So the hardware is definitely capable but we didn't yet manage to bring this back into ISAR. If we manage to change the ISAR to work probably on the NEO Core would you accept a merge request to integrate it here? Or would you prefer to maintain additional ISAR configurations outside of the tree? |
thanks for the pointers. I would definitely accept a merge request to get those UART interfaces supported (it would be super useful to have the NanoPI+MTDA able to get the target console over UART) |
I'm currently working on integrating the necessary infrastructure for that into ISAR and Linux:
The ISAR-only strategy is to use the DTs from u-boot, as these are compile with symbol information. This also works with the distro kernels pre Linux 6.6, however the device trees might be a bit out-of-sync with the one from the corresponding kernel version. From Linux 6.6 on, we can use the DT from the distro kernel again. Note: we are already running the ISAR + u-boot DTs approach for some weeks in our lab now. |
Once you put the R1 inside its metallic case, you no longer have access to the debug uart. Only UART1 near the Antenna connector is visible. Need to find out if UART1 can be used as debug uart.
The text was updated successfully, but these errors were encountered: