Power & Source of Big Ideas

Be aware that changes to the I2C bus assignments might upset the system although most drivers do a probe to try and locate which bus they are present on.
Have you measured the voltage from the 5V supply?

That IC you refer to if labeled U110 is a regulator, MP2143DJ, and on pin 5 there should be 3.3V and pin 2 is the 5V input. This regulator is enabled by the PMIC.
It should be possible to swap them in software at the kernel level as they are allocated based on register settings. I don't even think you have access to the FriendlyCore Xenial source to do this. If the OS uses a device tree, you can swap them very easily by simply making changes to the tree. This...
Both I2C0 and I2C1 are available on the GPIO header so you should be able to make the software work but changing pins.

You have a serial cable to connect to the debug port? That is your best diagnostic tool for headless systems as you can see what is happening during the boot cycle, long before even HDMI output is enabled. Connect to the: Serial Debug Port: 2.54mm pitch 4-pin-header, 3V level, 1500000bps You'll need...
I did a design to use the T3 (same applied to T4) in a mobile application and used an ATTINY414 to handle the ignition detection and shutdown. The ATTiny was powered by the same 5V that powers the T3. Scenario 1. Ignition ON : The ATTiny reads the ignition status and if it detects that the input is ...
Hello again. The T4 GPIO Is easy to use from Android but you do need to ensure that you have user access to it and to do this, you need to add some settings to the .rc file to set the ownership and chmod for access. To do the power up and down via another GPIO Pin is not so easy but the power button...
The RIL is easy if you follow the instructions from SIMCOM. I think Android 8 is the current highest support. https://techship.com/downloads/simcom-3g-and-lte-4g-modules-android-ril-drivers-and-guide/ You'll need to register to download it. Good luck. Let me know how you get on with it. It needs to ...
Any GPIO pin should work. You just have to find the driver for whatever OS you plan to use.
The Ethernet pair is available via one of the GPIO headers but you will need an external magnetic and RJ45 connector to use it.
There is no Ethernet hardware on the NEO PI Air. The reference in the Wiki is likely from a copy and paste.

Wifi only.
I use a SIM7600E-PCIE module to provide a GSM connection and it also comes with a GPS as part of the module. Simcom offer various Android RIL for their modules and a GPS drive that hooks into the OS and instructions on how to build this into the OS. I've used this with 5.1 and 8.1 as they have not r...
To debug you connect to the header DBG UART on the edge of the board. With this you can see the debug output and also be able to type into this various linux commands as if you were using the terminal. Note that the baud rate is 1,500,000 bps so you will need the use Putty to read this. Any 3.3V TTL...
Connect a debug cable to the T4 and see what is showing up in the output. If you don't have one, get one, they are cheap and it will help to diagnose what is wrong. The other option is to create a bootable SD image and hold down the BOOT button so that is boots from the SD card. If this doesn't work...
What else is in that directory?

This is T4 Android 8.1 from Gitlab?

This is the same directory and math is also a directory within this. Does this match up with your directory structure?

https://gitlab.com/friendlyelec/rk3399- ... gle/common
Under my 8.1 source, math is a directory.

What is in the text file?
What is here?

opendir failed: external/guava/guava-gwt/test/com/google/common/math: Not a directory
Yeah, remove the code you added and rename that old file and then do a clean and then rebuild. That will get you back to a working system. By the way, why do you need this SU version? I have found that the T4 build already has SU so you can do root via the debug UART or through ADB SHELL commands. I...
The LED wasn't blinking before the problem started, and I have since changed the OS, SD card, and power, so the common denominator is the firmware, I believe. Is there something in the firmware that might have triggered this? Looking at the schematic, the LED is driven by a GPIO pin. If this is ON ...
The debug serial port is your best place to see what's happening during the bootup.
The M4 I think is the same baud rate as the T4 which is 1,500,000 so use something like Putty to connect to the debug port.

I got caught out with this same thing too.
There are no other options. All of the other headers are outputs only. I actually like the 12V option as it avoids issues with voltage drops with a 5V supply, which I've seen a number of times. With the 12V input connection, it works from 9V to 14V without any issues. In fact, the datasheet shows 5....
Do you have access to a hot air re-work station?

It might be nothing more than a bad connection on one of the BGA balls.and a reflow of the memory chips might work. No guarantee but worth a try if you have access to one.
Any cheap USB to TTL 3.3V interface will work for this. Baud rate is 1500000 so need to use putty for this.

It will be the best investment you can make if playing with embedded Linux boards. You'll be able to track down the issue once you see the debug output.
Can you show us a picture of how this is wired up to the Smart6818?
Do you have a serial debug cable to see what is happening during the boot?

