Netgear KWGR614 KWGR614 User Manual - Page 5

Custom Applications on OpenSource Router - upgrade

Page 5 highlights

- Exit - Save configuration? yes - Exit - Save configuration? yes Note: If you are building runtime image for the first time, be sure to save the configuration when leaving "make menuconfig", even if no change is made to default settings. b. Type "make dep" c. (Optional) If you need to customize busybox, goto KWGR614_xxx/user/busybox/, and type "make menuconfig" to select user level application you need. Then go back to KWGR614_xxx/, and type "make dep" again. This would update all dependencies. d. Type "make" This would build the kernel, user apps, and create image file run.bix under KWGR614_xxx/images/ directory. After compiling and linking the existing source code already provided, you can now upload the KWGR614_xxx/images/run.bix file directly to the router after connecting the router to your PC and using the "Router firmware Upgrade" page on the Router Web GUI. Custom Applications on OpenSource Router To develop any custom applications on this router, please follow the following steps Version String Set your custom version string in the file user/dni/nvram_realtek.c by defining OS_VERSION. Be certain to remove any duplicate definition. user/dni/nvram_realtek.c #define OS_VERSION "V1.01.01 Custom" The country suffix can be removed from the version string by redefining EXTENSION. user/dni/nvram_realtek.c #if 1 #ifdef EXTENSION #undef EXTENSION #endif #define EXTENSION "" #endif New NVRAM Parameters Define the structure of the parameter. KWGR Open Source Guide (Rev 2.0)

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10

KWGR Open Source Guide (Rev 2.0)
-
Exit
-
Save configuration? yes
-
Exit
-
Save configuration? yes
Note: If you are building runtime image for the first time, be sure to save the configuration
when leaving "make menuconfig", even if no change is made to default settings.
b. Type "make dep"
c. (Optional) If you need to customize busybox, goto KWGR614_xxx/user/busybox/, and type "make menuconfig" to
select user level application you need. Then go back to KWGR614_xxx/, and type "make dep" again. This would
update all dependencies.
d. Type "make"
This would build the kernel, user apps, and create image file run.bix under KWGR614_xxx/images/
directory.
After compiling and linking the existing source code already provided, you can now upload the
KWGR614_xxx/images/run.bix file directly to the router after connecting the router to your PC and using the “Router
firmware Upgrade” page on the Router Web GUI.
Custom Applications on OpenSource Router
To develop any custom applications on this router, please follow the following steps
Version String
Set your custom version string in the file user/dni/nvram_realtek.c by defining OS_VERSION. Be certain to remove any
duplicate definition.
user/dni/nvram_realtek.c
The country suffix can be removed from the version string by redefining EXTENSION.
user/dni/nvram_realtek.c
New NVRAM Parameters
Define the structure of the parameter.
#if 1
#ifdef EXTENSION
#undef EXTENSION
#endif
#define EXTENSION “”
#endif
#define OS_VERSION “V1.01.01 Custom”