Jump to content

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


balbes150

Recommended Posts

New image 20170828  kernel 4.12.9.

In this way there is support for USB on the platform S905X. You can run the system from SD cards and USB flash drives. Changed the activation system monitor, now it is built into the kernel itself. To change the screen resolution, you need to use standard tools from control monitor on a desktop. The resolution changes on the fly (directly on desktop). Not working yet WiFi. There are problems with the dtb files (requires the edit and debug under different models). For s905x recommend to use a file meson-gxl-s905x-nexbox-a95x or meson-gxl-s905x-khadas-vim1. For the model s905 - meson-gxbb-odroidc2.

Link to comment
Share on other sites

Version update TEST kernel 4.13.0_next_20170907. Added support for sound for all models S905X and S912. Pay attention to one feature of the work of sound - on the desktop has to be set 1920x1080 resolution. Not clear to me yet why the sound only works in this screen resolution.

For some recent images to use these additions, you can only download the kernel and dtb files (deb packages are in the directory TEST\deb) to install in the existing system (don't forget to update the file "dtb.img" to a new version).

Link to comment
Share on other sites

On 9/1/2017 at 9:54 PM, balbes150 said:

New image 20170901  kernel 4.13.0-rc6 and next-4.13.0-rc7 for S905X.  Working USB.

 

Since i got a couple of S905X boxes at home, i gave Nexbox A95X S905X a try, boots with multiple DTB, but only meson-gxbb-nexbox-a95x.dtb seems to be able to boot into ldm/mate.

But there is no response from USB mouse nor keyboard.  As USB is supported now, what could this be?

 

 

EDIT: images being tested are from 20170907.

 

 

 

Link to comment
Share on other sites

Armbian_5.32_S9xxx_Ubuntu_xenial_4.13.0-next-20170908_mate.img.xz successfully boots into a green textured mate on my X96 (1+16) box. USB wired mouse and USB keyboard both work fine. I can play the movie and access folders but little else. The settings file (config) opens but there are few options, and I have not discovered how to access the console or enable wifi yet.  I assume HDMI is working at 720p. Have not checked audio. Am using the A95x dtb file.

Link to comment
Share on other sites

On 09.09.2017 at 9:48 PM, fossxplorer said:

Since i got a couple of S905X boxes at home, i gave Nexbox A95X S905X a try, boots with multiple DTB, but only meson-gxbb-nexbox-a95x.dtb seems to be able to boot into ldm/mate.

But there is no response from USB mouse nor keyboard.  As USB is supported now, what could this be?

1. If the system runs with file gxbb , then this is the version with the chip S905 (no X).

2. Try all the dtb files, the title of which is "gxbb".

 

7 hours ago, intelmarico said:

enable wifi yet

WiFi in this kernel version is not supported.

 

7 hours ago, intelmarico said:

I assume HDMI is working at 720p

Sound only works with 1080p resolution (you can switch the screen resolution on the fly in a working system, via the settings menu of the monitor group Settings).

Link to comment
Share on other sites

@balbes150 how can i configure uboot ethernet connection to boot through tftp ? i have a Kii pro S905 box, tried to set the ip address and gateway in u-boot but still whenever i ping a host in the network it says the host is not alive? is this a bug or i'm missing a setting ?my u-boot version is 2015.01-g3fb479f-dirty (Oct 13 2016 - 19:22:50)

Link to comment
Share on other sites

5 hours ago, MOHAMMAD HADI said:

how can i configure uboot ethernet connection to boot through tftp ? i have a Kii pro S905 box, tried to set the ip address and gateway in u-boot but still whenever i ping a host in the network it says the host is not alive? is this a bug or i'm missing a setting ?my u-boot version is 2015.01-g3fb479f-dirty (Oct 13 2016 - 19:22:50)

Have you read this information ?

http://docs.khadas.com/develop/SetupTFTPServer/

Link to comment
Share on other sites

balbes150

thank you very much for your excellent work!

I have a KM8P S912 - on firmware at the 20170908 with the kernel 4.13 works USB-mouse and the keyboard, there is a sound at the resolution of the screen 1920х1080.

As I understand it, there a problem when installing this firmware on EMMC?

Link to comment
Share on other sites

9 hours ago, balbes150 said:

Have you read this information ?

http://docs.khadas.com/develop/SetupTFTPServer/

Yes i have but it's not working on my box.

my box and my laptop are connected to the same router the router ip is 172.16.1.1 running dhcp server i tried to setup a tftp server in my main os (arch linux) and then tried it in a ubuntu 16.04.2 vm and still can't get it to work.

gxb_p20x#setenv ipaddr 172.16.1.44
gxb_p20x#setenv serverip 172.16.1.241
gxb_p20x#setenv gatewayip 172.16.1.1
gxb_p20x#saveenv
Saving Environment to aml-storage...
mmc env offset: 0x27400000 
Writing to MMC(1)... done
gxb_p20x#ping 172.16.1.1
Amlogic Ethernet Init
Success: reset mac OK!(0)
ETH PHY hardware reset OK
find net phy id=0x2430c54, phyad=0
set_mac_mode(2)
final_addr[rx-tx]: 0000000073efe8e0-0000000073efeee0
Ethernet reset OK
MAC address is 00:15:18:01:81:31
duplex
100m
Using Meson_Ethernet device
ping failed; host 172.16.1.1 is not alive
gxb_p20x#tftp 1080000 Image   
Using Meson_Ethernet device
TFTP from server 172.16.1.241; our IP address is 172.16.1.44
Filename 'Image'.
Load address: 0x1080000
Loading: T T T T T T T T T T 
Retry count exceeded; starting again
Using Meson_Ethernet device
TFTP from server 172.16.1.241; our IP address is 172.16.1.44
Filename 'Image'.
Load address: 0x1080000
Loading: *
Abort

This might be a bug in u-boot of the box that was fixed in kvim u-boot ? have you ever tried this on a box and worked ?

Link to comment
Share on other sites

56 minutes ago, purplepumkin said:

Would the S905W work? I'm seeing S905W devices going quite cheap. Less than $20 for a Tanix TX3 mini with 1GB RAM and 16GB eMMC. 

I have no such models, so until the owner of such a model itself will not check, we do not know.

Link to comment
Share on other sites

@balbes150 how to get fw_printenv and fw_setenv working in mainline kernel images ?

when running a 3.14 kernel the tools works fine by using /dev/env which doesn't exist in mainline kernel.

looking at dmesg in 3.14 kernel it output the environment offsets

[    2.369744@2] [mmcblk0p04]                  env  offset 0x000027400000, size 0x000000800000 

u-boot also report the same offsets

        name                        offset              size              flag
===================================================================================
   0: bootloader                         0            400000                  0
   1: reserved                     2400000           4000000                  0
   2: cache                        6c00000          20000000                  2
   3: env                         27400000            800000                  0
   4: logo                        28400000           2000000                  1
   5: recovery                    2ac00000           2000000                  1
   6: rsv                         2d400000            800000                  1
   7: tee                         2e400000            800000                  1
   8: crypt                       2f400000           2000000                  1
   9: misc                        31c00000           2000000                  1
  10: instaboot                   34400000          20000000                  1
  11: boot                        54c00000           2000000                  1
  12: system                      57400000          40000000                  1
  13: data                        97c00000         30c200000                  4

i tried to put these offsets in /etc/fw_en.config file but still the fw_printenv tools is printing the default environment

Link to comment
Share on other sites

On 20.09.2017 at 10:29 AM, MOHAMMAD HADI said:

how to get fw_printenv and fw_setenv working in mainline kernel images ?

I haven't tested these utilities on core 4.x

 

On 20.09.2017 at 10:30 PM, purplepumkin said:

It seems "arm-none-eabi-cpp" is missing.

I hope you are using a 64 bit system and installed the 32 bit multilib ?

 

 

To all

Update test image  4.14.0-rc1-next-20170922.

 

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