mdel Posted March 25, 2017 Share Posted March 25, 2017 9 minutes ago, etona said: Is a username and pass, root and 1234, on a armbian ubuntu xenial desktop 20170323 ? Login incorect... yes armbian first login is : root / 1234 it will ask you to modify the root password immediately and then will ask to create a "real" user. "root" is not a regular user, for example some applications in linux will refuse to run as root. The convention is that it's bad practice to log in as root on linux, simply to avoid making errors that can't be fixed and for (system and user) security reasons. You usually log in with your user account and then use "sudo" to perform privileged "root" actions. Link to comment Share on other sites More sharing options...
etona Posted March 25, 2017 Share Posted March 25, 2017 Yes, I understand, this "user" account. For me, this is ok. ""First username, and pass" I dont understand. This is yust more to do for programmers... Is ist possible have in tv box "multi os boot loader, like "Lilo" in desktop pc, with windows and linux, with options to choose wich os I will to start? Is this questions for khadas vim forum? My hardver is is same like one of vims. Ciao. Link to comment Share on other sites More sharing options...
Tommy21 Posted March 25, 2017 Share Posted March 25, 2017 Did you made any progress with mali gpu drivers, i haven't tested balbes images for a while? Link to comment Share on other sites More sharing options...
etona Posted March 25, 2017 Share Posted March 25, 2017 Progres is video work ok, on firefox and you tube, but only on lowest resolution...I think 150, higer resolution dont work... Link to comment Share on other sites More sharing options...
balbes150 Posted March 26, 2017 Author Share Posted March 26, 2017 14 hours ago, etona said: Why any linux on begining ask username and pass? Is that not a stupid, when I must give username and pass later? Immediately visible is an absolutely wrong approach to a Windows user. Because of this, the owners of Windows and their henchmen\attackers have full control over the users of the system. It's very bad when users can do anything in the system without separation of access level. Therefore, viruses and attackers very easily cause any damage to the system, up to its complete destruction. Link to comment Share on other sites More sharing options...
etona Posted March 26, 2017 Share Posted March 26, 2017 Windows by work, (autoCAD), to house, linux mint, am phone android.... I am "user", not programmer. Link to comment Share on other sites More sharing options...
mdel Posted March 27, 2017 Share Posted March 27, 2017 (edited) @balbes150 i have installed Armbian_5.27_S9xxx_Ubuntu_xenial_3.14.29_server_20170323.img to my a95x emmc using your install.sh script. The system boot fine from emmc, i connect through ssh, but has no display on hdmi, black screen, monitor to sleep. sdcard boot (exact same image) has correct hdmi output. I won't have much time debugging this so i'm just reporting it for now, i'm using my second a95x box (with serial) to test something else and i can't use it to flash the emmc right now. But i'll be able to test with serial debug later this week if you need. I've installed my vpn gateway on that a95x and will use it for a couple of weeks to see how it runs. Edited March 27, 2017 by mdel Link to comment Share on other sites More sharing options...
mdel Posted March 27, 2017 Share Posted March 27, 2017 On 3/25/2017 at 8:30 PM, etona said: Yes, I understand, this "user" account. For me, this is ok. ""First username, and pass" I dont understand. This is yust more to do for programmers... Well the simple way to look at it is to consider that "root is not a user" (so you should not use it). "root" is more like the "System" account on Windows, which you never use as a user. On windows you also immediately have a user account that you are forced to create during install. And that user will be an Administrator (part of the Administrators group) of the system, so it will also have the privileges to destroy your windows but windows will have the ability to alert you. On linux if you are root, no one will ever tell you that you're doing something dangerous, which in itself is a real problem. And finally on windows you also have the "Administrator" account which is disabled by default and is a real user account. Personally i always enable it (with a strong password of course), that way if (when) your user profile gets corrupted i can fix it easily. Quote Is ist possible have in tv box "multi os boot loader, like "Lilo" in desktop pc, with windows and linux, with options to choose wich os I will to start? To my knowledge there's no lilo on arm devices (lilo is old, now it's grub/grub2 we use on linux) . But you can change the boot parameters from the system you're running (before reboot). So you could change the boot parameters (boot from sdcard or emmc), thus having android on emmc and linux on sdcard. You will also now find cheap (less than 100e) x86 (intel atom) boxes which will be able to have anything you want, they are basically regular PC that will run windows or linux. Link to comment Share on other sites More sharing options...
balbes150 Posted March 27, 2017 Author Share Posted March 27, 2017 2 hours ago, mdel said: The system boot fine from emmc, i connect through ssh, but has no display on hdmi, black screen, monitor to sleep. sdcard boot (exact same image) has correct hdmi output. Try to perform a few checks. 1. After you run system from eMMC, connect via SSH and give the command restart (NOT shutdown). I watched on some devices + monitor (via adapter) that when you first turn on the TV box does not turn on monitor (u-boot for some reason it is not activated), if you give the command reboot, the monitor turns on. 2. To connect via SSH and run the manual configuration script monitor /boot/amlogics905x_init.sh Link to comment Share on other sites More sharing options...
mdel Posted March 27, 2017 Share Posted March 27, 2017 i rebooted multiple times to try and fix my fstab i also tried to use run /boot/amlogics905x_init.sh manually, it returns "-en", from your "echo -en "\033[?25h"" probably the screen stays black and does not "move" i also tried to plug a usb keyboard on the box to see if keypresses would wake up the screen but nothing. Link to comment Share on other sites More sharing options...
balbes150 Posted March 27, 2017 Author Share Posted March 27, 2017 Show the contents of fstab. What files and settings you have changed ? Show the output of "ls /boot". Link to comment Share on other sites More sharing options...
mdel Posted March 27, 2017 Share Posted March 27, 2017 fstab is okay, i just added the "nofail" option that we discussed on the other tread. Spoiler cat /etc/fstab #/var/swap none swap sw 0 0 #/dev/root / auto noatime,errors=remount-ro 0 1 #proc /proc proc defaults 0 0 /dev/root / ext4 defaults,noatime,errors=remount-ro 0 1 tmpfs /tmp tmpfs defaults,nosuid 0 0 PARTUUID=9ca0ead7-01 /media/USBLinux ext4 rw,noatime,nodiratime,data=writeback,nofail,x-systemd.device-timeout=1 0 0 /boot/ is empty, only your script : ls -lA /boot/ total 4 -rwxr-xr-x 1 root root 1676 Mar 27 09:13 amlogics905x_init.sh Link to comment Share on other sites More sharing options...
balbes150 Posted March 27, 2017 Author Share Posted March 27, 2017 I checked the installation server on s905X in eMMC. The monitor is running. Tomorrow will check for models with NAND memory. Link to comment Share on other sites More sharing options...
balbes150 Posted March 27, 2017 Author Share Posted March 27, 2017 Compiled a test version of Ubuntu server-4.9. Want to try - website catalog test\4.9 . Note that you need to download another dtb file and add the media with the name of the dtb.img. Monitor not working yet, but you can connect over the network via SSH or through the console UART. I checked the work on s905x, the network is working SSH, you can manage the system. p.s. Who is interested in the kernel sources - I GIT s905 in the thread "test". 1 Link to comment Share on other sites More sharing options...
Nofan Tasi Posted March 27, 2017 Share Posted March 27, 2017 1 hour ago, balbes150 said: Compiled a test version of Ubuntu server-4.9. Want to try - website catalog test\4.9 . Note that you need to download another dtb file and add the media with the name of the dtb.img. Monitor not working yet, but you can connect over the network via SSH or through the console UART. I checked the work on s905x, the network is working SSH, you can manage the system. p.s. Who is interested in the kernel sources - I GIT s905 in the thread "test". Thanks a lot for the update. openlinux.amlogic mentions: Note: xxxx_kernel49_release is under development , and not completed yet. so it is very cool you get it to work. I just finished to build buildroot and kernel (for using in gentoo) myself, but I guess without monitor I may need some more patience to enjoy fully :-) questions: - in your /boot I see android linux.img ... Is that file needed for armbian? - are other files like aml_autoscript and s905_autoscript etc... fundamentally different from, say the 3.14.29 ones? note: I see no mali.ko in /lib/modules (not in my build either). Link to comment Share on other sites More sharing options...
balbes150 Posted March 27, 2017 Author Share Posted March 27, 2017 Hi Marc. 1. linux.img is the kernel image + initrd , which is automatically generated Assembly environment Armbian for use when installing to the internal memory. I haven't tested, but most likely here it does not work, just comes automatically when you build the image. You can delete it. 2. the scripts start and activate the multi-boot the same and does not depend on the engine. 3. the module mali.ko in this Assembly not included. 1 Link to comment Share on other sites More sharing options...
etona Posted March 27, 2017 Share Posted March 27, 2017 You will also now find cheap (less than 100e) x86 (intel atom) boxes which will be able to have anything you want, they are basically regular PC that will run windows or linux. ------------ I am look, for intel, when I am buy a nexbox... Shit!! I am reed someware, for this box, that is a "mini pc"... Exelent kodi, etc, etc... OK, tnx. On 1 sd, libreelec, on other, this armbian,... Link to comment Share on other sites More sharing options...
weekendwarreya Posted March 28, 2017 Share Posted March 28, 2017 Can anyone provide some guidance on setting up docker on an S905 box? I tried installed from the link below but it hangs on "Setting up docker-hypriot (1.11.1-1) ..." https://docs.armbian.com/User-Guide_Advanced-Features/#how-to-run-docker Installing docker.io doesn't work either as I am running arm64 version of armbian. Any help would be greatly appreciated! Link to comment Share on other sites More sharing options...
mdel Posted March 28, 2017 Share Posted March 28, 2017 5 hours ago, weekendwarreya said: Installing docker.io doesn't work either as I am running arm64 version of armbian. Any help would be greatly appreciated! i am running @balbes150 armbian ubuntu xenial server image (aarch64) on an s905 box. i can install docker.io from the ubuntu repository (apt-get install docker.io), then run : docker run aarch64/hello-world Unable to find image 'aarch64/hello-world:latest' locally latest: Pulling from aarch64/hello-world 8c5c4ac25476: Pull complete Digest: sha256:bd1722550b97668b23ede297abf824d4855f4d9f600dab7b4db1a963dae7ec9e Status: Downloaded newer image for aarch64/hello-world:latest Hello from Docker on arm64! This message shows that your installation appears to be working correctly. To generate this message, Docker took the following steps: 1. The Docker client contacted the Docker daemon. 2. The Docker daemon pulled the "hello-world" image from the Docker Hub. 3. The Docker daemon created a new container from that image which runs the executable that produces the output you are currently reading. 4. The Docker daemon streamed that output to the Docker client, which sent it to your terminal. To try something more ambitious, you can run an Ubuntu container with: $ docker run -it ubuntu bash Share images, automate workflows, and more with a free Docker ID: https://cloud.docker.com/ For more examples and ideas, visit: https://docs.docker.com/engine/userguide/ i had to use "run aarch64/hello-world", otherwise "run hello-word" would fetch the (arm ?) version and throw an "exec format error".. so i don't know if you will be able to run "armhf" containers, i don't know much about docker and don't use it personally. Link to comment Share on other sites More sharing options...
umiddelb Posted March 28, 2017 Share Posted March 28, 2017 Hi, Docker doesn't have a good way to distinguish between different architectures automatically, so some conventions have evolved. The default architecture is AMD64, so if you run a container without any prefix / infix in the underlying image's name, you will likely get an "exec format error" on other platforms The most common prefix for ARMv7 flavoured images is 'armhf-', the most common prefix for ARMv8 is 'aarch64-'. Docker has started to publish their official images for other platforms using the 'armhf' and 'aarch64' dockerhub repo users. You can run armhf images on most ARMv8 boards. I have written a small Docker-HowTo (which needs an update for sure). Since @Igor pays very much attention providing Docker ready Linux kernels with Armbian Images, Docker should run out of the box. I'd recommend using Ubuntu Xenial instead of Debian Jessie, since Ubuntu has a much better Docker support. Cheers Uli Link to comment Share on other sites More sharing options...
balbes150 Posted March 29, 2017 Author Share Posted March 29, 2017 Image update Server-4.9 (20170329) Ubuntu and Debian. Changes - just added the dtb directory on the media that would not download dtb files separately. Link to comment Share on other sites More sharing options...
weekendwarreya Posted March 29, 2017 Share Posted March 29, 2017 Thanks @mdel and @umiddelb for the help. I was using the Debian Jessie server image. Switched over to the Ubuntu Xenial image and installed docker right away. Again big thanks to you both for pointing me in the right direction! Link to comment Share on other sites More sharing options...
balbes150 Posted March 29, 2017 Author Share Posted March 29, 2017 A test image of Ubuntu with the Mate-4.9 (test\4_9\20170329) if you wish to see , let the poor, but the image of the desktop (the image is doubling, how to cure, I have not yet found). Console output not working, but the graphic image appears. Initial configuration you need to perform either via SSH or via UART. After the initial setting, after restarting there is a DE. 1 Link to comment Share on other sites More sharing options...
balbes150 Posted March 30, 2017 Author Share Posted March 30, 2017 Tried running the version with the Mate kernel 4.9 on i7Pro (s905x). With a connected monitor via an adapter HDMI-VGA, surprisingly, received almost normal picture. The image does not appear double, but cropped vertically exactly half (when the mode is 720). I tried to switch to 1080 - shows, too, but trimmed is two-thirds from the bottom. Thus, in-running 4.9 displays the image but it is not clear how to set it up, something would have been the whole picture. Link to comment Share on other sites More sharing options...
balbes150 Posted April 1, 2017 Author Share Posted April 1, 2017 Test versions images (20170401) server and mate kernel 4.10.8. When run from SD card the system starts up and allows you to log in through the console UART. Network and USB does not work yet. Error with the eMMC. Note that these images are for experienced users only, if you would be willing to help with debugging and testing. 1 Link to comment Share on other sites More sharing options...
Nofan Tasi Posted April 1, 2017 Share Posted April 1, 2017 3 hours ago, balbes150 said: Test versions images (20170401) server and mate kernel 4.10.8. When run from SD card the system starts up and allows you to log in through the console UART. Network and USB does not work yet. Error with the eMMC. Note that these images are for experienced users only, if you would be willing to help with debugging and testing. congratulations, looking forward to run latest linux kernel on amlogic Link to comment Share on other sites More sharing options...
Shimon Posted April 2, 2017 Share Posted April 2, 2017 @balbes150 About the `dd_backup_x` script - it already hardcodes `pv` as a reqirement, so there's no reason not to use `pigz`, if present at least, for better performance . Link to comment Share on other sites More sharing options...
Ian Pat Posted April 5, 2017 Share Posted April 5, 2017 I want to install a very light headless linux on my A95X (2G/16G), images found here are fine (great work btw!), but i wish i had more control over what my installation will be. Any advice on: - steps for making my own image? (was thinking on simple kernel + initrd that already has the tools i need, self-contained) - what should i compile and from where for my specific device? - how can it be deployed? Thanks! Link to comment Share on other sites More sharing options...
balbes150 Posted April 5, 2017 Author Share Posted April 5, 2017 How to build your own version of Linux, you can read these links. http://docs.khadas.com/ http://www.linux-meson.com/doku.php http://openlinux.amlogic.com/ 2 Link to comment Share on other sites More sharing options...
xXx Posted April 5, 2017 Share Posted April 5, 2017 On 3/4/2017 at 0:50 AM, Shimon said: About the `dd_backup_x` script - it already hardcodes `pv` as a reqirement, so there's no reason not to use `pigz`, if present at least, for better performance . pigz does a great job in compression part, but decompession is still single core ( correct me if things has changed ). SD/USB read/write bandwidth may be a bottleneck to backup/restore operations even with pigz in action ( just a guess ). I am testing a rikomagic MK36 the last 2 weeks, so i don't have easy access to my armbian box right now. Thus i don't know if balbes150 images have already installed pigz, but if it is, or if balbes150 wishes to include pigz in future images, we can create and test a new version of the script with pigz. Thats all 1 Link to comment Share on other sites More sharing options...
Recommended Posts