[U-Boot] [PATCH 3/3] ARM: am57xx_evm: enable DFU support
Lokesh Vutla
lokeshvutla at ti.com
Fri Aug 26 07:08:37 CEST 2016
On Friday 26 August 2016 10:36 AM, Lokesh Vutla wrote:
> [..snip..]
>
>> diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
>> index 46e8d4cfd715..3d5ae1ae1d54 100644
>> --- a/include/configs/am57xx_evm.h
>> +++ b/include/configs/am57xx_evm.h
>> @@ -41,6 +41,47 @@
>> "uuid_disk=${uuid_gpt_disk};" \
>> "name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}"
>>
>> +#define DFU_ALT_INFO_MMC \
>> + "dfu_alt_info_mmc=" \
>> + "boot part 0 1;" \
>> + "rootfs part 0 2;" \
>> + "MLO fat 0 1;" \
>> + "MLO.raw raw 0x100 0x100;" \
>> + "u-boot.img.raw raw 0x300 0x400;" \
>> + "spl-os-args.raw raw 0x80 0x80;" \
>> + "spl-os-image.raw raw 0x900 0x2000;" \
>> + "spl-os-args fat 0 1;" \
>> + "spl-os-image fat 0 1;" \
>> + "u-boot.img fat 0 1;" \
>> + "uEnv.txt fat 0 1\0"
>> +
>> +#define DFU_ALT_INFO_EMMC \
>> + "dfu_alt_info_emmc=" \
>> + "rawemmc raw 0 3751936;" \
>> + "boot part 1 1;" \
>> + "rootfs part 1 2;" \
>> + "MLO fat 1 1;" \
>> + "MLO.raw raw 0x100 0x100;" \
>> + "u-boot.img.raw raw 0x300 0x400;" \
>> + "spl-os-args.raw raw 0x80 0x80;" \
>> + "spl-os-image.raw raw 0x900 0x2000;" \
>> + "spl-os-args fat 1 1;" \
>> + "spl-os-image fat 1 1;" \
>> + "u-boot.img fat 1 1;" \
>> + "uEnv.txt fat 1 1\0"
>> +
>> +#define DFU_ALT_INFO_RAM \
>> + "dfu_alt_info_ram=" \
>> + "kernel ram 0x80200000 0x4000000;" \
>> + "fdt ram 0x80f80000 0x80000;" \
>> + "ramdisk ram 0x81000000 0x4000000\0"
>> +
>> +#define DFUARGS \
>> + "dfu_bufsiz=0x10000\0" \
>> + DFU_ALT_INFO_MMC \
>> + DFU_ALT_INFO_EMMC \
>> + DFU_ALT_INFO_RAM \
>> +
>
> Can you also add DFU_ALT_INFO_QSPI as am57xx-idk has QSPI.
Any reason why these cannot be moved to ti_omap5_common.h?
Thanks and regards,
Lokesh
>
> Thanks and regards,
> Lokesh
>
More information about the U-Boot
mailing list