new build is ready
not so much changes
can highlight only new init info display with details about soc and all frequencies (Padavan's style)
root@MQ-WITI:/# dmesg |head -n 4
[ 0.000000] Linux version 3.10.60-r29 (sta@x360-a8) (gcc version 4.8.5 (OpenWrt/Linaro GCC 4.8-2015.06 WITI-16012602) ) #49 SMP Tue Feb 2 21:00:07 MSK 2016
[ 0.000000] MediaTek SoC: MT7621A, RevID: 0103, RAM: DDR3, XTAL: 40MHz
[ 0.000000] CPU/OCP/SYS frequency: 900/300/225 MHz
and prepared uboot frequency override routine (to build a fw with overclocked freqs without requirement of uboot reflashing)
also ive added a workaround for wps button hotplug
mkdir /etc/hotplug.d/button and put and button handler script into it
short press will send
"$ACTION" == "click", long press (>2s) will send
"$ACTION" == "hold"
"wps", no other button vars are supported (like
$SEEN or pressed/released actions)
ive tried to backport full OF/devicetree implementation to make gpio-button-hotplug working, but many parts of lowlevel init code in the sdk kernel are very different than in the stock 3.10 kernel, so ive successfully injected dtb, rewritten some init functions, but stucked at the of_platform_populate which gives me kernel panic while walking device tree. Probably will come back to it later, current implementation is based on proprietary mediatek gpio driver.