If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.
Property:Piglet.ko
BoxMatrix >> Shell-Commands >> Piglet.ko | @ BoxMatrix - IRC-Chat - Translate: de es fr it nl pl |
News | Selectors | Models | Accessories | Components | Environment | Config | Commands | System | Webif | Software | Develop | Lexicon | Community | Project | Media |
Startup-Scr | Hotplug-Scr | BusyBox-Cmds | Bash-Cmds | AVM-Cmds | Chipset-Cmds | Linux-Cmds | Shared-Libs | Kernel-Mods | Research |
Kernel-Module
Note that Kernel 2.4 and builtin *.o
modules have been renamed to *.ko
for an easier comparison.
Command: | Piglet.ko - type Mod | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | Shell-Commands >> Kernel-Modules - Origin: AVM | ||||||
Path: | Release: ./kernel/drivers/char/Piglet Lab+Rel: ./kernel/drivers/char/Piglet | ||||||
Properties: | Size: 7.9k - 18.9k - Firmware: 3.96 - 4.99 | ||||||
Function: | Loads a Bitfile into the FPGA, then runs and maintains it (Proprietary) |
Goto: Examples - Parameters - GPL-Browser - Dependencies - Model-Matrix - Symbols - SMW-Browser
Details
Piglet.ko loads a Bitfile into the FPGA, then runs and maintains it.
It provides the Piglet device and an EMIF interface to a virtual USB-Host controller.
This module is only used on AR7 models. It is enabled by CONFIG_PIGLET (Kernel 2.4) or CONFIG_AVM_PIGLET (Kernel 2.6).
The same job without EMIF interface but DECT support is performed by the Piglet_noemif.ko module.
Example from a 7150 with USB-Host in FPGA:
root@fritz31:/var/mod/root# grep emif /proc/iomem be000000-be000068 : piglet_emifreg
Examples
piglet_bitfile=microvoip_top.bit${HWRevision_BitFileCount} piglet_load_params="\ piglet_width_running=1 \ piglet_usb_power_bit=-1 \ piglet_disable_test=1 \ piglet_cs=5 \ piglet_reset_bit=-2 \ piglet_bitfile_offset=0 \ piglet_bitfile_write=-1 \ piglet_bitfile_revbytes=1 \ piglet_irq_gpio=18 \ piglet_irq=9 \ " modprobe Piglet piglet_bitfile=$piglet_bitfile $piglet_load_params
Parameters
Daily updated index of all parameters for this module found scanning Firmware-Probes. Last update: 2024-11-14 07:42 GMT.
These parameters can be passed while loading the module like: modprobe <module> <parameter>=<value> ...
.
Parameters are listed multiple times if different descriptions were found in probes, which can be helpful to see evolution.
Parameter | Mod | Firmware | Info |
---|---|---|---|
piglet_bitfile | 20 | 4.14 - 4.99 | Piglet bitfile name (s) |
piglet_bitfile_offset | 20 | 4.14 - 4.99 | Piglet bitfile offset (i) |
piglet_bitfile_revbytes | 20 | 4.14 - 4.99 | Swap bits in Piglet bitfile bytes: no (=0) or yes (!=0) (i) |
piglet_bitfile_write | 20 | 4.14 - 4.99 | Piglet bitfile size to be written (default = -1 : whole file) (i) |
piglet_clk_route | 20 | 4.28 - 4.99 | Piglet route clk to GPIO 6 (0) disable, (1) System, (2) MIPS , (3) USB (i) |
piglet_cs | 20 | 4.14 - 4.99 | Piglet chip select (i) |
piglet_disable_test | 20 | 4.14 - 4.99 | Piglet disable RAM test after boot (i) |
piglet_enable_button2 | 20 | 4.28 - 4.99 | Piglet enable push button 2 (i) |
piglet_enable_switch | 20 | 4.14 - 4.99 | Piglet enable switch (i) |
piglet_extended_wait_mode_enabled | 20 | 4.14 - 4.99 | Piglet extended wait mode enabled( default:1) (i) |
piglet_irq | 20 | 4.14 - 4.99 | Piglet irq (i) |
piglet_irq_gpio | 20 | 4.14 - 4.99 | Piglet irq gpio (i) |
piglet_reset_bit | 20 | 4.14 - 4.99 | Piglet reset bit (i) |
piglet_usb_client_clk | 20 | 4.28 - 4.99 | Piglet USB client Clock (in MHz): possible: 0 (diables), 25, 48 (i) |
piglet_usb_power_bit | 20 | 4.14 - 4.99 | Piglet bit for usb power on (i) |
piglet_w900v_flag | 20 | 4.14 - 4.99 | Piglet piglet_w900v_flag (default: 0 (disabled)) (i) |
piglet_width_programming | 20 | 4.14 - 4.99 | Piglet write width while programming (in bits: 0:8, 1:16, 2:32) (i) |
piglet_width_running | 20 | 4.14 - 4.99 | Piglet write width while running (in bits: 0:8, 1:16, 2:32) (i) |
piglet_write_enable_bit | 20 | 4.14 - 4.99 | Piglet write_enable bit (default: -1 (disabled)) (i) |
19 parameters for this module |
GPL-Browser
Daily updated index of all Piglet.ko code findings on the GPL-Browser. Last update: 2024-11-14 05:06 GMT.
The Files
header attempts to list the files which belong to this module. Useful if a directory contains multiple modules.
The Browse
column points to the Path
of the Makefile
referring this code on the gpl.boxmatrix.info service.
The SoC
column lists the Chip-Codenames, the Model
column lists the nicks of the Box-Models.
The Diff
column links the comparison of the AVM Kernel to the pristine original from Kernel.org.
The Download
column links the full tarball the respective directory content is extracted from.
The presence of the source does not mean it fits the respective model and architecture. See the Model-Matrix where it's used.
Note that this list matches module names with hyphen (-
) and underscore (_
) exchangeable, same as modprobe does.
Files: Piglet.c | ||||||||
---|---|---|---|---|---|---|---|---|
Browse | Path | Makefile | SoC | Arch | Model | Firmw | Diff | Download |
ohio-7170-401 | linux-2.4.17/drivers/char | Makefile | Ohio | MIPS | 7170 | 4.01 | 2.4.17 | Download |
1 directory containing Piglet.ko source code |
Dependencies
Daily updated index of all dependencies of this module. Last update: 2024-11-14 07:43 GMT.
A *
in the Mod
column marks info from Supportdata-Probes, which will always stay incomplete.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
Enabled by | kcfg | CONFIG_PIGLET | 3 | 4.01 | AVM Piglet support (Piglet.ko) | Linux |
1 dependency for this module |
Model-Matrix
Daily updated index of the presence, path and size of this module for each model. Last update: 2024-11-14 05:50 GMT.
Showing all models using this module. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl)
label in the Model
column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.
Model | Firmware | Path | Size |
---|---|---|---|
FRITZ!Box 2170 | 4.31 - 4.57 | ./kernel/drivers/char/Piglet | 15.3k - 17.2k |
FRITZ!Box WLAN 3130 | 4.21 - 4.34 | ./kernel/drivers/char/Piglet | 9.3k - 15.3k |
FRITZ!Box WLAN 3131 | 4.29 - 4.57 | ./kernel/drivers/char/Piglet | 15.3k - 17.2k |
FRITZ!Box WLAN 3170 | 4.31 - 4.58 | ./kernel/drivers/char/Piglet | 15.3k - 17.2k |
FRITZ!Box Fon 5010 | 4.01 - 4.43 | ./kernel/drivers/char/Piglet | 8.5k - 18.1k |
FRITZ!Box Fon 5012 | 4.01 - 4.27 | ./kernel/drivers/char/Piglet | 8.5k - 9.3k |
FRITZ!Box Fon 5124 | 4.47 - 4.77 | ./kernel/drivers/char/Piglet | 18.4k - 18.9k |
FRITZ!Box Fon 5140 | 4.25 - 4.67 | ./kernel/drivers/char/Piglet | 9.3k - 17.2k |
FRITZ!Box Fon WLAN 7140 | 4.02 - 4.77 | ./kernel/drivers/char/Piglet | 8.5k - 18.9k |
FRITZ!Box Fon WLAN 7141 | 4.14 - 4.77 | ./kernel/drivers/char/Piglet | 12.7k - 18.9k |
FRITZ!Fon 7150 | 4.27 - 4.77 | ./kernel/drivers/char/Piglet | 9.3k - 18.9k |
FRITZ!Box Fon WLAN 7170 | 3.96 - 4.99 | ./kernel/drivers/char/Piglet | 7.9k - 18.9k |
FRITZ!Box Fon WLAN 7170 v1 | 3.96 - 4.99 | ./kernel/drivers/char/Piglet | 7.9k - 18.9k |
FRITZ!Box Fon WLAN 7170 v2 | 3.96 - 4.99 | ./kernel/drivers/char/Piglet | 7.9k - 18.9k |
congstar DSL-Box | 4.25 - 4.81 | ./kernel/drivers/char/Piglet | 12.7k - 18.9k |
Speedport W 501V | 4.07 - 4.38 | ./kernel/drivers/char/Piglet | 9.2k - 15.3k |
Speedport W 701V | 4.25 - 4.81 | ./kernel/drivers/char/Piglet | 12.7k - 18.9k |
Speedport W 721V | 4.74 - 4.75 | ./kernel/drivers/char/Piglet | 18.9k |
Speedport W 900V | 4.21 - 4.57 | ./kernel/drivers/char/Piglet | 12.7k - 18.4k |
Alice IAD 5130 | 4.65 - 4.71 | ./kernel/drivers/char/Piglet | 17.2k |
Alice IAD WLAN 3331 | 4.90 | ./kernel/drivers/char/Piglet | 18.9k |
21 models use this module |
Symbols
Daily updated index of all symbols of this module. Last update: 2024-11-14 07:43 GMT.
Firmware | Symbol |
---|---|
4.14 - 4.99 | MODULE_PARM_ |
4.14 - 4.99 | cleanup_module |
4.14 - 4.99 | init_module |
4.22 - 4.99 | piglet_CallBackPowerManagmentControl |
4.14 - 4.99 | piglet_bitfile_process |
4.14 - 4.99 | piglet_cleanup |
4.14 - 4.99 | piglet_init |
4.14 - 4.99 | piglet_ramtest |
4.14 - 4.99 | piglet_registertest |
4.34 - 4.99 | piglet_requestrelease |
4.14 - 4.99 | piglet_reset |
4.14 - 4.99 | piglet_write_enable |
12 symbols for this module |