[U-Boot-Users] [PATCH 5/7] sbc8560: add default fdt values
Wolfgang Denk
wd at denx.de
Fri Jul 11 22:30:29 CEST 2008
In message <2390b6bccc0e647f1fd12e2512fb6095a0355ec5.1215803423.git.paul.gortmaker at windriver.com> you wrote:
>
> @@ -424,6 +424,34 @@
>
> #define CONFIG_HOSTNAME SBC8560
> #define CONFIG_ROOTPATH /home/ppc
> -#define CONFIG_BOOTFILE pImage
> +#define CONFIG_BOOTFILE uImage
> +
> +#define CONFIG_EXTRA_ENV_SETTINGS \
> + "netdev=eth0\0" \
> + "consoledev=ttyS0\0" \
> + "ramdiskaddr=2000000\0" \
> + "ramdiskfile=ramdisk.uboot\0" \
> + "fdtaddr=c00000\0" \
> + "fdtfile=sbc8560.dtb\0"
> +
> +#define CONFIG_NFSBOOTCOMMAND \
> + "setenv bootargs root=/dev/nfs rw " \
> + "nfsroot=$serverip:$rootpath " \
> + "ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
> + "console=$consoledev,$baudrate $othbootargs;" \
> + "tftp $loadaddr $bootfile;" \
> + "tftp $fdtaddr $fdtfile;" \
> + "bootm $loadaddr - $fdtaddr"
> +
> +
> +#define CONFIG_RAMBOOTCOMMAND \
> + "setenv bootargs root=/dev/ram rw " \
> + "console=$consoledev,$baudrate $othbootargs;" \
> + "tftp $ramdiskaddr $ramdiskfile;" \
> + "tftp $loadaddr $bootfile;" \
> + "tftp $fdtaddr $fdtfile;" \
> + "bootm $loadaddr $ramdiskaddr $fdtaddr"
> +
> +#define CONFIG_BOOTCOMMAND CONFIG_NFSBOOTCOMMAND
Indentation by TAB, please.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You have the capacity to learn from mistakes. You'll learn a lot
today.
More information about the U-Boot
mailing list