Is there a bootable image for a MangoPi MQ-QUAD with H618? - 2024-03-17

Greetings All,

At this point I do not care what OS, as long as SOMETHING boots.

I have followed the prior thread, but have noticed it is not being updated. As of now, I still cannot get an image that reliably boots this board for ANY operating system. U-Boot does appear to work for the ARMbian images, but that is about as far as it gets. I have the following:

Directory of C:(#) project\ARM projects\MangoPi MQ-QUAD\H618

2024-03-17 01:48 AM .
2024-03-17 01:48 AM …
2023-06-01 05:52 AM 2,105,540,608 Armbian_22.08.2_Mangopimcore_bullseye_edge_5.19.4.img
2024-03-17 01:47 AM 460,698,078 Armbian_22.08.2_Mangopimcore_bullseye_no_desktop_20230601_stable.7z
2024-03-17 01:03 AM Armbian_22.08.2_Mangopimcore_bullseye_no_desktop_20230601_稳定版
2024-02-01 03:54 AM 755,113,804 Armbian_22.08.2_Mangopimcore_jammy_edge_5.19.4_xfce_desktop.img.xz
2024-03-02 09:31 PM 135,418,192 DietMangoH618-ARMv8-Bookworm.img.xz
2024-02-01 03:42 AM 1,088,530,432 h618_android_uart0_phonexcard-5135.img
2024-02-01 03:40 AM 497,113,706 h618_android_uart0_phonexcard-5135.zip
6 File(s) 5,042,414,820 bytes
3 Dir(s) 321,356,492,800 bytes free

The others do not even come to post. Any help, including what frequency I should check back and where would be appreciated. The H616 boards at least boot, this one is just a slab of wafer so far.

I will post a failure below.
Tony

U-Boot seems to work properly and launches the kernel

2024-03-17

U-Boot SPL 2021.10-armbian (Jun 01 2023 - 17:35:46 +0800)
pmic id is 0x4b
DRAM: 1024 MiB
Trying to boot from MMC1
NOTICE: BL31: v2.9(debug):c0d8ee386-dirty
NOTICE: BL31: Built : 17:35:38, Jun 1 2023
NOTICE: BL31: Detected Allwinner H616 SoC (1823)
NOTICE: BL31: Found U-Boot DTB at 0x4a082d60, model: MangoPi Mcore
INFO: ARM GICv2 driver initialized
INFO: Configuring SPC Controller
INFO: PMIC: Probing AXP305 on RSB
ERROR: RSB: set run-time address: 0x10003
INFO: Could not init RSB: -65539
INFO: BL31: Platform setup done
INFO: BL31: Initializing runtime services
INFO: BL31: cortex_a53: CPU workaround for 855873 was applied
INFO: BL31: cortex_a53: CPU workaround for 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.

U-Boot 2021.10-armbian (Jun 01 2023 - 17:35:46 +0800) Allwinner Technology

CPU: Allwinner H616 (SUN50I)
Model: MangoPi Mcore
I2C: ready
DRAM: 1 GiB
MMC: mmc@4020000: 0
Loading Environment from FAT… Unable to use mmc 0:1… In: serial@5000000
Out: serial@5000000
Err: serial@5000000
Net: phy interface6
eth0: ethernet@5030000
Autoboot in 1 seconds, press to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1…
Found U-Boot script /boot/boot.scr
3202 bytes read in 3 ms (1 MiB/s)

Executing script at 4fc00000

U-boot loaded from SD
Boot script loaded from mmc
131 bytes read in 2 ms (63.5 KiB/s)
33777 bytes read in 9 ms (3.6 MiB/s)
Failed to load ‘/boot/dtb/allwinner/overlay/-fixup.scr’
10837867 bytes read in 455 ms (22.7 MiB/s)
22333448 bytes read in 935 ms (22.8 MiB/s)
Moving Image from 0x40080000 to 0x40200000, end=417c0000

Loading init Ramdisk from Legacy Image at 4ff00000 …

Image Name: uInitrd
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 10837803 Bytes = 10.3 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum … OK

Flattened Device Tree blob at 4fa00000

Booting using the fdt blob at 0x4fa00000
Loading Ramdisk to 495aa000, end 49ffff2b … OK
Loading Device Tree to 0000000049539000, end 00000000495a9fff … OK

Starting kernel …

Loading, please wait…
Starting version 247.3-7+deb11u2
Begin: Loading essential drivers … done.
Begin: Running /scripts/init-premount … done.
Begin: Mounting root file system … Begin: Running /scripts/local-top … done.
Begin: Running /scripts/local-premount … Scanning for Btrfs filesystems
done.
Begin: Will now check root file system … fsck from util-linux 2.36.1
[/sbin/fsck.ext4 (1) – /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
armbian_root: recovering journal
armbian_root: clean, 46861/131072 files, 437363/513024 blocks
done.
done.
Begin: Running /scripts/local-bottom … done.
Begin: Running /scripts/init-bottom … done.

Welcome to Armbian 22.08.2 Bullseye!

Failed ARMbian boot(s) (continued)

Welcome to Armbian 22.08.2 Bullseye!

[ OK ] Created slice system-modprobe.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice User and Session Slice.
[ OK ] Started Forward Password R…uests to Wall Directory Watch.
[ OK ] Set up automount Arbitrary…s File System Automount Point.
[ OK ] Reached target Local Encrypted Volumes.
[ OK ] Reached target Paths.
[ OK ] Reached target Slices.
[ OK ] Reached target Swap.
[ OK ] Reached target System Time Set.
[ OK ] Listening on RPCbind Server Activation Socket.
[ OK ] Listening on Syslog Socket.
[ OK ] Listening on fsck to fsckd communication Socket.
[ OK ] Listening on initctl Compatibility Named Pipe.
[ OK ] Listening on Journal Audit Socket.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Listening on udev Kernel Socket.
Mounting Huge Pages File System…
Mounting POSIX Message Queue File System…
Mounting NFSD configuration filesystem…
Mounting RPC Pipe File System…
Mounting Kernel Debug File System…
Starting Restore / save the current clock…
Starting Set the console keyboard layout…
Starting Create list of st…odes for the current kernel…
Starting Load Kernel Module configfs…
Starting Load Kernel Module drm…
Starting Load Kernel Module fuse…
[ OK ] Started Nameserver information manager.
[ OK ] Reached target Network (Pre).
Starting Load Kernel Modules…
Starting Remount Root and Kernel File Systems…
Starting Coldplug All udev Devices…
[ OK ] Mounted Huge Pages File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted NFSD configuration filesystem.
[ OK ] Mounted RPC Pipe File System.
[ OK ] Mounted Kernel Debug File System.
[ OK ] Finished Restore / save the current clock.
[ OK ] Finished Create list of st… nodes for the current kernel.
[ OK ] Finished Load Kernel Module configfs.
[ OK ] Finished Load Kernel Module drm.
[ OK ] Finished Load Kernel Module fuse.
[ OK ] Finished Set the console keyboard layout.
[ OK ] Finished Load Kernel Modules.
[ OK ] Finished Remount Root and Kernel File Systems.
Mounting FUSE Control File System…
Mounting Kernel Configuration File System…
Starting pNFS block layout mapping daemon…
Starting Load/Save Random Seed…
Starting Apply Kernel Variables…
Starting Create System Users…
[ OK ] Mounted FUSE Control File System.
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Started pNFS block layout mapping daemon.
[ OK ] Finished Load/Save Random Seed.
[ OK ] Finished Apply Kernel Variables.
[ OK ] Finished Create System Users.
Starting Create Static Device Nodes in /dev…
[ OK ] Finished Create Static Device Nodes in /dev.
[ OK ] Reached target Local File Systems (Pre).
Mounting /tmp…
Starting Rule-based Manage…for Device Events and Files…
[ OK ] Finished Coldplug All udev Devices.
[ OK ] Mounted /tmp.
[ OK ] Reached target Local File Systems.
Starting Armbian leds state…
Starting Armbian ZRAM config…
Starting Set console font and keymap…
Starting Helper to synchronize boot up for ifupdown…
Starting Preprocess NFS configuration…
[ OK ] Finished Set console font and keymap.
[ OK ] Finished Helper to synchronize boot up for ifupdown.
[ OK ] Started Rule-based Manager for Device Events and Files.
[ OK ] Finished Armbian leds state.
[ OK ] Finished Preprocess NFS configuration.
Starting Raise network interfaces…
Starting NFSv4 ID-name mapping service…
[ OK ] Reached target NFS client services.
[ OK ] Started NFSv4 ID-name mapping service.
[ OK ] Found device /dev/ttyS0.

[ OK ] Finished Raise network interfaces.
[ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
Starting Load/Save RF Kill Switch Status…
[ OK ] Started Load/Save RF Kill Switch Status.
[ OK ] Finished Armbian ZRAM config.
Starting Armbian memory supported logging…

[ OK ] Finished Armbian memory supported logging.
Starting Journal Service…
[ OK ] Started Journal Service.
Starting Flush Journal to Persistent Storage…
[ OK ] Finished Flush Journal to Persistent Storage.
Starting Create Volatile Files and Directories…
[ OK ] Finished Create Volatile Files and Directories.
[ OK ] Started Entropy Daemon based on the HAVEGE algorithm.
Starting RPC bind portmap service…
Starting Update UTMP about System Boot/Shutdown…
[ OK ] Finished Update UTMP about System Boot/Shutdown.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
Starting Armbian hardware monitoring…
Starting Armbian hardware optimization…
Starting Armbian filesystem resize…
[ OK ] Started RPC bind portmap service.
[ OK ] Finished Armbian hardware monitoring.
[ OK ] Reached target RPC Port Mapper.

[ OK ] Started Load/Save RF Kill Switch Status.
[ 12.591320] Unable to handle kernel paging request at virtual address 000000005a1f4a00
[ 12.599302] Mem abort info:
[ 12.602127] ESR = 0x0000000086000004
[ 12.605899] EC = 0x21: IABT (current EL), IL = 32 bits
[ 12.611233] SET = 0, FnV = 0
[ 12.611573] EXT4-fs (zram2): mounted filesystem without journal. Quota mode: none.
[ 12.614295] EA = 0, S1PTW = 0
[ 12.614299] FSC = 0x04: level 0 translation fault
[ 12.614303] user pgtable: 4k pages, 48-bit VAs, pgdp=0000000042bda000
[ 12.614308] [000000005a1f4a00] pgd=0000000000000000, p4d=0000000000000000
[ 12.614319] Internal error: Oops: 86000004 [#1] SMP
[ 12.614325] Modules linked in: lz4hc lz4
[ 12.621919] ext4 filesystem being mounted at /tmp supports timestamps until 2038 (0x7fffffff)
[ 12.625016] hci_uart btqca 8723ds btrtl sunxi_cedrus(C) btbcm btintel bluetooth videobuf2_dma_contig
[ 12.653297] systemd[1]: Finished Armbian ZRAM config.
[ 12.660399] cfg80211 v4l2_mem2mem videobuf2_memops ecdh_generic videobuf2_v4l2 rfkill ecc videobuf2_common panfrost videodev zram gpu_sched mc drm_shmem_helper cpufreq_dt g_ether usb_f_rndis u_ether libcomposite fuse nfsd auth_rpcgss nfs_acl lockd grace sunrpc spidev dwmac_sun8i mdio_mux i2c_mv64xxx
[ 12.701252] CPU: 3 PID: 28 Comm: kworker/3:0 Tainted: G C 5.19.4-sunxi64 #22.08.2
[ 12.710025] Hardware name: MangoPi Mcore (DT)
[ OK 12.714376] Workqueue: events dbs_work_handler
0m] Finished 12.720198] pstate: 40000005 (nZcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=–)
;1;39mArmbian ZR[ 12.728533] pc : 0x5a1f4a00
AM config.
[ 12.732704] lr : 0x5a1f4a00
[ 12.736875] sp : ffff8000096cba70
[ 12.740183] x29: ffff000004525200 x28: ffff0000028bc500 x27: ffff00003fd710b8
[ 12.747313] x26: ffff000002893f00 x25: 0000000000000000 x24: 000000005a1f4a00
[ 12.750304] systemd[1]: Starting Armbian memory supported logging…
[ 12.754441] x23: 0000000023c34600 x22: 000000005a1f4a00 x21: ffff8000096cba90
[ 12.754452] x20: ffff8000080e69f8 x19: 0000000000000000 x18: 0000000000000001
[ 12.754460] x17: 000000000000007e x16: 0000000000000001 x15: 0000000000000001
[ 12.754468] x14: 0000000000000001 x13: 0000000000000002 x12: 0000000000000101
[ 12.754475] x11: 0000000000000003 x10: 00000000016e3600 x9 : 000000005a1f4a00
[ 12.754483] x8 : 0000000000000002 x7 : 000000003fdfdbf8 x6 : 000000002d0fa500
[ 12.754491] x5 : 0000000000000002 x4 : 0000000000000000 x3 : 0000000000000002
[ 12.810735] x2 : 0000000000000002 x1 : 0000000000000001 x0 : 000000002d0fa500
[ 12.817886] Call trace:
[ 12.820328] 0x5a1f4a00
Startin[ 12.822783] Code: bad PC value
g Armbi[ 12.827214] —[ end trace 0000000000000000 ]—
an memory supported logging.[ 12.835756] EXT4-fs (zram1): mounted filesystem without journal. Quota mode: none.

[ 12.843671] ext4 filesystem being mounted at /var/log supports timestamps until 2038 (0x7fffffff)
[ 14.781650] systemd[1]: Finished Armbian memory supported logging.
[ OK ] Finished Armbian memory supported logging.
[ 14.813001] systemd[1]: Starting Journal Service…
Starting Journal Service…
[ 14.991515] systemd[1]: Started Journal Service.
[ OK ] Started Journal Service.
Starting Flush Journal to Persistent Storage…
[ 15.045151] systemd-journald[563]: Received client request to flush runtime journal.
[ 15.074982] systemd-journald[563]: File /var/log/journal/15bfb9ddf1104e079a590eb43675536b/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ OK ] Finished Flush Journal to Persistent Storage.
Starting Create Volatile Files and Directories…
[ OK ] Finished Create Volatile Files and Directories.
[ OK ] Started Entropy Daemon based on the HAVEGE algorithm.
Starting RPC bind portmap service…
Starting Update UTMP about System Boot/Shutdown…
[ OK ] Finished Update UTMP about System Boot/Shutdown.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
Starting Armbian hardware monitoring…
Starting Armbian hardware optimization…
Starting Armbian filesystem resize…
[ OK ] Started RPC bind portmap service.
[ OK ] Finished Armbian hardware monitoring.
[ OK ] Reached target RPC Port Mapper.
[ OK ] Finished Armbian hardware optimization.
[ ***] A start job is running for Armbian filesystem resize (17s / 6min 10s)
[ ] A start job is running for Armbian …ystem resize (5min 48s / 6min 10s)
[FAILED] Failed to start Armbian filesystem resize.
See ‘systemctl status armbian-resize-filesystem.service’ for details.
[ OK ] Reached target Basic System.
Starting Save/Restore Sound Card State…
[ OK ] Started Armbian first run tasks.
[ OK ] Created slice system-getty.slice.
Starting Bluetooth service…
[ OK ] Started D-Bus System Message Bus.
Starting Network Manager…
Starting Remove Stale Onli…t4 Metadata Check Snapshots…
Starting Dispatcher daemon for systemd-networkd…
Starting System Logging Service…
Starting Self Monitoring a…g Technology (SMART) Daemon…
Starting Resets System Activity Logs…
Starting User Login Management…
Starting WPA supplicant…
[ OK ] Finished Save/Restore Sound Card State.
[ OK ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
[ OK ] Reached target Sound Card.
[ OK ] Started Self Monitoring an…ing Technology (SMART) Daemon.
[ OK ] Started Bluetooth service.
[ OK ] Started WPA supplicant.
[ OK ] Reached target Bluetooth.
[ OK ] Started Network Manager.
[ OK ] Reached target Network.
[ OK ] Reached target Network is Online.
[ 467.485510] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 467.490889] Bluetooth: BNEP filters: protocol multicast
[ 467.496242] Bluetooth: BNEP socket layer initialized
Starting chrony, an NTP client/server…
Starting NFS Mount Daemon…
Starting OpenVPN service…
Starting /etc/rc.local Compatibility…
Starting OpenBSD Secure Shell server…
[ OK ] Started vnStat network traffic monitor.
[ OK ] Started NFS Mount Daemon.
[ OK ] Finished OpenVPN service.
[ OK ] Started /etc/rc.local Compatibility.
Starting NFS server and services…
Starting Hostname Service…
[
] (5 of 8) A start job is running for…client/server (8min 5s / 9min 11s)

One additional comment is that U-Boot identifies this board as an H616 when in reality the board is an H618. It is obvious that these are not interchangeable, since an H616 is able to boot from an image that the H618 is not. As an enhancement request, can this be updated to identify the board correctly?

Trying again: @disablewong @UnlimitedKaos

@bracka

This is where Diet MangoPi Bookworm dies

DietMangoH618-ARMv8-Bookworm.img.xz

U-Boot SPL 2021.10-armbian (Jun 01 2023 - 17:35:46 +0800)
pmic id is 0x4b
DRAM: 1024 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.9(debug):c0d8ee386-dirty
NOTICE:  BL31: Built : 17:35:38, Jun  1 2023
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a082d60, model: MangoPi Mcore
INFO:    ARM GICv2 driver initialized
INFO:    Configuring SPC Controller
INFO:    PMIC: Probing AXP305 on RSB
ERROR:   RSB: set run-time address: 0x10003
INFO:    Could not init RSB: -65539
INFO:    BL31: Platform setup done
INFO:    BL31: Initializing runtime services
INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied
INFO:    BL31: cortex_a53: CPU workaround for 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.


U-Boot 2021.10-armbian (Jun 01 2023 - 17:35:46 +0800) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: MangoPi Mcore
I2C:   ready
DRAM:  1 GiB
MMC:   mmc@4020000: 0
Loading Environment from FAT... Unable to use mmc 0:1... In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Net:   phy interface6
eth0: ethernet@5030000
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3202 bytes read in 3 ms (1 MiB/s)
## Executing script at 4fc00000
U-boot loaded from SD
Boot script loaded from mmc
227 bytes read in 2 ms (110.4 KiB/s)
33777 bytes read in 8 ms (4 MiB/s)
Failed to load '/boot/dtb/allwinner/overlay/-fixup.scr'
11007115 bytes read in 463 ms (22.7 MiB/s)
22333448 bytes read in 934 ms (22.8 MiB/s)
Moving Image from 0x40080000 to 0x40200000, end=417c0000
## Loading init Ramdisk from Legacy Image at 4ff00000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    11007051 Bytes = 10.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000
   Loading Ramdisk to 49580000, end 49fff44b ... OK
   Loading Device Tree to 000000004950f000, end 000000004957ffff ... OK

Starting kernel ...

[    1.266711] debugfs: Directory '5096000.codec' with parent 'H616 Audio Codec' already present!
[    1.306674] sunxi-hdmi soc:hdmi-audio@1: snd_soc_register_card failed
[    1.396318] spi-nor spi0.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[    1.616709] sunxi-hdmi soc:hdmi-audio@1: snd_soc_register_card failed
[    1.625288] sunxi-hdmi soc:hdmi-audio@1: snd_soc_register_card failed
[    1.633256] sunxi-hdmi soc:hdmi-audio@1: snd_soc_register_card failed
[    1.678531] sunxi-hdmi soc:hdmi-audio@1: snd_soc_register_card failed
[    2.161631] sunxi-hdmi soc:hdmi-audio@1: snd_soc_register_card failed
[    2.186616] sunxi-hdmi soc:hdmi-audio@1: snd_soc_register_card failed
[    2.193715] axp2101-regulator axp2101-regulator.0: Setting DCDC frequency for unsupported AXP variant
[    2.203031] axp2101-regulator axp2101-regulator.0: Error setting dcdc frequency: -22
[    2.212263] sunxi-hdmi soc:hdmi-audio@1: snd_soc_register_card failed
[    2.255877] sunxi-hdmi soc:hdmi-audio@1: snd_soc_register_card failed
[    2.289973] debugfs: Directory '1100000.mixer' with parent 'regmap' already present!
[    2.297850] debugfs: Directory '1100000.mixer' with parent 'regmap' already present!

Andriod doesn’t write anything to the UART

This is where Armbian MangoPi Bookworm dies

Armbian_22.08.2_Mangopimcore_bullseye_edge_5.19.4.img

U-Boot SPL 2021.10-armbian (Jun 01 2023 - 17:35:46 +0800)
pmic id is 0x4b
DRAM: 1024 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.9(debug):c0d8ee386-dirty
NOTICE:  BL31: Built : 17:35:38, Jun  1 2023
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a082d60, model: MangoPi Mcore
INFO:    ARM GICv2 driver initialized
INFO:    Configuring SPC Controller
INFO:    PMIC: Probing AXP305 on RSB
ERROR:   RSB: set run-time address: 0x10003
INFO:    Could not init RSB: -65539
INFO:    BL31: Platform setup done
INFO:    BL31: Initializing runtime services
INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied
INFO:    BL31: cortex_a53: CPU workaround for 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.


U-Boot 2021.10-armbian (Jun 01 2023 - 17:35:46 +0800) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: MangoPi Mcore
I2C:   ready
DRAM:  1 GiB
MMC:   mmc@4020000: 0
Loading Environment from FAT... Unable to use mmc 0:1... In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Net:   phy interface6
eth0: ethernet@5030000
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3202 bytes read in 3 ms (1 MiB/s)
## Executing script at 4fc00000
U-boot loaded from SD
Boot script loaded from mmc
131 bytes read in 2 ms (63.5 KiB/s)
33777 bytes read in 8 ms (4 MiB/s)
Failed to load '/boot/dtb/allwinner/overlay/-fixup.scr'
10837867 bytes read in 456 ms (22.7 MiB/s)
22333448 bytes read in 935 ms (22.8 MiB/s)
Moving Image from 0x40080000 to 0x40200000, end=417c0000
## Loading init Ramdisk from Legacy Image at 4ff00000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    10837803 Bytes = 10.3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000
   Loading Ramdisk to 495aa000, end 49ffff2b ... OK
   Loading Device Tree to 0000000049539000, end 00000000495a9fff ... OK

Starting kernel ...

Loading, please wait...
Starting version 247.3-7+deb11u2
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
armbian_root: clean, 46852/131072 files, 436718/513024 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Armbian 22.08.2 Bullseye!

[  OK  ] Created slice system-modprobe.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Reached target Paths.
[  OK  ] Reached target Slices.
[  OK  ] Reached target Swap.
[  OK  ] Reached target System Time Set.
[  OK  ] Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on udev Kernel Socket.
         Mounting Huge Pages File System...
         Mounting POSIX Message Queue File System...
         Mounting NFSD configuration filesystem...
         Mounting RPC Pipe File System...
         Mounting Kernel Debug File System...
         Starting Restore / save the current clock...
         Starting Set the console keyboard layout...
         Starting Create list of st…odes for the current kernel...
         Starting Load Kernel Module configfs...
         Starting Load Kernel Module drm...
         Starting Load Kernel Module fuse...
[  OK  ] Started Nameserver information manager.
[  OK  ] Reached target Network (Pre).
         Starting Load Kernel Modules...
         Starting Remount Root and Kernel File Systems...
         Starting Coldplug All udev Devices...
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted NFSD configuration filesystem.
[  OK  ] Mounted RPC Pipe File System.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Finished Restore / save the current clock.
[  OK  ] Finished Create list of st… nodes for the current kernel.
[  OK  ] Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module drm.
[  OK  ] Finished Set the console keyboard layout.
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Mounting FUSE Control File System...
         Mounting Kernel Configuration File System...
         Starting pNFS block layout mapping daemon...
         Starting Load/Save Random Seed...
         Starting Apply Kernel Variables...
         Starting Create System Users...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started pNFS block layout mapping daemon.
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Coldplug All udev Devices.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
         Starting Rule-based Manage…for Device Events and Files...
[  OK  ] Mounted /tmp.
[  OK  ] Reached target Local File Systems.
         Starting Armbian leds state...
         Starting Armbian ZRAM config...
         Starting Set console font and keymap...
         Starting Raise network interfaces...
         Starting Preprocess NFS configuration...
[  OK  ] Finished Set console font and keymap.
[  OK  ] Finished Preprocess NFS configuration.
[  OK  ] Finished Armbian leds state.
         Starting NFSv4 ID-name mapping service...
[  OK  ] Reached target NFS client services.
[  OK  ] Started NFSv4 ID-name mapping service.
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Finished Raise network interfaces.
[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Finished Armbian ZRAM config.
         Starting Armbian memory supported logging...
[  OK  ] Finished Armbian memory supported logging.
         Starting Journal Service...
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Finished Flush Journal to Persistent Storage.
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Create Volatile Files and Directories.
[  OK  ] Started Entropy Daemon based on the HAVEGE algorithm.
         Starting RPC bind portmap service...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
         Starting Armbian hardware monitoring...
         Starting Armbian hardware optimization...
         Starting Armbian filesystem resize...
[  OK  ] Started RPC bind portmap service.
[  OK  ] Finished Armbian hardware monitoring.
[  OK  ] Reached target RPC Port Mapper.
[***   ] (1 of 2) A start job is running for…ware optimization (13s / 2min 10s)

This is where Armbian MangoPi Jammy dies

Armbian_22.08.2_Mangopimcore_jammy_edge_5.19.4_xfce_desktop.img.xz

U-Boot SPL 2021.10-armbian (Jun 01 2023 - 14:28:58 +0800)
pmic id is 0x4b
DRAM: 1024 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.9(debug):c0d8ee386-dirty
NOTICE:  BL31: Built : 14:28:50, Jun  1 2023
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a082d60, model: MangoPi Mcore
INFO:    ARM GICv2 driver initialized
INFO:    Configuring SPC Controller
INFO:    PMIC: Probing AXP305 on RSB
ERROR:   RSB: set run-time address: 0x10003
INFO:    Could not init RSB: -65539
INFO:    BL31: Platform setup done
INFO:    BL31: Initializing runtime services
INFO:    BL31: cortex_a53: CPU workaround for 855873 was applied
INFO:    BL31: cortex_a53: CPU workaround for 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.


U-Boot 2021.10-armbian (Jun 01 2023 - 14:28:58 +0800) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: MangoPi Mcore
I2C:   ready
DRAM:  1 GiB
MMC:   mmc@4020000: 0
Loading Environment from FAT... Unable to use mmc 0:1... In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Net:   phy interface6
eth0: ethernet@5030000
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3202 bytes read in 3 ms (1 MiB/s)
## Executing script at 4fc00000
U-boot loaded from SD
Boot script loaded from mmc
131 bytes read in 3 ms (42 KiB/s)
33777 bytes read in 8 ms (4 MiB/s)
Failed to load '/boot/dtb/allwinner/overlay/-fixup.scr'
13147885 bytes read in 552 ms (22.7 MiB/s)
22333448 bytes read in 935 ms (22.8 MiB/s)
Moving Image from 0x40080000 to 0x40200000, end=417c0000
## Loading init Ramdisk from Legacy Image at 4ff00000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    13147821 Bytes = 12.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000
   Loading Ramdisk to 49376000, end 49fffead ... OK
   Loading Device Tree to 0000000049305000, end 0000000049375fff ... OK

Starting kernel ...

Loading, please wait...
Starting version 249.11-0ubuntu3
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.37.2
[/usr/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
armbian_root: clean, 162061/524640 files, 815923/971776 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Armbian 22.08.2 Jammy!

[  OK  ] Created slice Slice /system/modprobe.
[  OK  ] Created slice Slice /system/serial-getty.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Reached target Slice Units.
[  OK  ] Reached target Swaps.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target Local Verity Protected Volumes.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket.
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on udev Kernel Socket.
         Mounting Huge Pages File System...
         Mounting POSIX Message Queue File System...
         Mounting Kernel Debug File System...
         Starting Restore / save the current clock...
         Starting Set the console keyboard layout...
         Starting Create List of Static Device Nodes...
         Starting Load Kernel Module chromeos_pstore...
         Starting Load Kernel Module configfs...
         Starting Load Kernel Module drm...
         Starting Load Kernel Module efi_pstore...
         Starting Load Kernel Module fuse...
         Starting Load Kernel Module pstore_blk...
         Starting Load Kernel Module pstore_zone...
         Starting Load Kernel Module ramoops...
[  OK  ] Started Nameserver information manager.
[  OK  ] Reached target Preparation for Network.
         Starting Load Kernel Modules...
         Starting Remount Root and Kernel File Systems...
         Starting Coldplug All udev Devices...
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Finished Restore / save the current clock.
[  OK  ] Finished Set the console keyboard layout.
[  OK  ] Finished Create List of Static Device Nodes.
[  OK  ] Finished Load Kernel Module chromeos_pstore.
[  OK  ] Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module efi_pstore.
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Module pstore_blk.
[  OK  ] Finished Load Kernel Module pstore_zone.
[  OK  ] Finished Load Kernel Module ramoops.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Mounting FUSE Control File System...
         Mounting Kernel Configuration File System...
         Starting Load/Save Random Seed...
         Starting Apply Kernel Variables...
         Starting Create System Users...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Finished Coldplug All udev Devices.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Create System Users.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Preparation for Local File Systems.
         Mounting /tmp...
         Starting Rule-based Manage…for Device Events and Files...
[  OK  ] Mounted /tmp.
[  OK  ] Reached target Local File Systems.
         Starting Armbian leds state...
         Starting Armbian ZRAM config...
         Starting Set console font and keymap...
         Starting Raise network interfaces...
         Starting Tell Plymouth To Write Out Runtime Data...
         Starting Set Up Additional Binary Formats...
[  OK  ] Finished Armbian leds state.
[  OK  ] Finished Set console font and keymap.
[  OK  ] Finished Tell Plymouth To Write Out Runtime Data.
         Mounting Arbitrary Executable File Formats File System...
[  OK  ] Mounted Arbitrary Executable File Formats File System.
[  OK  ] Finished Set Up Additional Binary Formats.
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Reached target Local Encrypted Volumes.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Finished Raise network interfaces.
[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
[  OK  ] Finished Armbian ZRAM config.
         Starting Armbian memory supported logging...
         Starting Load/Save RF Kill Switch Status...
         Starting Load Kernel Module chromeos_pstore...
         Starting Load Kernel Module efi_pstore...
         Starting Load Kernel Module pstore_blk...
         Starting Load Kernel Module pstore_zone...
         Starting Load Kernel Module ramoops...
[  OK  ] Finished Load Kernel Module chromeos_pstore.
[  OK  ] Finished Load Kernel Module efi_pstore.
[  OK  ] Finished Load Kernel Module pstore_blk.
[  OK  ] Finished Load Kernel Module pstore_zone.
[  OK  ] Finished Load Kernel Module ramoops.
[  OK  ] Started Load/Save RF Kill Switch Status.
         Starting Load Kernel Module chromeos_pstore...
         Starting Load Kernel Module efi_pstore...
         Starting Load Kernel Module pstore_blk...
         Starting Load Kernel Module pstore_zone...
         Starting Load Kernel Module ramoops...
[  OK  ] Finished Load Kernel Module chromeos_pstore.
[  OK  ] Finished Load Kernel Module efi_pstore.
[  OK  ] Finished Load Kernel Module pstore_blk.
[  OK  ] Finished Load Kernel Module pstore_zone.
[  OK  ] Finished Load Kernel Module ramoops.


em… I am not the developer of MangoPi, and debugging a board takes effort.
You may need to dig deep into the schematics opened by MangoPi or get into the Chinese QQ group to gain additional support.

First of all, I am surprise that the android image doesn’t work for you? It must be written to sdcard through the phonexcard software provided. Win32 Disk Imager will not work.

Next, you shall check your power supply and the cooling of the board as it is obviously hot.
I am currently running my H618 with dietpi so after a quick check, the dmesg you post appeared in my board too. The message seems not the cause of the boot failure, it is more like an incomplete boot.

root@DietMango618:~# dmesg | grep debugfs
[    2.273125] debugfs: Directory '1100000.mixer' with parent 'regmap' already present!
[    2.280996] debugfs: Directory '1100000.mixer' with parent 'regmap' already present!
root@DietMango618:~# dmesg | grep axp2101
[    2.196498] axp2101-pek: Failed to locate of_node [id: 0]ree software;
[    2.206563] axp2101-regulator axp2101-regulator.0: Setting DCDC frequency for unsupported AXP variant
[    2.215856] axp2101-regulator axp2101-regulator.0: Error setting dcdc frequency: -22

My H618 is currently serving as a VPN server for me and it is running stable.

root@DietMango618:~# neofetch
       _,met$$$$$gg.          root@DietMango618
    ,g$$$$$$$$$$$$$$$P.       -----------------
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 12 (bookworm) aarch64
 ,$$P'              `$$$.     Host: MangoPi Mcore
',$$P       ,ggs.     `$$b:   Kernel: 5.19.4-sunxi64
`d$$'     ,$P"'   .    $$$    Uptime: 11 days, 1 hour, 42 mins
 $$P      d$'     ,    $$P    Packages: 321 (dpkg)
 $$:      $$.   -    ,d$$'    Shell: bash 5.2.15
 $$;      Y$b._   _,d$P'      Terminal: /dev/pts/1
 Y$$.    `.`"Y$$$$P"'         CPU: (4) @ 1.800GHz
 `$$b      "-.__              Memory: 164MiB / 984MiB
  `Y$$
   `Y$$.
     `$$b.
       `Y$$b.
          `"Y$b._
              `"""

Would you please share the power supply you used and the cooling configuration you applied?

In my case, I am using the a type-c 65W pd adapter for supply, and cool it with a metal casing with a small 30mm fan.

Actually H618 and H818 are very similar or nearly identical, except that H618 have a larger L2 cache (512KB versus 1MB).
https://www.cnx-software.com/2023/07/03/orange-pi-zero-3-allwinner-h618-sbc-ships-with-up-to-4gb-ram/#:~:text=The%20main%20difference%20between%20Allwinner%20H616%20and%20Allwinner,comes%20with%201MB%20L2%20cache%20for%20better%20performance.
So it is not a surprise if they share the same kernel/uboot.

Indeed, the Armbian image shared was intended for H616 but with H618 support built-in.
I cannot access the source repo and I have no idea how to change this.

I am using a WaveShare Pi Zero 2W aluminum heatsink case for all of my MangoPis, and they are typically not up long enough to have a heat problem. The power supply is the USB-C port of my laptop attached to an Adafruit PiUART, which also gives me access to the serial console on UART0 (which I am logging the outputs from) and an on/off power switch. Typically it is powered from the GPIO pins.

I have also used an official Pi 4 USB-C power supply and it has made no difference.

Since I am not fully booting, the length of time for each test is very short, so we’re not getting hot. The H616s run bookworm just fine with the same physical configuration, although the kernel remains back-rev (v5 not v6). That’s a separate issue … :slight_smile:

First of all, is there something we can do to ensure that we are running the same DietPi image? I find it odd that yours boots and mine hangs where it does. Obviously there isn’t much further I can do since I never get a responsive system let alone a login prompt. ANY operating system booting fully would be a step forward.

I will also try finding an Android loader. I am not very familiar with Android, but again anything booting would be a step forward.

I am running a 16G Kingston MicroSD - if that matters. I also have others.

Thanks for try to help!
Tony

Hi @disablewong

First of all, thanks for stepping in and doing all you can!

Regarding the MangoPi MQ-QUAD H618

I may try to get DietPi running. Any help you could give with regards to ensuring I have a good copy of the image you are able to boot would be appreciated, but beyond that I cannot see expending a whole lot of effort chasing things down for these boards. Without visibility into the Chinese sites (and not knowing the language), it looks like a lost cause, especially since the main web site never seems to get updated.

For all intents and purposes, these boards are dead ended unless something changes.
( … and the H616 doesn’t fare much better! )

Thanks Again,
Tony

I used a similar aluminum case, but a fan is a must if you want to have it running stable.
Mine hang even after I got it in command prompt if the fan is not on.
As I remember, I cannot get a stable boot with GPIO only, so just connect RX, TX and GND, not the 5V and supply it with a usb power supply. If in double, do not use PD as this board do not recognize PD protocol.

The DietPi image was actually provided by me, the image you’ve got should be identical to mine.
So from the first place, you should follow strictly the instruction on Mangopi.org to test the android image and ensure there is no hardware problem.


You should use the pheonixcard software to write the android image to the card.
Both win32 Disk imager and etcher WILL NOT WORK.

If the Android is running fine, then next we can investigate the chance of booting linux.

Vasco

Got you: … will do! (found it)
Tony