-
How to install armbian in h618?
you can try this script this is from gemini, this helped me find the right pin, check i2cdetect -l for right chip and change line 45, with your count on i2cdetect -y x + 1, you board design is a little different from mine, maybe they use other pin
-
How to install armbian in h618?
@Kuostiyou can also manually turn on its pin with a script that run after boot echo "264" > "/sys/class/gpio/export" echo "out" > "/sys/class/gpio/gpio264/direction" echo 1 > "/sys/class/gpio/gpio264/value" I still need to test it to see if it work on other images, in that case maybe you dont need to compile it, as long it boot, like pendoo x12 pro
-
How to install armbian in h618?
just today I got hdmi signal, I turn on pin PI8, leds { compatible = "gpio-leds"; status_led { label = "blue:pwr"; gpios = <&pio 7 6 GPIO_ACTIVE_LOW>; /*PH6*/ linux,default-trigger = "default-on"; }; hdmi_pwr_led { label = "hdmi-pwr-en"; gpios = <&pio 8 8 GPIO_ACTIVE_HIGH>; /* Bank I (8), index 8 = PI8 */ default-state = "on"; }; }; here is my dts, I still need to tune for my board, to get audio, right now I am using https://github.com/jernejsk/linux-1/commits/h616-integration-v1 for my kernel
-
How to install armbian in h618?
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
-
How to install armbian in h618?
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
-
How to install armbian in h618?
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
-
How to install armbian in h618?
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
-
How to install armbian in h618?
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.....
-
How to install armbian in h618?
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: --
-
How to install armbian in h618?
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
-
How to install armbian in h618?
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 --
-
How to install armbian in h618?
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)
-
How to install armbian in h618?
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
-
How to install armbian in h618?
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
-
How to install armbian in h618?
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
Kajen
Members
-
Joined
-
Last visited