OrangePi Plus 2e. Used Etcher to write Armbian_5.38_Orangepiplus2e_Debian_stretch_next_4.14.14.img to an Evo+ 32GB. Connected via USB serial (putty).
Boot process hangs loading the ramdisk:
U-Boot SPL 2017.11-armbian (Jan 25 2018 - 07:57:17)
DRAM: 2048 MiB
Trying to boot from MMC1
U-Boot 2017.11-armbian (Jan 25 2018 - 07:57:17 +0100) Allwinner Technology
CPU: Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi Plus 2E
DRAM: 2 GiB
MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: phy interface7
eth0: ethernet@1c30000
starting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
USB2: USB EHCI 1.00
USB3: USB OHCI 1.0
USB4: USB EHCI 1.00
USB5: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
scanning bus 4 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
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
3708 bytes read in 210 ms (16.6 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
152 bytes read in 169 ms (0 Bytes/s)
5070083 bytes read in 518 ms (9.3 MiB/s)
6968976 bytes read in 625 ms (10.6 MiB/s)
Found mainline kernel configuration
32985 bytes read in 1082 ms (29.3 KiB/s)
4179 bytes read in 1303 ms (2.9 KiB/s)
Applying kernel provided DT fixup script (sun8i-h3-fixup.scr)
## Executing script at 44000000
## Loading init Ramdisk from Legacy Image at 43300000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 5070019 Bytes = 4.8 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
Loading Ramdisk to 49b2a000, end 49fffcc3 ...
Also tried with a couple of legacy images: Armbian_5.38_Orangepiplus2e_Ubuntu_xenial_default_3.4.113_desktop.img, Armbian_5.30_Orangepiplus2e_Debian_jessie_default_3.4.113.
With legacy it also hangs - e.g. with 5.38 xenial 3.4.113 image:
U-Boot SPL 2017.11-armbian (Jan 25 2018 - 07:57:02)
DRAM: 2048 MiB
Trying to boot from MMC1
U-Boot 2017.11-armbian (Jan 25 2018 - 07:57:02 +0100) Allwinner Technology
CPU: Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi Plus 2E
DRAM: 2 GiB
MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: phy interface7
eth0: ethernet@1c30000
starting USB...
USB0: USB EHCI 1.00
USB1: USB OHCI 1.0
USB2: USB EHCI 1.00
USB3: USB OHCI 1.0
USB4: USB EHCI 1.00
USB5: USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 2 for devices... 1 USB Device(s) found
scanning bus 4 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
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
3708 bytes read in 202 ms (17.6 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
154 bytes read in 154 ms (1000 Bytes/s)
5179171 bytes read in 516 ms (9.6 MiB/s)
4752384 bytes read in 509 ms (8.9 MiB/s)
Found legacy kernel configuration
36808 bytes read in 544 ms (65.4 KiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 5179107 Bytes = 4.9 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Starting kernel ...
[sun8i_fixup]: From boot, get meminfo:
Start: 0x40000000
Size: 2048MB
ion_carveout reserve: 160m@0 256m@0 130m@1 200m@1
ion_reserve_select: ion chipid [0x2c00081!
ion_reserve_common: ion reserve: [0xb0000000, 0xc0000000]!
With an older 5.30 jessie 3.4.113 image (different uboot version) it also hangs at "io_reserve_common":
U-Boot SPL 2017.05-armbian (Jun 13 2017 - 15:36:38)
DRAM: 2048 MiB
Trying to boot from MMC1
U-Boot 2017.05-armbian (Jun 13 2017 - 15:36:38 +0200) Allwinner Technology
CPU: Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi Plus 2E
I2C: ready
DRAM: 2 GiB
MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: phy interface7
eth0: ethernet@1c30000
Hit any key to stop autoboot: 0
38518 bytes read in 142 ms (264.6 KiB/s)
Unknown command 'bmp' - try 'help'
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3565 bytes read in 192 ms (17.6 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
115 bytes read in 152 ms (0 Bytes/s)
3795385 bytes read in 448 ms (8.1 MiB/s)
4750952 bytes read in 511 ms (8.9 MiB/s)
Found legacy kernel configuration
36808 bytes read in 483 ms (74.2 KiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 3795321 Bytes = 3.6 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Starting kernel ...
[sun8i_fixup]: From boot, get meminfo:
Start: 0x40000000
Size: 2048MB
ion_carveout reserve: 160m@0 256m@0 130m@1 200m@1
ion_reserve_select: ion chipid [0x2c00081!
ion_reserve_common: ion reserve: [0xb0000000, 0xc0000000]!
I have previously had this plus2e working (on an older legacy kernel image from 2016/7 - can't recall which one). I thought I might have done a nandinstall on that image, but booting with no SD card gives:
Quote
HELLO! BOOT0 is starting!
boot0 version : 4.2.0
boot0 commit : c8c201b51b7ea1baa94590a1887313124d9a5879
fel_flag = 0x00000000
rtc[0] value = 0x00000000
rtc[1] value = 0x00000000
rtc[2] value = 0x00000000
rtc[3] value = 0x00000000
rtc[4] value = 0x00000000
rtc[5] value = 0x00000000
rtc[6] value = 0x00000000
rtc[7] value = 0x00000000
DRAM DRIVE INFO: V1.4
the chip id is 0x00000081
the chip id is 0x00000081
the chip id is 0x00000081
the chip id is 0x00000081
the chip id is 0x00000081
NOT GATE MODE
READ DQS LCDL = 001f2020
DRAM Type = 3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
DRAM CLK = 672 MHz
DRAM zq value: 003b3bfb
DRAM dram para1: 11040800
DRAM dram para2: 00000000
DRAM workmode1: 000009f4
DRAM SIZE =2048 M
odt delay
dram size =2048
card boot number = 2
card no is 2
sdcard 2 line count 8
[mmc]: mmc driver ver 2015-04-13 16:07:39
[mmc]: ***Try SD card 2***
[mmc]: mmc 2 cmd 8 err 00000100
[mmc]: mmc 2 cmd 8 err 00000100
[mmc]: mmc 2 send if cond failed
[mmc]: mmc 2 cmd 55 err 00000100
[mmc]: mmc 2 cmd 55 err 00000100
[mmc]: mmc 2 send app cmd failed
[mmc]: ***Try MMC card 2***
[mmc]: mmc re-update_phase
[mmc]: mmc re-update_phase
[mmc]: 8bit ddr!!!
[mmc]: mmc re-update_phase
[mmc]: MMC ver 5.0
[mmc]: SD/MMC Card: 8bit, capacity: 14910MB
[mmc]: vendor: Man 00150100 Snr 00e5cbc0
[mmc]: product: AWPD3
[mmc]: revision: 5.2
[mmc]: ***SD/MMC 2 init OK!!!***
sdcard 2 init ok
The size of uboot is 000e4000.
sum=fc107a6e
src_sum=fc107a6e
set_mmc_para,sdly 50M 0
set_mmc_para,sdly 25M 0
Succeed in loading uboot from sdmmc flash.
Ready to disable icache.
Jump to secend Boot.
SUNXI_NORMAL_MODE
[ 0.277]e mode
U-Boot 2011.09-rc1-00024-gdbed064 (Nov 30 2015 - 20:18:20) Allwinner Technology
[ 0.286]version: 1.1.0
[ 0.289]uboot commit : dbed064f3b1a936e4e374a6284944f4e4e30e9ae
not using multi config
normal mode
[ 0.302]pmbus: ready
not set main pmu id
axp_probe error
[board_vendor] vid_used not used
[ 0.320]PMU: pll1 1008 Mhz,PLL6=600 Mhz
AXI=336 Mhz,AHB=200 Mhz, APB1=100 Mhz
sid read already
fel key new mode
run key detect
no key found
no key input
dram_para_set start
dram_para_set end
normal mode
[ 0.351]DRAM: 2 GiB
relocation Offset is: 75af1000
[box standby] read rtc = 0x0
[box_start_os] mag be start_type no use
user_gpio config
user_gpio ok
gic: normal or no secure os mode
workmode = 0
MMC: 2
[ 0.429][mmc]: mmc driver ver 2015-06-1 20:01:00
[ 0.434][mmc]: get sdc_phy_wipe fail.
[ 0.438][mmc]: get sdc0 sdc_erase fail.
[ 0.442][mmc]: get sdc_2xmode ok, val = 1
[ 0.446][mmc]: get sdc_ddrmode ok, val = 1
[ 0.450][mmc]: get sdc_f_max fail,use default 50000000Hz
[ 0.456][mmc]: get card_line ok, card_line = 8
[ 0.460][mmc]: get sdc_ex_dly_used fail,use default
[ 0.465][mmc]: SUNXI SD/MMC: 2
[ 0.479][mmc]: *Try SD card 2*
[ 0.482][mmc]: mmc 2 cmd 8 err 100
[ 0.488][mmc]: mmc send if cond failed
[ 0.492][mmc]: mmc 2 cmd 55 err 100
[ 0.497][mmc]: send app cmd failed
[ 0.500][mmc]: *Try MMC card 2*
[ 0.542][mmc]: mmc re-update_phase
[ 0.547][mmc]: mmc re-update_phase
[ 0.552][mmc]: mmc re-update_phase
[ 0.557][mmc]: ddr8
[ 0.559][mmc]: mmc re-update_phase
[ 0.574][mmc]: CID 0x15010041 0x57504433 0x5200e5cb 0xc0f78369
[ 0.579][mmc]: MMC ver 5.0
[ 0.582][mmc]: mmc clk 50000000
[ 0.585][mmc]: SD/MMC Card: 8bit, capacity: 14910MB
[ 0.591][mmc]: boot0 capacity: 4000KB,boot1 capacity: 4000KB
[ 0.596][mmc]: ***SD/MMC 2 init OK!!!***
[ 0.601][mmc]: erase_grp_size:0x400WrBlk * 0x200 = 0x80000 Byte
[ 0.607][mmc]: secure_feature 0x55
[ 0.611][mmc]: secure_removal_type 0x9
[ 0.615]sunxi flash init ok
script config pll_de to 864 Mhz
Not Found clk pll_video1 in script
script config pll_video to 297 Mhz
script config pll_periph0 to 600 Mhz
[boot]disp_init_tv
[DISP_TV] disp_init_tv enter g_tv_used
screen 0 do not support TV TYPE!
[BOOOT_DISP_TV] disp tv device_registered
unable to find regulator vcc-hdmi-18 from [pmu1_regu] or [pmu2_regu]
enable power vcc-hdmi-18, ret=-1
DRV_DISP_Init end
read byte = 11
read byte = 10
[get_display_resolution] = 404
read byte = 10
[get_display_resolution] = 20b
boot_disp.auto_hpd=1
auto hpd check has 50 times!
attched ok, mgr1<-->device1, type=2, mode=11----
ready to set mode
disp_tv_enable
[ 1.464]finally, output_type=0x2, output_mode=0xb, screen_id=0x1, disp_para=0x20b0000
In: serial
Out: serial
Err: serial
--------fastboot partitions--------
-total partitions:14-
-name- -start- -size-
bootloader : 1000000 1000000
env : 2000000 1000000
boot : 3000000 1000000
system : 4000000 30000000
misc : 34000000 1000000
recovery : 35000000 2000000
sysrecovery : 37000000 30000000
private : 67000000 1000000
Reserve0 : 68000000 1000000
klog : 69000000 1000000
Reserve1 : 6a000000 2000000
Reserve2 : 6c000000 1000000
cache : 6d000000 28000000
UDISK : 95000000 0
-----------------------------------
base bootcmd=run setargs_nand boot_normal
bootcmd set setargs_mmc
key 0
cant find rcvy value
cant find fstbt value
misc partition found
to be run cmd=run setargs_mmc boot_normal
read item0 copy0
Item0 (Map) magic is bad
the secure storage item0 copy0 is bad
read item0 copy1
Item0 (Map) magic is bad
the secure storage item0 copy0 == copy1, the data is good
Item0 (Map) magic is bad
the secure storage map is empty
no item name mac in the map
sunxi storage read fail
no item name wifi_mac in the map
sunxi storage read fail
no item name bt_mac in the map
sunxi storage read fail
no item name specialstr in the map
sunxi storage read fail
no item name serialno in the map
sunxi storage read fail
check user data form private
the user data'magic is bad
WORK_MODE_BOOT
adver not need show
sunxi_bmp_logo_display
f_read btr over hd12896
so I'm guessing either I didn't complete the nand install, or its broken in some way!
Any ideas what is wrong and what I can do to diagnose/fix?
Question
Misha
OrangePi Plus 2e. Used Etcher to write Armbian_5.38_Orangepiplus2e_Debian_stretch_next_4.14.14.img to an Evo+ 32GB. Connected via USB serial (putty).
Boot process hangs loading the ramdisk:
Also tried with a couple of legacy images: Armbian_5.38_Orangepiplus2e_Ubuntu_xenial_default_3.4.113_desktop.img, Armbian_5.30_Orangepiplus2e_Debian_jessie_default_3.4.113.
With legacy it also hangs - e.g. with 5.38 xenial 3.4.113 image:
With an older 5.30 jessie 3.4.113 image (different uboot version) it also hangs at "io_reserve_common":
U-Boot SPL 2017.05-armbian (Jun 13 2017 - 15:36:38) DRAM: 2048 MiB Trying to boot from MMC1 U-Boot 2017.05-armbian (Jun 13 2017 - 15:36:38 +0200) Allwinner Technology CPU: Allwinner H3 (SUN8I 1680) Model: Xunlong Orange Pi Plus 2E I2C: ready DRAM: 2 GiB MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: phy interface7 eth0: ethernet@1c30000 Hit any key to stop autoboot: 0 38518 bytes read in 142 ms (264.6 KiB/s) Unknown command 'bmp' - try 'help' switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 3565 bytes read in 192 ms (17.6 KiB/s) ## Executing script at 43100000 U-boot loaded from SD Boot script loaded from mmc 115 bytes read in 152 ms (0 Bytes/s) 3795385 bytes read in 448 ms (8.1 MiB/s) 4750952 bytes read in 511 ms (8.9 MiB/s) Found legacy kernel configuration 36808 bytes read in 483 ms (74.2 KiB/s) ## Loading init Ramdisk from Legacy Image at 43300000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 3795321 Bytes = 3.6 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Starting kernel ... [sun8i_fixup]: From boot, get meminfo: Start: 0x40000000 Size: 2048MB ion_carveout reserve: 160m@0 256m@0 130m@1 200m@1 ion_reserve_select: ion chipid [0x2c00081! ion_reserve_common: ion reserve: [0xb0000000, 0xc0000000]!
I have previously had this plus2e working (on an older legacy kernel image from 2016/7 - can't recall which one). I thought I might have done a nandinstall on that image, but booting with no SD card gives:
so I'm guessing either I didn't complete the nand install, or its broken in some way!
Any ideas what is wrong and what I can do to diagnose/fix?
Edited by Mishaquoted long bootlog
Link to comment
Share on other sites
8 answers to this question
Recommended Posts