public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Adnan Ali <adnan.ali@codethink.co.uk>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v11 2/2] Enable btrfs support in mx53loco config
Date: Tue, 02 Apr 2013 16:38:54 +0100	[thread overview]
Message-ID: <515AFB8E.2030801@codethink.co.uk> (raw)
In-Reply-To: <CAOCHtYjHCfDtRJJDjNhop+QPM2BU6qz6eNqA7-45a8Be4JKpzA@mail.gmail.com>

On 02/04/13 16:19, Robert Nelson wrote:
> On Tue, Apr 2, 2013 at 9:17 AM, Adnan Ali <adnan.ali@codethink.co.uk> wrote:
>> Enable btrfs support in mx53loco config
>>
>> Signed-off-by: Adnan Ali <adnan.ali@codethink.co.uk>
>> ---
>>   include/configs/mx53loco.h |    4 +++-
>>   1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
>> index a4b610f..62e9a76 100644
>> --- a/include/configs/mx53loco.h
>> +++ b/include/configs/mx53loco.h
>> @@ -56,6 +56,8 @@
>>   #define CONFIG_GENERIC_MMC
>>   #define CONFIG_CMD_FAT
>>   #define CONFIG_CMD_EXT2
>> +#define CONFIG_CMD_BTR
>> +#define CONFIG_CMD_FS_GENERIC
>>   #define CONFIG_DOS_PARTITION
>>
>>   /* Eth Configs */
>> @@ -128,7 +130,7 @@
>>          "mmcroot=/dev/mmcblk0p3 rw rootwait\0" \
>>          "mmcargs=setenv bootargs console=ttymxc0,${baudrate} root=${mmcroot}\0" \
>>          "loadbootscript=" \
>> -               "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
>> +               "btrload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
> Instead of changing this to btrload for everyone, wouldn't it make
> more sense to use the generic "load" command? As your already setting
> "CONFIG_CMD_FS_GENERIC"
    Well idea of adding that was to enable btrfs and to show its 
associated commands.
Yes you can use generic 'load' command. Defaults was using fatload so i 
change
it to btrload.
>
> Once you do that, you might as well also enable:
> #define CONFIG_CMD_EXT4
>
>>          "bootscript=echo Running bootscript from mmc ...; " \
>>                  "source\0" \
>>          "loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \
>> --
>> 1.7.9.5
> Regards,
>

  reply	other threads:[~2013-04-02 15:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-02 14:17 [U-Boot] [PATCH v11 1/2] Introduced btrfs file-system with btrload command Adnan Ali
2013-04-02 14:17 ` [U-Boot] [PATCH v11 2/2] Enable btrfs support in mx53loco config Adnan Ali
2013-04-02 15:19   ` Robert Nelson
2013-04-02 15:38     ` Adnan Ali [this message]
2013-04-02 15:52       ` Robert Nelson
2013-04-02 17:03         ` Tom Rini
2013-04-02 17:13           ` Adnan Ali
2013-04-03 15:25           ` Adnan Ali
2013-04-02 16:41       ` Otavio Salvador
2013-04-02 17:10         ` Adnan Ali
2013-04-02 16:34   ` Otavio Salvador
2013-04-03 16:50 ` [U-Boot] [PATCH v11 1/2] Introduced btrfs file-system with btrload command Tom Rini
2013-04-03 17:30   ` Adnan Ali
2013-04-03 18:04     ` Tom Rini

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=515AFB8E.2030801@codethink.co.uk \
    --to=adnan.ali@codethink.co.uk \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox