Closed GoogleCodeExporter closed 8 years ago
The extract-firmware.sh script is the OLDER rendition that does not support as
many platforms. The -NG scripts are REPLACEMENTS. The old ones are kept on the
off chance they handle some format the new ones don't. Craig - honestly, do we
need the old scripts still? It won't hurt my feeling is the answer is NO, but I
assumed Yes.
Original comment by jeremy.collake@gmail.com
on 21 Oct 2011 at 4:51
The extract-ng script should properly extract anything with squashfs/cramfs
file systems (it only extracts the first file system so it doesn't support any
images with multiple file systems).
Re-building is a little trickier of course, but build-ng should reassemble
anything extracted by extract-ng and patch up any uImage/TRX headers properly
(multiple and/or mixed headers are OK); it also assumes that the kernel
precedes the filesystem in the firmware image so anything not conforming to
that layout may not work.
So I *think* that the NG scripts will cover all of the firmware that is
supported by the extract_firmware/build_firmware scripts? I don't know for sure
though and didn't test. If you don't think that the old scripts provide any
advantages you can of course take them out if you wish, but I'll leave that at
your discretion since you know more about them (and the firmware they were
tested against) than I do.
Original comment by heffne...@gmail.com
on 22 Oct 2011 at 1:01
Closing as invalid.
Original comment by heffne...@gmail.com
on 4 Nov 2011 at 1:00
Original issue reported on code.google.com by
Vladimir...@gmail.com
on 21 Oct 2011 at 4:27