*** tpb has joined #timvideos | 00:00 | |
mithro | shenki: did you look at the linker script? | 00:37 |
---|---|---|
shenki | mithro: which linker script? when? | 00:38 |
mithro | Last night you said, 12:49 AM <+shenki> but we stick all of the firwmare text in firmware_ram | 00:59 |
mithro | In the firmware/softcpu/ there is an old LD file which tells think linker were all the regions should end up | 01:01 |
mithro | Just walking to work now | 01:03 |
shenki | mithro: yep. that linker script is the source of the bug | 01:12 |
shenki | mithro: it assumes we have a MEMORY region (in the gnu ld sense) called firmware_ram | 01:12 |
shenki | mithro: but if we have chosen not to include the firmware in the bitsream, then we don't have that defined | 01:12 |
shenki | afaict there's no way to say "create this memory region" in the python without associating it with a binary | 01:13 |
mithro | I'm pretty sure there is | 01:17 |
mithro | but that would probably run your minispartan out of memory again | 01:21 |
shenki | huh? | 01:31 |
shenki | no, i what i mean is we need a way to say "this is where text can go", without putting anything in the bitstream | 01:31 |
shenki | so that the linker scripts are created with firmware_ram pointing to the sdram | 01:32 |
mithro | shenki: frmware_ram just needs to end up pointing at the sdram and the linker script will merge the two sections? | 01:32 |
mithro | bblr meeting | 01:32 |
shenki | mithro: there arent two sections. we just want to firmware_ram to exist in the linker scripts. currenty it doesnt | 01:34 |
mithro | shenki: Opps, I left my minispartan6 at home | 04:00 |
shenki | mithro: no worries | 04:25 |
*** Bertl_zZ is now known as Bertl | 04:29 | |
mithro | Well, this simulator boots as far as the "Initializing SDRAM..." output | 05:03 |
*** paradisaeidae has joined #timvideos | 05:17 | |
shenki | just like my u-boot at the moment | 05:22 |
mithro | shenki: for work I assume? | 05:22 |
shenki | in this case it's because it's batshit crazy vendor bsp assembly attempting to callibrate the non-existant ddr | 05:22 |
shenki | yes | 05:22 |
shenki | for the aspeed | 05:22 |
mithro | ahh | 05:22 |
shenki | for your mob ;) | 05:22 |
shenki | as well as others | 05:22 |
mithro | shenki: I would love to be able to friken control the fans on my computer :P | 05:22 |
shenki | buy openpower! | 05:23 |
shenki | :P | 05:23 |
mithro | shenki: ha, I want a useful computer :P | 05:23 |
shenki | this this big internet company that claim they are useful | 05:23 |
shenki | foogle? boogle? yoogle? i forget | 05:24 |
mithro | shenki: no comment | 05:24 |
shenki | :D | 05:24 |
*** paradisaeidae has quit IRC | 05:34 | |
*** paradisaeidae_ has joined #timvideos | 05:40 | |
mithro | at some point we should flip the default board from the Atlys to the Opsis | 05:58 |
*** Bertl is now known as Bertl_oO | 06:04 | |
*** paradisaeidae_ has quit IRC | 06:06 | |
*** sb0 has quit IRC | 06:42 | |
*** se6astian|away is now known as se6astian | 07:03 | |
*** sb0 has joined #timvideos | 07:26 | |
*** sb0 has quit IRC | 07:37 | |
*** sb0 has joined #timvideos | 09:06 | |
*** sb0 has quit IRC | 12:31 | |
mithro | shenki: my parent's have your Atlys now | 13:07 |
mithro | and are back in Adelaide | 13:07 |
*** hyades has joined #timvideos | 13:17 | |
shenki | mithro: cool | 14:17 |
shenki | mithro: i think they have my number? | 14:17 |
shenki | as i recall your mum just showed up last time you had passed on something for me | 14:17 |
shenki | mithro: what's the latest with verilator? | 14:18 |
mithro | shenki: I didn't get any time to do any more work on it | 14:49 |
mithro | Currently tidying up my desk as the bosses, bosses, boss is coming into town tomorrow and I don't want to be remembered as the "messy desk" person :P | 14:52 |
mithro | shenki: is there more bike races today? | 15:16 |
shenki | mithro: heh ok | 15:35 |
shenki | mithro: nah. just playing with device trees and stuff | 15:35 |
shenki | getting my aspeed patches ready for upstreaming | 15:35 |
shenki | i keep breaking it | 15:35 |
mithro | shenki: So, I think the minispartan6 fix is pretty easy | 15:36 |
shenki | mithro: k? | 15:37 |
mithro | shenki: just change firmware_ram to main_ram or sram in the linker script | 15:39 |
mithro | shenki: Check that it works | 15:39 |
mithro | shenki: then we can look at a more permanent fix | 15:39 |
shenki | heh | 15:40 |
shenki | yes, that's what i did last night | 15:40 |
mithro | shenki: and it boots? | 15:40 |
shenki | yeah | 15:40 |
mithro | and works fine? | 15:40 |
shenki | no | 15:40 |
shenki | it flakes out still | 15:40 |
shenki | but not reliably | 15:40 |
mithro | on both the lm32 and the or1k? | 15:40 |
shenki | if i trim the firmware to be small, it works relaibly - i can boot the bios, run my fw, have it return to the bios and repeat | 15:41 |
shenki | i would have to test again on both. i think i was using the lm32 | 15:41 |
mithro | shenki: were you loading into "main_ram" or "sram" ? | 15:41 |
shenki | 0x40000000 | 15:41 |
mithro | From looking at the length, it seems like main_ram is the SDRAM and sram is the fpga internal one | 15:42 |
shenki | ok. so what is mapped at 0x40000000? | 15:43 |
shenki | i forget why i chose that address | 15:43 |
mithro | shenki: main_ram is at 0x40000000 | 15:43 |
shenki | ok, that's why i chose it i assume | 15:44 |
*** se6astian has left #timvideos | 15:45 | |
mithro | shenki: so, it would be good to test again with the lm32 and prove that you are getting that behavior | 15:47 |
mithro | shenki: you should look at the pipistrello config for how to get the spi flash on the minispartan up and running too | 15:47 |
shenki | ok | 15:49 |
shenki | i'll take a look during the week | 15:49 |
shenki | sleep time now | 15:49 |
shenki | good night | 15:49 |
*** se6astian has joined #timvideos | 15:50 | |
*** se6astian is now known as se6astian|away | 15:57 | |
*** sb0 has joined #timvideos | 16:55 | |
*** rohitksingh has joined #timvideos | 16:59 | |
*** hyades has quit IRC | 18:17 | |
*** CarlFK has quit IRC | 19:04 | |
*** rohitksingh has quit IRC | 20:33 | |
*** CarlFK has joined #timvideos | 21:46 | |
*** ChanServ sets mode: +v CarlFK | 21:46 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!