Jump to content

zogu

Members
  • Posts

    18
  • Joined

  • Last visited

Reputation Activity

  1. Like
    zogu reacted to armar in Armbian for TV box rk3328   
    Update on the A5X MAX. 
     
     I made some modifications to the dts file, mostly merging sections from android and other files. These include dram and Wifi  settings for the A5X MAX. The blue led also works now. Attached my latest dts.  Max freq is 1296, temp limits are 90C,105C and 110C.  None of the changes are very important, use at your own risk.
     
    I could get USB webcams to work by enabling some USB AUDIO and VIDEO parameters in the .config and building/installing the kernel.
     
    Got a  USB fan platform , on which you can place the A5X MAX (no modifications) and get a 15-20C reduction in temps. Details in the cooling of TV Boxes thread. The only problem is that the fan stays on after shutdown.
     
    For Bluetooth, I found there were some disconnects/reconnects of BT and Wifi sometimes. Usually would reconnect on its own. Only happened when you use BT.  So based on the lwfinger 8723bs github page, I tried the new firmware rtlbt_fw_new by renaming rtlbt_fw to rtlbt_fw_old and copying rtlbt_fw_new to rtlbt_fw in /lib/firmware/rtl_bt and the disconnect/reconnect problems seem to have gone away.
     
    I noticed that by default hdmi sound is not enabled, you have to go speaker icon on the panel and change it to hdmi, but if after booting you turn off/on the TV again, the sound through hdmi works, even though the panel Default Sink icon points to spdif. Might indicate some ordering problems during boot.
     
    IR remote still does not work.
     
     
    rk3328-a5xbt1.dts
  2. Like
    zogu reacted to balbes150 in Armbian for Amlogic S9xxx kernel 5.x   
    New version 5.75 of the image and script.  dir s905_mali
     
    Simplified use of the script. Once your image is running nominally for Armbian need to download, unzip and run the script. After the script finishes, reboot the system. If after reboot there will be no sound, you need to perform, on behalf of the ROOT user, one command
     
    update-initramfs -v -c -k `uname -r`
     
    and reboot the system. No other additional steps or commands are required.  Please note that the new version of the script works only with this version of the image (which is with him on the site in the same directory).
     
     
  3. Like
    zogu reacted to balbes150 in Armbian for Amlogic S9xxx kernel 5.x   
    New image 5.75
     
     
    How to get HW for s905x
     
    https://forum.khadas.com/t/armbian-kodi-ubuntu-debian-for-sd-usb-emmc/825/299?u=balbes150
     
     
  4. Like
    zogu reacted to armar in Armbian for TV box rk3328   
    I have bluetooth working on the A5X MAX (sort of). Still flaky and turns off sometimes.
     
    Steps.
    1. Some small changes to mp16 s dts file for BT. The new file is attached.
     
    From < BT,power_gpio = <0x95 0x1a 0x0>; < BT,wake_host_irq = <0x95 0x18 0x0>; --- To > BT,power_gpio = <0x95 0x18 0x0>; > BT,reset_gpio = <0x95 0x15 0x0>; > BT,wake_host_irq = <0x95 0x1a 0x0>;  
    Found something similar at
    https://forum.pine64.org/showthread.php?tid=1392&pid=13219#pid13219
     
    2.   From https://github.com/lwfinger/rtl8723bs_bt
    Download/clone and make to create the rtk_hciattach binary. I think the firmware files are already in /lib/firmware/rtl_bt , if not copy them there.
    The trick is to call rtk_hciattach correctly. Below is a way of setting it up as a service.
     
    3. Create a service with rtk_hciattach
     
    mkdir /usr/local/sbin/bluetooth cp rtk_hciattach /usr/local/sbin/bluetooth  
     
       create  a5x_bluetooth.sh in /usr/local/sbin/
    #!/bin/bash # Shell script to install Bluetooth firmware and attach BT part of # RTL8723BS echo "Initializing Bluetooth Module." /usr/local/sbin/bluetooth/rtk_hciattach -n -s 115200 /dev/ttyS0 rtk_h5 > /usr/local/sbin/bluetooth/hciattach.txt 2>&1 & /bin/sleep 5 echo "Bluetooth Module Active"  
    The /dev/ttyS0 might be different for different boards.  Do a  "dmesg | grep tty | grep MMIO" and pick the first one.
     
    Create a bluetooth-module.service file  in /etc/systemd/system

     
    [Unit] Description=Start A5X Bluetooth Module After=systemd-modules-load.service local-fs.target [Service] Type=idle ExecStart=/usr/local/sbin/a5x_bluetooth.sh RemainAfterExit=yes [Install] WantedBy=multi-user.target  
    4. Enable service (first time)

     
    % systemctl enable bluetooth-module % systemctl start bluetooth-module For me it does not work on reboot. I have to % systemctl restart bluetooth-module to make it work. Use sudo where appropriate in the above commands.
     
    Maybe someone knows how to make it work on reboot.
     
    You should see an adapter show up in the bluetooth manager if all goes well. I was able to connect a BT mouse. If things stop working a
    systemctl restart bluetooth-module helps sometimes.
     
    All this done for my A5X MAX with a 8723bs  wifi/bt chip. Use at your own risk.
     
     
     
     
     
     
    rk3328-a5xbt.dts
  5. Like
    zogu reacted to amirul in Armbian for TV box rk3328   
    Armbian_5.72_Rk3328-tv_Ubuntu_bionic_default_4.4.154_desktop_20190123
    Boots to desktop with rk3328_evb.dtb but max cpu freq only 1.30GHz
    with rk3328_evb.dtb taken from 4.4.167 image and MAX_SPEED=1512000 in /etc/default/cpufrequtils, can reach 1.51Ghz
    Further testing ongoing...
     
    Memory speed testing with
    dd if=/dev/zero of=/tmp/testfile bs=1M count=1000
    rk3328: 352 MB/s
    s912: 566 MB/s
    need to find dram speed setting
     
  6. Like
    zogu reacted to JMCC in Armbian for TV box rk3328   
    These are the areas that need more testing:
    Using MPV and Gstreamer video players, and reporting performance. We need to choose which of the two will be the default player in the Armbian multimedia implementation. Performance of Chromium streaming, playing unencrypted videos (e.g. Youtube) at different resolutions, and also DRM encrypted videos (Netflix, Amazon Prime Video, etc.). General desktop experience, when using regular desktop apps (text editors, pdf readers, libreoffice, etc). Thx. 
  7. Like
    zogu reacted to balbes150 in Armbian for Amlogic S9xxx kernel 5.x   
    For anyone who makes changes to the kernel, I recommend that you make sure to write about it on the mailing list so that these fixes are included in the official version of the kernel.
     
    http://linux-meson.com/doku.php
  8. Like
    zogu reacted to balbes150 in Armbian for TV box rk3328   
    Version 20181203. kernel 4.4
    Changes in network modules. In the browser, for a quick check, added a link to the test video.
  9. Like
    zogu reacted to balbes150 in Armbian for Amlogic S9xxx kernel 5.x   
    Version 20181203. Changes in network modules. In the browser, for a quick check, added a link to the test video.
  10. Like
    zogu reacted to balbes150 in Armbian for Amlogic S9xxx kernel 5.x   
    Update ver 5.67 20181128
    Update kernel 4.19.2
     
    Update ver Next 20181128 kernel 4.20
  11. Like
    zogu reacted to Christian Sequeira in Armbian for Amlogic S805 and S802/S812   
    I fixit installing an older version of firefox 52 and installing libpango1.0.0 and libpangox1.0.0 fixing those broken packages know works fine I test youtube and looks well
  12. Like
    zogu reacted to balbes150 in Armbian for TV box rk3328   
    Added to the site a test version of the image 20181117 with the addition of a number of WiFi modules (dir 5.67/WIFI). I'm not sure it will work, this way on my MVR9 WiFi stopped working. Anyone can try on their models.
     
     
    The test image on the basis of the kernel of 4.19 (dir DEV_NEXT). On MVR9 with dtb "rock64" in the settings, the system starts from the SD card, there is HDMI (output to the monitor), a wired network and USB. Thus, there are all the minimum elements necessary for the initial work.
  13. Like
    zogu reacted to PiotrO in s905w boot process?   
    Guys,
    Finally I have working (and quite understand) booting on my s905w with my full control on software used/configured.
    My system is working enough to start exploring GLES (via ARM mail blobs)  and hw video decode (v4l2 m2m).
    Huge thx for Your really helpful support!
     
    Just quick Q:
    Has anybody have this in kernel log (in every 120sec)?
    [  242.654622] INFO: task kworker/2:1:35 blocked for more than 120 seconds. [  242.655686]       Not tainted 4.19.0 #1 [  242.659570] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [  242.667272] kworker/2:1     D    0    35      2 0x00000028 [  242.672714] Workqueue: events_freezable mmc_rescan [  242.677434] Call trace: [  242.679908]  __switch_to+0x94/0xd8 [  242.683224]  __schedule+0x1e4/0x620 [  242.686677]  schedule+0x38/0xa0 [  242.689761]  schedule_timeout+0x1f4/0x378 [  242.693761]  wait_for_common+0xb8/0x170 [  242.697537]  wait_for_completion+0x14/0x20 [  242.701635]  mmc_wait_for_req_done+0x28/0x170 [  242.705950]  mmc_wait_for_req+0x80/0xf0 [  242.709705]  mmc_send_tuning+0x120/0x1d8 [  242.713580]  meson_mmc_execute_tuning+0x68/0x228 [  242.718194]  mmc_execute_tuning+0x60/0xa0 [  242.722120]  mmc_init_card+0x8c4/0x19d0 [  242.725922]  mmc_attach_mmc+0xc0/0x180 [  242.729658]  mmc_rescan+0x300/0x3d8 [  242.733075]  process_one_work+0x1e8/0x340 [  242.737035]  worker_thread+0x40/0x460 [  242.740700]  kthread+0x128/0x130 [  242.743854]  ret_from_fork+0x10/0x1c I don't have this with balbes150 kernel - so there must be something balbes150 add to his kernel and I'm missing....
     
     
  14. Like
    zogu reacted to balbes150 in Armbian for Amlogic S9xxx kernel 5.x   
    Version 5.67 20181117.
    Added support for ISCSI and deb packages kernel, header etc.
     
    The version of the image with Xenial - will be assembled only on request.
     
    p.s. When checking, it turned out that WiFi works on Khadas VIM2 Basic (with AP6356S chip). Khadas VIM1 (s905x) works WiFi and BT.
     
     
  15. Like
    zogu reacted to balbes150 in Armbian for Amlogic S9xxx kernel 5.x   
    The new version 20181116. Added support for ZRAM , iscsi.
  16. Like
    zogu reacted to balbes150 in s905w boot process?   
    I'm not a masochist to put on such experiments.  I have everything I need to restore almost any AML TV box, but I'm not going to do such stupid experiments. 
    All the more I strongly not recommend other to do such experiments without serious training and real need.
     
     
    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?
  17. Like
    zogu reacted to balbes150 in s905w boot process?   
    Both addresses are correct. But each is used for its task (function).
     
    1. It is very bad advice - to destroy regular u-boot on TV box. You run the risk of getting a brick that will have to be restored. If the user is lucky and has the necessary firmware files for recovery, cable, software and skills for this, he will be able to recover.
    2. Since when are scripts not part of Armbian ?
     
    I really want to look at the source code (build environment) "pure vanilla Armbian" for TV boxes.
  18. Like
    zogu reacted to balbes150 in Armbian for Amlogic S9xxx kernel 5.x   
    Version 20181113.
    Expanded the list of modules for wifi.
  19. Like
    zogu reacted to balbes150 in Armbian for Amlogic S9xxx kernel 5.x   
    Update Ver 20181112
  20. Like
    zogu got a reaction from Saurabh in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    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:
     
  21. Like
    zogu reacted to PiotrO in s905w boot process?   
    Forgive me but - I'm a bit confused...
     
    You wrote:
     
    aml_autoscript content:
     
    this looks me strange as something what can boot linux.
    No any "booti" command, but "reboot" command!
    How such script can boot linux?
     
    on the other hand I see in s905_autoscript I see:
     
    boot_start' has here "booti"
    IMHO this script can boot linux contrary to aml_autoscript...
     
    I think in Your description You swapped names of: aml_autoscript with s905_autoscript and vice versa (probably just typo)
     
    pls confirm
     
  22. Like
    zogu reacted to mboehmer in Thanks for the fish!   
    Hi guys,
    some months ago I implemented an Odroid C2 as readout controller for a scientific instrument.
    Lot of people were kind and helped me with some problems with Armbian, especially eMMC and PWM.
     
    Today, finally, we managed to have our instrument (two strings with several Odroid C2 and other stuff) deployed.
    It is sitting now at 2628m depth in the Pacific Ocean, and will go operational the next days.
     
    Here we are... I think I can announce the deepest Odroid so far (cry loud if I'm wrong :) )
    In the picture you just can see the Titanium housing with two glass covers attached to the string.
     
    Again, thanks for the fish :)
     
    Michael

  23. Like
    zogu reacted to talraash in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    try icewm or, simple use openbox, and if you need panel some tiny panel... For me all old image(3.14) with openbox, removed pulseaudio and mali(less thant 100mb ram usage after start) - stable and have greate perfomance in all "desktop" scenarios. In you case, with 1gb i strongly recomend use armhf browser instead of arm64 if you need havy browser like chromium or firefox. And very important - disable all kind of hw acceleration in browser setting...
  24. Like
    zogu reacted to jeanrhum in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    Since I upgrade frequently, I think there is not too much difference. Armbian tools and firmware are updated as other packages. Of course there should be some specific modifications of Balbes after each update he made.
    If 5.41 has mali, it is useless for me since I use my box as a server.
  25. Like
    zogu reacted to balbes150 in Armbian for Amlogic S9xxx kernel 5.x   
    Ver 5.64 (20181019)
     
    For those who want to work on HW support on their own, there are two components on the site.
    https://github.com/superna9999/meson_gx_mali_450
     
    1. Module "mali.ko"
    2. Archive with libMali.
    The working version of xf86-video-armsoc is missing. I have a package (for Xenial) that gathered Numbqq (dev with Khadas), but the system does not accelerate and it needs to be corrected.
    https://github.com/numbqq/xf86-video-armsoc_s905x/tree/master/xenial/arm64
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines