[U-Boot] [PATCH v1 5/5] colibri_t20: enable dfu also for nand

Marcel Ziswiler marcel.ziswiler at toradex.com
Wed Sep 14 17:41:03 CEST 2016


On Mon, 2016-09-12 at 12:24 -0600, Stephen Warren wrote:
> On 09/09/2016 10:10 AM, Marcel Ziswiler wrote:
> > 
> > Enable USB gadget DFU functionality for NAND as well.
> > 
> > diff --git a/include/configs/colibri_t20.h
> > b/include/configs/colibri_t20.h
> > 
> > +/* USB DFU */
> > +#define CONFIG_DFU_NAND
> Oh, I see this file already includes tegra-common-usb-gadget.h, so
> USB 
> device-mode is already enabled for this board. Does that make sense 
> given that it doesn't actually work?

Well, it's not like it hurts anything else really isn't it?

My hopes were that somebody may actually help me looking into it which
this would ease. However I understand that you NVIDIA people long since
stopped even having any of them older Tegra 2 and 3 hardware any
longer. At least Harmony and Ventana currently looks rather broken in
many aspects which I left for another days exercise.

> > +#define DFU_ALT_NAND_INFO	"u-boot part 0,1;ubi part 0,4"
> > +
> >  #define BOARD_EXTRA_ENV_SETTINGS \
> > +	"dfu_alt_info=" DFU_ALT_NAND_INFO "\0" \
> I would defer this to the user, since people may choose different
> flash 
> layouts.

Given the DFU NAND syntax being rather delicate at least Google
returning rather some wrong stuff with respect to now starting with
zero or one I thought that would at least make it clear. It's not that
a user could not overwrite it any time if he wishes to do so isn't it?


More information about the U-Boot mailing list