ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
6.24k stars 2k forks source link

Q96 mini(S905L-B) install option #734

Closed CarlKuhligk closed 2 years ago

CarlKuhligk commented 2 years ago

Device Information | 设备信息

Wifi Model

Boot Log putty.log

PCB 20221126-DSC04505 20221126-DSC04506

Describe the bug | 问题描述

I've searched for the right Armbian setup but haven't found anything for this board. Do you have an idea which of the existing versions could be compatible?

ophub commented 2 years ago

meson-gxl-s905x-p212.dtb copy u-boot-s905x-s912 to u-boot.ext

CarlKuhligk commented 2 years ago

Thanks a lot, it worked with install option 106.

CarlKuhligk commented 1 year ago

I tried a second TV box of this type, but the box does not boot. I removed the shielding with a heat gun, maybe I damaged something? I don't know exactly how to proceed further to find the issue. Do you have any ideas?

log.txt

lairtonlelis commented 1 year ago

Do you have any ideas?

I also have a Q96 Mini TV box with slightly different configs, but I was able to get past @CarlKuhligk's issue. You need to mount the boot partition and rename the file extlinux/extlinux.conf.bak to extlinux/extlinux.conf.

After that I was able to boot into an operational armbian system using a USB stick, and run the script armbian_install. That's when things went bad, and I might have bricked the device. It's currently on a bootloop with the following logs I pulled from the serial console of the board:

GXL:BL1:9ac50e:bb16dc;FEAT:ADFC318C:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0;
TE: 94130

BL2 Built : 11:58:42, May 27 2017.
gxl gc3c9a84 - xiaobo.gu@droid05

set vcck to 1120 mv
set vddee to 1000 mv
Board ID = 2
CPU clk: 1200MHz
DQS-corr enabled
DDR scramble enabled
DDR3 chl: Rank0+1 @ 912MHz - FAIL
DDR3 chl: Rank0 @ 912MHz - FAIL
DDR3 chl: Rank0 16bit @ 912MHz - FAIL
DDR4 chl: Rank0+1 @ 1008MHz - FAIL
DDR4 chl: Rank0 @ 1008MHz - FAIL
DDR4 chl: Rank0 16bit @ 1008MHz - FAIL
DDR init failed...
Reset...

The bootloop doesn't allow me to put the TV Box in any other state, that means no console prompt.

From what I was able to search for this error, I'm guessing the DDR memory configs are not right, perhaps it's the u-boot file or the dtb file I'm using. I'm using u-boot-s905x-s912.bin and meson-gxl-s905l2-x7-5g.dtb.

I have some pictures of my board: IMG_2930 IMG_2928 IMG_2927

I'm trying to get it recognized by the computer by connecting to one of the boards' usb ports and my macbook's usb-c port so I can try using the Amlogic USB Burning Tool or Amlogic Flash Tool to try to revive it. I've tried holding the reset button and connecting the usb cable to the computer at the same time (as described here) but no signs of a new usb device.

Any thoughts on getting this device on the "USB Burning" state? Is that the same as reboot bootloader or reboot recovery from android? If so, those might be gone from the internal flash by the armbian-install attempt. If I need to make a new issue, please let me know.

Yoshiko011 commented 1 year ago

where is the reset button of that?

lairtonlelis commented 10 months ago

where is the reset button of that?

Behind the P2 connector for the av port, you need to stick a SIM card tool, toothpick, paperclip or the tool of your choice in there to press it.

xuantrandev commented 1 month ago

Device Information | 设备信息

  • SOC: S905L B
  • Model labeled as Q96 mini
  • 1GB RAM
  • 8GB EMMC

Wifi Model

Boot Log putty.log

PCB 20221126-DSC04505 20221126-DSC04506

Describe the bug | 问题描述

I've searched for the right Armbian setup but haven't found anything for this board. Do you have an idea which of the existing versions could be compatible?

dont have a reset button, how did you boot to armbian?

CarlKuhligk commented 1 month ago

You have to short 2 smd pads with a wire. Let me take a look if I can find the right post that describes this procedure.

xuantrandev commented 1 month ago

You have to short 2 smd pads with a wire. Let me take a look if I can find the right post that describes this procedure.

Thank you , it took me 4hrs already, looking for your procedure

CarlKuhligk commented 1 month ago

i have now done some research and realized that my memory may not be entirely correct. i have attached a few links dealing with the soc. i generally recommend googling this information in chinese like: S905 引导模式.

https://www.cnblogs.com/milton/p/17660034.html https://github.com/Calmact/e900v22c https://blog.csdn.net/FlyShooter01/article/details/126531915 https://www.znds.com/tv-1214616-1-1.html

hongtongtong234 commented 1 month ago

大佬,我的是烽火的HG680P,s905lb,使用的是Q96 mini的dtb,samba不能使用,请问需要怎么解决?