Jump to content

Armbian for Amlogic S912


chocho

Recommended Posts

Nothing starts with neither dbt.img nor without it, loads the logo.img and then black screen and looking for signal.

I've tried this too, Armbian_5.26_S9xxx_Debian_jessie_3.14.29_xfce_20170222.img

I tried with several pendriver and a ssd of 32 g, the idea was to install it in ssd.

I imagine that it will have to modify the dtb.img but I have no idea, with SD and MTK I defend, but with Amlogic I have no idea.

 

I have also renamed gxm_q200_3g.dtb to dtb.img and copied it to the root folder and nothing.

 

If I put the h96_1.dtb as dtb.img, it stays in the boot.img without putting the screen in black.

 

If someone wants to help me with a manual or with the dtb.img I upload it.

Thanks and Regards.

Link to comment
Share on other sites

I tried to get the dtb info from the android

I've got the boot.img from the box (http://pel.hu/down/H96Pro3GBboot.img)

But the perl script is not running on the box, there is no /usr/bin/perl (not even /usr folder)

 

Edit1:

I see the dtb info from around 0x7dd7e0-0x7e7740 but I don't know which is the exact start and end position.

I took a guess and extract this: http://pel.hu/down/dtbpart as the dtb.img

 

Edit2:

I put this to the Armbian_5.24_Amlogic-s905x_Ubuntu_xenial_3.14.29_20161125.img and the kernel starts but stops after 7 second... http://pel.hu/down/20170222223925.log

I put this to the Armbian_5.24_S9xxx_server_Debian_jessie_3.14.29_20170220.img and the kernel starts but stops after 7 second... http://pel.hu/down/20170222224754.log

Link to comment
Share on other sites

First, i have an h96pro 2gb/16gb version, for the testing the images i'm using an sub disk, unidentified ssd board and chinese usb3-sata cable.

 

The only dtb that work for me it's vega_s96.dtb

 

Reporting my situation with those image:

 

Armbian_5.24_S9xxx_xfce_Ubuntu_xenial_3.14.29_desktop_20170205.img

Desktop is unstable, it crashes after a few minutes, never reached 30min, and dragging down the kernel a minute later, i suppose i panic (i will install a serial later).

Switching to console ctrlaltf2 seem to make everything stable and i can compile,install,everything, i also moved the install to the internal emmc but the usb disk is faster.

Ethernet stability is unclear, sometime the wireless appear to not work or doesn't see any network; once connected the wireless is table, but the wired is unclear (to me look more like a network manager issue but i haven't tried a lot.

Keyboard and mouse are not detected, but any change in any usb port status make both working (udev?).

 

Armbian_5.24_S9xxx_mate_Ubuntu_xenial_3.14.29_desktop_20170217_kh_WiFi.img

do not start at all

 

Armbian_5.26_S9xxx_mate_Ubuntu_xenial_3.14.29_20170221.img

Desktop doesn't crash anymore.

Kodi 15.2 crash often , from 15 seconds to 15 minutes, playback of 1080p low fps and tearing.

Using firefox, playback of youtube 1080 videos is smooth for same istants, the lag behind to video stalls then skip and realign with the audio that seem ok; also long time playback of videos seem to be stable.

wireless, forgot to check

wired no problems but i did only a few tests

keyboard and mouse, no more issues, just the leds doesn't lit.

Link to comment
Share on other sites

Some more informations:

Armbian_5.24_S9xxx_xfce_Ubuntu_xenial_3.14.29_desktop_20170205.img

on monitor(hdmi) shell a bunch of lines are outside the screen so i can't see the cursor and a few lines, and i switched to ssh.

 

Armbian_5.26_S9xxx_mate_Ubuntu_xenial_3.14.29_20170221.img

Shell on monitor ok.

Wireless doesn't see any network.

 

Not sure if both:

power off on desktop does init shutdown but the cpu/desktop remain on, while the poweroff command from shell does poweroff the device and i can power on it with the remote control (both images).

 

i'm going to install an hc-05 module on the serial to avoid cables to the pc (usually do this on all my devices), it's a serial bluetooth module 1.8v/3.3tolerant but need to be programmed manually from the serial port pins before connecting the; what's the serial speed?

 

I also want to try the ir receiver, but i don't see the device lirc0 or additional serials (i suppose the only present it's debug i'm going to connecto to); any hint about?

edit: the module for the ir receiver is amlogic_ir or amlogic-ir, it does create /dev/amremote but cannot be opened.

Link to comment
Share on other sites

First, i have an h96pro 2gb/16gb version, for the testing the images i'm using an sub disk, unidentified ssd board and chinese usb3-sata cable.

 

The only dtb that work for me it's vega_s96.dtb

 

Reporting my situation with those image:

 

Armbian_5.24_S9xxx_xfce_Ubuntu_xenial_3.14.29_desktop_20170205.img

Desktop is unstable, it crashes after a few minutes, never reached 30min, and dragging down the kernel a minute later, i suppose i panic (i will install a serial later).

Switching to console ctrlaltf2 seem to make everything stable and i can compile,install,everything, i also moved the install to the internal emmc but the usb disk is faster.

Ethernet stability is unclear, sometime the wireless appear to not work or doesn't see any network; once connected the wireless is table, but the wired is unclear (to me look more like a network manager issue but i haven't tried a lot.

Keyboard and mouse are not detected, but any change in any usb port status make both working (udev?).

 

Armbian_5.24_S9xxx_mate_Ubuntu_xenial_3.14.29_desktop_20170217_kh_WiFi.img

do not start at all

 

Armbian_5.26_S9xxx_mate_Ubuntu_xenial_3.14.29_20170221.img

Desktop doesn't crash anymore.

Kodi 15.2 crash often , from 15 seconds to 15 minutes, playback of 1080p low fps and tearing.

Using firefox, playback of youtube 1080 videos is smooth for same istants, the lag behind to video stalls then skip and realign with the audio that seem ok; also long time playback of videos seem to be stable.

wireless, forgot to check

wired no problems but i did only a few tests

keyboard and mouse, no more issues, just the leds doesn't lit.

Where do you find these images? 

I would like to try the same image but I couldn't find the same ones.

Today morning I tried Armbian_5.24_S9xxx_mate_Ubuntu_xenial_3.14.29_desktop_20170220.img with vegas96 dtb - > kernel didn't start

and the same image with my extracted dtb.img -> kernel started and then stopped after 7 sec.

Link to comment
Share on other sites

Nothing starts with neither dbt.img nor without it, loads the logo.img and then black screen and looking for signal.

 

I've tried this too, Armbian_5.26_S9xxx_Debian_jessie_3.14.29_xfce_20170222.img

 

I tried with several pendriver and a ssd of 32 g, the idea was to install it in ssd.

 

I imagine that it will have to modify the dtb.img but I have no idea, with SD and MTK I defend, but with Amlogic I have no idea.

 

I have also renamed gxm_q200_3g.dtb to dtb.img and copied it to the root folder and nothing.

 

If I put the h96_1.dtb as dtb.img, it stays in the boot.img without putting the screen in black.

 

If someone wants to help me with a manual or with the dtb.img I upload it.

 

Thanks and Regards.

 

1. Take turns to use all dtb files (gxm_q200*) on the media.

2. Send me the dtb file that You received from the firmware.

3. You have tried to use as a USB flash drive ?

 

 

I tried to get the dtb info from the android

I've got the boot.img from the box (http://pel.hu/down/H96Pro3GBboot.img)

But the perl script is not running on the box, there is no /usr/bin/perl (not even /usr folder)

 

Edit1:

I see the dtb info from around 0x7dd7e0-0x7e7740 but I don't know which is the exact start and end position.

I took a guess and extract this: http://pel.hu/down/dtbpart as the dtb.img

 

Edit2:

I put this to the Armbian_5.24_Amlogic-s905x_Ubuntu_xenial_3.14.29_20161125.img and the kernel starts but stops after 7 second... http://pel.hu/down/20170222223925.log

I put this to the Armbian_5.24_S9xxx_server_Debian_jessie_3.14.29_20170220.img and the kernel starts but stops after 7 second... http://pel.hu/down/20170222224754.log

 

I downloaded the dtb. Soon I will upload a new version dtb based on this file.

 

 

