-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gnuk port on tomu (experimental) #35
Conversation
I think this is a great idea, and demonstrates yet another reason why this repo name should change. We have I'll merge this for now, so that people know it's a thing that's happening. We should be sure to update the submodule version when it's more complete. |
So I tried flashing it on a spare tomu I had lying around (flashing the gnuk.bin), with the result that absolutely nothing happens when plugging the tomu in (ie. nothing in Now I wonder if I did anything wrong, or if there's something I could do to help debugging the problem. My knowlegde of low level / embedded programming and debugging is rather limited, but I'm willing to learn – and I have usb2uart devices, an st-link v2 clone, a hydrabus and a few stm32f103 boards lying around, if any one of those would be used for debugging. |
@lsfxz Did you update the bootloader before trying to flash the U2F firmware? |
Not recently, but from my understanding the current gnuk.bin (not U2F, btw – U2F worked fine) is too large to be flashed next to toboot anyway (which seemed to still be the case as flashing via dfu didn't work for lack of space). |
@lsfxz Oh, I don't know anything about the gnuk firmware -- sorry. |
@lsfxz not sure if this issue is the right place for ongoing getting-started discussion, but here's my (unsuccessful so far) attempt to flash a working gnuk to a tomu. First of all, note that as of Ubuntu 18.04, building tomu is broken: im-tomu/tomu-quickstart#13. The symptom is that the build works, but the image doesn't do anything useful when you flash to the device -- just like what you saw. I tried spinning up an Ubuntu 16.04 LTS image on a virtual server and building:
I was hopeful this would do something, but I saw nothing in |
Rats: apparently I was running the fixed newlib already on 18.04. So that wasn't the problem, and the 16.04 expedition was a wild goose chase. I was able to flash my tomu back to toboot, so I do know that my stlink-v2/openocd setup is working correctly. |
I'm on Arch with rather recent versions of arm-none-eabi-gcc, -binutils and -newlib, so yeah, that's probably not the issue (in my case, at least) – but with comparable "symptoms" it could have been, so the goose-chasing is understandable ;) |
I can confirm this. |
This is still in early dev stage.
this should be possible if the hw aes driver is implemented.
TODO: