-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
31 lines (22 loc) · 1.19 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
================ USAGE ======================
To begin modifying your firmware, you must first compile (or, alternatively, install)
the appropriate tools. Do the following:
cd squashfs-3.0/
./configure
make
cd ../tools/
gcc AppendChecksum.c -o AppendChecksum
Now your extract/build environment should be ready.
To extract firmware, simply run ./extract_image.sh IMAGE DEST_PATH
This will create three directories in your DEST_PATH: original_images,
squashfs_root, and temp_files. Generally, you will only need to modify
squashfs_root. This is your root filesystem. Place/modify any files you
wish here, and they will be compiled into the final image.
If you need to compile applications for the camera, a cross compilation toolchain
provided by Edimax can be found in the tools/ directory.
To rebuild after making changes, simply run ./build_image.sh SRC_PATH DST_IMAGE
Then, simply flash the device as you normally would.
WARNING: Flashing is inherently dangerous. I am not responsible if you brick
your camera. These tools have worked well for me, but I offer no guarantees.
If you have problems or would like to submit patches/new features, please
contact me at supernothing 4t spareclockcycles d0t org. Enjoy!