Can someone make a build for orange pi zero 3?

Maybe useful:

=> bdinfo
boot_params = 0x0000000040000100
DRAM bank   = 0x0000000000000000
-> start    = 0x0000000040000000
-> size     = 0x0000000060000000
flashstart  = 0x0000000000000000
flashsize   = 0x0000000000000000
flashoffset = 0x0000000000000000
baudrate    = 115200 bps
relocaddr   = 0x000000009ff62000
reloc off   = 0x0000000055f62000
Build       = 64-bit
current eth = unknown
ethaddr     = 02:00:ef:e7:1c:64
IP addr     = <NULL>
fdt_blob    = 0x000000009bf3cde0
new_fdt     = 0x000000009bf3cde0
fdt_size    = 0x0000000000005000
lmb_dump_all:
    memory.cnt		   = 0x1
    memory.reg[0x0].base   = 0x40000000
		   .size   = 0x60000000

    reserved.cnt	   = 0x2
    reserved.reg[0x0].base = 0x40000000
		     .size = 0x40000
    reserved.reg[0x1].base = 0x9bf3b9f0
		     .size = 0x40c4610
arch_number = 0x0000000000000000
TLB addr    = 0x000000009fff0000
irq_sp      = 0x000000009bf3cdd0
sp start    = 0x000000009bf3cdd0
Early malloc usage: 440 / 2000
=>

Can you try that

If the image boots, try dump the registers

The device didn’t boot, sorry.

Connected.

U-Boot SPL 2023.04-OpenWrt-r24387+1-5be34bc001 (Dec 02 2023 - 12:38:24 +0000)
DRAM: 2048 MiB
Trying to boot from MMC1
NOTICE:  BL31: v2.9(release):OpenWrt v2.9-1 (sunxi-h616)
NOTICE:  BL31: Built : 10:19:42, Dec  9 2023
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a0a02a0, model: OrangePi Zero3
ERROR:   RSB: set run-time address: 0x10003


U-Boot 2023.04-OpenWrt-r24387+1-5be34bc001 (Dec 02 2023 - 12:38:24 +0000) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: OrangePi Zero3
DRAM:  2 GiB (effective 7.8 EiB)
~.
Disconnected.

It's a pity, it worked for me on my tvbox with 1.5GB LDPPR3 memory. I'll make a version with more expanded output later

Hi, my RPi Z3 boots with this test image:
https://dietpi.com/downloads/images/testing/DietPi_OrangePiZero3-1.5G-ARMv8-Bookworm.img.xz
Links to this discussion:
Image | Orange Pi Zero 3 #6594

This distribution uses the vendor's u-boot. It's outdated from mainline.
As I said above, it's very easy to create two different image. But we need to try to combine them into one config.
I will prepare an image that will allow me to get more information about the problem.

If you have time, try this version: https://disk.yandex.ru/d/vKy_4o2xSHcwpA
it should dump registers anyway

Done. It reports 2GB:

Connected.

U-Boot SPL 2023.04-OpenWrt-r24387+1-5be34bc001 (Dec 02 2023 - 12:38:24 +0000)

DRAM: 2048 MiB

=> md.l 0x047FA000

047fa000: 80000000 000009f4 0e40ff00 0000018f

047fa010: 00000010 00103040 00000000 00000000

047fa020: ffffffff 000007ff 0000ffff 00000000

047fa030: 00000000 00000000 00000000 00000000

047fa040: 00000000 00000000 00000000 00000000

047fa050: 00000001 00000000 00000000 00000000

047fa060: 00000000 00000000 00000000 00000000

047fa070: 00000000 00000000 00000000 00000000

047fa080: 00000000 00000000 00000000 00000000

047fa090: 00000000 00000000 00000000 ffff0002

047fa0a0: 00000000 00000000 00000000 00000000

047fa0b0: 00000000 00000000 00000000 00000000

047fa0c0: 00000000 00000000 00000000 00000000

047fa0d0: 00000000 00000000 00000000 00000000

047fa0e0: 00000000 00000000 00000000 00000000

047fa0f0: 00000000 00000000 00000000 00000000

047fa100: 00000000 00000000 00000000 00000000

047fa110: 00000000 00000000 00000000 00000000

047fa120: 00000000 00000000 00000000 00000000

047fa130: 00000000 00000000 00000000 00000000

047fa140: 00000000 00000000 00000000 00000000

047fa150: ffffffff ffffffff ffffffff ffffffff

047fa160: 00000000 00000000 00000000 00000000

047fa170: 00000000 00000000 00000000 00000000

047fa180: 00000000 00000000 00000000 00000000

047fa190: 00000000 00000000 00000000 00000000

047fa1a0: 00000000 00000000 00000000 00000000

047fa1b0: 00000000 00000000 00000000 00000000

047fa1c0: 00000000 00000000 00000000 00000000

047fa1d0: 00000000 00000000 00000000 00000000

047fa1e0: 00000000 00000000 00000000 00000000

047fa1f0: 00000000 00000000 00000000 00000000

047fa200: 00010000 00000000 00000000 00000000

047fa210: 0100000d 00640080 00000004 00000000

047fa220: 06000009 01000578 00000004 00000000

047fa230: 0200000d 00600100 00000000 00000000

047fa240: 01000009 00500064 00000000 00000000

047fa250: 20000209 1388157c 00000004 00000000

047fa260: 00640209 00200040 00000000 00000000

047fa270: 00640209 00200040 00000000 00000000

047fa280: 00000000 00000000 00000000 00000000

047fa290: 01000009 00400080 00000000 00000000

047fa2a0: 00000000 00000000 00000000 00000000

047fa2b0: 00000000 00000000 00000000 00000000

047fa2c0: 01000009 00640080 00000004 00000000

047fa2d0: 00000000 00000000 00000000 00000000

047fa2e0: 00000000 00000000 00000000 00000000

047fa2f0: 04000009 00400100 00000004 00000000

047fa300: 00000000 00000000 00000000 00000000

047fa310: 2000060d 09600af0 00000004 00000000

047fa320: 00000000 00000000 00000000 00000000

047fa330: 00000000 00000000 00000000 00000000

047fa340: 00000000 00000000 00000000 00000000

047fa350: 00000000 00000000 00000000 00000000

047fa360: 0800060d 02000300 00000004 00000000

047fa370: 00000000 00000000 00000004 00000000

047fa380: 00000000 00000000 00000000 00000000

047fa390: 00000000 00000000 00000000 00000000

047fa3a0: 0064000d 00200040 00000004 00000000

047fa3b0: 00000000 00000000 00000000 00000000

047fa3c0: 00000000 00000000 00000000 00000000

047fa3d0: 00000000 00000000 00000000 00000000

047fa3e0: 00000000 00000000 00000004 00000000

047fa3f0: 00000000 00000000 00000000 00000000

047fa400: 00000000 00000000 00000000 00000000

047fa410: 00000000 00000000 00000000 00000000

047fa420: 00000000 00000000 00000000 00000000

047fa430: 00000000 00000000 00000000 00000000

047fa440: 00000000 00000000 00000000 00000000

047fa450: 00000000 00000000 00000000 00000000

047fa460: 00000000 00000000 00000000 00000000

047fa470: 00000000 00000000 00000000 00000000

047fa480: 00000000 00000000 00000000 00000000

047fa490: 00640209 00200040 00000000 00000000

047fa4a0: 00000000 00000000 00000000 00000000

047fa4b0: 00000000 00000000 00000000 00000000

047fa4c0: 00000000 00000000 00000000 00000000

047fa4d0: 00000000 00000000 00000000 00000000

047fa4e0: 00000000 00000000 00000000 00000000

047fa4f0: 00000000 00000000 00000000 00000000

047fa500: 01000130 00000000 00000000 00000000

047fa510: 00000000 00000000 00000000 00000000

=> md.l 0x047FB000

047fb000: c1080020 00000001 00000001 00008100

047fb010: 00000030 00001624 00000000 00000000

047fb020: 00000000 00800000 00000001 00000001

047fb030: 00000000 00402010 00000000 00000000

047fb040: 00000000 00000000 00000000 00000000

047fb050: 00210000 00000000 00000000 00000000

047fb060: 00000000 002b0065 002b0065 002b0065

047fb070: 002b0065 002b0065 002b0065 002b0065

047fb080: 002b0065 002b0065 002b0065 002b0065

047fb090: 002b0065 002b0065 002b0065 002b0065

047fb0a0: 002b0065 002b0065 002b0065 002b0065

047fb0b0: 002b0065 002b0065 002b0065 002b0065

047fb0c0: 00000000 00001000 00001000 00010001

047fb0d0: 000203f0 01f20000 00000d05 0034001b

047fb0e0: 00330000 00100004 00040072 00240009

047fb0f0: 00000000 0000066f 0000066f 0000066f

047fb100: 180f0c10 00030418 050a1212 0060600c

047fb110: 07040408 02020606 02020005 00000202

047fb120: 04041004 00020208 000e0c05 440c021c

047fb130: 00000008 0a100002 00000045 00000000

047fb140: 00000000 00000000 00000000 00000000

047fb150: 00000000 00000000 00000000 00000000

047fb160: 00000000 00000000 00000000 00000000

047fb170: 00000000 00000000 00000000 00000000

047fb180: c2000040 02000100 00000000 00000000

047fb190: 02918005 00100202 07000000 00000000

047fb1a0: c0400003 00010001 80000000 80000000

047fb1b0: 00000000 00000202 00000000 00000001

047fb1c0: 00000001 00000001 00000001 00000001

047fb1d0: 00000001 00000001 00000001 00000001

047fb1e0: 00000001 00000001 00000001 00000001

047fb1f0: 00000001 00000001 00000001 00000001

047fb200: 0000001f 00080808 00000000 00000000

047fb210: 00001f1f 07070707 07070707 00000f0f

047fb220: 00003f3f 00000000 00000000 00000000

047fb230: 00000000 00000000 00000000 00000000

047fb240: 04000400 00000201 00000201 00000201

047fb250: 00003005 00000000 00000000 0f000001

047fb260: 0f000001 0f00007f 0f00007f 0f00007f

047fb270: 0f00007f 0f00007f 0f00007f 0f00007f

047fb280: 0f00007f 0f00007f 0f00007f 0f00007f

047fb290: 0f00007f 0f00007f 0f00007f 0f00007f

047fb2a0: 0f00007f 0f00007f 0f00007f 0f00007f

047fb2b0: 0f00007f 0f00007f 0f00007f 0f00007f

047fb2c0: 0f00007f 0f00007f 0f00007f 0f00007f

047fb2d0: 0f00007f 0f00007f 0f00007f 0f00007f

047fb2e0: 0f00007f 0f00007f 0f00007f 0f00007f

047fb2f0: 0f00007f 0f00007f 0f00007f 0f00007f

047fb300: 00000000 00000000 36000000 00000000

047fb310: 00000000 00000000 00000000 00000000

047fb320: 00000001 00000001 00000001 00000001

=> md.l 0x04800000

04800000: 0000009f 0000002d 00000088 00000000

04800010: 00000000 00000014 00000000 0000000a

04800020: 00000000 00000000 00000000 00000000

04800030: 00000000 00000000 00000023 0000003f

04800040: 0000000e 0000000e 00000007 00000007

04800050: 00000001 00000080 00000037 00000016

04800060: 00000029 00000000 00000020 00000040

04800070: 00000000 00000010 00000000 00000000

04800080: 00000000 00000000 00000000 00000000

04800090: 00000000 00000000 00000000 0000003f

048000a0: 00000020 00000000 00000011 000000ff

048000b0: 000000ff 00000000 00000088 00000013

048000c0: 00000002 00000000 00000017 00000005

048000d0: 00000004 00000019 00000006 00000007

048000e0: 00000008 00000009 0000000a 0000000b

048000f0: 0000000c 0000000d 0000000e 0000000f

04800100: 00000010 00000011 00000012 00000013

04800110: 00000014 00000015 00000016 00000001

04800120: 00000018 00000003 0000001a 00000000

04800130: 00000000 00000001 00000000 000000e4

04800140: 00000000 00000006 00000041 00000000

04800150: 00000032 0000007f 00000040 00000000

04800160: 00000000 00000000 00000000 00000000

04800170: 00000000 00000000 00000000 00000000

04800180: 00000016 00000000 00000000 00000000

04800190: 00000000 00000000 0000000a 00000000

048001a0: 00000000 00000000 00000000 00000000

048001b0: 00000000 00000000 00000000 00000000

048001c0: 00000001 00000047 00000001 00000047

048001d0: 00000000 0000001f 00000000 00000001

048001e0: 0000000b 00000004 00000022 00000004

048001f0: 00000022 00000000 00000000 00000000

04800200: 00000001 00000047 00000001 00000047

04800210: 00000000 0000001f 00000000 00000001

04800220: 0000000b 00000004 00000022 00000004

04800230: 00000022 00000000 00000000 00000000

04800240: 00000000 00000000 00000000 00000000

04800250: 00000000 00000000 00000007 00000007

04800260: 00000007 00000007 00000000 00000001

04800270: 000000fe 00000001 000000f6 00000000

04800280: 00000001 00000047 00000001 00000047

04800290: 00000000 0000001f 00000000 00000001

048002a0: 0000000b 00000004 00000022 00000004

048002b0: 00000022 00000000 00000000 00000000

048002c0: 00000001 00000047 00000001 00000047

048002d0: 00000000 0000001f 00000000 00000001

048002e0: 0000000b 00000004 00000022 00000004

048002f0: 00000022 00000000 00000000 00000000

04800300: 00000000 00000000 00000000 00000000

04800310: 00000000 00000000 00000007 00000007

04800320: 00000007 00000007 00000000 00000001

04800330: 000000fe 00000001 0000009f 00000000

04800340: 0000000e 0000000e 0000000e 0000000e

04800350: 00000000 00000000 00000000 00000014

04800360: 00000000 0000000a 00000014 00000000

04800370: 0000000a 00000014 00000000 0000000a

04800380: 00000007 00000000 0000000e 00000004

04800390: 00000012 0000000a 00000000 00000000

048003a0: 00000000 00000000 00000000 00000000

048003b0: 00000000 00000000 00000000 00000000

048003c0: 00000007 00000000 0000000e 00000004

048003d0: 00000012 0000000a 00000000 00000044

048003e0: 00000000 00000000 00000000 00000000

048003f0: 00000000 00000000 00000000 00000000

04800400: 00000007 00000000 0000000e 00000004

04800410: 00000012 0000000a 00000000 00000000

04800420: 00000000 00000000 00000000 00000000

04800430: 00000000 00000000 00000000 00000000

04800440: 00000007 00000000 0000000e 00000004

04800450: 00000012 0000000a 00000000 00000044

04800460: 00000000 00000000 00000000 00000000

04800470: 00000000 00000000 00000000 00000000

04800480: 0000000f 00000024 0000000f 00000024

04800490: 0000000f 00000024 0000000f 00000024

048004a0: 0000000f 00000024 0000000f 00000024

048004b0: 0000000f 00000024 0000000f 00000024

048004c0: 0000000f 00000024 0000001c 00000014

048004d0: 00000014 00000010 00000026 00000010

048004e0: 00000026 00000010 00000026 00000010

048004f0: 00000026 00000010 00000026 00000010

04800500: 00000026 00000010 00000026 00000010

04800510: 00000026 00000010 00000026 0000001c

04800520: 00000014 00000014 0000001c 0000001c

04800530: 00000000 00000000 00000000 00000000

04800540: 0000000f 00000024 0000000f 00000024

04800550: 0000000f 00000024 0000000f 00000024

04800560: 0000000f 00000024 0000000f 00000024

04800570: 0000000f 00000024 0000000f 00000024

04800580: 0000000f 00000024 0000001c 00000014

04800590: 00000014 00000010 00000026 00000010

048005a0: 00000026 00000010 00000026 00000010

048005b0: 00000026 00000010 00000026 00000010

048005c0: 00000026 00000010 00000026 00000010

048005d0: 00000026 00000010 00000026 0000001c

048005e0: 00000014 00000014 0000001c 0000001c

048005f0: 00000000 00000000 00000000 00000000

04800600: 0000000f 00000024 0000000f 00000024

04800610: 0000000f 00000024 0000000f 00000024

04800620: 0000000f 00000024 0000000f 00000024

04800630: 0000000f 00000024 0000000f 00000024

04800640: 0000000f 00000024 0000001c 00000014

04800650: 00000014 0000000f 00000024 0000000f

04800660: 00000024 0000000f 00000024 0000000f

04800670: 00000024 0000000f 00000024 0000000f

04800680: 00000024 0000000f 00000024 0000000f

04800690: 00000024 0000000f 00000024 0000001c

048006a0: 00000014 00000014 0000001c 0000001c

048006b0: 00000000 00000000 00000000 00000000

048006c0: 0000000f 00000024 0000000f 00000024

048006d0: 0000000f 00000024 0000000f 00000024

048006e0: 0000000f 00000024 0000000f 00000024

048006f0: 0000000f 00000024 0000000f 00000024

04800700: 0000000f 00000024 0000001c 00000014

04800710: 00000014 0000000f 00000024 0000000f

04800720: 00000024 0000000f 00000024 0000000f

04800730: 00000024 0000000f 00000024 0000000f

04800740: 00000024 0000000f 00000024 0000000f

04800750: 00000024 0000000f 00000024 0000001c

04800760: 00000014 00000014 0000001c 0000001c

04800770: 00000000 00000000 00000000 00000000

04800780: 0000000c 0000000c 0000000c 0000000c

04800790: 0000000c 0000000c 0000000c 0000000c

048007a0: 0000000c 0000000c 0000000c 0000000c

048007b0: 0000000c 0000000c 0000000c 0000000c

048007c0: 0000000c 0000000c 0000000c 0000000c

048007d0: 0000000c 0000000c 00000006 00000006

048007e0: 00000006 0000000c 0000000c 0000000c

048007f0: 0000000c 00000006 0000000c 0000000c

04800800: 00000055 0000000f 0000000f 0000001f

04800810: 0000001f 00000000 00000000 00000055

04800820: 00000007 00000007 00000000 00000000

04800830: 00000000 00000000 0000005a 0000003c

04800840: 00000000 00000000 00000000 00000000

04800850: 00000000 00000000 00000000 00000000

04800860: 00000000 00000000 00000000 00000000

04800870: 00000000 00000000 00000000 00000000

04800880: 00000000 00000000 00000000 00000000

04800890: 00000000 00000000 00000000 00000000

048008a0: 00000000 00000000 00000000 00000000

048008b0: 00000000 00000000 00000000 00000000

048008c0: 00000000 00000000 00000000 00000000

048008d0: 00000000 00000000 00000000 00000000

048008e0: 00000000 00000000 00000000 00000000

048008f0: 0000003f 0000003f 0000003f 0000003f

04800900: 0000003f 0000003f 0000003f 0000003f

04800910: 0000003f 0000003f 0000003f 0000003f

04800920: 0000003f 0000003f 0000003f 0000003f

04800930: 0000003f 0000003f 00000000 00000000

04800940: 00000000 00000000 00000000 00000000

04800950: 00000000 00000000 00000000 00000000

04800960: 00000000 00000000 00000000 00000000

04800970: 00000000 00000000 00000000 00000000

04800980: 00000000 00000000 00000000 00000000

04800990: 00000000 00000000 00000000 00000000

048009a0: 00000000 00000000 00000000 00000000

048009b0: 00000000 00000000 00000000 00000000

048009c0: 00000000 00000000 00000000 00000000

048009d0: 00000000 00000000 00000000 00000000

048009e0: 00000000 00000000 00000000 00000000

048009f0: 00000000 00000000 00000000 00000000

04800a00: 00000055 0000000f 0000000f 0000001f

04800a10: 0000001f 00000000 00000000 00000055

04800a20: 00000007 00000007 00000000 00000000

04800a30: 00000000 00000000 0000005a 0000003c

04800a40: 00000000 00000000 00000000 00000000

04800a50: 00000000 00000000 00000000 00000000

04800a60: 00000000 00000000 00000000 00000000

04800a70: 00000000 00000000 00000000 00000000

04800a80: 00000000 00000000 00000000 00000000

04800a90: 00000000 00000000 00000000 00000000

04800aa0: 00000000 00000000 00000000 00000000

04800ab0: 00000000 00000000 00000000 00000000

04800ac0: 00000000 00000000 00000000 00000000

04800ad0: 00000000 00000000 00000000 00000000

04800ae0: 00000000 00000000 00000000 00000000

04800af0: 0000003f 0000003f 0000003f 0000003f

04800b00: 0000003f 0000003f 0000003f 0000003f

04800b10: 0000003f 0000003f 0000003f 0000003f

04800b20: 0000003f 0000003f 0000003f 0000003f

04800b30: 0000003f 0000003f 00000000 00000000

04800b40: 00000000 00000000 00000000 00000000

04800b50: 00000000 00000000 00000000 00000000

04800b60: 00000000 00000000 00000000 00000000

04800b70: 00000000 00000000 00000000 00000000

Trying to boot from MMC1

NOTICE: BL31: v2.9(release):OpenWrt v2.9-1 (sunxi-h616)

NOTICE: BL31: Built : 10:19:42, Dec 9 2023

NOTICE: BL31: Detected Allwinner H616 SoC (1823)

NOTICE: BL31: Found U-Boot DTB at 0x4a0a02a0, model: OrangePi Zero3

ERROR: RSB: set run-time address: 0x10003

U-Boot 2023.04-OpenWrt-r24387+1-5be34bc001 (Dec 02 2023 - 12:38:24 +0000) Allwinner Technology

CPU: Allwinner H616 (SUN50I)

Model: OrangePi Zero3

DRAM: 2 GiB (effective 7.8 EiB)

Thank you for testing. Can you tell me what the exact name of 1.5 DRAM chip?
And if you can, try this https://disk.yandex.ru/d/dUuyDw1nQK0UUA

1 Like

The text on the RAM chip is nearly unreadable.
Good news, boot worked!

Connected.
??
U-Boot SPL 2023.04-OpenWrt-r24389-13ea9ec573 (Dec 23 2023 - 07:54:44 +0000)
DRAM: 1536 MiB
=> md.l 0x047FA000 
047fa000: 80000000 000009f4 0e40ff00 0000018f
047fa010: 00000010 00103040 00000000 00000000
047fa020: ffffffff 000007ff 0000ffff 00000000
047fa030: 00000000 00000000 00000000 00000000
047fa040: 00000000 00000000 00000000 00000000
047fa050: 00000001 00000000 00000000 00000000
047fa060: 00000000 00000000 00000000 00000000
047fa070: 00000000 00000000 00000000 00000000
047fa080: 00000000 00000000 00000000 00000000
047fa090: 00000000 00000000 00000000 ffff0002
047fa0a0: 00000000 00000000 00000000 00000000
047fa0b0: 00000000 00000000 00000000 00000000
047fa0c0: 00000000 00000000 00000000 00000000
047fa0d0: 00000000 00000000 00000000 00000000
047fa0e0: 00000000 00000000 00000000 00000000
047fa0f0: 00000000 00000000 00000000 00000000
047fa100: 00000000 00000000 00000000 00000000
047fa110: 00000000 00000000 00000000 00000000
047fa120: 00000000 00000000 00000000 00000000
047fa130: 00000000 00000000 00000000 00000000
047fa140: 00000000 00000000 00000000 00000000
047fa150: ffffffff ffffffff ffffffff ffffffff
047fa160: 00000000 00000000 00000000 00000000
047fa170: 00000000 00000000 00000000 00000000
047fa180: 00000000 00000000 00000000 00000000
047fa190: 00000000 00000000 00000000 00000000
047fa1a0: 00000000 00000000 00000000 00000000
047fa1b0: 00000000 00000000 00000000 00000000
047fa1c0: 00000000 00000000 00000000 00000000
047fa1d0: 00000000 00000000 00000000 00000000
047fa1e0: 00000000 00000000 00000000 00000000
047fa1f0: 00000000 00000000 00000000 00000000
047fa200: 00010000 00000000 00000000 00000000
047fa210: 0100000d 00640080 00000004 00000000
047fa220: 06000009 01000578 00000004 00000000
047fa230: 0200000d 00600100 00000000 00000000
047fa240: 01000009 00500064 00000000 00000000
047fa250: 20000209 1388157c 00000004 00000000
047fa260: 00640209 00200040 00000000 00000000
047fa270: 00640209 00200040 00000000 00000000
047fa280: 00000000 00000000 00000000 00000000
047fa290: 01000009 00400080 00000000 00000000
047fa2a0: 00000000 00000000 00000000 00000000
047fa2b0: 00000000 00000000 00000000 00000000
047fa2c0: 01000009 00640080 00000004 00000000
047fa2d0: 00000000 00000000 00000000 00000000
047fa2e0: 00000000 00000000 00000000 00000000
047fa2f0: 04000009 00400100 00000004 00000000
047fa300: 00000000 00000000 00000000 00000000
047fa310: 2000060d 09600af0 00000004 00000000
047fa320: 00000000 00000000 00000000 00000000
047fa330: 00000000 00000000 00000000 00000000
047fa340: 00000000 00000000 00000000 00000000
047fa350: 00000000 00000000 00000000 00000000
047fa360: 0800060d 02000300 00000004 00000000
047fa370: 00000000 00000000 00000004 00000000
047fa380: 00000000 00000000 00000000 00000000
047fa390: 00000000 00000000 00000000 00000000
047fa3a0: 0064000d 00200040 00000004 00000000
047fa3b0: 00000000 00000000 00000000 00000000
047fa3c0: 00000000 00000000 00000000 00000000
047fa3d0: 00000000 00000000 00000000 00000000
047fa3e0: 00000000 00000000 00000004 00000000
047fa3f0: 00000000 00000000 00000000 00000000
047fa400: 00000000 00000000 00000000 00000000
047fa410: 00000000 00000000 00000000 00000000
047fa420: 00000000 00000000 00000000 00000000
047fa430: 00000000 00000000 00000000 00000000
047fa440: 00000000 00000000 00000000 00000000
047fa450: 00000000 00000000 00000000 00000000
047fa460: 00000000 00000000 00000000 00000000
047fa470: 00000000 00000000 00000000 00000000
047fa480: 00000000 00000000 00000000 00000000
047fa490: 00640209 00200040 00000000 00000000
047fa4a0: 00000000 00000000 00000000 00000000
047fa4b0: 00000000 00000000 00000000 00000000
047fa4c0: 00000000 00000000 00000000 00000000
047fa4d0: 00000000 00000000 00000000 00000000
047fa4e0: 00000000 00000000 00000000 00000000
047fa4f0: 00000000 00000000 00000000 00000000
047fa500: 01000130 00000000 00000000 00000000
047fa510: 00000000 00000000 00000000 00000000
=> md.l 0x047FB000 
047fb000: c1080020 00000001 00000001 00008100
047fb010: 00000030 00001624 00000000 00000000
047fb020: 00000000 00800000 00000001 00000001
047fb030: 00000000 00402010 00000000 00000000
047fb040: 00000000 00000000 00000000 00000000
047fb050: 00210000 00000000 00000000 00000000
047fb060: 00000000 002b0065 002b0065 002b0065
047fb070: 002b0065 002b0065 002b0065 002b0065
047fb080: 002b0065 002b0065 002b0065 002b0065
047fb090: 002b0065 002b0065 002b0065 002b0065
047fb0a0: 002b0065 002b0065 002b0065 002b0065
047fb0b0: 002b0065 002b0065 002b0065 002b0065
047fb0c0: 00000000 00001000 00001000 00010001
047fb0d0: 000203f0 01f20000 00000d05 0034001b
047fb0e0: 00330000 00100004 00040072 00240009
047fb0f0: 00000000 0000066f 0000066f 0000066f
047fb100: 180f0c10 00030418 050a1212 0060600c
047fb110: 07040408 02020606 02020005 00000202
047fb120: 04041004 00020208 000e0c05 440c021c
047fb130: 00000008 0a100002 00000045 00000000
047fb140: 00000000 00000000 00000000 00000000
047fb150: 00000000 00000000 00000000 00000000
047fb160: 00000000 00000000 00000000 00000000
047fb170: 00000000 00000000 00000000 00000000
047fb180: c2000040 02000100 00000000 00000000
047fb190: 02918005 00100202 07000000 00000000
047fb1a0: c0400003 00010001 80000000 80000000
047fb1b0: 00000000 00000202 00000000 00000001
047fb1c0: 00000001 00000001 00000001 00000001
047fb1d0: 00000001 00000001 00000001 00000001
047fb1e0: 00000001 00000001 00000001 00000001
047fb1f0: 00000001 00000001 00000001 00000001
047fb200: 0000001f 00080808 00000000 00000000
047fb210: 00001f1f 07070707 07070707 00000f0f
047fb220: 00003f3f 00000000 00000000 00000000
047fb230: 00000000 00000000 00000000 00000000
047fb240: 04000400 00000201 00000201 00000201
047fb250: 00003005 00000000 00000000 0f000001
047fb260: 0f000001 0f00007f 0f00007f 0f00007f
047fb270: 0f00007f 0f00007f 0f00007f 0f00007f
047fb280: 0f00007f 0f00007f 0f00007f 0f00007f
047fb290: 0f00007f 0f00007f 0f00007f 0f00007f
047fb2a0: 0f00007f 0f00007f 0f00007f 0f00007f
047fb2b0: 0f00007f 0f00007f 0f00007f 0f00007f
047fb2c0: 0f00007f 0f00007f 0f00007f 0f00007f
047fb2d0: 0f00007f 0f00007f 0f00007f 0f00007f
047fb2e0: 0f00007f 0f00007f 0f00007f 0f00007f
047fb2f0: 0f00007f 0f00007f 0f00007f 0f00007f
047fb300: 00000000 00000000 36000000 00000000
047fb310: 00000000 00000000 00000000 00000000
047fb320: 00000001 00000001 00000001 00000001
=> md.l 0x04800000 
04800000: 0000009f 0000002d 00000088 00000000
04800010: 00000000 00000014 00000000 0000000a
04800020: 00000000 00000000 00000000 00000000
04800030: 00000000 00000000 00000023 0000003f
04800040: 0000000e 0000000e 00000007 00000007
04800050: 00000001 00000080 00000037 00000016
04800060: 00000029 00000000 00000020 00000040
04800070: 00000000 00000010 00000000 00000000
04800080: 00000000 00000000 00000000 00000000
04800090: 00000000 00000000 00000000 0000003f
048000a0: 00000020 00000000 00000011 000000ff
048000b0: 000000ff 00000000 00000088 00000013
048000c0: 00000002 00000000 00000017 00000005
048000d0: 00000004 00000019 00000006 00000007
048000e0: 00000008 00000009 0000000a 0000000b
048000f0: 0000000c 0000000d 0000000e 0000000f
04800100: 00000010 00000011 00000012 00000013
04800110: 00000014 00000015 00000016 00000001
04800120: 00000018 00000003 0000001a 00000000
04800130: 00000000 00000001 00000000 000000e4
04800140: 00000000 00000006 00000041 00000000
04800150: 00000032 0000007f 00000040 00000000
04800160: 00000000 00000000 00000000 00000000
04800170: 00000000 00000000 00000000 00000000
04800180: 00000016 00000000 00000000 00000000
04800190: 00000000 00000000 0000000a 00000000
048001a0: 00000000 00000000 00000000 00000000
048001b0: 00000000 00000000 00000000 00000000
048001c0: 00000001 00000047 00000001 00000047
048001d0: 00000000 0000001f 00000000 00000001
048001e0: 0000000b 00000004 00000022 00000004
048001f0: 00000022 00000000 00000000 00000000
04800200: 00000001 00000047 00000001 00000047
04800210: 00000000 0000001f 00000000 00000001
04800220: 0000000b 00000004 00000022 00000004
04800230: 00000022 00000000 00000000 00000000
04800240: 00000000 00000000 00000000 00000000
04800250: 00000000 00000000 00000007 00000007
04800260: 00000007 00000007 00000000 00000001
04800270: 0000009f 00000001 00000097 00000000
04800280: 00000001 00000047 00000001 00000047
04800290: 00000000 0000001f 00000000 00000001
048002a0: 0000000b 00000004 00000022 00000004
048002b0: 00000022 00000000 00000000 00000000
048002c0: 00000001 00000047 00000001 00000047
048002d0: 00000000 0000001f 00000000 00000001
048002e0: 0000000b 00000004 00000022 00000004
048002f0: 00000022 00000000 00000000 00000000
04800300: 00000000 00000000 00000000 00000000
04800310: 00000000 00000000 00000007 00000007
04800320: 00000007 00000007 00000000 00000001
04800330: 00000077 00000001 0000009f 00000000
04800340: 0000000e 0000000e 0000000e 0000000e
04800350: 00000000 00000000 00000000 00000014
04800360: 00000000 0000000a 00000014 00000000
04800370: 0000000a 00000014 00000000 0000000a
04800380: 00000007 00000000 0000000e 00000004
04800390: 00000012 0000000a 00000000 00000000
048003a0: 00000000 00000000 00000000 00000000
048003b0: 00000000 00000000 00000000 00000000
048003c0: 00000007 00000000 0000000e 00000004
048003d0: 00000012 0000000a 00000000 00000044
048003e0: 00000000 00000000 00000000 00000000
048003f0: 00000000 00000000 00000000 00000000
04800400: 00000007 00000000 0000000e 00000004
04800410: 00000012 0000000a 00000000 00000000
04800420: 00000000 00000000 00000000 00000000
04800430: 00000000 00000000 00000000 00000000
04800440: 00000007 00000000 0000000e 00000004
04800450: 00000012 0000000a 00000000 00000044
04800460: 00000000 00000000 00000000 00000000
04800470: 00000000 00000000 00000000 00000000
04800480: 0000000f 00000024 0000000f 00000024
04800490: 0000000f 00000024 0000000f 00000024
048004a0: 0000000f 00000024 0000000f 00000024
048004b0: 0000000f 00000024 0000000f 00000024
048004c0: 0000000f 00000024 0000001c 00000014
048004d0: 00000014 00000010 00000026 00000010
048004e0: 00000026 00000010 00000026 00000010
048004f0: 00000026 00000010 00000026 00000010
04800500: 00000026 00000010 00000026 00000010
04800510: 00000026 00000010 00000026 0000001c
04800520: 00000014 00000014 0000001c 0000001c
04800530: 00000000 00000000 00000000 00000000
04800540: 0000000f 00000024 0000000f 00000024
04800550: 0000000f 00000024 0000000f 00000024
04800560: 0000000f 00000024 0000000f 00000024
04800570: 0000000f 00000024 0000000f 00000024
04800580: 0000000f 00000024 0000001c 00000014
04800590: 00000014 00000010 00000026 00000010
048005a0: 00000026 00000010 00000026 00000010
048005b0: 00000026 00000010 00000026 00000010
048005c0: 00000026 00000010 00000026 00000010
048005d0: 00000026 00000010 00000026 0000001c
048005e0: 00000014 00000014 0000001c 0000001c
048005f0: 00000000 00000000 00000000 00000000
04800600: 0000000f 00000024 0000000f 00000024
04800610: 0000000f 00000024 0000000f 00000024
04800620: 0000000f 00000024 0000000f 00000024
04800630: 0000000f 00000024 0000000f 00000024
04800640: 0000000f 00000024 0000001c 00000014
04800650: 00000014 0000000f 00000024 0000000f
04800660: 00000024 0000000f 00000024 0000000f
04800670: 00000024 0000000f 00000024 0000000f
04800680: 00000024 0000000f 00000024 0000000f
04800690: 00000024 0000000f 00000024 0000001c
048006a0: 00000014 00000014 0000001c 0000001c
048006b0: 00000000 00000000 00000000 00000000
048006c0: 0000000f 00000024 0000000f 00000024
048006d0: 0000000f 00000024 0000000f 00000024
048006e0: 0000000f 00000024 0000000f 00000024
048006f0: 0000000f 00000024 0000000f 00000024
04800700: 0000000f 00000024 0000001c 00000014
04800710: 00000014 0000000f 00000024 0000000f
04800720: 00000024 0000000f 00000024 0000000f
04800730: 00000024 0000000f 00000024 0000000f
04800740: 00000024 0000000f 00000024 0000000f
04800750: 00000024 0000000f 00000024 0000001c
04800760: 00000014 00000014 0000001c 0000001c
04800770: 00000000 00000000 00000000 00000000
04800780: 0000000c 0000000c 0000000c 0000000c
04800790: 0000000c 0000000c 0000000c 0000000c
048007a0: 0000000c 0000000c 0000000c 0000000c
048007b0: 0000000c 0000000c 0000000c 0000000c
048007c0: 0000000c 0000000c 0000000c 0000000c
048007d0: 0000000c 0000000c 00000006 00000006
048007e0: 00000006 0000000c 0000000c 0000000c
048007f0: 0000000c 00000006 0000000c 0000000c
04800800: 00000055 0000000f 0000000f 0000001f
04800810: 0000001f 00000000 00000000 00000055
04800820: 00000007 00000007 00000000 00000000
04800830: 00000000 00000000 0000005a 0000003c
04800840: 00000000 00000000 00000000 00000000
04800850: 00000000 00000000 00000000 00000000
04800860: 00000000 00000000 00000000 00000000
04800870: 00000000 00000000 00000000 00000000
04800880: 00000000 00000000 00000000 00000000
04800890: 00000000 00000000 00000000 00000000
048008a0: 00000000 00000000 00000000 00000000
048008b0: 00000000 00000000 00000000 00000000
048008c0: 00000000 00000000 00000000 00000000
048008d0: 00000000 00000000 00000000 00000000
048008e0: 00000000 00000000 00000000 00000000
048008f0: 0000003f 0000003f 0000003f 0000003f
04800900: 0000003f 0000003f 0000003f 0000003f
04800910: 0000003f 0000003f 0000003f 0000003f
04800920: 0000003f 0000003f 0000003f 0000003f
04800930: 0000003f 0000003f 00000000 00000000
04800940: 00000000 00000000 00000000 00000000
04800950: 00000000 00000000 00000000 00000000
04800960: 00000000 00000000 00000000 00000000
04800970: 00000000 00000000 00000000 00000000
04800980: 00000000 00000000 00000000 00000000
04800990: 00000000 00000000 00000000 00000000
048009a0: 00000000 00000000 00000000 00000000
048009b0: 00000000 00000000 00000000 00000000
048009c0: 00000000 00000000 00000000 00000000
048009d0: 00000000 00000000 00000000 00000000
048009e0: 00000000 00000000 00000000 00000000
048009f0: 00000000 00000000 00000000 00000000
04800a00: 00000055 0000000f 0000000f 0000001f
04800a10: 0000001f 00000000 00000000 00000055
04800a20: 00000007 00000007 00000000 00000000
04800a30: 00000000 00000000 0000005a 0000003c
04800a40: 00000000 00000000 00000000 00000000
04800a50: 00000000 00000000 00000000 00000000
04800a60: 00000000 00000000 00000000 00000000
04800a70: 00000000 00000000 00000000 00000000
04800a80: 00000000 00000000 00000000 00000000
04800a90: 00000000 00000000 00000000 00000000
04800aa0: 00000000 00000000 00000000 00000000
04800ab0: 00000000 00000000 00000000 00000000
04800ac0: 00000000 00000000 00000000 00000000
04800ad0: 00000000 00000000 00000000 00000000
04800ae0: 00000000 00000000 00000000 00000000
04800af0: 0000003f 0000003f 0000003f 0000003f
04800b00: 0000003f 0000003f 0000003f 0000003f
04800b10: 0000003f 0000003f 0000003f 0000003f
04800b20: 0000003f 0000003f 0000003f 0000003f
04800b30: 0000003f 0000003f 00000000 00000000
04800b40: 00000000 00000000 00000000 00000000
04800b50: 00000000 00000000 00000000 00000000
04800b60: 00000000 00000000 00000000 00000000
04800b70: 00000000 00000000 00000000 00000000
Trying to boot from MMC1
NOTICE:  BL31: v2.9(release):OpenWrt v2.9-1 (sunxi-h616)
NOTICE:  BL31: Built : 10:19:42, Dec  9 2023
NOTICE:  BL31: Detected Allwinner H616 SoC (1823)
NOTICE:  BL31: Found U-Boot DTB at 0x4a0a02a0, model: OrangePi Zero3
ERROR:   RSB: set run-time address: 0x10003


