gnewsense-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gNewSense-users] KFV: check for non-free firmware


From: Christophe Jarry
Subject: [gNewSense-users] KFV: check for non-free firmware
Date: Sun, 04 May 2008 13:12:50 +0800
User-agent: Thunderbird 1.5.0.14ubu (X11/20080306)

I think I've found four non-free firmware in the kernel (still haven't browse 'drivers' section). Here they are:
'arch/powerpc/oprofile/op_model_cell.c' contains (line 703, I've removed some digits to ease the reading):

#define ENTRIES	 303
#define MAXLFSR	 0xFFFFFF

/* precomputed table of 24 bit LFSR values */
static int initial_lfsr[] = {
 8221349, [lots of digits], 8388607
};


'arch/powerpc/platforms/cell/spufs/spu_restore_dump.h_shipped' contains (line 1, I've removed some digits to ease the reading
):

/*
 * spu_restore_dump.h: Copyright (C) 2005 IBM.
 * Hex-dump auto generated from spu_restore.c.
 * Do not edit!
 */
static unsigned int spu_restore_code[]  __attribute__((__aligned__(128))) = {
0x40800000,
[lots of digits],
0x00000000,
};

'arch/powerpc/platforms/cell/spufs/spu_save_dump.h_shipped' (almost the same as 'arch/powerpc/platforms/cell/spufs/spu_restore_dump.h_shipped'
).


'lib/zlib_inflate/inffixed.h' contains (line 1, I've removed some digits to ease the reading):

    /* inffixed.h -- table for decoding fixed codes
     * Generated automatically by makefixed().
     */

    /* WARNING: this file should *not* be used by applications. It
       is part of the implementation of the compression library and
       is subject to change. Applications should only use zlib.h.
     */

    static const code lenfix[512] = {
        {96,7,0},
        [lots of digits],
        {0,9,255}
    };

    static const code distfix[32] = {
        {16,5,1},
        [lots of digits],
        {64,5,0}
    };


Those firmwares are the only ones I consider as non-free among all the firmwares found using the 'find-firmware' 
 script Brian wrote, except for the 'drivers' section which I haven't checked yet. Do you think some here are free
 or that others I consider as free are, in fact, non-free? I want to begin checking for such firmwares in 'drivers'
 but I need to be sure not to make mistakes.

 Thanks,

 Christophe
#!/bin/bash

#Usage: ./find-firmware /path/to/kernel/tree

#Currently define possible firmware to be 32 or more comma seperated 
consecutive constants
for i in $(find $1 -type f); do tr -d $'\n\t{} ' < "$i" | egrep -q 
'([,:][0-9a-fA-Fx\\]+){32,}' && echo "$i"; done | fgrep -vf ./firmware-removed 
| fgrep -vf ./firmware-false-positive
arch/alpha/kernel/core_cia.c
arch/arm26/lib/udivdi3.c
arch/arm26/nwfpe/softfloat-macros
arch/arm/kernel/dma-isa.c
arch/arm/mach-footbridge/netwinder-hw.c
arch/arm/mach-pxa/sharpsl_pm.c
arch/arm/nwfpe/softfloat-macros
arch/cris/arch-v32/drivers/cryptocop.c
arch/cris/arch-v32/kernel/kgdb.c
arch/m68k/mac/mac_penguin.S
arch/m68knommu/platform/68328/bootlogo.h
arch/m68knommu/platform/68EZ328/bootlogo.h
arch/mips/au1000/common/dbdma.c
arch/mips/mm/cerr-sb1.c
arch/parisc/kernel/perf_images.h
arch/powerpc/kernel/btext.c
arch/powerpc/kernel/prom_init.c
arch/powerpc/xmon/xmon.c
arch/ppc/8xx_io/cs4218_tdm.c
arch/ppc/8xx_io/micropatch.c
arch/ppc/boot/lib/vreset.c
arch/ppc/syslib/btext.c
arch/ppc/syslib/cpm2_pic.c
arch/ppc/syslib/prom_init.c
arch/ppc/xmon/xmon.c
arch/s390/crypto/des_check_key.c
arch/s390/kernel/ebcdic.c
arch/sh64/kernel/traps.c
arch/sh/boards/overdrive/time.c
arch/sh/boards/superh/microdev/led.c
arch/sh/kernel/time.c
arch/sparc64/kernel/traps.c
arch/sparc/kernel/sparc-stub.c
cluster/dlm/util.c
crypto/blowfish.c
crypto/cast5.c
crypto/cast6.c
crypto/des.c
crypto/tcrypt.h
crypto/twofish.c
Documentation/fujitsu/frv/mmu-layout.txt
drivers/acorn/char/defkeymap-l7200.c
drivers/block/amiflop.c
drivers/block/xd.c
drivers/char/agp/generic.c
drivers/char/agp/via-agp.c
drivers/char/consolemap.c
drivers/char/defkeymap.c_shipped
drivers/char/ftape/lowlevel/ftape-ecc.c
drivers/char/keyboard.c
drivers/char/qtronixmap.c_shipped
drivers/char/riscom8.c
drivers/char/rocket.c
drivers/char/ser_a2232fw.h
drivers/hwmon/via686a.c
drivers/ide/legacy/ali14xx.c
drivers/ide/legacy/umc8672.c
drivers/ide/pci/sis5513.c
drivers/ieee1394/csr1212.c
drivers/input/joystick/grip_mp.c
drivers/input/keyboard/atkbd.c
drivers/input/keyboard/maple_keyb.c
drivers/input/keyboard/newtonkbd.c
drivers/input/keyboard/sunkbd.c
drivers/input/keyboard/xtkbd.c
drivers/isdn/hardware/eicon/capidtmf.c
drivers/isdn/hisax/isdnhdlc.c
drivers/isdn/i4l/isdn_audio.c
drivers/isdn/i4l/isdn_v110.c
drivers/isdn/misdn/dsp_audio.c
drivers/isdn/misdn/dsp_blowfish.c
drivers/isdn/misdn/dsp_tones.c
drivers/isdn/misdn/dtmf.c
drivers/media/common/saa7146_hlp.c
drivers/media/dvb/b2c2/flexcop-fe-tuner.c
drivers/media/dvb/dvb-core/dvb_filter.c
drivers/media/dvb/frontends/cx22700.c
drivers/media/dvb/frontends/cx22702.c
drivers/media/dvb/frontends/dvb-pll.c
drivers/media/dvb/frontends/lgdt330x.c
drivers/media/dvb/frontends/or51132.c
drivers/media/dvb/frontends/or51211.c
drivers/media/dvb/ttpci/av7110_ir.c
drivers/media/dvb/ttpci/av7110_v4l.c
drivers/media/dvb/ttusb-dec/ttusbdecfe.c
drivers/media/video/bt832.h
drivers/media/video/bttv-driver.c
drivers/media/video/cx25840/cx25840-vbi.c
drivers/media/video/em28xx/em28xx-video.c
drivers/media/video/meye.c
drivers/media/video/mxb.c
drivers/media/video/ovcamchip/ov76be.c
drivers/media/video/ovcamchip/ov7x10.c
drivers/media/video/ovcamchip/ov7x20.c
drivers/media/video/saa7114.c
drivers/media/video/saa7115.c
drivers/media/video/saa7121.h
drivers/media/video/saa7134/saa7134-video.c
drivers/media/video/stradis.c
drivers/media/video/zr36050.c
drivers/media/video/zr36060.c
drivers/mtd/nand/nand_base.c
drivers/mtd/nand/nand_ecc.c
drivers/mtd/nand/rtc_from4.c
drivers/net/bmac.c
drivers/net/bnx2.c
drivers/net/e1000/e1000_hw.c
drivers/net/hamradio/mkiss.c
drivers/net/hamradio/yam.c
drivers/net/ixp2000/ixp2400_rx.ucode
drivers/net/ixp2000/ixp2400_tx.ucode
drivers/net/s2io.h
drivers/net/skfp/can.c
drivers/net/smc-mca.c
drivers/net/wan/sbni.c
drivers/net/wan/sdla.c
drivers/net/wireless/atmel.c
drivers/net/wireless/bcm43xx/bcm43xx_main.c
drivers/net/wireless/bcm43xx/bcm43xx_phy.c
drivers/net/wireless/prism2/hfa384x.c
drivers/net/wireless/rt2400/rtmp_wep.c
drivers/net/wireless/rt2500/md5.c
drivers/net/wireless/rt2500/mlme.c
drivers/net/wireless/rt2500/rtmp_wep.c
drivers/net/wireless/rtl8187/r8180_rtl8225.c
drivers/net/wireless/rtl8187/r8180_rtl8225z2.c
drivers/net/wireless/rtl818x/r8180_core.c
drivers/net/wireless/rtl818x/r8180_rtl8225.c
drivers/net/wireless/rtl_ieee80211/rtl_ieee80211_crypt_tkip.c
drivers/s390/char/defkeymap.c
drivers/s390/char/raw3270.c
drivers/s390/cio/device_id.c
drivers/s390/crypto/z90hardware.c
drivers/s390/crypto/z90main.c
drivers/s390/ebcdic.c
drivers/scsi/53c700_d.h_shipped
drivers/scsi/53c7xx.c
drivers/scsi/53c7xx_d.h_shipped
drivers/scsi/advansys.c
drivers/scsi/aic7xxx/aic79xx_osm.c
drivers/scsi/aic7xxx/aic7xxx_osm.c
drivers/scsi/aic7xxx/aic7xxx_seq.h_shipped
drivers/scsi/aic7xxx_old/aic7xxx_seq.c
drivers/scsi/aic7xxx_old.c
drivers/scsi/fcal.c
drivers/scsi/gdth.c
drivers/scsi/lpfc/lpfc_hbadisc.c
drivers/tc/lk201-map.c_shipped
drivers/telephony/ixj.c
drivers/usb/input/fixp-arith.h
drivers/usb/input/hid-input.c
drivers/usb/input/map_to_7segment.h
drivers/usb/input/usbkbd.c
drivers/usb/media/ov511/ov511.h
drivers/usb/media/pwc/pwc-dec23.c
drivers/usb/media/pwc/pwc-nala.h
drivers/usb/media/quickcam/qc-driver.c
drivers/usb/media/quickcam/qc-mjpeg.c
drivers/usb/media/spca5xx/jpeg_header.h
drivers/usb/media/spca5xx/jpeg_qtables.h
drivers/usb/media/spca5xx/spca5xx-main.c
drivers/usb/media/spca5xx/spcadecoder.c
drivers/usb/media/spca5xx/spcagamma.h
drivers/usb/media/stv680.h
drivers/usb/media/w9968cf_decoder.h
drivers/usb/misc/sisusbvga/sisusb.c
drivers/usb/net/rt2570/md5.c
drivers/usb/net/rt2570/mlme.c
drivers/usb/net/rt2570/rtmp_tkip.c
drivers/usb/net/rt2570/rtmp_wep.c
drivers/usb/net/zd1211/zd1205.c
drivers/usb/net/zd1211/zdtkipseed.c
drivers/usb/serial/keyspan_pda.S
drivers/usb/serial/safe_serial.c
drivers/usb/serial/xircom_pgs.S
drivers/video/atafb.c
drivers/video/au1100fb.c
drivers/video/cyberfb.c
drivers/video/cyblafb.c
drivers/video/i810/i810_gtf.c
drivers/video/kyro/STG4000OverlayDevice.c
drivers/video/matrox/matroxfb_base.c
drivers/video/matrox/matroxfb_maven.c
drivers/video/nvidia/nv_accel.c
drivers/video/platinumfb.h
drivers/video/riva/fbdev.c
drivers/video/riva/riva_tbl.h
drivers/video/sis/300vtbl.h
drivers/video/sis/310vtbl.h
drivers/video/sis/init301.h
drivers/video/sis/init.h
drivers/video/sis/oem300.h
drivers/video/sis/oem310.h
drivers/video/sis/sis_main.c
drivers/video/sis/sis_main.h
drivers/video/tgafb.c
drivers/w1/w1_io.c
fs/cifs/smbdes.c
fs/hfsplus/tables.c
fs/hfs/string.c
fs/jffs2/comprtest.c
fs/jfs/jfs_dmap.c
fs/nls/nls_euc-jp.c
fs/ntfs/unistr.c
fs/ntfs/upcase.c
fs/ufs/balloc.c
include/asm-s390/processor.h
include/linux/gfs_ondisk.h
lib/crc16.c
lib/crc-ccitt.c
net/bluetooth/hidp/core.c
net/bluetooth/hidp/hid.c
net/bluetooth/rfcomm/core.c
net/dccp/ccids/lib/tfrc_equation.c
net/ieee80211_1_1_13/ieee80211_1_1_13_crypt_tkip.c
net/ieee80211/ieee80211_crypt_tkip.c
net/sctp/crc32c.c
scripts/genksyms/keywords.c_shipped
scripts/genksyms/lex.c_shipped
scripts/genksyms/parse.c_shipped
scripts/kconfig/lex.zconf.c_shipped
scripts/kconfig/zconf.hash.c_shipped
scripts/kconfig/zconf.tab.c_shipped
scripts/pnmtologo.c
sound/drivers/opl3/opl3_midi.c
sound/drivers/opl4/opl4_synth.c
sound/drivers/opl4/yrw801.c
sound/isa/gus/gus_tables.h
sound/isa/sb/emu8000.c
sound/isa/sb/sb16_csp_codecs.h
sound/isa/wavefront/wavefront_fx.c
sound/oss/ad1816.c
sound/oss/ad1848_mixer.h
sound/oss/awe_wave.c
sound/oss/dmasound/dmasound_awacs.c
sound/oss/dmasound/dmasound_core.c
sound/oss/dmasound/tas3001c_tables.c
sound/oss/dmasound/tas3004_tables.c
sound/oss/dmasound/trans_16.c
sound/oss/emu10k1/hwaccess.c
sound/oss/emu10k1/mixer.c
sound/oss/es1371.c
sound/oss/gus_linearvol.h
sound/oss/maestro.c
sound/oss/nm256_coeff.h
sound/oss/opl3.c
sound/oss/opl3sa2.c
sound/oss/pss.c
sound/oss/ulaw.h
sound/oss/yss225.c
sound/pci/au88x0/au88x0_a3ddata.c
sound/pci/au88x0/au88x0_eqdata.c
sound/pci/emu10k1/emufx.c
sound/pci/emu10k1/io.c
sound/pci/ice1712/aureon.c
sound/pci/ice1712/phase.c
sound/pci/nm256/nm256_coef.c
sound/pci/rme9652/hdspm.c
sound/pci/trident/trident_synth.c
sound/ppc/beep.c
sound/ppc/tumbler_volume.h
sound/sparc/amd7930.c
sound/synth/emux/emux_synth.c
sound/synth/emux/soundfont.c
sound/usb/usx2y/usbusx2yaudio.c
drivers/atm/atmsar11.data
drivers/atm/pca200e.data
drivers/atm/pca200e_ecd.data
drivers/atm/sba200e_ecd.data
drivers/char/drm/mga_ucode.h
drivers/char/drm/r128_cce.c
drivers/char/drm/radeon_cp.c
drivers/char/dsp56k.c
drivers/char/ip2/fip_firm.h
drivers/media/dvb/frontends/tda10021.c
drivers/media/dvb/frontends/tda8083.c
drivers/media/dvb/frontends/tda80xx.c
drivers/media/dvb/frontends/ves1820.c
drivers/media/dvb/frontends/ves1x93.c
drivers/media/dvb/ttpci/av7110.c
drivers/media/dvb/ttpci/av7110_hw.c
drivers/media/dvb/ttpci/budget-av.c
drivers/media/dvb/ttpci/budget-ci.c
drivers/media/dvb/ttusb-budget/dvb-ttusb-dspbootcode.h
drivers/media/video/cs8420.h
drivers/net/acenic_firmware.h
drivers/net/appletalk/cops_ffdrv.h
drivers/net/appletalk/cops_ltdrv.h
drivers/net/bnx2_fw.h
drivers/net/cassini.h
drivers/net/dgrs_firmware.c
drivers/net/e100.c
drivers/net/hamradio/yam1200.h
drivers/net/hamradio/yam9600.h
drivers/net/myri_code.h
drivers/net/pcmcia/ositech.h
drivers/net/starfire_firmware.h
drivers/net/tg3.c
drivers/net/tokenring/3c359_microcode.h
drivers/net/tokenring/smctr_firmware.h
drivers/net/typhoon-firmware.h
drivers/net/wan/sdladrv.c
drivers/net/wan/wanxlfw.inc_shipped
drivers/net/wireless/prism54_softmac/sent_data_ok.h
drivers/net/wireless/rtl818x/r8180_rtl8255.c
drivers/s390/net/qeth_mpc.c
drivers/scsi/aic7xxx/aic79xx_seq.h_shipped
drivers/scsi/aic94xx/aic94xx_seq_microcode.c
drivers/scsi/ql1040_fw.h
drivers/scsi/ql12160_fw.h
drivers/scsi/ql1280_fw.h
drivers/scsi/qla2xxx/ql2100_fw.c
drivers/scsi/qla2xxx/ql2200_fw.c
drivers/scsi/qla2xxx/ql2300_fw.c
drivers/scsi/qla2xxx/ql2322_fw.c
drivers/scsi/qla2xxx/ql6312_fw.c
drivers/scsi/qlogicfc_asm.c
drivers/scsi/qlogicpti_asm.c
drivers/serial/jsm/jsm_neo.c
drivers/usb/media/dabfirmware.h
drivers/usb/media/ibmcam.c
drivers/usb/media/pwc/pwc-kiara.c
drivers/usb/media/pwc/pwc-timon.c
drivers/usb/media/spca5xx/cs2102.h
drivers/usb/media/spca5xx/cxlib.h
drivers/usb/media/spca5xx/hdcs2020.h
drivers/usb/media/spca5xx/hv7131b.h
drivers/usb/media/spca5xx/hv7131c.h
drivers/usb/media/spca5xx/icm105a.h
drivers/usb/media/spca5xx/pb0330.h
drivers/usb/media/spca5xx/sn9cxxx.h
drivers/usb/media/spca5xx/sonix.h
drivers/usb/media/spca5xx/sp5xxfw2.dat
drivers/usb/media/spca5xx/spca500_init.h
drivers/usb/media/spca5xx/spca501_init.h
drivers/usb/media/spca5xx/spca505_init.h
drivers/usb/media/spca5xx/spca508_init.h
drivers/usb/media/spca5xx/spca561.h
drivers/usb/media/spca5xx/tas5130c
drivers/usb/media/vicam.c
drivers/usb/misc/emi26_fw.h
drivers/usb/misc/emi62_fw_m.h
drivers/usb/misc/emi62_fw_s.h
drivers/usb/misc/sisusbvga/sisusb_init.h
drivers/usb/net/atmel/fw-505rfmd2958-1.101.0-86.h
drivers/usb/net/atmel/fw-i3861.h
drivers/usb/net/atmel/fw-i3863.h
drivers/usb/net/atmel/fw-pkg-505-rfmd2958-1.101.0-86.h
drivers/usb/net/atmel/fw-pkg-505a-rfmd2958-1.102.0-113.h
drivers/usb/net/atmel/fw-pkg-i3861.h
drivers/usb/net/atmel/fw-pkg-i3863.h
drivers/usb/net/atmel/fw-pkg-r505.h
drivers/usb/net/atmel/fw-pkg-rfmd-0.90.2-140.h
drivers/usb/net/atmel/fw-pkg-rfmd-1.101.0-84.h
drivers/usb/net/atmel/fw-pkg-rfmd-acc-1.101.0-84.h
drivers/usb/net/atmel/fw-r505.h
drivers/usb/net/atmel/fw-rfmd-0.100.4-16.h
drivers/usb/net/atmel/fw-rfmd-0.90.2-140.h
drivers/usb/net/atmel/fw-rfmd-1.101.0-84.h
drivers/usb/net/atmel/fw-rfmd-acc-1.101.0-84.h
drivers/usb/net/eagle/eu_firmware.h
drivers/usb/net/kawethfw.h
drivers/usb/net/zd1211/WS11UPh.h
drivers/usb/net/zd1211/WS11UPhR.h
drivers/usb/net/zd1211/WS11UPhm.h
drivers/usb/net/zd1211/WS11Ub.h
drivers/usb/net/zd1211/WS11Ur.h
drivers/usb/serial/io_fw_boot.h
drivers/usb/serial/io_fw_boot2.h
drivers/usb/serial/io_fw_down.h
drivers/usb/serial/io_fw_down2.h
drivers/usb/serial/io_fw_down3.h
drivers/usb/serial/keyspan_mpr_fw.h
drivers/usb/serial/keyspan_pda_fw.h
drivers/usb/serial/keyspan_usa18x_fw.h
drivers/usb/serial/keyspan_usa19_fw.h
drivers/usb/serial/keyspan_usa19qi_fw.h
drivers/usb/serial/keyspan_usa19qw_fw.h
drivers/usb/serial/keyspan_usa19w_fw.h
drivers/usb/serial/keyspan_usa28_fw.h
drivers/usb/serial/keyspan_usa28x_fw.h
drivers/usb/serial/keyspan_usa28xa_fw.h
drivers/usb/serial/keyspan_usa28xb_fw.h
drivers/usb/serial/keyspan_usa49w_fw.h
drivers/usb/serial/keyspan_usa49wlc_fw.h
drivers/usb/serial/ti_fw_3410.h
drivers/usb/serial/ti_fw_5052.h
drivers/usb/serial/whiteheat_fw.h
drivers/usb/serial/xircom_pgs_fw.h
drivers/video/asiliantfb.c
drivers/video/chipsfb.c
sound/oss/cs461x_image.h
sound/oss/maestro3.h
sound/oss/ymfpci_image.h
sound/pci/cs46xx/cs46xx_image.h
sound/pci/korg1212/korg1212-firmware.h
sound/pci/maestro3.c
sound/pci/ymfpci/ymfpci_image.h

reply via email to

[Prev in Thread] Current Thread [Next in Thread]