At least then you can find out where in the boot sequence failure is happening.
I added the capital versions and now it compiles without errors.

I've not installed it on my board as I need 8.1 for the time being.

Let me know how it goes for you and if it works on the T4 etc.
Some progress has been made.

Rename the Android.mk file in system/extras/su so that it won't be part of the build.

Now I get an error about the PLATFORM.pk8 file missing. I have not yet made copies of these in upper case.
Yes, there is another PRODUCT_COPY_FILES that creates SU into the xbin folder so we need to track that one down and somehow comment it out.

I've been searching for something to override the copy but can't find anything.
I bought this one and it was detected and I can save to it and read from it. I can't figure out yet how to boot from it but as storage, but it was detected with FriendlyArm Desktop.

I am still trying to track this down. I can't find the product copy file for the existing su into system/xbin.
OK, following your instructions and I get the same failure message so not a setup issue.

Now to find out why.

I did notice that there is already an SU file in system/xbin so wondering if that has anything to do with it?
Thanks for your kind wishes. I am getting better every day and back working from home. I had a look and have not yet attempted to try and build this into my system. I will get around to this during the rest of the week. I wanted to check if the binary that is on the SU git page is compatible with th...
Hi there, I too use the T3 Plus board but for commercial projects. I run Android 5.1 on the current designs but I also have 7.1 in development. It's not quite ready to use yet as issues with getting SELINUX to be in permissive mode on startup. The boards are fitted to a motherboard via Samtec header...
The best place to do this is in u-boot as it will be the first thing to run. You can do this in the kernel but that runs a little later. To guarantee a GPIO is low or high at power up, the only real solution is a pullup or down resistor.
You can use a wakelock to turn on the screen but to turn it off will require system app access using the system keys to build your app. Loads of stuff here about what you are trying to do but the system app is the only real way. https://stackoverflow.com/questions/9561320/android-how-to-turn-screen-...
Which OS?
I've just gotten out of hospital so sorry for the delay.

I'll follow what you did and see what happens to my build.

Are there any files to download for this?
I am looking at the .mk file and there is a su file in the directory indicated above. Are you trying to copy another su over this? Could that be the issue?

Can you detail the changes you have made and I'll try the same here?
I also needed a front panel switch for power and the only way to do this was to solder 2 wires onto the pads of the existing switch on the board. There is no external power connection for the T4. This is something FA should consider for all future boards as once installed into an enclosure, the boar...
According to the schematic, there are MOSFET drivers on this to switch the fan ON and OFF via GPIO2 which is also marked as PWM2 at the same time. Not sure if the kernel is already driving this as ON and OFF or PWM but it is possible to control the speed with this for a basic 5V powered fan if you h...
I've downloaded the GITLAB repository and built it first without any changes and it completed in a few hours. I am running Ubuntu 12.04 64 bit as legacy because I also have an older Android 5.1 version that doesn't build under higher versions of Ubuntu although 8 and 10 should build with a later ver...
My apologies, what I should have said was that it is not the PCI Express slot with the USB. It's an M.2 slot instead which is not the same as the card edge on the SIM7100E-PCIE module with different key position and that version has USB and SIM card connections. Use the SIM7100E-PCIE card with a USB...
The slot on the rear is not PCIE and it has no USB connection either. I used it via one of the USB ports and a PCIE module to USB convertor board. I've not yet seen Android 10 driver from SIMCOM and only managed to get this working with Android 8 although I have seen a number of websites offering An...
This is the partmap for Android 5.1 on the NanoPI3 boards. It works but the first entry seems to be too long and actually ends up 0x200 into the bootloader area. The start of 0x200 and length of 0x8e00 means that the end is 0x8200 and the bootloader starts at 0x8000. Older versions of this file are ...
The W500 has the same resolution as the old obsolete S430 LCD with 800x480 resolution. I have added the W500 timing and setup to the kernel and u-boot and the display is working but there are no home, back or recent apps buttons on the LCD display. There is only a blank space where they should be. A...
Anyone know where to get the Android 7.1 Google Apps to build into the OS ?
Looking at the schematic UART1 and UART2 are the only 2 available. UART0 is connected to the Ethernet port.

UART2 is the debug port but UART1 should be available via the GPIO header. What is the ownership on the /dev/tty ports?

Is there a ttySAC* port?
I have a custom Android 5.1 build and I can flash this to an older T3 Plus board and it runs. When I try to do the same on any newer board (I have 6 of them doing the same) it reports "Failed to load BL33" in the debug output. Both boards are marked with the same revision number. The only ...