From: Kishon Vijay Abraham I Date: Fri, 26 Aug 2016 11:21:46 +0530 Subject: [U-Boot] [PATCH 3/3] ARM: am57xx_evm: enable DFU support In-Reply-To: <2483ec4b-05e2-0e6f-f5b4-37f22d15cf8f@ti.com> References: <20160825151427.9434-1-nsekhar@ti.com> <20160825151427.9434-4-nsekhar@ti.com> <2483ec4b-05e2-0e6f-f5b4-37f22d15cf8f@ti.com> Message-ID: <57BFD8F2.4030403@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Lokesh, On Friday 26 August 2016 10:38 AM, Lokesh Vutla wrote: > > > 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? it was NAK'ed before. http://lists.denx.de/pipermail/u-boot/2015-August/224635.html Thanks Kishon