Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Armbian does not bootup from EMMC on S96MAX+_2101 #1144

Closed
drafort opened this issue Mar 7, 2023 · 17 comments
Closed

Armbian does not bootup from EMMC on S96MAX+_2101 #1144

drafort opened this issue Mar 7, 2023 · 17 comments
Labels
documentation Improvements or additions to documentation support This need is supported

Comments

@drafort
Copy link

drafort commented Mar 7, 2023

Device Information | 设备信息

Armbian Version | 系统版本

  • Kernel Version: [6.1.15]
  • Release: [jammy/bullseye]

Describe the bug | 问题描述

Thank you for support @ophub and @salsabilng!

Previously system was booted from usb (bluetooth is working).

After successful installing to EMMC with "armbian-install" command, removing usb and reinserting power supply I have black screen - no boot.
Screenshot_20230307_235715
Screenshot_20230307_235747

@Travis90x
Copy link

Same issue with kernel 6.1.15,
so I tried 5.15.98_server_2023.03.06 and I can boot correctly with eMMC after installation.

My model is 2101W with W522A radio module (Fn-Link K255B-SR-B)
and Wifi + BT still not recognized with 2101 DTB file (Fn-Link 6222B-SR C).

I tried to boot with meson-sm1-x96-air.dtb (because it is advised for model 100W with W522A)
and got the error UUID does not exist.
I connected sdcard with USB card reader to USB 3.0 port
blkid now can see also
/dev/sda1 : LABEL_FATBOOT="BOOT"…
/dev/sda2 : LABEL="ROOTFS" UUID="correct UUID" (corresponding to UUID in uEnv.txt)
and I still cannot boot, but I can boot if use
APPEND=root=LABEL=ROOTFS in uEnv.txt

I tried meson-sm1-x96-air-gbit.dtb too,
but wifi & BT still not recognized.
S905X3 2101W_2

@drafort
Copy link
Author

drafort commented Mar 8, 2023

For me, 5.15.98_server_2023.03.06 with 2101.dtb cannot boot from usb (downgrading kernel from 6.1.15 I haven't tried)

@Travis90x
Copy link

Try another DTS file like meson-sm1-x96-max-plus.dtb
Now I discover that with meson-sm1-x96-max-plus-2101.dtb
I cannot power on the clock LED, but with meson-sm1-x96-max-plus.dtb
armbian-openvfd works well.

@drafort
Copy link
Author

drafort commented Mar 8, 2023

Try another DTS file like meson-sm1-x96-max-plus.dtb Now I discover that with meson-sm1-x96-max-plus-2101.dtb I cannot power on the clock LED, but with meson-sm1-x96-max-plus.dtb armbian-openvfd works well.

Bluetooth is working for me (from usb) only with 2101.dtb, suppose, for installation on EMMC I also need 2101.dtb

@salsabilng
Copy link

salsabilng commented Mar 9, 2023

try to install as x96-max-plus.dtb, and use mainline boot, armbian-install -m yes

@salsabilng
Copy link

2101W has different radio module, 2101 uses RTL8822cs,

@Travis90x
Copy link

x96-max-plus.dtb

yes, of course I tested all the dts sm1-x96-max-plus*, for now only LAN 1000 works when not limited.

@salsabilng
Copy link

x96-max-plus.dtb

yes, of course I tested all the dts sm1-x96-max-plus*, for now only LAN 1000 works when not limited.

W522A module doesnt have any mainline driver for now, means wifi and bluetooth will not work, since your gbit eth work, just use eth for netwoking.

@drafort
Copy link
Author

drafort commented Mar 9, 2023

Thank you @salsabilng, successfully installed on EMMC with x96-max-plus.dtb and mainline boot, but.... without Bluetooth support again (((
What to do?)

Screenshot_20230309_221852

@salsabilng
Copy link

sudo nano /boot/uEnv.txt edit dtb line to x96-max-plus-2101.dtb. Ctrl + O then enter, Ctrl + X. reboot

@drafort
Copy link
Author

drafort commented Mar 10, 2023

@salsabilng, big thanks! it woks!!!!
Screenshot_20230310_062118

@ophub ophub added documentation Improvements or additions to documentation support This need is supported labels Mar 10, 2023
@salsabilng
Copy link

looks like the armbian-install script has a problem when installing using 2101 @ophub , anyway great job! @drafort keep in mind, only 6.1.y works for bluetooth

@ophub
Copy link
Owner

ophub commented Mar 10, 2023

524 :X96-Max+_2101 :s905x3 :meson-sm1-x96-max-plus-2101.dtb :u-boot-x96maxplus.bin :NA :NA :stable :amlogic :meson-sm1 :uEnv.txt :s905x3 :no

select: 524

Didn't add mainline_uboot, have you tested that it works?

x96maxplus-u-boot.bin.sd.bin :hk1box-bootloader.img

@drafort
Copy link
Author

drafort commented Mar 10, 2023

524 :X96-Max+_2101 :s905x3 :meson-sm1-x96-max-plus-2101.dtb :u-boot-x96maxplus.bin :NA :NA :stable :amlogic :meson-sm1 :uEnv.txt :s905x3 :no

select: 524

Didn't add mainline_uboot, have you tested that it works?

x96maxplus-u-boot.bin.sd.bin :hk1box-bootloader.img

I previously tested to install to EMMC with selecting 524 from menu without mainline_uboot, just with command "armbian-install" without arguments. Black screen as result.

@ophub
Copy link
Owner

ophub commented Mar 10, 2023

797d775

Add mainline_uboot for x96max series

@ophub ophub closed this as completed Mar 10, 2023
@Travis90x
Copy link

797d775

Add mainline_uboot for x96max series

My 2101W still won't boot from eMMC after installation with kernel 6.1.15 using DTS for 501 or 502 variant.
With this kernel I boot correctly with USB reader SDcard (DTS 501, 502, 524 ecc...).
Kernel 5.15.99 it's ok, boot from eMMC.

@Drafteed
Copy link

Drafteed commented Jun 11, 2023

Hello!

Having X96 Max + 2101 (4GB / 32GB) my attempts to start the bluetooth were unsuccessful.

Armbian installed in eMMC with mainline_uboot and meson-sm1-x96-max-plus-2101 dtb.

 

Board one to one, like @drafort have, but look like 6222B-SRC has a slightly different markings:

 

@salsabilng Maybe you can give me an idea how to resolve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation support This need is supported
Projects
None yet
Development

No branches or pull requests

5 participants