aboutsummaryrefslogtreecommitdiffstats
path: root/packages/neuros-pkggen
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-07-14 11:56:22 +0000
committerKoen Kooi <koen@openembedded.org>2008-07-14 11:56:22 +0000
commit06e686c1c8aee0ed4d9cdc6cdc39caf9ee5ca6ec (patch)
tree10bb04099d4f1236fb797840a138de27049b29e7 /packages/neuros-pkggen
parent4fa9f2080e8d8fd8220976415b2bd7bde3ccc620 (diff)
downloadopenembedded-06e686c1c8aee0ed4d9cdc6cdc39caf9ee5ca6ec.tar.gz
neuros-pkggen: update sources
Diffstat (limited to 'packages/neuros-pkggen')
-rw-r--r--packages/neuros-pkggen/files/package.c13
-rw-r--r--packages/neuros-pkggen/files/package.h19
-rw-r--r--packages/neuros-pkggen/neuros-pkggen-native.bb2
3 files changed, 14 insertions, 20 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"
diff --git a/packages/neuros-pkggen/neuros-pkggen-native.bb b/packages/neuros-pkggen/neuros-pkggen-native.bb
index 001b3a863a..2c5b5c40e2 100644
--- a/packages/neuros-pkggen/neuros-pkggen-native.bb
+++ b/packages/neuros-pkggen/neuros-pkggen-native.bb
@@ -1,6 +1,6 @@
DESCRIPTION = "Tool to generate ready to flash .pkg files for neuros machines"
LICENSE = "GPLv2"
-PR = "r1"
+PR = "r2"
inherit native