Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

LibreELEC and Armbian for Allwinner TV box

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Armbian is a Linux system. To run Libreelec, you need to use Libreelec files. See the first post of this topic, there are links to unofficial versions of LE. After writing the LE image to the SD card, you do not need to add or change anything in SD. You can immediately connect the SD card to the TX6 and turn on the power. The system should start automatically. If this does not happen, then you will need additional steps that depend on the exact name of the TV box model.

    Comment


      #32
      Libreelec Version 20200331.
      Fixed support for 4K video.
      Please note that the image name has changed for Allwinner H6, now it is called h6. The process of updating via the TAR archive has also changed. Now a single shared TAR file (amlgx) is used for the entire line of rk+aw+aml systems that use LIMA+Panfrost drivers.



      A passing question. Are there users of models with H5 ?

      Comment


        #33
        This Thread is here for posts of SD images for Amlogic devices that Boot directly into Linux from sd Card. Special Thanks to balbes150 for all his work in this area This is for Any Amlogic SD card Image for any Distro that is Confirmed Working. As this is the Start of this Thread the Images will be listed in this manor. 905

        Comment


          #34
          Armbian ver 20.05.2 (20200416) kernel 5.7-rc1

          Libreelec arm and aarch64 20200416 kernel 5.7-rc1

          Comment


            #35
            Sorry but im do somthing wron.. i have TX6 4/32
            not boot from SD black screen and black :time in the box:
            1 Dowload and write image with rufus or balena Armbian_20.05.0_Aw-h6-tv_bionic_current_5.6.0-rc4_20200311.img.xz
            2 insert in the box SD and insert power cable and nothing.. (all black how its power off)

            3 ok remove SD and dd if=u-boot-allwinner-h6-tanix-tx6.img /dev/(SD card) bs=1 count=442
            dd if=u-boot-allwinner-h6-tanix-tx6.img /dev/(SD card) bs=512 skip=1 seek=1
            4 try! insert SD -> power = nothing (black lcd) nothing in monitor. wait 15 min nothing.

            if remove SD -> and power cable insert lcd write "boot" and boot android

            uEnv.txt:
            LINUX=/zImage
            INITRD=/uInitrd
            # aw h6
            FDT=/dtb/allwinner/sun50i-h6-tanix-tx6.dtb
            #APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyS0,115200 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 mem=2048M video=HDMI-A-1:e
            APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyS0,115200 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0



            to same with LibreELEC-ARM-ALL.aarch64-9.80-devel-20200214172700-569f834-tanix-tx6.img.gz

            two days try but nothing.. dont boot.. what i do wrong?.. maybe have lock bootloader in MatherBoard or i dont know.. HELP!

            Comment


              #36
              Originally posted by dimkaprodimka View Post
              Sorry but im do somthing wron.. i have TX6 4/32
              not boot from SD black screen and black :time in the box:
              1 Dowload and write image with rufus or balena Armbian_20.05.0_Aw-h6-tv_bionic_current_5.6.0-rc4_20200311.img.xz
              2 insert in the box SD and insert power cable and nothing.. (all black how its power off)

              3 ok remove SD and dd if=u-boot-allwinner-h6-tanix-tx6.img /dev/(SD card) bs=1 count=442
              dd if=u-boot-allwinner-h6-tanix-tx6.img /dev/(SD card) bs=512 skip=1 seek=1
              4 try! insert SD -> power = nothing (black lcd) nothing in monitor. wait 15 min nothing.

              if remove SD -> and power cable insert lcd write "boot" and boot android

              uEnv.txt:
              LINUX=/zImage
              INITRD=/uInitrd
              # aw h6
              FDT=/dtb/allwinner/sun50i-h6-tanix-tx6.dtb
              #APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyS0,115200 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 mem=2048M video=HDMI-A-1:e
              APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyS0,115200 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0



              to same with LibreELEC-ARM-ALL.aarch64-9.80-devel-20200214172700-569f834-tanix-tx6.img.gz

              two days try but nothing.. dont boot.. what i do wrong?.. maybe have lock bootloader in MatherBoard or i dont know.. HELP!
              Are you sure you have a Tanix TX6 model ? Have you changed the regular Android firmware ?

              Try to uncomment (del #) the string

              #APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyS0,115200 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 mem=2048M video=HDMI-A-1:e

              and delete the string.

              APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyS0,115200 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0

              Comment


                #37
                New image
                Armbian 20.05.4 (20200509)
                Libreelec (20200508)

                Comment


                  #38
                  Hi,
                  Please bear with a Linux beginner here.

                  I've managed to install and run Armbian from a SD card on a Tanix TX6 4/64, but don't know how to get the OS installed on eMMC.

                  The Armbian TV Box - Single Armbian Image page says there is a script that I can run, but I cannot find any .sh file.

                  When I use this command : bash emmc_autoscript.cmd , it comes back with "fatload : command not found; setenv: command not found". Also, do I need to wipe all the paritions in eMMC with GPart before installation ?

                  I have Googled for a few days but could not find an answer.

                  Thanks in advance for your help.

                  Comment


                    #39
                    Originally posted by hksidney View Post
                    Hi,
                    Please bear with a Linux beginner here.

                    I've managed to install and run Armbian from a SD card on a Tanix TX6 4/64, but don't know how to get the OS installed on eMMC.

                    The Armbian TV Box - Single Armbian Image page says there is a script that I can run, but I cannot find any .sh file.

                    When I use this command : bash emmc_autoscript.cmd , it comes back with "fatload : command not found; setenv: command not found". Also, do I need to wipe all the paritions in eMMC with GPart before installation ?

                    I have Googled for a few days but could not find an answer.

                    Thanks in advance for your help.
                    What image do you use ?

                    Comment


                      #40
                      Armbian_20.05.4_Arm-64_buster_current_5.7.0-rc4_desktop_20200510.img.xz

                      Thanks.

                      Comment


                        #41
                        Originally posted by hksidney View Post
                        Armbian_20.05.4_Arm-64_buster_current_5.7.0-rc4_desktop_20200510.img.xz

                        Thanks.
                        1. rename the file (boot-emmc.scr.aw) in (boot-emmc.scr).
                        2. to run the command (sudo /root/install-aw.sh). Note the suffix AW (not to be confused with AML).

                        You don't need to create anything manually on eMMC, the script will automatically install everything.

                        I strongly recommend that you run the DDBR utility (sudo ddbr) and create a full compressed copy of eMMC BEFORE starting the installation. This will help you return to the current state of eMMC at any time (to the system that is currently in eMMC).

                        Comment


                          #42
                          Originally posted by balbes150 View Post

                          1. rename the file (boot-emmc.scr.aw) in (boot-emmc.scr).
                          2. to run the command (sudo /root/install-aw.sh). Note the suffix AW (not to be confused with AML).

                          You don't need to create anything manually on eMMC, the script will automatically install everything.

                          I strongly recommend that you run the DDBR utility (sudo ddbr) and create a full compressed copy of eMMC BEFORE starting the installation. This will help you return to the current state of eMMC at any time (to the system that is currently in eMMC).
                          balbes150 Thank you so much. That is very kind of you.

                          Actually on previous attempts, I did rename all the four AW files to: boot.cmd, boot.scr, boot-emmc.cmd,boot-emmc.scr

                          As for DDBR, I have tried countless times but they always stopped after compressed copying about 1%. It may be because I used a 32G SD Card for a 64G eMMC.

                          In any event, I shall follow your instruction and report back.

                          Cheers.

                          Comment


                            #43
                            Originally posted by balbes150 View Post

                            1. rename the file (boot-emmc.scr.aw) in (boot-emmc.scr).
                            2. to run the command (sudo /root/install-aw.sh). Note the suffix AW (not to be confused with AML).
                            Succeeded ! Armbian running from eMMC.

                            balbes150 Just can't thank you enough for the help and for this brilliant project. As always, you are my hero!

                            Comment


                              #44
                              New ver Libreelec 20200529 and Armbian 20200529

                              Comment


                                #45
                                Originally posted by balbes150 View Post
                                New ver Libreelec 20200529 and Armbian 20200529
                                Dear balbes150,

                                I own "Tevii p500" which is a "Sunvell Q+" and it's same as "Tanix x6", i used "Libreelec", booted from "SD card", but output on my TV is a appeared for one second then black screen, so i connected to the box UAR,T and i can confirm kernel booting till "init" start, then no message, so what is wrong, kindly find the UART dump in attachments.
                                Also i tried after that to boot with "Armbian", it booted ok, "HDMI" working correctly, but take too long "scanning for btrfs filesystems", so why "Libreelec" can't output correctly.

                                http://tevii.com/Products_p500_1.asp
                                Attached Files
                                Sunvell Q Plus Allwinner H6 4GB 32GB 100M LAN 2.4G WIFI Android 8.1 4K H.265 VP9-10 TV Box https://i.postimg.cc/jqZ9WjZc/IMG-20190414-151206.jpg (https://postimages.org/) The tv box in this review came direct from the guys over at Sunvell who have been building TV box's for a few years now and do a good job of it. Hi

                                Comment

                                Working...
                                X