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.

0
U

Property:adam2 proc.ko

From BoxMatrix


BoxMatrix >> Shell-Commands >> adam2_proc.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.

Goto:   Examples  -  GPL-Browser  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

adam2_proc.ko is the Kernel 2.4 procfs interface to the ADAM2 Bootloader-Environment.
It is called the Adam2 environment variables API and provides /proc/sys/dev/adam2/environment.

In Kernel 2.6 it was replaced by tffs_proc.ko providing /proc/sys/urlader/environment (and more).

There are 2 vatiants of this driver. Both provide the same r/w access to the procs interface:

adam2_proc.c enabled by CONFIG_MIPS_AVALANCHE_ADAM2 is a wrapper to functions from adam2_env.ko.
This is the historical Adam2 environment variables API by TI not used in FRITZ!OS:

  • adam2_env_get_variable on all 80 indexes to dump the env on read
  • adam2_env_unset_variable if writing just the variable name
  • adam2_env_set_variable if writing a variable / value pair
  • adam2_env_defrag if writing variable / value fails and a retry

adam2_env.c enabled by CONFIG_MIPS_AVALANCHE_ADAM2_JMP_TBL uses assembler stubs calling code in ADAM2.
This is what AVM used in FRITZ!OS with Kernel 2.4:

  • adam2_getienv from getienv.ko on all 256 indexes to get the name of each var on read
  • adam2_getenv from getenv.ko on each variable found to dump it on read
  • adam2_unsetenv from unsetenv.ko if writing just the variable name
  • adam2_setenv from setenv.ko if writing a variable / value pair
  • adam2_fixenv from fixenv.ko if writing variable / value fails and a retry

GPL-Browser

Daily updated index of all adam2_proc.ko code findings on the GPL-Browser. Last update: 2024-11-16 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.

Dependencies

Daily updated index of all dependencies of this module. Last update: 2024-11-15 07:54 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_MIPS_AVALANCHE_ADAM2 Avalanche SoC (NSP) Adam2 Support (adam2_proc.ko) Linux
Enabled by kcfg CONFIG_MIPS_AVALANCHE_ADAM2_JMP_TBL Enables the original ADAM2 Bootloader-Environment API (adam2_proc.ko, fixenv.ko, getenv.ko, getienv.ko, setenv.ko, unsetenv.ko) Linux
2 dependencies for this module

Model-Matrix

Daily updated index of the presence, path and size of this module for each model. Last update: 2024-11-16 05:52 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
0 models use this module

Symbols

Daily updated index of all symbols of this module. Last update: 2024-11-15 07:54 GMT.

Firmware Symbol
0 symbols for this module

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

a