suser Posted May 5 Share Posted May 5 (edited) Hello all, I have here R29_MXQ_221_V1.0_1008, WiFi is RTL8723AS. I used this image: Armbian_24.2.5_Rk322x-box_jammy_current_6.6.22.img Added line in /boot/armbianEnv.txt >> overlays=led-conf7 as respected @jock advice. Now Armbian boot from uSD, but no WiFi, i have a backup of Android kernel, from where i can extract DTB if needed. What should i do about the Wifi ? I can even try to change the WiFi module with another HW... Edited May 5 by suser hw 0 Quote Link to comment Share on other sites More sharing options...
jock Posted May 5 Author Share Posted May 5 4 hours ago, suser said: What should i do about the Wifi ? I can even try to change the WiFi module with another HW... Hello! The problem is the missing driver for the rtl8723as. Actually, there is a driver floating around, but adapting and keeping it working on every kernel release require a lot of effort. I don't even have a board with such chip, so it is indeed very difficult, but it may become unworthy of the time spent because realtek drivers are very messy. You could find the source code and compile it yourself, or perhaps desoldering the wifi module and change the chip with another one is easier! It would be even easier to attach an USB wifi device. BTW, in the forum thread there is a success story with rlt8723as driver, you may want to search with forum tools or google. 1 Quote Link to comment Share on other sites More sharing options...
RaptorSDS Posted May 5 Share Posted May 5 (edited) vor 5 Stunden schrieb suser: Now Armbian boot from uSD, but no WiFi, Please can you be more clear did armbian boot befor without hdmi but with wifi ? or only android had wifi ? did you have a bootlog or dmesg with dmesg | grep 8723 or dmesg | sdio ; maybe dmesg | grep - i 8723 if this is positiv than only a driver issue , else also DTS/DTB maybe dont activate the wifi sdio Edited May 5 by RaptorSDS 1 Quote Link to comment Share on other sites More sharing options...
suser Posted May 5 Share Posted May 5 (edited) 17 minutes ago, RaptorSDS said: Please can you be more clear did armbian boot befor without hdmi but with wifi ? or only android had wifi ? Without using led-conf7 overlay no HDMI, IDK about WiFi, but strongly doubt it has, even didn't check it and no boot logs. WiFi was working on Android with some old 3.x kernel. I think i should listen to @jock and finally once and forever to forgot about some WiFi problems when they arise, as i spent much time on that, instead of just using LAN or USB WiFi, but if you need some debug info i could sent a log. If the driver is not included in Linux kernel, which i think, as i believe in @jock and i have to compile all i am just off... Edited May 5 by suser 0 Quote Link to comment Share on other sites More sharing options...
fabiobassa Posted May 5 Share Posted May 5 @suser 8723 are pain in the a** On other boards we have had even 8723cs but ONLY working with 8723bs driver. And many other strange combinations My suggestion : IF wifi strictly needed buy a few dollars external USB wifi dongle. ask here which are the best supported 1 Quote Link to comment Share on other sites More sharing options...
suser Posted May 5 Share Posted May 5 (edited) I have few USB dongles working, bough for 1.5EU each, it was not a matter of money, nor WiFi desperately needed. It's was a matter of "make things working" or at least "to know why it is not working". Thanks everybody here, you are such a talents ! Edited May 5 by suser 1 Quote Link to comment Share on other sites More sharing options...
fabiobassa Posted May 5 Share Posted May 5 @suser your avatar is a smith cart about impedence, I suppose.. Italian HAM here This make me think that you have the right approach to problem : WHY IS NOT WORKING !!! And not the simple " ok it will work in othe manner" but " what hell is going now" This is the spirit that animated @jock @ilmich and myself when we approached to rk322x world Unfortunately lack of documentation = trial and errors and understand code and compilation !! And again unsuccess and again trial and errors. Even actually the evil nand driver is ONLY proprietary, even if jock and ilmich actively searching for months a workaround Welcome in the club 😅 1 Quote Link to comment Share on other sites More sharing options...
jock Posted May 5 Author Share Posted May 5 12 minutes ago, suser said: I have few USB dongles working, bough for 1.5EU each, it was not a matter of money, nor WiFi desperately needed. It's was a matter of "make things working" or at least "to know why it is not working". Thanks everybody here, you are such a talents ! i perfectly understand, I also hate when an available piece of hardware cannot be used, but really lost a lot of time in wifi drivers and, especially realtek drivers, need constant care because they are overbloated software written by simians. When complied, any realtek driver is few megabytes large, while the average wifi driver is well below the 100kbytes. The device id you see in rk322x-config 024c:8723 is clearly declares that your chip is rtl8723as (for some other references: https://forum.libreelec.tv/thread/27091-no-wifi-at-mxq-pro-4k-5g/) 1 Quote Link to comment Share on other sites More sharing options...
suser Posted May 5 Share Posted May 5 (edited) 1 hour ago, fabiobassa said: Italian HAM here So VY 73 and Grazie, de LZ4TU taaa ti ti taaa *Excuse me for the offtopic but could not resist, for those not knowing Morse code and are not HAMs each CW QSO finish with TU, on morse: _ .._ meaning Thank You! Good team here: @jock, @ilmich, @fabiobassa and so much great contributors, ofcourse the leading @Igor , Thanks again, wish you all good luck! Edited May 5 by suser 1 Quote Link to comment Share on other sites More sharing options...
primoitt Posted May 5 Share Posted May 5 (edited) Hi guys! Is the legacy kernel no more? git clone https://github.com/armbian/build cd build ./compile.sh docker-shell ./compile.sh BOARD=rk322x-box BRANCH=legacy RELEASE=focal BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_CONFIGURE=yes INSTALL_HEADERS=yes KERNEL_KEEP_CONFIG=yes [💥] error! [ Invalid BRANCH='legacy' for BOARD='rk322x-box'; please select a valid branch for this board, eg one of 'current,edge' ] [💥] Exiting with error 43 [ at /opt/build/lib/functions/logging/traps.sh:1 Edited May 5 by primoitt 0 Quote Link to comment Share on other sites More sharing options...
jock Posted May 5 Author Share Posted May 5 Hello @primoitt , yes it has been deprecated. It wasn't developer anymore, now has been fully removed. You can find the latest iteration with the legacy kernel for rk322x family on this branch. After that, rk322x and rockchip familes have been merged and legacy kernels removed because old and unmaintained. The main reason to keep legacy was raw NAND support, but we at last we decided it does not worth the effort to keep it. 1 Quote Link to comment Share on other sites More sharing options...
primoitt Posted May 5 Share Posted May 5 (edited) Thanks @jock for keep legacy kernel still avaliable... This is the way I build it cd /opt git clone -b history-rk322x-family https://github.com/paolosabatino/armbian-build.git build cd build ./compile.sh docker-shell ./compile.sh EXPERT="yes" Edited May 5 by primoitt 0 Quote Link to comment Share on other sites More sharing options...
nhe quan Posted May 6 Share Posted May 6 (edited) @jock i have read some comment for issue RK3229 suddenly turn off HDMI when burn image to flash, so luckyly when i try an old armbian that will sussesful with no problem. i read while the 8x page with no answear so that if anyone have the same problem can solve this issue. 1st: Armbian_24.2.5_Rk322x-box_bookworm_current_6.6.22_xfce_desktop.img.xz --> HDMI suddenly turn off 2nd : Armbian_21.02.1_Rk322x-box_buster_current_5.10.12_minimal.img.xz --> sussesful Edited May 6 by nhe quan 0 Quote Link to comment Share on other sites More sharing options...
primoitt Posted May 7 Share Posted May 7 Hey @jock I need to install the kernel headers on Armbian. So I've tried to build the legacy kernel with flag "INSTALL_HEADERS=yes" I builded it like this: cd /opt git clone -b history-rk322x-family https://github.com/paolosabatino/armbian-build.git build cd build ./compile.sh docker-shell ./compile.sh BOARD=rk322x-box BRANCH=legacy RELEASE=focal BUILD_MINIMAL=yes BUILD_DESKTOP=no KERNEL_CONFIGURE=yes INSTALL_HEADERS=yes KERNEL_KEEP_CONFIG=yes But the results were these: |🔨] Get:30 http://ports.ubuntu.com focal-updates/multiverse Translation-en [7,880 B] [🐳|🔨] Get:31 http://ports.ubuntu.com focal-backports/main armhf Packages [45.3 kB] [🐳|🔨] Get:32 http://ports.ubuntu.com focal-backports/main Translation-en [16.3 kB] [🐳|🔨] Get:33 http://ports.ubuntu.com focal-backports/universe armhf Packages [24.2 kB] [🐳|🔨] Get:34 http://ports.ubuntu.com focal-backports/universe Translation-en [16.3 kB] [🐳|🔨] Reading package lists... [🐳|🔨] E: The repository 'http://apt.armbian.com focal Release' does not have a Release file. [🐳|🚸] Command failed, retrying in 5s [ chroot_sdcard_apt_get_update ] [🐳|🔨] Hit:2 http://ports.ubuntu.com focal InRelease [🐳|🔨] Hit:3 http://ports.ubuntu.com focal-security InRelease [🐳|🔨] Hit:4 http://ports.ubuntu.com focal-updates InRelease [🐳|🔨] Ign:1 http://armbian.tnahosting.net/apt focal InRelease [🐳|🔨] Hit:6 http://ports.ubuntu.com focal-backports InRelease [🐳|🔨] Err:5 http://xogium.performanceservers.nl/apt focal Release [🐳|🔨] 404 Not Found [IP: 198.140.141.60 80] [🐳|🔨] Reading package lists... [🐳|🔨] E: The repository 'http://apt.armbian.com focal Release' does not have a Release file. [🐳|🚸] Command failed, retrying in 5s [ chroot_sdcard_apt_get_update ] [🐳|🔨] Hit:2 http://ports.ubuntu.com focal InRelease [🐳|🔨] Hit:3 http://ports.ubuntu.com focal-security InRelease [🐳|🔨] Hit:4 http://ports.ubuntu.com focal-updates InRelease [🐳|🔨] Ign:1 http://armbian.tnahosting.net/apt focal InRelease [🐳|🔨] Hit:5 http://ports.ubuntu.com focal-backports InRelease [🐳|🔨] Err:6 http://mirrors.jevincanders.net/armbian/apt focal Release [🐳|🔨] 404 Not Found [IP: 172.93.158.60 80] [🐳|🔨] Reading package lists... [🐳|🔨] E: The repository 'http://apt.armbian.com focal Release' does not have a Release file. [🐳|🚸] Command failed, retrying in 5s [ chroot_sdcard_apt_get_update ] [🐳|🚸] Command failed 3 times, giving up [ chroot_sdcard_apt_get_update ] [🐳|💥] Error 1 occurred in main shell [ at /armbian/lib/functions/rootfs/rootfs-create.sh:164 create_new_rootfs_cache_via_debootstrap() --> lib/functions/rootfs/rootfs-create.sh:164 create_new_rootfs_cache() --> lib/functions/rootfs/create-cache.sh:69 do_with_logging() --> lib/functions/logging/section-logging.sh:81 artifact_rootfs_build_from_sources() --> lib/functions/artifacts/artifact-rootfs.sh:80 artifact_build_from_sources() --> lib/functions/artifacts/artifacts-obtain.sh:34 obtain_complete_artifact() --> lib/functions/artifacts/artifacts-obtain.sh:280 build_artifact_for_image() --> lib/functions/artifacts/artifacts-obtain.sh:392 get_or_create_rootfs_cache_chroot_sdcard() --> lib/functions/rootfs/create-cache.sh:83 build_rootfs_and_image() --> lib/functions/main/rootfs-image.sh:14 full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.sh:36 do_with_default_build() --> lib/functions/main/default-build.sh:42 cli_standard_build_run() --> lib/functions/cli/cli-build.sh:25 armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136 cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176 main() --> ./compile.sh:50 ] [🐳|💥] Cleaning up [ please wait for cleanups to finish ] [🐳|🌿] Unmounting recursively [ SDCARD - be patient ] [🐳|🌱] Unmounted OK after 2 attempt(s) [ SDCARD ] [🐳|🌿] Unmounting recursively [ MOUNT - be patient ] [🐳|🌿] ANSI log file built; inspect it by running: [ less -RS output/logs/log-build-f4961847-8e5a-40a8-a7cd-ecb4e58220c3.log.ans ] [🐳|🌿] Share log manually (or SHARE_LOG=yes): [ curl] Am I doing something wrong? 0 Quote Link to comment Share on other sites More sharing options...
primoitt Posted May 8 Share Posted May 8 hey @jock Bullseye builded flawlessly! [🐳|🌱] Done building [ Armbian-unofficial_24.2.0-trunk_Rk322x-box_bullseye_legacy_4.4.194_minimal.img ] [🐳|🌱] SHA256 calculating [ Armbian-unofficial_24.2.0-trunk_Rk322x-box_bullseye_legacy_4.4.194_minimal.img ] [🐳|🌱] Fast-moving file to output/images [ -> Armbian-unofficial_24.2.0-trunk_Rk322x-box_bullseye_legacy_4.4.194_minimal.img (1.01GiB) ] [🐳|🌱] Fast-moving file to output/images [ -> Armbian-unofficial_24.2.0-trunk_Rk322x-box_bullseye_legacy_4.4.194_minimal.img.sha (202.00B) ] [🐳|🌱] Fast-moving file to output/images [ -> Armbian-unofficial_24.2.0-trunk_Rk322x-box_bullseye_legacy_4.4.194_minimal.img.txt (19.32KiB) ] [🐳|🌿] Unmounting recursively [ SDCARD rootfs finished - be patient ] [🐳|🌿] Done building image [ rk322x-box ] [🐳|🌱] Runtime [ 56:25 min ] [🐳|✨] Repeat Build Options [ ./compile.sh BOARD=rk322x-box BRANCH=legacy BUILD_DESKTOP=no BUILD_MINIMAL=yes INSTALL_HEADERS=yes KERNEL_CONFIGURE=yes KERNEL_KEEP_CONFIG=yes RELEASE=bullseye ] [🐳|🌱] Cleaning up [ please wait for cleanups to finish ] [🐳|🌿] ANSI log file built; inspect it by running: [ less -RS output/logs/log-build-fed9ae1d-0478-4643-a1de-606d2a7197e5.log.ans ] [🐳|🌿] Share log manually (or SHARE_LOG=yes): [ curl --data-binary @output/logs/log-build-fed9ae1d-0478-4643-a1de-606d2a7197e5.log.ans https://paste.armbian.com/log ls output/images/ -lah total 896M drwxr-xr-x 2 root root 4.0K May 8 16:23 . drwxr-xr-x 7 root root 4.0K May 8 15:31 .. -rw-rw-r-- 1 root root 1.1G May 8 16:23 Armbian-unofficial_24.2.0-trunk_Rk322x-box_bullseye_legacy_4.4.194_minimal.img -rw-rw-r-- 1 root root 202 May 8 16:23 Armbian-unofficial_24.2.0-trunk_Rk322x-box_bullseye_legacy_4.4.194_minimal.img.sha -rw-rw-r-- 1 root root 20K May 8 16:23 Armbian-unofficial_24.2.0-trunk_Rk322x-box_bullseye_legacy_4.4.194_minimal.img.txt So I guess there is a problem with focal release? 0 Quote Link to comment Share on other sites More sharing options...
jock Posted May 8 Author Share Posted May 8 1 hour ago, primoitt said: So I guess there is a problem with focal release? 🤷♂️ perhaps; the branch is at an old period in time and has not been updated anymore, so anything could be... 0 Quote Link to comment Share on other sites More sharing options...
primoitt Posted May 8 Share Posted May 8 jammy works fine too.. ls -lah total 909348 drwxr-xr-x 2 root root 4096 mai 8 14:23 . drwx------ 7 root root 4096 mai 8 14:17 .. -rw-rw-r-- 1 root root 931135488 mai 8 14:12 Armbian-unofficial_24.2.0-trunk_Rk322x-box_jammy_legacy_4.4.194_minimal.img -rw-rw-r-- 1 root root 199 mai 8 14:13 Armbian-unofficial_24.2.0-trunk_Rk322x-box_jammy_legacy_4.4.194_minimal.img.sha -rw-rw-r-- 1 root root 19758 mai 8 14:12 Armbian-unofficial_24.2.0-trunk_Rk322x-box_jammy_legacy_4.4.194_minimal.img.txt 0 Quote Link to comment Share on other sites More sharing options...
primoitt Posted May 8 Share Posted May 8 (edited) Hey @jock I guess I find the problem... There is no more focal repo anymore: http://armbian.tnahosting.net/apt/dists Thats's explains the erros bellow: E: The repository 'http://apt.armbian.com focal Release' does not have a Release file. [🐳|🚸] Command failed, retrying in 5s [ chroot_sdcard_apt_get_update ] [🐳|🔨] Hit:2 http://ports.ubuntu.com focal InRelease [🐳|🔨] Hit:3 http://ports.ubuntu.com focal-security InRelease [🐳|🔨] Hit:4 http://ports.ubuntu.com focal-updates InRelease [🐳|🔨] Ign:1 http://armbian.tnahosting.net/apt focal InRelease [🐳|🔨] Hit:6 http://ports.ubuntu.com focal-backports InRelease [🐳|🔨] Err:5 http://xogium.performanceservers.nl/apt focal Release [🐳|🔨] 404 Not Found [IP: 198.140.141.60 80] [🐳|🔨] Reading package lists... [🐳|🔨] E: The repository 'http://apt.armbian.com focal Release' does not have a Release file. [🐳|🚸] Command failed, retrying in 5s [ chroot_sdcard_apt_get_update ] [🐳|🔨] Hit:2 http://ports.ubuntu.com focal InRelease [🐳|🔨] Hit:3 http://ports.ubuntu.com focal-security InRelease [🐳|🔨] Hit:4 http://ports.ubuntu.com focal-updates InRelease [🐳|🔨] Ign:1 http://armbian.tnahosting.net/apt focal InRelease [🐳|🔨] Hit:5 http://ports.ubuntu.com focal-backports InRelease [🐳|🔨] Err:6 http://mirrors.jevincanders.net/armbian/apt focal Release [🐳|🔨] 404 Not Found [IP: 172.93.158.60 80] [🐳|🔨] Reading package lists.. [🐳|🔨] E: The repository 'http://apt.armbian.com focal Release' does not have a Release file. Edited May 8 by primoitt 0 Quote Link to comment Share on other sites More sharing options...
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.