How to boot from eMMC on A20-OLinuXino-LIME2 Rev. E

Started by lauhub, June 15, 2016, 02:40:08 PM

Previous topic - Next topic

lauhub

Hello,

I have several Lime2 with eMMC chip. I managed to create Armbian image an boot from a SD card which can see the eMMC device.

However, booting from eMMC seems impossible.

No system images

I tried to download some images that contain installation script for eMMC as mentionned here:

Quote from: LubOlimex on April 08, 2016, 02:14:03 PM
...

Try with these two images for LIME2:

1) LIME2 with NAND, 2015.10 mainline u-boot, sunxi kernel, Jessie FS, image release #5: https://www.olimex.com/wiki/images/4/46/A20-lime2_mainline_uboot_GMAC_master_sunxi_kernel_3.4.103_jessie_NAND_rel_5.torrent

2) LIME2 with eMMC, 2015.10 mainline u-boot, sunxi kernel, Jessie FS, image release #5: https://www.olimex.com/wiki/images/1/14/A20-lime2_mainline_uboot_GMAC_master_sunxi_kernel_3.4.103_jessie_emmc_rel_5.torrent

There are NAND/eMMC install scripts inside.

We are working on the repository and the instructions for the new releases. Keep an eye here: https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/A20/A20-build-3.4.103-release-2

...

But nothing downloads (all torrents are stuck to 0%).

Boot problem

Using SD card

This works with SD card:

U-Boot 2016.05-armbian (Jun 14 2016 - 15:12:51 +0200) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Model: Olimex A20-OLinuXino-LIME2
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0 (SD), SUNXI SD/MMC: 1


Kernel is  4.6.2-sunxi

Using eMMC

When removing SD card and booting from eMMC, nothing happens : no message, not any string is displayed.

Any lead or example (or eMMC install script) would be welcome.

Any available image (download link) which contain this information would be also welcome  ;)

TGYK

For those who are searching for an answer to a similar issue, I've found that powering the Lime2 (revision G in my case) via the OTG plug does not allow boot via eMMC for whatever reason; When booted via the SD card, however, the eMMC is fully accessible and able to be written to/read from. To be specific: You are able to boot perfectly fine via SD card, and have run the emmc.sh script to write the filesystem to eMMC, but when trying to run with the SD card removed, it appears there is no power to the board (no signal via HDMI, no output via UART) while powering via the OTG adapter.

I have found that supplying power via the DC Barrel jack (5VDC, Center-positive) will allow boot via eMMC, assuming you've followed proper procedure as listed and have run the ./emmc.sh script in the root user's home directory while booted from SD card.

I know I'm replying to an old topic, but after finding several posts similar to my own questions and no definitive solutions or even replies, I figure someone may find solace in what I've found. I do hope this can help someone out there.

LubOlimex

Is it possible that the USB doesn't provide enough power?

Also if you have problems booting from eMMC when there is no card or a blank card inside consider this script fix: https://www.olimex.com/forum/index.php?topic=5933.msg24307#msg24307

Best regards,
Lub/OLIMEX
Technical support and documentation manager at Olimex

TGYK

Quote from: LubOlimex on November 06, 2017, 11:10:27 AM
Is it possible that the USB doesn't provide enough power?

Also if you have problems booting from eMMC when there is no card or a blank card inside consider this script fix: https://www.olimex.com/forum/index.php?topic=5933.msg24307#msg24307

Best regards,
Lub/OLIMEX
No, this was a 10 watt adapter, tested at a stable 5v under 2A load. I have seen suggestions of the same issues around the net, where using the OTG adapter to power the board won't allow booting from eMMC. I don't know why and don't care to dig into the schematics enough to find out. I do know that using the barrel jack instead, does allow the board to boot from eMMC when no SD card is present.