segv

Members
  • Content Count

    16
  • Joined

  • Last visited

About segv

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thank you, this confirms what I wrote in my first post. However the solutions I proposed enable eth1 and DHCP automatically and avoid having to issue commands manually at each reboot.
  2. Great! I have never tried any of the 0.7.x versions. It is good to know that they work too. But I don't understand why 0.6.x versions didn't work for you.
  3. The 0.6.x images will not boot from a micro-SD card. If you want to run 0.6.x from a micro-SD card you need to take partitions 1 to 5 from 0.5.15 and only partitions 6 and 7 from 0.6.x. However I do not recommend this as I found that the micro-SD card soon gets corrupted and will no longer boot. See my remarks in my first post. However it is possible that whatever caused this data corruption has been corrected in later 0.6.x images.
  4. The script is here: https://github.com/ayufan-rock64/linux-build/blob/0-6-stable/package/root/usr/local/sbin/enable_dtoverlay
  5. I am away on holiday at the moment but I shall post ayufan's enable_dtoverlay script when I return. However IIRC it requires a kernel with device tree overlays enabled.
  6. I have completely rewritten my first post with detailed instructions on how to install Ayufan's Armbian Ubuntu without needing a separate PC.
  7. segv

    Questions on Ayufan's Rock64 Images.

    I don't have a real ROCK64, just a Scishion V88 Piano so the ROCK64 DAC board isn't relevant for me. To enable eth1 during each reboot add the following command to /etc/rc.local enable_dtoverlay eth1 ethernet@ff550000 okay Alternatively you can do this manually each time from a shell with sudo. In both cases you will first need to install the device-tree-compiler package. You may also have to configure DHCP on eth1 by executing the following commands in a shell as root (sudo -s):- # cd /etc/network/interfaces.d # sed s/eth0/eth1/ eth0 > eth1 # reboot (For some unknown reason "service networking restart" wasn't always sufficient for me.)
  8. I have mainly been running it headless recently. (Note that the minimal versions also have a console display on HDMI which I sometimes use.) I have tried the Mate desktop from time to time but I have generally had some stability problems with it. Concerning video: I have only tried YouTube videos which are fluid but with some freezes. The freezes were fairly frequent on some versions but I think recent versions may be better. I have never tried audio: my HDMI monitor doesn't have audio and I haven't tried the S/PDIF. I am also very interested in running Kodi but I haven't tried it. Indeed my ultimate aim is to use it as a general purpose TV box with a Ubuntu desktop including Kodi and Tvheadend for DVB.
  9. Starting from 0.6.27 ayufan has disabled eth1 in his Rock64 images, so internal Ethernet no longer works on the V88 Piano. Thanks to Igor and Xalius I found that this command will re-enable it on the running kernel: "sudo enable_dtoverlay eth1 ethernet@ff550000 okay" Update: I think the best solution is to add "enable_dtoverlay eth1 ethernet@ff550000 okay" to /etc/rc.local I also added "enable_dtoverlay eth0 ethernet@ff540000 disabled" to disable the Gigabit interface which is not used on these boxes. Before upgrading to >= 0.6.27 do a "sudo apt-get install device-tree-compiler" while you still have Ethernet as the enable_dtoverlay script needs it.
  10. Thank you, Virverus, for this information. I shall try sometime but as I prefer wired Ethernet, Wi-Fi is not a priority for me.
  11. segv

    Questions on Ayufan's Rock64 Images.

    Thank you Igor: how stupid of me not to look in the commit messages and find that eth1 had simply been disabled in the DT. Thank you also Xalius for the DT overlay tip: it is neat to be able to patch the DT in the running kernel. For other users the following command re-enables eth1 at run time: sudo enable_dtoverlay eth1 ethernet@ff550000 okay
  12. segv

    Questions on Ayufan's Rock64 Images.

    I run these Rock64 images on a Scishion V88 Piano which has eth1 (100 Mbps) but no eth0 (1000 Mbps). Unfortunately the 0.6.27 image disables eth1 and therefore I no longer have Ethernet on my box. (It worked fine on earlier releases.) How do I re-enable eth1 on my box? And, less importantly, how do I disable eth0? Thanks in advance.
  13. segv

    Armbian for tv box Z28

    Nobody answered these questions However I felt that I should not continue to hijack this topic so I have started a new one:
  14. Ayufan’s Armbian on a V88 Piano or V88 Mini III These two TV boxes seem to be electrically identical except that the V88 Mini III has 2 GB RAM and 8 GB ROM whereas the V88 Piano has 4 GB RAM and 16 GB ROM. They use the same PCB as can be seen from the photos in these FreakTab topics:- - http://freaktab.com/forum/tv-player-support/rockchip-based-tv-players/rk3328-devices/681869-scishion-v88-piano-tv-box-rk3328-4gb-ram-16gb-rom-android-7-1-usb-3-0-fast-lan - http://freaktab.com/forum/tv-player-support/rockchip-based-tv-players/rk3328-devices/663248-scishion-v88-mini-iii-tv-box-rk3328-2-8gb-2-4-wifi-fast-lan I do not have a V88 Mini III to test but I believe that my results for the V88 Piano should also be relevant to it. N.B. many sites claim that the V88 Piano has Gigabit Ethernet (1000 Mbps). It does not: it only has Fast Ethernet (100 Mbps) like the V88 Mini III. One nice thing about these TV boxes is that, unlike many others, they will boot easily from a micro-SD card. Just insert the card and power on My aim was to have Ubuntu running with all version-specific partitions (boot and root) on a USB drive. I wanted to keep Android in the internal eMMC so that I could dual-boot by just inserting or removing the micro-SD card. I wanted to have the root partition on a USB stick for three reasons: 1) A good USB stick is faster than a micro-SD card. 2) This avoids the system writing repeatedly to the micro-SD card because, if the root partition is on the micro-SD card, after a while it gets corrupted and will no longer boot. This happened to me with both a cheap Ansonchina card and also with a Kingston card. Maybe the write timings in the micro-SD card driver are incorrect. 3) Whilst experimenting on Amlogic boxes I have fried two big micro-SD cards. I have read that others have fried cards on Rockchip boxes. Moving the rootfs to a USB stick enables me to use a smaller and cheaper card. (I suspect that they were destroyed by over-voltage due to a badly programmed regulator. With a 5 V USB stick and a 5 V PSU there should be no risk as I don’t think the regulators used can step up the voltage.) I also wanted the boot partition to be on the USB stick so that I could have several GNU/Linux distributions on different USB sticks and boot with the same unmodified micro-SD card containing just the boot loaders. I have deliberately avoided the necessity to have a Linux (or even Windows) PC. N.B. the Ubuntu system will not (yet) have working Wi-Fi. You will need:- - a rooted V88 Piano (mine was sold pre-rooted) - a micro-SD card: mine was 8 GB but 4 GB should suffice - a USB Flash Drive: I have used both 32 GB and 8 GB but 4 GB may suffice for a fairly minimal system - a USB keyboard (and mouse if installing a desktop): I used a wireless mini-keyboard/mouse - a wired (RJ45) Ethernet connection with DHCP and Internet access - an HDMI display WARNING: before using a /dev/ or /dev/block device verify that you are using the correct one, using dmesg for instance. Otherwise you could overwrite precious data. However if you remove all additional USB drives the names below should be correct. The login is rock64 with password rock64 which is also required for sudo. First step – install Ayfan’s Ubuntu Xenial Minimal 0.5.15 on a micro-SD card and prepare 0.6.25 on a USB stick. Boot Android. I installed and used Google Chrome for the following downloads because, with the stock Lightning browser, I couldn’t see when the download had finished. (The busybox wget can't be used because it doesn’t support https.) Open https://github.com/ayufan-rock64/linux-build/releases/tag/0.5.15 in the browser. Download xenial-minimal-rock64-0.5.15-136-arm64.img.xz If you wish to pass directly to Ubuntu Bionic you could use the Bionic 0.6.25 image instead of Xenial below. However this may make it more difficult to update U-Boot later as I think a Xenial environment is expected to compile it. Open https://github.com/ayufan-rock64/linux-build/releases/tag/0.6.25 in the browser. Download xenial-minimal-rock64-0.6.25-193-arm64.img.xz Insert the micro-SD card and the USB stick. N.B. all existing files on both will be destroyed. You will be asked how to use the USB stick: choose "removable storage" and "cancel" if asked whether to format it. Execute the following actions and commands (in the text following the $ or #). Install and start ConnectBot. Open a local shell. Become root. $ su Enter the directory where browsers save downloaded files. # cd /sdcard/Download Decompress the files. # busybox xz -d xenial-minimal-rock64-0.5.15-136-arm64.img.xz # busybox xz -d xenial-minimal-rock64-0.6.25-193-arm64.img.xz Write the 0.6.25 image to the USB stick. # dd if=xenial-minimal-rock64-0.6.25-193-arm64.img of=/dev/block/sda bs=1048576 Write the 0.5.15 image to the micro-SD card. # dd if=xenial-minimal-rock64-0.5.15-136-arm64.img of=/dev/block/mmcblk1 bs=1048576 Ensure everything is written. # sync Power off the box. Second step – boot Ayfan’s Ubuntu Xenial Minimal 0.5.15 and prepare the switch to 0.6.25 on the USB stick. Insert the micro-SD card. Boot and login (rock64/rock64). Become root. $ sudo -s Remove partitions 6 (boot) and 7 (root) from the micro-SD card so that U-Boot and Linux will use the ones on the USB stick next time. Luckily this only deletes their entries so Linux can continue to use them until they are unmounted. Reply "Yes" and "Ignore" to the warnings. # parted /dev/mmcblk1 rm 6 rm 7 q # poweroff Third step - boot Ayfan’s Ubuntu Xenial Minimal 0.6.25 from the boot and root partitions on the USB stick and prepare to update to a recent version. Insert the USB stick in the middle USB slot and insert the micro-SD card. Boot and login. $ sudo -s This DHCP configuration will be necessary for Bionic. # cd /etc/network/interfaces.d # sed s/eth0/eth1/ eth0 > eth1 At the time of writing there are only pre-release versions of 0.6.x but Ayufan has promised an official release shortly after the official release of Bionic due on 24th April. If, in addition to Ubuntu updates, you want to update to Auyufan's pre-release versions with an added risk of instability then: # vi /etc/apt/sources.list.d/ayufan-rock64.list Uncomment the last line # apt update The following lines are necessary if you update to a more recent Ayufan version which will disable eth1: This is needed to re-enable eth1: # apt install device-tree-compiler Make rc.local enable eth1 which is disabled in recent versions and disable eth0 which is not used on the V88 Piano: # vi /etc/rc.local Add these two lines just before the last line (exit 0): enable_dtoverlay eth1 ethernet@ff550000 okay enable_dtoverlay eth0 ethernet@ff540000 disabled # apt dist-upgrade -y If you want a Mate desktop you can: # install_desktop.sh mate This gave me an error which I corrected with: # apt -f install If you wish you can also upgrade from Xenial to Bionic with do-release-upgrade. # reboot You should now be running an up-to-date version with the boot and root partitions on the USB stick. The next step will be to compile and install a more recent U-Boot supporting the USB 3.0 port correctly. To be continued... The procedure above may seem convoluted so here are some additional explanations. 0.5.15 is used for its boot loaders as it is the latest version which will boot directly from a micro-SD card. Unfortunately it does not have working Ethernet and its U-Boot will not load correctly from the USB 3.0 slot. 0.6.25 is used because it has working Ethernet to install device-tree-compiler which is needed to re-enable eth1 on recent versions.
  15. segv

    Armbian for tv box Z28

    In several places, including this topic, it is claimed that the Scishion V88 Piano has Gigabit Ethernet (1000 Mbps). I am pretty sure that mine only has Fast Ethernet (100 Mbps). Does anyone have one with confirmed GbE? (Maybe there are two versions.) I have not opened the box but several things indicate that it doesn't have GbE: - it connects to my GbE switch at only 100 Mbps - photos of the PCB on FreakTab show a TRC1102NL which is a 10/100 Mbps transformer - AIUI GbE requires an external chip (e.g. RTL8211F) and I can see no sign of one in the boot logs - internal Ethernet doesn't work with DTB's for boards with GbE. Sorry, strictly this post is again OT as it also concerns the Scishion V88 Piano (another RK3328 TV box). However there are already many posts concerning this box and others not included in the topic's title. While this post is specific to this box, I think much of my previous post is relevant to the Z28 as well. Should I start a new topic dedicated to this box? Alternatively can the title of this topic be enlarged to cover all RK3328 TV boxes?