*** tpb has joined #tomu | 00:00 | |
xobs | mithro: did you have any? | 00:22 |
---|---|---|
xobs | My plan is to have everything live on a FAT12 partition that starts at offset 262144 (256kB) from the SPI image. | 01:11 |
xobs | If you're booting from the DFU bootloader, it'll treat that region as raw disk and either boot that RISC-V image or warmboot the FPGA. | 01:12 |
xobs | If you're booting from the MSC bootloader, it'll ensure that it's FAT12-formatted, and then present itself as a MSC disk. Once you eject/unmount the disk (or touch a particular file, maybe?), it'll defragment the SPI FAT partition and move /boot.X to offset 0x41000 (FAT12 sector 8). | 01:14 |
*** futarisIRCcloud has quit IRC | 01:32 | |
mithro | xobs: I did have some comments... | 01:39 |
mithro | xobs: Is this the right document? https://docs.google.com/spreadsheets/d/1RumoVlaTyYCGBCcCKFjigD4A6gUNujb8Fpnj_O5XAS8/edit#gid=0 | 01:42 |
tpb | Title: Google Sheets - create and edit spreadsheets online, for free. (at docs.google.com) | 01:42 |
xobs | mithro: that's the one I'm working on, yes. | 01:45 |
mithro | xobs: See the write protect sheet? | 01:47 |
xobs | mithro: I do, yes. | 01:47 |
mithro | xobs: I think that was for the hacker fomu? | 01:49 |
xobs | My plan for protection was to do away with it for the initial release. Basically, have the DFU "backup" bootloader not change those bits at all. | 01:52 |
xobs | The "MSC" bootloader, which is what lives at offset 0x1a000, will set those bits as appropriate prior to jumping to user code. | 01:52 |
xobs | Or, alternately, it will install an update itself. | 01:52 |
xobs | The theory being that the DFU bootloader is a sort of "MVP". | 01:53 |
mithro | You didn't list your SPI flash part in your schematic for the evt board? | 01:54 |
xobs | One thing I haven't seen yet -- and maybe I should look today -- is whether it's possible to reset those bits without a power cycle. I suspect it is, in which case maybe I'll protect the first 128k. | 01:55 |
xobs | The EVT SPI flash is a W25Q128JVSIM -- you're right, maybe I should have made that the KiCad "Value" rather than the KiCad "MPN". | 01:56 |
xobs | I updated the EVT schematic with the part number. | 02:02 |
mithro | xobs: For some reason I thought the Hacker Fomu had less SPI flash than the production fomu? | 02:06 |
xobs | It does -- 1 MB vs 2 MB | 02:06 |
mithro | That is what I thought, but the schematic for the hacker says I loaded the Adesto AT25SF161 ? | 02:10 |
xobs | And that's the manual that I have in "reference", too. Well cool. | 02:11 |
mithro | xobs: That makes things easier... | 02:12 |
mithro | Undersell, over deliver I guess? | 02:13 |
mithro | What are you using on the production boards? | 02:14 |
xobs | There are two options. I believe they're using GD25Q16CEIGR but MX25R1635FZUIH0 is also pin-compatible. | 02:15 |
mithro | xobs: are they config options compatible? | 02:31 |
xobs | mithro: a lot of the configuration options are unique per chip. We'll need to read the ID fields to figure out how to configure the parts. | 02:35 |
mithro | xobs: okay | 02:35 |
mithro | xobs: Do you know how much space FAT12 takes up? | 02:41 |
*** futarisIRCcloud has joined #tomu | 02:43 | |
xobs | mithro: I have a mkfs.vfat incantation that uses 1536 bytes. | 02:46 |
xobs | `dd if=/dev/zero of=dt.img bs=1024 count=128 && mkfs.vfat -R 1 -f 1 -F 12 -h 0 -r 16 dt.img && mount -oloop dt.img /mnt && perl -e 'print(chr(0x9a)) while(1)' | dd of=/mnt/file.txt bs=1 ; umount /mnt ; hexdump -C dt.img` | 02:47 |
*** emeb has left #tomu | 03:21 | |
*** rohitksingh_work has joined #tomu | 04:14 | |
xobs | Mass production of the PCBA starts next week! https://twitter.com/tomu_im/status/1130708927635582976 | 05:45 |
*** futarisIRCcloud has quit IRC | 06:52 | |
*** futarisIRCcloud has joined #tomu | 07:34 | |
*** futarisIRCcloud has quit IRC | 09:52 | |
*** AmosSam has left #tomu | 11:18 | |
*** futarisIRCcloud has joined #tomu | 11:18 | |
*** AmosSam has joined #tomu | 11:24 | |
*** rohitksingh_work has quit IRC | 12:52 | |
*** ssb has joined #tomu | 13:18 | |
*** AmosSam has left #tomu | 13:19 | |
*** AmosSam has joined #tomu | 13:20 | |
*** rohitksingh has joined #tomu | 13:43 | |
ssb | hi! Comparison table at the main Fomu page lists "None" GPIOs. But, if I'm reading the schematics correctly, the four input pads are connected to FPGA directly and can be configured as general I/O, right? | 13:51 |
*** dwg- has joined #tomu | 14:06 | |
*** coderobe5 has joined #tomu | 14:07 | |
*** coderobe has quit IRC | 14:07 | |
*** coderobe5 is now known as coderobe | 14:07 | |
*** coderobe is now known as Guest74578 | 14:08 | |
*** asante10111 has joined #tomu | 14:08 | |
*** TheJJ has joined #tomu | 14:09 | |
*** tnt_ has joined #tomu | 14:10 | |
*** Guest74578 has quit IRC | 14:10 | |
*** coderobe has joined #tomu | 14:11 | |
*** TheJJ_ has quit IRC | 14:14 | |
*** tnt has quit IRC | 14:14 | |
*** asante has quit IRC | 14:14 | |
*** im-tomu has quit IRC | 14:14 | |
*** dwg has quit IRC | 14:14 | |
*** kyaputen has quit IRC | 14:14 | |
*** dwg- is now known as dwg | 14:14 | |
*** emeb has joined #tomu | 14:14 | |
*** kyaputen has joined #tomu | 14:15 | |
*** earthnative has quit IRC | 14:28 | |
*** rohitksingh has quit IRC | 14:32 | |
*** rohitksingh has joined #tomu | 14:49 | |
*** tnt_ is now known as tnt | 14:50 | |
*** alexhw has joined #tomu | 15:14 | |
*** rohitksingh has quit IRC | 15:22 | |
*** futarisIRCcloud has quit IRC | 15:27 | |
*** rohitksingh has joined #tomu | 15:32 | |
*** earthnative has joined #tomu | 16:00 | |
*** rohitksingh has quit IRC | 16:08 | |
*** im-tomu has joined #tomu | 16:14 | |
*** rohitksingh has joined #tomu | 17:05 | |
*** rohitksingh has quit IRC | 17:53 | |
*** rohitksingh has joined #tomu | 17:54 | |
*** rohitksingh has quit IRC | 18:47 | |
*** Vercas has quit IRC | 19:17 | |
*** Vercas has joined #tomu | 19:21 | |
*** Asara has joined #tomu | 20:57 | |
*** dwg has quit IRC | 22:12 | |
*** dwg has joined #tomu | 22:12 | |
mithro | ssb: You are correct | 23:06 |
mithro | ssb: I believe the Fomu Production and Fomu Hacker boards are slightly different in how those pads are connected though... | 23:08 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!