Jump to content

SD card not booting, but works on another. EMMC boot up.


Recommended Posts

Posted

I have multiple Orangepi plus 2e. One of them has Debian Jessie (Linux OrangePI 3.4.39 #2 SMP PREEMPT armv7l GNU/Linux Debian GNU/Linux 8 (jessie)) installed on it. On this board I can't boot from SD card in order to change its OS. I have installed ARMBIAN 5.73 stable Ubuntu 16.04.6 LTS 3.4.113-sun8i on the SD card. The SD card itself boot up perfectly on the other boards.

 

SD card boot up log (I set the verbosity to 7 through armbianENV.txt):

Spoiler

U-Boot SPL 2017.05-armbian (Jun 15 2017 - 03:36:47)
DRAM: 2048 MiB
Trying to boot from MMC1


U-Boot 2017.05-armbian (Jun 15 2017 - 03:36:47 +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 159 ms (236.3 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 211 ms (15.6 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
136 bytes read in 170 ms (0 Bytes/s)
5232676 bytes read in 554 ms (9 MiB/s)
4654944 bytes read in 549 ms (8.1 MiB/s)
Found legacy kernel configuration
36808 bytes read in 103 ms (348.6 KiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5232612 Bytes = 5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...
 

 

EMMC (the other OS) boot up log:

Spoiler

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 = 001e1e1e
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 2014-12-10 21:20: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]: 8bit ddr!!!
[mmc]: MMC ver 5.0
[mmc]: SD/MMC Card: 8bit, capacity: 14910MB
[mmc]: vendor: Man 00150100 Snr 00ec3764
[mmc]: product: AWPD3
[mmc]: revision: 5.2
[mmc]: ***SD/MMC 2 init OK!!!***
sdcard 2 init ok
The size of uboot is 000dc000.
sum=f2e675e8
src_sum=f2e675e8
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.247]e mode

U-Boot 2011.09-rc1 (Jun 21 2015 - 19:46:23) Allwinner Technology

[      0.255]version: 1.1.0
normal mode
[      0.262]pmbus:   ready
not set main pmu id
axp_probe error
[      0.277]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.307]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:     2
[      0.382][mmc]: mmc driver ver 2014-12-10 9:23:00
[      0.387][mmc]: get sdc_phy_wipe fail.
[      0.391][mmc]: get sdc0 sdc_erase fail.
[      0.395][mmc]: get sdc_2xmode ok, val = 1
[      0.399][mmc]: get sdc_ddrmode ok, val = 1
[      0.403][mmc]: get sdc_f_max fail,use default  50000000Hz
[      0.409][mmc]: get card_line ok, card_line = 8
[      0.413][mmc]: get sdc_ex_dly_used fail,use default
[      0.418][mmc]: SUNXI SD/MMC: 2
[      0.432][mmc]: *Try SD card 2*
[      0.435][mmc]: mmc 2 cmd 8 err 100
[      0.441][mmc]: mmc send if cond failed
[      0.445][mmc]: mmc 2 cmd 55 err 100
[      0.450][mmc]: send app cmd failed
[      0.453][mmc]: *Try MMC card 2*
[      0.495][mmc]: ddr8
[      0.509][mmc]: CID 0x15010041 0x57504433 0x5200ec37 0x64c713df
[      0.514][mmc]: MMC ver 5.0
[      0.517][mmc]: mmc clk 50000000
[      0.520][mmc]: SD/MMC Card: 8bit, capacity: 14910MB
[      0.526][mmc]: boot0 capacity: 4000KB,boot1 capacity: 4000KB
[      0.531][mmc]: ***SD/MMC 2 init OK!!!***
[      0.536][mmc]: erase_grp_size:0x400WrBlk * 0x200 = 0x80000 Byte
[      0.542][mmc]: secure_feature 0x55
[      0.545][mmc]: secure_removal_type  0x9
[      0.549]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 50 times!
[disk_read_fs] no the partition
error: open disp_rsl.fex, maybe it is not exist
attched ok, mgr1<-->device1, type=2, mode=11----
ready to set mode
disp_tv_enable
[      1.390]finally, output_type=0x2, output_mode=0xb, screen_id=0x1, disp_para=0x20b0000
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
the secure storage map is empty
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.451]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:    10915320 Bytes = 10.4 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
[      5.024][mmc]: mmc exit start
[      5.044][mmc]: mmc 2 cmd 8 err 100
[      5.049][mmc]: mmc send if cond failed
[      5.053][mmc]: mmc 2 cmd 55 err 100
[      5.058][mmc]: send app cmd failed
[      5.072][mmc]: get sdc_phy_wipe fail.
[      5.075][mmc]: get sdc0 sdc_erase fail.
[      5.079][mmc]: get sdc_2xmode ok, val = 1
[      5.083][mmc]: get sdc_ddrmode ok, val = 1
[      5.088][mmc]: get sdc_f_max fail,use default  50000000Hz
[      5.093][mmc]: get card_line ok, card_line = 8
[      5.098][mmc]: get sdc_ex_dly_used fail,use default
[      5.103][mmc]: mmc 2 exit ok
[      5.106]
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]!
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.4.39 (boris@UbuntuMate) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #2 SMP PREEMPT Mon Oct 12 12:03:03 CEST 2015
[    0.000000] Ignoring tag cmdline (using the default kernel command line)
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] cma: CMA: reserved 256 MiB at b0000000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] On node 0 totalpages: 524288
[    0.000000] free_area_init_node: node 0, pgdat c1000cc0, node_mem_map c10dd000
[    0.000000]   Normal zone: 1710 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 192850 pages, LIFO batch:31
[    0.000000]   HighMem zone: 2898 pages used for memmap
[    0.000000]   HighMem zone: 326830 pages, LIFO batch:31
[    0.000000] script_init enter!
[    0.000000] script_init exit!
[    0.000000] PERCPU: Embedded 8 pages/cpu @c22f9000 s11840 r8192 d12736 u32768
[    0.000000] pcpu-alloc: s11840 r8192 d12736 u32768 alloc=8*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 519680
[    0.000000] Kernel command line: earlyprintk=ttyS0,115200 loglevel=8 initcall_debug=0 console=ttyS0,115200 console=tty0 init=/init
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 2048MB = 2048MB total
[    0.000000] Memory: 1798024k/1798024k available, 299128k reserved, 1056768K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0986378   (9721 kB)
[    0.000000]       .init : 0xc0987000 - 0xc0f86e40   (6144 kB)
[    0.000000]       .data : 0xc0f88000 - 0xc1003738   ( 494 kB)
[    0.000000]        .bss : 0xc1003eec - 0xc10dc400   ( 866 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000] NR_IRQS:544
[    0.000000] Architected local timer running at 24.00MHz.
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty0] enabled, bootconsole disabled
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.4.39 (boris@UbuntuMate) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #2 SMP PREEMPT Mon Oct 12 12:03:03 CEST 2015
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: sun8i
[    0.000000] Ignoring tag cmdline (using the default kernel command line)
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] cma: CMA: reserved 256 MiB at b0000000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] On node 0 totalpages: 524288
[    0.000000] free_area_init_node: node 0, pgdat c1000cc0, node_mem_map c10dd000
[    0.000000]   Normal zone: 1710 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 192850 pages, LIFO batch:31
[    0.000000]   HighMem zone: 2898 pages used for memmap
[    0.000000]   HighMem zone: 326830 pages, LIFO batch:31
[    0.000000] script_init enter!
[    0.000000] script_init exit!
[    0.000000] PERCPU: Embedded 8 pages/cpu @c22f9000 s11840 r8192 d12736 u32768
[    0.000000] pcpu-alloc: s11840 r8192 d12736 u32768 alloc=8*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 519680
[    0.000000] Kernel command line: earlyprintk=ttyS0,115200 loglevel=8 initcall_debug=0 console=ttyS0,115200 console=tty0 init=/init
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 2048MB = 2048MB total
[    0.000000] Memory: 1798024k/1798024k available, 299128k reserved, 1056768K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0986378   (9721 kB)
[    0.000000]       .init : 0xc0987000 - 0xc0f86e40   (6144 kB)
[    0.000000]       .data : 0xc0f88000 - 0xc1003738   ( 494 kB)
[    0.000000]        .bss : 0xc1003eec - 0xc10dc400   ( 866 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000] NR_IRQS:544
[    0.000000] Architected local timer running at 24.00MHz.
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty0] enabled, bootconsole disabled
[    0.019916] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)
[    0.019971] pid_max: default: 32768 minimum: 301
[    0.020246] Mount-cache hash table entries: 512
[    0.021133] Initializing cgroup subsys cpuacct
[    0.021163] Initializing cgroup subsys freezer
[    0.021208] CPU: Testing write buffer coherency: ok
[    0.021262] ftrace: allocating 26203 entries in 77 pages
[    0.050269] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.050302] [sunxi_smp_prepare_cpus] enter
[    0.050343] Setting up static identity map for 0x406d2b70 - 0x406d2bc8
[    0.051182] CPU1: Booted secondary processor
[    0.051182] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.051314] CPU2: Booted secondary processor
[    0.051314] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.051314] CPU3: Booted secondary processor
[    0.051314] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.060174] Brought up 4 CPUs
[    0.060257] SMP: Total of 4 processors activated (19200.00 BogoMIPS).
[    0.060842] devtmpfs: initialized
[    0.063133] wakeup src cnt is : 1.
[    0.063152] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000
[    0.063175] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x0
[    0.063199] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40
[    0.063224] sunxi pm init
[    0.063355] pinctrl core: initialized pinctrl subsystem
[    0.073936] NET: Registered protocol family 16
[    0.074592] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.074592] script_sysfs_init success
[    0.074592] sunxi_dump_init success
[    0.074592] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl
[    0.074592] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver
[    0.074592] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.074592] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.074592] script config pll_video to 297 Mhz
[    0.074592] script config pll_de to 864 Mhz
[    0.074592] script config pll_ve to 402 Mhz
[    0.074592] sunxi_default_clk_init
[    0.074592] try to set pll6ahb1 to 200000000
[    0.074592] try to set ahb clk source to pll6ahb1
[    0.074592] set ahb clk source to pll6ahb1
[    0.074592] try to set ahb1 to 200000000
[    0.074592] try to set apb1 to 100000000
[    0.074830] ===fe3o4==== sunxi_root_procfs_attach ret:0
[    0.080357] bio: create slab <bio-0> at 0
[    0.080364] [ARISC] :sunxi-arisc driver v1.04
[    0.094902] [ARISC] :arisc version: [v0.1.34]
[    0.171440] [ARISC] :sunxi-arisc driver v1.04 startup succeeded
[    0.180384] SCSI subsystem initialized
[    0.180572] usbcore: registered new interface driver usbfs
[    0.180648] usbcore: registered new interface driver hub
[    0.180688] usbcore: registered new device driver usb
[    0.180688] twi_chan_cfg()335 - [twi0] has no twi_regulator.
[    0.180688] twi_chan_cfg()335 - [twi1] has no twi_regulator.
[    0.180688] twi_chan_cfg()335 - [twi2] has no twi_regulator.
[    0.180725] Linux video capture interface: v2.00
[    0.180917] Advanced Linux Sound Architecture Driver Version 1.0.25.
[    0.181401] Bluetooth: Core ver 2.16
[    0.181446] NET: Registered protocol family 31
[    0.181468] Bluetooth: HCI device and connection manager initialized
[    0.181493] Bluetooth: HCI socket layer initialized
[    0.181513] Bluetooth: L2CAP socket layer initialized
[    0.181552] Bluetooth: SCO socket layer initialized
[    0.181754] cfg80211: Calling CRDA to update world regulatory domain
[    0.181829] Switching to clocksource arch_sys_counter
[    0.192011] FS-Cache: Loaded
[    0.192291] CacheFiles: Loaded
[    0.201865] NET: Registered protocol family 2
[    0.202128] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.202653] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.204268] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
[    0.205059] TCP: Hash tables configured (established 131072 bind 65536)
[    0.205084] TCP: reno registered
[    0.205104] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.205148] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.205428] NET: Registered protocol family 1
[    0.205772] RPC: Registered named UNIX socket transport module.
[    0.205799] RPC: Registered udp transport module.
[    0.205817] RPC: Registered tcp transport module.
[    0.205834] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.545921] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available
[    0.546068] sunxi_reg_init enter
[    0.546789] audit: initializing netlink socket (disabled)
[    0.546847] type=2000 audit(0.540:1): initialized
[    0.547907] highmem bounce pool size: 64 pages
[    0.548745] NFS: Registering the id_resolver key type
[    0.549071] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.549720] NTFS driver 2.1.30 [Flags: R/W].
[    0.549847] fuse init (API version 7.18)
[    0.550591] Btrfs loaded
[    0.550628] msgmni has been set to 1447
[    0.551640] io scheduler noop registered
[    0.551664] io scheduler deadline registered
[    0.551746] io scheduler cfq registered (default)
[    0.552164] [DISP]disp_module_init
[    0.552452] cmdline,disp=
[    0.560315] [DISP] Fb_map_kernel_logo,line:925:Fb_map_kernel_logo failed!
[    0.573052] Console: switching to colour frame buffer device 160x45
[    0.586727] [DISP]disp_module_init finish
[    0.587013] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator.
[    0.587165] sw_uart_get_devinfo()1503 - uart2 has no uart_regulator.
[    0.587311] sw_uart_get_devinfo()1503 - uart3 has no uart_regulator.
[    0.587852] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI
[    0.587996] sw_uart_pm()890 - uart0 clk is already enable
[    0.588127] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n
[    0.684059] console [ttyS0] enabled
[    1.285124] uart2: ttyS2 at MMIO 0x1c28800 (irq = 34) is a SUNXI
[    1.448412] uart3: ttyS3 at MMIO 0x1c28c00 (irq = 35) is a SUNXI
[    1.598376] sunxi_cmatest_init enter
[    1.747379] sunxi_cmatest_init success
[    1.914224] loop: module loaded
[    2.026514] sunxi_spi_chan_cfg()1355 - [spi-0] has no spi_regulator.
[    2.037405] sunxi_spi_chan_cfg()1355 - [spi-1] has no spi_regulator.
[    2.048760] spi spi0: master is unqueued, this is deprecated
[    2.059068] tun: Universal TUN/TAP device driver, 1.6
[    2.068340] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    2.079944] PPP generic driver version 2.4.2
[    2.088519] PPP BSD Compression module registered
[    2.097373] PPP Deflate Compression module registered
[    2.108833] PPP MPPE Compression module registered
[    2.117824] NET: Registered protocol family 24
[    2.126370] PPTP driver version 0.8.5
[    2.134228] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.165299] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.178023] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1
[    2.190687] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000
[    2.220032] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00
[    2.230816] hub 1-0:1.0: USB hub found
[    2.238597] hub 1-0:1.0: 1 port detected
[    2.266878] sunxi-ehci sunxi-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.279507] sunxi-ehci sunxi-ehci.2: new USB bus registered, assigned bus number 2
[    2.291969] sunxi-ehci sunxi-ehci.2: irq 106, io mem 0xf1c1b000
[    2.320035] sunxi-ehci sunxi-ehci.2: USB 0.0 started, EHCI 1.00
[    2.320516] hub 2-0:1.0: USB hub found
[    2.320539] hub 2-0:1.0: 1 port detected
[    2.340867] sunxi-ehci sunxi-ehci.4: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.340891] sunxi-ehci sunxi-ehci.4: new USB bus registered, assigned bus number 3
[    2.371108] sunxi-ehci sunxi-ehci.4: irq 110, io mem 0xf1c1d000
[    2.400037] sunxi-ehci sunxi-ehci.4: USB 0.0 started, EHCI 1.00
[    2.410904] hub 3-0:1.0: USB hub found
[    2.418866] hub 3-0:1.0: 1 port detected
[    2.427333] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.458006] sunxi-ohci sunxi-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.470337] sunxi-ohci sunxi-ohci.2: new USB bus registered, assigned bus number 4
[    2.482562] sunxi-ohci sunxi-ohci.2: irq 107, io mem 0xf1c1b400
[    2.554498] hub 4-0:1.0: USB hub found
[    2.562557] hub 4-0:1.0: 1 port detected
[    2.571070] Initializing USB Mass Storage driver...
[    2.580451] usbcore: registered new interface driver usb-storage
[    2.590939] USB Mass Storage support registered.
[    2.599852] usbcore: registered new interface driver ums-alauda
[    2.610243] usbcore: registered new interface driver ums-cypress
[    2.620731] usbcore: registered new interface driver ums-datafab
[    2.631152] usbcore: registered new interface driver ums_eneub6250
[    2.641767] usbcore: registered new interface driver ums-freecom
[    2.652172] usbcore: registered new interface driver ums-isd200
[    2.662382] usbcore: registered new interface driver ums-jumpshot
[    2.672842] usbcore: registered new interface driver ums-karma
[    2.682892] usbcore: registered new interface driver ums-onetouch
[    2.693169] usbcore: registered new interface driver ums-realtek
[    2.703269] usbcore: registered new interface driver ums-sddr09
[    2.713194] usbcore: registered new interface driver ums-sddr55
[    2.723066] usbcore: registered new interface driver ums-usbat
[    2.732856] usbcore: registered new interface driver usbserial
[    2.742499] usbserial: USB Serial Driver core
[    2.750522] usbcore: registered new interface driver option
[    2.759909] USB Serial support registered for GSM modem (1-port)
[    2.770185] file system registered
[    2.778477] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    2.789321] android_usb gadget: Number of LUNs=3
[    2.797577]  lun0: LUN: removable file: (no medium)
[    2.806147]  lun1: LUN: removable file: (no medium)
[    2.814640]  lun2: LUN: removable file: (no medium)
[    2.823399] android_usb gadget: android_usb ready
[    2.831824]  uinput result 0 , vmouse_init
[    2.839949] mousedev: PS/2 mouse device common for all mice
[    2.849343] sunxikbd_init failed.
[    2.856115] ls_fetch_sysconfig_para: type err  device_used = 0.
[    2.865817] =========script_get_err============
[    2.873911] ltr_init: ls_fetch_sysconfig_para err.
[    2.882505] [RTC] WARNING: Rtc time will be wrong!!
[    2.891170] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0
[    2.901632] i2c /dev entries driver
[    2.908901] IR RC5(x) protocol handler initialized
[    2.917384] sunxi tsc version 0.1
[    2.924312] tscdev_init: tsc driver is disabled
[    2.932509] sunxi cedar version 0.1
[    2.939483] [cedar]: install start!!!
[    2.946683] [cedar]: install end!!!
[    2.953481] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0
[    2.963535] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf
[    2.974879] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)
[    2.988449] wdt_enable, write reg 0xf1c20cb8 val 0x00000000
[    2.997780] timeout_to_interv, line 167
[    3.005134] interv_to_timeout, line 189
[    3.012450] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec
[    3.025133] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
[    3.037933] Bluetooth: HCI UART driver ver 2.2
[    3.046600] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.109 2014-12-4 20:51) Compiled in Oct 12 2015 at 12:00:18
[    3.061690] [mmc]: get mmc0's sdc_power is null!
[    3.070521] [mmc]: get mmc1's sdc_power is null!
[    3.079316] [mmc]: get mmc1's 2xmode ok, val = 1
[    3.088137] [mmc]: get mmc1's ddrmode ok, val = 1
[    3.097111] [mmc]: get mmc2's IO(sdc_cd) failed
[    3.105888] [mmc]: get mmc2's sdc_power is null!
[    3.114428] [mmc]: get mmc2's 2xmode ok, val = 1
[    3.122962] [mmc]: get mmc2's ddrmode ok, val = 1
[    3.131591] [mmc]: MMC host used card: 0x7, boot card: 0x0, io_card 2
[    3.143153] [mmc]: sdc0 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.159724] [mmc]: sdc1 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.176191] [mmc]: sdc2 set ios: clk 0Hz bm OD pm OFF vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    3.192133] sunxi_leds_fetch_sysconfig_para script_parser_fetch "leds_para" leds_used = -1063626992
[    3.205455] =========script_get_err============
[    3.214873] usbcore: registered new interface driver usbhid
[    3.224333] usbhid: USB HID core driver
[    3.235224] asoc: sndcodec <-> sunxi-codec mapping ok
[    3.247006] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok
[    3.257167] oprofile: using arm/armv7-ca7
[    3.265116] u32 classifier
[    3.271442]     Actions configured
[    3.278500] Netfilter messages via NETLINK v0.30.
[    3.287085] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    3.297536] ctnetlink v0.93: registering with nfnetlink.
[    3.306594] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    3.317492] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    3.327379] xt_time: kernel timezone is -0000
[    3.335474] IPv4 over IPv4 tunneling driver
[    3.343571] gre: GRE over IPv4 demultiplexor driver
[    3.352101] ip_gre: GRE over IPv4 tunneling driver
[    3.361024] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.370227] arp_tables: (C) 2002 David S. Miller
[    3.378507] TCP: cubic registered
[    3.385300] Initializing XFRM netlink socket
[    3.393361] NET: Registered protocol family 10
[    3.402304] Mobile IPv6
[    3.408081] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    3.417268] IPv6 over IPv4 tunneling driver
[    3.425757] NET: Registered protocol family 17
[    3.433728] NET: Registered protocol family 15
[    3.441807] Bluetooth: RFCOMM TTY layer initialized
[    3.450164] Bluetooth: RFCOMM socket layer initialized
[    3.458707] Bluetooth: RFCOMM ver 1.11
[    3.465627] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.474218] Bluetooth: BNEP filters: protocol multicast
[    3.482632] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.492002] L2TP core driver, V2.0
[    3.498454] PPPoL2TP kernel driver, V2.0
[    3.505496] L2TP IP encapsulation support (L2TPv3)
[    3.513589] L2TP netlink interface
[    3.520153] L2TP ethernet pseudowire support (L2TPv3)
[    3.528521] Registering the dns_resolver key type
[    3.536704] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    3.548092] ThumbEE CPU extension supported.
[    3.555650] Registering SWP/SWPB emulation handler
[    3.564524] cmdline,disp=
[    3.570355] [HDMI] power vcc-hdmi-18
[    3.607830] sunxi-rtc sunxi-rtc: hctosys: unable to read the hardware clock
[    3.618414] ths_fetch_sysconfig_para: type err  device_used = 1.
[    3.629047] CPU Budget:Register notifier
[    3.636248] CPU Budget:register Success
[    3.643280] sunxi-budget-cooling sunxi-budget-cooling: Cooling device registered: thermal-budget-0
[    3.658384] [rf_pm]: select module num is 7
[    3.665976] [rf_pm]: module power0 name vcc-wifi-33
[    3.674307] [rf_pm]: failed to fetch module_power1
[    3.682530] [rf_pm]: mod has no chip_en gpio
[    3.690157] [rf_pm]: failed to fetch lpo_use_apclk
[    3.698327] [rf_pm]: regulator on.
[    3.705132] [wifi_pm]: wifi gpio init is OK !!
[    3.712904] ALSA device list:
[    3.718931]   #0: audiocodec
[    3.724869]   #1: sndhdmi
[    3.730551] Warning: unable to open an initial console.
[    3.743123] Freeing init memory: 6140K
[    4.175072] [mmc]: mmc 2 detect change, present 1
[    4.210094] [DISP] disp_device_attached_and_enable,line:159:attched ok, mgr0<-->device0, type=4, mode=4
[    4.680139] [mmc]: sdc2 set ios: clk 0Hz bm PP pm UP vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.700839] [mmc]: sdc2 power_supply is null
[    4.730128] [mmc]: sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.772438] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 2 err, cmd 52,  RTO !!
[    4.791332] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 2 err, cmd 52,  RTO !!
[    4.809496] [mmc]: sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.832254] [mmc]: sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    4.854248] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 2 err, cmd 8,  RTO !!
[    4.867003] *******************Try sdio*******************
[    4.878612] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 2 err, cmd 5,  RTO !!
[    4.892302] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 2 err, cmd 5,  RTO !!
[    4.905942] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 2 err, cmd 5,  RTO !!
[    4.919094] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 2 err, cmd 5,  RTO !!
[    4.931396] *******************Try sd *******************
[    4.942451] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 2 err, cmd 55,  RTO !!
[    4.955729] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 2 err, cmd 55,  RTO !!
[    4.968946] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 2 err, cmd 55,  RTO !!
[    4.982106] [mmc]: *** sunxi_mci_dump_errinfo(L826): smc 2 err, cmd 55,  RTO !!
[    4.994389] *******************Try mmc*******************
[    5.004547] [mmc]: sdc2 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.019108] [mmc]: sdc2 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.033231] [mmc]: sdc2 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.047244] [mmc]: sdc2 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.063578] [mmc]: sdc2 set ios: clk 400000Hz bm OD pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.091210] [mmc]: sdc2 set ios: clk 400000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.116828] [mmc]: sdc2 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing LEGACY(SDR12) dt B
[    5.130860] [mmc]: sdc2 set ios: clk 25000000Hz bm PP pm ON vdd 3.3V width 1 timing MMC-HS(SDR20) dt B
[    5.144381] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 1 timing MMC-HS(SDR20) dt B
[    5.157922] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing MMC-HS(SDR20) dt B
[    5.171506] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    5.184449] [mmc]: sdc2 set ios: clk 50000000Hz bm PP pm ON vdd 3.3V width 8 timing UHS-DDR50 dt B
[    5.197359] mmc2: new high speed DDR MMC card at address 0001
[    5.206985] mmcblk0: mmc2:0001 AWPD3R 14.5 GiB
[    5.215059] mmcblk0boot0: mmc2:0001 AWPD3R partition 1 4.00 MiB
[    5.224696] mmcblk0boot1: mmc2:0001 AWPD3R partition 2 4.00 MiB
[    5.235312]  mmcblk0: p1 p2
[    5.244191]  mmcblk0boot1: unknown partition table
[    5.253882]  mmcblk0boot0: unknown partition table
[    5.262235] *******************mmc init ok *******************
[   10.116913] systemd-udevd[110]: starting version 215
[   11.242037] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[   12.031930] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[   12.051604] systemd[1]: Detected architecture 'arm'.
[   12.097168] systemd[1]: Failed to insert module 'autofs4'
[   12.108622] systemd[1]: Set hostname to <OrangePI>.
[   12.290273] systemd[1]: Expecting device dev-ttyS0.device...
[   12.303249] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[   12.315082] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   12.326646] systemd[1]: Starting Remote File Systems (Pre).
[   12.339236] systemd[1]: Reached target Remote File Systems (Pre).
[   12.349254] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   12.363066] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[   12.375517] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[   12.387740] systemd[1]: Starting Paths.
[   12.398964] systemd[1]: Reached target Paths.
[   12.407273] systemd[1]: Starting Encrypted Volumes.
[   12.419917] systemd[1]: Reached target Encrypted Volumes.
[   12.429388] systemd[1]: Starting Swap.
[   12.439885] systemd[1]: Reached target Swap.
[   12.447780] systemd[1]: Expecting device dev-mmcblk0p1.device...
[   12.461151] systemd[1]: Starting Root Slice.
[   12.472679] systemd[1]: Created slice Root Slice.
[   12.481245] systemd[1]: Starting Delayed Shutdown Socket.
[   12.494376] systemd[1]: Listening on Delayed Shutdown Socket.
[   12.504279] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[   12.518904] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[   12.530195] systemd[1]: Starting Journal Socket (/dev/log).
[   12.543880] systemd[1]: Listening on Journal Socket (/dev/log).
[   12.554116] systemd[1]: Starting udev Control Socket.
[   12.567334] systemd[1]: Listening on udev Control Socket.
[   12.577027] systemd[1]: Starting udev Kernel Socket.
[   12.589910] systemd[1]: Listening on udev Kernel Socket.
[   12.599234] systemd[1]: Starting User and Session Slice.
[   12.612294] systemd[1]: Created slice User and Session Slice.
[   12.622169] systemd[1]: Starting Journal Socket.
[   12.634467] systemd[1]: Listening on Journal Socket.
[   12.643497] systemd[1]: Starting System Slice.
[   12.655537] systemd[1]: Created slice System Slice.
[   12.664646] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[   12.730543] systemd[1]: Starting udev Coldplug all Devices...
[   12.810881] systemd[1]: Mounting Debug File System...
[   12.880504] systemd[1]: Mounted Huge Pages File System.
[   12.893329] systemd[1]: Started Set Up Additional Binary Formats.
[   12.907675] systemd[1]: Starting Load Kernel Modules...
[   13.020636] systemd[1]: Mounted POSIX Message Queue File System.
[   13.032455] systemd[1]: Starting LSB: Set keymap...
[   13.050997] 8189es: disagrees about version of symbol module_layout
[   13.130474] systemd[1]: Starting system-getty.slice.
[   13.146629] systemd[1]: Created slice system-getty.slice.
[   13.157540] systemd[1]: Starting system-serial\x2dgetty.slice.
[   13.174341] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   13.186335] systemd[1]: Started File System Check on Root Device.
[   13.198055] systemd[1]: Starting Journal Service...
[   13.305161] systemd[1]: Started Journal Service.
[   14.197790] systemd-udevd[177]: starting version 215
[   17.946602] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[   19.492143] systemd-journald[171]: Received request to flush runtime journal from PID 1
[   25.812235] sunxi_i2c_do_xfer()980 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x68)
[   25.825881] rtc-ds1307: probe of 0-0068 failed with error -5
[   25.836470] i2c i2c-0: new_device: Instantiated device ds1307 at 0x68

Debian GNU/Linux 8 OrangePI ttyS0

OrangePI login:

 

Posted
1 hour ago, Ali said:

I can't boot from SD card

not very detailed, but have you tried with different PowerSupply AND different cable ?

Posted
1 hour ago, Ali said:

I set the verbosity to 7 through armbianENV.txt


But console goes to the HDMI by default. Change console to serial and try again.

Posted
3 minutes ago, Tido said:

not very detailed, but have you tried with different PowerSupply AND different cable ?

I have attached the boot up log.

I have industrial 5A switching power source. No problem with the other devices.

 

Posted
7 minutes ago, Igor said:


But console goes to the HDMI by default. Change console to serial and try again.

If it means changing inside armbianENV.txt  then this is the new boot up log (its value was both):

 

Spoiler

[ 4600.950316] Restarting system.
[ 4600.957126] Restarting Linux version 3.4.39 (boris@UbuntuMate) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #2 SMP PREEMPT Mon Oct 12 12:03:03 CEST 2015
[ 4600.957140]

U-Boot SPL 2017.05-armbian (Jun 15 2017 - 03:36:47)
DRAM: 2048 MiB
Trying to boot from MMC1


U-Boot 2017.05-armbian (Jun 15 2017 - 03:36:47 +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 157 ms (239.3 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 210 ms (15.6 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
138 bytes read in 169 ms (0 Bytes/s)
5232676 bytes read in 552 ms (9 MiB/s)
4654944 bytes read in 548 ms (8.1 MiB/s)
Found legacy kernel configuration
36808 bytes read in 101 ms (355.5 KiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5232612 Bytes = 5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... Bad Data CRC
Ramdisk image is corrupt or invalid
SCRIPT FAILED: continuing...
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
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

USB device 0: unknown device
BOOTP broadcast 1
data abort
pc : [<bff9aee4>]          lr : [<0000b3db>]
reloc pc : [<4a03aee4>]    lr : [<8a0ab3db>]
sp : bbf3b5c0  ip : 00000000     fp : bffed6f8
r10: bffed24c  r9 : bbf3fee8     r8 : 0000000e
r7 : bffef584  r6 : bffef58c     r5 : 00000000  r4 : bffed74e
r3 : 00060101  r2 : 00000008     r1 : bffed6fe  r0 : 0000000e
Flags: nZCv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

resetting ...

U-Boot SPL 2017.05-armbian (Jun 15 2017 - 03:36:47)
DRAM: 2048 MiB
Trying to boot from MMC1


U-Boot 2017.05-armbian (Jun 15 2017 - 03:36:47 +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 157 ms (239.3 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 210 ms (15.6 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
138 bytes read in 169 ms (0 Bytes/s)
5232676 bytes read in 552 ms (9 MiB/s)
4654944 bytes read in 548 ms (8.1 MiB/s)
Found legacy kernel configuration
36808 bytes read in 102 ms (351.6 KiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5232612 Bytes = 5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

 

Another:

Spoiler

U-Boot SPL 2017.05-armbian (Jun 15 2017 - 03:36:47)
DRAM: 2048 MiB
Trying to boot from MMC1


U-Boot 2017.05-armbian (Jun 15 2017 - 03:36:47 +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 157 ms (239.3 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 210 ms (15.6 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
138 bytes read in 168 ms (0 Bytes/s)
5232676 bytes read in 552 ms (9 MiB/s)
4654944 bytes read in 548 ms (8.1 MiB/s)
Found legacy kernel configuration
36808 bytes read in 102 ms (351.6 KiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    5232612 Bytes = 5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
 

 

Posted
1 minute ago, Ali said:

its value was both


both doesn't always work. Use: serial

Posted
3 minutes ago, Igor said:


both doesn't always work. Use: serial

Yeah, it's was "console=both" and I've changed it. So now it is "console=serial". The attached log from my last post is after changing.

Posted
9 minutes ago, Ali said:

Yeah, it's was "console=both" and I've changed it. So now it is "console=serial". The attached log from my last post is after changing.


So there is nothing after "Starting kernel ..."? Huh. It works on one Orangepi 2E board and on the other it stops? Can you identify the PCB difference, especially memory and eMMC chips? Or if you place a macro photo of working/non-working PCB?
 

It is strange that it hangs there. It usually hangs before, in u-boot ... Have you tried to boot most recent image containing modern kernel on this particular board?

Posted
7 minutes ago, Igor said:


So there is nothing after "Starting kernel ..."? Huh. It works on one Orangepi 2E board and on the other it stops? Can you identify the PCB difference, especially memory and eMMC chips? Or if you place a macro photo of working/non-working PCB?
 

It is strange that it hangs there. It usually hangs before, in u-boot ... Have you tried to boot most recent image containing modern kernel on this particular board?

The SD card works on all my boards except this one, it stuck at "starting kernel". The strange is its old OS (on EMMC) runs perfectly, no stuck at all, you can see its boot up log in the first post (Debian Jessie). 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines