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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

678 Views
jackywu
Contributor I

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

Labels (2)
0 Kudos
1 Reply

452 Views
joanxie
NXP TechSupport
NXP TechSupport

did you set the boot configure switch and set the partition correcly? for more detailed information, pls refer to the document as below:

https://community.nxp.com/docs/DOC-328196 

0 Kudos