This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SK-AM62: uEnv - dfu error

Part Number: SK-AM62


Tool/software:

HI ,

I trying to boot am62 EVK using dfu-util, it worked till u-boot, 

Q1. How can i send my uEnv.txt using dfu-util , any changes need to do for U-BOOT?

  

#host$ sudo dfu-util -R -a u-boot.img -D u-boot.img 
dfu-util 0.9
 
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
 
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 0451:6165
Run-time device DFU version 0110
Claiming USB DFU Interface...
Setting Alternate Setting #1 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0110
Device returned transfer size 4096
Copying data from PC to DFU device
Download	[=========================] 100%       966147 bytes
Download done.
state(7) = dfuMANIFEST, status(0) = No error condition is present
state(2) = dfuIDLE, status(0) = No error condition is present
Done!
Resetting USB to switch back to runtime mode

#host$ sudo dfu-util -a uEnv.txt -D uEnv.txt 
dfu-util 0.9
 
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
 
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
dfu-util: No DFU capable USB device available

#host$ ls -l
total 2408
-rw-rw-r-- 1 user1 user1  311122 Sep  3 11:19 tiboot3.bin
-rw-rw-r-- 1 user1 user1 1182891 Sep  3 11:18 tispl.bin
-rw-rw-r-- 1 user1 user1  966147 Sep  3 11:18 u-boot.img
-rw-rw-r-- 1 user1 user1     274 Sep  3 12:17 uEnv.txt

regards,

RJ

  • Hi RJ,

    uEnv.txt is a text file, typically used in SD card boot mode and stored in the SD card boot partition in FAT format. While DFU loads all boot binaries to DDR and it doesn't have a FAT filesystem to store uEnv.txt. You probably want to modify U-Boot source code to add the U-Boot settings in uEnv.txt directly to the U-Boot ENV.