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:env.ko

From BoxMatrix
(Redirected from env.ko)


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

env.ko provides low-level access to the Bootloader-Environment, or parts of it.
It exports the prom_getenv function to be used from within the kernel and from external Kernel-Modules.

It searches an array of name / value pointers for the passed variable and returns a pointer to its value.
The method how this array is created is platform speific.

Tests during development of FREETZ_TYPE_W504V_7270_V3 showed that it could not access the full Bootloader-Environment,
which is stored in the TFFS, but only the defaults which are hardcoded in the Config-Section of EVA.

Examples

External Kernel-Modules which use prom_getenv in a 7270v3 fw 5.53:

GPL-Browser

Daily updated index of all env.ko code findings on the GPL-Browser. Last update: 2024-10-15 04:12 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-10-14 07:14 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_AVM_ENHANCED 48 6.51 - 8.00 AVM collection of various enhanced kernel-features (avm_cpu_temperature.ko, avm_dma.ko, avm_kernel_config.ko, avm_led.ko, avm_mtd.ko, avm_mtd_notifier.ko, avm_mtd_of_parser.ko, avm_mtd_rename_fw.ko, avm_mtd_rootfs.ko, avm_watch.ko, avm_writeprotect.ko, bthelper.ko, bug_table.ko, check_cpu_features.ko, clk.ko, core.ko, env.ko, expression.ko, kernelmem_module.ko, kseg0_module.ko, lantiq-gic-timer.ko, lantiq-tdm.ko, msm_dectuart.ko, nmi_enh.ko, puma_c55codemem.ko) Linux
Enabled by kcfg CONFIG_AVM_PROM_ENVIRONMENT 42 6.51 - 8.00 Enable AVM PROM environment support (avm-prom.ko, env.ko, fw_info_common.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-10-15 05:05 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-10-14 07:14 GMT.

Firmware Symbol
0 symbols for this module

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

e