*** tpb has joined #timvideos | 00:00 | |
*** Bertl_zZ is now known as Bertl | 00:25 | |
*** Bertl is now known as Bertl_oO | 01:07 | |
shenki | mithro: hello! | 01:25 |
---|---|---|
mithro | Hello! | 01:26 |
mithro | I have something you'll might like | 01:26 |
shenki | mithro: oh? | 01:27 |
mithro | I got the JTAG debug interface for the or1k working. You can attach gdb to the softcpu in the FPGA and do all your normal gdb things! | 01:28 |
shenki | mithro: oh swet | 01:28 |
shenki | mithro: oh sweet | 01:28 |
mithro | Should make debugging the random C code lock ups much easier | 01:29 |
shenki | yeah, for sure | 01:30 |
shenki | ok, so what are we working on today? | 01:30 |
mithro | And your porting stuff | 01:30 |
shenki | get the minispartan support reviewd and merged? | 01:30 |
mithro | Yes | 01:30 |
mithro | And get it working for you | 01:31 |
mithro | I'm just walking to work now | 01:31 |
mithro | Need to get some food on the way | 01:32 |
mithro | So you should get yourself on an unmodified version of my branch and try building that. | 01:36 |
shenki | ok | 01:41 |
mithro | shenki: so I made it to work | 01:49 |
mithro | you want revision 454f688b5e2048899feca2b952c1172829edcb04 | 01:49 |
mithro | shenki: Oh, did you see that the reason I was confused about the reset was because it's the pipistrello that needs to be hard power cycled? | 01:50 |
shenki | ok im on that now | 01:50 |
shenki | i should have checked before moving. oh well | 01:50 |
shenki | mithro: ah ok | 01:51 |
shenki | mithro: were you testing on a pipstrello? | 01:51 |
mithro | shenki: I've been testing on both | 01:51 |
mithro | the pipistrello is by the m-labs guys | 01:52 |
mithro | for atriq | 01:52 |
mithro | which is probably the most "advanced" user of MiSoC/Migen | 01:52 |
shenki | ok | 01:54 |
shenki | mithro: ok, your branch appears to work fine | 01:56 |
shenki | platform: minispar | 01:56 |
shenki | do we trim the name on purpose? | 01:57 |
mithro | shenki: I think they trim it to fit into a 64bit register or something? | 01:57 |
shenki | ok | 01:58 |
shenki | nice! | 01:58 |
shenki | so we can merge it in? | 01:59 |
shenki | gateware/hdmi: Hacks to make output work when pack_factor == 1 | 01:59 |
shenki | hrm, perhaps not | 01:59 |
mithro | shenki: I think we are going to want to create a "string table" type object in the future | 01:59 |
mithro | shenki: btw I assume you haven't gotten your Atlys back from my parents? | 01:59 |
mithro | shenki: Just a FYI, your will need to find your Atlys power supply and be very careful to not plug your Opsis power supply into your Atlys (otherwise it will let the magic smoke out) | 02:00 |
shenki | mithro: yeah, your mum dropped by yesterday | 02:02 |
mithro | shenki: oh cool! | 02:02 |
shenki | mithro: ok. polarity, or voltage difference? | 02:02 |
mithro | Voltage | 02:02 |
mithro | Opsis is 12V | 02:02 |
mithro | Atlys is 5V | 02:02 |
mithro | They have the same size barrel connector | 02:02 |
shenki | ok. it's easy for now, as i don't have a barrel connector suitable for the opsis | 02:03 |
mithro | shenki: fair enough | 02:03 |
shenki | so im using a ATX psu | 02:03 |
mithro | Yay! | 02:03 |
mithro | I'm still kicking myself for not also including a screw header | 02:03 |
shenki | i needed an atx psu for the ast2500 board, so it was on the table already | 02:03 |
shenki | interestingly the ast2500 bord uses the modern sata power connector for power | 02:04 |
shenki | screw header? so you can attach a bench power supply? | 02:04 |
mithro | shenki: so you can cut the barrel jack off any 12V supply and connect it :) | 02:05 |
shenki | yup | 02:05 |
shenki | oh well | 02:05 |
mithro | Think they just want to sell http://numato.com/dc-barrel-jack-adapter-for-power/ :P | 02:05 |
tpb | Title: DC Barrel Jack Adapter (for power) - Numato Lab (at numato.com) | 02:05 |
shenki | haha | 02:06 |
shenki | mithro: why did you decide not to put a power brick in the opsis crowdfunding project? | 02:06 |
mithro | shenki: Supplying power supplies internationally turns out to be surprisingly tricky | 02:07 |
mithro | Lots more regulations then you would have thought | 02:07 |
shenki | ok | 02:07 |
mithro | shenki: so, it sounds like you have it building / booting? | 02:13 |
mithro | shenki: Would be worth looking over https://github.com/timvideos/HDMI2USB-misoc-firmware/pull/249/files too | 02:15 |
tpb | Title: Adding the minispartan6+ board in a mostly working state by mithro · Pull Request #249 · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com) | 02:15 |
shenki | mithro: yeah, it's working | 02:15 |
shenki | mithro: im reading uart code now | 02:15 |
mithro | shenki: \o/ | 02:15 |
shenki | mithro: where does the ram mapping come from? | 02:17 |
shenki | mithro: it would be nice to put it at 0x2.... like we do for the other boards | 02:18 |
mithro | shenki: what do you mean? | 02:18 |
shenki | +RAM_ADDR = 0x40000000 | 02:18 |
shenki | mithro: i assume that mapping is something we control? | 02:18 |
mithro | We always put the off-chip RAM at 0x40000000 | 02:19 |
mithro | On the SLX45 chips, we put about 8k of "on chip ROM" at 0x20000000 | 02:19 |
shenki | oh, i see | 02:20 |
shenki | +TIMESPEC "TSise_sucks7" = FROM "GRPpix0_clk" TO "GRPsys_clk" TIG; | 02:23 |
shenki | +TIMESPEC "TSise_sucks8" = FROM "GRPsys_clk" TO "GRPpix0_clk" TIG; | 02:23 |
shenki | LD | 02:23 |
shenki | :D | 02:23 |
mithro | But the SLX25 doesn't have enough block ram to add that 8k | 02:25 |
mithro | shenki: so we put everything into DDR RAM | 02:26 |
mithro | shenki: we could actually probably just execute directly from the SPI flash | 02:26 |
cr1901_modern1 | TIMESPEC ISE Sucks, huh? | 02:26 |
shenki | mithro: not everything; the bios is still in the BRAM, right? | 02:27 |
mithro | Yes | 02:27 |
mithro | shenki: although apparently the BIOS can be stored in the flash too!? | 02:27 |
mithro | shenki: my opsis-timing branch actually gives that stuff better names / comments | 02:28 |
shenki | yeah, perhaps that will be handy if we put IP that needs more blockstreams | 02:28 |
shenki | s/blockstreams/BRAMs/ | 02:28 |
shenki | not sure where that word came from | 02:28 |
*** sb0 has quit IRC | 02:29 | |
mithro | shenki: I like having the BIOS in the gateware because it gives us output even when other things like SDRAM and SPI flash are borked | 02:30 |
mithro | shenki: If you take a look at https://github.com/timvideos/HDMI2USB-misoc-firmware/pull/226/files you can see me trying to understand (and make understandable) the clocking stuff | 02:31 |
tpb | Title: WIP: Fixing the timing propagation through PLL/DCM parts in ISE. by mithro · Pull Request #226 · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com) | 02:31 |
mithro | shenki: do you have enough to work on for about an hour? | 02:32 |
mithro | shenki: Oh, I rebased my or1k patches | 02:33 |
mithro | shenki: merged | 02:34 |
xfxf | mithro: delayed response again, dealing with super dodgy HFC at the moment (outages in my area at the moment) | 02:37 |
mithro | xfxf: I need someone to do some testing | 02:37 |
xfxf | okay, i can probably do that this evening assuming my internet isn't terrible | 02:38 |
xfxf | i got stuck at having to re-download the xilinx tools to progress any further | 02:38 |
mithro | xfxf: you should keep a local copy | 02:39 |
xfxf | once that's done i'll have a laptop dedicated to video stuff so testing new builds should be easy | 02:39 |
mithro | xfxf: actually - you should also test "make download-prebuilt" too | 02:39 |
xfxf | mithro: yeah, i sold the laptop i was using that had everything on it, this is a new one | 02:39 |
mithro | xfxf: Put it on a USB stick or something :) | 02:40 |
shenki | mithro: yeah, im hacking on uart stuff | 02:41 |
*** sb0 has joined #timvideos | 02:42 | |
mithro | shenki: okay | 02:42 |
mithro | shenki: You could look at https://github.com/timvideos/HDMI2USB-misoc-firmware/issues/250 too | 02:43 |
tpb | Title: Fix the framebuffer allocations · Issue #250 · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com) | 02:43 |
mithro | bblr | 02:43 |
mithro | shenki: we also really need to get the vizzini UART driver upstream | 02:53 |
shenki | yeah | 02:56 |
shenki | hrm, im confused | 03:19 |
shenki | from my reading uart_rxtx_write, whihc writes to the uart rx/tx register, should make a character appear out the uart | 03:19 |
shenki | needed moar delays | 03:29 |
mithro | shenki: working? | 03:51 |
shenki | mithro: yeah | 03:52 |
shenki | mithro: i was using the normal buffered/interrupt driven stuff around my byte-poking | 03:53 |
shenki | mithro: so it was overwriting the byte pokes | 03:53 |
mithro | opps | 03:53 |
mithro | shenki: what are you working on? | 03:53 |
shenki | not really sure why tho; i assumed that once a write had happened to the uart register it would appear out the port | 03:53 |
shenki | mithro: a tiny firmware that lets me understand the uart | 03:54 |
mithro | shenki: ahh | 03:54 |
shenki | so i can get characters out of the serial port in linux | 03:54 |
mithro | shenki: yeah, you could write a document on how it works :P | 03:56 |
shenki | :D | 04:02 |
mithro | shenki: you found the code in libbase right? | 04:09 |
shenki | mithro: yep | 04:09 |
shenki | mithro: reading the misoc | 04:13 |
shenki | mithro: how do you know which signals become registers? | 04:14 |
shenki | registers in the memory mapped value sense | 04:14 |
mithro | shenki: they inherit from CSR something | 04:14 |
mithro | shenki: See something like https://github.com/timvideos/HDMI2USB-misoc-firmware/blob/master/gateware/hdmi_in/datacapture.py#L6 | 04:15 |
tpb | Title: HDMI2USB-misoc-firmware/datacapture.py at master · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com) | 04:15 |
shenki | class UARTPHYSerial(Module, AutoCSR): | 04:15 |
shenki | AutoCSR sounds like it does magic? | 04:15 |
shenki | oh | 04:16 |
shenki | ok | 04:16 |
shenki | in the hdmi code it creates csr objects | 04:16 |
mithro | https://github.com/timvideos/misoc/blob/legacy/misoclib/com/uart/phy/serial.py#L101 | 04:16 |
tpb | Title: misoc/serial.py at legacy · timvideos/misoc · GitHub (at github.com) | 04:16 |
shenki | yeah | 04:17 |
shenki | so tx_busy is a register, i think | 04:17 |
shenki | but i can't see how that gets spat out | 04:17 |
mithro | shenki: here maybe? https://github.com/timvideos/misoc/blob/legacy/misoclib/com/uart/__init__.py#L21 | 04:20 |
tpb | Title: misoc/__init__.py at legacy · timvideos/misoc · GitHub (at github.com) | 04:20 |
shenki | oh, i didn't look in the __init__ | 04:20 |
shenki | thanks | 04:20 |
mithro | shenki: yeah, it gets me every now and then | 04:20 |
mithro | Normally people have empty __init__.py files | 04:21 |
shenki | hrm, i miss the first character | 04:30 |
shenki | uart test program: https://github.com/shenki/HDMI2USB-misoc-firmware/blob/f32273dc5caaaff935d10c637f8d00c95e76b944/firmware/lm32/main.c | 04:59 |
tpb | Title: HDMI2USB-misoc-firmware/main.c at f32273dc5caaaff935d10c637f8d00c95e76b944 · shenki/HDMI2USB-misoc-firmware · GitHub (at github.com) | 04:59 |
shenki | now to look at the kernel | 04:59 |
mithro | shenki: do you want to try getting the or1k working for you too? | 05:01 |
mithro | shenki: oh, a couple of things - the shadow region avoids the l2 cache | 05:02 |
mithro | shenki: which is why you need 0xe0001000 rather than the normal value | 05:03 |
mithro | shenki: In your uart test program | 05:06 |
mithro | https://github.com/shenki/HDMI2USB-misoc-firmware/blob/f32273dc5caaaff935d10c637f8d00c95e76b944/firmware/lm32/main.c#L62 | 05:06 |
tpb | Title: HDMI2USB-misoc-firmware/main.c at f32273dc5caaaff935d10c637f8d00c95e76b944 · shenki/HDMI2USB-misoc-firmware · GitHub (at github.com) | 05:06 |
mithro | You don't check that the uart isn't full | 05:06 |
mithro | I think you want to swap lines 64/65 | 05:06 |
shenki | hrm | 05:12 |
shenki | swap, or put the wait before and after? | 05:12 |
mithro | shenki: there could still be a byte in the uart from the bios? | 05:13 |
shenki | mithro: yeah. that fixed my missing char issue | 05:13 |
shenki | i think it makes snse to wait after as well | 05:13 |
shenki | for the situation where the next instruction is to reboot | 05:14 |
*** ssk1328 has joined #timvideos | 05:15 | |
mithro | shenki: well, this is only test firmware, I hope you wouldn't be waiting in the real driver :P | 05:15 |
*** sb0 has quit IRC | 05:15 | |
shenki | i will use this to get linux booting i think | 05:16 |
shenki | :) | 05:16 |
shenki | then we convince someone to write a 8250 compatabile misoc uart | 05:16 |
shenki | and use that | 05:16 |
mithro | shenki: I was looking at the 8250 uart, it's *way* to complicated | 05:18 |
shenki | in what sense? | 05:19 |
mithro | shenki: In that the driver code is more than 100 lines of code | 05:19 |
shenki | we don't need to implement it all. just enough of the register api that we can use the driver | 05:19 |
mithro | did you see the xilinx uart thingy I linked? | 05:19 |
shenki | no, didn't click that | 05:20 |
shenki | what was it again? | 05:20 |
mithro | https://github.com/mithro/HDMI2USB-misoc-linux/blob/openrisc/drivers/tty/serial/uartlite.c | 05:23 |
tpb | Title: HDMI2USB-misoc-linux/uartlite.c at openrisc · mithro/HDMI2USB-misoc-linux · GitHub (at github.com) | 05:23 |
shenki | mithro: 700 lines! | 05:23 |
mithro | https://github.com/m-labs/linux-milkymist/blob/ng/drivers/tty/serial/milkymist_uart.c | 05:23 |
tpb | Title: linux-milkymist/milkymist_uart.c at ng · m-labs/linux-milkymist · GitHub (at github.com) | 05:23 |
mithro | that milkymist_uart *isnt* for the misoc one btw | 05:23 |
mithro | The 8250 is like 20 files :P - https://github.com/mithro/HDMI2USB-misoc-linux/tree/openrisc/drivers/tty/serial/8250 | 05:24 |
tpb | Title: HDMI2USB-misoc-linux/drivers/tty/serial/8250 at openrisc · mithro/HDMI2USB-misoc-linux · GitHub (at github.com) | 05:24 |
shenki | i know | 05:24 |
mithro | 700 lines for a simple uart, Linux sure is bloated ;-) | 05:25 |
shenki | says the guy that works on chrome | 05:25 |
shenki | :P | 05:25 |
shenki | mithro: this is the kernel tree we should be using? https://github.com/openrisc/linux | 05:26 |
tpb | Title: GitHub - openrisc/linux: Linux kernel source tree (at github.com) | 05:26 |
mithro | See the repo I forked mine from for the person who has been doing the most work lately | 05:29 |
mithro | He is in the openrisc channel pretty frequently | 05:29 |
shenki | ok | 05:30 |
mithro | shenki: with the fact that the drivers should be CPU independent - do you think it's worth trying to resurrect the lm32 arch? | 05:30 |
shenki | mithro: we can if you want | 05:31 |
mithro | I'm going to go do some other stuff for a couple of hours. If you are around when I get back, it might be worth seeing if you can get my hacky or1k JTAG debug thingy working | 05:32 |
shenki | ok | 05:33 |
mithro | I'm still getting the random lock ups in our firmware on the or1k | 05:39 |
mithro | bblr | 05:39 |
*** ssk1328 has quit IRC | 05:44 | |
*** ssk1328 has joined #timvideos | 06:33 | |
*** panther has joined #timvideos | 06:41 | |
*** panther is now known as sab_123 | 06:41 | |
*** panther_ has joined #timvideos | 07:02 | |
*** sab_123 has quit IRC | 07:05 | |
mithro | shenki: still around, or you gone of to do other things? | 07:42 |
* mithro is pondering if to call it a day | 07:44 | |
shenki | mithro: im writing a uart driver | 07:44 |
shenki | it's the worst | 07:44 |
mithro | ha | 07:44 |
mithro | why? | 07:44 |
shenki | so much boilerplate | 07:44 |
mithro | shenki: ahh | 07:45 |
mithro | Well, if you are still at it - I'll try and finish cleaning up the or1k branch | 07:48 |
*** panther__ has joined #timvideos | 07:49 | |
shenki | cool | 07:53 |
*** panther_ has quit IRC | 07:58 | |
*** tpb has joined #timvideos | 08:06 | |
shenki | mithro: the csr defines has defines like CSR_UART_EV_PENDING_ADDR | 08:06 |
shenki | mithro: i can't find where they come from | 08:06 |
mithro | shenki: They are generated | 08:07 |
shenki | mithro: right. but from where? | 08:08 |
*** FooBar_ has joined #timvideos | 08:08 | |
shenki | mithro: i can't see anything called 'pending' in the misoc python | 08:09 |
mithro | the csr code - migen/bank/eventmanager.py maybe? | 08:09 |
mithro | EV == EventManager | 08:11 |
shenki | ok, i see | 08:12 |
*** cr1901_modern1 has quit IRC | 08:13 | |
*** G33KatWork has quit IRC | 08:13 | |
*** FooBar has quit IRC | 08:13 | |
*** micolous has quit IRC | 08:13 | |
*** andi-m has quit IRC | 08:13 | |
*** MaZderMind has quit IRC | 08:13 | |
*** Kripton has quit IRC | 08:13 | |
*** seaLne has quit IRC | 08:13 | |
*** micolous_ has joined #timvideos | 08:14 | |
*** Kripton has joined #timvideos | 08:15 | |
*** sb0 has joined #timvideos | 08:16 | |
*** seaLne has joined #timvideos | 08:21 | |
*** rohitksingh has joined #timvideos | 08:33 | |
*** rohitksingh has quit IRC | 08:38 | |
*** seaLne has quit IRC | 08:47 | |
*** seaLne has joined #timvideos | 08:47 | |
*** rohitksingh has joined #timvideos | 08:53 | |
*** rohitksingh has quit IRC | 09:00 | |
shenki | mithro: is there any documentation for the eventmanager registers? | 09:10 |
mithro | shenki: The source code :P | 09:11 |
shenki | yeah :( | 09:11 |
shenki | i guess they make sense | 09:11 |
mithro | shenki: feel free to write some :) | 09:11 |
*** rohitksingh has joined #timvideos | 09:15 | |
shenki | mithro: yeah. i'll write a blog post on what im up to or something | 09:15 |
mithro | shenki: that would be good | 09:15 |
mithro | shenki: do you want to see if you can get the debug interface working? | 09:16 |
shenki | mithro: ok | 09:18 |
mithro | shenki: try the adv_dbg_if branch in my repo | 09:18 |
shenki | mithro/adv_dbg_if? | 09:18 |
shenki | k | 09:18 |
*** andi-m has joined #timvideos | 09:19 | |
*** rohitksingh has quit IRC | 09:19 | |
mithro | shenki: yeah | 09:19 |
*** MaZderMind has joined #timvideos | 09:20 | |
*** G33KatWork has joined #timvideos | 09:20 | |
mithro | https://github.com/openrisc/tutorials/blob/master/docs/Debugging.md | 09:21 |
tpb | Title: tutorials/Debugging.md at master · openrisc/tutorials · GitHub (at github.com) | 09:21 |
mithro | shenki: need ARCH=or1k | 09:26 |
shenki | yup, worked that out :) | 09:26 |
shenki | why are our toolchains 4.9 based? | 09:27 |
mithro | shenki: Because I haven't gotten around to upgrading to gcc 5 or gcc 6 and checking things work | 09:29 |
shenki | ok | 09:31 |
shenki | just wondering | 09:31 |
*** rohitksingh has joined #timvideos | 09:32 | |
shenki | takes a decent amount of time to route | 09:34 |
mithro | shenki: early gcc 5 versions didn't produce working lm32 output | 09:34 |
shenki | mithro: ok | 09:34 |
shenki | mithro: do any of the cpus have upstream support? | 09:34 |
mithro | nope | 09:34 |
mithro | Even j-core stuff needs some patches | 09:35 |
mithro | shenki: the or1k branch does have gcc 5/6 support | 09:36 |
mithro | but wanted the lm32/or1k to be using the same compiler versions | 09:36 |
shenki | ok | 09:36 |
shenki | i got a bunch of warnings when building the kernel | 09:36 |
shenki | which was why i asked | 09:37 |
mithro | shenki: it only takes 5 minutes here | 09:37 |
*** rohitksingh has quit IRC | 09:37 | |
shenki | my cpu is a bit slower than yours | 09:38 |
shenki | Total CPU time to Router completion: 9 mins 44 secs | 09:39 |
mithro | Interesting | 09:39 |
mithro | You also need to modify ./build/conda/share/openocd/scripts/board/or1k_generic.cfg | 09:39 |
shenki | ok | 09:39 |
shenki | mithro: what do i need to change? :) | 09:42 |
mithro | #set FPGATAPID 0x020b30dd | 09:42 |
mithro | set FPGATAPID 0x44008093 | 09:42 |
shenki | k | 09:43 |
mithro | oh - and the "set TAP_TYPE VJTAG" to "set TAP_TYPE XILINX_BSCAN" | 09:44 |
shenki | /tmp/really-really-really-really-really-really-really-really-really-really-really-really-really-long-path/conda/envs/_build/share/openocd/scripts | 09:44 |
shenki | wtf | 09:44 |
mithro | shenki: ha - I guess we don't have path patching on that | 09:46 |
mithro | https://github.com/timvideos/conda-hdmi2usb-packages/blob/master/.travis.yml#L16 | 09:47 |
tpb | Title: conda-hdmi2usb-packages/.travis.yml at master · timvideos/conda-hdmi2usb-packages · GitHub (at github.com) | 09:47 |
*** rohitksingh has joined #timvideos | 09:50 | |
mithro | shenki: you'll want or1k-gdb | 09:51 |
mithro | https://github.com/openrisc/newlib/releases/download/v2.4.0/or1k-elf_gcc4.9.3_binutils2.26_newlib2.4.0_gdb7.11.tgz | 09:51 |
mithro | then after flashing and hitting the reset button | 09:52 |
mithro | openocd -f interface/ftdi/minispartan6.cfg -f board/or1k_generic.cfg -c 'init' | 09:52 |
*** rohitksingh has quit IRC | 09:55 | |
shenki | mithro: http://pastebin.com/raw/DEGDUDFf | 09:56 |
shenki | oh, reset button | 09:56 |
shenki | cool! | 09:57 |
mithro | shenki: Did you get "Target ready...." ? | 09:58 |
shenki | yesh | 09:58 |
shenki | yeah | 09:58 |
mithro | \o/ | 09:58 |
mithro | I can't seem to single step though | 09:59 |
shenki | ok | 09:59 |
mithro | or1k-elf-gdb third_party/misoc/software/bios/bios.elf --eval-command='target remote localhost:3333' | 09:59 |
shenki | im just grabbing gdb | 09:59 |
mithro | You even get debug symbols :P | 10:00 |
mithro | It looks like there is some type of stack corruption going on | 10:01 |
shenki | Reading symbols from third_party/misoc/software/bios/bios.elf...(no debugging symbols found)...done. | 10:02 |
shenki | Remote debugging using localhost:3333 | 10:02 |
shenki | Remote failure reply: E0E | 10:02 |
shenki | (gdb) | 10:02 |
mithro | hrm | 10:04 |
mithro | oh wait | 10:05 |
mithro | for the minispartan6 you need FPGATAPID of 0x24004093 | 10:05 |
cr1901_modern | I really need to learn how to use OpenOCD to do JTAG debugging. Currently, I only know how to flash chips with it. | 10:08 |
shenki | Debug: 340 7166 or1k_du_adv.c:450 adbg_wb_burst_read(): Doing burst read, word size 4, word count 32, start address 0x00000400 | 10:08 |
shenki | Warn : 341 7167 or1k_du_adv.c:518 adbg_wb_burst_read(): Burst read timed out | 10:08 |
shenki | Warn : 342 7167 or1k_du_adv.c:518 adbg_wb_burst_read(): Burst read timed out | 10:08 |
shenki | Error: 343 7168 or1k_du_adv.c:521 adbg_wb_burst_read(): Burst read failed | 10:08 |
shenki | Error: 344 7168 or1k.c:1177 or1k_get_gdb_reg_list(): Error while calling or1k_save_context | 10:08 |
shenki | Debug: 345 7168 gdb_server.c:1341 gdb_error(): Reporting -4 to GDB as generic error | 10:08 |
shenki | Debug: 346 7168 gdb_server.c:1020 gdb_connection_closed(): GDB Close, Target: or1200.cpu, state: running, gdb_actual_connections=0 | 10:08 |
*** rohitksingh has joined #timvideos | 10:08 | |
mithro | shenki: did you change the FPGATAPID above? | 10:08 |
shenki | yep | 10:09 |
shenki | set FPGATAPID 0x24004093 | 10:09 |
mithro | What is the full output? | 10:09 |
shenki | http://pastebin.com/raw/TYbmmnRm | 10:10 |
mithro | mine looks like this | 10:12 |
mithro | https://www.irccloud.com/pastebin/nPNNxeIQ/ | 10:12 |
tpb | Title: Pastebin | IRCCloud (at www.irccloud.com) | 10:12 |
*** rohitksingh has quit IRC | 10:12 | |
shenki | so why is the crc not ok? | 10:13 |
mithro | shenki: hrm... | 10:13 |
mithro | shenki: restart the processor and connect again? | 10:13 |
mithro | You on "commit 41925c5a977f96effe85fcee1b61b9e41d8ca87c" ? | 10:14 |
*** panther__ has quit IRC | 10:15 | |
shenki | 41925c5a977f | 10:15 |
shenki | yes | 10:15 |
mithro | shenki: and it doesn't work if you reset and connect again? | 10:20 |
mithro | Debug: 277 25 or1k.c:579 or1k_halt(): target->state: halted | 10:21 |
mithro | Debug: 278 25 or1k.c:582 or1k_halt(): Target was already halted | 10:21 |
mithro | That means you didn't restart after flashing I think? | 10:22 |
shenki | hrm | 10:23 |
*** rohitksingh has joined #timvideos | 10:23 | |
shenki | i did. perhaps it didn't work | 10:23 |
mithro | The lights should go out? | 10:24 |
mithro | shenki: I think I'm done for the weekend - going to head home | 10:26 |
mithro | Didn't get enough sleep last night | 10:27 |
mithro | Oh, maybe try stopping in the BIOS | 10:34 |
shenki | no worries | 10:35 |
shenki | cya! | 10:35 |
*** sb0 has quit IRC | 10:50 | |
*** cr1901_modern1 has joined #timvideos | 11:21 | |
*** cr1901_modern has quit IRC | 11:24 | |
*** Andy has joined #timvideos | 11:31 | |
*** Andy has left #timvideos | 11:32 | |
*** ssk1328 has quit IRC | 11:39 | |
*** rohitksingh has quit IRC | 12:05 | |
*** Kripton has quit IRC | 12:06 | |
*** Kripton has joined #timvideos | 12:09 | |
*** thaytan has quit IRC | 12:32 | |
*** thaytan has joined #timvideos | 13:03 | |
*** ChanServ sets mode: +v thaytan | 13:03 | |
*** cr1901_modern has joined #timvideos | 15:24 | |
*** cr1901_modern1 has quit IRC | 15:32 | |
*** tpb has joined #timvideos | 16:29 | |
*** cr1901_modern has quit IRC | 16:33 | |
*** tpb has joined #timvideos | 16:55 | |
*** G33KatWo1k has joined #timvideos | 16:59 | |
*** Kripton has quit IRC | 17:02 | |
*** G33KatWork has quit IRC | 17:02 | |
*** MaZderMind has quit IRC | 17:02 | |
*** andi-m has quit IRC | 17:02 | |
*** Kripton has joined #timvideos | 17:03 | |
*** rohitksingh has joined #timvideos | 17:55 | |
*** se6astian|away is now known as se6astian | 17:59 | |
*** rohitksingh has quit IRC | 17:59 | |
*** rohitksingh has joined #timvideos | 18:14 | |
*** rohitksingh has quit IRC | 18:37 | |
*** Bertl_oO is now known as Bertl_zZ | 18:53 | |
*** FooBar_ is now known as FooBar | 19:46 | |
*** se6astian is now known as se6astian|away | 21:02 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!