Power & Source of Big Ideas

What do you see when you use this? The likely issue is that the video timing is not correct for the display. You are likely going to have to modify the Linux Kernel to add the display settings and some code to select that display. FriendlyArm auto detects the display in the kernel code so that it ca...
Did you ever get this and get it to work? I could not find any drivers on that website.

I am also looking to add audio to the Fire3.
dvoeckler wrote:
lubuntu would be ideal - but any linux works perfect for me.


I don't have anything for native coding in Lubuntu but maybe this Android JNI will help with how I manage this with Java under Android. The JNI is written in C code.

https://github.com/davemclaughlin/GPIOdriver
For Java, you could use the same technique used in Android but I am not sure how to create a JNI outside of the Android development environment.

https://github.com/davemclaughlin/GPIOdriver

I use this custom library to do basic GPIO and I2C under Android 5.1 or higher.
dvoeckler wrote:
i would really be interested - is it on github already?


I've uploaded it this morning. Sorry for the delay.

https://github.com/davemclaughlin/GPIOdriver

Let me know if you have any issues with getting it to work. As long as the export directory is user accessible, it should all work nicely.
Which OS?
Are you using a kernel that supports the HDMI output?
Does the HDMI connection have digital audio on the Fire3?

I plan to use with the 43" LCD but would like to have audio is possible via the HDMI connection.

Anyone know if this will work?
I am waiting for my parts to arrive and I am trying to get the length of the long standoffs so that I can get the other parts of my design completed.

They look to be 30 or 40mm.

Can someone confirm the length?
I have worked this out and I now have a JNI under Android that requires no signing with the system keys and can be run from normal app level development and no special permissions. I'll see about putting this up on GITHUB shortly if anyone else is interested. This code does basic GPIO and I2C. For P...
Has anyone been able to do GPIO read or write without using the FriendlyArm library? The library they have requires you to build your app as part of the system which makes debugging and testing virtually impossible. I have a driver from the past but the directory structure for the GPIO is different....
PS. The fact you see the FriendlyElec logo indicates that the board is attempting to boot.

Go get that USB to TTL serial converter and tell us what you found.
For the low cost of a serial debug board, it will be money well spent as it will show you clearly what is happening during the boot cycle. Without this, we have no way of helping you with this. Any cheap USB to TTL (3.3V) converter will do the job. Just connect up GND, RX, and TX from the board to t...
I left it at 60% for over 3 hours and no flickering was detected. I then bumped the brightness to 100% and it started to flicker within a few minutes. I dropped it down to 80 and the display is stable again. Just to be sure I bumped it back up to 100% and after a short time, it started to flickering...
Does anyone know if this or other NanoPis would cause emissions problems if incorporated into a commercial product? You will need to do some pre-testing yourself to determine that as the boards come without any certification. They are considered development boards and because you are likely to add ...
I've dropped it to 60% and I'll leave it running and see if it happens again but usually the display has already dimmed at the point where it starts to flicker. The eDP HD702 is the exact same LCD panel and touch as the RGB input HD702 but without the RGB to LVDS IC as it drives the LVDS directly. L...
Anyone else running the T4 with Android 8.1? I am seeing flickering on the video after a certain time and seems to correspond with the display timeout but not always. It's not a power issue as I have a bench supply running it under test with 12V and 600mA being drawn and with the power supply set fo...
Tiemichael wrote:
Found it!
Thanks for your help!


Welcome. If you fork the source and make the changes to add your LCD and it all works, would be great if you could post it online.
Thanks! I checked the entire development tree, but could not find any file or directory containing 'HD702' Search for a file called panel-friendlyelec.c in the kernel directory. HD702 is located in that file. I use Sagasu to do the search in files. Handy little program. ;) This assumes you are usin...
Great, to see that eDP is working with Android! I try to connect a 14.5 inch eDP-panel with Backlight and Touchscreen to my NanoPC-T4. Any idea which files i have to change, to get started? Thank you! I think all the changes you need to do are in the kernel and to do with timing and to bypass the a...
The source for the kernel is also now added to GITLAB.

https://gitlab.com/davemclaughlin/linux-nanopi3
I enable and disable this from the PWM driver for the backlight. Probably an easier place to do this but for now this is reliable way to handle the enabling and disabling of the doubletap2wake feature.
I got to work in regards to getting touch detection but I still need to hook in the video drivers so that the doubletap2wake gets enabled when the display is off and disabled when the display is on. So far, I've not been able to find the correct place to do this. I can't see to find somewhere the pa...
I am trying to implement double tap to wake on the Nano PC T3 Plus but not getting anything from the underlying driver. I have implemented the code from here: https://git.sphere.ly/varun.chitre15/thunderzap_sprout/blob/b61590e8285ef421e7e0dbfde694b2d4e8643ae1/drivers/input/touchscreen/doubletap2wake...
Wow! An amazing contribution! I will be checking it out! Question: does this build have root access? Seriously, thank you. Let me know if you can compile it without errors. I have been able to clone it with another VM machine but cannot build it. I am trying to work out of this is a GITLAB upload i...
davidjohn wrote:
I haven't any word to value this post.....Really i am awed from this post....the individual who make this post it was an extraordinary human..thanks for imparted this to us. blog comments


Spammer. I saw your gig on Fiverr and I will be reporting you for spamming. !!
If you build the source and choose the USERDEBUG version (default), you have full root access.
This is the place I found the info. Other stuff may help.

https://stackoverflow.com/questions/170 ... aries-libz
I think you many still be missing some system files. A search threw up this one as a possible solution.

sudo apt-get install lib32z1
I have managed to copy the new image files to the SD card via ADB via the use of an external flash disk. Now I want to reboot the module as if the BOOT switch was pressed as I am unable to press this button without disassembly. Anyone know if there are any commands I can use from ADB to do this on t...
Which version of Ubuntu are you using?

I can't get nanopi3 to build under 16.04 or higher so had to create a VM with version 14.04 instead and it compiles fine. I have made changes to add GSM and landscape etc and it all builds fine.
Just put the SD card with Android into the machine and it will write over the previous data.

I tested my T4 with Ubuntu at first and now running a custom Android on it. No need to "clean" anything.
I didn't jot them all down as I was doing the work (I know, ny bad) but this is a list that I can remember. Changes to support Landscape more for the boot animation and have the UI in landscape. Still an issue with the initial stage of the boot animation that I have not tracked down but as it doesn'...
The boot seems to go well until this at the end and it looks like the FS failed to mount. Did you install Android to the eMMC or running from SD card? [ 23.004000] fs_mgr: Cannot mount filesystem on /dev/block/platform/dw_mmc.0/by-num/p2 at /system [ 23.012000] init: fs_mgr_mount_all returned an err...
I've managed to upload the source to build Android for the NanoPC T3 Plus. It supports the SIMCOM SIM7600E/A modem for LTE support and also landscape mode on the 4.3" and 7.0" LCD's. The modem is connected via USB interface and on my custom boards I used the PCI Express version so I could ...
You need to capture the serial output during the boot sequence. This will show you what is going wrong. My suspicion is with the eMMC as there was a fix to handle an update. Have a look at this link and check if your source has these changes. It is in the Linux kernel so make sure you rebuild that a...
Tantalum wrote:
Up

No answer from Friendlyarm? :-/


I don't think they monitor the forum. Pity, as they could get a good insight into what we are doing with these and ideas for future features. :(
Hi Joe, A quick search of NVME throws up a heap of finds in both the kernel and the Android source but not sure that it can be used as a boot device. Possibly a drive that you can access but I think only EMC or SD can be the boot drive under Android. Running make menuconfig on the kernel source show...
If anyone is interested, I have built a custom Android OS that supports landscape display on the 7" eDP display with the Nano PC T4. The source is hosted on GITLAB and if you follow the instructions in the Wiki to build Android, you can swap the download link with mine to get the updated code. ...
Nice. I'd thought about using them for this myself but use the eDP display as it's cheap and good quality and bright. I run my home automation from a Raspberry Pi3 with Node-red and Mosquitto MQTT server. I am thinking to switch to a Nano PC T3 with HDD for OS and storage as I have a few of the non ...
Hi Joe, I've only tested on a basic power supply with max 10mA resolution but I will put it on my DP832A soon to do more testing as that can do down to 0.1mA resolution. So far I like the T4 for this intended project. The only issue I have just now is the lack of external power connector so I have t...
The file to which you need for the LCD timing is /kernel/drivers/gpu/drm/panel/panel-friendlyelec.c under the android source. In here you can find the LCD timing for the HD702E The eDP panel doesn't appear to use the normal 1-wire for touch or LED backlight control and instead is over I2C with GPIO ...
I managed to fix this temporarily until I can work out how to do this without hard coding it. I edited InputReader.cpp to hard code the display to landscape. I have no need for portrait at all. I also managed to enable screen/sleep off without resorting to putting the device into debug mode but enab...
Hi Joe, I've got it working. It now drops from 12V 500mA to around 12V 50mA when in sleep. The display dims down and then after about 2 seconds, goes to sleep. I had to edit this setting in: device/rockchip/rk3399/nanopc-t4/overlay/frameworks/base/packages/SettingsProvider/res/values/defaults.xml <!...
Joemeister wrote:
BTW: have you encountered the same problem when you build your own image?


I had been doing development and had it always on so never spotted it until I saw your post and then waited and saw it not doing to sleep.
Hi Joe, I just noticed that even if I set the Sleep in display settings to 1 min, it does not sleep, it simply dims the LCD brightness. I have no idea where in the code this is controlled but I will work on this as I also need this feature. It works on the T3 so no reason the T4 should not either. D...
Hi Joe, Have you considered building your own Android from the source? You can use a virtual PC to build this from if you don't own a Linux machine. I use Ubuntu 14.04 running in a virtual PC on my main PC and followed the setup instructions found online. Takes a few hours to build it first time but...
As we have no way to connect an external battery to the PMIC on the NanoPC T3 Plus, I was considering adding a suitable battery that would supply 5V at up to 3A to the 5V input on the GPIO connector and adding an I2C based charging IC that I could read the battery state from. That is pretty much wh...
Has anyone worked out if the screen can be used in Landscape mode? Yes, it can but you will need to build from source to do it. I got this code below from FriendlyArm on what needs to be changed on the code to set the display to Landscape for the T3 and T3 Plus. The flasher will still be in portrai...