friendlyarm / NanoHatOLED

78 stars 64 forks source link

NanoHat on OpenWRT #3

Open greearb opened 5 years ago

greearb commented 5 years ago

Hello,

I have OpenWRT booting up on the neo2, but I am not having any luck figuring out how to get the NanoHat OLED to work or be discovered by the kernel. I suspect I may be missing a driver or something like that? Can you let me know what (if any) patches are needed to the kernel, and what kernel options need to be enabled to compile support for the NanoHat OLED? I'll try to get the fixes accepted into OpenWRT so other users will have an easier time....

greearb commented 5 years ago

Hello,

I need to compile NanoHAT support into my own openwrt tree.

Can you provide just the code patch instead of the binary?

Thanks, Ben

On 12/14/2018 12:07 AM, Anthony Lee wrote:

try LBPanel

https://github.com/DonAnthonyLee/LBPanel_LBKit/tree/master/binary/sun50i-h5/openwrt-image

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/friendlyarm/NanoHatOLED/issues/3#issuecomment-447247682, or mute the thread https://github.com/notifications/unsubscribe-auth/AAR2qlBIlrpemOgVEULIzO2HeZYIsygmks5u41xDgaJpZM4Yhf1l.

-- Ben Greear greearb@candelatech.com Candela Technologies Inc http://www.candelatech.com

greearb commented 5 years ago

Hello,

I found some other source code in your github project, but it is not clear to me how to use it.

Normally for OpenWRT, you would create a Makefile that would allow OpenWRT build system to download the appropriate source code and build it.

For instance, here is a patch that I did to support a realtek USB NIC in OpenWRT (and the NEO2).

https://patchwork.ozlabs.org/patch/1013206/

If you can create a patch like this, then maybe it can be accepted into the official OpenWRT project so more people can use it!

Thanks, Ben

On 12/14/2018 05:25 AM, Ben Greear wrote:

Hello,

I need to compile NanoHAT support into my own openwrt tree.

Can you provide just the code patch instead of the binary?

Thanks, Ben

On 12/14/2018 12:07 AM, Anthony Lee wrote:

try LBPanel

https://github.com/DonAnthonyLee/LBPanel_LBKit/tree/master/binary/sun50i-h5/openwrt-image

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/friendlyarm/NanoHatOLED/issues/3#issuecomment-447247682, or mute the thread https://github.com/notifications/unsubscribe-auth/AAR2qlBIlrpemOgVEULIzO2HeZYIsygmks5u41xDgaJpZM4Yhf1l.

-- Ben Greear greearb@candelatech.com Candela Technologies Inc http://www.candelatech.com

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/friendlyarm/NanoHatOLED/issues/3#issuecomment-447324752, or mute the thread https://github.com/notifications/unsubscribe-auth/AAR2qmwpw3_R9w5hnloKEVH3VjaplZsfks5u46bMgaJpZM4Yhf1l.

-- Ben Greear greearb@candelatech.com Candela Technologies Inc http://www.candelatech.com

ghost commented 5 years ago

And he's never to be heard form again. He could've helped get OLED to work on OpenWrt for everybody with a NEO2 board, but as it stands now everybody with one and running OpenWrt is out of luck.

I also can't do anything with the sources on his repo. Would be great if this was merged or could be merged in OpenWrt codebase. But I /guess it'll never happen like so many things. OSS is really a selfish place sometimes. Once it works for me I don't care about anyone else. Even though me succeeding greatly depended on works others freely shared with me.

Sick and tired of it.

vinewx commented 4 years ago

And he's never to be heard form again. He could've helped get OLED to work on OpenWrt for everybody with a NEO2 board, but as it stands now everybody with one and running OpenWrt is out of luck.

I also can't do anything with the sources on his repo. Would be great if this was merged or could be merged in OpenWrt codebase. But I /guess it'll never happen like so many things. OSS is really a selfish place sometimes. Once it works for me I don't care about anyone else. Even though me succeeding greatly depended on works others freely shared with me.

Sick and tired of it.

It works now. Depends: kmod-i2c-core kmod-i2c-gpio kmod-i2c-gpio-custom kmod-i2c-smbus python-pillow python-smbus https://github.com/vinewx/NanoHatOLED