Jump to content

ARMBIAN for Amlogic S905 and S905X (ver 5.44 =<)


balbes150

Recommended Posts

@jan.pal ,hello I'm a newbie and probably asking silly questions. I have the same x96 tv box as You and I can not boot ubuntu image.Can You please explain what do I need to do to boot linux on this board?

sorry.. i am not here often and I dont like the ubuntu much but anyway, i have used the toothpick method. 

1) download the image

2) burn to usb key ( i have used sd card wuth adapter)

3) put the key into white usb slot

4) there is a button inside AV conector press and hold the button

5) power on device and wait few seconds, x96 logo will appear, keep holding the button, logo blinks once or twice and you will realize that initial animation did not start

6) release the button

7) wait armbian to boot

Link to comment
Share on other sites

What version of the bootloader in the firmware ? Most likely, without connecting the console UART, it will be difficult to understand what is the problem with the launch.

I don't have the UART console unfortunately, is there a way to make ubuntu image based on same kernel and bootup process as the working libreelec ?

I'd be happy with libreelec if I could use apt and write files into partition, but without its quite useless as a mini-server..

Surely I'm not the only 1GB/8GB version owner, anyone had success booting ubuntu/debian ?

Link to comment
Share on other sites

I don't have the UART console unfortunately, is there a way to make ubuntu image based on same kernel and bootup process as the working libreelec ?

I'd be happy with libreelec if I could use apt and write files into partition, but without its quite useless as a mini-server..

Surely I'm not the only 1GB/8GB version owner, anyone had success booting ubuntu/debian ?

 

1. To create an image on the basis of the LE with the usual root system possible.

2. Add to LE "apt" (package Manager) - fast does not work,  need to make many changes. The result is not predictable

3. Start Armbian without a console UART - possible. Need additional manual work.

Link to comment
Share on other sites

info

I checked the image @ 16Gb SanDisk mSD card

S9xxx_4G_ICEWM_MATE_XFCE_LXDE_LXQT_20170129.img.xz

 

Mini M8SII   S905x  

after apt-get update , apt-get upgrade worked WiFi  - broken , wired - working 

Video Test - hung with a repeating sound

parted,gparted,fdisk cannot recognized mmcblk1 built-in flash

but the system works ok, poweroff and reboot commands is working  well

 

Tomato developer board vim 1.2 s905x  2G/16G

WiFi,BT - not working ,  before&after update\upgrade

 parted,gparted,fdisk cannot recognized mmcblk1 built-in flash

but the system works ok, poweroff and reboot commands is working  well

 
Thanks for the great work !!!
Link to comment
Share on other sites

In the internal memory table partitions and standard partitions. It uses mtd. parted,gparted,fdisk is not able to work with mtd partitions.

For full screen video playback - these images are not ready.

 

 

 

Updated images Armbian (20170220). In the images only correct past mistakes (fix the state before the merge with main branch lib).

Link to comment
Share on other sites

Tested compressed backups today in x96 boxes, and backup and restore works as expected.

This is the box tested ( 2 of them )

Android-6.0-Marshmallow-Amlogic-S905X-TV

 

Checked backups and restore ( with compression). On i7pro working correctly. On Vega S95 making the copy went OK, after the restore, the system does not start. Maybe it's a peculiarity of my specific instance TV box (internal memory). The script liked it. I recommend to use, but you need to be alert to possible nuances for a particular piece of hardware. There is a proposal - to change the color scheme. When using the system in a graphical environment MATE (the terminal has a white background) difficult to read yellow writing on it.

Link to comment
Share on other sites

@balbes150

Thanks for the info.

Can you try at some point the "problematic" box with uncompressed backup and restore?

I never use the "modern" stock terminal colors ( say white background ), but i'll try to change

the colors used in the script to something more "universal" in the next version.

Link to comment
Share on other sites

Balbes, this image, is it server or desktop https://yadi.sk/d/Dh6f7xp13EHoP6 ?

 

I see you were mentioning it's Debian, but the name is Ubuntu Xenial, i know Ubuntu is based on Debian.

 

Is there maybe a newer image for Khadas?

 

There are two options server and desktop. This is a test images collected using the kernel source from Khadas. These images are intended only to verify control-temperature control for different TV boxes. They are not suitable for normal use.

 

 

@balbes150

Thanks for the info.

Can you try at some point the "problematic" box with uncompressed backup and restore?

I never use the "modern" stock terminal colors ( say white background ), but i'll try to change

the colors used in the script to something more "universal" in the next version.

 

I'll try to check when I get the chance.

 

 

Twice hunging qemu-system-common 1:2.5+dfsg-5ubuntu10.8  during updating process

to repair  the system : SD card connected to the desktop, and deleted all files of qemu

 

Cannot boot  from mSD 64Gb .

Is it normal ?

 

What image do you use ?

Not all SD cards can run via built-in card reader.

Link to comment
Share on other sites

A question to all. Please test the monitor (seeing double) in images of Debian (xfce or server). If the output is to double, please check the behavior of the monitor after replacing the file /bin/fbset on file from the Test directory.

Link to comment
Share on other sites

I try install Ubuntu (Armbian_5.24_S9xxx_mate_Ubuntu_xenial_3.14.29_desktop_20170220.img) into internal memory (eMMC) by run script : /root/install.sh but script install finish ("Complete copy OS to eMMC parted DATA")

 

See file error: http://pastebin.com/pS17yR01

and picture: http://imgur.com/a/hJctQ

 

I think have problem with kernel when i finished copy ubuntu into /dev/data

 

Pls fix this error! Thank alot

Link to comment
Share on other sites

This version will NOT install to the internal memory automatically (using a script install.sh).

Uboot ready update load os from /dev/data.
initargs=root=/dev/data rootflags=data=writeback rw console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.repair=yes net.ifnames=0 mac=${mac}
 
Copy ubuntu done and "Writing kernel image..." dd if="boot.img" of="/dev/boot" bs=64K status=none && sync
 
Pls see file error: http://pastebin.com/pS17yR01

and picture: http://imgur.com/a/hJctQ

Link to comment
Share on other sites

greetings all

I'm new to the forum and have been tinkering with balbes' .imgs on my nexbox with the s905x chip and wanted to say thanks to all the devs. Also I like to tinker and test and break my systems... so I'm offering to test new imgs apps etc on my nexbox and report findings BTW following a samsung guide iv managed to overclock it and after I mod it with a cooling system. I believe its got potential...

N E Wayz thanks and can someone point me to nightly testing.

Astr4y4L

Link to comment
Share on other sites

greetings all

I'm new to the forum and have been tinkering with balbes' .imgs on my nexbox with the s905x chip and wanted to say thanks to all the devs. Also I like to tinker and test and break my systems... so I'm offering to test new imgs apps etc on my nexbox and report findings BTW following a samsung guide iv managed to overclock it and after I mod it with a cooling system. I believe its got potential...

N E Wayz thanks and can someone point me to nightly testing.

Astr4y4L

Wellcome.

I can help you test with your cooling system if you send to me your design cooling system. 

If you need to test large numbers, I can use more two hundred to test the mainboard s905x.

...

But... who can help me run Debian/Ubuntu on eMMC.

 

Uboot ready update load os from /dev/data.
initargs=root=/dev/data rootflags=data=writeback rw console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.repair=yes net.ifnames=0 mac=${mac}
 
Copy ubuntu done and "Writing kernel image..." dd if="boot.img" of="/dev/boot" bs=64K status=none && sync
 
Pls see file error: http://pastebin.com/pS17yR01

and picture: http://imgur.com/a/hJctQ

 

balbes150 

He talked: need rebuild the INITRAMFS (with support for running from internal memory). but i dont know option, and module support internal memory.

-----

 

I think need build with aml_util and aml_nftl_dev with kernel

 

Who can help me rebuild the INITRAMFS?

Link to comment
Share on other sites

Wellcome.

I can help you test with your cooling system if you send to me your design cooling system. 

