Power & Source of Big Ideas

If you can make a PCB, then do this and use JLCPCB to get them made. If you've not used them before, a 100x100 board, 5 off is $2 plus shipping. Excellent service. I use them all the time to make small boards like you need. 2 layer should be more than enough. 4 layer is still cheap too. PS. I don't ...
For software, have a search for LCDS.C in both u-boot and the kernel. It is pretty easy to see how this works when you study that code. You basically add your LCD to this and work out how to detect it in u-boot which then passes the LCD name to the kernel and you select the same settings in there. H...
Which board are you using?
My board boots from eMMC even with SD card inserted. I am using the Nano PC T3 Plus.

Which board are you using?

Normally the SD only boots when you hold down the BOOT button. This allows you to load from the SD and flash the eMMC.
For anyone working with the FriendlyArm board but limited by the LCD choice, it is possible to design your own if you know how to create a PCB and modify the kernel and u-boot. Here I have designed with a Newhaven 7.0" high brightness LCD as the existing HD702 is not bright enough (900 cd/m2 co...
Newhaven have a 10.1" IPS LCD with 700 cd brightness but you will have to design your own PCB to interface to it and modify u-boot and the kernel. https://www.newhavendisplay.com/nhd1011024600aflsxvctp-p-9541.html It can be done as I just completed a PCB and kernel changes to interface the Nano...
The T4 has a 12V input so unless you can create a battery system with a 12V output, you are stuck. The design of the board prohibits direct connection of 5V to the GPIO headers, unlike some of the other boards. The PMIC used does not support a battery either. GPS and accelerometer can be connected v...
From what I can see, there is no actual LCD module available from FA that is plug in for the M4. The T4 has an eDP interface but the M4 is either HDMI or you could use the MIPI DSI interface with a custom interface to an eDP display. You would have to check the specification of the DSI LVDS lines to...
Is easy from Android but you need to use a JNI to run the native C++ code. If you want to avoid using the FriendlyArm version and the need to sign with the platform-tools signature files, this code I created works well under Android 5 and above and also includes I2C https://github.com/davemclaughlin...
I should have posted this long before now. I did find a suitable connector. The issue was that the one specified by FA in the Wiki was a high spec part with heavier gold plating and therefore on special factory order only with a high MOQ. I found one of them in the same product range with gold flash...
Can you hook up to the serial port and capture the logcat output? Type in logcat and it will output the debug information. There should be an exception recorded from the BT software and that will help to track down the issue.
OK. Some investigation. I've found that the SD card contains a file called bootloader which on the FA website states that this is u-boot and comparing sizes, this would be the case. I copied my modified u-boot to the SD card and renamed is bootloader. I also copied the uImage to the SD and replaced ...
You need to get updated u-boot and uImage files that include the settings for this LCD. I had a look around the FriendlyArm github but could not find much on it. It does refer to support in Android 7.1 So far there is no wiki entry so not able to even get the timing data for the LCD which you could ...
I have a custom LCD running on a T3 Plus with a Newhaven IPS 1024x600 LCD and I have managed to make changes to the u-boot and uImage so that the LCD is supported. Everything works fine on the development board. Now I want to deploy the image to other boards. The uImage is easy enough as I can build...
It looks like we can do this but only if we work with the source code ourselves. This Google page explains how to create the OTA update package but we can only do this if we have the original package, which we will have if we do our own build. https://source.android.com/devices/tech/ota/tools I am g...
If you contact SIMCOM they will send you the RIL and then you can build the OS to support their modems. They give you all the details for it. Connect via USB and you can also get the GPS to work. I have used the SIM7600E with great success and have 3G and LTE working well. Months of stability with i...
Can you connect to the DEBUG UART?

This is the only way to know what is happening with the boot sequence. A USB to TTL Serial port is a handy tool to have on your desk. Cheap too.
Hello All, I want to add an IMU (accelerometer, gyroscope, magnetometer) to a NEO4 with Android 8, and it needs to look "native" because it needs to work with any APP. I'm not comfortable with linux code but I can read some C and Java and took a look at FA's Android 8 source for the NEO4 ...
burniejm wrote:
Just delete the contents of the output folder? Or is there a special command for this?


