In message <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] You have the capacity to learn from mistakes. You'll learn a lot today. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ U-Boot-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/u-boot-users
