Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: WilsonManzano on September 05, 2017, 07:11:14 PM

Title: Board OLINUXINO A20 LIME 2 DOESN'T BOOT
Post by: WilsonManzano on September 05, 2017, 07:11:14 PM
I buy a board olinuxino lime 2 and I have tried to boot the system operative with official images with android or linux but nothing happens, the test the voltages but are ok, I tried mount the image with win32diskimagger, dd from linux but nothings happens, i connected the board to my pc by UART and these message are shown:
-----------First boot----------------
U-Boot SPL 2016.09-dirty (Apr 14 2017 - 15:34:55)
DRAM: 512 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1


U-Boot 2016.09-dirty (Apr 14 2017 - 15:34:55 +0300) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Model: Olimex A20-OLinuXino-LIME2
I2C:   ready
DRAM:  512 MiB

the seconds and third and fourth... it was:

U-Boot SPL 2016.09-dirty (Apr 14 2017 - 15:34:55)
DRAM:�
U-Boot SPL 2016.09-dirty (Apr 14 2017 - 15:34:55)
DRAM:�
U-Boot SPL 2016.09-dirty (Apr 14 2017 - 15:34:55)
DRAM:�
U-Boot SPL 2016.09-dirty (Apr 14 2017 - 15:34:55)
DRAM:�
---------------
Other day the message shown was :

U-Boot SPL 2016.09-dirty (Apr 14 2017 - 15:34:55)
DRAM: 512 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1


U-Boot 2016.09-dirty (Apr 14 2017 - 15:34:55 +0300) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Model: Olimex A20-OLinuXino-LIME2
I2C:   ready
DRAM:  512 MiB
initcall sequence 5efaf6a4 failed at call 4a010c2c (err=-96)
### ERROR ### Please RESET the board ###

I have tried everything but the board doesn't boot, somebody knows what is my problem?

Title: Re: Board OLINUXINO A20 LIME 2 DOESN'T BOOT
Post by: SR-Digitronic on September 06, 2017, 12:07:53 PM
Maybe try to reflash the MicroSD card, maybe it got corrupted.
Even fsck wouldn't be any help, since u-boot is placed before the first partition.

But it sounds like you tried different images?

You could try what happens when you try http://linux-sunxi.org/FEL/USBBoot, but you need a selfbuilt u-boot for that. USB OTG is the micro USB connector.

It might work to extract u-boot from the card and boot with that:

dd if=/dev/sdX of=card_u-boot-sunxi-with-spl.bin bs=1024 seek=8
sunxi-fel -v uboot card_u-boot-sunxi-with-spl.bin


Expected behavior would be that it fails to boot and gives you a shell. A20 only goes automatically into FEL made if there is neither a card inserted nor NAND bootable. Otherwise we would need to hold the recovery button while powering on your board, it then stays in FEL mode until it gets commands.
Title: Re: Board OLINUXINO A20 LIME 2 DOESN'T BOOT
Post by: LubOlimex on September 06, 2017, 01:47:05 PM
LIME2 has 1GB of RAM memory. From your log this doesn't seem the case. Are you sure you are testing with the proper image?

Torrent of official Debian Jessie release #13 for A20-OLinuXino-LIME2, A20-OLinuXino-LIME2-n4GB, and A20-OLinuXino-LIME2-n8GB (not suitable for boards with eMMC flash): https://www.olimex.com/wiki/images/2/24/A20-lime2_mainline_uboot_sunxi_kernel_3.4.103_jessie_NAND_rel_13.torrent

Torrent of official Debian Jessie release #13 for A20-OLinuXino-LIME2, A20-OLinuXino-LIME2-e4GB (not suitable for boards with NAND flash): https://www.olimex.com/wiki/images/5/50/A20-lime2_mainline_uboot_sunxi_kernel_3.4.103_jessie_eMMC_rel_14.torrent

Just make sure to re-download and test again with the latest image suitable for your board. There was a bug in the
previous release a week ago that prevented the SD card from booting.
Title: Re: Board OLINUXINO A20 LIME 2 DOESN'T BOOT
Post by: WilsonManzano on September 06, 2017, 10:07:06 PM
I downloaded again a20-lime2_mainline_uboot_sunxi_kernel_3.4.103_jessie_NAND_rel_13 and made bootable sd again by dd and still happen this:

I notice that only in the first boot the uart message is (current consumption is higher):
U-Boot SPL 2016.09-dirty (Apr 14 2017 - 15:34:55)
DRAM: 512 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC1


U-Boot 2016.09-dirty (Apr 14 2017 - 15:34:55 +0300) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Model: Olimex A20-OLinuXino-LIME2
I2C:   ready
DRAM:  512 MiB

and the later ones are stuck in(current consumption is lower (shown by the dc power)):
U-Boot SPL 2016.09-dirty (Apr 14 2017 - 15:34:55)
DRAM:

U-Boot SPL 2016.09-dirty (Apr 14 2017 - 15:34:55)
DRAM:

U-Boot SPL 2016.09-dirty (Apr 14 2017 - 15:34:55)
DRAM:


i thought that my lime2 only had 512 ram because i looking for dram datasheet but i realize that it have to have 1GB of RAM, what is the problem with my board? Thanks you for your help!!
Title: Re: Board OLINUXINO A20 LIME 2 DOESN'T BOOT
Post by: LubOlimex on September 07, 2017, 03:18:30 PM
Probably there is some hardware problem with your board. If you purchased the board directly from us drop an e-mail at support@olimex.com and link to this thread, we would give you RMA number so you can return the board.

Best regards,
Lub/OLIMEX