Power & Source of Big Ideas

I wonder if this will help you? https://stackoverflow.com/questions/5597139/build-android-with-superuser Unfortunately it didn't help much. Seems like the info is too old to work with Nougat. You know the odd thing about all this is I can use Magisk just fine to root a FireFly RK3399 based board bu...
If you build the source and choose the USERDEBUG version (default), you have full root access. This does not seem to be true. I have userdebug enabled on my build (I built following the instructions so I have a default build, I also checked in "about this phone, it says userdebug in the build ...
I was just about to ask the same... I need to root my device so my app can set the time (?! stupid...)

Thanks,
Mike
I'm not sure the NanoPC's OS versions support DT overlays yet. So you would have to modify the kernel dts files and then rebuild and load.

If it does support DT overlays I would love to know!

Mike
I am trying to invert the display and touch screen on my device but it isn't letting me. When I try to set to 180 or 270 deg rotation on HDMI it changes nothing. Also, portrait mode isn't really portrait, it just shrinks the image to the center of the screen... Anyone here been able to change the di...
Which bus? They are set to different speeds. The .dts files in the kernel source set the I2C bus speeds. Looking at android source file rk3399-nanopi4-common.dtsi we have: &i2c0 { status = "okay"; i2c-scl-rising-time-ns = <160>; i2c-scl-falling-time-ns = <30>; clock-frequency = <400000...
What do you mean? As far as I know the distros that FE has on their site are all 64bit. Otherwise I don't think they could be compiled for ARMv8 ARCH.
For anyone else having this issue, I found a patch that seems to fix it.

https://lore.kernel.org/patchwork/patch/880379/

I had to tweak it a little to patch against the kernel version in the android source, but after weeks of leaving the system on I no longer loose USB ports.

Mike
So nobody at FriendlyElec reads these? Was hoping for an update...

Thanks,
Mike
I've been using this board for awhile now and just ran across an issue with USB. After some time (sometime hours, sometimes minutes) the devices disappear and I see the following message in the kernel messages: [ 3893.229656] ohci-platform fe3a0000.usb: frame counter not updating; disabled [ 3893.22...
It is an issue with the USB host controller in the RK3399. I am having the same issues with different devices. Only the devices plugged in to the USB 2.0 port have this issue (for me at least). [ 3893.229656] ohci-platform fe3a0000.usb: frame counter not updating; disabled [ 3893.229760] ohci-platfo...
They would probably have to customize U-Boot to support that. Good question though, is NVME boot on the roadmap?
Mindee wrote:
So can you modify your review on NanoPC-T4? Thank You


I wrote a new one. It would not let me update the old one. I also purchased another board :)

Thanks,
Mike
Got it working! One of my dupont wires went bad... Go figure. Didn't find it until I hooked my oscilloscope up and noticed the clk line was stuck low.

Thanks!

Mike
We have no that to test. The HDMI, LCD module, PMU etc all use I2C, and all can work fine. So the I2C is no problem. We’ll add a demo using I2C to connect with a OLED module in the future. None of those use Bus 2. According to the schematic the only things on bus 2 are CSI1 and the M.2 slot. So I a...
We have no sbs-battery, and can't test it. You can have a try to config & compile the kernel since it's open source. P.S Can I know what kind of SBS battery do you use? Thank you It is DIY: https://github.com/bentwire/SB-4S5A It works fine with a FireFly RK3399 board on I2C-4, I can't seem to g...
In your next kernel builds can you add the sbs-battery driver and dts to make it work on the GPIO port please? Or at least provide instructions for that.

I'm not interested in a userspace driver, the kernel already has one.

Thanks!

Mike
Is there a new way to get the source? It seems to have disappeared from the google drive.

Thanks,
Mike
I'm trying to get my SBS based battery to work with the NanoPC-T4 and having issues. I managed to rebuild the kernel for android and the dtb and added sbs-battery driver to the kernel. You can see this by the following output: mike@Scorpius:~$ adb shell dmesg | grep sbs-bat [ 1.570799] sbs-battery 0...
Here is the error message. I want to build a custom version with added sbs-battery, i2c generic support and some custom apps, so I need to be able to rebuild. Starting build with ninja ninja: Entering directory `.' ninja: error: 'manifest.xml', needed by 'out/target/product/nanopc-t4/system/manifest...