Closed dinhchinh82 closed 2 years ago
Your mistake is that you used step 7. Not for you to create. Check out all the discussion posts. His meaning is to compare the difference between the two firmware partitions (he used 1350, I was 700 before, and now it has been changed to 1350). That is the installation file in the flippy firmware and cannot be used directly in mine. The operation of individual files in the installation operation is slightly different. There is also a missing configuration record file, which needs to be read in armbian-update in the future, and cannot be updated because of the lack.
After testing by other users, x96-100m can choose 60 to install, which is the same as air. If your model is different, you can add a line of armbian-install information yourself, but you must use armbian-install to install.
Since 5.4 can be used as long as the dtb is correct, you happen to be able to use step 7 in 5.4, not because the script is fully applicable, but because some operations in the script do not work. Firmware installed with the script in step 7 will not be able to use armbian-update for kernel upgrade due to missing configuration record files.
Your mistake is that you used step 7. Not for you to create. Check out all the discussion posts. His meaning is to compare the difference between the two firmware partitions (he used 1350, I was 700 before, and now it has been changed to 1350). That is the installation file in the flippy firmware and cannot be used directly in mine. The operation of individual files in the installation operation is slightly different. There is also a missing configuration record file, which needs to be read in armbian-update in the future, and cannot be updated because of the lack.
I understand your point. By the way, I also use your armbian-install with option 60 to install 5.15 to eMMC WITHOUT using step 7 and the box is still unable to boot.
What is your soc, look at the specific model on the motherboard is s905x3 or s905x2. Is it normal when you use it on usb? You can create a new install record in armbian-install, the dtb uses the same as your usb. for example meson-sm1-x96-max-plus.dtb meson-sm1-sei610.dtb
What is your soc, look at the specific model on the motherboard is s905x3 or s905x2. Is it normal when you use it on usb? You can create a new install record in armbian-install, the dtb uses the same as your usb. for example meson-sm1-x96-max-plus.dtb meson-sm1-sei610.dtb
This is my X96 max + (S905X3, 2+16, 100Mb Lan, RTL8189ftv) as the model I used to test your firmware. The picture is from this topic: https://github.com/ophub/amlogic-s9xxx-armbian/issues/95
Here are detail steps:
LINUX=/zImage INITRD=/uInitrd FDT=/dtb/amlogic/meson-sm1-x96-air-100.dtb APPEND=root=UUID=167aa722-e1e0-4745-a3ba-53505e2bc140 rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1
Unplug the USB and plug to the USB3.0 port (green) of X96 max+, plug the ethernet.
Using toothpick to hold the reset button inside the AV port, plug the power of the box, keep holding the reset button about 10 seconds then release finger.
Waiting for Armbian to start (quite fast, about 1-2 minutes)
Login to Armbian and change default password
Run the armbian-install to install armbian to eMMC with some option below: 60:X96 Air 100Mb:s905x3:meson-sm1-x96-air-100.dtb:u-boot-x96maxplus.bin:NA:NA:4C@2100Mhz,2GB Mem,100M Nic,Wifi 63:X96 Max+ 100Mb NA NA:s905x3:meson-sm1-sei610.dtb:u-boot-x96maxplus.bin:NA:NA:4C@2100Mhz,2GB Mem,100M Nic,Wifi
Waiting for installing to eMMC successfully
Unplug the power, unplug USB then only plug the power again.
Then the armbian 5.15 is unable to boot. The screen is black as below:
Please note that my box already can boot from eMMC if using kernel 5.4 as I wrote in the topic: https://github.com/ophub/amlogic-s9xxx-armbian/issues/134#issuecomment-1059908158
60:X96 Air 100Mb:s905x3:meson-sm1-x96-air-100.dtb:u-boot-x96maxplus.bin:NA:NA:4C@2100Mhz,2GB Mem,100M Nic,Wifi
The code (60) you sent is inconsistent with your picture. Cannot use Mainline bootloader.
First restore the Android TV system
to restore the partition table, and then select the default 60
serial number of the script to install.
Same as air100M: https://github.com/ophub/amlogic-s9xxx-armbian/issues/105#issuecomment-1059694954
Partition Recovery with Correct Android TV System: https://github.com/ophub/amlogic-s9xxx-armbian/issues/105#issuecomment-1059914600
Cannot use mainline u-boot: https://github.com/ophub/amlogic-s9xxx-armbian/issues/105#issuecomment-1059147260
@ophub Please check the detail steps as below:
Step 1: restore Android TV and boot Android normally as below:
Step 2: Boot 5.15 from USB , run armbian-install command, select 60
Step 3: Waiting for installing to eMMC successfully
Step 4: Unplug the power, unplug the USB
Step 5: plug the power again, only see the splash screen of X96 max + then black screen as clip below https://user-images.githubusercontent.com/22479095/157049748-bd20b9ff-0b42-4c64-ae24-369dee9996c3.mov
There is no response at all, indicating that u-boot-x96maxplus.bin is wrong and cannot be booted. You use 5.4 first
There is no response at all, indicating that u-boot-x96maxplus.bin is wrong and cannot be booted. You use 5.4 first
I see. But when using 5.4 from eMMC, sometimes I got the error below while booting.
Then I must restore Android stock firmware and install armbian to eMMC from USB again.
I have a gtk pro device. When using the 5.15 kernel, there is a black screen with no information for about 10 seconds at the beginning, but it will start later. Unlike other devices, it starts up as soon as it is plugged in.
I have a gtk pro device. When using the 5.15 kernel, there is a black screen with no information for about 10 seconds at the beginning, but it will start later. Unlike other devices, it starts up as soon as it is plugged in.
I'm testing the stability of your firmware by adding the reboot command every 15 minutes in the crontab as below:
/15 * sudo reboot
Then after several times , the armbian 5.4 is unable to boot. @ophub do you think this armbian 5.4 is stable to run the 24x7 home server?
Several of my devices have never lost connection during use. s922x-gtk pro s905x3-x96max+ s905d-n1 s905x-hg680p But what's the point of this? I'm stable and can't answer your question of whether it's stable. It's like you're asking Apple, can your computer be used 24x7? Or ask Microsoft, can your windows be used 24x7?
My device is updated every Wednesday with all 4 newly released kernels, checking kernel suitability. At least for the past 1 year, when I connect these devices every Wednesday, they are all online, but this still does not answer your question, whether it can be used 7x24 hours, there are many conditions that work together.
@ophub thank you for your detail information.
I also have another X96 max+ (4+32, 5.15 kernel) and it seems to be more stable than X96 max+ (2+16, 5.4 kernel).
The X96 max+ (4+32) only got 1 time kernel panic as the photo I sent via other issue. From my opinion, I feel new kernel (5.1x) is more stable than 5.4.
The kernels are all good kernels, but the box is a bit naughty. The box just wants to show you TV, you have to make it a server.
There is no response at all, indicating that u-boot-x96maxplus.bin is wrong and cannot be booted. You use 5.4 first
Could you suggest how to find the correct u-boot.bin? Is there a way to extract it from original Android stock firmware? Or that file is built by flippy?
Thank you.
flippy will do
flippy will do
I have a stock Android firmware of this box. If you have any guide to extract the u-boot from Android firmware, please give me the suggestion. I have some knowledge about Android and Linux.
As before, I've ever extracted the bootloader.img from X96 max+ Android firmware using dd command after adb to the Android like below but I'm not sure this bootloader.img is u-boot.bin or not.
dd if=/dev/block/bootloader of=/data/local/tmp/bootloader.img
He often teaches people how to do it. I've seen it, but I haven't done it. You'd better ask him directly. There is a link to his community on his home page.
He often teaches people how to do it. I've seen it, but I haven't done it. You'd better ask him directly. There is a link to his community on his home page.
That's great. I also try to find the guide how to make the u-boot.bin file but not found yet.
I've checked his github (https://github.com/unifreq) but I still not found his home page. Please give me the link if any.
Thank you.
At the beginning of the README of the openwrt_packit repository
I got success to boot my X96 max+ (2+16, 100M LAN, RTL8189ftv wifi with kernel 5.4 according this post. By the way, it did not work with kernel 5.15.
I use the same method to install kernel 5.15 (Armbian_22.05.0_Aml_s905x3_bullseye_5.15.26_2022.03.05.1324.img.gz) but the box is unable to boot from eMMC again. Before installing 5.15.26 to eMMC, I also restore original Android firmware.
Here are detail steps:
By the way, in step 9, if I keep the USB attached to the box, just unplug & plug again then the box can boot from eMMC normally. It means, in this case the eMMC only could boot if the USB is still attached to the box. When I try to run armbian-install again, there is message that the box already run in eMMC mode.
I also tried the armbian-install command instead of install-to-emmc.sh script with several cases as below and still not success (always restore stock Android firmware before installing to eMMC).
51:X96 Max+:s905x3:meson-sm1-x96-max-plus.dtb:u-boot-x96maxplus.bin:/usr/lib/u-boot/x96maxplus-u-boot.bin.sd.bin:/usr/lib/u-boot/hk1box-bootloader.img:4C@2100Mhz,4GB Mem,1Gb Nic,rtl8822cs wifi
60:X96 Air 100Mb:s905x3:meson-sm1-x96-air-100.dtb:u-boot-x96maxplus.bin:NA:NA:4C@2100Mhz,2GB Mem,100M Nic,Wifi
or even add a manual command below: 63:X96 Max+:s905x3:meson-sm1-x96-air-100.dtb:u-boot-x96maxplus.bin:/usr/lib/u-boot/x96maxplus-u-boot.bin.sd.bin:/usr/lib/u-boot/hk1box-bootloader.img:4C@2100Mhz,2GB Mem,100M Nic,Wifi