Hello Everyone,
I'm joining the discussion because I also encountered some problems with this board, and with OpenWRT as well.
Just to give you a short summary on my use case:
When I first heard about VoCore, I got pretty enthusiastic about it, and got the idea of a homebrew project in which I would integrate it into the housing of a 4 port USB-serial adapter, and thus convert it to a low-power, network-enabled remote router-administration solution.
Then I asked a friend of mine, whether he knows any alternatives to VoCore (which will only ship October 2014), and he showed me this board.
Currently I have a board, with flashed u-boot (most likely) from "Hame MPR-A1", with a 8 MB SPI flash chip, and the default amount of ram. (I have plans to upgrade it to 32 MB of RAM.)
I have currently two build environments for OpenWRT:
A) one with the latest trunk version, with kernel 3.10.36
B) one with the revision 38333 of the trunk (as originally suggested by JiapengLi's guide) with kernel version 3.10.13
Right now I'm having some problems with flashing firmware images via tftp, from the boot loader:
Bytes transferred = 3670020 (380004 hex)
NetBootFileXferSize= 00380004
raspi_erase_write: offs:50000, count:380004
raspi_erase: offs:50000 len:380000
........................................................
raspi_write: to:50000 len:380000
........................................................
raspi_read: from:50000 len:10000
.blocksize write incorrect block#=0!
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
.Bad Magic Number,FFFFFFFF
What I can do now, is trying to boot the uImage firmware image via tftp-boot (so without flashing), and enter failsafe mode during the boot.
At this point, as it turned out, both build environments produced flawed images:
- With the images built in "A", I encountered the same problem as fgomes mentioned in post #112 (2014-05-09 00:56:59). When booting the image, it will hang after printing the line:
[ 0.220000] TCP: Hash tables configured (established 512 bind 512)
[ 0.230000] TCP: reno registered
[ 0.240000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.250000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.260000] NET: Registered protocol family 1
====================================
[ 0.160000] TCP: reno registered
[ 0.160000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.190000] NET: Registered protocol family 1
[ 0.200000] rt-timer 10000100.timer: maximum frequncy is 7324Hz
[ 0.240000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.260000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
So my guess would be, that something might be wrong about the rt-clock, or something in the vicinity.
- The images compiled in "B" do boot, but I can't really put them to any use, because the TCP checksum offload seems to be broken, so any TCP and most likely UDP packets too are generated by the board are discarded at the other end of the communication channel, because their checksums are incorrect.
IP, and ICMP work fine, the board responds to pings, but everything above TCP and UDP is broken.*
There is a patch for this, but I can only apply it to 3.10.36, because the file drivers/net/ethernet/ralink/ralink_soc_eth.c was modified so heavily between 3.10.13 and 3.10.36.
http://patchwork.openwrt.org/patch/4655/
So basically I'm stuck with two sets of firmware images, neither of which actually work.
*: This is a big problem, because in order to recover the flash (see the above bad magic number error), I should be able to somehow transfer either the uImage, or the sysupgrade.bin to the board, to do a sysupgrade, or simply dd the uImage to the appropriate mtd partition. (TFTP and netcat won't work because of the invalid checksums.)
My future plans include generating images for 8 MBs of flash chips, because the current images have a hardcoded kernel command line, and so only 4 MBs of flash are usable. (AFAIK, I will need to modify the HLKRM04.dts and the target/linux/ramips/image/Makefile files for this.)
(Last edited by wowbaggerHU on 19 Jun 2014, 15:18)