U-Boot 2023.04-OpenWrt-r24389-13ea9ec573 (Dec 23 2023 - 07:54:44 +0000) Allwinner Technology

CPU:   Allwinner H616 (SUN50I)
Model: OrangePi Zero3
DRAM:  1.5 GiB
Core:  58 devices, 22 uclasses, devicetree: separate
WDT:   Not starting watchdog@30090a0
MMC:   mmc@4020000: 0
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1… 
In:    serial@5000000
Out:   serial@5000000
Err:   serial@5000000
Net:   eth0: ethernet@5020000
starting USB…
Bus usb@5200000: probe failed, error -38
Bus usb@5200400: USB OHCI 1.0
scanning bus usb@5200400 for devices... 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
mmc0 is current device
Scanning mmc 0:1…
Found U-Boot script /boot.scr
450 bytes read in 0 ms
## Executing script at 4fc00000
12873736 bytes read in 535 ms (22.9 MiB/s)
14872 bytes read in 2 ms (7.1 MiB/s)
Moving Image from 0x40080000 to 0x40200000, end=40ea0000
## Flattened Device Tree blob at 4fa00000
   Booting using the fdt blob at 0x4fa00000
Working FDT set to 4fa00000
   Loading Device Tree to 0000000049ff9000, end 0000000049fffa17 … OK
Working FDT set to 49ff9000

Starting kernel …

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 6.1.62 (lane@SerialExperiment) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r24384+1-fbe48e99bd) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Sat Dec 23 07:54:44 2023
[    0.000000] Machine model: OrangePi Zero3
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x000000009fffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000004003ffff]
[    0.000000]   node   0: [mem 0x0000000040040000-0x000000009fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000009fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 17 pages/cpu s31272 r8192 d30168 u69632
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 387072
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=PARTUUID=5452574f-02 rootwait
[    0.000000] Unknown kernel command line parameters "earlyprintk", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1528564K/1572864K available (8256K kernel code, 1244K rwdata, 2480K rodata, 448K init, 311K bss, 44300K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000237] Console: colour dummy device 80x25
[    0.000276] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000289] pid_max: default: 32768 minimum: 301
[    0.000683] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.000699] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.001832] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.002341] cblist_init_generic: Setting adjustable number of callback queues.
[    0.002345] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.002501] rcu: Hierarchical SRCU implementation.
[    0.002505] rcu: 	Max phase no-delay instances is 1000.
[    0.002905] smp: Bringing up secondary CPUs …
[    0.003332] Detected VIPT I-cache on CPU1
[    0.003407] cacheinfo: Unable to detect cache hierarchy for CPU 1
[    0.003433] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.003867] Detected VIPT I-cache on CPU2
[    0.003924] cacheinfo: Unable to detect cache hierarchy for CPU 2
[    0.003940] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.004353] Detected VIPT I-cache on CPU3
[    0.004406] cacheinfo: Unable to detect cache hierarchy for CPU 3
[    0.004422] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.004474] smp: Brought up 1 node, 4 CPUs
[    0.004481] SMP: Total of 4 processors activated.
[    0.004485] CPU features: detected: 32-bit EL0 Support
[    0.004488] CPU features: detected: CRC32 instructions
[    0.004530] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.004534] CPU: All CPU(s) started at EL2
[    0.004536] alternatives: applying system-wide alternatives
[    0.008459] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.008477] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.008693] pinctrl core: initialized pinctrl subsystem
[    0.009796] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.010294] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.010344] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.010390] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.010739] thermal_sys: Registered thermal governor ‘step_wise’
[    0.010828] ASID allocator initialised with 65536 entries
[    0.021027] cryptd: max_cpu_qlen set to 1000
[    0.022305] SCSI subsystem initialized
[    0.022567] usbcore: registered new interface driver usbfs
[    0.022610] usbcore: registered new interface driver hub
[    0.022638] usbcore: registered new device driver usb
[    0.022786] pps_core: LinuxPPS API ver. 1 registered
[    0.022789] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.022813] PTP clock support registered
[    0.023007] Advanced Linux Sound Architecture Driver Initialized.
[    0.023703] clocksource: Switched to clocksource arch_sys_counter
[    0.027676] NET: Registered PF_INET protocol family
[    0.027835] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.029599] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.029631] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.029644] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.029778] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear)
[    0.030505] TCP: Hash tables configured (established 16384 bind 16384)
[    0.030606] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.030656] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.030851] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.032258] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.037377] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.037512] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.039842] sun4i-usb-phy 5100400.phy: failed to get clock usb0_phy
[    0.046511] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.048060] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.051720] loop: module loaded
[    0.054592] usbcore: registered new interface driver usb-storage
[    0.055151] mousedev: PS/2 mouse device common for all mice
[    0.055344] i2c_dev: i2c /dev entries driver
[    0.055551] mv64xxx_i2c 7081400.i2c: can't get pinctrl, bus recovery not supported
[    0.056605] sunxi-wdt 30090a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    0.058327] NET: Registered PF_INET6 protocol family
[    0.059453] Segment Routing with IPv6
[    0.059485] In-situ OAM (IOAM) with IPv6
[    0.059541] NET: Registered PF_PACKET protocol family
[    0.059566] can: controller area network core
[    0.059668] NET: Registered PF_CAN protocol family
[    0.059675] 8021q: 802.1Q VLAN Support v1.8
[    0.071183] sun4i-usb-phy 5100400.phy: Couldn't get regulator usb1_vbus... Deferring probe
[    0.078421] sun50i-h616-pinctrl 300b000.pinctrl: initialized sunXi PIO driver
[    0.079220] sun50i-h616-r-pinctrl 7022000.pinctrl: initialized sunXi PIO driver
[    0.079520] sun50i-h616-pinctrl 300b000.pinctrl: request() failed for pin 224
[    0.079527] sun50i-h616-pinctrl 300b000.pinctrl: pin-224 (5000000.serial) status -517
[    0.079535] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 224 (PH0) from group PH0  on device 300b000.pinctrl
[    0.079543] dw-apb-uart 5000000.serial: Error applying setting, reverse things back
[    0.079720] sun50i-h616-pinctrl 300b000.pinctrl: request() failed for pin 64
[    0.079726] sun50i-h616-pinctrl 300b000.pinctrl: pin-64 (5010000.spi) status -517
[    0.079733] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 64 (PC0) from group PC0  on device 300b000.pinctrl
[    0.079740] sun6i-spi 5010000.spi: Error applying setting, reverse things back
[    0.080199] sun50i-h616-pinctrl 300b000.pinctrl: request() failed for pin 256
[    0.080206] sun50i-h616-pinctrl 300b000.pinctrl: pin-256 (5020000.ethernet) status -517
[    0.080213] sun50i-h616-pinctrl 300b000.pinctrl: could not request pin 256 (PI0) from group PI0  on device 300b000.pinctrl
[    0.080220] dwmac-sun8i 5020000.ethernet: Error applying setting, reverse things back
[    0.080948] axp20x-i2c 0-0036: AXP20x variant AXP313a found
[    0.090038] axp20x-i2c 0-0036: AXP20X driver loaded
[    0.093588] sunxi-mmc 4020000.mmc: Got CD GPIO
[    0.095429] printk: console [ttyS0] disabled
[    0.115795] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 290, base_baud = 1500000) is a 16550A
[    0.119286] sunxi-mmc 4020000.mmc: initialized, max. request size: 16384 KB, uses new timings mode
[    0.122101] printk: console [ttyS0] enabled
[    0.296079] mmc0: host does not support reading read-only switch, assuming write-enable
[    0.303229] sun6i-spi 5010000.spi: Failed to request TX DMA channel
[    0.327138] mmc0: new high speed SDHC card at address aaaa
[    0.331379] sun6i-spi 5010000.spi: Failed to request RX DMA channel
[    0.336712] mmcblk0: mmc0:aaaa SC16G 14.8 GiB 
[    0.343419] spi-nor spi0.0: zb25vq128 (16384 Kbytes)
[    1.013810]  mmcblk0: p1 p2
[    1.019390] dwmac-sun8i 5020000.ethernet: IRQ eth_wake_irq not found
[    1.025759] dwmac-sun8i 5020000.ethernet: IRQ eth_lpi not found
[    1.032284] dwmac-sun8i 5020000.ethernet: PTP uses main clock
[    1.038051] dwmac-sun8i 5020000.ethernet: Current syscon value is not the default 51fe6 (expect 0)
[    1.047139] dwmac-sun8i 5020000.ethernet: No HW DMA feature register supported
[    1.054366] dwmac-sun8i 5020000.ethernet: RX Checksum Offload Engine supported
[    1.061577] dwmac-sun8i 5020000.ethernet: COE Type 2
[    1.066548] dwmac-sun8i 5020000.ethernet: TX Checksum insertion supported
[    1.073327] dwmac-sun8i 5020000.ethernet: Normal descriptors
[    1.078992] dwmac-sun8i 5020000.ethernet: Chain mode enabled
[    1.088324] ehci-platform 5200000.usb: EHCI Host Controller
[    1.088438] usb_phy_generic usb_phy_generic.0.auto: supply vcc not found, using dummy regulator
[    1.093940] ehci-platform 5200000.usb: new USB bus registered, assigned bus number 1
[    1.102740] usb_phy_generic usb_phy_generic.0.auto: dummy supplies not allowed for exclusive requests
[    1.110450] ehci-platform 5200000.usb: irq 14, io mem 0x05200000
[    1.120737] ohci-platform 5200400.usb: Generic Platform OHCI controller
[    1.120843] ALSA device list:
[    1.120847]   No soundcards found.
[    1.138534] ohci-platform 5200400.usb: new USB bus registered, assigned bus number 2
[    1.146358] ohci-platform 5200400.usb: irq 15, io mem 0x05200400
[    1.163707] ehci-platform 5200000.usb: USB 2.0 started, EHCI 1.00
[    1.169942] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.01
[    1.178207] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.185483] usb usb1: Product: EHCI Host Controller
[    1.190356] usb usb1: Manufacturer: Linux 6.1.62 ehci_hcd
[    1.195755] usb usb1: SerialNumber: 5200000.usb
[    1.200717] hub 1-0:1.0: USB hub found
[    1.204495] hub 1-0:1.0: 1 port detected
[    1.217831] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 6.01
[    1.226106] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.233320] usb usb2: Product: Generic Platform OHCI controller
[    1.239238] usb usb2: Manufacturer: Linux 6.1.62 ohci_hcd
[    1.244636] usb usb2: SerialNumber: 5200400.usb
[    1.249430] hub 2-0:1.0: USB hub found
[    1.253197] hub 2-0:1.0: 1 port detected
[    1.269949] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Quota mode: disabled.
[    1.278264] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.285252] Freeing unused kernel memory: 448K
[    1.343768] Run /sbin/init as init process
[    1.417971] init: Console is alive
[    1.421534] init: - watchdog -
[    1.487106] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.496110] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    1.505628] init: - preinit -
strings: standard output: Broken pipe
[    6.623706] random: crng init done
[    6.740547] dwmac-sun8i 5020000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[    6.749620] dwmac-sun8i 5020000.ethernet eth0: PHY [stmmac-0:01] driver [YT8531 Gigabit Ethernet] (irq=POLL)
[    6.759845] dwmac-sun8i 5020000.ethernet eth0: No Safety Features support found
[    6.767183] dwmac-sun8i 5020000.ethernet eth0: No MAC Management Counters available
[    6.774853] dwmac-sun8i 5020000.ethernet eth0: PTP not supported by HW
[    6.782054] dwmac-sun8i 5020000.ethernet eth0: configuring for phy/rgmii link mode
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    8.842975] mount_root: mounting /dev/root
[    8.863349] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: disabled.
[    8.932658] urandom-seed: Seed file not found (/etc/urandom.seed)
[    8.962415] procd: - early -
[    8.965428] procd: - watchdog -
[    9.510555] procd: - watchdog -
[    9.516636] procd: - ubus -
[    9.570039] procd: - init -
Please press Enter to activate this console.
[    9.743598] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.778014] PPP generic driver version 2.4.2
[    9.782874] NET: Registered PF_PPPOX protocol family
[    9.790366] kmodloader: done loading kernel modules from /etc/modules.d/*
[   10.105372] urngd: v1.0.2 started.
[   19.418168] dwmac-sun8i 5020000.ethernet eth0: Register MEM_TYPE_PAGE_POOL RxQ-0
[   19.427895] dwmac-sun8i 5020000.ethernet eth0: PHY [stmmac-0:01] driver [YT8531 Gigabit Ethernet] (irq=POLL)
[   19.438175] dwmac-sun8i 5020000.ethernet eth0: No Safety Features support found
[   19.445561] dwmac-sun8i 5020000.ethernet eth0: No MAC Management Counters available
[   19.453233] dwmac-sun8i 5020000.ethernet eth0: PTP not supported by HW
[   19.459877] dwmac-sun8i 5020000.ethernet eth0: configuring for phy/rgmii link mode
[   19.469102] br-lan: port 1(eth0) entered blocking state
[   19.474376] br-lan: port 1(eth0) entered disabled state
[   19.479879] device eth0 entered promiscuous mode

just dropping a note here
some current efforts here:

and here:

these are wild efforts i.e. trial and error, and is still very much in the 'test' / alpha phase
it may help to 'sync' the implementations, say with mainline, and perhaps some of the deltas may go back to mainline if after all they are the same

And here

hi @iuncuim
I found your patches for u-boot for Orange Pi Zero 3 1.5GB versions
https://gist.github.com/iuncuim
are these

the relevant fixes for Orange Pi Zero 3 1.5 GB versions?
thanks for sharing them

I'd like to test them locally in Armbian as currently development for this board is currently under development.

If the changes are tested and perhaps refine the codes so that it is robust (e.g. that all the boards 1G/1.5G/2G/4G works), could you consider submitting a patch to u-boot for this?
https://docs.u-boot.org/en/latest/develop/sending_patches.html
https://docs.u-boot.org/en/latest/develop/patman.html

that would help to mainline the fixes for 1.5GB boards so that the full set of Orange Pi Zero 3 boards is supported with the mainline kernel and uboot.

it doesn't work with lpddr4 opizero3.
I was working on the lpddr4 driver for h616 in u-boot and my changes are already accepted.
But
I have a working check for 1.5GB lpddr3 that does this on the fly, but for lpddr4 it doesn't work

I don't think that it will be effective to found proper solution without board. So maybe only lppdr3 part will be send

@iuncuim thanks !
I just ordered a Opi Zero 3 1.5. I'd try to test things out and provide more information here when I received it, e.g. the chip etc.

I don't think this will help much.
In my tvbox with 1.5GB lpddr3 memory, which is also initially defined as 2Gb, the last quarter of RAM does not pass the memory check.
that's why I added an additional check for the last quarter in the patch. And it work with LPDDR3.

But LPDDR4 memory passes this test. It seems that it because the address of the last quarter of memory re-references to physical cells at the beginning or middle of memory.

Someone should find a match between these two addresses, after which make an additional check, and then it will be possible to have one image for all boards.

I don't have that board, so I can't do it.

@iuncuim
thanks much for the insight. I googled around on the internet searching for documentation for the dram controller in H616, H618, unfortunately the dram controller is undocumented, we'd otherwise be able to read the dram size from the registers in the dram chip and avoided all these issues.

I'd leave the issue for now and may be relook at it another time.

I had some luck booting and running the dietpi Orange Pi Zero 3 image on my Orange Pi Zero 2W 4GB, hardware is nearly the same...

Thought I'd take these Zero 3 images for a spin, unfortunately they don't work for the Zero 2W... nothing comes up on the console and the LEDs are solid. In any case, let me know if there's anything I can do to help your progress or if you need any info about the Zero 2W.

You should open a new thread about zero 2w