Power & Source of Big Ideas

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...
It's a brand new installation using the SD card after I write this to the eMMC memory so it should work straight off. I did find some info about an issue with this on older Android versions but you'd think that 8.1 would have the patch to fix this. Looking at the drivers, there is code to rotate the...
I've managed to rotate the display so that Android comes up in Landscape but the touch does not rotate. Touching the right centre of the display appears at the bottom centre. I set the following property in /device/rockchip/rk3399/device.mk ro.sf.hwrotation=90 It was 0 for portrait mode. Anyone know...
Power supply issue?
You can do this but you will have to use a custom kernel to set the timing of the display. If you want touch, you'll also need to add a driver for this if the touch controller is not one supported by the kernel. You'll also need to know the LVDS bit allocation applied to each channel for your chosen...
The mating connector is a JST part number GHR-03V-S and stocked by Digikey along with crimp pins although I would suggest getting the jumper leads and using those by soldering onto existing wires as the tooling for the crimps is likely to be expensive. https://www.digikey.com/product-detail/en/jst-s...
Never understood why so many boards are not fitted with an external POWER button connector. It makes them very difficult to power on unless you have access to the power button that is fitted to the board, and not something that is ideal at times. I want to use the T4 in a sealed enclosure so I need ...
I've gotten to work but it won't send or receive multi-part message for now.
Where did you connect the external battery to?
Thanks Jerryn I updated the kernel recently and it included a new fake battery driver for the NanoPC so I am thinking I could use this as a base to control the system. Using a battery monitor IC with I2C I could read the real value and feed that back into the Android OS. I am still trying to upload ...
FriendlyArm provide a driver for this but you can also create your own with a JNI. Search for Android I2C as there is some sample code out there for this. The latest Android Studio can build and debug native code.
You are likely going to have to build your own Android OS and include suitable drivers for your GPS module.
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. Has anyone looked at th...
Looks good. Just double check the pin for + when you get them. Easy enough to swap them but most likely will be correct.
You need something like this with the connector. I use similar with the NANOPC T3 Plus

https://www.aliexpress.com/item/Free-sh ... 97120.html
Have a look at the WiringNP library to see how they handle this.

https://github.com/friendlyarm/WiringNP
Those will be in the Linux kernel and likely require a rebuild.

For Android boot you only need to change the bootanimation.zip file to add your own.
Do a search on S430 in the source as this is one of the LCD displays and then you can see how they handle the different versions. FA uses a 1-wire bus to read the type of display. This is all open source so you should be able to modify the bootloader etc to do this for your own display.
Good stuff. I should update my blog and post how I created a custom build for the NanoPC T3 Plus and how I added GSM support and also how to add custom ready built APK files to the build. Also how to set the display in Landscape although I still have silly issue with the boot animation being squashe...
Try typing lunch on its own and you will get a list of boards you can build. Select the one you want and the try the build again. Make sure the output from this shows the correct build then you should be good to go. I have added mobile networking via GSM and a few other things but can't find a suita...
If you have the M2A module then WiFi should be working out of the box as this is built into the module. For LTE you need to connect a suitable modem via USB and then build phone support into the OS. You're best way to do this is to get the Android source code and then make the changes to include thi...
It's marked as TODO so not likely to have been completed and tested.
I am overseas just now but I will post a link to the source for you and details of how to change it on my return next week.
Why not just use the FriendlyArm 10.1" LCD as it will just work out of the box? If you go with this one, you will need to make an adapter and handle the backlight and the fact that the LVDS from the NanoPC is 24 bit but you panel is only 18bit means you will have a bit of work with register pro...
What chipset does the USB device have?

It's possible that the driver is not included in the OS build.
I have Android running on a T3 Plus and after some time connected via USB, it loses connection and then appears in Device Manager saying that it failed Device Descriptor Request. It now does this until I reboot the PC. Swapping USB ports does not work. Tried 3 different cables. Same thing. Has anyon...
Which OS as I rebuilt the Android source to swap the display to landscape on boot up. Works with the 4.3 and 7.0 displays that I have.

If I can find somewhere to host the source I'll do so but at 10GB I've been unable to find anything suitable so far.
Not required. I rebuild the kernel and Android OS from source so now it boots in landscape mode.

I also added GSM modem support so now also have data coverage outside WiFi areas.
OK. I have finally tracked this down and fixed it so that it can work but the issue that causes this is still in the code. The fault is caused when NetworkMonitor handles the CAPTIVE_PORTAL_SERVER using the property ro.net.captive_server in setprop. mServer = Settings.Global.getString(mContext.getCo...
Are you still working on this?

I have a partial working RIL build for the NanoPC T3 Plus with Android 5.1 and include the SIMCOM RIL and I can send and receive SMS but PPP crashes com.android.phone after it connects. Trying to get some help with this.
Probably a bit late. None of the recent Android builds from FriendlyArm include any support for LTE modems. There are a number of USB options but you would need to build a custom OS. I've done this but com.android.phone crashes when I get a PPP connection and not tracked this down yet. Looks like a ...
I have managed to create a custom Android build with GPRS support using a SIMCOM RIL and SIM5320E modem module. It can send and receive SMS but it crashes com.android.phone when it connects to PPP and I have been unable to track down the reason for this. If anyone is willing to help I have permissio...
I have a GPRS modem and built a custom OS with the RIL and I can get a signal display and I can send and receive SMS. What I can't get it GPRS data. I get a PPP error and it is due to a policy issue as I see the following in the logcat output. [ 881.924000] avc: granted { set } for property=net.gprs...
I just logged into the website to order some more NanoPC-T3 boards and I find that they are no longer available. I've just design and made a number of expensive boards to use with this board. The new T3(2GB) is a completely different footprint. Is the T2 compatible with the same Android build as for...
If you are running Linux why not just plug it in and see if it works?

It will or it won't and being USB it won't do any damage to your board if not.