Dnia 2017-02-27, o godz. 12:28:48 Thibaut <ha...@slashdirt.org> napisał(a):
> Hi, Hi > I’m currently working with Alex Samorukov on bringing cpu frequency setting > to rbcfg for Mikrotik Routerboards devices, and in doing so, we would need a > bit of input from people owning that hardware and running LEDE on it: RB411U > 1. output of `cat /proc/cpuinfo` root@LEDE:/# cat /proc/cpuinfo system type : Atheros AR7130 rev 2 machine : MikroTik RouterBOARD 411U processor : 0 cpu model : MIPS 24Kc V7.4 BogoMIPS : 199.06 wait instruction : yes microsecond timers : yes tlb_entries : 16 extra interrupt vector : yes hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb] isa : mips1 mips2 mips32r1 mips32r2 ASEs implemented : mips16 shadow register sets : 1 kscratch registers : 0 package : 0 core : 0 VCED exceptions : not available VCEI exceptions : not available > 2. output of `dmesg | grep board=` [ 0.000000] Kernel command line: parts=1 boot_part_size=4194304 gpio=1983 HZ=150000000 mem=32M kmac=4C:5E:0C:31:B3:F5 board=411U ver=3.22 hw_opt=00000000 boot=1 mlc=8 console=ttyS0,115200 rootfstype=squashfs noinitrd > 3. if possible, whether or not RouterBOOT offers a “cpu frequency” setting > (typically under key ‘f’) at boot time Select CPU frequency: 1 - 100MHz 2 - 150MHz 3 - 200MHz * 4 - 300MHz > 4. if possible, for various cpu frequency settings (ideally for all of them), > the output of `dmesg | grep Clocks; hexdump -C /dev/mtdblockN` where > mtdblockN is the soft_config partition. Please provide this output at least > once, even if there’s no frequency setting. root@LEDE:/# dmesg | grep Clocks [ 0.000000] Clocks: CPU:300.000MHz, DDR:300.000MHz, AHB:150.000MHz, Ref:40.000MHz root@LEDE:/# cat /proc/mtd | grep soft_config mtd3: 00001000 00001000 "soft_config" root@LEDE:/# hexdump -C /dev/mtd3 00000000 ff ff ff ff ff ff ff ff ff ff 7d c7 00 00 00 00 |..........}.....| 00000010 5b 3a 16 18 4b d4 5b 92 73 1e 24 4f bb 43 71 f1 |[:..K.[.s.$O.Cq.| 00000020 64 55 a5 04 8b 57 7f 1b f5 77 e1 47 2b fc 3a f1 |dU...W...w.G+.:.| 00000030 3e 30 6e 04 fd 6e 8c 51 d7 1a 57 26 a6 e8 1c 53 |>0n..n.Q..W&...S| 00000040 ee e2 42 9d 19 9a 9f 6f 4b 2a de e6 50 b4 71 0c |..B....oK*..P.q.| 00000050 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................| * 00001000 > 5. Finally, which frequency setting is the factory default one 300MHz And RB912: system type : Atheros AR9342 rev 3 machine : Mikrotik RouterBOARD 912UAG-2HPnD processor : 0 cpu model : MIPS 74Kc V4.12 BogoMIPS : 299.82 wait instruction : yes microsecond timers : yes tlb_entries : 32 extra interrupt vector : yes hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb] isa : mips1 mips2 mips32r1 mips32r2 ASEs implemented : mips16 dsp dsp2 shadow register sets : 1 kscratch registers : 0 package : 0 core : 0 VCED exceptions : not available VCEI exceptions : not available dmesg | grep board= [ 0.000000] Kernel command line: no-uart parts=1 boot_part_size=4194304 gpio=130607 HZ=300000000 mem=64M kmac=4C:5E:0C:E6:15:3D board=711Gr100 Board=711Gr100 ver=3.33 hw_opt=00200205 boot=1 mlc=10 console=ttyS0,115200 rootfstype=yaffs noinitrd dmesg | grep Clocks [ 0.000000] Clocks: CPU:600.000MHz, DDR:350.000MHz, AHB:350.000MHz, Ref:25.000MHz Clocks: 400 500 550 600 650 700 750 (Via webfig) root@WiFi-Spot:/etc/wifispot/req# hexdump -C /dev/mtd3 00000000 74 66 6f 53 d5 3c 09 86 00 04 00 0c 00 00 00 18 |tfoS.<..........| 00000010 00 04 00 11 00 00 00 00 00 04 00 0a 00 00 00 02 |................| 00000020 00 04 00 01 00 00 00 00 00 04 00 02 00 00 00 02 |................| 00000030 00 04 00 03 00 00 00 01 00 04 00 04 00 00 00 00 |................| 00000040 00 04 00 05 00 00 00 00 00 04 00 07 00 00 00 00 |................| 00000050 00 04 00 09 00 00 00 00 00 04 00 0f 00 00 00 00 |................| 00000060 00 04 00 15 00 00 00 00 00 04 00 17 00 00 00 00 |................| 00000070 00 04 00 0d 00 00 00 00 00 04 00 06 33 2e 33 33 |............3.33| 00000080 00 08 00 0b 00 00 00 00 00 01 64 10 00 04 00 1d |..........d.....| 00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00001000 Default is 600MHz -- Pozdrawiam, Cezary Jackiewicz _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev