In any case I've been playing with the VoCore2, here is some of the things I'm working on:
OpenWrt Chaos Calmer
My github repo is here
If you want to give it a try you need to switch to the VoCore2 branch first, there are two ways to do this depending on how you download it:
If you use
- Code: Select all
git clone https://github.com/noblepepper/openwrt-chaoscalmer
- Code: Select all
git checkout VoCore2
If you download the zip file from the webpage, change the branch drop down to VoCore2 before you download it, the file will be named openwrt-chaoscalmer-VoCore2.zip
This adds the MTK proprietary driver to Chaos Calmer, thanks to MediaTek-Labs/linkit-smart-7688-feed. All that needed to be done was changes so it will recognize any mt7628 target instead of only the LinkIt7688.
There a two additions to the normal Chaos Calmer, you can find both under Ralink SDK in make menuconfig. The first is the the WiFi driver which gives the same performance as the image that came on the VoCore2. You do need a uart or ethernet connection to the VoCore2 to activate the WiFi, either delete the
- Code: Select all
option disabled 1
- Code: Select all
root@OpenWrt:/# mt76x8_pinmux
mt76x8_pinmux set <group> <function>
mt76x8_pinmux get
root@OpenWrt:/# mt76x8_pinmux get
Group i2c - i2c [gpio]
Group uart0 - [uart] gpio
Group uart1 - [uart] gpio
Group uart2 - uart [gpio] pwm
Group pwm0 - pwm [gpio]
Group pwm1 - pwm [gpio]
Group refclk - refclk [gpio]
Group spi_s - spi_s [gpio]
Group spi_cs1 - [spi_cs1] gpio refclk
Group i2s - [i2s] gpio pcm
Group ephy - [ephy] gpio
Group wled - wled [gpio]
root@OpenWrt:/# mt76x8_pinmux set uart2 uart
set pinmux uart2 -> uart
root@OpenWrt:/# mt76x8_pinmux get
Group i2c - i2c [gpio]
Group uart0 - [uart] gpio
Group uart1 - [uart] gpio
Group uart2 - [uart] gpio pwm
Group pwm0 - pwm [gpio]
Group pwm1 - pwm [gpio]
Group refclk - refclk [gpio]
Group spi_s - spi_s [gpio]
Group spi_cs1 - [spi_cs1] gpio refclk
Group i2s - [i2s] gpio pcm
Group ephy - [ephy] gpio
Group wled - wled [gpio]
root@OpenWrt:/#
A better U-boot
My github repo is here
The same warnings apply as with replacing the bootloader anytime, you can end up with a brick easily. You should have a way to write the flash chip directly before you try.
It has a web page upload option and USB storage upload option, you can activate either with the uboot command line or with a push button on the WDTRST input. It also can change baudrate with
- Code: Select all
setenv baudrate 460800
saveenv