Jump to content

balbes150

Members
  • Posts

    4435
  • Joined

  • Last visited

Reputation Activity

  1. Like
    balbes150 got a reaction from dxs1 in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    Update images (3.14.29 20170201).
     
    Changes.
     
    1. Updated kernel (frequency range limited to 500 - 1536)
    2. Added the package gparted in the desktop version
    3. Fixed setting in the inner memory
    4. Fixed auto-using dtb from the internal memory
    5. Added dtb file for VIM Khadas
    6. Fixed reboot mode
  2. Like
    balbes150 got a reaction from Vincs in Armbian for Amlogic S912   
    There is a request. Try to replace this image
    Armbian_5.24_Amlogic-s905x_Ubuntu_xenial_3.14.29_20161223.img.xz
    file s905_autoscript on the same file from this link. Delete media file "dtb.img" and try to run it. I'm interested in will work wired network or not.
     
    https://yadi.sk/d/kZHc0uQE34z5jR
     
     
    P.S.
    To my surprise , I now have a model with S912 to test and debug Linux.
    http://freaktab.com/forum/tv-player-support/amlogic-based-tv-players/s912/606414-tronsmart-s96-android-6-0-amlogic-s912-4k-tv-box-2g-16g-ac-wifi-bluetooth-1000m-lan-kodi?p=626159#post626159
  3. Like
    balbes150 reacted to talraash in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    Some tips,(i'm use xenial based image 20170118) if you need smooth video in mpv use -vo=x11(or change default mpv config, or use smplayer where you can change default vo settings in gui). By default mpv use other vo.
    mpv with default setting 720p not smooth
     
     
     
    mpv with selected vo  -vo=x11 smooth play in fullscreen
     
     
    It play smooth and 1080p, but if you want fullscreen mode for 1080p video and smooth play you need set screen resolution to 1080p.
     
    and test with default video test2.mp4 
    mpv Test2.mp4   
     
    mpv --vo=x11 Test2.mp4   
     
     
    P.S. And firefox:armhf(51.0.1) still use more ram(~70mb) than chromium:armhf (55) test both on 1 open tab(this forum page).
  4. Like
    balbes150 got a reaction from Jens Bauer in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    1. Download, unzip, burn image. Armbian_5.24_Amlogic-s905x_Ubuntu_xenial_3.14.29_desktop_20170118.img.xz
    2. Replace the first section of recorded media 3 file ("zImage" "S905_autoscript" "S905_autoscript.cmd").
    3. Add the file "/etc/fw_env.config"
    4. Replace 2 file "/root/install.sh"  (Do not forget to set the permissions on the file install.sh to 755)   "/root/linux.img"
    5. Try to start the system with the prepared media. If the system fails to start, copy it to the root (first) partition of the carrier of the correct dtb file (with the name "dtb.img").
    6. After a successful system startup and initial setup, be SURE to check the operation of all necessary devices (Wifi , sound). If something doesn't work, you need to deal with the dtb data.
    7. If launched from external media system works as You need, you can proceed to install to the internal memory. Pre-creates a copy of the internal memory. The procedure of backup may be different. You can use existing image scripts (ddbr_backup_*).
    8. To run the installation process in for internal memory you need to run the terminal and execute "root" the command "sudo /root/install.sh" or to execute two commands "su -" (enter password of user "root") and "/root/install.sh".
     
    https://yadi.sk/d/i8mKgFEi3BW24i
     
     
    TO ALL.
    Found an error in the script s905_autoscript , which does not use data from dtb in the internal memory (required manually copying the file). Loaded into the directory FIX the fixed version. You can download and replace in your images this script.
  5. Like
    balbes150 reacted to xXx in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    Yesterday a friend came by and asked me to demonstrate to him, my MiniM8S box
    running Balbes150 ubuntu image from SDCARD. So i did. After a few happy minutes
    he asked me to demonstrate to him LibreELEC running from the same box but from
    internal 8GB memory. So i shutted down the box, pulled out power adapted and
    SDCARD with ubuntu, and put the power adapter back so the box it will boot in
    LibreELEC. Then my friend noticed that the cables was a mess, and pulled out
    the power adapter while LibreELEC was booting, untangled it, and put it back.
    Well... the emmc got broken and the box didn't boot anymore to LibreELEC.
    Luckily it was booting fine to Ubuntu Xenial from SDCARD, and i had a backup
    from my emmc with LibreELEC from when i was creating my dd_backup script.
    I run the script, did it's magic and LibreELEC was back in life in 30 minutes,
    with all my configurations and plugins in place.
     

     
    The image as you can see in the
    screenshot was compressed (what you cannot see is that is 221.5 MB instead of 8 GB)
    but this was not a problem for my box.
    I spend a few more hours configuring some more my MiniM8S, and right now that is completely fine-tuned i'm taking a fresh backup.
  6. Like
    balbes150 got a reaction from Jens Bauer in [Sunvell T95Z Plus] Booting Armbian from SD Card   
    Collected for the current kernel. Try this file. If it works, I will include it part of the kernel source.
     
    https://yadi.sk/d/ylvdnnIF3BgNtC
  7. Like
    balbes150 reacted to whoman in S905x H/W Video Accel for Gstreamer?   
    So I manually copied the three *.so files to /usr/lib and then ran "ldconfig", and everything finished compiling.  I will report back once I have tried installing/testing the plugins
  8. Like
    balbes150 reacted to Nofan Tasi in Trying to recompile the Kernel for MINI M8S...   
    Hi all
     
    Here is recipe I use to natively build S905/ordroid kernel. Note this is on gentoo so initramfs details differ from ubuntu practice.
    **** BACKUP /boot /lib/modules /lib/firmware **** **** choose 4.9 gcc **** gcc-config aarch64-unknown-linux-gnu-4.9.4 . /etc/profile export ARCH=arm64 git clone https://github.com/150balbes/Amlogic_s905-kernel.git cd Amlogic_s905-kernel git checkout S905X  or git checkout odroid make clean make mrproper # S905X wget https://raw.githubusercontent.com/150balbes/lib/master/config/kernel/linux-amlogics905x-default.config cp -p linux-amlogics905x-default.config .config # odroid cp -p ../config-3.14.79-vegas95 .config make oldconfig make -j3 Image make -j3 modules make -j3 dtbs cp -p arch/arm64/boot/dts/*.dtb /boot/dtb/ make modules_install make install make firmware_install # S905X dracut --kernel-cmdline "root=LABEL=ROOTFS boot=LABEL=BOOT" initramfs-dracut-arm64-3.14.29 3.14.29 cp -p initramfs-dracut-arm64-3.14.29 initrd.img mkimage -A arm64 -O linux -T ramdisk -C none -a 0 -e 0 -n uinitrd -d initrd.img uInitrd # odroid dracut --kernel-cmdline "root=LABEL=ROOTFS boot=LABEL=BOOT" initramfs-dracut-arm64-3.14.79+ 3.14.79+ cp -p initramfs-dracut-arm64-3.14.79+ initrd.img mkimage -A arm64 -O linux -T ramdisk -C none -a 0 -e 0 -n uinitrd -d initrd.img uInitrd # install them in /boot unset ARCH=arm64 **** restore previous gcc **** gcc-config aarch64-unknown-linux-gnu-6.3.0 . /etc/profile  
    depends on S905x or odroid your boot could look like
     
     S905x
    aml_autoscript      amlogics905x_init.sh  config-3.14.29  dtb.img             s905_autoscript      s905.start          uInitrd aml_autoscript.zip  boot.bmp              dtb             initrd.img-3.14.29  s905_autoscript.cmd  System.map-3.14.29  zImage  odroid aml_autoscript        boot.bmp         dtb.img              s905_autoscript.cmd  uInitrd           zImage aml_autoscript.zip    config-3.14.79+  initrd.img-3.14.79+  s905.start           uInitrd-3.14.79+ amlogics905x_init.sh  dtb              s905_autoscript      System.map-3.14.79+  vmlinuz-3.14.79+ The script files come from Balbes distributions.
     
  9. Like
    balbes150 got a reaction from Nofan Tasi in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    Image update kernel from Hardkernel. Armbian_5.24_Vegas95_Ubuntu (the Test directory) note that these images can only run on a S905. The images that will be able to work on s905x s912 will be later (need to significantly patch the kernel). Features images-3.14.79. Problems with WiFi and sound. To change the screen resolution, you need to use a certain procedure.
     
    1. marking the desired resolution in the file /boot/vegas95_init.sh
    2. insertion of the selected permission to the file s905_autoscript.cmd (instead of the current parameter setenv m= "  ")
    3. Precompiled script autostart system s905_autoscript. In this-you can select any standard solution available.
    command
     
    # mkimage -A arm -O linux -T script -C none -d s905_autoscript.cmd s905_autoscript
     
     
    The existing problems are not working properly shutdown the TV box. After switching off, to enable, disable the power supply from the network.
     
     
     
    As Docker is in the network repo Ubuntu, removed from the Assembly the old binaries. In-3.14.79 has support for Docker. Anyone can install it and use in this manner.
     
    --------------------- translation  user Shimon -----------------
    Here's the promised translation:
     
    1. Look inside the /boot/vegas95_init.sh script:   Here's a sample: https://github.com/1...vegas95_init.sh   2. Find the desired resolution. For example, 1024x768p60hz https://github.com/1...s95_init.sh#L70   3. Replace the current value of the (setenv m) parameter in the /boot/s905_autoscript.cmd file with the new one. For example, the current value https://github.com/1...as95_720.cmd#L2   setenv m "720p60hz"   needs changing to   setenv m "1024x768p60hz"   4. recompile the binary version of the s905_autoscript with:   mkimage -A arm -O linux -T script -C none -d s905_autoscript.cmd s905_autoscript   On next reboot the selected resolution wil be used. Be sure to choose an exact value from the available list in vegas95_init.sh. Do not include the *) part. ---------------------
  10. Like
    balbes150 got a reaction from Nofan Tasi in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    You can add a loop, for example as indicated in this thread, with the selected interval, and you can monitor the temperature in the terminal or the console UART.
     
    http://forum.khadas.com/t/thermal-reading-wrong/168
     


    while true; do sleep 1; cat /sys/class/thermal/thermal_zone0/temp ; done

     
  11. Like
    balbes150 got a reaction from Nofan Tasi in Trying to recompile the Kernel for MINI M8S...   
    The kernel sources for S905\S905X\S912 are in this GIT. The compliance branch in GIT the names of images and kernel versions.
     
    1. images, the title of which stated "3.14.29" use - collected from branches S905X (universal - for the entire line of chips S9xxx).
    2. Images - "3.14.79" - the branch odroid (this thread is only for chips S905)
    3. Branch "armbian" - universal plan - for entire line S9xxx in an attempt to collect all positive elements   branches (Amlogic + Hardkernel + LE).
     
    Pay attention to Assembly and installation\kernel for TV boxes is specific and different from the usual. I hope Marc (user Nofan Tasi) to share its successful experience build the kernel from source for TV boxes (including their details).
  12. Like
    balbes150 got a reaction from Nofan Tasi in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    Tuned multiverse containing 5  desktop environments ICEWM XFCE, LXDE LXQT MATE.
    Minimum media size of 4 GB. The user password is "user", "1", password "root", "1q2w3e4r".
    By default, the system starts with MATE DE. To change the GUI you need to edit the file .xinitrc in the home directory of user "user".
    Uncomment the line and comment out the current shell.

    S9xxx_4G_ICEWM_MATE_XFCE_LXDE_LXQT_20170122.img.xz

    https://yadi.sk/d/5_32km_EsCV2A
     
     
     
     
    Request to those who try this system, write, run a different DE. Preferably, at least briefly to describe the speed of the graphical shells, indicating the model of the TV box (and brief parameters of iron). If possible, make a video recording of system response to user actions. It is important for me to understand what shell is better suited for systems with minimal resources. It is advisable to add screenshots of the output of the command "free -m" to the running shells.
  13. Like
    balbes150 got a reaction from talraash in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    For those who want to use MATE instead of XFCE.
     
    1. Run synaptic
    2. To install MATE packages (mate-desktop-environment-extras)
    3. To create the user directory file .xinitrc
    4. Add the line "exec mate-session"
    5. After restarting, automatically start a GUI MATE.
     

  14. Like
    balbes150 got a reaction from Nofan Tasi in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    For those who want to use MATE instead of XFCE.
     
    1. Run synaptic
    2. To install MATE packages (mate-desktop-environment-extras)
    3. To create the user directory file .xinitrc
    4. Add the line "exec mate-session"
    5. After restarting, automatically start a GUI MATE.
     

  15. Like
    balbes150 got a reaction from Nofan Tasi in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    Update images.
    Ubuntu fixed activation ssh (now works fine on initial startup when configuring).
    I decided to release these images before switching to a new version of the Assembly environment from which the removed Assembly of images with Debian.
  16. Like
    balbes150 got a reaction from talraash in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    Update images.
    Ubuntu fixed activation ssh (now works fine on initial startup when configuring).
    I decided to release these images before switching to a new version of the Assembly environment from which the removed Assembly of images with Debian.
  17. Like
    balbes150 got a reaction from PALYGAP in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    No. The cause of the other. I updated the source code, but did not add the necessary corrections. Now for me the main task - the integration of assembling the images for the TV boxes in the main branch. It is not a quick process.
     
     
     
     
    Need to restore either a full backup. Filmed in advance on a working TV set-top box. Either the presence of a firmware file for the USB cable (the sellers bad TV boxes is not given).
     
    If You care about official support - note that is already written Igor.
  18. Like
    balbes150 got a reaction from Nofan Tasi in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    IMHO TV boxes models MXQ - huge variety. They are very often counterfeited. So it is very easy to purchase a TV box, which looks normal, has excellent performance and low price. But in the end You get headache with high probability - a waste of money. To me many times appealed to different individuals, who have bought similar cheap TV boxes and who or what they are unable to run, and in the course of the trial , get a brick. That's very difficult to recover, because the manufacturer collected the TV box as a hodgepodge (of different components), has not provided any supporting drivers or codes. On these TV boxes can often only work with one exclusive stitching (from the seller). When you try to use others - get part is not working equipment (WiFi or BT or eth network or remote control, etc.). Therefore I can recommend only those models that are already tested in work. List of models You can find in this topic or in topics on freaktab.
     
    http://freaktab.com/forum/tv-player-support/amlogic-based-tv-players/s905/tronsmart-ac/firmware-roms-tools-at/565449-running-linux-from-sd-card-or-usb-flash-drive-using-balbes150-method-and-files
     
    http://freaktab.com/forum/tv-player-support/amlogic-based-tv-players/s905x/598320-a95x-s905x-emmc-boot-for-ubuntu
     
    http://freaktab.com/forum/tv-player-support/amlogic-based-tv-players
  19. Like
    balbes150 got a reaction from Nofan Tasi in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    Setting the internal memory is possible. Before installing you need to check how much space system on an external drive and compare with what size does the partition /dev/data. Can be uninstalled from the system (on an external drive) part is not used packages and to clean from unnecessary files. This will reduce the required size of the internal memory. You can use the server version of the image, it requires less space to copy the internal memory. There is another extreme option to install to the internal memory. To change the distribution of internal (eMMC) memory in the dtb file. To unite all unused Linux partitions into one and install them Armbian.
  20. Like
    balbes150 got a reaction from Nofan Tasi in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    Try to install in the eMMC option console image. Judging by the output of "df-h" the data size and the amount of free space close. Formatting creates a service directory "lost+" which can take a lot of space and not enough space for a full backup of the system. Alternatively, you can check install to eMMC, to start the system from external media , mount the partition /dev/data, delete all data, copy manually all the directories and files on /dev/data.
     
     
     
    To add commands to the fdt in the script, you can use only the mistake of a script s905_autoscript. These commands must be executed on the processing stage u-boot.
     
     
     
    You want to know, is possible to install in internal memory ?
     
     
     
     
    Generate a new uInitrd needed when changing kernel or changing the composition of the modules required to run the system.
  21. Like
    balbes150 got a reaction from dchatz in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    Login   root
    Password  1234
     
    To perform the initial configuration.
     
     
     
     
    mount /dev/data /mnt/mmc
    or
    mount /dev/system /mnt/mmc
  22. Like
    balbes150 got a reaction from Nofan Tasi in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    Compiled a test version uInitrd in which activation of the screen occurs in two stages. Checked, according to my observations, in the spreading of the pictures (when failure of synchronization) this option allows you to normalize uInitrd image. Please to those who have the picture falls apart to check what happens to the image when you replace the FAT section of the uInitrd file in the new version. Note that in the spreading of the pictures at the time of system start-up, you need to wait for the full run that would have completed the second stage of activation.
     
    https://yadi.sk/d/3mYLzUis34FwHz
  23. Like
    balbes150 got a reaction from Nofan Tasi in ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)   
    In this embodiment, the variables I see the setting. With some caution you can try to verify the installation to the internal memory. For this you need  be SURE to backup the internal memory. You can use the scripts included in the latest images. To register as a user "root" (su -) and execute one of the options backup "ddbr_backup_3g" or "ddbr_backup_full". The first script creates a minimal copy of the first 3 GB of emmc memory. The second script creates a complete copy of the entire memory. The media must have enough free space to create a selected option of the copy. After the copy, I recommend save it on PC in a safe place the backup file (from the directory /ddbr on the media). To install on internal memory. Start terminal and log in as the user "root" with the command "su -". Start the installation with the command "./install.sh". Avoid not understand the consequences of the script, don't use mode "sudo". The script will attempt to copy the working system to the internal memory. Therefore, before install need to perform all the necessary setup of the system on removable media and check that all the hardware would work as required (WiFi , sound, etc.). After copying is complete, you need to perform a logoff and try to start TV box without external media. Probably the first time the system fail to boot from the internal memory. You need to start the system from external media and reinstall. I when testing, the system started to work after the second reinstall.
  24. Like
    balbes150 got a reaction from Jens Bauer in Armbian for Amlogic S912   
    Updated the deb packages (firmware and libmali) for manual installation in still images (5.24).
     
    https://yadi.sk/d/LBA4bXk_32RGZ6
     
     
     
     
    firmware/brcm/config.txt
  25. Like
    balbes150 got a reaction from s-petersen in Armbian for Amlogic S805 and S802/S812   
    In the near future I plan to publish the Linux images for s812 (they are being tested). TV set-top box on the basis of the s812 chip is very close with s802 (they all use the same kernel). So I hope that the images s812 will also work on s802.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines