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.15k stars 1.97k forks source link

Can't get it to boot on Orbsmart S86 (Beelink GT King Clone) #563

Closed webepg closed 2 years ago

webepg commented 2 years ago

Hi,

I do have the same problem as this guy https://github.com/ophub/amlogic-s9xxx-armbian/issues/410. I tried several tools (balenaEtcher, Rufus), different USB drives and SD cards. And also different Images.

I tried the .10 Kernel and replaced the u-boot.bin as well as the text in the uEnv.txt and also tried the .15 Kernel while changing the text in the uEnv.txt file to meson-g12b-gtking.dtb.

After flashing I plug out the power cable put in the SD card or USB drive push and hold the recovery button of the device. The boot Logo stays there for a while and then CoreElec boots. When removing the boot media the boot process is a lot faster so something is going on. I tried the latest jammy images

https://github.com/ophub/amlogic-s9xxx-armbian/releases/download/Armbian_Aml_jammy_09.15.1030/Armbian_22.11.0_Aml_s922x_jammy_5.15.68_server_2022.09.15.img.gz

https://github.com/ophub/amlogic-s9xxx-armbian/releases/download/Armbian_Aml_jammy_09.15.1030/Armbian_22.11.0_Aml_s922x_jammy_5.10.143_server_2022.09.15.img.gz

What am I doing wrong?

BTW booting CoreElec from a USB device or SD card is working well with the same method

ophub commented 2 years ago

The startup process is adapted to the Android system partition table and boots based on the Android system.

The box restores the Android system and enables the usb debugging mode of the Android system.

Download the firmware, flash it into the usb, do not make any modifications by default, you can directly boot from the usb.

webepg commented 2 years ago

Ah alright. Now I'm able to boot and the install happened to the USB drive. Is there an extended install instruction? I ran armbian-install and tried some options but after the reboot it does not boot without the USB drive

ophub commented 2 years ago

https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/armbian-docs/amlogic_model_database.md

webepg commented 2 years ago

Ok after a couple of failed installations it worked. I don't know why but it worked. Now I got an ip address but the network manager is not starting.

thats the error:

NetworkManager.service - Network Manager Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2022-09-16 16:53:01 CEST; 2min 47s ago Docs: man:NetworkManager(8) Process: 1530 ExecStart=/usr/sbin/NetworkManager --no-daemon (code=exited, status=127) Main PID: 1530 (code=exited, status=127) CPU: 22ms

Sep 16 16:53:01 armbian systemd[1]: NetworkManager.service: Scheduled restart job, restart counter is at 5. Sep 16 16:53:01 armbian systemd[1]: Stopped Network Manager. Sep 16 16:53:01 armbian systemd[1]: NetworkManager.service: Start request repeated too quickly. Sep 16 16:53:01 armbian systemd[1]: NetworkManager.service: Failed with result 'exit-code'. Sep 16 16:53:01 armbian systemd[1]: Failed to start Network Manager.

I made a couple of reboots but it does not work out. Im not even able to run armbian-config without the internet

ophub commented 2 years ago

Does not need to be enabled

webepg commented 2 years ago

Yeah but then I can't access the Internet. When booting from USB drive or SD Card it works. I dont know why but everytime I try to install a package via apg-get install it ends in "Segmentation faultsts..."

I just wanted to use the device for OMV but when running this install script for armbian (wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash) it drops out on different postions everytime I run the script. Sometimes it takes 3 secs sometimes 5 min .... I don't get it

ophub commented 2 years ago

armbian is like a computer, a mobile phone. As long as the network you connect to is normally assigned an Internet IP to him. By default, you can use the IP assigned by the router to access the Internet without any settings.

/etc/network/interfaces

If you want to manually set this configuration file, you can

OMV can be installed directly without installing it on the basis of the armbian system.

webepg commented 2 years ago

How can it be installed directly?

ophub commented 2 years ago

