From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/2] Add README for the "Falcon" mode
Date: Tue, 13 Nov 2012 18:08:56 +0100 [thread overview]
Message-ID: <50A27EA8.6010006@denx.de> (raw)
In-Reply-To: <50A26D64.20203@gmail.com>
On 13/11/2012 16:55, Andreas Bie?mann wrote:
>> +CONFIG_SPL_OS_BOOT Activate Falcon mode.
>> + A board should implement the following functions:
>
> I think reordering this list to have the required functions directly
> after the colon would be helpful. Alternatively add a pointer to the
> list of functions after the list of defines.
Yes, it is what I wanted to do. In fact, the phrase now before the colon
seems incomplete, because the functions are missing. I will this entry
at the end of the define, so that the functions will follow after it.
>
>> +spl - SPL configuration
>> +
>> +Usage:
>> +
>> +spl export <img=atags|fdt> [kernel_addr] [fdt_addr if <img> = fdt] - export a kernel parameter image
>> +
>> +img : "atags" or "fdt"
>> +kernel_addr : kernel is loaded as part of the boot process, but it is not started.
>> + This is the address where a kernel image is stored.
>> +fdt_addr : in case of fdt, the address of the device tree.
>> +
>> +
>> +The spl puts its result at a self gained position. The position is defined at compile
>> +time or when generating the uImage but not at command line for 'spl export'
>> +(see spl_export(): gd->bd->bi_boot_params vs. images.ft_addr).
>
> I think you got me wrong by my last remarks about the usage() of 'spl
> export'.
Probably...
>
>
> First of all there is presumably a typo in the descriptive text.
>
> The current code has this usage():
> ---8<---
> "export <img=atags|fdt> [kernel_addr] [initrd_addr] "
> "[fdt_addr if <img> = fdt] - export a kernel parameter image\n"
> "\t initrd_img can be set to \"-\" if fdt_addr without initrd img is"
> "used")
> --->8---
> The arguments say something about 'initrd_addr' but the descriptive text
> has 'initrd_img'. I think (but do not know since I have not used the spl
> command so often) that the 'initrd_img' should be written 'initrd_addr'
> (cc Simon Schwarz for that).
Ok, I cannot avoid to fix this typo the command with a separate patch.
Else documentation and code remain inconsistent.
>
> The second thing in my last review of your patch was maybe shortly
> described. You did write there the correct usage() of 'spl export' but
> later on add a more descriptive text about the parameters of 'spl
> export'. In these descriptive text you did write 'init_addr' instead of
> 'initrd_addr' - that was my comment about.
Ok, it seems I misunderstood. But I think your comment about where spl
stores the result is helpful, even if the address is printed by the
command itself.
> Additionally I thought your descriptive text is way better than the
> current descriptive text of 'spl export', so I asked to add your
> description to the command.
Ok - I will put it into the spl help as well.
>
> Now the main reason for my writing here ;)
> Your usage() of 'spl export' some lines above is wrong cause it is
> missing the 'initrd_addr' parameter.
Correct - to be fixed ;-)
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
next prev parent reply other threads:[~2012-11-13 17:08 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-12 10:59 [U-Boot] [PATCH] Add README for the "Falcon" mode Stefano Babic
2012-11-12 11:35 ` Andreas Bießmann
2012-11-12 13:02 ` Stefano Babic
2012-11-12 13:33 ` Andreas Bießmann
2012-11-13 11:11 ` [U-Boot] [PATCH v2 1/2] " Stefano Babic
2012-11-13 11:11 ` [U-Boot] [PATCH v2 2/2] OMAP3: drop CONFIG_SPL_OS_BOOT_KEY and use local define Stefano Babic
2012-11-13 13:54 ` Thomas Weber
2012-11-13 13:13 ` [U-Boot] [PATCH v2 1/2] Add README for the "Falcon" mode Thomas Weber
2012-11-13 15:55 ` Andreas Bießmann
2012-11-13 17:08 ` Stefano Babic [this message]
2012-11-14 10:29 ` Otavio Salvador
2012-11-14 12:19 ` Stefano Babic
2012-11-14 12:22 ` Otavio Salvador
2012-11-19 9:11 ` [U-Boot] [PATCH v3 1/3] " Stefano Babic
2012-11-19 9:11 ` [U-Boot] [PATCH v3 2/3] OMAP3: drop CONFIG_SPL_OS_BOOT_KEY and use local define Stefano Babic
2012-11-19 9:11 ` [U-Boot] [PATCH v3 3/3] SPL: Change description for spl command Stefano Babic
2012-11-19 10:17 ` Andreas Bießmann
2012-11-19 10:14 ` [U-Boot] [PATCH v3 1/3] Add README for the "Falcon" mode Otavio Salvador
2012-11-19 10:36 ` Stefano Babic
2012-11-19 10:21 ` Andreas Bießmann
2012-11-19 10:37 ` Stefano Babic
2012-11-23 15:31 ` [U-Boot] [PATCH v4 " Stefano Babic
2012-11-23 15:31 ` [U-Boot] [PATCH v4 2/3] OMAP3: drop CONFIG_SPL_OS_BOOT_KEY and use local define Stefano Babic
2012-11-23 15:31 ` [U-Boot] [PATCH v4 3/3] SPL: Change description for spl command Stefano Babic
2012-11-23 18:10 ` [U-Boot] [PATCH v4 1/3] Add README for the "Falcon" mode Vikram Narayanan
2012-11-23 21:59 ` Andreas Bießmann
2012-11-25 3:47 ` Vikram Narayanan
2012-11-24 14:18 ` Stefano Babic
2013-02-11 21:12 ` [U-Boot] [PATCH] " Otavio Salvador
2013-02-12 8:23 ` Stefano Babic
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=50A27EA8.6010006@denx.de \
--to=sbabic@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.