public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Dennis Gilmore <dennis@ausil.us>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/5] port wandboards to use the generic distro configs
Date: Thu, 5 Dec 2013 23:01:13 -0600	[thread overview]
Message-ID: <20131205230113.7b3b7190@adria.ausil.us> (raw)
In-Reply-To: <CAOCHtYiTkGJ6ajJmFsi=feQpgHO7XsRAwmBsF7J5MktEiPhW7w@mail.gmail.com>

El Thu, 5 Dec 2013 21:47:43 -0600
Robert Nelson <robertcnelson@gmail.com> escribi?:
> On Thu, Dec 5, 2013 at 8:18 PM, Dennis Gilmore <dennis@ausil.us>
> wrote:
> > Signed-off-by: Dennis Gilmore <dennis@ausil.us>
> > ---
> >  include/configs/wandboard.h | 40
> > +++++++++++++++++++++++++++++++++++----- 1 file changed, 35
> > insertions(+), 5 deletions(-)
> >
> > diff --git a/include/configs/wandboard.h
> > b/include/configs/wandboard.h index e9c7e64..02d8968 100644
> > --- a/include/configs/wandboard.h
> > +++ b/include/configs/wandboard.h
> > @@ -40,6 +40,9 @@
> >  #define CONFIG_CONS_INDEX              1
> >  #define CONFIG_BAUDRATE                        115200
> >
> > +/* enable generic distro config */
> > +#define DISTRO_DEFAULTS 1
> > +
> >  /* Command definition */
> >  #include <config_cmd_default.h>
> >
> > @@ -48,7 +51,6 @@
> >  #define CONFIG_CMD_BMODE
> >  #define CONFIG_CMD_SETEXPR
> >
> > -#define CONFIG_BOOTDELAY               5
> >
> >  #define CONFIG_SYS_MEMTEST_START       0x10000000
> >  #define CONFIG_SYS_MEMTEST_END         (CONFIG_SYS_MEMTEST_START +
> > 500 * SZ_1M) @@ -65,6 +67,9 @@
> >  #define CONFIG_CMD_MMC
> >  #define CONFIG_GENERIC_MMC
> >  #define CONFIG_BOUNCE_BUFFER
> > +
> > +#define CONFIG_BOOTDELAY               5
> > +
> >  #define CONFIG_CMD_EXT2
> >  #define CONFIG_CMD_FAT
> >  #define CONFIG_DOS_PARTITION
> > @@ -74,6 +79,11 @@
> >  #define CONFIG_CMD_DHCP
> >  #define CONFIG_CMD_MII
> >  #define CONFIG_CMD_NET
> > +
> > +#define CONFIG_OF_LIBFDT
> > +#define CONFIG_CMD_BOOTZ
> > +
> > +/* Ethernet Configuration */
> >  #define CONFIG_FEC_MXC
> >  #define CONFIG_MII
> >  #define IMX_FEC_BASE                   ENET_BASE_ADDR
> > @@ -113,8 +123,30 @@
> >         "fdt_high=0xffffffff\0" \
> >         "initrd_high=0xffffffff\0" \
> >         "fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \
> > -       "fdt_addr=0x11000000\0" \
> > +       "fdt_addr=0x11100000\0" \
> > +       "fdt_addr_r=0x11200000\0" \
> > +       "pxefile_addr_r=0x11300000\0" \
> > +       "scr_addr_r=0x11400000\0" \
> > +       "kernel_addr_r=0x11500000\0" \
> > +       "ramdisk_addr_r=0x13500000\0" \
> >         "boot_fdt=try\0" \
> > +       "bootcmd_setup=mmc rescan\0" \
> > +       "bootcmd_pxe=setenv bootfile \"\" ;dhcp; tftp
> > ${fdt_addr} /dtb/${fdt_file}; pxe get; pxe boot\0" \
> > +       "bootcmd_disk_scr=ext2load ${boot_ifc} ${bootdevice}
> > ${scr_addr_r} boot.scr &&
> 
> Why all the non-generic "ext2load"'s? use just "load", then it'll work
> with both fat, ext2/3/4 & btrfs...
> 
> Regards,

the pxe code requires you specify the filesystem for the sysboot
command, and as /boot needs to be ext ive kept it consistent. Ive also
not narrowed down the option to enable load to work, in my testing it
did not work.

Dennis

  reply	other threads:[~2013-12-06  5:01 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-06  2:18 [U-Boot] [RFC] implementation of generic distro configs Dennis Gilmore
2013-12-06  2:18 ` [U-Boot] [PATCH 1/5] add a generic set of configs to enable Distros to more easier support u-boot based systems Dennis Gilmore
2013-12-06 10:53   ` Wolfgang Denk
2013-12-06  2:18 ` [U-Boot] [PATCH 2/5] port wandboards to use the generic distro configs Dennis Gilmore
2013-12-06  3:47   ` Robert Nelson
2013-12-06  5:01     ` Dennis Gilmore [this message]
2013-12-06  5:06       ` Dennis Gilmore
2013-12-06  5:13         ` Robert Nelson
2013-12-06  5:07       ` Robert Nelson
2013-12-06 10:59   ` Wolfgang Denk
2013-12-06 14:48     ` Dennis Gilmore
2013-12-06 15:26       ` Wolfgang Denk
2013-12-06 16:28         ` Tom Rini
2013-12-06 20:37           ` Wolfgang Denk
2013-12-06 22:13             ` Tom Rini
2013-12-06 22:59               ` Wolfgang Denk
2013-12-06 22:44             ` Dennis Gilmore
2013-12-06 23:16               ` Wolfgang Denk
2013-12-07  0:09                 ` Dennis Gilmore
2013-12-07 12:20                   ` Wolfgang Denk
2013-12-06  2:18 ` [U-Boot] [PATCH 3/5] port omap4 based devices to use " Dennis Gilmore
2013-12-06  2:18 ` [U-Boot] [PATCH 4/5] port beagleboard " Dennis Gilmore
2013-12-06  2:18 ` [U-Boot] [PATCH 5/5] port beaglebones " Dennis Gilmore
2013-12-06  3:31   ` Dennis Gilmore
2013-12-06 17:14 ` [U-Boot] [RFC] implementation of " 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=20131205230113.7b3b7190@adria.ausil.us \
    --to=dennis@ausil.us \
    --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