Sunday, 2019-02-17

*** tpb has joined #tomu00:00
xobsAmosSam: bss is usually placed above or below the data section, except instead of copying values into it it's zeroed out. Values go there if their default value is 0.02:03
AmosSamxobs: thx, i get it now06:43
*** gio has quit IRC07:45
*** gio has joined #tomu08:21
*** jayvee has quit IRC08:27
*** jayvee has joined #tomu08:33
*** gio has joined #tomu09:33
*** jelle has joined #tomu11:30
*** xkapastel has joined #tomu11:39
jelleI can't figure out how to permanently flash something to the tomu11:41
tpbTitle: tomu-bootloader/ at master · im-tomu/tomu-bootloader · GitHub (at
xobsOh, sorry, wrong section.  You want the "flags" section at
tpbTitle: tomu-bootloader/ at master · im-tomu/tomu-bootloader · GitHub (at
xobsSpecifically, you want it to autorun, so set the TOBOOT_CONFIG_FLAG_AUTORUN_MASK value11:43
xobsThere's a macro that takes care of this for you.  An example is at
tpbTitle: tomu-quickstart/opticspy.c at master · im-tomu/tomu-quickstart · GitHub (at
jellexobs: I presume I can still reflash it after that?11:47
xobsjelle: You can, as long as you don't *also* set the "LOCK ENTRY" flag.11:48
xobsTo reflash, you'd need to use tweezers to short out the pins, as described at
tpbTitle: GitHub - im-tomu/tomu-bootloader: Bootloader for the EFM32HG Tomu Board (at
xobsOr you could have your program write the magic value and reboot.11:49
xobsThe updater actually does that, so you could use that as a reference example:
tpbTitle: tomu-bootloader/main.c at master · im-tomu/tomu-bootloader · GitHub (at
xobsIt's basically "toboot_runtime.magic = TOBOOT_FORCE_ENTRY_MAGIC; NVIC_SystemReset();" to force a reboot into Toboot, to allow for updating.11:52
olasdhi folks, just dropping out of lurk mode to say thanks for your work on fomu (and also to say I've managed to flash the hacker edition I got from tumbleweed at FOSDEM by replicating gio's method of using hook clips)11:52
jellexobs: it worked, thanks!11:53
olasdnow I "just" need more time to get (back) up to scratch on FPGA things11:54
gioolasd: Wonderful!13:08
olasdI also need to try and do the flash procedure with a vanilla Debian arm64 image on the rpi3 now that I know it works with Raspbian13:12
olasd(I tried that initially without success, but after I changed images I noticed my hook clips were poking through the tape and shorting via the USB pads, oops :D)13:13
*** gio has quit IRC15:17
*** AmosSam has left #tomu15:29
*** AmosSam has joined #tomu15:34
*** gio has joined #tomu15:52
*** gio has quit IRC15:52
*** gio has joined #tomu15:56
*** xkapastel has quit IRC15:58
*** AmosSam has left #tomu16:39
*** AmosSam has joined #tomu16:39
*** AmosSam has quit IRC17:24
*** awe00 has quit IRC20:21
*** awe00 has joined #tomu20:36
*** AmosSam has joined #tomu22:08
*** AmosSam has left #tomu22:08
*** AmosSam has joined #tomu22:08
*** xkapastel has joined #tomu23:13

Generated by 2.13.1 by Marius Gedminas - find it at!