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.22k stars 1.99k forks source link

w95 Amlogic S905W #2656

Open moodyblue opened 1 day ago

moodyblue commented 1 day ago

Device Information | 设备信息

Armbian Version | 系统版本

Describe the bug | 问题描述 1) Flashed Armbian_24.11.0_amlogic_s905w_noble_6.6.62_server_2024.11.20.img in SD card with success 2) Booted W95 from SD card and run sudo armbian-install. Here is the log:

 v24.11.0 for Aml.S905w running Armbian Linux 6.6.62-ophub

 Packages:     Ubuntu stable (noble)
 IP addresses: (LAN) IPv4: 192.168.130.56 IPv6: fe80::6cc:6133:43ad:3148 (WAN) 144.64.***.***

 Performance:

 Load:         19%              Up time:       4 min
 Memory usage: 9% of 1.75G
 CPU temp:     45°C             Usage of /:    23% of 6.7G

 Commands:

 Configuration : armbian-config
 Monitoring    : htop

root@armbian:~# sudo armbian-install
[ STEPS ] Installing Armbian to internal eMMC...
[ STEPS ] Checking dependencies...
[ INFO ] Dependency check completed. Proceeding installation...
[ STEPS ] Initializing the environment...
[ INFO ] Use mainline u-boot: [ no ]
[ INFO ] Use ampart tool: [ yes ]
[ INFO ] Show all devices: [ no ]
[ INFO ] Internal eMMC : [ /dev/mmcblk2 ]
[ STEPS ] Start selecting device...
-----------------------------------------------------------------------------------------------------
ID    SOC        MODEL                                         DTB
-----------------------------------------------------------------------------------------------------
101   s905d      Phicomm-N1                                    meson-gxl-s905d-phicomm-n1.dtb
102   s905d      Phicomm-N1(DMA-thresh)                        meson-gxl-s905d-phicomm-n1-thresh.dtb
103   s905d      MECOOL-KI-Pro                                 meson-gxl-s905d-mecool-ki-pro.dtb
104   s905d      SML-5442TW                                    meson-gxl-s905d-sml5442tw.dtb
105   s905x      HG680P                                        meson-gxl-s905x-p212.dtb
106   s905x      B860H                                         meson-gxl-s905x-b860h.dtb
107   s905x      Nexbox-a95x                                   meson-gxl-s905x-nexbox-a95x.dtb
108   s905x      TX9                                           meson-gxl-s905x-tx9.dtb
109   s905x      T95,XiaoMI-3S,X96                             meson-gxl-s905x-p212.dtb
110   s905x      TBee                                          meson-gxl-s905x-tbee.dtb
-----------------------------------------------------------------------------------------------------
111   s905w      TX3-Mini                                      meson-gxl-s905w-tx3-mini.dtb
112   s905w      W95                                           meson-gxl-s905w-p281.dtb
113   s905w      X96-Mini                                      meson-gxl-s905w-x96-mini.dtb
114   s905w      X96W,FunTV,MXQ-Pro-4K                         meson-gxl-s905w-x96w.dtb
115   s905l      UNT402A,M201-S,MiBox-4C,IP108H,B860AV2.1      meson-gxl-s905l3b-m302a.dtb
116   s905l      MG101,Mibox-4,E900V21C                        meson-gxl-s905l-venz-v10.dtb
117   s905l      Tencent-Aurora-1s                             meson-gxl-s905x-p212.dtb
118   s905l      ZXV10-B860AV2.1U,HM201                        meson-gxl-s905x-tx9.dtb
119   s905l2     MGV2000,MGV3000,M301A,CM201-1,IP108H          meson-gxl-s905l2-x7-5g.dtb
120   s905l2     E900v21E,MGV2000-K,e900v21d                   meson-gxl-s905l2-x7-5g.dtb
-----------------------------------------------------------------------------------------------------
121   s905l2     Wojia-TV-IPBS9505                             meson-gxl-s905l2-ipbs9505.dtb
122   s905l3     CM311-1,HG680-LC,M401A,UNT402A,CM201-1-6-YS   meson-gxl-s905l2-x7-5g.dtb
123   s905l3     CM211-1,M411A,B860AV3.2M,B860AV2.1U           meson-gxl-s905l3b-m302a.dtb
124   s905l3     UNT400G1,E900V22D-2,UNT400G                   meson-gxl-s905l2-x7-5g.dtb
125   s905l3     UNT402A                                       meson-gxl-s905l3b-m302a.dtb
126   s905l3b    E900V21E,E900V22E,MGV2000/CW                  meson-gxl-s905l3b-e900v22e.dtb
127   s905l3b    M302A,M304A,CM201-1,CM211-1,CM311-1           meson-gxl-s905l3b-m302a.dtb
128   s905l3b    UNT403A                                       meson-gxl-s905l3b-m302a.dtb
129   s905l3b    RG020ET-CA                                    meson-gxl-s905l3b-e900v22e.dtb
130   s905l3b    IP103H,TY1608,BV310,B860AV-2.1M               meson-gxl-s905l3b-m302a.dtb
-----------------------------------------------------------------------------------------------------
131   s905l3b    E900V22D,TY1608                               meson-gxl-s905l2-x7-5g.dtb
132   s905l3b    E900V21D                                      meson-gxl-s905l2-x7-5g.dtb
133   s905mb     S65                                           meson-gxl-s905x-p212.dtb
134   s905lb     BesTV-R3300L,SumaVision-Q7,MG101              meson-gxl-s905x-p212.dtb
135   s905lb     Q96-mini                                      meson-gxl-s905x-p212.dtb
136   s905lb     IPBS9505                                      meson-gxl-s905l2-x7-5g.dtb
0     Other      Customize                                     Enter-custom-dtb-name
-----------------------------------------------------------------------------------------------------
[ OPTIONS ] Please Input ID: 112
[ INFO ] Input Box ID: [ 112 ]
[ INFO ] Model Name: [ W95 ]
[ INFO ] FDTFILE: [ meson-gxl-s905w-p281.dtb ]
[ INFO ] MAINLINE_UBOOT: [  ]
[ INFO ] BOOTLOADER_IMG:  [  ]
[ INFO ] UBOOT_OVERLOAD: [ u-boot-s905x-s912.bin ]
[ INFO ] NEED_OVERLOAD: [ no ]
[ STEPS ] Which type of filesystem do you want for your root?
-----------------------------------------------
  ID   TYPE
