Jump to content

sicxnull

Members
  • Posts

    40
  • Joined

  • Last visited

Posts posted by sicxnull

  1. Been doing some digging the last few days and see that Miniarch has a fantastic setup for X96-q LPDDR3 so i ended up switching over to those DTS files with minimal changes needed

    USB and EMMC both work now. No Wifi on edge, but will look into that further. 

    Installing to EMMC will break it, will look into this. 

    https://github.com/armbian/build/pull/7276

    Will upload some builds to my fork. 
     

  2.  

    4 hours ago, jschwart said:

    I understand that the device tries to boot from SD card if it sees one over the internal flash? The internal flash stays intact in that case?

     

    Yes it will boot from SD card first

     

     

    4 hours ago, jschwart said:

    Is there a way to determine which X96-Q version one has without opening it up? Maybe though an adb shell?


    Easiest way os to just pop the cover off on the bottom, it's just held on by some clips and look at the board. 

  3. 4 hours ago, Panda said:

    I want to try to write armbian to emmc, I have the USB cable, but I don't know how to backup the android to restore in case of failure (and be sure, it will failure)

     


    FYI flashing to EMMC causes a u-boot loop that's impossible to break out of. i was lucky enough to find an android image that works and flashed it back with AndroidTool to get the box working again. Not sure if it's expecting a specific partition structure or what. I did not go too far into it. 

    I built an image with rk3528-evb3-lp4x-v10.dtb that seemed to work somewhat. 

  4. image.thumb.png.58c351a867c520d1d45952c224142af5.png


    Got Armbian to run on those $20 TV Boxes sold at Wal-Mart. This is for the Dopinder variant, i have not tested on the newest version (YOC) but I will likely pick one up just to see. 

     

    -removed-

    Requires a few changes outside of the norm for armbian builds, so it's on my own fork. Likely will not be doing a PR. That said, it pulls the latest armbian source when building. 

    https://github.com/sicXnull/Onn4K-TV-Box-Armbian

     

    Needed:

     

    OTG Cable (required)

    USB Hub (recommended)

    USB to Ethernet adapter (recommended)

     

    Working
     

    HDMI

    Audio

    Bluetooth

    Wi-Fi



    Building:

    git clone https://github.com/sicXnull/Onn4K-TV-Box-Armbian.git
    cd Onn4K-TV-Box-Armbian
    git clone --depth=1 https://github.com/armbian/build armbian-build
    cp -R armbian-patch/* armbian-build/
    cd armbian-build
    ./compile.sh build BOARD=onn4k BRANCH=current BUILD_DESKTOP=yes BUILD_MINIMAL=no DESKTOP_APPGROUPS_SELECTED= DESKTOP_ENVIRONMENT=mate DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base EXPERT=yes KERNEL_CONFIGURE=no KERNEL_GIT=shallow RELEASE=bookworm
    cd ..
    sudo ./postscript.sh


    write the image to USB.

    cd armbian-build/output/images
    sudo dd if=Armbian-unofficial_24.11.0-trunk_Onn4k_bookworm_current_6.6.48_mate_desktop.img of=/dev/sdb bs=4M status=progress

     

    Booting from USB

     

    Plug it into your onn 4K UHD using an OTG cable, and hold the reset button while plugging in power.

     

    For future boots, you just need the USB drive plugged in during poweron. There is no more need to hold the reset button.

    EMMC Boot

    I'm assuming flashing to EMMC will break it, i have not tested this yet, although i plan to in the future. 

  5. On 9/1/2024 at 4:29 PM, Nick A said:

    Hi sicxnull

    I was looking at your DTS.. why is ehci0 and ohci0 disabled?

     

    &ehci0 {

    + status = "disabled";

     

    +&ohci0 {

    + status = "disabled";

    +};


    Honestly, i took the dtb from a OPi Zero3 (i think) so that was likely disabled by default. i believe enabling will fix the USB issue listed above (will test and fix if so). Still learning here when it comes to customizing the DTS.
     

     

    On 9/1/2024 at 4:29 PM, Nick A said:

    For your internel emmc you probably have to set the correct gpio. Check your original android DTS see if it's setting PF6 or another gpio PI16.

     

    cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */

    cd-gpios = <&pio 8 16 GPIO_ACTIVE_LOW>;    /* PI16 */


    I will check this out, along with your other recommendations. Much appreciated! I opened this thread for feedback like this so the box can be 100% sometime in the future. 

     

  6. 10 hours ago, bladyle said:

    Just tested your build and it working good. When I compiled with cinnamon there was a problem with cinnamon panels. 

    I have noticed two problem only for now:

     - one of the usb ports don't work for me ( the one farther from sd card slot)

     - i have display flickering on 4k resolution, if lower resolution is selected no problem 


    Confirmed on my end too, only 1 of the USB ports work. Ill take a look at the dts

    I honestly only tested on 1080p monitor, so the 4k thing never came up for me, ill see what i can find out. 

    I'm no pro with building DTB's, and it's my hope others can contribute to this box and make it perfect, but i'll continue to learn and contribute as time goes on. 

     

     

    5 hours ago, Ciremya_ said:

    Hello sicxnull,

     

    I've been following your topic since the beginning as I bought the same Android STB and have also been trying to run it on Linux since August 14th !

     

    With termux on the stock android there seems to be 2Gb of RAM, but on your Armbian “Minimal/Server” build I'm getting down to 914Mb.

     

    On stock Android :

                    total        used        free      shared     buffers
    Mem:             1.9G        907M        1.0G        6.4M        524K
    -/+ buffers/cache:           906M        1.0G
    Swap:            1.4G        138M        1.3G


    On your Armbian Build :

    image.thumb.png.5d739a89ca0c8a294a413a32d1980a8a.png



    Any clues about this gap?
    Is it because RAM is shared with graphics?

    cya~


    Odd, i just fired up bookworm w/cinnamon. I will upload 24.11 6.6.44 to my repo or you can compile it yourself from the main armbian repo

    image.png.dd2f751c812a2bf072956f003be01662.png

  7. Quote

    How can I install this image on device? I recorded the image on an SD card, inserted it into the device, pressed the button in the AV input and turned on the power. The X96q splash screen appeared, quickly disappeared and nothing else happens.


    Power off unit. Burn to SD card, insert SD card, power on.  You don't need to press the button in the AV port

    Your board looks different and has a different ramchip. I'm assuming it's not the LPDDR3 version but i could be wrong. 

    IMG_9290.thumb.jpg.aa86a9c21f1dd89924d5d56fe69ee793.jpg

  8. image.thumb.png.b67bc3ce92d97b4af0b7215092cf30d3.png

    Currently working on a build for this device. It boots and is about 90% functional on 6.6 and 6.7 Kernel


    https://github.com/sicXnull/armbian-build/tree/X96Q-TVBOX-LPDDR3

    Working
    - Desktop
    - Ethernet
    - Wifi

    Not working

    -
    DTS could use some work. Right now it does not detect internal EMMC so installing to EMMC is not an option. 
    - Likely other things i've missed. 

    I've uploaded two images to my git. 

    Full w/Mate Desktop
    Minimal/Server

    Feel free to compile this yourself if you don't trust my images, it's encouraged. Changes are on the X96Q-TVBOX-LPDDR3 Branch

    Full W/Desktop

    ./compile.sh build BOARD=x96q-tvbox BRANCH=current BUILD_DESKTOP=yes BUILD_MINIMAL=no EXPERT=yes KERNEL_CONFIGURE=no KERNEL_GIT=shallow RELEASE=bookworm


    Minimal/Server

    ./compile.sh build BOARD=x96q-tvbox BRANCH=current BUILD_DESKTOP=no BUILD_MINIMAL=yes EXPERT=yes KERNEL_CONFIGURE=no KERNEL_GIT=shallow RELEASE=bookworm



     

  9. Hello Everyone

    I have added Armbian for the Heltec HT-M2808 Helium Miner 

    https://github.com/armbian/build/pull/6989#event-13647037453
    https://heltec.org/project/ht-m2808/

    To Compile 
     

    ./compile.sh build BOARD=rk3328-heltec BRANCH=current BUILD_DESKTOP=no BUILD_MINIMAL=no EXPERT=no KERNEL_CONFIGURE=yes KERNEL_GIT=shallow RELEASE=bookworm 


    You can obviously decide to go with a desktop environment (board has no HDMI) or use a different release.

    How to Flash

    1) Install Rockchip Flash Tools 
    2) Download bootloader (rk3328_loader_ddr333_v1.16.250.bin) attached here. 
    3) Boot device into LOADER mode. 

    1. Plug USB Cable in to back of the unit, powered off. 
    2. On the back of the device. Use a small pin and hold the reset button (unit powered off) THEN insert the power cable while the reset button is pressed

    4) Follow the flash procedure found here


    Maskrom Pin

    If you get stuck and need to reflash, there's a good chance holding the reset button will not work to get back into LOADER mode. To boot directly to MASKROM, you can short this pin

    image.png.b80470e62ff147cf2af789981a38f512.png


    Needed

    1) Wifi/BT does not work currently 
    2) SPI not recognized

    3) LEDs not working
    4) Likely other things, but the OS is 90% functional. 


     

    rk3328_loader_ddr333_v1.16.250.bin

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines