summaryrefslogtreecommitdiff
path: root/packages/neuros-pkggen/files
diff options
context:
space:
mode:
Diffstat (limited to 'packages/neuros-pkggen/files')
-rw-r--r--packages/neuros-pkggen/files/package.c13
-rw-r--r--packages/neuros-pkggen/files/package.h19
2 files changed, 13 insertions, 19 deletions
diff --git a/packages/neuros-pkggen/files/package.c b/packages/neuros-pkggen/files/package.c
index 853d4384db..70f219514d 100644
--- a/packages/neuros-pkggen/files/package.c
+++ b/packages/neuros-pkggen/files/package.c
@@ -1,12 +1,9 @@
/*
- * Copyright(C) 2005 Neuros Technology International LLC.
- * <www.neurostechnology.com>
+ * Copyright (C) 2006 - 2008 Neuros Technology LLC.
*
- *
- * 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 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; only support version 2 of the License.
*
* This program is distributed in the hope that, in addition to its
* original purpose to support Neuros hardware, it will be useful
@@ -380,7 +377,7 @@ int main(int argc, char *argv[])
package_header_t *phd = &p_head;
struct stat buf;
- printf("\npackage tool version %s ", VERSION);
+ printf("\npackage tool version %s \n", VERSION);
strncpy((char *)phd->p_name, argv[1], NAMELEN-1);
if ((fp_w = fopen((char *)phd->p_name, "wb+")) == NULL)
diff --git a/packages/neuros-pkggen/files/package.h b/packages/neuros-pkggen/files/package.h
index 225c53d129..b1178dcb18 100644
--- a/packages/neuros-pkggen/files/package.h
+++ b/packages/neuros-pkggen/files/package.h
@@ -1,12 +1,9 @@
/*
- * Copyright(C) 2005 Neuros Technology International LLC.
- * <www.neurostechnology.com>
+ * Copyright (C) 2006 - 2008 Neuros Technology LLC.
*
- *
- * 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 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; only support version 2 of the License.
*
* This program is distributed in the hope that, in addition to its
* original purpose to support Neuros hardware, it will be useful
@@ -51,7 +48,7 @@
#define IH_TYPE_ROOTFS 10
/* addr in flash */
-#define UBOOT_ADDR_START 0x00018000
+#define UBOOT_ADDR_START 0x000C0000
#define UBOOT_SIZE (1*1024*1024)
#define UBOOT_ADDR_END (UBOOT_ADDR_START+UBOOT_SIZE-1)
#define KERNEL_ADDR_START (UBOOT_ADDR_END+1)
@@ -61,9 +58,9 @@
#define ROOTFS_ADDR_END (256*1024*1024 - 1)
#define UBOOT_FILE_NAME "u-boot.bin"
-#define KERNEL_FILE_NAME "kernel.img"
-#define ROOTFS_FILE_NAME "rootfs.img"
-#define SCRIPT_FILE_NAME "env.img"
+#define KERNEL_FILE_NAME "uImage.jffs2"
+#define ROOTFS_FILE_NAME "rootfs.yaffs2"
+#define SCRIPT_FILE_NAME "default_env.img"
#define UBOOT_VER_FILE "u-boot.version"
#define KERNEL_VER_FILE "uImage.version"