That will work until the next time you rebuild the source. Better to edit the .mk files to create your own custom build and only include what you need.
I had a similar issue and I ended up putting it in the vendor/friendly-arm/apps/prebuilt directory and modifying the .mk files to include it.
You need to edit the Android.mk files to remove those from the build. It's quite a bit of work to find everything but start at the top and work through each directory and the resulting Android.mk files until you find them. You will need to do a CLEAN on the output to purge anything from the previous...
I also tried with with my T3 Plus and there is no thermal directory under the /sys/class directory :(
Nice little project. Is the CPU temperature available on these boards or did you add this yourself with an external sensor? I am running Android on a T4 and I have been trying to get this working but no success so far. I might be missing the kernel driver for it. I might need a JNE to get this. The ...
This link about GPIO on rhe RK3399 and the kernel might help you.

http://wiki.t-firefly.com/en/AIO-3399J/driver_gpio.html
Is the pin used for the fan exposed to the WiringPi library on the website? I've been trying to control it that way because it would be easy. If not can someone point me to to example of how I should approach it from python or C? Not sure about the software support but looking at the schematic for ...
My T4 and HD702E display came with some nice perspex mounting plates so it all goes together nicely. I then use a small cheap Chinese sourced CNC mill to cut out a front panel from 3mm acrylic and then use 3M VHB tape to secure it to the front panel. Works great. The attached image shows how it look...
escobarrr wrote:
Hey, please where can we find the Ubuntu Manual ?


Have you tried Google before? It's totally amazing. :roll:

https://www.google.com/search?q=ubuntu+ ... e&ie=UTF-8
Have you also used the GPIO connector? Did you manage to fins a power path battery charging circuit which can actually supply 3A? I'm doing pretty much the same, but I'm stuck with this. Thanks. I power the T3 Plus via the smaller of the GPIO headers. Still not completed the power path design yet. ...
Looks like it comes from factory set to boot on return of power after a cut... Yip. My T4 boots on applying power so looks like FA set this as the default on later boards. For boards without this, the following needs to be done. Only need to solder in 2 parts, resistor and capacitor. http://wiki.fr...
Tinderbox (UK) wrote:
Looks like it only has the two power wires, No fan speed wire or fan speed adjust wire.


You only need 2 wires for speed control with PWM. The 3rd wire is usually a pulse output from the fan that is used to determine the fan speed.
The only way is to completely reflash your device which means losing all software and data. FriendlyArm don't build an OTA file which would allow you to update without erasing everything. So, unless you build your own from source and then work out how to create and install updates, a full reflash is...
PS: you need to be sure, that you power supply really provide 2A on 12V, which may not happens with no-name devices. Very much the case. I got 2 power supplies from a local supplier, non branded Chinese models. Both were claimed to be 5V 4A and 5V 5A but ended up being useful only at 5V 1A before t...
I bought an RK3399 SOM kit to try it out with the idea of using the SOM on my carrier board and making the design lower power. as I don't need the HDMI, Ethernet etc. The trouble now is that I can't purchase the necessary SODIMM socket. TE don't have any distributor for this part. Back on the shelf,...
The LCD K116E is eDP connection, same as the HD702E. Check out the wiki.

http://wiki.friendlyarm.com/wiki/index.php/LCD-K116E
Get a USB to TTL serial cable and see what the DEBUG output is showing. This is the only real way to know what is happening.
I've done this with a USB connected SIM7100 modem from Simcom. They provided the RIL for this. You then need to add this into your Android source and build it. After this, Android will detect the modem when plugged in and load the RIL driver. Try and see if the modem manufacturer has a suitable Andr...
I have added a Newhaven Display 7.0" to my Nano PC T3 Plus and to do so, you need to modify the driver in 2 places. In uboot, you need to add the settings for your display and unless you can use the automatic 1-wire detection from FriendlyArm, which I am trying to with little success as the cod...
If you have Android Studio installed, the necessary USB driver will be installed with it. When you plug in your M4 it should automatically detect it and load the USB driver. Now it should appear under ADB devices when you type this from a command line. Check also that the USB debugging is enabled in...
I am powering the T4 from the GPIO too and use both pins to ensure the current is sufficient. Also makde sure ALL gnd connections are used.
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.