Jump to content

Recommended Posts

Posted

Good day. We have a medical device project. We always wanted to have bananapi m4 zero hardware on our main board, with armbian as an OS seeing as it is up to date and fit for purpose. However, our Hardware supplier has not been able to solve the full hardware stack. We currently are able to boot the orangepi zero 3 image... and as far as I understand the hardware chips are very close to each other. We also have emmc on the board. But not working. We desperately need hardware development help so we can get banana pi m4 zero armbian supported OS working. Any advise please.

 

We have 2GB RAM , allwinner h618, axp313. All the same as orangepi zero 3. 

 

Please help. Desperate help needed.

Posted
U-Boot SPL 2025.07-armbian-2025.07-Se37d-P526e-H8869-V8e92-Bb703-R448a (Aug 19 2025 - 04:10:01 +0000)
DRAM: 4096 MiB
Trying to boot from MMC2
NOTICE:  BL31: v2.12.5(debug):armbian
NOTICE:  BL31: Built : 04:09:39, Aug 19 2025
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a0b5100, model: BananaPi BPI-M4-Zero
INFO:    ARM GICv2 driver initialized
INFO:    Configuring SPC Controller
INFO:    Probing for PMIC on I2C:
INFO:    PMIC: found AXP313
INFO:    BL31: Platform setup done
INFO:    BL31: Initializing runtime services
INFO:    BL31: cortex_a53: CPU workaround for erratum 855873 was applied
INFO:    BL31: cortex_a53: CPU workaround for erratum 1530924 was applied
INFO:    PSCI: Suspend is unavailable
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x4a000000
INFO:    SPSR = 0x3c9
INFO:    Changed devicetree.
ns16550_serial serial@5000000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19


U-Boot 2025.07-armbian-2025.07-Se37d-P526e-H8869-V8e92-Bb703-R448a (Aug 19 2025 - 04:10:01 +0000) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: BananaPi BPI-M4-Zero
DRAM:  4 GiB
Core:  65 devices, 22 uclasses, devicetree: separate
WDT:   Not starting watchdog@30090a0
MMC:   mmc@4020000: 0, mmc@4022000: 1
Loading Environment from FAT... Unable to use mmc 1:1...
In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Allwinner mUSB OTG (Peripheral)
Net:   using musb-hdrc, OUT ep1out IN ep1in STATUS ep2in
MAC de:ad:be:ef:00:01
HOST MAC de:ad:be:ef:00:00
RNDIS ready
eth0: usb_ether
starting USB...
USB EHCI 1.00
USB OHCI 1.0
Bus usb@5311000: 1 USB Device(s) found
Bus usb@5311400: 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
4641 bytes read in 1 ms (4.4 MiB/s)
## Executing script at 4fc00000
U-boot loaded from SD
Boot script loaded from mmc
280 bytes read in 0 ms
Load fdt: /boot/dtb/allwinner/sun50i-h618-bananapi-m4-zero.dtb
MMC: no card present
** Bad device specification mmc 0 **
43728 bytes read in 4 ms (10.4 MiB/s)
Working FDT set to 4fa00000
1358 bytes read in 3 ms (441.4 KiB/s)
Applying kernel provided DT overlay sun50i-h616-bananapi-m4-sdio-wifi-bt.dtbo
4203 bytes read in 2 ms (2 MiB/s)
Applying kernel provided DT fixup script (sun50i-h616-fixup.scr)
## Executing script at 45000000
17177939 bytes read in 543 ms (30.2 MiB/s)
38219784 bytes read in 1207 ms (30.2 MiB/s)
Moving Image from 0x40080000 to 0x40200000, end=0x42760000
## Loading init Ramdisk from Legacy Image at 4ff00000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    17177875 Bytes = 16.4 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000
Working FDT set to 4fa00000
   Loading Ramdisk to 48f9e000, end 49fffd13 ... OK
   Loading Device Tree to 0000000048f2a000, end 0000000048f9dfff ... OK
Working FDT set to 48f2a000

Starting kernel ...


Armbian 25.8.1 Trixie ttyS0 

bananapim4zero login: root
Password: 
    _             _    _           
   /_\  _ _ _ __ | |__(_)__ _ _ _  
  / _ \| '_| '  \| '_ \ / _` | ' \ 
 /_/ \_\_| |_|_|_|_.__/_\__,_|_||_|
                                   
 v25.8.1 for BananaPi BPI-M4-Zero running Armbian Linux 6.12.35-current-sunxi64

 Packages:     Debian stable (trixie)
 Updates:      Kernel upgrade enabled and 6 packages available for upgrade 
 IPv4:         (LAN) xx.xx.xx.xx (WAN) xx.xx.xx.xx 

 Performance:  

 Load:         16%           	 Uptime:       0 min	
 Memory usage: 4% of 3.83G  	
 CPU temp:     46°C           	 Usage of /:   5% of 29G    	

 Commands: 

 Configuration : armbian-config
 Upgrade       : armbian-upgrade
 Monitoring    : htop

root@bananapim4zero:~# lsblk
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
mmcblk2      179:0    0 29.1G  0 disk 
└─mmcblk2p1  179:1    0 28.8G  0 part /var/log.hdd
                                      /
mmcblk2boot0 179:32   0    4M  1 disk 
mmcblk2boot1 179:64   0    4M  1 disk 
zram0        252:0    0  1.9G  0 disk [SWAP]
zram1        252:1    0   50M  0 disk 
zram2        252:2    0    0B  0 disk 
root@bananapim4zero:~# 

 

https://www.armbian.com/bananapi-m4-zero/

 

Seems fine to me?

 

Posted

I am asking if someone can refer me somewhere so I can update my current orangepi zero 3 hardware to bananpi m4 zero hardware.

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