0
mboehmer

Odroid C2 Uboot saveenv

Recommended Posts

Hi guys,

 

I just recompiled my patches from old 2015 Uboot to the 2018 version, allowing setting the baud rate in Uboot (for accessing it by 9600 8N1), and saving envs in eMMC.

First one works, I can switch easily baudrates now, but "saveenv" fails, spitting out a lot of error messages:

 

=> saveenv
Saving Environment to EXT4... Card did not respond to voltage select!
** Bad device mmc 0 **
Failed (1)

I also see that apparently the settings are being loaded from a wrong partition:

 

U-Boot 2018.07-armbian (Oct 28 2018 - 10:43:58 +0100) odroid-c2

DRAM:  2 GiB
MMC:   mmc@72000: 0, mmc@74000: 1
Loading Environment from EXT4... Card did not respond to voltage select!
** Bad device mmc 0 **
Failed (-5)
In:    serial@4c0
Out:   serial@4c0
Err:   serial@4c0
Net:   eth0: ethernet@c9410000
Hit any key to stop autoboot:  0

 

Any ideas on that? Maybe eMMC disk layout changed?

Any help is appreciated (if you need patches, I can post them here).

 

Michael

Share this post


Link to post
Share on other sites

The layout did change, they are now laid out by the physical attachment point.  I'll have to look to see what the C2 is, or you can in the board definition in U-boot if you don't want to wait a day or so.

Share this post


Link to post
Share on other sites

Just removed the lines in config, and just left my UART baudrate changes in, which didn't change anything regarding this error message.

Seems that Uboot tries to load/save from uSD card.

Guess I wait a day or so :) - I tried to understand the defines, but they seem quite complicated.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0