Posts by slartibartfazz


    NanoPi-K2 is the one GXBB device that I don't have so it's untested from a boot perspective (but should work the same as any other GXBB board). Feedback is welcome.

    Hello Chewitt,

    Finally I found time to do a test on NanoPi-K2. Applying the same u-boot patch as for the Odroid-C2 (eth0 delay) works fine for me.

    I also have an Onkyo TX-NR626 connected to an Tanix TX6 with Allwinner H6. For me it works out of the box:

    I use the VP9 test image and playing movies, music and Youtube all works well. But I remember that I once had problems with Onkyo and HDMI and resolved it with a new HDMI cable.

    Thank you. Changing the HDMI cable: same as before. But I have a Q6+ TV-Box. Built the latest custom image and... it works! So I build more images with following results:

    R40 (BananaPi): no sound

    H3 (Libretech ALL-H3): no sound

    H5 (Libretech ALL-H5): no sound and no picture (Reminder: Only over Onkyo Receiver)´

    H6 (OrangePi 3): working, even passthrough working.

    This leaves me puzzled. Maybe only *.dtb issue? Next step maybe trying Armbian...

    With newly flashed SD-card sound works fine on TV. Connected to my AV-Receiver (Onkyo TX-NR626) after booting: On surface there is a click every now and then, but HDMI and sound indicators flashing (handshake problem?). Playing video no sound at all. This affects all Allwinner chips, H3, H5, H6 and R40. I tried several options (Sound always on, fixed samplerate to 44.1 kHz...) but no change at all.

    Kodi log (ALSA):

    CAESinkALSA::Initialize - Opened device "hdmi:CARD=allwinnerhdmi,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00"

    CAESinkALSA::InitializeHW - Unable to open the required number of channels

    CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats

    CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE4

    (the same with other devices)

    Any suggestions?

    I tried to run the system on rk3399-roc-pc, but it stopped when it reached "Starting kernel ...".

    I also had troubles getting this to work. My working SD: LibreELEC from 20210429. Also I burned a brand new SD-Card. In extlinux.conf replace rk3399-roc-pc with rk3399-roc-pc-mezzanine (if under windows you musn't use standard editor, please use notepad++ or something equivalent). I hope it will work for you...

    Did a little bit of testing over Easter. As far as I can tell, the Linux part is working, but on the dtb side there seems to be some patching to do. My testings (Images from yesterday):

    ROC-RK3399-PC: Booting. Libreelec Logo, Resizing ok. Reboot: Libreelec Logo...and nothing. (See attached File)

    NanoPC-T4: everything's fine

    Nanopi-M4V2: Bootloop, as I had in 9.2 until rk3399-nanopi-m4v2 was available.

    Khadas Edge-V: Booting and starting. Ethernet took long to configure and leads to adress => no ethernet. Wifi fine.

    RockPro64: After removing emmc everything's fine.

    Rockpi 4: Everything's fine.


    Quote from balbes150
    Try the latest version image 20191008. Preferably with UART output.

    Hello balbes150,

    Nanopi-K2 booting again.


    no sdio debug board detected

    TE: 317760

    BL2 Built : 12:06:06, Jun 13 2016.

    gxb g176ecdb - [email protected]

    set vcck to 1100 mv

    set vddee to 1000 mv

    Board ID = 8

    CPU clk: 1536MHz

    DDR chl: Rank0+1 same @ 792MHz

    DDR0: 2048MB(auto)-2T-11

    DataBus test pass!

    AddrBus test pass!

    Load fip header from SD, src: 0x0000c200, des: 0x01400000, size: 0x00004000

    New fip structure!

    Load bl30 from SD, src: 0x00010200, des: 0x01000000, size: 0x0000d460

    Sending bl30......................................................OK.

    Run bl30...

    Load bl31 from SD, src: 0x00020200, des: 0x101000[00, size: 0x00013140

    Image: gxb_v1.1.3134-b387442 2016-06-16 14:48:44 [email protected]]


    f0 8c d5 21 23 9f ab d1 5e e4 dd 45 [0.413206 Inits done]

    secure task start!

    high task start!

    low task start!

    Load bl33 from SD, src: 0x00034200, des: 0x01000000, size: 0x0007c300

    NOTICE: BL3-1: v1.0(debug):c813a61

    NOTICE: BL3-1: Built : 14:47:05, Jun 16 2016

    INFO: BL3-1: Initializing runtime services

    WARNING: No OPTEE provided by BL2 boot loader

    ERROR: Error initializing runtime service opteed_fast

    INFO: BL3-1: Preparing for EL3 exit to normal world

    INFO: BL3-1: Next image address = 0x1000000

    INFO: BL3-1: Next image spsr = 0x3c9

    U-Boot 2019.07 (Oct 08 2019 - 15:37:28 +0300) nanopi-k2

    Model: Unknown

    Soc: Amlogic Meson GXBB (S905) Revision 1f:c (13:1)

    DRAM: 2 GiB

    MMC: [email protected]: 0, [email protected]: 1

    In: [email protected]

    Out: [email protected]

    Err: [email protected]


    Warning: [email protected] (eth0) using random MAC address - 42:a2:51:d6:ad:8a

    eth0: [email protected]

    Hit any key to stop autoboot: 0

    switch to partitions #0, OK

    mmc1 is current device

    Scanning mmc 1:1...

    Found /extlinux/extlinux.conf

    Retrieving file: /extlinux/extlinux.conf

    161 bytes read in 5 ms (31.3 KiB/s)

    1: LibreELEC

    Retrieving file: /KERNEL

    17723400 bytes read in 856 ms (19.7 MiB/s)

    append: boot=LABEL=LIBREELEC disk=LABEL=STORAGE quiet console=ttyAML0,115200n8 console=tty0

    Retrieving file: /dtb/meson-gxbb-nanopi-k2.dtb

    27379 bytes read in 6 ms (4.4 MiB/s)

    ## Flattened Device Tree blob at 08008000

    Booting using the fdt blob at 0x8008000

    Loading Device Tree to 000000007df58000, end 000000007df61af2 ... OK

    Starting kernel ...

    [ 0.146241] debugfs: Directory '' with parent 'regmap' already present!

    Quote from balbes150

    To check the reasons I don't post the image for nanopi-k2. Can you specify the exact version of the image (full name) that runs from the SD card ?

    I don't test every single Version. Last build that was booting: LibreELEC-AMLGX.arm-9.80-devel-20190821172816-07b919f-nanopi-k2.img.

    Quote from patrickkfkan

    When you say Kodi crashes, does it simply show an error message or does it reboot? In my case, it reboots and my Kodi crash log also has those lines you quoted but goes further than that:

    Sorry, I misunderstood. Yes, Kodi will restart (here was my mistake, reading reboot means for me rebooting LibreELEC).

    Quote from patrickkfkan

    Since you have this board, could you verify #5 as well? If you have a Netflix account you can also test (and most likely get the same results) with the Netflix Add-On. Thanks!

    Since I don't have a Netflix account i tried it with Amazon prime. I can confirm that Kodi crashes. Kodi Crash Log is available, but maybe you will find this useful (from Kodi.old.log):

    2019-09-07 06:51:46.618 T:4045398896 NOTICE: Creating InputStream

    2019-09-07 06:51:46.691 T:4045398896 ERROR: GetDirectory - Error getting /usr/lib/kodi/addons/inputstream.adaptive/

    Quote from balbes150

    The new version of the LE images 20190820.


    just wanted to test new Image on nanopi-k2. As for older Images (since June) Nanopi won't boot. Unfortunately my Computer crashed, so I am not able to do an update from May Image (not longer on my Computer or yandex). Is it possible to upload an May Image (before 16.05) on yandex, so that I can make further Tests with update Images? Thanks for your kindness.

    Quote from balbes150

    Show the UART log from the launch of my latest build 20190724. Self-Assembly from GIT can be different.


    Quote from balbes150

    Can you show UART log ?


    Quote from balbes150

    I temporarily stopped building aarch64. What exact version of the image was used ?

    I did a git pull today on your amlogic-master branch. Compiling (ARCH=arm) leads to the same result as above.

    Hello Balbes150,

    For Nanopi-K2 Building u-boot.bin (U-Boot? fip?) seems to be broken. LibreELEC does not boot from a freshly burned sd-card (Monitoring U-Boot via minicom: U-Boot bin loaded and halt)., but update from a working Card (from 26.05) will boot (branch amlogic-master).

    Now the bad News (build aarch64 amlogic-master):

    - TV (pvr.vdr.vnsi from branch amlogic master): leads to reboot (w/o HW-accerleration: playing with stutters)

    - Video Playback: leads to reboot (w/o HW-accerleration: ok)

    - Music Playback via UPNP: ok

    - installing addon (weather yahoo): ok

    All in all LibreELEC "feels" slower, maybe depending on LAN?

    Hi Balbes150,

    did a quick check for Nanopi-K2:

    booting: ok

    config: ok

    Ethernet: ok; no WiFi (no driver, I assume)

    edit advancedsetting.xml + Passwords.xml; reboot : ok, everything noticed.

    installed pvr.vnsiserver: test HD: ok; SD ok (after setting aspect ratio to 16:9 manually)

    Video H264 1980x1080p: ok

    Video H264 720x576i self-encoded ok, downloaded: for a few seconds picture and sound are far too quick (picture quicker than sound). This leads to Audio/Video async. Another test with h/w acceleration disabled: sound ok, no picture, just plain white screen.

    Video at all times: skipping for- / backwards leads mostly into crash (Kodi.log.old: ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true).

    That's for now. If you need futher information, let me know.