Jump to content

Kajen

Members
  • Posts

    25
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. hi @jernej, can you help me? I want to have HDMI output, but I got error on "sun4i-drm display-engine: [drm] Cannot find any crtc or sizes", so I forced hdmi output with video=HDMI-A-1:1920x1080@60e on armbianEnv.txt, but now I have "sun8i-dw-hdmi 6000000.hdmi: PHY PLL failed to lock" here is the dmesg, I also added some log 0001-add-dts-t98-616.patch uboot.patch
  2. the manjaro is my main pc, it is x64 uefi, with a AMD gpu, i didnt think i can get a compatible dts this is what i got from orange pi zero 2 kernel 4.9 xrandr Screen 0: minimum 1280 x 720, current 1280 x 720, maximum 1280 x 720 default connected 1280x720+0+0 0mm x 0mm 1280x720 0.00* it is interesting, my monitor is 1920x1080 in the dmesg also show 1920x1080, but change to 1280x720, and it really show connect/disconnect, so maybe some pin is different from mainline, so maybe it communicated with monitor, but then it overwrite the settings dmesg.txt
  3. right now I only have I single hdmi monitor, and it works with manjaro, t98-616:~:# cat /sys/class/drm/card0/device/drm/card0/card0-HDMI-A-1/status disconnected that is what i get..... I also could like to try setting uboot env, but Loading Environment from FAT... Unable to use mmc 0:1... I already have ext4 on defconfig CONFIG_CMD_EXT4_WRITE=y but it is still using FAT maybe I have to try orange pi zero 2 kernel4.9 again to see if i can find something. this is what i got on uboot the last time with printenv maybe hdmi resolution and connection is hardcode.... there are disp@01000000 with boot_disp and lcd0@01c0c000, so maybe one is for the front panel and the other is the setting for hdmi
  4. I tested the new miniarch, tx6s and orange pi zero 2 on the transpeed t98-616 tx6s, look like it still problem with mmc and keyring updating, at least is no cripple after reboot, but pacman -Syu cannot work, and no hdmi orange pi zero 2, mmc no detected, but I used an uboot on sd and miniarch on usb, dont boot, cpu regulation problem, and still no hdmi @Nick A does your uboot have hdmi output? In kernel 4.9 with orange pi zero 2, I can have hdmi output (dont have wifi and mmc is no stable), I managed to get some parameters, but there is no dm tree can you give me log of "dm tree" and "coninfo" from u-boot ? to see if I can find something this is what I got on the orange pi zero 2 and this with my custom u-boot
  5. root@t98-616:~# ls /sys/kernel/debug/clk ahb3 bus-i2c4 bus-ve mixer1 r-ahb apb1 bus-iommu bus-wb mixer1-div r-apb1 apb2 bus-keyadc ce mmc0 r-apb1-ir audio-codec-1x bus-mixer0 clk_dump mmc1 r-apb1-rtc audio-codec-4x bus-mixer1 clk_orphan_dump mmc2 r-apb1-twd audio-hub bus-mmc0 clk_orphan_summary nand0 r-apb2 avs bus-mmc1 clk_summary nand1 r-apb2-i2c axi bus-mmc2 cpux osc12M r-apb2-rsb bus-audio-codec bus-nand cpux-apb osc24M rtc-int-osc bus-audio-hub bus-ohci0 de osc32k-out spdif bus-ce bus-ohci1 deinterlace pll-audio-1x spi0 bus-dbg bus-ohci2 dmic pll-audio-2x spi1 bus-de bus-ohci3 dram pll-audio-4x tcon-top-tv0 bus-deinterlace bus-otg emac-25m pll-audio-hs tcon-tv0 bus-dma bus-psi g2d pll-cpux tcon-tv1 bus-dmic bus-pwm gpu0 pll-ddr0 ts bus-dram bus-spdif gpu1 pll-ddr1 tve0 bus-ehci0 bus-spi0 hdcp pll-de usb-ohci0 bus-ehci1 bus-spi1 hdmi pll-gpu usb-ohci1 bus-ehci2 bus-tcon-top hdmi-cec pll-periph0 usb-ohci2 bus-ehci3 bus-tcon-tv0 hdmi-slow pll-periph0-2x usb-ohci3 bus-emac0 bus-tcon-tv1 ir pll-periph1 usb-phy0 bus-emac1 bus-ths losc pll-periph1-2x usb-phy1 bus-g2d bus-ts mbus pll-system-32k usb-phy2 bus-gpu bus-tve0 mbus-ce pll-ve usb-phy3 bus-hdcp bus-tve-top mbus-dma pll-video0 ve bus-hdmi bus-uart0 mbus-g2d pll-video0-4x wb bus-hstimer bus-uart1 mbus-nand pll-video1 wb-div bus-i2c0 bus-uart2 mbus-ts pll-video1-4x bus-i2c1 bus-uart3 mbus-ve pll-video2 bus-i2c2 bus-uart4 mixer0 pll-video2-4x bus-i2c3 bus-uart5 mixer0-div psi-ahb1-ahb2 there is a lot of clock, I dont think that all of them are use on sun50i-h616.dtsi I still cant get hdmi output to work.....
  6. WIFI WORK!!!!!! there are still errors root@t98-616:~# dmesg | grep brc [ 20.031429] brcmfmac: brcmf_of_probe: interrupt could not be mapped [ 20.031742] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43342-sdio for chip BCM43342/1 [ 20.231753] brcmfmac mmc3:0001:1: Direct firmware load for brcm/brcmfmac43342-sdio.clm_blob failed with error -2 [ 20.395168] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available [ 20.395193] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2) [ 20.395670] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43342/1 wl0: Oct 18 2016 17:43:42 version 6.25.134.25 (r662387) FWID 01-281dd9d9 but at least I can leave it like that for now, I dont like that one have to manually do cp, but now I have to debug video output... and there is a p2p-dev-wlan0 GENERAL.DEVICE: p2p-dev-wlan0 GENERAL.TYPE: wifi-p2p GENERAL.HWADDR: (unknown) GENERAL.MTU: 0 GENERAL.STATE: 30 (disconnected) GENERAL.CONNECTION: -- GENERAL.CON-PATH: --
  7. there is already a brcmfmac43342-sdio.txt in repo https://github.com/armbian/firmware/tree/master/brcm it could just need brcmfmac43342-sdio.transpeed,t98-616.bin I could need to find why is brcmfmac43342-sdio.transpeed,t98-616.bin and no brcmfmac43342-sdio.bin, or to generate from it for now, i could just use cp brcmfmac43342-sdio.bin brcmfmac43342-sdio.transpeed,t98-616.bin
  8. right now I am at [ 34.734766] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43342-sdio for chip BCM43342/1 [ 34.767051] brcmfmac mmc3:0001:1: Direct firmware load for brcm/brcmfmac43342-sdio.transpeed,t98-616.bin failed with error -2 [ 34.851705] brcmfmac mmc3:0001:1: Direct firmware load for brcm/brcmfmac43342-sdio.clm_blob failed with error -2 [ 35.021210] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43342/1 wl0: Oct 18 2016 17:43:42 version 6.25.134.25 (r662387) FWID 01-281dd9d9 I already found patch at rockchip patches, but now I need .clm_blob, I am trying to find how to tell armbian to compile, but I also could just get it from a rockchip image..... From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Paolo Sabatino <paolo.sabatino@gmail.com> Date: Thu, 10 Feb 2022 21:30:54 +0000 Subject: add broadcom bcm43342 chip id --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c | 2 ++ drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c index 6b38d9de71af..6a603d045103 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c @@ -609,6 +609,7 @@ BRCMF_FW_DEF(4329, "brcmfmac4329-sdio"); BRCMF_FW_DEF(4330, "brcmfmac4330-sdio"); BRCMF_FW_DEF(4334, "brcmfmac4334-sdio"); BRCMF_FW_DEF(43340, "brcmfmac43340-sdio"); +BRCMF_FW_DEF(43342, "brcmfmac43342-sdio"); BRCMF_FW_DEF(4335, "brcmfmac4335-sdio"); BRCMF_FW_DEF(43362, "brcmfmac43362-sdio"); BRCMF_FW_DEF(4339, "brcmfmac4339-sdio"); @@ -642,6 +643,7 @@ static const struct brcmf_firmware_mapping brcmf_sdio_fwnames[] = { BRCMF_FW_ENTRY(BRCM_CC_4334_CHIP_ID, 0xFFFFFFFF, 4334), BRCMF_FW_ENTRY(BRCM_CC_43340_CHIP_ID, 0xFFFFFFFF, 43340), BRCMF_FW_ENTRY(BRCM_CC_43341_CHIP_ID, 0xFFFFFFFF, 43340), + BRCMF_FW_ENTRY(BRCM_CC_43342_CHIP_ID, 0xFFFFFFFF, 43342), BRCMF_FW_ENTRY(BRCM_CC_4335_CHIP_ID, 0xFFFFFFFF, 4335), BRCMF_FW_ENTRY(BRCM_CC_43362_CHIP_ID, 0xFFFFFFFE, 43362), BRCMF_FW_ENTRY(BRCM_CC_4339_CHIP_ID, 0xFFFFFFFF, 4339), diff --git a/drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h b/drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h index 44684bf1b9ac..bcf48de78d53 100644 --- a/drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h +++ b/drivers/net/wireless/broadcom/brcm80211/include/brcm_hw_ids.h @@ -27,6 +27,7 @@ #define BRCM_CC_4334_CHIP_ID 0x4334 #define BRCM_CC_43340_CHIP_ID 43340 #define BRCM_CC_43341_CHIP_ID 43341 +#define BRCM_CC_43342_CHIP_ID 43342 #define BRCM_CC_43362_CHIP_ID 43362 #define BRCM_CC_4335_CHIP_ID 0x4335 #define BRCM_CC_4339_CHIP_ID 0x4339 --
  9. my current dts I got the bcm4334 detected, but it is show as "Unknown chip BCM43342/1" HDMI got detected, but display engine give error "Cannot find any crtc or sizes" Bluetooth looki like it still need work [ 20.669536] Bluetooth: hci0: command 0x0c03 tx timeout [ 20.669595] Bluetooth: hci0: BCM: Reset failed (-110)
  10. this is the log, the dtb used is the 8k618, I know because with x96 mate there is no ethernet, once I passed u-boot, there is no problem with dram settings, armbian didnt give any log beside "starting kernel..." after that, it is just setup, it only worked for me when mmc is no read, when I used usbboot with any image that has working mmc 0 it just boot on sd instand of the usb, i could need to flash again my sd and usb to boot again on 8k618 img
  11. I already tested the armbian build with 8k618, it didnt show wlan, only ethernet, I didnt test bluetooth, and I didnt see hdmi out working, but I tested it with usbboot, I would need to see again
  12. ok, right now i am waiting for a completed rebuild (with desktop), now I am testing ./compile.sh kernel-dtb, it return a .deb, I tested with decompress and cp, and dpkg -i, dpkg -i stuck on kernel after reboot, so i will be using cp
  13. + bluetooth { + compatible = "brcm,bcm4334-bt"; + shutdown-gpios = <&pio 6 13 GPIO_ACTIVE_HIGH>; /* PG13 */ + clocks = <&rtc CLK_OSC32K_FANOUT>; + host-wakeup-gpios = <&pio 6 10 GPIO_ACTIVE_LOW>; /* PG10 */ + clock-names = "lpo"; + vddio-supply = <&reg_dldo1>; + device-wakeup-gpios = <&pio 6 11 GPIO_ACTIVE_HIGH>; /* PG11 */ + vbat-supply = <&reg_dldo1>; + }; could it be ? from the original bt { compatible = "allwinner,sunxi-bt"; clocks = <0x1b>; bt_power; bt_io_regulator; bt_rst_n = <0x53 0x06 0x13 0x01 0xffffffff 0xffffffff 0x00>; /* PG13 ? */ status = "okay"; linux,phandle = <0x177>; phandle = <0x177>; }; btlpm { compatible = "allwinner,sunxi-btlpm"; uart_index = <0x01>; bt_wake = <0x53 0x06 0x11 0x01 0xffffffff 0xffffffff 0x01>; /* PG11 ?*/ bt_hostwake = <0x53 0x06 0x10 0x06 0xffffffff 0xffffffff 0x00>; /* PG10 ?*/ status = "okay"; linux,phandle = <0x178>; phandle = <0x178>;};
  14. this is the current version i am using 0001-add-dts-t98-616.patch, and the devicetree.dts is the one i extracted from an Android rom that work in my TV box
  15. root@t98-616:~# ls -al /dev/block/platform/soc@3000000/4022000.sdmmc/ ls: cannot access '/dev/block/platform/soc@3000000/4022000.sdmmc/': No such file or directory it is not a micro-HDMI, it is a standard hdmi root@t98-616:~# ls -al /dev/block/ total 0 drwxr-xr-x 2 root root 700 May 31 02:27 . drwxr-xr-x 17 root root 3740 May 31 02:26 .. lrwxrwxrwx 1 root root 10 May 31 02:26 179:0 -> ../mmcblk0 lrwxrwxrwx 1 root root 12 May 31 02:27 179:1 -> ../mmcblk0p1 lrwxrwxrwx 1 root root 10 May 31 02:26 179:32 -> ../mmcblk2 lrwxrwxrwx 1 root root 12 May 31 02:26 179:33 -> ../mmcblk2p1 lrwxrwxrwx 1 root root 12 May 31 02:26 179:34 -> ../mmcblk2p2 lrwxrwxrwx 1 root root 12 May 31 02:26 179:35 -> ../mmcblk2p3 lrwxrwxrwx 1 root root 12 May 31 02:26 179:36 -> ../mmcblk2p4 lrwxrwxrwx 1 root root 12 May 31 02:26 179:37 -> ../mmcblk2p5 lrwxrwxrwx 1 root root 12 May 31 02:26 179:38 -> ../mmcblk2p6 lrwxrwxrwx 1 root root 12 May 31 02:26 179:39 -> ../mmcblk2p7 lrwxrwxrwx 1 root root 12 May 31 02:26 179:40 -> ../mmcblk2p8 lrwxrwxrwx 1 root root 12 May 31 02:26 179:41 -> ../mmcblk2p9 lrwxrwxrwx 1 root root 13 May 31 02:26 179:42 -> ../mmcblk2p10 lrwxrwxrwx 1 root root 13 May 31 02:26 179:43 -> ../mmcblk2p11 lrwxrwxrwx 1 root root 13 May 31 02:26 179:44 -> ../mmcblk2p12 lrwxrwxrwx 1 root root 13 May 31 02:26 179:45 -> ../mmcblk2p13 lrwxrwxrwx 1 root root 13 May 31 02:26 179:46 -> ../mmcblk2p14 lrwxrwxrwx 1 root root 13 May 31 02:26 179:47 -> ../mmcblk2p15 lrwxrwxrwx 1 root root 13 May 31 02:26 179:48 -> ../mmcblk2p16 lrwxrwxrwx 1 root root 13 May 31 02:26 179:49 -> ../mmcblk2p17 lrwxrwxrwx 1 root root 15 May 31 02:26 179:64 -> ../mmcblk2boot0 lrwxrwxrwx 1 root root 15 May 31 02:26 179:96 -> ../mmcblk2boot1 lrwxrwxrwx 1 root root 8 May 31 02:26 251:0 -> ../zram0 lrwxrwxrwx 1 root root 8 May 31 02:26 251:1 -> ../zram1 lrwxrwxrwx 1 root root 8 May 31 02:26 251:2 -> ../zram2 lrwxrwxrwx 1 root root 8 May 31 02:26 7:0 -> ../loop0 lrwxrwxrwx 1 root root 8 May 31 02:26 7:1 -> ../loop1 lrwxrwxrwx 1 root root 8 May 31 02:26 7:2 -> ../loop2 lrwxrwxrwx 1 root root 8 May 31 02:26 7:3 -> ../loop3 lrwxrwxrwx 1 root root 8 May 31 02:26 7:4 -> ../loop4 lrwxrwxrwx 1 root root 8 May 31 02:26 7:5 -> ../loop5 lrwxrwxrwx 1 root root 8 May 31 02:26 7:6 -> ../loop6 lrwxrwxrwx 1 root root 8 May 31 02:26 7:7 -> ../loop7
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines