Jump to content

Armin

Members
  • Posts

    63
  • Joined

  • Last visited

Posts posted by Armin

  1. Thanks @SteeMan and @root-stas for your great support (without forgotten @balbes150 for his great job on Armbian)

     

    Today's news:

    1. I have burnt the version Armbian_20.05.4_Arm-64_bionic_current_5.7.0-rc6_20200518.img on the SD card with Etcher

    2.  Copy u-boot.sd to u-boot.ext (impossible to boot on the SD card without this)

    3. Modify uEnv.txt to choose meson-g12a-x96-max-no-cvbs DTB file in amlogic section:

    Spoiler

    LINUX=/zImage
    INITRD=/uInitrd

     

    # rk-3399
    #FDT=/dtb/rockchip/rk3399-rock-pi-4.dtb
    #FDT=/dtb/rockchip/rk3399-nanopc-t4.dtb
    #APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff1a0000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0

     

    # rk-3328
    #FDT=/dtb/rockchip/rk3328-box-trn9.dtb
    #FDT=/dtb/rockchip/rk3328-box.dtb
    #APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=uart8250,mmio32,0xff130000 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0

     

    # 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
    #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

     

    # aml s9xxx
    FDT=/dtb/amlogic/meson-g12a-x96-max-no-cvbs.dtb
    #FDT=/dtb/amlogic/meson-g12b-ugoos-am6-no-cvbs.dtb
    #FDT=/dtb/amlogic/meson-g12b-odroid-n2.dtb
    APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0

    4.  Boot on the SD card (with toothpick method because impossible with android update method due to error like this)

    5.  Define root password and create user session

    6. Force the Ethernet speed to 100Mb

    sudo ethtool –s [device_name] speed 100 duplex full autoneg on

    7. Now, I can use putty from another device to be connected on the TV Box !!!! :thumbup:

     

     

    Next step is to copy this configuration on the eMMC. So, I'm waiting your instructions to be sure that I can use this method:

    cd /boot
    sudo cp u-boot.ext u-boot.sd
    cd
    sudo /root/install-aml.sh

     

  2. @root-stas yes, Desktop version is not mandatory but I'm a newbie related to Armbian and also Linux. So, to start, Desktop version is better.

     

    But after reflexion, I just need to configure onlyone parameter (force the Ethernet to 100M)

     

    And command line seems to be:

    sudo ethtool –s [device_name] speed 100 duplex full autoneg on

     

  3. Thanks @root-stas for your great support. The SD card method didn't be successfully but this is OK with USB Burning Tool !!!

    So, now, I have a functional TV box with Android firmware

     

    @SteeMan I think you're right but I'm little bit lost.

     

    So, if I follow your recommendations, I need to proceed like this:

     

    1. Select a firmware from May into link RK_AML_AW:

    for example Armbian_20.05.4_Arm-64_bionic_current_5.7.0-rc5_desktop_20200516.img

     

    2. Burn it on the SD Card with Etcher.

     

    3. Edit uEnv.txt to select only one DTB file (g12 or sm1) into Amlogic section

    (the other DTB files into the other sections needs to be place in comments with # ?)

     

    4. Rename u-boot.sd to u-boot.ext

     

    5. Try to boot wtih the SD card on the box

     

    If this is OK, next step will be to install it on the eMMC.

     

    PS: For the moment, I do not need WiFi, BT, HDMI sound, perfect color and desktop. I want also the create a linux server with ethernet connection.

  4. 6 hours ago, SteeMan said:

    My guess is that this is the cause of your problems.  The contents of emmc are involved in the boot process, (that is where the uboot environment is stored and thus the multiboot script) so you really don't know what your starting point is here.  I would strongly suggest that you reinstall the android firmware to get to a clean starting point.  Then follow the instructions in the first post of the thread "Single Armbian image for RK + AML + AW"

    I also noticed that the uEnv.txt file you have posted has two FDT lines which is not correct.  You should only have one uncommented FDT line in the file.

     

    Thanks for your feedback.

     

    I will restore the Android firmware with "ddbr" utility from my initial backup but this is very long I suppose (backup time = 3H).

     

    I hesitate to use this method (this is the correct firmware of my box - X96 Air P3): https://chinagadgetsreviews.com/download-android-pie-9-0-firmware-for-x96-air-tv-box-2.html

     

    Moreover,  on this post (https://forum.armbian.com/topic/12988-armbian-for-amlogic-s905x3/page/7/?tab=comments#comment-101721) I have detailled my actions and after reading the the first post of the thread "Single Armbian image for RK + AML + AW", I didn't find where I'm wrong !!!

  5. Seems to be the same issue here: https://forum.armbian.com/topic/7930-armbian-for-amlogic-s9xxx-kernel-5x/page/53/?tab=comments#comment-98285

     

    I'm waiting 15min without success. I wil try otherd DTB but you have any idea to increase my chances !

     

    Maybe, @root-stas will have solution later: https://forum.armbian.com/topic/12162-single-armbian-image-for-rk-aml-aw/page/26/?tab=comments#comment-101783

  6. 22 hours ago, Armin said:

    Hello,

     

    On my new X96 Air 4/32Gb, I have

     

    1. Booted on the SD card (version Armbian_20.02.0-rc1.037_Aml-s9xxx_bionic_current_5.5.0-rc6_desktop_20200205 created with Etcher and replaced files from NicoD for the color issue)

     

    2. Created a backup of the eMMC

     

    3. Install Armbian on the eMMC following these instructions

     

      Reveal hidden contents

    jeedom@aml:~$ cd /boot
    jeedom@aml:/boot$ sudo cp u-boot.ext u-boot.sd
    [sudo] password for jeedom: 
    jeedom@aml:/boot$ cd
    jeedom@aml:~$ sudo /root/install-aml.sh
    Start script create MBR and filesystem
    /dev/mmcblk0
    Start backup u-boot default
    4+0 records in
    4+0 records out
    4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.256238 s, 16.4 MB/s
    Start create MBR and partittion
    Start restore u-boot
    442+0 records in
    442+0 records out
    442 bytes copied, 0.00434929 s, 102 kB/s
    8191+0 records in
    8191+0 records out
    4193792 bytes (4.2 MB, 4.0 MiB) copied, 0.443847 s, 9.4 MB/s
    Done
    Start copy system for eMMC.
    Formatting BOOT partition...mkfs.fat 4.1 (2017-01-24)
    done.
    Cppying BOOT...done.
    Edit init config...done.
    Formatting ROOT partition...
    /dev/mmcblk0p2 contains a ext4 file system labelled 'ROOT_EMMC'
        last mounted on /ddbr/install on Sat May 16 22:18:58 2020
    e2fsck 1.44.1 (24-Mar-2018)
    ROOT_EMMC: clean, 11/1851392 files, 160257/7400192 blocks
    done.
    Copying ROOTFS.
    Copy BIN
    Create DEV
    Copy ETC
    Copy HOME
    Copy LIB
    Create MEDIA
    Create MNT
    Copy OPT
    Create PROC
    Copy ROOT
    Create RUN
    Copy SBIN
    Copy SELINUX
    Copy SRV
    Create SYS
    Create TMP
    Copy USR
    Copy VAR
    Copy fstab
    *******************************************
    Complete copy OS to eMMC 
    *******************************************
    jeedom@aml:~$ 

     

    I have shutdown the system, remove the power supply, remove the SD Card and reconnect the power supply.

    But unfortunately, the system doesn't want to boot from eMMC (loops with HDMI detected (but blackscreen) and no HDMI detected)

     

    Do you have an idea to solve this issue ?
     

     

    Hello,

     

    Without answer, I have tried to perform several tests:

     

    1. burnt SD card with these recommendations: https://forum.armbian.com/topic/12988-armbian-for-amlogic-s905x3/page/4/?tab=comments#comment-97143 ==> no boot from SD card

    2.  burnt SD card with these versions: Armbian_20.05.4_Arm-64_bionic_current_5.7.0-rc5_desktop_20200516.img and Armbian_20.05.0_Arm-64_bionic_current_5.6.0-rc6_desktop_20200326.img  ==> no boot from SD card

     

    3. Burnt SD card with the version Armbian_20.02.0-rc1.037_Aml-s9xxx_bionic_current_5.5.0-rc6_desktop_20200205.img (I do not remerber why I have found this version)

    3.1 Add meson-sm1-sei610-ethfix.dtb into \dtb\amlogic

    3.2 Declare it into uEnv.txt

    Spoiler

    # aml s9xxx
    FDT=/dtb/amlogic/meson-g12b-odroid-n2.dtb
    FDT=/dtb/amlogic/meson-sm1-sei610-ethfix.dtb
    APPEND=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0

    3.3 Rename u-boot.sd to u-boot.ext

     

    ==> Boot from SD card is OK.

     

    3.4 I have seen 2 drives (ROOT_EMMC and BOOT_EMMC) so I imageine this is the previous installation on the eMMC ==> unmount these 2 drives

    3.5 Prepare the eMMC installation:

    cd /boot
    sudo cp u-boot.ext u-boot.sd

     

    3.6 Execute the eMMC installation:

    /root/install-aml.sh

    3.7 without error:

    Spoiler

    jeedom@aml:~/Desktop$ sudo /root/install-aml.sh
    [sudo] password for jeedom: 
    Start script create MBR and filesystem
    /dev/mmcblk2
    Start backup u-boot default
    4+0 records in
    4+0 records out
    4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.38637 s, 10.9 MB/s
    Start create MBR and partittion
    Start restore u-boot
    442+0 records in
    442+0 records out
    442 bytes copied, 0.00292171 s, 151 kB/s
    8191+0 records in
    8191+0 records out
    4193792 bytes (4.2 MB, 4.0 MiB) copied, 0.396535 s, 10.6 MB/s
    Done
    Start copy system for eMMC.
    Formatting BOOT partition...mkfs.fat 4.1 (2017-01-24)
    done.
    Cppying BOOT...done.
    Edit init config...done.
    Formatting ROOT partition...
    /dev/mmcblk2p2 contains a ext4 file system labelled 'ROOT_EMMC'
        last mounted on /ddbr/install on Wed Feb  5 12:43:32 2020
    e2fsck 1.44.1 (24-Mar-2018)
    ROOT_EMMC: clean, 11/1851392 files, 160257/7400192 blocks
    done.
    Copying ROOTFS.
    Copy BIN
    Create DEV
    Copy ETC
    Copy HOME
    Copy LIB
    Create MEDIA
    Create MNT
    Copy OPT
    Create PROC
    Copy ROOT
    Create RUN
    Copy SBIN
    Copy SELINUX
    Copy SRV
    Create SYS
    Create TMP
    Copy USR
    Copy VAR
    Copy fstab
    *******************************************
    Complete copy OS to eMMC 
    *******************************************
    jeedom@aml:~/Desktop$ 

     

    I have shutdown the system, remove the power supply, remove the SD Card and reconnect the power supply.

     

    But unfortunately, the system doesn't want to boot from eMMC (no bootloop as previously, the TV can detect HDMI signal but blackscreen).

     

    I'm lost !

  7. Hello,

     

    On my new X96 Air 4/32Gb, I have

     

    1. Booted on the SD card (version Armbian_20.02.0-rc1.037_Aml-s9xxx_bionic_current_5.5.0-rc6_desktop_20200205 created with Etcher and replaced files from NicoD for the color issue)

     

    2. Created a backup of the eMMC

     

    3. Install Armbian on the eMMC following these instructions

     

    Spoiler

    jeedom@aml:~$ cd /boot
    jeedom@aml:/boot$ sudo cp u-boot.ext u-boot.sd
    [sudo] password for jeedom: 
    jeedom@aml:/boot$ cd
    jeedom@aml:~$ sudo /root/install-aml.sh
    Start script create MBR and filesystem
    /dev/mmcblk0
    Start backup u-boot default
    4+0 records in
    4+0 records out
    4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.256238 s, 16.4 MB/s
    Start create MBR and partittion
    Start restore u-boot
    442+0 records in
    442+0 records out
    442 bytes copied, 0.00434929 s, 102 kB/s
    8191+0 records in
    8191+0 records out
    4193792 bytes (4.2 MB, 4.0 MiB) copied, 0.443847 s, 9.4 MB/s
    Done
    Start copy system for eMMC.
    Formatting BOOT partition...mkfs.fat 4.1 (2017-01-24)
    done.
    Cppying BOOT...done.
    Edit init config...done.
    Formatting ROOT partition...
    /dev/mmcblk0p2 contains a ext4 file system labelled 'ROOT_EMMC'
        last mounted on /ddbr/install on Sat May 16 22:18:58 2020
    e2fsck 1.44.1 (24-Mar-2018)
    ROOT_EMMC: clean, 11/1851392 files, 160257/7400192 blocks
    done.
    Copying ROOTFS.
    Copy BIN
    Create DEV
    Copy ETC
    Copy HOME
    Copy LIB
    Create MEDIA
    Create MNT
    Copy OPT
    Create PROC
    Copy ROOT
    Create RUN
    Copy SBIN
    Copy SELINUX
    Copy SRV
    Create SYS
    Create TMP
    Copy USR
    Copy VAR
    Copy fstab
    *******************************************
    Complete copy OS to eMMC 
    *******************************************
    jeedom@aml:~$ 

     

    I have shutdown the system, remove the power supply, remove the SD Card and reconnect the power supply.

    But unfortunately, the system doesn't want to boot from eMMC (loops with HDMI detected (but blackscreen) and no HDMI detected)

     

    Do you have an idea to solve this issue ?
     

  8. @jock

    Thanks for your feedback.

     

    I have checked and the Orange Pi Lite (CPU 1.2Ghz and 512Mo RAM) + box + power-supply is around 25€ and there is no eMMC, only SD card storage (weakless for domotic system).

     

    But your point for GPIOs is heardable, even if for the moment, I just need to communicate and drive my Nest thermostat !

  9. 1 hour ago, SteeMan said:

    It is difficult to provide you any specific answer as there are too many factors that go into the answer to your question.  Price is only one factor.  Performance (CPU speed, number of cores, amount of ram, ...), working features (i.e. do you need working wifi, bluetooth, video, 1000mb ethernet, ...).  What are you planning on using the box for:  headless server, desktop, watch 1080p video, ...

    The only two factors you have listed so far are price and working emmc, but there are so many others.

    Given that there are probably a hundred different boxes out there with various combinations of all of the above factors, and I only own 4 different boxes, I have a very limited set of information to give you.  Having said that, of the boxes I own, the s905x3 2gb/16gb based TX3 can be found on aliexpress for about $25.  I own the 4gb/32gb version as I want the higher level of ram but I run the latest versions of balbes150's builds on the box in emmc.  This box does not have working wifi, bluetooth nor does it have 1000gb ethernet.

     

    Thanks for your answer.

     

    I just need Ethernet and USB (so, BT and WIFI issue is not a problem). I want to create a "domotic" server (https://www.jeedom.com/site/en/ or https://www.domoticz.com/wiki/About_Domoticz) but the price of Odroid C2 is higher than $100 and I think that Box TV with Armbian can be a good alternative to test "domotic" (automation)

     

    Therefore, your 4gb/32gb version can be a best solution. Do you have a link to purchase it ?

     

    Thanks in advance

     

     

  10. On 4/15/2020 at 4:27 PM, SteeMan said:

    You probably need to be more specific about your requirements.  What features do you need working and what are you planning on using it for. 

    I have 4 TX3 Mini 2gb/16gb boxes (the version without the display).  I use two of them for servers, a third to test with and the fourth I use the original android firmware to run a digital display.  These can be found for $25 or less (for example https://www.aliexpress.com/item/4000537589239.html).  I use the meson-gxl-s905w-tx3-mini.dtb file.  Ethernet and hdmi work but no wifi or bluetooth.  This box at this price point is on the low end, so don't expect to watch 1080p video, but for light web browsing it works fine.  Now the problem I have.  On two of the boxes I have installed to internal emmc and everything works fine.  However the last two boxes I bought, don't have emmc.  Instead they have internal cheap nand which can't be accessed.  There is nothing about these two nand boxes that indicate they aren't what they are advertised to be, until you open them up and look at the chips that exist on the board.  When you are looking for cheap, there are a lot of vendors that sell knockoffs that look like the real thing but come with substandard components in order to cut costs.  Buyer beware.

    Hello Steeman,

    Any idea for a box around $25-30 to install Armbian on the eMMC.

    Because, I have understood that on the last version of the TX3 Mini, It was no more possible (Nand instead of eMMC).

     

    Thanks

     

  11. On 12/22/2019 at 2:35 PM, balbes150 said:

    Starting from version 19.11.4, armbian TV supports Tanix TX6 with Allwinner H6 processor, 3Gb RAM, USB 3.0, LAN 100Mb, mali T720.

    Given that Panfrost has added support for the mali T720 (which is used in this model), it is a promising enough model to use.

    There are already Libreelec and Armbian for this TV box model.   :)

     

    + Eachlink H6 (Allwinner H6)   Hurry up to buy these models before the sellers learned about this possibility and raised the price ....     :)

     

     

     

    Hello,

     

    Is it this model ?

    https://fr.aliexpress.com/item/4000469743393.html

     

    Possible to boot (Armbian) on the eMMC ?

     

    Greetings

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines