Misha Posted August 19, 2018 Posted August 19, 2018 (edited) 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? Edited August 19, 2018 by Misha quoted long bootlog
Igor Posted August 19, 2018 Posted August 19, 2018 7 minutes ago, Misha said: HELLO! BOOT0 is starting! boot0 version : 4.2.0 boot0 commit : c8c201b51b7ea1baa94590a1887313124d9a5879 This is not an Armbian fingerprint. This is something that was preinstalled, Android probably and since it also doesn't work ... problem is elsewhere. First, do some reading here: https://forum.armbian.com/forum/31-sd-card-and-power-supply/
Misha Posted August 19, 2018 Author Posted August 19, 2018 1 minute ago, Igor said: This is not an Armbian fingerprint. This is something that was preinstalled, Android probably and since it also doesn't work ... problem is elsewhere. First, do some reading here: https://forum.armbian.com/forum/31-sd-card-and-power-supply/ Agreed - this is from the "no SD card installed" bootlog, so is probably the pre-installed Android on the emmc; I only included that because I thought it might provide some useful additional information - apologies for any confusion. I'm not trying to fix the emmc nand-install -- just trying to get it booting with latest armbian from sdcard. Once that is working I may do a nand install, but I need to get it booting first ;-) ! The first bootlog is the one with latest armbian mainline kernel image (Armbian_5.38_Orangepiplus2e_Debian_stretch_next_4.14.14.img), booting from the Evo+, which shows it hanging at the "loading ramdisk" stage. Is there anything there that indicates what might be going wrong?
Misha Posted August 19, 2018 Author Posted August 19, 2018 31 minutes ago, Igor said: This is not an Armbian fingerprint. This is something that was preinstalled, Android probably and since it also doesn't work ... problem is elsewhere. First, do some reading here: https://forum.armbian.com/forum/31-sd-card-and-power-supply/ Thanks for the pointers. Does the fact that it fails to boot from the Android presinstalled image on emmc means that its not (just) an SD card issue? SD card was tested with h2testw. Image was burnt with etcher (on Win10), using a USB3 Transcend SD/MMC/CF adapter. I can try to get hold of another sdcard and try that too. Power is from 3A PSU (bought with the plus2e), which has decently thick cable and barrel connector. Nothing connected to USB or video ports on plus2e. What's the best way to check whether I might have a power issue? I have a (digital) multimeter. edit: 3A not 2A PSU (according to the printing on the case, at least!)
Igor Posted August 19, 2018 Posted August 19, 2018 14 minutes ago, Misha said: Does the fact that it fails to boot from the Android presinstalled image on emmc means that its not (just) an SD card issue? Yes. Board can have hardware defects and in such case, there is nothing we can do. Try some stock image and some of those https://dl.armbian.com/orangepiplus2e/nightly/ Remember to attach HDMI as well since I am not sure where is default console and wait long enough. Resizing of some big and slow cards can take some time.
Misha Posted August 19, 2018 Author Posted August 19, 2018 Remember to attach HDMI as well since I am not sure where is default console and wait long enough. Resizing of some big and slow cards can take some time. HDMI attached now but no fb output visible during boot. Where in the bootlog sequence does the resizing occur? With a different sdcard (generic 32GB, h2testw passed just now at 17MBps write 60Mbps read): Armbian_5.52.180715_Orangepiplus2e_Ubuntu_bionic_dev_4.18.0-rc4.img: U-Boot SPL 2018.05-armbian (Jul 15 2018 - 16:10:26 +0000) DRAM: 2048 MiB Trying to boot from MMC1 U-Boot 2018.05-armbian (Jul 15 2018 - 16:10:26 +0000) 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 Loading Environment from EXT4... ** File not found /boot/boot.env ** ** Unable to read "/boot/boot.env" from mmc0:1 ** Failed (-5) At this point it appears to stop; the HDMI output shows top ~80% of screen black and bottom ~20% solid white. With the original Evo+ (just retested with h2testw - 21MBps write 76MBps read) and Armbian_5.59.180815_Orangepiplus2e_Ubuntu_bionic_next_4.17.14.img get basically the same: U-Boot SPL 2018.05-armbian (Aug 15 2018 - 15:59:38 +0200) DRAM: 2048 MiB Trying to boot from MMC1 U-Boot 2018.05-armbian (Aug 15 2018 - 15:59:38 +0200) 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 Loading Environment from EXT4... ** File not found /boot/boot.env ** ** Unable to read "/boot/boot.env" from mmc0:1 ** Failed (-5) With the generic 32GB and stock ubuntu_server_plus2e.img (from http://www.orangepi.org/downloadresources/PiPlus2e/2017-05-11/piplus2e_f43bac3e68bf784eb78411c4cf4.html): Quote HELLO! BOOT0 is starting! boot0 version : 4.0.0 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: V0.8 DRAM Type = 3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3) DRAM CLK = 672 MHz DRAM zq value: 003b3bfb READ DQS LCDL = 001f2020 DRAM SIZE =2048 M odt delay dram size =2048 card boot number = 0 card no is 0 sdcard 0 line count 4 [mmc]: mmc driver ver 2014-12-10 21:20:39 [mmc]: ***Try SD card 0*** [mmc]: SD/MMC Card: 4bit, capacity: 29983MB [mmc]: vendor: Man 001b534d Snr 7bda76c8 [mmc]: product: 00000 [mmc]: revision: 1.0 [mmc]: ***SD/MMC 0 init OK!!!*** sdcard 0 init ok The size of uboot is 000dc000. sum=ede66ee7 src_sum=ede66ee7 Succeed in loading uboot from sdmmc flash. Ready to disable icache. Jump to secend Boot. SUNXI_NORMAL_MODE [ 0.346]e mode U-Boot 2011.09-rc1 (Jun 21 2015 - 19:33:17) Allwinner Technology [ 0.354]version: 1.1.0 normal mode [ 0.361]pmbus: ready not set main pmu id axp_probe error [ 0.376]PMU: pll1 1200 Mhz,PLL6=600 Mhz AXI=400 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.406]DRAM: 2 GiB relocation Offset is: 75af9000 [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: 0 [ 0.480][mmc]: mmc driver ver 2014-12-10 9:23:00 [ 0.485][mmc]: get sdc_phy_wipe fail. [ 0.489][mmc]: get sdc0 sdc_erase fail. [ 0.493][mmc]: get sdc_f_max fail,use default 50000000Hz [ 0.498][mmc]: get sdc_ex_dly_used fail,use default dly [ 0.504][mmc]: SUNXI SD/MMC: 0 [ 0.517][mmc]: *Try SD card 0* [ 0.550][mmc]: CID 0x1b534d30 0x30303030 0x107bda76 0xc800d3d3 [ 0.555][mmc]: mmc clk 50000000 [ 0.559][mmc]: SD/MMC Card: 4bit, capacity: 29983MB [ 0.564][mmc]: boot0 capacity: 0KB,boot1 capacity: 0KB [ 0.569][mmc]: ***SD/MMC 0 init OK!!!*** [ 0.573][mmc]: erase_grp_size:0x1WrBlk * 0x200 = 0x200 Byte [ 0.579][mmc]: secure_feature 0x0 [ 0.582][mmc]: secure_removal_type 0x0 [ 0.586]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 [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 boot_disp.auto_hpd=1 auto hpd check has 0 times! [disk_read_fs] no the partition error: open disp_rsl.fex, maybe it is not exist not support this mode[4], use inline mode[4] attched ok, mgr0<-->device0, type=4, mode=4---- ready to set mode [ 1.193]finally, output_type=0x4, output_mode=0x4, screen_id=0x0, disp_para=0x404 fail to find part named env Using default environment In: serial Out: serial Err: serial --------fastboot partitions-------- mbr not exist base bootcmd=run setargs_mmc boot_normal bootcmd set setargs_mmc key 0 cant find rcvy value cant find fstbt value no misc partition is found to be run cmd=run setargs_mmc boot_normal [ 1.231][mmc]: MMC Device 2 not found [ 1.234][mmc]: Can not find mmc dev [ 1.238][mmc]: read first backup failed in fun sdmmc_secure_storage_read line 1849 sunxi_secstorage_read fail get secure storage map err the private part isn't exist WORK_MODE_BOOT adver not need show sunxi_bmp_logo_display [disk_read_fs] no the partition error: open bootlogo.bmp, maybe it is not exist sunxi bmp info error : unable to open logo file bootlogo.bmp [ 1.271]Hit any key to stop autoboot: 0 [ 4.530][mmc]: blkcnt should not be 0 However if I hit a key to stop autoboot I can get to a prompt: sunxi#version U-Boot 2011.09-rc1 (Jun 21 2015 - 19:33:17) Allwinner Technology arm-linux-gnueabi-gcc (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) 4.6.3 20120201 (prerelease) GNU ld (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) 2.22 Is there anything useful I can accomplish from there?
Misha Posted August 19, 2018 Author Posted August 19, 2018 Evo+ with Raspbian_For_OrangePi_Plus2E_WIFI.img (from http://www.orangepi.org/downloadresources/PiPlus2e/2016-11-12/piplus2e_63e5abfb90c7293d2993b921e14.html): Quote HELLO! BOOT0 is starting! boot0 version : 4.0.0 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: V0.8 DRAM Type = 3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3) DRAM CLK = 672 MHz DRAM zq value: 003b3bfb READ DQS LCDL = 001f201f DRAM SIZE =2048 M odt delay dram size =2048 card boot number = 0 card no is 0 sdcard 0 line count 4 [mmc]: mmc driver ver 2014-12-10 21:20:39 [mmc]: ***Try SD card 0*** [mmc]: SD/MMC Card: 4bit, capacity: 30528MB [mmc]: vendor: Man 001b534d Snr 6045531e [mmc]: product: 00000 [mmc]: revision: 1.0 [mmc]: ***SD/MMC 0 init OK!!!*** sdcard 0 init ok The size of uboot is 000dc000. sum=7d58026f src_sum=7d58026f Succeed in loading uboot from sdmmc flash. Ready to disable icache. Jump to secend Boot. SUNXI_NORMAL_MODE [ 0.345]e mode U-Boot 2011.09-rc1-00000-g21ef338-dirty (May 11 2016 - 11:24:04) Allwinner Technology [ 0.355]version: 1.1.0 normal mode [ 0.362]pmbus: ready not set main pmu id axp_probe error [ 0.377]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.407]DRAM: 2 GiB relocation Offset is: 75af9000 [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: 0 [ 0.485][mmc]: mmc driver ver 2014-12-10 9:23:00 [ 0.490][mmc]: get sdc_phy_wipe fail. [ 0.494][mmc]: get sdc0 sdc_erase fail. [ 0.498][mmc]: get sdc_f_max fail,use default 50000000Hz [ 0.503][mmc]: get sdc_ex_dly_used fail,use default dly [ 0.509][mmc]: SUNXI SD/MMC: 0 [ 0.522][mmc]: *Try SD card 0* [ 0.555][mmc]: CID 0x1b534d30 0x30303030 0x10604553 0x1e010b3b [ 0.560][mmc]: mmc clk 50000000 [ 0.564][mmc]: SD/MMC Card: 4bit, capacity: 30528MB [ 0.569][mmc]: boot0 capacity: 0KB,boot1 capacity: 0KB [ 0.574][mmc]: ***SD/MMC 0 init OK!!!*** [ 0.578][mmc]: erase_grp_size:0x1WrBlk * 0x200 = 0x200 Byte [ 0.584][mmc]: secure_feature 0x0 [ 0.587][mmc]: secure_removal_type 0x0 [ 0.591]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 [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 boot_disp.auto_hpd=1 auto hpd check has 0 times! [disk_read_fs] no the partition error: open disp_rsl.fex, maybe it is not exist not support this mode[4], use inline mode[4] attched ok, mgr0<-->device0, type=4, mode=4---- ready to set mode [ 1.198]finally, output_type=0x4, output_mode=0x4, screen_id=0x0, disp_para=0x404 fail to find part named env Using default environment In: serial Out: serial Err: serial --------fastboot partitions-------- mbr not exist base bootcmd=run setargs_mmc boot_normal bootcmd set setargs_mmc key 0 cant find rcvy value cant find fstbt value no misc partition is found to be run cmd=run setargs_mmc boot_normal [ 1.236][mmc]: MMC Device 2 not found [ 1.239][mmc]: Can not find mmc dev [ 1.243][mmc]: read first backup failed in fun sdmmc_secure_storage_read line 1849 sunxi_secstorage_read fail get secure storage map err the private part isn't exist WORK_MODE_BOOT adver not need show sunxi_bmp_logo_display [disk_read_fs] no the partition error: open bootlogo.bmp, maybe it is not exist sunxi bmp info error : unable to open logo file bootlogo.bmp [ 1.276]Hit any key to stop autoboot: 0 ## Booting kernel from Legacy Image at 40007800 ... Image Name: Linux-3.4.39 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4502488 Bytes = 4.3 MiB Load Address: 40008000 Entry Point: 40008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK [ 4.826][mmc]: MMC Device 2 not found [ 4.830][mmc]: mmc not find,so not exit [ 4.834] 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_common: ion reserve: [0xb0000000, 0xc0000000]! Again, if I hit a key to stop autoboot just before it starts the kernel I can get to a U-Boot prompt: sunxi#version U-Boot 2011.09-rc1-00000-g21ef338-dirty (May 11 2016 - 11:24:04) Allwinner Technology arm-linux-gnueabi-gcc (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) 4.6.3 20120201 (prerelease) GNU ld (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) 2.22 sunxi#
Misha Posted August 19, 2018 Author Posted August 19, 2018 Retrying Armbian_5.38_Orangepiplus2e_Ubuntu_xenial_default_3.4.113_desktop.img with HDMI connected gives: 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 with top 60% of HDMI output blank/black and bottom 40% white with multi-coloured pixel snow. Beginning to think the board might be b0rked in some way :-( Same image with no HDMI connected: 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 198 ms (17.6 KiB/s) ## Executing script at 43100000 U-boot loaded from SD Boot script loaded from mmc 154 bytes read in 150 ms (1000 Bytes/s) Again, pressing space to interrupt autoboot again I can get to (more recent) U-Boot prompt: => version U-Boot 2017.11-armbian (Jan 25 2018 - 07:57:02 +0100) Allwinner Technology arm-linux-gnueabihf-gcc (Linaro GCC 7.2-2017.11) 7.2.1 20171011 GNU ld (Linaro_Binutils-2017.11) 2.28.2.20170706 => Can I force it to boot with more logging on or anything?
Misha Posted September 10, 2018 Author Posted September 10, 2018 On 8/19/2018 at 10:49 AM, Igor said: This is not an Armbian fingerprint. This is something that was preinstalled, Android probably and since it also doesn't work ... problem is elsewhere. First, do some reading here: https://forum.armbian.com/forum/31-sd-card-and-power-supply/ Thanks Igor -- for the benefit of anyone finding this thread in the future: I checked voltage on the PSU and all seemed fine. However, I got a replacement PSU "just in case" (a 5V 3A UK plug wall wart off ebay, instead of the EU plug one that came with the OPi; just had to solder a 4/1.7mm barrel connector onto the cable) and miraculously with the new PSU the board now comes up fine! Lesson learned: PSU quality is make or break with these boards, even when using a decent barrel connector. And the symptoms of dodgy power supply can be pretty random. Thanks again 1
Recommended Posts