Posts by Merlin475

    It's not the answer you're looking for, but our current RK codebase "is what it is" until the current rebase against a mainline kernel and changes to reimplement how RK uses ffmpeg (moving to a proper stateless V4L2 stack) has completed. And before you ask, there is no timeline or schedule for either of those :)

    Thank you for answering,

    Since my Nano Pi K2 didn't work, I bought this board hoping it will work well but it really doesn't. (Everything is fine except 4K HEVC)

    Maybe I try to buy another board, any suggestion would be nice.

    Also I got the RTC Working.

    I have a Firefly ROC-RK3328-CC 1GB version 1.2 and they have added a jumper for RTC backup battery as I have showed it in the picture below,

    All you have to do is to connect a 3V battery with 1.25mm jack to it and set the time. (Left pin +, Right pin -)

    In this image you can see that I have DS3231 connected as well but it doesn't work since I2C 0 is disabled by default and you can see an extra IR receiver because the box is fully metal and when it's closed my remote won't work. For IR receiver you can simply connect the data pin to the data pin of the onboard IR receiver.


    reading the date and time from RK805 chip

    Code
    cat /proc/driver/rtc

    setting date and time via software #This should be GMT time at the time you will set it.

    Code
    date -s "2018-11-25 13:53:00"

    setting date and time into RK805

    Code
    hwclock -w

    finally reading software time and time from RK805 again

    Code
    hwclock -r
    cat /proc/driver/rtc

    if everything is right, reboot and after that go to Setting and then Interface then Regional and set your country.

    in my case there is a 21 seconds delay between hardware and software so when you are setting the GMT time, set it with +21 second delay.

    Hello everyone,

    I have a weird problem with 4k hvec files, everything is fine with 1080p h264 files but when I play 4 hvec videos after a while colors constantly get higher and lower.

    I don't know how to explain it properly, the video plays fine but after a while it gets jumpy like as if someone is playing with settings, colors are fine then they are too much then again fine then too much... it keeps jump too high and OK.

    I have set the setting color to limited and it got a little better but then again it's not completely fixed.

    I'm using hardware decoding, Prime, Direct to plane.

    Also Prime EGL has no picture (its fine with 1080p h264 files), any fix for this?

    and another thing would be using a rtc module with this board, i got DS3231 but dunno how to use it.

    Thank you very much for reading this thread .

    I looked at the FriendlyARM wiki and It looks like you need to provide u-boot on the SD card. I'll have a think..

    Thank you for writing back,

    There is only one uboot patch available for this board and it's not working with anything above LibreELEC-NanoPiK2.arm-8.0-8.0.1j.img.

    This is the log from LibreELEC-S905.arm-8.90.007.img after patching it.


    Nothing happen after this and the screen is completely black but it's not off. (Just a black screen on TV 1080p60hz).

    Link to the files I've been able to find,

    Patch from piboard

    1496080309668-nanopi-k2-patch-by-kicker22004.tar.gz

    Nanopi k2 uboot and kernel

    attachment.php?id=1132

    I have no idea how to use it's kernel but the uboot is the same with the other file.

    any thoughts?

    I don't have this hardware for testing but if you're installing mainline u-boot to internal storage and using a 4.19 kernel image I know that NanoPi-K2 requires specific u-boot (boot FIP) changes to create a working image. If it's possible to boot from an SD card, it should work as-normal.

    Thank you for answering,

    This board does not have any internal storage, I'm using SD card (a few of them, different brand different type).

    If it helps, I'm able to provide the log from uart port.

    Just tell me which image and dtb I use or simply tell me what to do.

    Hi everyone,

    I'm very new to this but I have been spending a few days reading all the topics related to Amlogic S905 and Nano PI K2.

    I've tested many things but there is only one image that works and it contain kodi 17.1

    https://drive.google.com/uc?id=1xpznetnxyi8tsonwh5g6x7qa0jshgi4v&export=download

    But I want to use The latest version that has kodi 18 beta 5

    So far my understanding is that I need to have a correct image with correct kernel and correct device tree (dtb.img) to be able to correctly boot up but so far everything I tried was a failure.

    I tried to use Odroid C2 image but on uart port it says this is unauthorized and I should contact kernel support...

    I also tired to update the one that already work but after successfully updating it, it will give me black screen and nothing works.

    Has anyone managed to successfully do this? or can anyone help me make this thing work?

    I only have dtb.img for version 3.14.29 but it needs the 4.19 to work. (I assume)

    Thank you very much for reading this.