AnsweredAssumed Answered

Android / Boot device SATA can't use saveenv command under U-boot

Question asked by Jacky Wu on Apr 25, 2017
Latest reply on May 3, 2017 by Joan Xie

Hi All,

I'm Using i.MX6Q SabreSD board with Android (M6.0.1_2.1.0,4.1 kernel) 

Choosing SATA for Boot device , the problem is When using saveenv command under U-boot , can't save environmental variables into SATA , the console shows below :

 

=> sata init
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part
SATA Device Info:
S/N: WD-WX41A156HFSS
Product model number: WDC WD5000LPVX-22V0TT0
Firmware version: 01.01A01
Capacity: 976773168 sectors


=> pri
baudrate=115200
bootdelay=1
ethact=FEC
ethaddr=00:04:9f:04:19:ad
ethprime=FEC
fdt_high=0xffffffff
initrd_high=0xffffffff
loadaddr=0x12000000
splashpos=m,m
stderr=serial
stdin=serial
stdout=serial

=> setenv test TEST
=> saveenv
Saving Environment to MMC...
Writing to MMC(1)... failed

Seems like it choose MMC1 (SD card) for saving the environmental variables, can't save environmental variables into SATA, is there any way to let variables stored into SATA ?
Please help / Thanks in advance

Outcomes