Sunday, 2019-09-15

*** tpb has joined #tomu00:00
*** xkapastel has quit IRC00:01
*** ademski has quit IRC00:04
mithroCarlFK: oh - your doing the Tomu workshop? I totally forgot about that...00:05
mithroYou should have said I would have paid more attention :-P00:05
CarlFKLOL00:07
CarlFKmithro: me, bob, +2 showed up00:08
mithroCarlFK: Once you have the bootloader onto the device, it should be much easier00:08
*** ademski has joined #tomu00:18
*** ademski has quit IRC00:30
*** js is now known as js_00:51
*** futarisIRCcloud has joined #tomu01:12
*** emeb has quit IRC01:14
xobsmithro: To update, you ought to be able to install https://github.com/im-tomu/foboot/blob/master/releases/v1.9.1/hacker-top-installable.dfu?raw=true01:20
mithroxobs: With dfu-util?01:33
xobsmithro: Yes.01:39
xobsMinimally tested, but so far it's Worked For Me.01:39
xobs(So more testing is welcome!)01:39
CarlFKfomu-pi - "The root filesystem is mounted readonly, to prevent card corruption when pulling power."01:53
CarlFKhow do I make it rw so I can install stuff?01:53
xobsCarlFK: sudo mount -oremount,rw /01:56
*** js has joined #tomu01:58
CarlFKxobs: "mount /dev/mmcblk0p2 is already mounted or / busy01:59
xobsCarlFK: Did you add "-oremount,rw"?02:00
CarlFKyep02:05
xobsI ask because I'm only getting that message if I omit "-oremount,rw": https://gist.github.com/xobs/cbc74c3bf44d8c1d103bc6bc82871c9b02:06
tpbTitle: fomu-jig remount ยท GitHub (at gist.github.com)02:06
CarlFKhuh - rebooted, seems to work now02:09
*** js has quit IRC02:13
*** js has joined #tomu02:13
*** js has quit IRC02:24
*** js has joined #tomu02:24
*** js has quit IRC02:26
*** js has joined #tomu02:26
*** js has quit IRC02:34
*** ademski has joined #tomu02:53
*** tpb has joined #tomu03:49
CarlFKI found the problem with my jig:03:50
CarlFKthe little shoulders? meant to keep the receptacles from slipping into the hole..03:52
CarlFKwere bumping into each other03:52
CarlFKso miso mosi were shorted03:52
CarlFKmaybe mosi and reset too03:53
CarlFKhow long shoudl this take?  fomu-flash -w hacker-top-multiboot.bin03:58
CarlFKProgramming @ 003600 / 01973a - 2 or 3 min easy03:59
*** cdmatter has quit IRC04:02
*** cdmatter has joined #tomu04:02
*** CarlFK1 has joined #tomu04:06
*** CarlFK has quit IRC04:08
CarlFK1I have 8 of these: Programming @ 006700 / 01973aerror: write-enable latch (WEL) not set, write will probably fail04:08
CarlFK1and I think it's been over 10 min sense it started programming04:09
*** CarlFK1 is now known as CarlFK04:22
CarlFK30 min later: https://dpaste.de/RfEO04:24
tpbTitle: dpaste/RfEO (Plain Code) (at dpaste.de)04:24
xobsCarlFK: looks like it's still floating and not wired correctly?04:26
xobsParticularly because the jedec id changes.04:36
*** ademski has quit IRC04:43
*** gio has quit IRC04:48
*** John_K has quit IRC04:48
*** guan has quit IRC04:48
*** dos1 has quit IRC04:48
*** part has quit IRC04:48
*** kcnickerson____ has quit IRC04:48
*** kcnickerson____ has joined #tomu04:48
*** dos11 has joined #tomu04:48
*** part has joined #tomu04:49
*** guan has joined #tomu04:49
*** gio has joined #tomu04:49
*** dos11 is now known as dos104:54
*** John_K has joined #tomu04:54
CarlFKwaa!!! im getting closer...05:33
CarlFKMemory model: AT25SF161 (86)05:33
CarlFKhttps://dpaste.de/RwWt05:33
tpbTitle: dpaste/RwWt (Plain Code) (at dpaste.de)05:33
CarlFKhmm, up-arrow enter and it's back:  Memory model: AT25SF161 (86)05:34
CarlFKwoo!!! I flashed a boot loader!05:38
CarlFK[64753.638717] usb 3-3: Product: Fomu Hacker running DFU Bootloader v1.9.105:39
*** CarlFK1 has joined #tomu05:44
*** CarlFK has quit IRC05:47
*** CarlFK1 is now known as CarlFK05:55
xobsYay!05:55
CarlFKxobs: this looks buggy: flash, reset, fomu-flash -i shows all ff's, fomu-flash -i again looks legit05:55
CarlFKsame thing, without the flash: https://dpaste.de/zm2505:57
tpbTitle: dpaste/zm25 (Plain Code) (at dpaste.de)05:57
CarlFKbut now that I put a piece of paper (cut up dollar bill because it is durable) between the pins, my jig works05:59
*** CarlFK1 has joined #tomu06:05
CarlFK1xobs: (again because my client keep dropping and this didn't get logged)   this looks buggy: flash, reset, fomu-flash -i shows all ff's, fomu-flash -i again looks legit06:07
*** CarlFK has quit IRC06:07
CarlFK1(huh, log bot n stuff is just slow...)06:07
*** futarisIRCcloud has joined #tomu06:08
*** count3rmeasure has joined #tomu06:39
*** kamil_r has joined #tomu06:52
xobsCarlFK1: I think there's an initialization issue that never got tracked down. The first time after boot might not work with some flash chips.06:56
CarlFK1xobs: k08:25
*** CarlFK1 has left #tomu08:26
*** CarlFK1 has quit IRC08:27
*** futarisIRCcloud has quit IRC08:28
*** kamil_r has quit IRC08:28
*** futarisIRCcloud has joined #tomu08:57
*** CarlFK has joined #tomu09:00
*** count3rmeasure has quit IRC09:10
felix_hmm, was it intended that fomu-flash is basically a reimplementation of maybe a half of flashrom?09:39
xobsfelix_: I started out using flashrom, but found it inadequate.09:40
xobsFor example, it only supports two-wire SPI.09:41
xobsIt also doesn't have a bit-banged GPIO driver, and I ran into a bug where the Fedora Raspberry Pi kernel driver was driving CS/ high in between packets, so it just flat-out didn't work.09:41
felix_ah, ok09:41
xobsAlso, MOSI and MISO switch which pins do what depending on whether you're talking to the FPGA or the SPI flash.  So we definitely needed to bit-bang it somewhat.09:42
xobsThere's also a dance you need to do by putting the FPGA in reset, or the SPI flash into reset, depending on what you're talking to.09:42
felix_this sounds indeed very useful09:43
*** rohitksingh has quit IRC10:28
*** kamil_r has joined #tomu10:30
*** kamil_r has quit IRC11:16
*** kamil_r has joined #tomu11:44
*** kamil_r has quit IRC12:01
*** xkapastel has joined #tomu12:21
*** futarisIRCcloud has quit IRC12:38
*** Vercas has quit IRC13:26
*** Vercas has joined #tomu13:27
*** js has quit IRC14:17
*** js has joined #tomu14:18
*** js has quit IRC14:22
*** js has joined #tomu14:29
*** js has quit IRC14:34
*** GNUtoo has joined #tomu14:38
*** js has joined #tomu14:40
*** emeb has joined #tomu15:09
*** js has quit IRC15:23
*** js has joined #tomu15:54
*** acathla has quit IRC16:39
*** acathla has joined #tomu17:32
*** rohitksingh has joined #tomu17:53
*** rohitksingh has quit IRC18:09
*** rohitksingh has joined #tomu18:12
*** acathla has quit IRC19:37
*** acathla has joined #tomu19:37
*** futarisIRCcloud has joined #tomu20:53
*** xkapastel has quit IRC20:59
*** cedric has quit IRC21:29
*** cedric has joined #tomu21:29
*** cedric has joined #tomu21:29
*** techman83 has quit IRC22:00
*** techman83 has joined #tomu22:01
*** rohitksingh has quit IRC22:46
*** rohitksingh has joined #tomu22:53
*** rohitksingh has quit IRC23:06
*** rohitksingh has joined #tomu23:10
*** GNUtoo has quit IRC23:40
*** emeb has quit IRC23:45
*** xkapastel has joined #tomu23:45
*** ademski has joined #tomu23:46

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!