The patch number 8417 was added via Mauro Carvalho Chehab <[EMAIL PROTECTED]> to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward compatible with older kernels. Compatibility modifications will be removed before inclusion into the mainstream Kernel If anyone has any objections, please let us know by sending a message to: [EMAIL PROTECTED] ------ From: Mauro Carvalho Chehab <[EMAIL PROTECTED]> A few improvements at firmware build make firmware will now create the firmware files, using .ihex, .HEX and .H16 target files, under linux/firmware. TODO: - use the right names for those firmwares; - link them with the module, if desired by enduser. Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]> --- v4l/Makefile | 10 ++++------ v4l/firmware/Makefile | 27 +++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 6 deletions(-) diff -r 1f08e05739b2 -r 3d8874db4b49 v4l/Makefile --- a/v4l/Makefile Fri Jul 18 08:11:59 2008 -0300 +++ b/v4l/Makefile Fri Jul 18 08:35:40 2008 -0300 @@ -45,8 +45,9 @@ default:: config-compat.h Makefile.media ./scripts/rmmod.pl check # $(MAKE) checkpatch -firmware:: firmlinks - $(MAKE) -C $(OUTDIR) SUBDIRS=$(PWD)/firmware $(MYCFLAGS) modules +firmware:: + $(MAKE) -C firmware + ################################################# # Object specific rules @@ -252,10 +253,6 @@ links:: @find ../linux/drivers/media -name '*.[ch]' -type f -print0 | xargs -0n 255 ln -sf --target-directory=. @find ../linux/sound -name '*.[ch]' -type f -print0 | xargs -0n 255 ln -sf --target-directory=. -firmlinks:: - for i in `find ../linux/firmware/ -type d|sed s,"../linux/firmware",,`; do mkdir -p firmware/$$i; done >/dev/null - for i in `find ../linux/firmware/ -type f|sed s,"../linux/firmware",,`; do ln -sf $(PWD)/../linux/firmware/$$i firmware/$$i; done - # This link is so code with #include "oss/*.h" will find its header files oss: ln -sf . oss @@ -280,6 +277,7 @@ clean:: @find . -name '*.h' -type l -exec rm '{}' \; -rm -f *~ *.o *.ko .*.o.cmd .*.ko.cmd *.mod.c av7110_firm.h fdump \ config-compat.h Module.symvers + make -C firmware clean distclean:: clean -rm -f .version .*.o.flags .*.o.d Makefile.media \ diff -r 1f08e05739b2 -r 3d8874db4b49 v4l/firmware/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/v4l/firmware/Makefile Fri Jul 18 08:35:40 2008 -0300 @@ -0,0 +1,27 @@ +TARGETS = ihex2fw ttusb-budget vicam.fw dabusb_bitstream dabusb.fw stv0672_v4 + +default: $(TARGETS) + +clean: + -rm $(TARGETS) + + +ihex2fw: ../../linux/firmware/ihex2fw.c + gcc -Wall -o $@ $< + +vicam.fw: ../../linux/firmware/vicam/firmware.H16 + ./ihex2fw -w $< $@ + +dabusb.fw: ../../linux/firmware/dabusb/firmware.HEX + ./ihex2fw $< $@ + +ttusb-budget: ../../linux/firmware/ttusb-budget/dspbootcode.bin.ihex + objcopy -Iihex -Obinary $< $@ + + +dabusb_bitstream: ../../linux/firmware/dabusb/bitstream.bin.ihex + objcopy -Iihex -Obinary $< $@ + +stv0672_v4: ../../linux/firmware/cpia2/stv0672_vp4.bin.ihex + objcopy -Iihex -Obinary $< $@ + --- Patch is available at: http://linuxtv.org/hg/v4l-dvb/rev/3d8874db4b49394a29c3828fc5a2afcbc42dfdb4 _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits