All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
To: Stefan Agner <stefan-XLVq0VzYD2Y@public.gmane.org>
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH tegra-uboot-scripts v2] Make folder for dtb files as an argument
Date: Fri, 25 Jul 2014 10:05:55 -0600	[thread overview]
Message-ID: <53D28063.5090909@wwwdotorg.org> (raw)
In-Reply-To: <aaa2e78cfda2a2afe91e9ac8dca4583e8a860123.1406238873.git.stefan-XLVq0VzYD2Y@public.gmane.org>

On 07/24/2014 03:55 PM, Stefan Agner wrote:
> Some distribution use different folders to store the dtb files
> rather then storing them directly in /boot. This adds a new
> argument to define which folder U-Boot should search the dtb
> file.

> diff --git a/gen-uboot-script.py b/gen-uboot-script.py

> @@ -107,7 +110,10 @@ if args.type == 'net':
>       prefix=''
>   else:
>       load='load ${devtype} ${devnum}:${rootpart}'
> -    prefix='/boot/'
> +    if not args.dtbdir:
> +        prefix='/boot/'
> +    else:
> +        prefix=args.dtbdir+'/'
>
>   f.write(load + ' ${kernel_addr_r} ' + prefix + 'zImage\n')

I don't think this is right; it makes --dtbdir affect the value of the 
prefix variable, which is used for all of zImage, DTBs, and initrd. I 
didn't think that's what you wanted, although if it is, then (a) the 
option doesn't have the right name, and (b), it should presumably affect 
network mode too.

      parent reply	other threads:[~2014-07-25 16:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-24 21:55 [PATCH tegra-uboot-scripts v2] Make folder for dtb files as an argument Stefan Agner
     [not found] ` <aaa2e78cfda2a2afe91e9ac8dca4583e8a860123.1406238873.git.stefan-XLVq0VzYD2Y@public.gmane.org>
2014-07-25 16:05   ` Stephen Warren [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=53D28063.5090909@wwwdotorg.org \
    --to=swarren-3lzwwm7+weoh9zmkesr00q@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=stefan-XLVq0VzYD2Y@public.gmane.org \
    /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.