If you need to test large numbers, I can use more two hundred to test the mainboard s905x.

...

But... who can help me run Debian/Ubuntu on eMMC.

 

Uboot ready update load os from /dev/data.
initargs=root=/dev/data rootflags=data=writeback rw console=ttyS0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.repair=yes net.ifnames=0 mac=${mac}
 
Copy ubuntu done and "Writing kernel image..." dd if="boot.img" of="/dev/boot" bs=64K status=none && sync
 
Pls see file error: http://pastebin.com/pS17yR01

and picture: http://imgur.com/a/hJctQ

 

balbes150 

He talked: need rebuild the INITRAMFS (with support for running from internal memory). but i dont know option, and module support internal memory.

-----

 

I think need build with aml_util and aml_nftl_dev with kernel

 

Who can help me rebuild the INITRAMFS?

 

Show the output of "df -h". Judging by the picture, the system failed to copy itself to the eMMC. If You are using the desktop version of the image - before installing deinstalirate of the packages. Or use the dtb file with the changed partition table mtd.

Link to comment
Share on other sites

Hi guys !

I have a "Nexbox A95X 2GB DDR3 RAM 8GB eMMC ROM" and I'm trying to install Java on Armbian (debian) image from this forum by this tutorial: http://docs.openhab.org/installation/linux.html

It's a problem on stage:

sudo apt-get install oracle-java8-installer

This package depends on "java-common" whitch not yet been created ?

 

Does anybody install java8/9 on Armbian for Amlogic S905X ?

Link to comment
Share on other sites

Java8 with Debian version 20170222 works fine. Thanks.

But OpenHAB package drops with error while package installation "sudo apt-get install openhab2" without diagnostics. Something wrong. My be because of some errors during "sudo apt-get update" command.

Link to comment
Share on other sites

Image update 20170302. Now, all the images should work the procedure for installing to the internal memory. To use setup, you must consider a number of nuances. 1. Before installation we strongly recommend to do a full backup of the internal memory (e.g. team dd_backup_x) and move the copy to another storage medium (e.g. on a PC). 2. Be sure to check all devices (wifi, sound etc etch). 3. If all the required works when run from external media, you can start the installation. To start the terminal. To switch to the superuser "root" to execute the command "su -" (su "space", "minus"). Run as root the command "./install.sh" . The procedure is not fast, as there is a complete copy of the operating system from external media in memory (eMMC). Notice for owners of TV boxes with 8 GB of eMMC. When you install the desktop versions (MATE and XFCE) TO START the installation, optimize system. To reduce the amount of programs installed for example to uninstall office packages. What would be the size occupied by the system on external drive was less of the size of the internal memory (partition /dev/data). By default , desktop take more seats than the existing partition in the internal memory (/dev/data). Therefore, the system will fail to start.

Link to comment
Share on other sites

@balbes150

this is a mightyfine piece of work here :-) really seems like you've gotten the bugs out. so im on  debian desktop 20170228. typeing from the a95x now i've got system up time over 3 hours and my cpu temp is steady at 57c  this image seems to work very well and ive allready updated and installed other packages etc.

     so , QUESTION =  since im not overly concerned with the emmc install is there a big difference between  20170228 and the 20170302 images ?

 

also i'm wanting very much to learn how this is built as I want to try to port Kali and parrotsecurity os to this platform. Can you give me any pointers tips or tricks ? is there a  a general tutorial/guide for this type of thing ? can you tell me what the major differences between the a95x-s0905x and Odroid c2 platforms are ? i found a pre rolled img for Odroid c2 that id like to port to the nexbox would they be close to compatable?

 

thanks very much for your time and effort in this project , you've given my silly android box new purpose,

and given me inspiration.

 

Cheers

Astr4y4l

Link to comment
Share on other sites

@Tieu Vinh Long

hi , i've done some modification for cooling but can't decide between liquid coolant or air-injection ,

i've some ideas  to discuss is there a way to private message me so as not to clutter the forum with off-topic posts?

and do you have a place to upload pictures of the modifications i'm makeing?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines