A20-SOM204 reset in u-boot

Started by Oleg Strelkov, June 13, 2018, 01:39:18 PM

Previous topic - Next topic

Oleg Strelkov

Hi Olimex!

I began to use A20-SOM204-EVB under Armbian_5.46_Olimex-som204-a20_Debian_jessie_default_3.4.113.img
according to recommenations in: https://www.olimex.com/wiki/ArmbianHowTo

I wrote image into eMMC of A20-SOM204-1Ge16Gs16M-MC module.
Linux works fine from eMMC.

But I found strange behavior of U-boot bootloader.
When I interrupt booting and then send reset command,
board goes to reset and not responding.

It looks like this:
U-Boot 2017.11-armbian (Jun 05 2018 - 13:49:34 +0300) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Model: Olimex A20-SOM204-EVB-eMMC
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
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:   eth0: ethernet@01c50000
Warning: usb_ether MAC addresses don't match:
Address in ROM is          de:ad:be:ef:00:01
Address in environment is  12:0d:0a:c1:be:60
, eth1: usb_ether
Autoboot in 3 seconds, press <Space> to stop
=>
=> reset
resetting ...

Did you meet the problem?

JohnS

Sounds like it's something in uboot so
1. try the current version(s)
2. if all are the same, report to uboot devs

John

Oleg Strelkov

Hi John,

Thank you for respond.

I tested last version of U-boot from Armbian.
Moreover, I found now that this u-boot version works from uSD (mmc) normally (reset command works).
But when u-boot is written in eMMC, then reset command isn't work.

It's look like u-boot bug.
Has anyone else encountered such a bug?

Oleg.