With mixing CE20, CE21, NG, NE it is (as I already wrote) impossible to follow what you are doing because there are naming differences.
On NE it is
/soc/pcie@f5000000
and on NG it is
/pcieA@f5000000
And I doubt PCIe works ok on NG.
With mixing CE20, CE21, NG, NE it is (as I already wrote) impossible to follow what you are doing because there are naming differences.
On NE it is
/soc/pcie@f5000000
and on NG it is
/pcieA@f5000000
And I doubt PCIe works ok on NG.
PCI only will work on Amlogic -ne.
The new nightly is now online:
https://relkai.coreelec.org/?dir=Amlogic-ne
@Portisch @Vasco
CoreELEC:~ # udevadm info /sys/bus/pci/devices/* | paste
http://ix.io/4HcO
##############################################
# CoreELEC #
# https://coreelec.org #
##############################################
CoreELEC (official): 21.0-Omega_nightly_20230923 (Amlogic-ne.aarch64)
Machine model: Amlogic
CoreELEC dt-id: sc2_s905x4_4g_1gbit
CoreELEC:~ # mount -o rw,remount /flash
CoreELEC:~ # fdtput -t s /flash/dtb.img /soc/pcie@f5000000 status okay
CoreELEC:~ # sync
CoreELEC:~ # reboot
CoreELEC:~ # lspci
CoreELEC:~ # lspci | paste
CoreELEC:~ # udevadm info /sys/bus/pci/devices/* | paste
Unknown device “/sys/bus/pci/devices/*”: No such device
I also have non working BT.
I tried lspci but looks it is not included in the amlogic-ng releases and i looked in dmesg for anything about bluetooth, but i have found no details.
Can i find out anything about the Bluetooth chip without opening the box?
blueyeti2023, try this NE image and repeat commands.
##############################################
# CoreELEC #
# https://coreelec.org #
##############################################
CoreELEC (vpeter): 21.0-Omega_devel_vpeter (Amlogic-ne.aarch64)
Machine model: Amlogic
CoreELEC dt-id: sc2_s905x4_4g_1gbit
CoreELEC:~ # mount -o rw,remount /flash
CoreELEC:~ # fdtput -t s /flash/dtb.img /soc/pcie@f5000000 status okay
CoreELEC:~ # sync
CoreELEC:~ # reboot
CoreELEC:~ # lspci | paste
CoreELEC:~ # udevadm info /sys/bus/pci/devices/* | paste
Unknown device "/sys/bus/pci/devices/*": No such device
Still no luck. Maybe next time.
Does that mean ng can’t use the driver?
Same thing over and over again
Then I have doubts, why ng can, ne can not.
dmesg | paste
http://ix.io/4Hi4
This NG, not NE…
Please share your device with tmate. I see no other way to solve WiFi.
My purpose is to solve Bluetooth! wifi is optional. I use wired.
You need to have Wifi driver to have BT, not the other way!
Share your device and leave it running. When we get time we can take a look.
Hi @Portisch, is it possible that I leave my device running to let you inspect? H96max w2 (s905w2 with aic8800 wifi)? Thanks.
dmesg | paste
http://ix.io/4HiT
ce-debug
http://ix.io/4HiX
journalctl -l | paste
http://ix.io/4HiY
pcie@f5000000 {
compatible = "amlogic, amlogic-pcie-v2", "snps,dw-pcie";
reg = <0x0 0xf5000000 0x0 0x400000 0x0 0xfe02c000 0x0 0x2000 0x0 0xf5400000 0x0 0x200000 0x0 0xfe02a000 0x0 0x2000 0x0 0xfe002044 0x0 0x10>;
reg-names = "elbi", "cfg", "config", "phy", "reset";
interrupts = <0x0 0x8d 0x4>;
#interrupt-cells = <0x1>;
bus-range = <0x0 0xff>;
#address-cells = <0x3>;
#size-cells = <0x2>;
interrupt-map-mask = <0x0 0x0 0x0 0x0>;
interrupt-map = <0x0 0x0 0x0 0x0 0x1 0x0 0x8f 0x1>;
device_type = "pci";
ranges = <0x81000000 0x0 0x0 0x0 0xf5600000 0x0 0x100000 0x82000000 0x0 0xf5700000 0x0 0xf5700000 0x0 0x1900000>;
num-lanes = <0x1>;
pcie-num = <0x1>;
clocks = <0x8 0x2d 0x8 0x126 0x8 0x128 0x8 0x3d>;
clock-names = "pcie_refpll", "pcie", "pcie_phy", "pcie_hcsl";
gpio-type = <0x2>;
pcie-apb-rst-bit = <0xe>;
pcie-phy-rst-bit = <0xd>;
pcie-ctrl-a-rst-bit = <0xc>;
pwr-ctl = <0x0>;
power-domains = <0x18 0x7>;
pcie-ctrl-sleep-shift = <0xf>;
pcie-hhi-mem-pd-shift = <0x1a>;
pcie-hhi-mem-pd-mask = <0xf>;
pcie-ctrl-iso-shift = <0xf>;
status = "okay";
reset-gpio = <0x1b 0x39 0x0>;
};
@vpeter @Portisch
single.dts (87.3 KB)
Use the image from here:
After update, replace dtb.img
with this dtb:
sc2_s905x4_4g_1gbit.dtb (72.2 KB)
After reboot run the cmds:
udevadm info /sys/bus/pci/devices/* | paste
lspci | paste
dmesg | paste
ifconfig | paste
##############################################
# CoreELEC #
# https://coreelec.org #
##############################################
CoreELEC (vpeter): 21.0-Omega_devel_vpeter (Amlogic-ne.aarch64)
Machine model: Amlogic
CoreELEC dt-id: sc2_s905x4_4g_1gbit
CoreELEC:~ # udevadm info /sys/bus/pci/devices/* | paste
Unknown device “/sys/bus/pci/devices/*”: No such device
CoreELEC:~ # lspci | paste
CoreELEC:~ # dmesg | paste
http://ix.io/4Ho7
CoreELEC:~ # ifconfig | paste
http://ix.io/4Ho8
CoreELEC:~ # mount -rw -o /flash | paste
http://ix.io/4Hoe
pcie@f5000000 {
compatible = "amlogic, amlogic-pcie-v2", "snps,dw-pcie";
reg = <0x0 0xf5000000 0x0 0x400000 0x0 0xfe02c000 0x0 0x2000 0x0 0xf5400000 0x0 0x200000 0x0 0xfe02a000 0x0 0x2000 0x0 0xfe002044 0x0 0x10>;
reg-names = "elbi", "cfg", "config", "phy", "reset";
interrupts = <0x0 0x8d 0x4>;
#interrupt-cells = <0x1>;
bus-range = <0x0 0xff>;
#address-cells = <0x3>;
#size-cells = <0x2>;
interrupt-map-mask = <0x0 0x0 0x0 0x0>;
interrupt-map = <0x0 0x0 0x0 0x0 0x1 0x0 0x8f 0x1>;
device_type = "pci";
ranges = <0x81000000 0x0 0x0 0x0 0xf5600000 0x0 0x100000 0x82000000 0x0 0xf5700000 0x0 0xf5700000 0x0 0x1900000>;
num-lanes = <0x1>;
pcie-num = <0x1>;
clocks = <0x8 0x2d 0x8 0x126 0x8 0x128 0x8 0x3d>;
clock-names = "pcie_refpll", "pcie", "pcie_phy", "pcie_hcsl";
gpio-type = <0x2>;
pcie-apb-rst-bit = <0xe>;
pcie-phy-rst-bit = <0xd>;
pcie-ctrl-a-rst-bit = <0xc>;
pwr-ctl = <0x0>;
pcie-ctrl-sleep-shift = <0xf>;
pcie-hhi-mem-pd-shift = <0x1a>;
pcie-hhi-mem-pd-mask = <0xf>;
pcie-ctrl-iso-shift = <0xf>;
status = "okay";
reset-gpio = <0x1b 0x35 0x0>;
};
I’m giving up (I think again?). I have nothing from helping you and looks like you always demand something.
It will take as long it needed. And no, probably can’t be fixed tonight. But now it will take even longer. Please don’t use my nick again in your messages!
2 posts were merged into an existing topic: Tanix X4 / S905X4
About | FAQ | Terms of Service | Privacy Policy | Legal Notice