-
Posts
620 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Everything posted by Nick A
-
First clone my build. git clone https://github.com/NickAlilovic/build.git Patches are located in the "build/patch/kernel/archive/sunxi-6.7/patches.armbian/" directory. If you are adding new patches you need to include them in these two files "build/patch/kernel/archive/sunxi-6.7/series.armbian" and "build/patch/kernel/archive/sunxi-6.7/series.conf". Compile a transpeed image. ./compile.sh In the choose board menu click on "Show CSC/WIP/EOS/TVB" option then choose "transpeed-8k618-t". Choose "bleeding edge", "bookworm", server or desktop doesn't matter. Any desktop environment. Any software. Your image should be in the output directory when it's done compiling. You can see if the patches have been applied properly in the "/build/output/logs" directory. (Note next step is for more advanced users.) If you want to create your own patch. You can find the patched kernel source code in "build/cache/sources/linux-kernel-worktree/6.7__sunxi64__arm64" directory. Go into your kernel source directory and execute these commands. git add . git commit --signoff Now you are ready to edit the patched kernel and add your own code. After you are done editing the source code execute these commands. git status git add path/to/the/file/you/just/edited git commit --signoff git format-patch -1 You should see your new patches created in the kernel source directory. Move them to "build/patch/kernel/archive/sunxi-6.7/patches.armbian/" directory. Edit the files "build/patch/kernel/archive/sunxi-6.7/series.armbian" and "build/patch/kernel/archive/sunxi-6.7/series.conf" to include your new patches. U-boot patches are in "build/patch/u-boot/u-boot-sunxi" directory. No need to edit conf files to apply them. You can find the patched source code in "build/cache/sources/u-boot-worktree/u-boot/v2024.01" directory. git add . git commit --signoff Edit the source code. git status git add path/to/the/file/you/just/edited git commit --signoff git format-patch -1 When your patch is created move them to "build/patch/u-boot/u-boot-sunxi".
-
Hi Rick0cm Looking at your board again I can see you have a different Wifi chip then mine. Try Miniarch with the Vontar Box image. It's very similar to the Transpeed box but it has the same Wifi chip as yours. https://github.com/warpme/miniarch/releases/download/v20240209/MiniArch-20231112-6.7.4-board-h618.vontar_h618-SD-Image.img.xz . Follow the install guide here. https://github.com/warpme/miniarch?tab=readme-ov-file For serial console I use gtkterm in linux. sudo gtkterm -p /dev/ttyUSB0 -s 115200
-
Already in the deconfig file. +CONFIG_MMC_SUNXI_SLOT_EXTRA=2 This maybe a bigger issue. https://github.com/apritzel/u-boot/issues/7
-
I would avoid installing this to internal emmc until we have a copy of the original firmware.
-
Yes! That is what I was looking at right now. Thanks iun cuim. I was stuck on the 100mbps ethernet. But it seems Warpme got it working. So I'm going to focus on his patches and see if I can get Transpeed working on Armbian. I got this TV Box a month ago and I didn't know Warpme already did most of the hard work.
-
No they boot fine... I was building mostly Desktop images. But it would be great to have both Desktop and Server images. I prefer Desktop because I want to get the most out of this TV Box. Hopefully, after we are done we can have decent Hardware acceleration. Using the V4L2.
-
After you flashed the image to your sdcard. Remember to rename the wifi firmware "brcmfmac4335-sdio.bin" to "brcmfmac4335-sdio.transpeed,8k618-t.bin". Then copy both "brcmfmac4335-sdio.transpeed,8k618-t.bin" and "brcmfmac4335-sdio.txt" to /lib/firmware/brcm directory on your sdcard. I'll automate the process in future builds. https://github.com/LibreELEC/brcmfmac_sdio-firmware/blob/master/brcmfmac4335-sdio.bin and https://github.com/LibreELEC/brcmfmac_sdio-firmware/blob/master/brcmfmac4335-sdio.txt
-
Most of the patches were taken from orangepi zero3 with very minimal changes. Andre Przywara gave me his transpeed-8k618-t_defconfig. The DRAM settings were the same as mine. He knew more about the config options than I do. So I kept his defconfig. He also gave me the code in dts to get wifi working. wifi_pwrseq: wifi_pwrseq { compatible = "mmc-pwrseq-simple"; clocks = <&rtc CLK_OSC32K_FANOUT>; clock-names = "ext_clock"; pinctrl-0 = <&x32clk_fanout_pin>; pinctrl-names = "default"; reset-gpios = <&pio 6 18 GPIO_ACTIVE_LOW>; /* PG18 */ }; &mmc1 { vmmc-supply = <®_dldo1>; vqmmc-supply = <®_aldo1>; mmc-pwrseq = <&wifi_pwrseq>; bus-width = <4>; non-removable; status = "okay"; sdio_wifi: wifi@1 { reg = <1>; }; }; This requires an addition to the h616.dtsi file, at the end of the "pio: pinctrl@300b000" node, to introduce the CLK fanout pin: x32clk_fanout_pin: x32clk-fanout-pin { pins = "PG10"; function = "clock"; }; Here's a irc chat log of Andre and Jernej talking about the transpeed wifi. A lot of good information in these chats. https://oftc.irclog.whitequark.org/linux-sunxi/2023-12-14
-
Hi Mag911 Awesome, I was hoping my posts would help others with boxes based on the H618. Like ag123 pointed out. There are a lot of boxes that are similar but with different configurations. If I can post enough information and steps on how to setup these boxes we can get enough of them up and running. These boxes are now adding more RAM and larger eMMC's. I think it's a good time to support Armbian development on TV boxes. The original Android that came with this box was very basic. It wouldn't allow me to install most the apps I wanted. So I decided to hack it. Is HDMI and WIFI now working on your box?
-
I found the wifi firmware needed for this box. Download and rename the file to "brcmfmac4335-sdio.transpeed,8k618-t.bin". Place it in /lib/firmware/brcm. https://github.com/LibreELEC/brcmfmac_sdio-firmware/blob/master/brcmfmac4335-sdio.bin Also needs the brcmfmac4335-sdio.txt. No need to rename it just place it in /lib/firmware/brcm. https://github.com/LibreELEC/brcmfmac_sdio-firmware/blob/master/brcmfmac4335-sdio.txt
-
I only used the BRCMFMAC driver... I guess your BCMDHD driver might read the nvram_bcm4335.txt correctly. It could be an issue with BRCMFMAC. If not try the brcmfmac4335-sdio.txt. Both nvram_bcm4335.txt and brcmfmac4335-sdio.txt are very similar. It's the config file for the firmware.bin. I'll setup BCMDHD on my box and see if the original nvram_bcm4335.txt works.
-
I tried the /vendor/etc/firmware/nvram_bcm4335.txt and /vendor/etc/firmware/firmware/bcm4335b0_ag that came with my android box. But it didn't work. When I used the brcmfmac4335-sdio.txt from LibreELEC. Everything worked. Didn't matter which firmware.bin I used (I tried bcm4335b0_ag, LibreELEC and Original Linux Kernel firmware.bin). I think there may be a problem with nvram_bcm4335.txt. Something is missing. Right now, I'm changing the values in brcmfmac4335-sdio.txt because the values in nvram_bcm4335.txt might be more optimal. I'm not sure how armbian rockchip loads your drivers. but if your patches are correct and the wifi still doesn't load. Try the brcmfmac4335-sdio.txt from LibreELEC. Worth a try. It worked for me.
-
The HK2735M wifi chip is compatible to the bcm4335. the Linux driver is brcmfmac, controlled by kernel config CONFIG_BRCMFMAC_SDIO and CONFIG_BRCMFMAC. The driver expects the firmware files brcmfmac4335-sdio.bin (may need to rename the file, the driver tells you the filename it was looking for) and brcmfmac4335-sdio.txt under /lib/firmware/brcm I'm using a different TV Box. Transpeed 8K618-T TV box. I had some success with the firmware files from https://github.com/LibreELEC/brcmfmac_sdio-firmware/blob/master/. You may need to patch your DT to enable wifi. Haven't checked your DT for your box yet.
-
I was able to compile a custom Armbian image for the Transpeed 8k618-T TV Box. I added a patch for HDMI and it seems to work ok. Still working on WIFI. The HK2735M wifi chip is compatible to the bcm4335. the Linux driver is brcmfmac, controlled by kernel config CONFIG_BRCMFMAC_SDIO and CONFIG_BRCMFMAC. The driver expects the firmware files under /lib/firmware/brcm. If you want to build your own image or view the patches you can find it here. https://github.com/NickAlilovic/build I like to thank Andre Przywara. I would not of been able to get this far without his help.
-
Created a new transpeed-8k618-t_defconfig in the u-boot/configs directory. Add the sun50i-h618-transpeed-8k618-t.dts from the linux kernel to u-boot/arch/arm/dts directory. Edited the Makefile in u-boot/arch/arm/dts directory to build the new sun50i-h618-transpeed-8k618-t.dtb. Now this box boots into Linux version 6.7.0-next-20240111. I used the Debian GNU/Linux 12 (bookworm) rootfs. Edited the /etc/fstab in the rootfs to include /dev/mmcblk0p2. Patches have been submitted to the u-boot repo. Hopefully they will be accepted soon.
-
Using the original sun50i-h618-orangepi-zero3.dtb and the modified orangepi_zero3_defconfig (posted above) with the new DRAM setup.
-
Testing with orangepi_zero3_defconfig. Using these settings. Better results. Noticed I'm not using the correct file in the boot partition... should be DTB not DTS!!
-
Using the x96_mate_defconfig in ~/u-boot/configs. I modified the DRAM setup with the new settings. I also changed CONFIG_AXP313A_POWER=y because here it says we need it. https://linux-sunxi.org/Transpeed_8K618-T. I compiled the latest linux-next tree. https://www.kernel.org/doc/man-pages/linux-next.html. I used sun50i-h618-transpeed-8k618-t.dts in ~/linux/arch/arm64/boot/dts/allwinner. This is the serial console output I got. I don't have any rootfs installed yet. I only have /lib, boot.cmd, boot.scr , Image and sun50i-h618-transpeed-8k618-t.dts in the boot partition.
-
I've been trying to find the DRAM setting for this board. I found a firmware update that might help. Got it from androidpctv.com/firmware-transpeed-h618/ . I used the firmware unpacker from xdaforums.com/t/tool-imgrepacker-livesuits-phoenixsuits-firmware-images-unpacker-packer.1753473/ . I used the Windows version of imgRePacker.exe to extract the boot0_nand.fex. Then read the boot0_nand.fex in linux using command hexedit boot0_nand.fex. It looks very close to the boot0 Andre Przywara used to find the DRAM settings on his board. lore.kernel.org/linux-sunxi/2123971.irdbgypaU6@jernej-laptop/ . You can see 03 03 03 03 0E 0E 0E 0E in hexedit. CONFIG_DRAM_SUN50I_H616_DX_ODT=0x03030303 CONFIG_DRAM_SUN50I_H616_DX_DRI=0x0e0e0e0e Not sure if this will work with our board. But if we can try these settings or find another firmware for our board. We might get past the DRAM setup errors.
