zador-blood-stained / h3-fel-mass-storage

Script and binary files for mounting SD/eMMC on sunxi boards over USB OTG connection
51 stars 23 forks source link

eMMC isn't accessible on Orange Pi Plus 2e #4

Open lictw opened 6 years ago

lictw commented 6 years ago

Hello!

This doesn't find the eMMC on the Orange Pi Plus 2e. Is it normal? Or i have problems with my board? What could be the reason? All works fine with an external SDCard, so, the program works.

Thanks!

zador-blood-stained commented 6 years ago

Just tested on my OPi+2E and it works for me. It is impossible to say why it doesn't work for you withput capturing the boot log and dmesg log using the serial console.

gkatev commented 5 years ago

Thought I'd hijack this; I also have trouble getting fel mass storage to work on an Orange Pi Plus 2e and I don't have the experience to 'decode' the debug logs.

sunxi-fel version:

AWUSBFEX soc=00001680(H3) 00000001 ver=0001 44 08 scratchpad=00007e00 00000000 00000000

sh start.sh:

Connect device in FEL mode and press <Enter>

100% [================================================]  4575 kB,  971.2 kB/s 
100% [================================================]    21 kB,  950.9 kB/s
100% [================================================]  2230 kB,  975.2 kB/s 
100% [================================================]     0 kB,  260.0 kB/s
^C

UART log:

U-Boot SPL 2016.09-armbian-fel-mass-storage-dirty (Sep 28 2016 - 12:21:11)
DRAM: 2048 MiB
Trying to boot from FEL

U-Boot 2016.09-armbian-fel-mass-storage-dirty (Sep 28 2016 - 12:21:11 +0300) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi One
DRAM:  2 GiB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
Hit any key to stop autoboot:  0 
(FEL boot)
## Executing script at 43100000
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2229486 Bytes = 2.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
Using machid 0x1029 from environment

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  [0x2004620!
ion_reserve_common: ion reserve: [0xb0000000, 0xc0000000]!
Loading, please wait...
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... 
Starting g_mass_storage script
https://github.com/zador-blood-stained/fel-mass-storage
No SD/eMMC device found
done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Will now check  file system ... fsck from util-linux 2.25.2
Checking all file systems.
done.
Usage: mount [-r] [-w] [-o options] [-t type] [-f] [-i] [-n] device directory
done.
Target filesystem doesn't have requested /sbin/init.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... mount: No such file or directory
done.
Could not copy file: No such file or directory
No init found. Try passing init= bootarg.
Rebooting automatically due to panic= boot argument
[   12.703219] ------------[ cut here ]------------

Any help would be appreciated!