Jump to content

Recommended Posts

Posted

Hi people,


I need your help, I have been struggling to make this method work (https://github.com/zador-blood-stained/fel-mass-storage or https://github.com/ThomasKaiser/sunxi-armbian-flasher-osx) on the A20 processor for several days, but nothing works, I use Einstein-A20 (https://mega.nz/#F!ZtwxCCJC!AIYHcTqz-ucjuzKnE9qD7A?5xZ3iT4J) and enter the FEL mode using the special button UBOOT_SELECT.

I made my own support for this board for uboot (_defconfig, .dts) and compiled u-boot-sunxi-with-spl.bin (Scroll down).
script.bin took from cubietruck.


That is, I use the h3 folder, only:
zImage, uInitrd, boot.scr

 

Сonnect the board in FEL mode to a virtual machine on VMvare Worstation 12.5.9. Ubuntu Bionic (armbian build system).

j @ ubuntu: ~ / fel-mass-storage $ sudo ./start.sh
[sudo] password for j:
Connect device in FEL mode and press <Enter>

100% [=============================================== =] 4575 kB, 545.8 kB / s
100% [=============================================== =] 47 kB, 478.2 kB / s
100% [=============================================== =] 2230 kB, 548.6 kB / s
100% [=============================================== =] 0 kB, 15.3 kB / s

U-boot log:

Spoiler

 

U-Boot 2018.11-rc1-g09e1061df6-dirty (Dec 18 2018 - 17:55:28 +0300) Allwinner Ty

CPU:   Allwinner A20 (SUN7I)
Model: Einstein-A20
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Allwinner mUSB OTG (Peripheral)
SCSI:  SATA link 0 timeout.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst

Net:
Warning: usb_ether MAC addresses don't match:
Address in ROM is          de:ad:be:ef:00:01
Address in environment is  02:19:08:02:44:80
eth0: usb_ether
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
USB2:   USB EHCI 1.00
USB3:   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 usb for storage devices... 0 Storage Device(s) 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
EHCI failed to shut down host controller.
EHCI failed to shut down host controller.
   Loading Ramdisk to 49ddf000, end 49fff4ee ... OK
Using machid 0x1029 from environment

Starting kernel ...

 


After that, in Windows 10, a device appears with an error in getting the descriptor (USB\VID_0000&PID_0002\5&330350CB&0&5).

 

I have already reread all the topics on the forum related to uploading an image to eMMC, but as a rule, they are addressed to the H3 board.

The goal I’m following is to download a previously compiled armbian image to eMMc. With the preliminary partitioning of the file system using LUKS.

 

Perhaps there are some other ways to work with eMMC (without preloading and subsequent transfer from sd card)?

 

Please check files on my Git:

https://github.com/evgenyhawk/einstein-a20

 

 

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

Important Information

Terms of Use - Privacy Policy - Guidelines