aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/rbcfg/src
Commit message (Collapse)AuthorAgeFilesLines
* packages/boot: remove rbcfgThibaut VARÈNE2020-05-285-1302/+0
| | | | | | | The new sysfs soft_config driver makes buggy rbcfg obsolete and entirely replaces it. Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
* rbcfg: Add missing mode to open callHauke Mehrtens2020-04-181-1/+1
| | | | | | | | | | | | | | | | | | | When open() is called with O_CREAT a 3. parameter has to be given with the file system permissions of the new file. Not giving this is an error, which results in a compile error with glibc. This fixes the following compile error with glibc: ---------------------------------------------------------------------- In file included from /include/fcntl.h:329, from main.c:18: In function 'open', inlined from 'rbcfg_update' at main.c:501:7: /include/bits/fcntl2.h:50:4: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments __open_missing_mode (); ^~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* rbcfg: Implement CPU frequency controlThibaut VARENE2017-10-072-3/+138
| | | | | | | | | | | | | | | | | | | | | | This patch implements CPU frequency control as found on several routerboard devices. Supported SoCs: - QCA953X - AR9344 Tested on hAP lite and mAP lite (QCA953x): steps of 50MHz Tested on LHG 5 (AR9344): steps of 50MHz On unsupported hardware, this patch is a NOP: it will not alter the new field. "rbcfg help" will display an empty "cpu_freq" help listing. "rbcfg show" will not show the cpu_freq field. "rbcfg set/get cpu_freq" will return an error code. Signed-off-by: Thibaut VARENE <hacks@slashdirt.org> [adjusted subject] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* packge/boot/rbcfg: add new boot constants found in the recent Mikrotik devicesAlex Samorukov2017-02-262-0/+6
| | | | Signed-off-by: Alex Samorukov <samm@os2.kiev.ua>
* rbcfg: fix format string bugFelix Fietkau2014-06-301-1/+1
| | | | | | Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> SVN-Revision: 41410
* move to boot/ folderJohn Crispin2012-10-175-0/+1161
SVN-Revision: 33824