Power & Source of Big Ideas

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.
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 ...