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...
primoitt Posted May 20 Share Posted May 20 (edited) Hey @jock Good news! Focal and buster repos are back!! http://armbian.tnahosting.net/apt/dists/ Tomorrow I'll do some tests Edited May 20 by primoitt 0 Quote Link to comment Share on other sites More sharing options...
SteeMan Posted May 20 Share Posted May 20 1 hour ago, primoitt said: Good news! The repository exist again, but is empty as focal is EOS (End of Support status) for Armbian 0 Quote Link to comment Share on other sites More sharing options...
primoitt Posted May 20 Share Posted May 20 @SteeMan oh no... Tried buster here and no good... But looks like the problem is on Debian's repo not Armbian's... [🐳|🔨] deb http://deb.debian.org/debian buster main contrib non-free [🐳|🔨] #deb-src http://deb.debian.org/debian buster main contrib non-free [🐳|🔨] [🐳|🔨] deb http://deb.debian.org/debian buster-updates main contrib non-free [🐳|🔨] #deb-src http://deb.debian.org/debian buster-updates main contrib non-free [🐳|🔨] [🐳|🔨] deb http://deb.debian.org/debian buster-backports main contrib non-free [🐳|🔨] #deb-src http://deb.debian.org/debian buster-backports main contrib non-free [🐳|🔨] [🐳|🔨] deb http://security.debian.org/ buster/updates main contrib non-free [🐳|🔨] #deb-src http://security.debian.org/ buster/updates main contrib non-free [🐳|🌱] Updating package list [ buster ] [🐳|🔨] mkdir: created directory '/armbian/.tmp/rootfs-f7083a9e-91b5-461b-9485-7cb3a8d3f02d/var/cache/apt' [🐳|🔨] mkdir: created directory '/armbian/.tmp/rootfs-f7083a9e-91b5-461b-9485-7cb3a8d3f02d/var/lib/apt/lists' [🐳|🔨] Get:1 http://security.debian.org buster/updates InRelease [34.8 kB] [🐳|🔨] Get:2 http://deb.debian.org/debian buster InRelease [122 kB] [🐳|🔨] Get:3 http://deb.debian.org/debian buster-updates InRelease [56.6 kB] [🐳|🔨] Ign:4 http://deb.debian.org/debian buster-backports InRelease [🐳|🔨] Err:5 http://deb.debian.org/debian buster-backports Release [🐳|🔨] 404 Not Found [IP: 151.101.250.132 80] [🐳|🔨] Get:6 http://mirrors.jevincanders.net/armbian/apt buster InRelease [33.2 kB] [🐳|🔨] Get:7 http://security.debian.org buster/updates/main armhf Packages [590 kB] [🐳|🔨] Get:8 http://security.debian.org buster/updates/main Translation-en [324 kB] [🐳|🔨] Get:9 http://security.debian.org buster/updates/contrib armhf Packages [3,452 B] [🐳|🔨] Get:10 http://security.debian.org buster/updates/contrib Translation-en [1,488 B] [🐳|🔨] Get:11 http://security.debian.org buster/updates/non-free armhf Packages [9,940 B] [🐳|🔨] Get:12 http://security.debian.org buster/updates/non-free Translation-en [24.8 kB] [🐳|🔨] Get:13 http://deb.debian.org/debian buster/main armhf Packages [7,706 kB] [🐳|🔨] Get:14 http://deb.debian.org/debian buster/main Translation-en [5,969 kB] [🐳|🔨] Get:15 http://deb.debian.org/debian buster/contrib armhf Packages [40.1 kB] [🐳|🔨] Get:16 http://deb.debian.org/debian buster/contrib Translation-en [44.2 kB] [🐳|🔨] Get:17 http://deb.debian.org/debian buster/non-free armhf Packages [62.1 kB] [🐳|🔨] Get:18 http://deb.debian.org/debian buster/non-free Translation-en [88.9 kB] [🐳|🔨] Get:19 http://deb.debian.org/debian buster-updates/main armhf Packages [8,784 B] [🐳|🔨] Get:20 http://deb.debian.org/debian buster-updates/main Translation-en [6,915 B] [🐳|🔨] Reading package lists... [🐳|🔨] E: The repository 'http://deb.debian.org/debian buster-backports Release' does not have a Release file. [🐳|🚸] Command failed, retrying in 5s [ chroot_sdcard_apt_get_update ] [🐳|🔨] Hit:1 http://security.debian.org buster/updates InRelease [🐳|🔨] Hit:2 http://deb.debian.org/debian buster InRelease [🐳|🔨] Hit:3 http://deb.debian.org/debian buster-updates InRelease [🐳|🔨] Ign:4 http://deb.debian.org/debian buster-backports InRelease [🐳|🔨] Err:5 http://deb.debian.org/debian buster-backports Release [🐳|🔨] 404 Not Found [IP: 151.101.250.132 80] [🐳|🔨] Hit:6 http://mirrors.jevincanders.net/armbian/apt buster InRelease [🐳|🔨] Reading package lists... [🐳|🔨] E: The repository 'http://deb.debian.org/debian buster-backports Release' does not have a Release file. [🐳|🚸] Command failed, retrying in 5s [ chroot_sdcard_apt_get_update ] [🐳|🔨] Hit:1 http://deb.debian.org/debian buster InRelease [🐳|🔨] Hit:2 http://deb.debian.org/debian buster-updates InRelease [🐳|🔨] Ign:3 http://deb.debian.org/debian buster-backports InRelease [🐳|🔨] Hit:4 http://security.debian.org buster/updates InRelease [🐳|🔨] Err:5 http://deb.debian.org/debian buster-backports Release [🐳|🔨] 404 Not Found [IP: 151.101.250.132 80] [🐳|🔨] Hit:6 http://mirrors.jevincanders.net/armbian/apt buster InRelease [🐳|🔨] Reading package lists... [🐳|🔨] E: The repository 'http://deb.debian.org/debian buster-backports 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-f7083a9e-91b5-461b-9485-7cb3a8d3f02d.log.ans ] [🐳|🌿] Share log manually (or SHARE_LOG=yes): [ curl --data-binary @output/logs/log-build-f7083a9e-91b5-461b-9485-7cb3a8d3f02d.log.ans https://paste.armbian.com/log ] 0 Quote Link to comment Share on other sites More sharing options...
primoitt Posted May 20 Share Posted May 20 (edited) hey @jock @SteeMan focal builded flawlessly! [🐳|🔨] sent 16.83M bytes received 2.18K bytes 33.67M bytes/sec [🐳|🔨] total size is 16.82M speedup is 1.00 [🐳|🔨] '/usr/bin/qemu-arm-static' -> '/armbian/.tmp/mount-4c3bbdbb-c207-40e4-aa32-9bf377ebdb5e/usr/bin/qemu-arm-static' [🐳|🌿] Updating initramfs... [ TMPDIR=/tmp update-initramfs -u -k 4.4.194-legacy-rk322x ] [🐳|🔨] update-initramfs: Generating /boot/initrd.img-4.4.194-legacy-rk322x [🐳|🔨] update-initramfs: Armbian: Converting to u-boot format: /boot/uInitrd-4.4.194-legacy-rk322x [🐳|🔨] Image Name: uInitrd [🐳|🔨] Created: Mon May 20 18:33:54 2024 [🐳|🔨] Image Type: ARM Linux RAMDisk Image (gzip compressed) [🐳|🔨] Data Size: 5816136 Bytes = 5679.82 KiB = 5.55 MiB [🐳|🔨] Load Address: 00000000 [🐳|🔨] Entry Point: 00000000 [🐳|🔨] update-initramfs: Armbian: Symlinking /boot/uInitrd-4.4.194-legacy-rk322x to /boot/uInitrd [🐳|🔨] '/boot/uInitrd' -> 'uInitrd-4.4.194-legacy-rk322x' [🐳|🔨] update-initramfs: Armbian: done. [🐳|🌱] Updated initramfs. [ TMPDIR=/tmp update-initramfs -u -k 4.4.194-legacy-rk322x ] [🐳|🔨] '/armbian/.tmp/mount-4c3bbdbb-c207-40e4-aa32-9bf377ebdb5e/boot/initrd.img-4.4.194-legacy-rk322x' -> '/armbian/cache/initrd/initrd.img-4.4.194-legacy-rk322x-b45d4cabfa6aaf61a91db4025d6d89c8' [🐳|🔨] '/armbian/.tmp/work-4c3bbdbb-c207-40e4-aa32-9bf377ebdb5e/initrd.img-4.4.194-legacy-rk322x.4c3bbdbb-c207-40e4-aa32-9bf377ebdb5e.manifest' -> '/armbian/cache/initrd/initrd.manifest-4.4.194-legacy-rk322x.last.manifest' [🐳|🌿] Re-enabling [ initramfs-tools hook for kernel ] [🐳|🔨] mode of '/etc/kernel/postinst.d/initramfs-tools' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x) [🐳|🌱] Unmounting [ /armbian/.tmp/mount-4c3bbdbb-c207-40e4-aa32-9bf377ebdb5e ] [🐳|🔨] removed '/armbian/.tmp/mount-4c3bbdbb-c207-40e4-aa32-9bf377ebdb5e/usr/bin/qemu-arm-static' [🐳|🌱] Free SD cache [🐳|🌱] Mount point [ 90% ] [🐳|🌱] Preparing u-boot bootloader [ LOOP=/dev/loop8 - /armbian/output/debs/linux-u-boot-rk322x-box-legacy_24.2.0-trunk_armhf__2022.04-Se4b6-P0e83-H87a3-V5177-B1179-R448a.deb ] [🐳|🌱] Sourcing u-boot install functions [ /armbian/output/debs/linux-u-boot-rk322x-box-legacy_24.2.0-trunk_armhf__2022.04-Se4b6-P0e83-H87a3-V5177-B1179-R448a.deb ] [🐳|🌱] Writing u-boot bootloader [ /dev/loop8 ] [🐳|🌿] Unmounting recursively [ MOUNT - be patient ] [🐳|🌿] Freeing loop device [ /dev/loop8 ] [🐳|🔨] renamed '/armbian/.tmp/rootfs-4c3bbdbb-c207-40e4-aa32-9bf377ebdb5e.raw' -> '/armbian/.tmp/image-4c3bbdbb-c207-40e4-aa32-9bf377ebdb5e/Armbian-unofficial_24.2.0-trunk_Rk322x-box_focal_legacy_4.4.194_minimal.img' [🐳|🌱] Done building [ Armbian-unofficial_24.2.0-trunk_Rk322x-box_focal_legacy_4.4.194_minimal.img ] [🐳|🌱] SHA256 calculating [ Armbian-unofficial_24.2.0-trunk_Rk322x-box_focal_legacy_4.4.194_minimal.img ] [🐳|🌱] Fast-moving file to output/images [ -> Armbian-unofficial_24.2.0-trunk_Rk322x-box_focal_legacy_4.4.194_minimal.img (860.00MiB) ] [🐳|🌱] Fast-moving file to output/images [ -> Armbian-unofficial_24.2.0-trunk_Rk322x-box_focal_legacy_4.4.194_minimal.img.sha (199.00B) ] [🐳|🌱] Fast-moving file to output/images [ -> Armbian-unofficial_24.2.0-trunk_Rk322x-box_focal_legacy_4.4.194_minimal.img.txt (19.30KiB) ] [🐳|🌿] Unmounting recursively [ SDCARD rootfs finished - be patient ] [🐳|🌿] Done building image [ rk322x-box ] [🐳|🌱] Runtime [ 152:09 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=focal ] [🐳|🌱] Cleaning up [ please wait for cleanups to finish ] [🐳|🌿] ANSI log file built; inspect it by running: [ less -RS output/logs/log-build-4c3bbdbb-c207-40e4-aa32-9bf377ebdb5e.log.ans ] [🐳|🌿] Share log manually (or SHARE_LOG=yes): [ curl --data-binary @output/logs/log-build-4c3bbdbb-c207-40e4-aa32-9bf377ebdb5e.log.ans https://paste.armbian.com/log ] ls output/images/ -lah total 741M drwxr-xr-x 2 root root 4.0K May 20 18:34 . drwxr-xr-x 7 root root 4.0K May 20 17:48 .. -rw-rw-r-- 1 root root 860M May 20 18:33 Armbian-unofficial_24.2.0-trunk_Rk322x-box_focal_legacy_4.4.194_minimal.img -rw-rw-r-- 1 root root 199 May 20 18:34 Armbian-unofficial_24.2.0-trunk_Rk322x-box_focal_legacy_4.4.194_minimal.img.sha -rw-rw-r-- 1 root root 20K May 20 18:33 Armbian-unofficial_24.2.0-trunk_Rk322x-box_focal_legacy_4.4.194_minimal.img.txt But there's no linux-headers... 😔😔😔 /armbian/output/debs# ls -lah total 144M drwxr-xr-x 3 root root 4.0K May 20 18:06 . drwxr-xr-x 7 root root 4.0K May 20 17:48 .. -rw-rw-r-- 1 root root 1.6M May 20 18:06 armbian-bsp-cli-rk322x-box-legacy_24.2.0-trunk_armhf__1-PCf77f-V24e2-H68df-Be8be-Rf32b.deb -rw-rw-r-- 1 root root 87M May 20 18:06 armbian-firmware_24.2.0-trunk_all__1-SA6fae-B90f5-R448a.deb -rw-rw-r-- 1 root root 1.4K May 20 18:06 fake-ubuntu-advantage-tools_24.2.0-trunk_all__1-Bfcde-R448a.deb drwxrwxr-x 2 root root 4.0K May 20 18:06 focal -rw-rw-r-- 1 root root 4.9M May 20 18:06 linux-dtb-legacy-rk322x_24.2.0-trunk_armhf__4.4.194-Sf8f4-Dc654-Pb5a2-C999999Hfe66-HK01ba-V014b-B1743-R448a.deb -rw-rw-r-- 1 root root 51M May 20 18:06 linux-image-legacy-rk322x_24.2.0-trunk_armhf__4.4.194-Sf8f4-Dc654-Pb5a2-C999999Hfe66-HK01ba-V014b-B1743-R448a.deb -rw-rw-r-- 1 root root 439K May 20 16:02 linux-u-boot-rk322x-box-legacy_24.2.0-trunk_armhf__2022.04-Se4b6-P0e83-H87a3-V5177-B1179-R448a.deb Edited May 20 by primoitt 0 Quote Link to comment Share on other sites More sharing options...
fabiobassa Posted May 20 Share Posted May 20 @primoitt thanks for those Infos, even if not strictly hardware related , they are usefull for building new distros Could be also interesting open a specific thread related ti repositories issues and leave this for hardware specific 2 Quote Link to comment Share on other sites More sharing options...
Daniel Campillay Morales Posted May 24 Share Posted May 24 Hello Guys!, I just want to share my experience with my tv-box. I've succesfully managed to install armbian in my rk3229 tv box Manufacturer Specifications (FROM ALI) General OS Version: Android 4.4 CPU: Rockchip 3229 Quad Core Processor Speed (max): 1.5GHz RAM: 1GB Internal Memory: 8GB External Memory: Support up to 32GB Display Resolution(max): 4K (2880x2160P) Support Video Resolution(max): 4K x 2K Wi-Fi: 802.11 b/g/n Bluetooth 2.1 Google Play DLNA Miracast Airplay 3D Movie Kodi / XBMC 15.2 Adobe Flash: Support Adobe Flash 10.1 and above (Armbian_community_24.5.0-trunk.667_Rk322x-box_bookworm_current_6.6.31_minimal.img.xz) I've used multitool to first backup my nand, and secondly set armbian image to boot over usb. Of course usb data transfer was significantly lower. Wifi module (rlt8723cs) worked very well, without drops. But my main issue is bluetooth. I was not capable of activate my bt module (after installing several packages). Of course, having a BT dongle fixes the issue but I really wanted to solve it. 0 Quote Link to comment Share on other sites More sharing options...
jock Posted May 24 Author Share Posted May 24 3 hours ago, Daniel Campillay Morales said: But my main issue is bluetooth. I was not capable of activate my bt module (after installing several packages). Thanks for your experience, did you try to run rk322x-config again and let it enable the proper overlay? realtek bluetooth is a bit quirky, especially on newer kernels 1 Quote Link to comment Share on other sites More sharing options...
Daniel Campillay Morales Posted May 25 Share Posted May 25 (edited) @jock I will, check that option and i'll let you know. Additionally, is it possible to produce a dualboot of this device in order not to touch the Stock firmware (luckily I have a backup)? I'm thinking having a sd card with armbian and when extracting SD, boot to Stock Firmware? Or perhaps do the inverse and make a usb dongle/SD with the Stock firmware and install armbian in the nand. Edited May 25 by Daniel Campillay Morales 0 Quote Link to comment Share on other sites More sharing options...
Dean Martin Posted May 25 Share Posted May 25 @jock, do you still have the multitool Build: 52d0101? Can I have the link to download? I would like to use the option (6) install jump start on nand and (7) install armbian via steP-nand. These options where removed in the latest build of multitool. I want to avoid the option 5 which is burn image to flash to avoid bricking my device. Thanks. 0 Quote Link to comment Share on other sites More sharing options...
jock Posted May 25 Author Share Posted May 25 5 hours ago, Daniel Campillay Morales said: @jock I will, check that option and i'll let you know. It should autodetect the device if it is properly working and enable the dtb overlay in /boot/armbianEnv.txt automatically; you should not need to select anything. You mileage may vary, though. 0 Quote Link to comment Share on other sites More sharing options...
jock Posted May 25 Author Share Posted May 25 1 hour ago, Dean Martin said: @jock, do you still have the multitool Build: 52d0101? Can I have the link to download? I would like to use the option (6) install jump start on nand and (7) install armbian via steP-nand. These options where removed in the latest build of multitool. I want to avoid the option 5 which is burn image to flash to avoid bricking my device. Thanks. Nand options were not removed at all from latest multitool. Those options are just hidden if the NAND is not detected. You should check lsblk and dmesg to see if rknand device appears and maybe post dmesg log here too. 0 Quote Link to comment Share on other sites More sharing options...
HurlingSand Posted May 25 Share Posted May 25 Hi! Does anyone know any download links for the latest prebuilt image with legacy kernel? I have a MXQ 4k box with NAND and I couldn't find anything newer than Armbian 22.02.0. Thanks. 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.