Power & Source of Big Ideas

I am no expert with Linux but how about using the dd command to copy the emmc to an SD card?

I recently did this to replicate my SSD onto the HDD as a backup. Not sure about emmc but pretty sure that should work.
According to the web page for this, it is supported under Ubuntu. As this is supported under Android, you could get the source for u-boot and find the settings for this display and then find a suitable Linux display driver and make changes to it. I also found the timing information in panel-friendly...
Same here. I just received the board. Powered the board with an apple iphone charger and a usb-b to usb-c cable. What is the current capability of your Apple iPhone charger and what voltage does it actually put out when on load? Most phone chargers have a significant voltage drop when you load the ...
What I do is purchase some ULF to SMA cable assemblies and also an external 2.4Ghz antenna with SMA connection.

You can then install these in the metal box. I see that the box on the website has 2 blanked off ports for this.
On the subject of compilers, is there an easy way to build the kernel with an IDE such as Eclipse? I'd like a way to edit and navigate variables across the build. It's tedious trying to search each time to find where a variable is declared.
I would quite appreciate any hints on how to get u-boot to compile on Arch Linux as I am more familiar with this environment and my goal is to get Arch Linux running on Fire3. Which kernel are you trying to compile? 3.4 or 4.4? 3.4 is 32 bit and 4.4 is 64 bit. You need to be using the correct compi...
The only to know what is wrong is to get a serial interface. Believe me when I say this, it is money well spent when trying to figure this stuff out.

Is you board with an LCD or HDMI? Are you sure you have the correct image fused to the SD card?
As I had suspected, you need to modify u-boot to set your LCD timing. Then you make the same settings in the kernel.
It would seem that the information to build the u-boot is for the 64 bit version for kernel 4.4. I had not scrolled down far enough to find the u-boot instructions for the 32 bit version for kernel 3.4. Now I have the LCD almost working but need to take out the rotation I added for the HD702 and S43...
I have it working now. You need to use the uboot source at the link you mention.

The other one requires a 64 bit build and suspect this is for ubuntu booting.

The 32 bit verson installs with fastboot and now I can start to get the code to detect the LCD working.
Did you ever get this to work?

I have the same issue about the size of the file. It is 462K

I am going to try that alternative u-boot repository you mentioned and see what size the file is when built.
I am trying to get a 7.0" Newhaven display to work with the Nano PC T3 Plus and I can't get it to work with the timing changes made to uImage. I have also made the changes to u-boot but I can't update this on the device for some reason. Is there an easy way to create an SD card to flash to the ...
I get the following error when I try to use fastboot to transfer a new u-boot file that is 462K in size. FAIL image too large for partition Has anyone been able to flash a new u-boot to the device? This it the output from fastboot flash bootloader u-boot.bin fastboot Fastboot Partitions: mmc.0: 2ndb...
Truly a disappoint as the board is killer otherwise. Pretty bad when they state that they are supported and yet, neither of us can get them working. I got this reply from their tech support. Not what I wanted to hear and certainly does not mean they are supported as per what the wiki says. You also...
Good. The only downside is that you will have to do the ADB commands each time.

Better to build your own custom OS and include these in the INIT.RC or maybe you can edit the existing INIT.RC but you will need to mount it read/write but should be able to do this from ADB
The changes to InputReader.cpp will fix the touch screen for Landscape more. It's not the ideal way but seems to be the only way I could get it to work in Landscape mode. There is also a setting somewhere in the XML files that tell the system it should only offer Landscape mode only. Can't recall ex...
Yeah it took a while, but I did find it after remembering that feature. Which line did you edit to hardcode landscape? It's in the actual Android framework but you already found it. I added the following line of code after the comment TEST in 2 places. Code starts at line 190 static void rotateDelt...
Daitaro wrote:
Where did you find inputreader.cpp?


In the Android kernel source for the RK3399.