-----------------------------------------------
  1    ext4
  2    btrfs
-----------------------------------------------
[ OPTIONS ] Please Input ID (1/2): 1
[ INFO ] Input Type ID: [ 1 ]
[ INFO ] Type of filesystem: [ ext4 ]
[ STEPS ] Partitioning eMMC...
[ INFO ] Start backing up the default bootloader.
4+0 records in
4+0 records out
4194304 bytes (4.2 MB, 4.0 MiB) copied, 2.13152 s, 2.0 MB/s
[ STEPS ] Successfully partitioned internal eMMC with amaprt.
[ INFO ] Start create MBR and partittion.
[ INFO ] 03. Write the mybox bootloader: [ /usr/lib/u-boot/mybox-bootloader.img ]
444+0 records in
444+0 records out
444 bytes copied, 0.00598797 s, 74.1 kB/s
8191+0 records in
8191+0 records out
4193792 bytes (4.2 MB, 4.0 MiB) copied, 1.31874 s, 3.2 MB/s
[ STEPS ] Processing BOOTFS partition...
[ INFO ] Formatting BOOTFS partition...
mkfs.fat 4.2 (2021-01-31)
[ INFO ] Copying BOOTFS ...
[ INFO ] Update the [ uEnv.txt ] file.
[ STEPS ] Start processing the rootfs partition...
[ INFO ] Formatting ROOTFS ...
[ INFO ] Copying ROOTFS ...
[ INFO ] Copying [ etc ] ...
[ INFO ] Copying [ home ] ...
[ INFO ] Copying [ opt ] ...
[ INFO ] Copying [ root ] ...
[ INFO ] Copying [ selinux ] ...
[ INFO ] Copying [ srv ] ...
[ INFO ] Copying [ usr ] ...
[ INFO ] Copying [ var ] ...
[ INFO ] Generate the new fstab file.
[ INFO ] Update parameters related to the releases file.
[ INFO ] Update the MAC address for the wireless network card.
[ SUCCESS ] Installation successful. Run [ poweroff ], remove the installation media then re-insert the power supply to boot new system.
root@armbian:~#

3) Then boot W95 from emmc. Several services, including ssh, do not start. I am able to login using attached keyboard. TV display shows several errors 5C53E719-EA8E-486A-8B71-031D8B31457A

4) Then insert SD card and reboot. This time the distro works

Looks like the distro works Ok from SD card but not from emmc

ophub commented 1 day ago

look at: https://github.com/ophub/amlogic-s9xxx-armbian/issues/570

moodyblue commented 1 day ago

Yes, I've seen that one, but the kernel was 5.15 and I can't find such installer.

ophub commented 1 day ago

update kernel

moodyblue commented 1 day ago

Downgrading to kernel 5.10.230 fails. Downgrading to kernel 5.15.173 seems to work in SD card but gives error in armbian-install.