From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] dfu: thor: fix: Modify dfu_get_alt() function to support absolute paths
Date: Fri, 14 Nov 2014 12:58:05 +0100 [thread overview]
Message-ID: <201411141258.05907.marex@denx.de> (raw)
In-Reply-To: <20141114113948.195460df@amdc2363>
On Friday, November 14, 2014 at 11:39:48 AM, Lukasz Majewski wrote:
> Hi Lukasz,
>
> > Recently the ext4 file system imposed passing absolute path with its
> > file name parameter.
> > As a result dfu_alt_info env variable has been modified to provide
> > absolute path when ext4 file system is accessed (e.g. /uImage ext4 0
> > 2;).
> >
> > Unfortunately, lthor flashing program provides plain file name (like
> > uImage) and hence those two file names do not match anymore.
> >
> > Presented commit also allows lthor to write files to sub directories
> > (like /boot/bin/uImage).
> >
> > Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
> > Reviewed-by: Marek Vasut <marex@denx.de>
[...]
> > + * dfu->name (uImage)
> > + */
> > + if (strlen(dfu->name) ==
> > + ((str - dfu->name) + strlen(name)))
> > + return dfu->alt;
> > + }
> >
> > }
> >
> > return -ENODEV;
>
> Applied to u-boot-dfu repository. Thanks
It's nice to see that you're taking good care of your clones ;-)
Best regards,
Marek Vasut
prev parent reply other threads:[~2014-11-14 11:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-04 16:25 [U-Boot] [PATCH] dfu: thor: fix: Modify dfu_get_alt() function to support absolute paths Lukasz Majewski
2014-11-04 17:23 ` Marek Vasut
2014-11-05 9:54 ` [U-Boot] [PATCH v2] " Lukasz Majewski
2014-11-14 10:39 ` Lukasz Majewski
2014-11-14 11:58 ` Marek Vasut [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201411141258.05907.marex@denx.de \
--to=marex@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.