Skip to contentSkip to conversation

cmdbootz

PATCH New Robert Schwebel 2 participants 2 messages Dec 15, 2003 – Jan 3, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 2/6 cmdbootz

-------------- next part --------------
#
# Author: Robert Schwebel <[email protected]>
#
# Description: Holger Schurig's patch to boot a normal zImage if you do
# need the functionality of U-Boot's uImages.
#
# State: 2003-12-09: submit
#

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

include/cmd_bootz.h new file +38 -0
@@ -0,0 +1,38 @@
+/*
+ * (C) Copyright 2003
+ * Holger Schurig, M&N Logistik-Loesungen Online GmbH, <h.schurig@mn...>
+ *
+ * See file CREDITS for list of people who contributed to this
+ * project.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ */
+
+/*
+ * Linux zImage Boot support
+ */
+#ifndef       _CMD_BOOTZ_H
+#define       _CMD_BOOTZ_H
+int do_bootz (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
+
+#define       CMD_TBL_BOOTZ   MK_CMD_TBL_ENTRY(				\
+      "bootz",        5,      CFG_MAXARGS,    1,      do_bootz,               \
+      "bootz   - boot Linux zImage from memory\n",                            \
+      "[addr [arg ...]]\n    - boot zImage stored in memory\n"                \
+      "        passing arguments 'arg ...'\n"                                 \
+),
+
+#endif /* _CMD_BOOTZ_H */
include/cmd_confdefs.h renamed from include/cmd_confdefs.h~cmdbootz +1 -0
@@ -86,6 +86,7 @@
 #define CFG_CMD_FAT	0x0010000000000000U	/* FAT support			*/
 #define CFG_CMD_IMLS	0x0020000000000000U	/* List all found images        */
 #define CFG_CMD_XIMG	0x0040000000000000U	/* load part of multi image     */
+#define CFG_CMD_BOOTZ	0x0080000000000000U	/* directly boot Linux zImage   */
 
 #define CFG_CMD_ALL	0xFFFFFFFFFFFFFFFFU	/* ALL commands			*/
 
common/cmd_bootz.c renamed from common/cmd_bootz.c~cmdbootz +30 -29

103 lines not on this page · raw message

--- u-boot-patches/cmd_bootz.c~cmdbootz
+++ u-boot-patches/cmd_bootz.c

#1 lore raw

PATCH 2/6 cmdbootz

Quoted 5 lines · In message <[email protected]> you wrote:

# Author: Robert Schwebel <[email protected]>
#
# Description: Holger Schurig's patch to boot a normal zImage if you do
# need the functionality of U-Boot's uImages.

Rejected, does not apply.

The patch is obviously based on old code, but the command interface has been changed a long time ago.

Also, the patch tries to modify a non-existent file u-boot-patches/common/cmd_bootz.c (the whole patch looks somewhat corrupted to me)

Sorry.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
I express preference for a chronological  sequence  of  events  which
precludes a violence.   - Terry Pratchett, _The Dark Side of the Sun_