Jump to content

zogu

Members
  • Posts

    18
  • Joined

  • Last visited

Posts posted by zogu

  1. You must use new autoscript. I'm not sure will you have to install again from libreelec if you want to switch back, but you can install it from android every time you need it

    But the box is already booting from external media (sd/usb). If I use aml_autoscript.zip will it still work as it is working now? (i.e. no external media present boot from nand otherwise boot from external media)?
    I don't want to lose the ability to boot coreelec/libreelec.


    Sent from my Redmi Note 4 using Tapatalk

  2. It does not look so dangerous :D, didn't know what it does.
    I don't want to brick my box and never tried soething what i don't know what it does, , but also i have some skills and a lot of hardware (uart, jtag, eeprom and flash programmers), but usually i'm using it when someone else brick his device.
    Thank you for explanation and all your help for all our devices. I'm using older version on my tv boxes, but i like to learn and test everything else ;)

    I'm not developer, i work as linux sysadmin, i just quote what jock posted not knowing what this command does. 

    1 hour ago, balbes150 said:
    This command completely erases the entire eMMC (including the u-boot loader), turning the TV box into a brick. To start system, you need a guaranteed working version of u-boot for your TV box model or set (firmware+cable+software) to restore from the PC.
    The instruction referenced by the user is intended solely for developers who need to be able to test their work. In particular, check the operation of its version of u-boot. Are you a system developer?

     


    Sent from my Redmi Note 4 using Tapatalk
     

     

  3. 47 minutes ago, jock said:

    Again: to let the tvbox boot from the sdcard, eMMC must be erased.

    I booted so many times my 3 tv boxes from sdcard and never had to erase eMMC.  I'm still not sure even is it safe.

    Even in pdf which you pointed, I can't  find where is written to have to erase flash, there are just few u-boot commands:

    5. If there's some old data on the flash, you might wish to erase them all  (recommendation, but just for data)

    # store init 3 (u-boot command)

    # reset // now the system starts from sd card (u-boot command)

    Maybe i have some special tv-boxes, i bought the cheapest one from Ali and GB.

     

  4. Erasing bootloader on amlogic destroy board, this is for rockchip, not for amlogic.
    Maybe i'm wrong.

    On topic, great it boots finally. I think that balbes150 kernel has full v4l2 m2m support, it is definitely best kernel for tv boxes because it support so many devices.

    Sent from my Redmi Note 4 using Tapatalk
     

  5. In build script you can choose to compile only kernel.
    Only time consuming thing is to wait until scripts download 6 different toolchain. If you have fast internet it is not a problem. Build script is adopted for ubuntu, but in general.sh is written how to override this.

    Sent from my Redmi Note 4 using Tapatalk

  6. Bootloader is in internal memory, there is no bootloader on sdcard. S905_scriptwhatever is used only to change environment and it is used once, before first boot.
    Aml_autoscript boots linux. You have separate lines for sdcard, usb and maybe something else. This file you have to edit to remove initrd. Also this file calls uenv.ini where is boot command similar to grub or lilo boot commands.
    After editing aml_autoscript you must covert it using
    mkimage -A arm64 -T script -O linux -d name.txt name.scr

    Yes. I have armbian running on tx3.
    I was trying to play with scripts in armbian boot partition. Without success....
    As boot loader is enabling hdmi quite late on boot - I'm blind to see where issue is as boot hangs on phase with not yet enabled hdmi.
    (sure I can solder tty console and see where boot sequence fails - but first i decided to ask armbian ppl as armbian boots OK on tx3....) 
     
    1.first thing I want to understand:
    is successfully booted armbian on tx3 hw booting via:
    a\ sd card u-boot, or
    b\ emmc amlogic u-boot flashed and used by factory flashed android?
     
    If 1.a is true, then where u-boot is stored on SD card?
    a\ is it embedded in first sectors of SD card (via dd if=... of=.... bs=1 count=444 etc)
    b\ it is file on sd card /boot partition
     
    if 1.a is true:
    -how should I embeed it on sd card?
     
    if 1.b is true:
    -which file it is?
    -what boot script it uses?
     
    2. on sd card I see multiple u-boot like scripts:
    which one is used by boot loader on tx3 when tx3 is booting armbian from sd card?
    a\  emmc_autoscript
    b\  s905_autoscript
    c\ aml_autoscript
     
    3. What is uEnv.ini for?
    (is this script for amlogic u-boot?)
     
    Generally:
    method You suggesting for replacing armbian kernel image to mine was my first thought.
    But armbian uses also initrd. I'm not.
    So I need somehow reflect this fact - but I don't know how...
      
    btw: it is nice that You are trying help me here!
     


    Sent from my Redmi Note 4 using Tapatalk

  7. Did you boot armbian on tx3? It is simple, just download image and look at a scripts. Or just replace kernel with your kernel image and edit line where is rootfs (in file uenv.ini for old builds, not sure for mainline).
    Supereasy, just try and it will boot. If kernel supports cpus ;)

    7 hours ago, PiotrO said:
    argh - I wasn't clear enough :-(
    I don't want to build armbian. 
     
    I already have my OS (https://github.com/warpme/minimyth2).
    MiniMyth2 already supporting x86 arch with 1560 out-of-box supported gfx cards as zero-touch provisioning appliance via network boot.
     
    
    part uuid ${devtype} ${devnum}:2 uuidsetenv bootargs cma=256MB console=ttyS1,115200 console=tty0 root=PARTUUID=${uuid} rw rootwait smsc95xx.macaddr="${usbethaddr}"if load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /Image; then  if load ${devtype} ${devnum}:${bootpart} ${fdt_addr_r} /dtbs/${fdtfile}; then    if load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} /initramfs-linux.img; then      booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r};    else      booti ${kernel_addr_r} - ${fdt_addr_r};    fi;  fi;fi
     


     
    So my Q is:
    How I should organise this for s905?
    (hw I have is tx3-mini)     
     
    thx in advance!
     

     


    Sent from my Redmi Note 4 using Tapatalk
     

     

  8. 2 hours ago, Saurabh said:

    Hi, I was trying armbian images with 4.18 and 4.19 kernel on my s905w 2G/16 board.  It's working fine but I facing 2 issues:

    1. The board has wifi chip of sv6051p chip and doing modprobe “dhd” or “wifi_dummy” or "ssv6051" or "wlan" doesn't work. Always says module not found.

    2. The default sound output is HDMI , so is there anyway by which we can change it to Av output ?

    You have to compile wifi driver by yourself, mainstream kernel  has very bad support for wifi chips.

    For sound output use alsa mixer to configure. Or make dtb file for exactly your model.

     

    Also there is separate topic for Armbian build with mainstream kernel:

     

  9. @balbes150 If i flash your u-boot (some previous version, not the last one), can i somehow add support for power on/off with remote control? I have nexbox nougat firmware in my box and this is the best firmware, but currently remote power on/off does not work. I mostly use armbian, but still need remote for power on.
    In android dtb there is remote config which i didn't modify because i think it is only for android when it is booted, but it is not problem to edit and recompile dts.
    Also one more question. I tried many armbian version and here is the report:
    5.41.1 mali 6 ubuntu mate, mate is unstable (sound and wifi applet always crash), chromium is fast and youtube works as it should except in full screen when stutter a lot. Kodi does not work, didn't look ak a log.
    For me best version.
    5.41.1 mali 6 debian xfce, xfce works perfectly, chromium unusable, kodi does not start. Also with all debian versions, probably xfce needs more memory then mate, i have only 1gb.
    5.44, latest kernel. Similar to 5.41, mate unstable, can't install chromium because of unmet dependencies, kodi is working, firefox plays youtube, but i like more chromium, it is faster.
    Question is simple, what is your favorite version? I never tried Icewm, maybe i should?
    Thanks :)

    Sent from my Redmi Note 4 using Tapatalk

  10. Odroid uses its kernel version for S905 (not X), it is not compatible with S905X\S912.
     
     
    What about mali, is it same? I know hardkernel bought mali DDK, is any difference between armbian and odroid's ubuntu?
    When i boot odroid c2 images with your kernel and modules from 5.41.1 image (i think that is version i used with support for mali 6) and generated uInit for this kernel, system boot without error, but there is no acceleration.
    Even mali Api number is same in both kernel (800).
    If acceleration is same i will not bother any more with odroid images, i will wait for fully working 4.xx images.
    I only need full screen videos from browser, i have this (almost perfect) in android.

    Sent from my Redmi Note 4 using Tapatalk

  11. Anyone succeed booting odroid c2 images on s905x?

    Latest image (from june) has full chromium acceleration and native kodi 30fps@4k (if i understood correctly because i still can't figure which libmali is for kodi, which for chromium etc...).

    I tried to compile hardkernels odroid kernel, but can't figure what to change to boot, it compile, but never boots. When i put my dtb which i'm using for armbian, it stuck to bootloader screen. Also with any other p212 dtb, even from android.

    When i'm using latest armbian 3.14 kernel, image boots and because i didn't install modules for 3.14, i'm getting prompt without X.

    To boot C2 system/kerenl i used @balbes150 boot partition with modified uEnv.ini with bootargs form odroid boot.ini and renamed kernel and initrd.

    Actually real question is are this images really faster and better support mali 450 than armbian?

    I will buy soon faster and bigger sdcard, hope that when i enable swap that at least youtube will work with standard armbian images.

  12. I'm using scshion v88 pro, s905x, 1gb ram.

    It works great with all builds i tried (in latest builds with 4.x kernel there is no wifi, i never had time to compile drivers for RTL8189ES). MBR partition table also works with latest builds.

    Still android 7.1 (installed version for nexbox a95x) is much faster for multimedia and until we get fluid youtube in chromium i will stick with android.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines