*** tpb has joined #tomu | 00:00 | |
*** NoGodDamnIdea has quit IRC | 00:30 | |
xobs | True, but right now the primary language is C. | 01:28 |
---|---|---|
*** tomu-ci has joined #tomu | 02:50 | |
tomu-ci | [tomu-hardware] mithro pushed 2 new commits to master: https://git.io/vNOPH | 02:50 |
tomu-ci | tomu-hardware/master 5cfa88b Kaspar Emanuel: Make compatible with kitspace.org | 02:50 |
tomu-ci | tomu-hardware/master 529d66d Tim Ansell: Merge pull request #23 from kitspace-forks/master... | 02:50 |
*** tomu-ci has left #tomu | 02:50 | |
buZz | i'm still not sure what i can even do with tomu :P | 04:16 |
buZz | is there any usecase? | 04:16 |
xobs | The most compelling usecase is as a U2F token for one-touch authentication. Like a Yubikey. | 04:28 |
xobs | But I kind of want to use it as a Vol+ / Vol- dongle as a two-button keyboard :D | 04:28 |
buZz | oh ok, but wouldnt a USB flashable U2F token only introduce more attack vectors? | 04:31 |
xobs | It could. It requires physical interaction to flash, unless you get code execution in Chopstx. | 04:34 |
buZz | hmhm | 04:41 |
buZz | i'll stick to my yubikey then :P | 04:41 |
*** kyaputen has quit IRC | 07:36 | |
*** kyaputen has joined #tomu | 07:36 | |
duncan^ | Seems somewhat naive to suggest Yubikey is better in terms of attack surface. I think it depends on the application. | 07:46 |
duncan^ | Also recall the ROCA escapade and the problem where one could trivially bypass the pin | 07:47 |
duncan^ | Maybe it depends if we can dump flash from Tomu with a programmer. I certainly hope not. | 07:48 |
*** kyaputen has quit IRC | 07:56 | |
*** kyaputen has joined #tomu | 07:56 | |
ar | well, tomu doesn't have a proper SE, right? | 07:57 |
xobs | Tomu has an Arm Cortex M0+ in it, which I guess has the benefit of not being susceptible to Spectre / Meltdown. | 08:17 |
xobs | Kidding aside, no, Tomu doesn't have a proper SE. Nor even any sort of memory protection. | 08:28 |
xobs | You can dump the flash over SWD. You can disable SWD access by clearing address 0x0FE03FFC in flash. | 08:37 |
*** nrossi has joined #tomu | 08:58 | |
duncan^ | I thought there is a read-protect bit or something | 09:37 |
duncan^ | on some variants of Cortex-M ... | 09:37 |
xobs | I know the KL02 (also an M0+) has the ability to protect areas of memory when not in Supervisor mode. | 10:04 |
xobs | The EFM32HG doesn't have an equivalent. Nor does it have a full-fledged MMU. | 10:04 |
kyaputen | xobs: disabling swd is not enough ? Since flash is embedded it should work no? I mean even if you have physical access | 11:47 |
*** kuldeep has joined #tomu | 12:39 | |
kuldeep | Hello everyone | 12:39 |
kuldeep | i saw the campaign on CS. You guys are playing with USB. | 12:41 |
kuldeep | i actually maintain the unicore-mx USB host and device stack for ARM microcontroller (that i wrote :). https://github.com/insane-adding-machines/unicore-mx (this include EFM32 support -- afair EFM32HG have a DWC OTG device only) | 12:42 |
tpb | Title: GitHub - insane-adding-machines/unicore-mx: UniCore-MX | Universal Core for ARM Cortex-M0/0+/3/4/7/X (at github.com) | 12:42 |
kuldeep | unicore-mx is a fork of libopencm3 (both under lgpl3 licence and community maintained). | 12:45 |
kuldeep | we have pre written examples (only EFM32LG atm) https://github.com/insane-adding-machines/unicore-mx-examples | 12:46 |
tpb | Title: GitHub - insane-adding-machines/unicore-mx-examples: Simple example projects showing how to use unicore-mx. (at github.com) | 12:46 |
kuldeep | ah, esden is already here o/ | 12:47 |
xobs | kuldeep: Cool! That looks like a lot of nice code. | 13:27 |
xobs | Do all projects have a flash offset of 0, or do some of the platforms have a different offset for a bootloader to live at the start? | 13:28 |
kuldeep | xobs, on st the memory bootloader rom is mapped on POR at 0. | 13:31 |
kuldeep | (if BOOT0 is asserted) | 13:32 |
kuldeep | xobs, btw, there is bootloader (DFU) but you have to port it to EFM32HG. most of the code is generic, only some backend porting work need to be done. | 13:33 |
kuldeep | *bootloader (DFU) example | 13:34 |
xobs | kuldeep: Sounds intriguing. Where is it? | 13:37 |
kuldeep | xobs, https://github.com/insane-adding-machines/unicore-mx-examples/blob/master/examples/common/usb_dfu/usbdfu.c (generic code -- little bit of stm32 code is still there) + https://github.com/insane-adding-machines/unicore-mx-examples/blob/master/examples/stm32/f1/stm32-h103/usb_dfu/usbdfu-target.c (backend target code) | 13:42 |
tpb | Title: unicore-mx-examples/usbdfu.c at master · insane-adding-machines/unicore-mx-examples · GitHub (at github.com) | 13:42 |
*** NoGodDamnIdea has joined #tomu | 14:27 | |
*** NoGodDamnIdea has quit IRC | 15:08 | |
*** NoGodDamnIdea has joined #tomu | 15:16 | |
*** NoGodDamnIdea has quit IRC | 15:26 | |
*** dtornabene has joined #tomu | 16:13 | |
*** NoGodDamnIdea has joined #tomu | 17:21 | |
*** nrossi has quit IRC | 18:07 | |
*** shenki has joined #tomu | 19:22 | |
*** NoGodDamnIdea has quit IRC | 22:04 | |
*** asjklh75 has joined #tomu | 22:18 | |
*** dzonim has joined #tomu | 22:44 | |
*** dtornabene has quit IRC | 23:19 | |
*** ajames has joined #tomu | 23:55 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!