-
Notifications
You must be signed in to change notification settings - Fork 2
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
gpio-nct5104d doesn't work with APU2C4 #3
Comments
I'm guessing ur owner of the |
Unfortunately no, it's not my APU, I just have to port LEDE on it and deadline is in two days, so I'm somewhat under pressure, since many things changed there. I own an APU1D4 currently running Debian8, but probably could help debugging later if I get my hands on another APU2C4. Just wanted to let you know, that PC Engines chip ID has been changed on 2C4, but I don't know wether HW design actually was changed regarding to the HW version you did use for development. For which HW model/version did you develop the driver? Would it help if I try to find out whether GPIO pin assignments etc. have been changed? Or is the chip ID just set by the bootloader / kernel usually? |
This is really surprising since I believe I got APU2C4 ( you can see it in my blog post about this https://rafpe.ninja/2017/04/29/pcengines-apu-board-and-nct5104d-gpio-driver/ ) - I will double check when I will get home. and from definition I can see that they are defined as following
which for obvious reasons throws back So in short - we can try adding it - just dunno if it will work as expected :O |
Thanks so much for your kind offer, but this is a mis-understanding: I meant that I can't debug the module at the moment b/c of short time the APU2 is available to me, not that I would need the GPIO module right now. I stumbled about the module's error message when boot time for LEDE on APU2 was more than doubled (~ 25 seconds instead of 11 seconds) due to the kernel module loader going nuts while trying to load modules ( Anyway, I just wanted to let you know about this issue, because OpenWRT wiki still suggests to include the |
Hey, I think we can easily start supporting it. After doing some googling it seems there is a new revision. Look here https://pcengines.ch/file/NCT5104D_Datasheet_V1_9.pdf ( page 21/22 ). The change seems to be related to I would say make a PR by adding the proper chipID and we should be good to go. And then you can safely include the driver and just add this information to README so it does not get lost What do you think ? |
Hi RafPe,
in LEDE 17.01-4 (stable) the
gpio-nct5104d
driver module throws following errors on an APU 2C4:What's more, the board name for APU2 has been changed (again) for coreboot v4.6.x mainline (could patch this easily, but I'm not sure about any hardware changes from PC Engines chip ID c452 to c453).
The text was updated successfully, but these errors were encountered: