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
5.69k stars 1.83k forks source link

Am6b plus #175

Closed ddams2000 closed 2 years ago

ddams2000 commented 2 years ago

Hello, I'm trying to install armbian on emmc, but it's difficult :) . when i launch armbian-install i have several .dtb to choose from, but the one i need am6B is not in this list. when I put 0 to import my dtb file I don't know what to put (I tried "meson-g12b-ugoos-am6B-plus.dtb" but it didn't work) ? if someone could help me? thank you

tv4you2016 commented 2 years ago

This is the list of available dtb: https://github.com/ophub/amlogic-s9xxx-armbian/tree/main/build-armbian/amlogic-dtb, Is your dtb available here?

ddams2000 commented 2 years ago

no, but in lastest bulleyes image there is ugoos-am6b-plus-oc.dtb in dtb drawer. unfortunately the sound is not recognized, and I can't install it. When I use the script/program(?) armbian-install, I have a choice among about twenty dtb files but I don't know how to put mine? if I choose the only ugoos-am6.dtb proposed, the installation goes well but on reboot I have a boot loop with lots of errors.

ophub commented 2 years ago

https://github.com/ophub/amlogic-s9xxx-armbian/blob/9783b937c0dc55cc77fac3d01d55039486819066/build-armbian/common-files/files/usr/sbin/armbian-install#L106

Does this not apply to your device? Send specific information about your device: soc, wired network card chip code, wireless network card chip code

ddams2000 commented 2 years ago

Hello, thank you for taking your time to help me. Ugoos am6b plus soc: s922-xj (4 x a73@2.2Ghz + 2 x a53@1.8Ghz) wired network: RTL8211F_gigabit_ethernet wireless network card: brcm43752 (chipset ampack 6275s)

ophub commented 2 years ago

https://github.com/ophub/amlogic-s9xxx-armbian/releases/download/Armbian_Aml_focal_03.18.1606/Armbian_22.05.0_Aml_s922x-reva_focal_5.4.185_2022.03.18.1452.img.gz

ddams2000 commented 2 years ago

I wanted to ask you what is the difference between the normal version and the reva_ version?

ophub commented 2 years ago

There are quite a few variants, using different chips. If there is no driver in the mainline kernel, it cannot be used (Android drivers cannot be used in the mainline kernel)

ddams2000 commented 2 years ago

can i test lastest reva_debian instead focal_reva it s same ?

ophub commented 2 years ago

Different branches can be tested on the usb with the firmware of the 5.4 kernel

ophub commented 2 years ago

What configuration did your device test work with? dtb, u-boot, kernel?

ddams2000 commented 2 years ago

actually i'am running Armbian_22.05.0_Aml_s922x_focal_5.15.29_2022.03.18.1438.img.gz dtb: meson-g12b-ugoos-am6b-plus-oc.dtb u-boot: gtking-pro.bin kernel. 5.15.29-flippy-71+ compare to the manjaro arm version, here I have the 2560x1440p (manjaro its 1080p max), the correct processor frequencies (manjaro not) but the audio does not work (with manjaro it works) and impossible to install on emmc (with manjaro it works well)

ophub commented 2 years ago

Snip20220318_1

ddams2000 commented 2 years ago

sorry but what should i understand ?

ophub commented 2 years ago

These are the am6b devices supported by the mainline kernel, you can test which one suits you better

ddams2000 commented 2 years ago

once again thanks for the help, so if i want install Armbian_22.05.0_Aml_s922x-reva_bullseye_5.15.29_2022.03.18.1449.img.gz on emmc how should i do please ?

ophub commented 2 years ago

https://github.com/ophub/amlogic-s9xxx-armbian#install-armbian-to-emmc

ddams2000 commented 2 years ago

thank you, but which .dtb file should I choose from the list after running armbian-install? mine is not there. there is only meson-g12b-ugoos-am6.dtb IMG_20220318_174231

ophub commented 2 years ago

/usr/sbin/armbian-install add your info

https://github.com/ophub/amlogic-s9xxx-armbian/blob/96280261b0e3726574eff8939e00b0e7eb9afaa0/build-armbian/common-files/files/usr/sbin/armbian-install#L106

ddams2000 commented 2 years ago

hi, sorry but once installed it looks like this: IMG_20220318_153810

ophub commented 2 years ago

Did you test it on USB and it works fine?

ddams2000 commented 2 years ago

Yes, work on µsd (no sound)

ophub commented 2 years ago

Boot from USB to view current configuration

cat /etc/ophub-release

add your info:

vi /usr/sbin/armbian-install

999:UGOOS AM6 Plus:s922x:meson-g12b-ugoos-am6.dtb:u-boot-gtkingpro.bin:NA:NA:2C@1800Mhz(A53)+4C@1908Mhz(A73),4GB Mem,1Gb Nic,brcm4398 wifi

Delete the main-line U-BOOT, and modify the DTB to the file you use in the USB.

ddams2000 commented 2 years ago

sorry, but what did you mean by erase main-line U-BOOT ? IMG_20220319_143608

ophub commented 2 years ago

add your info, such as:

vi /usr/sbin/armbian-install

999:UGOOS AM6 Plus:s922x:meson-g12b-ugoos-am6.dtb:u-boot-gtkingpro.bin:NA:NA:2C@1800Mhz(A53)+4C@1908Mhz(A73),4GB Mem,1Gb Nic,brcm4398 wifi
ddams2000 commented 2 years ago

like that ? Capture d’écran_2022-03-19_16-54-04 what did you mean by erase main-line U-BOOT ? please

ophub commented 2 years ago

Add new line

ddams2000 commented 2 years ago

yes i already add line, 407: UGOOS AM6b Plus...

ophub commented 2 years ago

Don't use the mainline u-boot, didn't I see the one I sent you? What's the difference in what you added? Writing emmc will fail to start.

ddams2000 commented 2 years ago

oops, sorry I didn't understand that I had to remove the mainline u-boot line in the armbian-install script lol but I just did it and it still doesn't work, same errors

ophub commented 2 years ago
999:UGOOS AM6 Plus:s922x:meson-g12b-gtking-pro.dtb:u-boot-gtkingpro.bin:NA:NA:2C@1800Mhz(A53)+4C@1908Mhz(A73),4GB Mem,1Gb Nic,brcm4398 wifi
ddams2000 commented 2 years ago

hello, no it doesn't work either. in the photo of the emmc error message, it says device 0: unknow device card did not respond to voltage select! : -110 i have the same message when i boot on sd. do you have any idea what it could be?

ophub commented 2 years ago

Download today's latest firmware and try again

ddams2000 commented 2 years ago

unfortunately still the same problem but, now, when i shutdown -h now the power led get off and that, it's really cool :) edit: it seems that it comes from the dtb file because with the am6b-plus-oc.dtb the led does not turn off anymore :(

it's not winning...

ddams2000 commented 2 years ago

Hi, i've try with the lastest .img and many u-boot, dtb files configuration. Now the screen goes blank and nothing happens.

ophub commented 2 years ago

You use USB for testing, don't use SD card. Use it in USB first, don't write EMMC, maybe this mainline u-boot is not suitable for your device. If you can't boot after writing EMMC, you need to restore the device to the original Android system https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/armbian-docs/how_to_restore_the_original_android_tv_system.md

ddams2000 commented 2 years ago

yes i tested the lastest img just after a fresh android reflash, with armbian on usb stick . but it's the same problem. edit: the screen goes blank only when i boot on emmc, on sd or usb it still working well

ddams2000 commented 2 years ago

there must be a solution because it works with the manjaro image(kernel : 5.16.9.3), What do you think ?