Jump to content

Bananapi M4 Zero


Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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  
```

Link to comment
Share on other sites

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
 

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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>;
   

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines