Alfi ciio Posted May 8 Posted May 8 Quote sudo update-alternatives --set iptables /usr/sbin/iptables-legacy sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy @Nick A Thanks a lot, this helps me as well 0 Quote
svyatoslav Posted May 8 Posted May 8 I have already created a new virtual machine. And again an error. 0 Quote
Werner Posted May 8 Posted May 8 https://github.com/armbian/build/blob/9ff15f78966871bd737f0c8cbd23ee9fdb767b8d/lib/functions/host/prepare-host.sh#L48-L58 setting locale seem to fail. For the BTF thing either give the vm more memory (>8G), disable or enforce it as mentioned in the image and risk getting OOM killed. 0 Quote
svyatoslav Posted May 8 Posted May 8 then there is no more option, all that's left is to accept it 0 Quote
svyatoslav Posted May 8 Posted May 8 I figured out the audio, the problem was in the hdim cable. did not solve the problem with usb wifi, usb MT7601U Wireless Adapter. how to make it work? 0 Quote
Nick A Posted May 8 Posted May 8 (edited) I see this isn't set. I'll change it and make a new image for you. https://github.com/NickAlilovic/build/blob/v20250306/config/kernel/linux-sunxi64-edge.config # CONFIG_WLAN_VENDOR_MEDIATEK is not set CONFIG_WLAN_VENDOR_MEDIATEK=y CONFIG_MT7601U=m https://cateee.net/lkddb/web-lkddb/WLAN_VENDOR_MEDIATEK.html @svyatoslav https://github.com/NickAlilovic/build/releases/download/20250306/Armbian-unofficial_25.05.0-trunk_X98h_bookworm_edge_6.12.11_xfce_desktop.img.xz You might need the firmware for it.. https://forum.odroid.com/viewtopic.php?p=371686&sid=626a6750240ccb1b690a1e2c6e0eba88#p371686 Edited May 8 by Nick A 0 Quote
svyatoslav Posted May 9 Posted May 9 Thanks Nick A!!! wifi worked, immediately upon loading it offered to choose a network name. all that's left is to find a usb-hab and it can be used as a children's PC. thanks to everyone who helped with advice and action, thanks for being understanding. 0 Quote
Rodrigo Campos Posted May 9 Posted May 9 @Alfi ciio, did you try to change the PRETTY_NAME on os-release file? It should be "Debian GNU/Linux 12 (bookworm)" to install HA Supervisor 0 Quote
Rodrigo Campos Posted May 9 Posted May 9 On 4/29/2025 at 9:00 PM, Nick A said: @Rodrigo Campos have you tried my latest images? There’s a new patch for dram detection Hi @Nick A, sorry my late answer. I can't directly use your image, because my box is that boot-secure. I need to compile it every time I want to update, so my last build have about 4 months, but I think that time it just have a "new patch for dram" unless have a other new dram patch. Anyway, I'll try to build it again to try. If you have any additional tip to this, I'll appreciate. Thanks again for all your efforts. 0 Quote
Nick A Posted May 9 Posted May 9 @Rodrigo Campos the patch is less then three months old. If you need secure boot i have the steps here. You just need to edit the defconfig patch for the board you are using. 0 Quote
Rodrigo Campos Posted May 9 Posted May 9 (edited) 5 hours ago, Nick A said: If you need secure boot i have the steps here Yes, you already teach me how to make a patch to use secure boot and it works fine. Anyway, the ram patch didn't work. I build a new image now and it still shows only 2GB instead of 4GB. Maybe I miss a step to apply this patch?. The strange thing is that u-boot shows 4GB, than kernel shows 2GB in boot log. Even with a half of memory it works very well. Edited May 9 by Rodrigo Campos 0 Quote
Nick A Posted May 9 Posted May 9 @Rodrigo Campos The patch is only for uboot and it’s already in my newer builds. I guess there’s an issue with the kernel. 0 Quote
Rodrigo Campos Posted May 10 Posted May 10 1 hour ago, Nick A said: @Rodrigo Campos The patch is only for uboot and it’s already in my newer builds. I guess there’s an issue with the kernel. Yes, maybe. There are a way to make a similar patch for kernel instread of u-boot? In Android, the boot logo show some parameters like DRAM_VCC, DRAM_CLK, Chip id, Param1, param2 and tpr113 , it helps? Tanks for your time. [626]HELLO! SBOOT is starting! [629]sboot commit : 4b34f2890a [632]set pll start [634]periph0 has been enabled [637]set pll end [641]unknow PMU [642]unknow PMU [646]PMU: AXP1530 [650]dram return write ok [653]board init ok [655]enable_jtag [656]DRAM BOOT DRIVE INFO: V0.651 [660]the chip id is 0x2000 [662]chip id check OK [684]DRAM_VCC set to 1500 mv [687]DRAM CLK =648 MHZ [689]DRAM Type =3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4) [697]Actual DRAM SIZE =4096 M [700]DRAM SIZE =4096 MBytes, para1 = 310b, para2 = 10000000, dram_tpr13 = 6041 [709]DRAM simple test OK. [711]rtc standby flag is 0x0, super standby flag is 0x0 [717]dram size =4096 [719]Use rtc to store dram tuning para [723][mmc]: mmc driver ver 2021-10-12 13:56 [727][mmc]: b mmc 2 bias 4 [735][mmc]: Wrong media type 0x0, but host sdc2, try mmc first [741][mmc]: ***Try MMC card 2*** [770][mmc]: RMCA OK! [773][mmc]: MMC 5.1 [775][mmc]: HSSDR52/SDR25 8 bit [778][mmc]: 50000000 Hz [780][mmc]: 119280 MB [782][mmc]: ***SD/MMC 2 init OK!!!*** [858]read toc1 from emmc 32800 sector [862]OLD version: 0.0 [864]NEW version: 0.0 [870]don't have rotpk, skip check [941]load rotpk hash [1204]load vbmeta_a-key hash [1207]load vbmeta_a hash [1214]load vbmeta_b-key hash [1217]load vbmeta_b hash [1220]monitor entry=0x48000000 [1223]uboot entry=0x4a000000 [1226]optee entry=0x48600000 [1229]opensbi entry=0x0 [1231]no need rotpk flag [1234]tunning data addr:0x4a0003e8 [1239]run out of boot0 NOTICE: BL3-1: v1.0(debug):54937d5 NOTICE: BL3-1: Built : 17:44:59, 2021-12-13 NOTICE: BL3-1 commit: 8 NOTICE: cpuidle init version V2.0 NOTICE: secure os exist MESSAGE: [0x0] TEE-CORE: OP-TEE version: 5c40397e #1 Tue Feb 2 07:45:37 UTC 2021 arm NOTICE: BL3-1: Preparing for EL3 exit to normal world NOTICE: BL3-1: Next image address = 0x4a000000 NOTICE: BL3-1: Next image spsr = 0x1d3 U-Boot 2018.07-gb99798b4 (Apr 04 2023 - 13:23:26 +0000) Allwinner Technology [01.302]CPU: Allwinner Family [01.305]Model: sun50iw9 I2C: ready [01.313]DRAM: 4 GiB [01.322]Relocation Offset is: 70ecd000 [01.358]secure enable bit: 1 [01.360]smc_tee_inform_fdt failed with: ffffffff [01.365]pmu_axp152_probe pmic_bus_read fail [01.369]PMU: AXP1530 FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL [01.383]CPU=1416 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=400Mhz 0 Quote
Nick A Posted May 10 Posted May 10 (edited) You could use this tool to extract your dram settings from an android update or boot0.bin. https://github.com/apritzel/sunxi-fw sunxi-fw info -v boot0.bin Edited May 10 by Nick A 0 Quote
Rodrigo Campos Posted May 12 Posted May 12 Thanks again @Nick A, I already did it, the file I got, cant understood well, and there are very low information about dram, just 3 params dram {phandle = <0x7a>;}; vcc-dram = <0x04>; dram = "/dram"; dtb.0.dts 0 Quote
Rodrigo Campos Posted May 12 Posted May 12 Ok, maybe I made a mistake before. I tried with an no secure-boot .img file and it give a long list of DRAM params and I put it in the file below. But I don't know What I can do with it... I will appreciate your help. Thanks. DRAM_Transpeed_M98txt 0 Quote
Nick A Posted May 12 Posted May 12 (edited) Not sure which board you are using but if you look at the u-boot defconfig file you will see the dram config in there. https://github.com/NickAlilovic/build/blob/v20250306/patch/u-boot/u-boot-h616/171-add-x98h-defconfig.patch The row with h616 is your dram config settings Edited May 12 by Nick A 0 Quote
Rodrigo Campos Posted May 13 Posted May 13 Ok, I think I got it. Tomorrow I will give a try, thanks. Mi box is the Transpeed M98 Plus by the way. 0 Quote
svyatoslav Posted May 13 Posted May 13 (edited) Tell me what external WiFi2. 4g, 5g USB to buy that is not expensive but supports armbian. Edited May 13 by svyatoslav 0 Quote
firepower Posted May 13 Posted May 13 @svyatoslav Recommended usb wifi. https://github.com/morrownr/USB-WiFi 0 Quote
Rodrigo Campos Posted May 15 Posted May 15 (edited) Sorry last message, need more test. Edited May 15 by Rodrigo Campos 0 Quote
Алексей Торопов Posted May 18 Posted May 18 (edited) Is it possible to use usb-wifi on an 8812au chip? I tried installing the driver, but it doesn't work: klipper@transpeed-8k618-t:~$ sudo dkms status [sudo] password for klipper: rtl8812au/5.13.6-23, 6.12.11-edge-sunxi64, aarch64: installed klipper@transpeed-8k618-t:~$ sudo modprobe --force 8812au modprobe: ERROR: could not insert '8812au': Exec format error I also have a Mediatek mt7601u from the recommended list, but it doesn't work either. I used to flash the file Armbian-unofficial_25.05.0-trunk_Transpeed-8k618-t_bookworm_edge_6.12.11_server.img.xz (20250306 Latest) Edited May 18 by Алексей Торопов 0 Quote
Nick A Posted May 18 Posted May 18 (edited) You need to add the module config to the kernel configuration file and compile a new image. Edit the kernel configuration file manually. CONFIG_WLAN_VENDOR_MEDIATEK=y CONFIG_MT7601U=m Im very busy with work so I can’t do this for you right now. Edited May 18 by Nick A 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.