[U-Boot] erasing u-boot from u-boot
Peng Fan
van.freenix at gmail.com
Tue Jul 19 05:11:05 CEST 2016
Hi Fabio,
On Mon, Jul 18, 2016 at 10:59:43PM -0300, Fabio Estevam wrote:
>Hi Peng,
>
>On Mon, Jul 18, 2016 at 10:48 PM, Peng Fan <van.freenix at gmail.com> wrote:
>
>> If you burned u-boot using mfgtool, the uboot will be burned into boot partition.
>> However when uboot boots up, it will switch to user partition.
>> You need to switch to read/write/erase boot partition in u-boot.
>
>What are the commands you would suggest in this case?
>
>I am able to flash the eMMC via dfu commands (like described in
>board/warp/README).
If you do not use mfgtool, all is ok.
If you use mfgtool, it will burn uboot to boot partition, not user partition.
>
>What method do you use in order to switch to read/write/erase boot
>partition in U-Boot?
See:
mmc partconf dev boot_ack boot_partition partition_access
You can use
"mmc partconf 2 1 1 1"
"erase uboot"
"mmc partconf 2 1 1 0"
Not verified.
Regards,
Peng.
>
>Thanks
More information about the U-Boot
mailing list