02-14-2016, 08:31 PM
(This post was last modified: 02-14-2016, 08:31 PM by patrickhwood.)
See http://www.denx.de/wiki/U-Boot
Note that the android uboot is a little different than the mainline, and Allwinner's a bit different from the android one.
To update the environment, there's a tool that comes with uboot called mkenvimage. It's built as part of uboot in tools/mkenvimage. Just create an ascii file with key=value settings, one per line, and do
mkenvimage -s 131072 u-boot.env.txt -o /dev/sdb5
Note that the android uboot is a little different than the mainline, and Allwinner's a bit different from the android one.
To update the environment, there's a tool that comes with uboot called mkenvimage. It's built as part of uboot in tools/mkenvimage. Just create an ascii file with key=value settings, one per line, and do
mkenvimage -s 131072 u-boot.env.txt -o /dev/sdb5