You go to its official website to see how. Saw it on its website before. I don't know this software.

webepg commented 2 years ago

It's not supported. They recommend to install armbian and then run a script that installs OMV. But I think it's not an OMV problem. Even armbian-update gives segmentation faults or an illegal instruction error. Maybe it's my device or the armbian image ..

I also tried to install docker via the the armbian-software command but it did not install anything. Manually installing docker crashes with a segmentation fault error

webepg commented 2 years ago

I mean how can apt-get update be an illegal instruction?

ophub commented 2 years ago

sudo apt-get update

webepg commented 2 years ago

same error. I tried it a couple of times reinstalled the system with jammy and bullseye images with several drives with different file formats for the emmc and also tried to use it on the sd card/usb drive. When it's time to install anything the system breaks

ophub commented 2 years ago

Even the sudo apt-get update command cannot be executed?

lsblk

screenshot

webepg commented 2 years ago
Bildschirmfoto 2022-09-17 um 15 03 42

as root I cannot run sudo apt-get update. I now used the user I created during the setup there I can run the sudo apt-get update command

ophub commented 2 years ago

You are not using emmc now, but usb, and only 2.5 G space can be used.

If you want to use it in usb, expand it: armbian-tf

webepg commented 2 years ago
Bildschirmfoto 2022-09-17 um 15 58 32

This command does not work either. Wether with the root user nor with my user and sudo

webepg commented 2 years ago

This is how it looks when I boot from eMMC

Bildschirmfoto 2022-09-17 um 16 04 53
ophub commented 2 years ago

The error message shows that the usb is full and there is no space. After the first boot, after setting the password, the first thing is to expand the space: armbian-tf

Also you have installed to emmc. Why not remove the usb and restart the system using emmc?

ophub commented 2 years ago

Just use emmc

webepg commented 2 years ago

armbian-tf gives the same result when running as first command after setting the password. When using emmc the segmentation fault messages appear even during the login process

ophub commented 2 years ago

I didn't see your mistake

webepg commented 2 years ago

I hope you understand my frustration. It seems like it has something to do with my device cause no one else faces these problems

ophub commented 2 years ago

You re-download the firmware of another kernel version and reinstall it.

Just now, the apt was not allowed to be executed because the usb was not expanded, and the 2.5 G space had been filled.

If you write this crippled usb system to emmc it is also incomplete.

Write emmc for the first time. Do not do other operations on the usb.

webepg commented 2 years ago

I tried several times. Either I am not able to login or the install results in a kernel panic. This is soo frustrating ...

webepg commented 2 years ago

This is when I chose ext4

photo_2022-09-17_17-19-31

webepg commented 2 years ago

This is when I chose btrfs

photo_2022-09-17_17-22-35

It is telling me that it is a success but it's not. After this it does not boot and ends in an kernel panic again

webepg commented 2 years ago

photo_2022-09-17_17-25-23

webepg commented 2 years ago

I think I found the problem. Even though my device (Orbsmart S86) is a clone of the Beelink GT-King (I also used the gt king dtb during the time I was using CoreElec and it worked) it has its own dtb.img at the CoreElec Project.

I tried to just copy the file over to my usb drive but I think thats not how it works.

How can I do that? Here are the SD Card update files: http://www.mediafire.com/file/uxrso5m3syrj152/Orbsmart_S86_907P0_sdcard.zip/file

and here the file Burning Tool update image: http://www.mediafire.com/file/o80cz04n8ruy8aa/Orbsmart_S86_917P0_WOL.zip

Here is the dtb file from the CoreElec Project for the Orbsmart S86 g12b_s922x_beelink_gt_king_rev_a.dtb.zip

ophub commented 2 years ago

I see from your log that the /usr file was not copied completely. You download today's firmware and try to rewrite the disk

webepg commented 2 years ago

It has the same outcome or do you mean the Version that is going to be Build in a couple of hours?

What about the dtb thing? Do you think this has no influence?