Do a search for it from the root of the source tree.
Which board are you referring to and what connector?
No wifi module works with the Fire 3. I have even used the stock Android image from FriendlyArm and it does not work with any of the listed WiFi modules shown on the wiki. This is frustrating as I have built 3 prototype modules using the Fire 4 and apart from no wifi, they run great with Android and...
When runing I2C_LCD1602_Demo, It canot open I2C port and show error message Fail to open I2C device Here is the code https://github.com/friendlyarm/friendlythings-examples/tree/master/I2C_LCD1602_Demo What can be the error? Do I have to setup hardware or connection for I2C to run the demo? The stan...
Hello v8dave, i2c_fd = open("/dev/i2c-3", O_RDWR); The function open() return i2c_fd = -1 Do you know why. Thank you Hoang It is likely that the ports are protected. Because I run a custom build of Android my init.rc has the following for each i2c port. chmod 0666 /dev/i2c-0 chown system ...
When I enable the WiFi in the settings, this appears on the debug output. Any clues? [ 43.188000] dw_mmc dw_mmc.1: Hardware locked write error [ 43.204000] dw_mmc dw_mmc.1: Hardware locked write error [ 44.228000] dw_mmc dw_mmc.1: Data0: Never released by cmd52 [ 45.232000] dw_mmc dw_mmc.1: Data0: N...
For reference, the BIN files are located here.

https://git.kernel.org/pub/scm/linux/ke ... ee/rtlwifi

Click on them and then choose to download raw otherwise you get the text version if you right click and save.
OK, I was able to make /system read/write from ADB and copy the required binary file to the device. adb push rtl8192cufw.bin /system/vendor/firmware/rtlwifi/rtl8192cufw.bin WiFi still doesn't seem to work and doesn't detect anything when you switch it on in the WiFi settings. Mmmmm <7>[ 241.288000] ...
I have this partially working now. The RTL8188 driver was not built into the kernel. Once I did this and rebuilt the kernel and updated the Fire 3, it was able to detect the USB device but failed to complete because of a missing bin file. I have the bin file but need to do some work on the Android b...
Hello v8dave, Do you know there are any source code about android native for UART and I2C communication from FriendlyElec? They have a driver but your code needs to be signed with the platform keys. I wrote my own I2C, GPIO and UART drivers with the JNI. There are some open source options out there.
What device are you passing in for the PORT string?

On the Nano PC T3 Plus I use something like "/dev/ttysac3"
You are correct, there is no 1-wire on the eDP display and the schematic for the eDP display HD702V shows that they seem to be using I2C to talk to the STM8 that handles the LED dimming and backlight control. They must be using the I2C to detect what display is attached and adjust the kernel driver....
Hi, Has anyone managed to get the eDP interface working for a 3rd party display (i.e. not the 7" supplied by FriendyArm?) Which cables, adapters and backlight LED power supply did you use? Was a new Kernel with the proper timings necessary? I am about to embark on creating a custom display for...
DesignerDave wrote:
They are 1 3/16" tall.


Haven't you switched to metric yet? ;)

I finally got the kit this week and they were 30mm so I got some rather nice green anodised aluminium (note spelling) spacers to build my system with. The Fire3 is damned good price for performance.
As the subject says, which one has anyone got to work on this board running Android?
Fixed. I decided to use the existing image and then copy the new files over and fuse the SD card. Now I can boot my custom Android version.
I have a NanoPi Fire 3 and using the stock Android image on the MicroSD card, it boots fine but the screen is portrait so want to use the custom Android build that I have for the NanoPC T3 Plus and as the build setup is the same on the Wiki for the NanoPi Fire 3, I assumed it would work. I fused thi...
You have access to the Andoird and Android Linux source so you can potentially do anything you want right there. You can add in any SU apk and have this as part of the build. Make other changes for security etc. I recently needed a way to shutdown the Android device from code and I made changes to t...
Is there any temperature sensors available on the Nano PC T3 Plus boards that can be read with Android?
If you know how to build a JNI then there are a few options that will be easer than using the FA .so and don't need you to build with the platform keys. This one looks easy. https://github.com/chzhong/serial-android I also have one but I don't have the time just now to package it up. I will get arou...
Tiemichael wrote:
Currently I am able to root my NanoPC-T4 via adb, but it only lasts until I reboot.
I have not found a way to 'autostart' it ...


How are you doing this via ADB? What commands are you using?

I am still looking at the kernel to see if this can be done from there.
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.