| 
 | 
Below are serial outputs when (1) booting OPi Ubuntu, (2) trying to boot Armbian. 
 
Based on errors, I tried the solution here:  
 
https://forum.armbian.com/topic/ ... t&comment=94140 
 
dd if=/dev/zero of=/dev/mmcblk1 bs=1M seek=14900  
To no avail.. Troubleshooting continues   
 
 
Serial output when booting the Orange Pi Ubuntu: 
 
- DDR Version 1.22 20190506
 
 - In
 
 - channel 0
 
 - CS = 0
 
 - MR0=0x18
 
 - MR4=0x1
 
 - MR5=0x1
 
 - MR8=0x8
 
 - MR12=0x72
 
 - MR14=0x72
 
 - MR18=0x0
 
 - MR19=0x0
 
 - MR24=0x8
 
 - MR25=0x0
 
 - CS = 1
 
 - MR0=0x18
 
 - MR4=0x1
 
 - MR5=0x1
 
 - MR8=0x8
 
 - MR12=0x72
 
 - MR14=0x72
 
 - MR18=0x0
 
 - MR19=0x0
 
 - MR24=0x8
 
 - MR25=0x0
 
 - channel 1
 
 - CS = 0
 
 - MR0=0x18
 
 - MR4=0x1
 
 - MR5=0x1
 
 - MR8=0x8
 
 - MR12=0x72
 
 - MR14=0x72
 
 - MR18=0x0
 
 - MR19=0x0
 
 - MR24=0x8
 
 - MR25=0x0
 
 - CS = 1
 
 - MR0=0x18
 
 - MR4=0x1
 
 - MR5=0x1
 
 - MR8=0x8
 
 - MR12=0x72
 
 - MR14=0x72
 
 - MR18=0x0
 
 - MR19=0x0
 
 - MR24=0x8
 
 - MR25=0x0
 
 - channel 0 training pass!
 
 - channel 1 training pass!
 
 - change freq to 416MHz 0,1
 
 - Channel 0: LPDDR4,416MHz
 
 - Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
 
 - Channel 1: LPDDR4,416MHz
 
 - Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
 
 - 256B stride
 
 - channel 0
 
 - CS = 0
 
 - MR0=0x18
 
 - MR4=0x1
 
 - MR5=0x1
 
 - MR8=0x8
 
 - MR12=0x72
 
 - MR14=0x72
 
 - MR18=0x0
 
 - MR19=0x0
 
 - MR24=0x8
 
 - MR25=0x0
 
 - CS = 1
 
 - MR0=0x18
 
 - MR4=0x1
 
 - MR5=0x1
 
 - MR8=0x8
 
 - MR12=0x72
 
 - MR14=0x72
 
 - MR18=0x0
 
 - MR19=0x0
 
 - MR24=0x8
 
 - MR25=0x0
 
 - channel 1
 
 - CS = 0
 
 - MR0=0x18
 
 - MR4=0x1
 
 - MR5=0x1
 
 - MR8=0x8
 
 - MR12=0x72
 
 - MR14=0x72
 
 - MR18=0x0
 
 - MR19=0x0
 
 - MR24=0x8
 
 - MR25=0x0
 
 - CS = 1
 
 - MR0=0x18
 
 - MR4=0x1
 
 - MR5=0x1
 
 - MR8=0x8
 
 - MR12=0x72
 
 - MR14=0x72
 
 - MR18=0x0
 
 - MR19=0x0
 
 - MR24=0x8
 
 - MR25=0x0
 
 - channel 0 training pass!
 
 - channel 1 training pass!
 
 - channel 0, cs 0, advanced training done
 
 - channel 0, cs 1, advanced training done
 
 - channel 1, cs 0, advanced training done
 
 - channel 1, cs 1, advanced training done
 
 - change freq to 856MHz 1,0
 
 - ch 0 ddrconfig = 0x101, ddrsize = 0x2020
 
 - ch 1 ddrconfig = 0x101, ddrsize = 0x2020
 
 - pmugrf_os_reg[2] = 0x3AA1FAA1, stride = 0xD
 
 - OUT
 
 - Boot1: 2019-03-14, version: 1.19
 
 - CPUId = 0x0
 
 - ChipType = 0x10, 254
 
 - SdmmcInit=2 0
 
 - BootCapSize=100000
 
 - UserCapSize=14910MB
 
 - FwPartOffset=2000 , 100000
 
 - mmc0:cmd8,20
 
 - mmc0:cmd5,20
 
 - mmc0:cmd55,20
 
 - mmc0:cmd1,20
 
 - mmc0:cmd8,20
 
 - mmc0:cmd5,20
 
 - mmc0:cmd55,20
 
 - mmc0:cmd1,20
 
 - mmc0:cmd8,20
 
 - mmc0:cmd5,20
 
 - mmc0:cmd55,20
 
 - mmc0:cmd1,20
 
 - SdmmcInit=0 1
 
 - StorageInit ok = 67892
 
 - SecureMode = 0
 
 - SecureInit read PBA: 0x4
 
 - SecureInit read PBA: 0x404
 
 - SecureInit read PBA: 0x804
 
 - SecureInit read PBA: 0xc04
 
 - SecureInit read PBA: 0x1004
 
 - SecureInit read PBA: 0x1404
 
 - SecureInit read PBA: 0x1804
 
 - SecureInit read PBA: 0x1c04
 
 - SecureInit ret = 0, SecureMode = 0
 
 - atags_set_bootdev: ret:(0)
 
 - GPT part:  0, name:            uboot, start:0x6000, size:0x2000
 
 - GPT part:  1, name:            trust, start:0x8000, size:0x2000
 
 - GPT part:  2, name:             boot, start:0xc000, size:0x10000
 
 - GPT part:  3, name:           rootfs, start:0x5c000, size:0x1cc2fdf
 
 - find part:uboot OK. first_lba:0x6000.
 
 - find part:trust OK. first_lba:0x8000.
 
 - LoadTrust Addr:0x8000
 
 - No find bl30.bin
 
 - Load uboot, ReadLba = 6000
 
 - Load OK, addr=0x200000, size=0xe025c
 
 - RunBL31 0x10000
 
 - NOTICE:  BL31: v1.3(debug):51f2096
 
 - NOTICE:  BL31: Built : 16:24:31, May  6 2019
 
 - NOTICE:  BL31: Rockchip release version: v1.1
 
 - INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
 
 - INFO:    Using opteed sec cpu_context!
 
 - INFO:    boot cpu mask: 0
 
 - INFO:    plat_rockchip_pmu_init(1181): pd status 3e
 
 - INFO:    BL31: Initializing runtime services
 
 - INFO:    BL31: Initializing BL32
 
 - INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-221-gda2bcfdc #139 Mon Jun 17 03:14:33 UTC 2019 aarch64)
 
  
- INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.2
 
  
- INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
 
 - INFO:    BL31: Preparing for EL3 exit to normal world
 
 - INFO:    Entry point address = 0x200000
 
 - INFO:    SPSR = 0x3c9
 
  
 
- U-Boot 2017.09-g17808ce (Mar 24 2020 - 14:47:01 +0800)
 
  
- Model: Rockchip RK3399 Evaluation Board
 
 - PreSerial: 2
 
 - DRAM:  3.8 GiB
 
 - Sysmem: init
 
 - Relocation Offset is: f5be5000
 
 - Using default environment
 
  
- dwmmc@fe320000: 1, sdhci@fe330000: 0
 
 - Bootdev(atags): mmc 0
 
 - MMC0: HS400, 150Mhz
 
 - PartType: EFI
 
 - get part misc fail -1
 
 - boot mode: None
 
 - Load FDT from boot part
 
 - DTB: rk-kernel.dtb
 
 - Android header version 0
 
 - I2c speed: 400000Hz
 
 - PMIC:  RK808
 
 - vdd_center 900000 uV
 
 - vdd_cpu_l 900000 uV
 
 - LDO_REG4 init 3000000 uV
 
 - vdd_log 1000000 uV
 
 - Model: OrangePi 4
 
 - Rockchip UBOOT DRM driver version: v1.0.1
 
 - CLK: (uboot. arml: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
 
 - CLK: (uboot. armb: enter 24000 KHz, init 24000 KHz, kernel 0N/A)
 
 -   aplll 816000 KHz
 
 -   apllb 24000 KHz
 
 -   dpll 856000 KHz
 
 -   cpll 24000 KHz
 
 -   gpll 800000 KHz
 
 -   npll 600000 KHz
 
 -   vpll 24000 KHz
 
 -   aclk_perihp 133333 KHz
 
 -   hclk_perihp 66666 KHz
 
 -   pclk_perihp 33333 KHz
 
 -   aclk_perilp0 266666 KHz
 
 -   hclk_perilp0 88888 KHz
 
 -   pclk_perilp0 44444 KHz
 
 -   hclk_perilp1 100000 KHz
 
 -   pclk_perilp1 50000 KHz
 
 - Net:   eth0: ethernet@fe300000
 
 - Hit key to stop autoboot('CTRL+C'):  0
 
 - Could not find misc partition
 
 - ANDROID: reboot reason: "(none)"
 
 - Not AVB images, AVB skip
 
 - Fdt Ramdisk skip relocation
 
 - Booting IMAGE kernel at 0x00280000 with fdt at 0x8300000...
 
  Copy code Serial output with the Armbian image: 
- DDR Version 1.22 20190506
 
 - In
 
 - channel 0
 
 - CS = 0
 
 - MR0=0x18
 
 - MR4=0x1
 
 - MR5=0x1
 
 - MR8=0x8
 
 - MR12=0x72
 
 - MR14=0x72
 
 - MR18=0x0
 
 - MR19=0x0
 
 - MR24=0x8
 
 - MR25=0x0
 
 - CS = 1
 
 - MR0=0x18
 
 - MR4=0x1
 
 - MR5=0x1
 
 - MR8=0x8
 
 - MR12=0x72
 
 - MR14=0x72
 
 - MR18=0x0
 
 - MR19=0x0
 
 - MR24=0x8
 
 - MR25=0x0
 
 - channel 1
 
 - CS = 0
 
 - MR0=0x18
 
 - MR4=0x1
 
 - MR5=0x1
 
 - MR8=0x8
 
 - MR12=0x72
 
 - MR14=0x72
 
 - MR18=0x0
 
 - MR19=0x0
 
 - MR24=0x8
 
 - MR25=0x0
 
 - CS = 1
 
 - MR0=0x18
 
 - MR4=0x1
 
 - MR5=0x1
 
 - MR8=0x8
 
 - MR12=0x72
 
 - MR14=0x72
 
 - MR18=0x0
 
 - MR19=0x0
 
 - MR24=0x8
 
 - MR25=0x0
 
 - channel 0 training pass!
 
 - channel 1 training pass!
 
 - change freq to 416MHz 0,1
 
 - Channel 0: LPDDR4,416MHz
 
 - Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
 
 - Channel 1: LPDDR4,416MHz
 
 - Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
 
 - 256B stride
 
 - channel 0
 
 - CS = 0
 
 - MR0=0x18
 
 - MR4=0x1
 
 - MR5=0x1
 
 - MR8=0x8
 
 - MR12=0x72
 
 - MR14=0x72
 
 - MR18=0x0
 
 - MR19=0x0
 
 - MR24=0x8
 
 - MR25=0x0
 
 - CS = 1
 
 - MR0=0x18
 
 - MR4=0x1
 
 - MR5=0x1
 
 - MR8=0x8
 
 - MR12=0x72
 
 - MR14=0x72
 
 - MR18=0x0
 
 - MR19=0x0
 
 - MR24=0x8
 
 - MR25=0x0
 
 - channel 1
 
 - CS = 0
 
 - MR0=0x18
 
 - MR4=0x1
 
 - MR5=0x1
 
 - MR8=0x8
 
 - MR12=0x72
 
 - MR14=0x72
 
 - MR18=0x0
 
 - MR19=0x0
 
 - MR24=0x8
 
 - MR25=0x0
 
 - CS = 1
 
 - MR0=0x18
 
 - MR4=0x1
 
 - MR5=0x1
 
 - MR8=0x8
 
 - MR12=0x72
 
 - MR14=0x72
 
 - MR18=0x0
 
 - MR19=0x0
 
 - MR24=0x8
 
 - MR25=0x0
 
 - channel 0 training pass!
 
 - channel 1 training pass!
 
 - channel 0, cs 0, advanced training done
 
 - channel 0, cs 1, advanced training done
 
 - channel 1, cs 0, advanced training done
 
 - channel 1, cs 1, advanced training done
 
 - change freq to 856MHz 1,0
 
 - ch 0 ddrconfig = 0x101, ddrsize = 0x2020
 
 - ch 1 ddrconfig = 0x101, ddrsize = 0x2020
 
 - pmugrf_os_reg[2] = 0x3AA1FAA1, stride = 0xD
 
 - OUT
 
 - Boot1: 2019-03-14, version: 1.19
 
 - CPUId = 0x0
 
 - ChipType = 0x10, 254
 
 - SdmmcInit=2 0
 
 - BootCapSize=100000
 
 - UserCapSize=14910MB
 
 - FwPartOffset=2000 , 100000
 
 - mmc0:cmd5,20
 
 - SdmmcInit=0 0
 
 - BootCapSize=0
 
 - UserCapSize=29544MB
 
 - FwPartOffset=2000 , 0
 
 - StorageInit ok = 122713
 
 - SecureMode = 0
 
 - SecureInit read PBA: 0x4
 
 - SecureInit read PBA: 0x404
 
 - SecureInit read PBA: 0x804
 
 - SecureInit read PBA: 0xc04
 
 - SecureInit read PBA: 0x1004
 
 - SecureInit read PBA: 0x1404
 
 - SecureInit read PBA: 0x1804
 
 - SecureInit read PBA: 0x1c04
 
 - SecureInit ret = 0, SecureMode = 0
 
 - atags_set_bootdev: ret:(0)
 
 - GPT part:  0, name:            uboot, start:0x6000, size:0x2000
 
 - GPT part:  1, name:            trust, start:0x8000, size:0x2000
 
 - GPT part:  2, name:             boot, start:0xc000, size:0x10000
 
 - GPT part:  3, name:           rootfs, start:0x5c000, size:0x3957fdf
 
 - find part:uboot OK. first_lba:0x6000.
 
 - find part:trust OK. first_lba:0x8000.
 
 - LoadTrust Addr:0x8000
 
 - LoadTrust Addr:0x8400
 
 - LoadTrust Addr:0x8800
 
 - LoadTrust Addr:0x8c00
 
 - LoadTrust Addr:0x9000
 
 - LoadTrust Addr:0x9400
 
 - LoadTrust Addr:0x9800
 
 - LoadTrust Addr:0x9c00
 
 - Addr:0x8000 No find trust.img!
 
 - LoadTrustBL error:-3
 
 - SecureMode = 0
 
 - SecureInit read PBA: 0x4
 
 - SecureInit read PBA: 0x404
 
 - SecureInit read PBA: 0x804
 
 - SecureInit read PBA: 0xc04
 
 - SecureInit read PBA: 0x1004
 
 - SecureInit read PBA: 0x1404
 
 - SecureInit read PBA: 0x1804
 
 - SecureInit read PBA: 0x1c04
 
 - SecureInit ret = -2, SecureMode = 0
 
  Copy code 
 
 
 
 |   
 
 
 
 |