fossxplorer Posted September 4, 2017 Share Posted September 4, 2017 I've tried with 3 different USB sticks, 4, 8 and 64GB in sizes with the same issue: failing to find and mount the rootfs. Kernel 3.14 images don't boot at all, while 4.13 rc drops into Busybox emergency shell and keyboard doesn't react (tried with 3 different keyboards too). I plan on sourcing an SD card reader to test booting from SD card. Link to comment Share on other sites More sharing options...
balbes150 Posted September 4, 2017 Share Posted September 4, 2017 To S912 in kernel 4.13 is no support for USB. Launch images kernel 4.13 is only possible from SD card. To control you need to use SSH. Link to comment Share on other sites More sharing options...
fossxplorer Posted September 4, 2017 Share Posted September 4, 2017 Thanks a lot. Bought a cheap SD card reader and was able to put 4.13 server image inside an SD card and finally: [root@thinkpadx230 susinths]# ssh 192.168.1.27 root@192.168.1.27's password: You are required to change your password immediately (root enforced) ____ ___ / ___|/ _ \__ ____ ____ __ \___ \ (_) \ \/ /\ \/ /\ \/ / ___) \__, |> < > < > < |____/ /_//_/\_\/_/\_\/_/\_\ Welcome to ARMBIAN 5.32 user-built Ubuntu 16.04.3 LTS 4.13.0-rc7-next-20170901-amlogics905x System load: 1.01 0.41 0.15 Up time: 2 min Memory usage: 3 % of 2860MB IP: 192.168.1.27 Usage of /: 3% of 58G Last login: Fri Sep 1 17:29:29 2017 from 192.168.1.73 Changing password for root. (current) UNIX password: Enter new UNIX password: Retype new UNIX password: Thank you for choosing Armbian! Support: www.armbian.com @balbes150, thanks a lot! Will be have USB support when 4.13 is stable? I'd like to use an old SSD drive with this device. Also, it seems H96 Pro+ has 4 USB 2.0 ports, 2 hidden inside. EDIT: have to admit i feel like a kid now after getting this to work! Love the 3G RAM on this box+ 1GbE. It's using 6-7W when i run stress-ng --cpu 8 --io 2 --vm 1 --vm-bytes 1G --timeout 300s. Really nice! Link to comment Share on other sites More sharing options...
debianxfce Posted September 4, 2017 Share Posted September 4, 2017 My Debian testing Xfce with mainline kernel 4.13-rc1 image supports usb and audio (spdif). Link to comment Share on other sites More sharing options...
fossxplorer Posted September 4, 2017 Share Posted September 4, 2017 i have 2 of these boxes and my ultimate goal is to use one as a thin client to connect to a Spice server and another as a headless server. but i've read there is no Mali driver avail. i could NOT boot with https://m.youtube.com/watch?v=ujnYBvMQfjM Link to comment Share on other sites More sharing options...
balbes150 Posted September 4, 2017 Share Posted September 4, 2017 2 hours ago, debianxfce said: My Debian testing Xfce with mainline kernel 4.13-rc1 image supports usb and audio (spdif). You have patches for the kernel ? Link to comment Share on other sites More sharing options...
debianxfce Posted September 4, 2017 Share Posted September 4, 2017 2 hours ago, balbes150 said: You have patches for the kernel ? Usb support is in the mainline kernel, but you need Martin Blumenstingl / xdarklight patches for dts files. http://linux-meson.com/doku.php?id=start "USB PHY driver for Meson GXL/GXM" Audio patches: https://github.com/jeromebrunet/linux/commits/amlogic/wip/audio Link to comment Share on other sites More sharing options...
fossxplorer Posted September 4, 2017 Share Posted September 4, 2017 6 hours ago, debianxfce said: My Debian testing Xfce with mainline kernel 4.13-rc1 image supports usb and audio (spdif). Is this SW accelerated X? Do you have a link so that i can give it a try as well? Link to comment Share on other sites More sharing options...
debianxfce Posted September 5, 2017 Share Posted September 5, 2017 13 hours ago, fossxplorer said: i have 2 of these boxes and my ultimate goal is to use one as a thin client to connect to a Spice server and another as a headless server. but i've read there is no Mali driver avail. i could NOT boot with https://m.youtube.com/watch?v=ujnYBvMQfjM I downloaded my image, I extracted it with Xarchiver, copied to sdcard with: sudo cp Debian_testing_4.13.0_xfce.img /dev/sdb. and copied plus renamed the dtb file.My image works fine with Sunvell T95Z Plus and LG 26LG3000. Link to comment Share on other sites More sharing options...
fossxplorer Posted September 5, 2017 Share Posted September 5, 2017 9 hours ago, debianxfce said: copied to sdcard with: sudo cp Debian_testing_4.13.0_xfce.img /dev/sdb. and copied plus renamed the dtb file. Copy to SD card? You mean extracting the image onto an SD card i.e using e.g dd? Here is what i did: 1. I downloaded your image from that YT video link 2. xz -d <imagename>.img.xz 3. dd if=<imagename>.img of=/dev/sdc bs=16M oflag=direct 5. Copied the correct dtb.img to the root of /BOOT 4. Took the SD card out of my USB adapter and inserted into H96 Pro+ 5. Booted up to see the H96 initial image, then to loose the output on HDMI/TV. Link to comment Share on other sites More sharing options...
debianxfce Posted September 5, 2017 Share Posted September 5, 2017 37 minutes ago, fossxplorer said: Copy to SD card? You mean extracting the image onto an SD card i.e using e.g dd? Here is what i did: 1. I downloaded your image from that YT video link 2. xz -d <imagename>.img.xz 3. dd if=<imagename>.img of=/dev/sdc bs=16M oflag=direct 5. Copied the correct dtb.img to the root of /BOOT 4. Took the SD card out of my USB adapter and inserted into H96 Pro+ 5. Booted up to see the H96 initial image, then to loose the output on HDMI/TV. I mean what I wrote, use: sudo cp Debian_testing_4.13.0_xfce.img /dev/sdX. Reference: https://www.debian.org/releases/stable/i386/ch04s03.html.en # cp debian.iso /dev/sdX # sync If you still have problems, test if you can login via ssh and ethernet LAN. Maybe your hardware differs too much from gxm-q200. You did wrote that you bought a cheap sdcard, I hope it is class 10. A slow sdcard can time out things. Link to comment Share on other sites More sharing options...
Shimon Posted September 5, 2017 Share Posted September 5, 2017 On 9/3/2017 at 10:41 PM, fossxplorer said: Do you have 32G version of H96 Pro+? Mine is16G version and looks just a bit different. Did you boot from SDcard or USB to get it working? Start with a 3.14 image and the dtb file that I'd linked to earlier in the thread. Link to comment Share on other sites More sharing options...
Shimon Posted September 5, 2017 Share Posted September 5, 2017 2 hours ago, debianxfce said: I mean what I wrote, use: sudo cp Debian_testing_4.13.0_xfce.img /dev/sdX. Reference: Nah, why waste so much space? The most efficient way to do it looks like that: $ zcat Whatever_image_img.gz | sudo dd of=/dev/sdX bs=4M && sync For xz compressed images use xzcat obviously. Link to comment Share on other sites More sharing options...
balbes150 Posted September 5, 2017 Share Posted September 5, 2017 Update TEST images kernel 4.13.0-next_20170905. In these images there is USB support for S912. 1 Link to comment Share on other sites More sharing options...
fossxplorer Posted September 5, 2017 Share Posted September 5, 2017 17 minutes ago, balbes150 said: Update TEST images kernel 4.13.0-next_20170905. In these images there is USB support for S912. Awesome! Will try this tonight already! Another question: every time i upgrade, i loose the full setup i have on my SD card? Now that i've installed Docker, LXC etc i'd like to avoid it. Link to comment Share on other sites More sharing options...
balbes150 Posted September 5, 2017 Share Posted September 5, 2017 11 minutes ago, fossxplorer said: Another question: every time i upgrade, i loose the full setup i have on my SD card? Now that i've installed Docker, LXC etc i'd like to avoid it. To enable USB you can only replace dtb file. 1 Link to comment Share on other sites More sharing options...
debianxfce Posted September 5, 2017 Share Posted September 5, 2017 1 hour ago, Shimon said: Nah, why waste so much space? The most efficient way to do it looks like that: $ zcat Whatever_image_img.gz | sudo dd of=/dev/sdX bs=4M && sync For xz compressed images use xzcat obviously. What space, cp is simpler command than dd. This is more more efficient than yours: xzcat Debian_testing_4.13.0_xfce.img.xz > /dev/sdX Link to comment Share on other sites More sharing options...
fossxplorer Posted September 5, 2017 Share Posted September 5, 2017 I can't get your updated image @balbes150 since Yandex Disk seems to have issues Link to comment Share on other sites More sharing options...
fossxplorer Posted September 5, 2017 Share Posted September 5, 2017 If possible, please upload the latest image here: https://my.owndrive.com/index.php/s/vNynzw9pk5fIYhT Link to comment Share on other sites More sharing options...
debianxfce Posted September 7, 2017 Share Posted September 7, 2017 On 05/09/2017 at 9:47 PM, fossxplorer said: I can't get your updated image @balbes150 since Yandex Disk seems to have issues I can acces this: https://yadi.sk/d/kZHc0uQE34z5jR Reboot your modem/router. I hope you have a reliable internet connection too, you can test with Linux distributions that offer checksum files. Link to comment Share on other sites More sharing options...
balbes150 Posted September 7, 2017 Share Posted September 7, 2017 Link to comment Share on other sites More sharing options...
debianxfce Posted September 7, 2017 Share Posted September 7, 2017 1 hour ago, balbes150 said: You mean kernel 4.13...There is no 3.14 kernel for today in your yandex folder. Jerome brunet audio patches for S912 does have only spdif support. Have someone tested spdif audio patches? Link to comment Share on other sites More sharing options...
balbes150 Posted September 7, 2017 Share Posted September 7, 2017 Thank you for your attention. Yes, I mean 4.13.0. In images enabled sound via HDMI to s912 (and s905x). Work sound tested on a Tronsmart Vega S96 (s912). Sound works through HDMI on test files from the image. Once again - you need to have 1920x1080 resolution (you can go into desktop settings in the tools menu and select directly in the working system needs a permit). 1 Link to comment Share on other sites More sharing options...
debianxfce Posted September 7, 2017 Share Posted September 7, 2017 I added patches from here https://github.com/150balbes/meta-meson/tree/master/recipes-kernel/linux/linux-yocto-meson64-4.13. The command aplay -l lists only spdif device, no hdmi audio. What is required to enable hdmi audio for a s912 device? Link to comment Share on other sites More sharing options...
balbes150 Posted September 7, 2017 Share Posted September 7, 2017 Need a new kernel + dtb. You installed a new kernel and dtb ? After installation you need to copy the new version to "dtb.img". Link to comment Share on other sites More sharing options...
debianxfce Posted September 7, 2017 Share Posted September 7, 2017 10 minutes ago, balbes150 said: Need a new kernel + dtb. You installed a new kernel and dtb ? After installation you need to copy the new version to "dtb.img". I added patches to 4.13-rc1 kernel where was usb and spdif patches already. Added missing clocks and hdmi audio patches. Copied new a dtb.img file of course. 0005-clk-meson-gxbb-aoclk-Add-CEC-32k-clock.patch was missing, implementing now... Link to comment Share on other sites More sharing options...
balbes150 Posted September 7, 2017 Share Posted September 7, 2017 For proper operation of the patches, they should be used (in exact order as listed in source directory) and apply the kernel sources. See all options in my last git Armbian Assembly. By the way, You can get your own version of Armbian images (to edit the list of packages, change settings, etc.). Link to comment Share on other sites More sharing options...
debianxfce Posted September 7, 2017 Share Posted September 7, 2017 I tested yours Debian Xfce image, aplay -l list only spdif device and pulseaudio control shows only analog output. Install wicd and xfce4-terminal instead networkmanager and xterminal. Use the xfce whisker menu. Your distro image is about 1.5 GB bigger than mine, so strip some packages. Your 86 patches are confusing, it is easier to copy whole source files from authors. Using 200q dtb. Link to comment Share on other sites More sharing options...
fossxplorer Posted September 7, 2017 Share Posted September 7, 2017 Is anyone running Docker aarch64/arm64v8 images on this? I'm able to run armhf/arm32v7 images, but all the arm64v8 images crash. According to 'uname' it's 64-bits kernel so i wonder what the issue is with the Docker. Link to comment Share on other sites More sharing options...
balbes150 Posted September 8, 2017 Share Posted September 8, 2017 11 hours ago, debianxfce said: Install wicd and xfce4-terminal instead networkmanager and xterminal. Use the xfce whisker menu. Why ? 11 hours ago, debianxfce said: Your distro image is about 1.5 GB bigger than mine, so strip some packages. If You are not satisfied with something in my images, gather your option. All source code freely available. 11 hours ago, debianxfce said: Your 86 patches are confusing, it is easier to copy whole source files from authors. I do not give You to use other patches ? Link to comment Share on other sites More sharing options...
Recommended Posts