diaamant Posted May 16 Share Posted May 16 Good afternoon. I have great respect for your work (I signed up for an Individual subscription and made a small contribution to Funding equipment in April 2023) Question about Bananapi M4 Zero board The board is assigned the status "Standard Support", but there are no links to a stable image (for example Armbian 24.2.1 Bookworm CLI). There are only links to daily/rolling releases. I understand how much time and effort goes into maintaining a large number of boards. Tell me, can we hope for the appearance of stable firmware versions for Bananapi M4 Zero? 0 Quote Link to comment Share on other sites More sharing options...
Igor Posted May 16 Share Posted May 16 40 minutes ago, diaamant said: can we hope for the appearance of stable firmware versions for Bananapi M4 Zero? Soon, in less then two weeks. 1 Quote Link to comment Share on other sites More sharing options...
diaamant Posted May 16 Author Share Posted May 16 Perhaps this will be useful: Downloaded and ran the Docker binaries. Compilation current Bookworm for Bananapi M4 Zero fails with error: ``` CC [M] drivers/iio/light/zopt2201.o LD [M] drivers/net/usb/asix.o [|] AR drivers/built-in.a [|] make[2]: *** [Makefile:1915: .] Error 2 [|] make[1]: *** [/armbian/cache/sources/linux-kernel-worktree/6.6__sunxi64__arm64/Makefile:359: __build_one_by_one] Error 2 [|] make: *** [Makefile:234: __sub-make] Error 2 [|] Error 2 occurred in main shell [ at /armbian/lib/functions/logging/runners.sh:211 run_host_command_logged_raw() --> lib/functions/logging/runners.sh:211 run_host_command_logged() --> lib/functions/logging/runners.sh:193 run_kernel_make_internal() --> lib/functions/compilation/kernel-make.sh:61 run_kernel_make_long_running() --> lib/functions/compilation/kernel-make.sh:74 do_with_ccache_statistics() --> lib/functions/compilation/ccache.sh:39 kernel_build() --> lib/functions/compilation/kernel.sh:224 do_with_hooks() --> lib/functions/general/extensions.sh:557 do_with_logging() --> lib/functions/logging/section-logging.sh:81 kernel_prepare_build_and_package() --> lib/functions/compilation/kernel.sh:158 compile_kernel() --> lib/functions/compilation/kernel.sh:91 artifact_kernel_build_from_sources() --> lib/functions/artifacts/artifact-kernel.sh:240 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 main_default_build_packages() --> lib/functions/main/build-packages.sh:108 full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.sh:31 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 ``` 0 Quote Link to comment Share on other sites More sharing options...
Werner Posted May 16 Share Posted May 16 Both edge and current build just fine. 0 Quote Link to comment Share on other sites More sharing options...
diaamant Posted May 16 Author Share Posted May 16 Success!!! [ Armbian-unofficial_24.5.1_Bananapim4zero_jammy_current_6.6.30_minimal.img ] [|] Moving artefacts using rsync to final destination [ Armbian-unofficial_24.5.1_Bananapim4zero_jammy_current_6.6.30_minimal ] [|] sending incremental file list [|] Armbian-unofficial_24.5.1_Bananapim4zero_jammy_current_6.6.30_minimal.img [|] Armbian-unofficial_24.5.1_Bananapim4zero_jammy_current_6.6.30_minimal.img.sha [|] Armbian-unofficial_24.5.1_Bananapim4zero_jammy_current_6.6.30_minimal.img.txt 0 Quote Link to comment Share on other sites More sharing options...
diaamant Posted May 16 Author Share Posted May 16 Success Bookworm!!! Done building [ Armbian-unofficial_24.5.1_Bananapim4zero_bookworm_current_6.6.30_minimal.img ] [|] SHA256 calculating [ Armbian-unofficial_24.5.1_Bananapim4zero_bookworm_current_6.6.30_minimal.img ] [|] Moving artefacts using rsync to final destination [ Armbian-unofficial_24.5.1_Bananapim4zero_bookworm_current_6.6.30_minimal ] [|] sending incremental file list [|] Armbian-unofficial_24.5.1_Bananapim4zero_bookworm_current_6.6.30_minimal.img [|] Armbian-unofficial_24.5.1_Bananapim4zero_bookworm_current_6.6.30_minimal.img.sha [|] Armbian-unofficial_24.5.1_Bananapim4zero_bookworm_current_6.6.30_minimal.img.txt 1 Quote Link to comment Share on other sites More sharing options...
diaamant Posted May 16 Author Share Posted May 16 How to change dts file to make Allwinner H618 Banana Pi M4 zero USB connector become host instead of OTG ??? usb@5100000 { compatible = "allwinner,sun50i-h616-musb\0allwinner,sun8i-h3-musb"; reg = <0x5100000 0x400>; clocks = <0x02 0x70>; resets = <0x02 0x32>; interrupts = <0x00 0x19 0x04>; interrupt-names = "mc"; phys = <0x23 0x00>; phy-names = "usb"; extcon = <0x23 0x00>; status = "okay"; # dr_mode = "peripheral"; # ????? dr_mode = "host"; phandle = <0x5f>; 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.