First, i have an h96pro 2gb/16gb version, for the testing the images i'm using an sub disk, unidentified ssd board and chinese usb3-sata cable.

 

The only dtb that work for me it's vega_s96.dtb

 

Reporting my situation with those image:

 

Armbian_5.24_S9xxx_xfce_Ubuntu_xenial_3.14.29_desktop_20170205.img

Desktop is unstable, it crashes after a few minutes, never reached 30min, and dragging down the kernel a minute later, i suppose i panic (i will install a serial later).

Switching to console ctrlaltf2 seem to make everything stable and i can compile,install,everything, i also moved the install to the internal emmc but the usb disk is faster.

Ethernet stability is unclear, sometime the wireless appear to not work or doesn't see any network; once connected the wireless is table, but the wired is unclear (to me look more like a network manager issue but i haven't tried a lot.

Keyboard and mouse are not detected, but any change in any usb port status make both working (udev?).

 

Armbian_5.24_S9xxx_mate_Ubuntu_xenial_3.14.29_desktop_20170217_kh_WiFi.img

do not start at all

 

Armbian_5.26_S9xxx_mate_Ubuntu_xenial_3.14.29_20170221.img

Desktop doesn't crash anymore.

Kodi 15.2 crash often , from 15 seconds to 15 minutes, playback of 1080p low fps and tearing.

Using firefox, playback of youtube 1080 videos is smooth for same istants, the lag behind to video stalls then skip and realign with the audio that seem ok; also long time playback of videos seem to be stable.

wireless, forgot to check

wired no problems but i did only a few tests

keyboard and mouse, no more issues, just the leds doesn't lit.

 

1. Try it from the menu desktop started to give the command "suspend" and after processing of a reaction to this mode, execute from the desktop menu the command "Off".

2. The speed of the port to connect UART 115200.

Link to comment
Share on other sites

Thanks balbes150 :

 

I'm going to try all the gxm_q200 as you tell me.
I use 3 different pendrivers and a ssd sata2 of 32g external.
The dtb.img of the Quintex Q912 3 of ram and 32g of rom.

 

https://mega.nz/#!FJ9A0K7a!eUDKqgHQFBVR1Gb5_8-SFXHeaIcUTIztcCKzdJHokR0

 

Very Thanks

 

 

Edit:

Nothing:

In Armbian_5.26_S9xxx_Ubuntu_xenial_3.14.29_mate_20170222.img

Gxm_q200 2g stops in the boot.img the image of Quintex.

Gxm_q200 3g passes the boot.img and puts the screen in black and monitor looking for signal.

Link to comment
Share on other sites

1. Try it from the menu desktop started to give the command "suspend" and after processing of a reaction to this mode, execute from the desktop menu the command "Off".

2. The speed of the port to connect UART 115200.

Thanks, i also found that the speed in defined in the autoscript file.

Tomorrow i have same time, i'll try to suspend and report, plus testing other issues like the wireless where i'll try to test it from shell.

 

Where did you found ......

 

Sorry, missed your message yesterday, now i see that you already solved, that's good.
Link to comment
Share on other sites

Thanks balbes150 :

 

I'm going to try all the gxm_q200 as you tell me.

I use 3 different pendrivers and a ssd sata2 of 32g external.

The dtb.img of the Quintex Q912 3 of ram and 32g of rom.

 

https://mega.nz/#!FJ9A0K7a!eUDKqgHQFBVR1Gb5_8-SFXHeaIcUTIztcCKzdJHokR0

 

Very Thanks

 

 

Edit:

Nothing:

 

In Armbian_5.26_S9xxx_Ubuntu_xenial_3.14.29_mate_20170222.img

 

Gxm_q200 2g stops in the boot.img the image of Quintex.

 

Gxm_q200 3g passes the boot.img and puts the screen in black and monitor looking for signal.

 

Try file Gxm_q200 3g to use a USB flash drive (NOT the adapter with the SSD and a normal flash drive) and when the monitor will write about the absence of a signal to wait 5-7 minutes.

Link to comment
Share on other sites

Try file Gxm_q200 3g to use a USB flash drive (NOT the adapter with the SSD and a normal flash drive) and when the monitor will write about the absence of a signal to wait 5-7 minutes.

