-
Notifications
You must be signed in to change notification settings - Fork 12
MX3 boot via FEL mode
Art Nikpal edited this page Apr 17, 2019
·
1 revision
ABOUT: MX3 very cheap device but very nice powered H3 soc
USB3 C (USB A ) - > USB A near sd slot (same worked as usb OTG)+ insert prepare SD card with FEL loader insert power, its ready
[58768.746732] usb 1-3: new full-speed USB device number 57 using xhci_hcd
[58768.888011] usb 1-3: New USB device found, idVendor=1f3a, idProduct=efe8
[58768.888017] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
# ./uboot_fel_work4
1+0 records in
1+0 records out
4024 bytes (4.0 kB, 3.9 KiB) copied, 9.1268e-05 s, 44.1 MB/s
0+1 records in
0+1 records out
3989 bytes (4.0 kB, 3.9 KiB) copied, 8.2407e-05 s, 48.4 MB/s
Image Name:
Created: Wed Apr 17 15:07:46 2019
Image Type: ARM Linux Script (uncompressed)
Data Size: 4032 Bytes = 3.94 kB = 0.00 MB
Load Address: 00000000
Entry Point: 00000000
Contents:
Image 0: 4024 Bytes = 3.93 kB = 0.00 MB
>>,out/u-boot-mizi.bin 552159 bytes
>>boot.fel.scr 4096 bytes
>>,out/uInitrd.sfs 8171584 bytes
>>uImage.gzip 3381119 bytes
>>bin/script.bin 35224 bytes
>>boot.fel.env 1822 bytes
=========
UPLOAD: 12146004
[i] try ./tools/sunxi-fel
./tools/sunxi-fel
FEL CMD: ./tools/sunxi-fel -p -v uboot ,out/u-boot-mizi.bin write 0x43100000 boot.fel.scr write 0x43300000 ,out/uInitrd.sfs write 0x42000000 uImage.gzip write 0x43000000 bin/script.bin write 0x43101000 boot.fel.env
Stack pointers: sp_irq=0x00002000, sp=0x00005E08
MMU is not enabled by BROM
Generating the new MMU translation table at 0x00008000
=> Executing the SPL... done.
Setting write-combine mapping for DRAM.
Setting cached mapping for BROM.
Writing back the MMU translation table.
Enabling I-cache, MMU and branch prediction... done.
Writing image "U-Boot 2017.01-hyphop miZy for s", 519327 bytes @ 0x4A000000.
100% [================================================] 4 kB, 496.9 kB/s
Passing boot info via sunxi SPL: script address = 0x43100000
100% [================================================] 8172 kB, 510.6 kB/s
100% [================================================] 3381 kB, 510.0 kB/s
100% [================================================] 35 kB, 432.7 kB/s
100% [================================================] 2 kB, 251.6 kB/s
Starting U-Boot (0x4A000000).
FEL CMD: ./tools/sunxi-fel -p -v uboot ,out/u-boot-mizi.bin write 0x43100000 boot.fel.scr write 0x43300000 ,out/uInitrd.sfs write 0x42000000 uImage.gzip write 0x43000000 bin/script.bin write 0x43101000 boot.fel.env
# ifconfig usb0
# usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
# inet 172.22.1.2 netmask 255.255.255.0 broadcast 172.22.1.255
#
# master@master:~$ ssh root@zeru -p 22
BusyBox v1.24.2 () built-in shell (ash)
http://hyphop.github.io/mizy
_ ____
_ _ (_)_ / __
/ ' '| |/ /\/ /
|_|_|_|_/ /\ /
/___/_/
tiny fast embedded linux
LD_LIBRARY_PATH /tmp/lib:/tmp/usr/lib:/lib:/usr/lib:
BASE: miZy
MOD: universal core / TEST ## hyphop ##
alpha beta gamma test
BUILD: Tue Apr 9 14:29:01 +07 2019 / board: h2 / net:
BUILD: Tue Apr 9 14:29:01 +07 2019
root@miZy:~#