Thanks balbes150

I tried with three different usb Gxm_q200 3g naming it to dtb.img and moving it to the root and nothing.

Two pendrivers 2.0 of 8g and one 3.0 of 8g.

My idea was to install it in ssd if it worked, but all the tests I do with the pendrivers since I do not want to format ssd more than necessary.

 

Thank you and greetings.

Link to comment
Share on other sites

Try it from the menu desktop started to give the command "suspend" and after processing of a reaction to this mode, execute from the desktop menu the command "Off".

suspend result, did not turn off

root@amlogic-s905x:~# [  516.442436@7] cpufreq: cpufreq_suspend: Failed to stop governor for policy: ffffffc0663d3a00
[  516.446169@7] cpufreq: cpufreq_suspend: Failed to stop governor for policy: ffffffc0663d3a00
[  516.454634@7] cpufreq: cpufreq_suspend: Failed to stop governor for policy: ffffffc0663d3a00
[  516.462944@7] cpufreq: cpufreq_suspend: Failed to stop governor for policy: ffffffc0663d3e00
[  516.471258@7] cpufreq: cpufreq_suspend: Failed to stop governor for policy: ffffffc0663d3e00
[  516.479652@7] cpufreq: cpufreq_suspend: Failed to stop governor for policy: ffffffc0663d3e00
[  516.488254@7] Kernel panic - not syncing: BUG!
[  516.492396@7] CPU: 7 PID: 2550 Comm: kworker/u16:3 Tainted: P             3.14.29-amlogics905x-gc1792de-dirty #29
[  516.502582@7] Workqueue: suspend suspend
[  516.506445@7] Call trace:
[  516.509045@7] [<ffffffc001088e80>] dump_backtrace+0x0/0x138
[  516.514560@7] [<ffffffc001088fd8>] show_stack+0x20/0x30
[  516.519736@7] [<ffffffc001a791b0>] dump_stack+0x88/0xc4
[  516.524912@7] [<ffffffc001a76b80>] panic+0xe8/0x20c
[  516.529742@7] [<ffffffc0016d65a8>] sdio_get_host_pm_caps+0x64/0x84
[  516.535888@7] [<ffffffbffc197284>] brcmf_ops_sdio_suspend+0x30/0xcc [brcmfmac]
[  516.543026@7] [<ffffffc00155c89c>] pm_generic_suspend+0x38/0x58
[  516.548888@7] [<ffffffc00155e65c>] dpm_run_callback+0x34/0xa8
[  516.554577@7] [<ffffffc00155f7e4>] __device_suspend+0x134/0x2c0
[  516.560443@7] [<ffffffc001560150>] dpm_suspend+0x70/0x244
[  516.565789@7] [<ffffffc0015605b0>] dpm_suspend_start+0x70/0x80
[  516.571571@7] [<ffffffc0010e4cec>] suspend_devices_and_enter+0x98/0x260
[  516.578124@7] [<ffffffc0010e508c>] pm_suspend+0x1d8/0x248
[  516.583473@7] [<ffffffc0010e970c>] suspend+0x80/0x1dc
[  516.588477@7] [<ffffffc0010b6474>] process_one_work+0x148/0x438
[  516.594340@7] [<ffffffc0010b72a0>] worker_thread+0x140/0x3d0
[  516.599946@7] [<ffffffc0010bdd50>] kthread+0xd8/0xf0
[  516.604864@6] CPU6: stopping
[  516.607712@6] CPU: 6 PID: 0 Comm: swapper/6 Tainted: P             3.14.29-amlogics905x-gc1792de-dirty #29

etc...

Shutdown, today worked, yesterday did not, or maybe i did samething wrong.(edit: confirm that sametime i got a panic instead)

amlogic-s905x login: [  128.848400@0] reboot: Power down
INFO:    PSCI Affinity Map:
INFO:      AffInst: Level 1, MPID 0x0, State ON
INFO:      AffInst: Level 1, MPID 0x100, State ON
INFO:      AffInst: Level 0, MPID 0x0, State ON
INFO:      AffInst: Level 0, MPID 0x1, State ON
INFO:      AffInst: Level 0, MPID 0x2, State ON
INFO:      AffInst: Level 0, MPID 0x3, State ON
INFO:      AffInst: Level 0, MPID 0x100, State ON
INFO:      AffInst: Level 0, MPID 0x101, State ON
INFO:      AffInst: Level 0, MPID 0x102, State ON
INFO:      AffInst: Level 0, MPID 0x103, State ON
bl31 reboot reason: 0x10d
bl31 reboot reason: 0x10d
system cmd  0.
bl30 get wakeup sources!
process command 00000006
bl30 enter suspend!
cpu clk suspend rate 667000000
suspend_counter: 1
Enter ddr suspend
first time suspend
ddr suspend time: 1877us
store restore gp0 pll
process command 00000001
CEC cfg:0x0000
set vddee to 0x035cmv
089
powered off fine, look like the usb was powered off too, the bluetooth/serial module did not so 3.3v are still present (not the device bt, a wireless serial module i added to connect the serial to the pc).

Remote control turned on the player an i got the desktop after approx a minute.

Link to comment
Share on other sites

Yay! It works! Thank you!

 

Tried Armbian_5.24_S9xxx__Ubuntu_xenial_3.14.29_20170217_kh.img wih h96plus.dtb and it booted,

I give root password and then the system restarted http://pel.hu/down/20170223202203.log

 

Edit:

Also tried with Armbian_5.26_S9xxx_Ubuntu_xenial_3.14.29_mate_20170222.img and the new dtb.img and it works too,

So probably the dtb was the problem.

The desktop started, no lan, no wifi, no sound.

Link to comment
Share on other sites

Try to run the latest version of "5.26". By the way, to use the kh version is not worth it, there are many elements to the network and other things, it collected specifically to test the kernel on Khadas VIM.

To me with the Q912 does not go, instead with the H96 boot but gives a wifi error and loopes all the time the error. Thank you and greetings.

 

 

2ut4x06.jpg

Link to comment
Share on other sites

Try to run the latest version of "5.26". By the way, to use the kh version is not worth it, there are many elements to the network and other things, it collected specifically to test the kernel on Khadas VIM.

No I'm using the latest desktop (Armbian_5.26_S9xxx_Ubuntu_xenial_3.14.29_mate_20170222.img

I thought you want me to try the kh version thats why you gave that link.

So, how can I help you to improve this system?

What do you need (logs, etc) to figure out why no lan, wifi, and audio works?

Link to comment
Share on other sites

You are using an image with Ubuntu ?

Debian can be a problem with WiFi.

Yes, you are right, the debian image gives this infinite loop with wlan

However, the kernel started I can log in and change the password etc blindly

(because the wlan messages are coming continuosly)

[  126.616405@5] dhd_bus_devreset: == WLAN ON ==
[  126.648577@5] F1 signature read @0x18000000=0x15264345
[  126.674379@2] F1 signature OK, socitype:0x1 chip:0x4345 rev:0x6 pkg:0x2
[  126.680804@2] DHD: dongle ram size is set to 819200(orig 819200) at 0x198000
[  126.687529@2] dhd_conf_read_nv_by_chip: nv_by_chip_count=1
[  126.692461@2] dhd_conf_read_nv_by_chip: chip=0xa962, chiprev=1, name=nvram_ap6210.txt
[  126.700340@2] dhd_conf_read_config: PM = 0
[  126.705223@2] dhd_conf_set_fw_name_by_chip: firmware_path=/lib/firmware/brcm/fw_bcm43455c0_ag.bin
[  126.713425@2] dhdsdio_download_firmware: set use_rxchain 0
[  126.718843@2] dhdsdio_download_firmware: set txglomsize 40
[  126.724289@2] sdioh_set_mode: set txglom_mode to multi-desc
[  126.729797@2] Final fw_path=/lib/firmware/brcm/fw_bcm43455c0_ag.bin
[  126.736019@2] Final nv_path=/lib/firmware/brcm/
[  126.740954@2] Final conf_path=/lib/firmware/brcm/config.txt
[  126.746674@2] dhdsdio_download_code_file: Open firmware file failed /lib/firmware/brcm/fw_bcm43455c0_ag.bin
[  126.755936@2] _dhdsdio_download_firmware: dongle image file download failed
[  126.762877@2] dhd_net_bus_devreset: dhd_bus_devreset: -35
[  126.768155@2] dhd_prot_ioctl : bus is down. we have nothing to do
[  126.774821@2] dhd_net_bus_devreset: dhd_bus_devreset: -35
[  126.780431@2] wifi_platform_set_power = 0
[  126.785373@2] ======== PULL WL_REG_ON LOW! ========
[  126.790294@2] wl_android_wifi_on: Failed
[  126.795182@2] dhd_open : wl_android_wifi_on failed (-35)
[  126.800036@2] dhd_stop: Enter ffffffc09fbe4000
[  126.804829@2] wl_android_wifi_off in 1
[  126.809613@2] wl_android_wifi_off in 2: g_wifi_on=0
[  126.814394@2] wl_android_wifi_off out
[  126.819080@2] dhd_stop: Exit
[  126.823782@2] dhd_open: Exit ret=-1
[  126.840175@2] dhd_open: Enter ffffffc09fbe4000
[  126.844943@2] 
[  126.844943@2] Dongle Host Driver, version 1.201.59.6 (r506368)
[  126.844943@2] Compiled in drivers/net/wireless/bcmdhd
[  126.865103@2] wl_android_wifi_on in 1
[  126.869518@2] wl_android_wifi_on in 2: g_wifi_on=0
[  126.873939@2] wifi_platform_set_power = 1
[  126.878321@2] ======== PULL WL_REG_ON HIGH! ========
[  126.882743@2] aml_wifi wifi.34: [extern_wifi_set_enable] WIFI  Disable! 240
[  127.089903@4] aml_wifi wifi.34: [extern_wifi_set_enable] WIFI  Enable! 240
[  127.601407@1] sdio_reset_comm():
[  127.699717@4] sdio_read_cis: 6 callbacks suppressed
[  127.766218@4] sdio: queuing unknown CIS tuple 0x80 (2 bytes)
[  127.782445@4] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
[  127.791934@5] sdio: queuing unknown CIS tuple 0x80 (3 bytes)
[  127.804292@0] sdio: queuing unknown CIS tuple 0x80 (7 bytes)
[  127.969893@7] sdio: clk 200000000 SDR mode tuning start
[  128.033957@5] sdio: rx_tuning_result[0] = 10
[  128.075810@5] sdio: rx_tuning_result[2] = 10
[  128.084091@2] sdio: rx_tuning_result[3] = 10
[  128.149218@7] sdio: rx_tuning_result[4] = 10
[  128.155810@7] sdio: best_win_start =2, best_win_size =4
[  128.162360@7] sdio: sd_emmc_regs->gclock=0x1000245,sd_emmc_regs->gadjust=0x42000
[  128.170637@7] sdio: gclock =0x1000245, gdelay=0x0, gadjust=0x42000
[  128.177851@1] sdioh_start: set sd_f2_blocksize 128
[  128.183050@1] 
[  128.183050@1] 

Link to comment
Share on other sites

The debian xfce has the same problems: no lan, no wifi (no BT), no audio

On the serial console the wlan0 infinite loop is runing.

If I change the resolution from 720p to 1080p then only the upper half of the display is working but if I change the 24 bpp to 32 bpp then get back the full screen with unreadable colors.

There are no linux commands in the terminal e.g. ethtool, ifconfig, lsusb, etc.

 

Is it possible to change the desktop resolution to 2560x1440?

I mean the S9xx can handle that resolution at all?

Link to comment
Share on other sites

Confirming the loop issue with the wifi, that seem to be caused probably by the network manager trying to bring up the interface continuosly.

If you disable the wireless from desktop and try to bring it up manually, ifconfig wlan0 up you get the same error, it say that the chip, mostly a broadcom is missing the right firmware.

:Open firmware file failed /lib/firmware/brcm/fw_bcm43455c0_ag.bin

Maybe the firmware is just missing?

I remember that wifi was working on xenial 20170205, maybe the firmware is present there?

Anyway the desktop is somewhat slow, like the programs update their screen around 1fps.

edit: ethernet work.

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