IRC logs for #openrisc Monday, 2013-02-04

tgs3does normal linux e.g. debian stable work on that example openrisc board?  afair it has 32 mb ram?11:06
tgs3I still want to "get a openrisc copmputer linke thing" and run debian on it11:08
tgs3prefferably 100% open one (e.g. no closed-hardware FPGA)  but I guess there isnt any open fpga11:08
jeremybennetttgs3: There should be no reason why it wouldn't work. The question will be if you have enough RAM and enough compute cycles. Typically OpenRISC runs at < 100MHz.11:10
tgs3jeremybennett: non-X terminal so yeah. anyone tried to run that?11:10
tgs3I would like to try as a hobby, but I don't know how to get the hardware11:10
tgs3also, is that correct still we don't have 100% open source computer on openrisc, because all existing are on FPGA and all (compatible) FPGA are closed hardware?11:11
jeremybennettYou can buy a FPGA board from ORSoC for around 150 Euros I think. Not sure how much RAM that has. You can apparently run a Linux kernel on a DE0-nano ($80), but certainly not Debian.11:12
jeremybennettNo one has come up with an open source FPGA fabrication process. Currently it all becomes closed source at some point when you get close to silicon. At $1Bn or more for a modern fab, It's hard to persuade people to open source their processes!11:13
tgs3ultimatelly I would like to have something like a very slow computer-desktop, but that would be 100% open from hardware specs of each and every chip, through firmware to system11:13
tgs3jeremybennett: I would kickstarter it11:13
jeremybennettIt's an idea - an open source fab on KickStarter. That would certainly break a few records.11:14
tgs3jeremybennett: there is no other way then either FPGA or ASIC?11:14
tgs3like... some circuit that would not be small and nice like ASIC but would be implementation of openrisc11:14
jeremybennettWell you can build a computer from discrete components. But they probably won't tell you how they are made, so even that is not open source at some level.11:15
tgs3why asic must be to expensive?11:15
jeremybennettAbout the only thing you can make that is purely open source is a crystal set, and then only if you use a lump of coal as the detector.11:15
tgs3maybe if it would be some "crappy" asic, e.g. 1 meter × 1 meter board or some other acient process11:15
jeremybennetttgs3: Well it is quite hard building structures that are less than 100 atoms across, with gates that must be 4 atoms thick (5 atoms is too thick, 3 atoms and you lose everything to quantum tunnelling).11:16
jeremybennettThen doing it 10^9 times over without a mistake.11:16
tgs3how about using acient kind of asic like from first macintosh11:16
tgs3how many transistors are needed for openrisc anyway?11:17
jeremybennettYou can get ASIC done quite cheaply on old processes - a few tens of thousands of dollars.11:17
tgs3per one asic?11:17
jeremybennettI'm not sure about transistors. IIRC the OpenRISC chip Flextronics made 10 years ago was around 150k gates with around 15 memory blocks. So depending on your process that is 600k to 900k transistors + memories.11:18
LoneTechgood morning11:19
jeremybennettthat's a prices for an engineering sample run, so you get 10's or possibly 100's of chips. It's not something I actually do, so I don't know the details.11:19
jeremybennettLoneTech: Good morning. You probably know more about low cost ASIC runs11:19
LoneTechnot terribly much, but I did look a bit once11:19
LoneTechiirc, it's possible to have a mostly open source toolchain using alliance11:20
* tgs3 doesnt get why litography must be *so* expensive11:21
LoneTechif you want it reasonably cheaply, I expect structured is the way to go11:23
tgs3structured?11:23
tgs3ok look guys :)11:24
tgs3http://www.pagetable.com/?p=3911:24
LoneTechlike altera hardcopy, for instance - they have the same routing options as the fpgas, so they just translate your configuration11:24
tgs3we are able now to take a MOC 6502 from original Apple I11:24
tgs3scan it under microscope(!)11:25
tgs3and emulate it 100% from the scan of the phisical cpu piece11:25
tgs3that is totally awesome11:25
LoneTechyep11:25
tgs3I would expect it would be possible to create today MOC 6502 CPU 100% open source (ignoring the imaginary slave property 'rights' on the 6502 design)11:25
tgs3right?11:26
tgs3if it was costing probably... millions(?) to start line and <thousand per piece  30 years ago11:26
tgs3wouldn't it be  < 0.5 milion to start line  and < 100 usd per piece  today11:27
tgs3if yes, then is openRISC so much more complicated that it would be not possible to achieve similar prices, e.g. at cost of running speed or cpu size11:28
tgs3* "is an 8 µm[48] process technology chip with 3510 transistors" .. so x200 more work for OpenRISC.. this does NOT even include the memory chips?11:29
LoneTechare you comparing the openrisc to the 6502?11:30
tgs3well, it's a starting point :)11:30
LoneTechsure. just be aware that they're looking at the 6502 because it is an extreme example11:31
tgs3I would like if it would be possible to complete understand, own, create a more modern cpu too11:31
LoneTechalso, code size or logic complexity is nearly a non-issue for current asic production; the connection pads are so much larger11:31
tgs3maybe we should do it in another way:11:31
LoneTechit is possible11:31
tgs3make a 100% open FPGA moduel, even small11:31
tgs3and then take 10x10 of them if needed and make openrisc and other opencores stuff on it11:32
tgs3and 100% open memory bank11:32
tgs3if this 2 building blocks can be used to create any open-coures designs (not just openrisc) maybe there would be enough backers to invest into such ASIC as kickstarter project?11:33
LoneTechI dearly hope so, but it's a very long road11:33
LoneTechyou probably want a look at http://www.vlsitechnology.org/html/lib_densities.html ... I believe it's possible to order asics from TSMC by using their library for a reasonable cost11:36
LoneTechI've just done a workaround in openOCD which saddens me, because after figuring out how to make it work I don't know why it does.11:39
_franck_LoneTech: :)11:45
LoneTechthe issue was, with gdb+openocd+virtualjtag+adv_debug_sys (I dearly hope some of that is irrelevant), when halting at a software breakpoint, continuing does not execute the instruction that was overwritten with l.trap. If I make or1k_debug_entry set NPC as dirty, however, it does.11:47
LoneTechthere's something similar done in or_debug_proxy where it sets NPC to PPC if it finds it hit a breakpoint11:49
LoneTechso it looks like adv_debug_sys and dbg_interface (mohor) behave differently on the breakpoint. In addition, openOCD doesn't recognize halt reasons.11:50
LoneTechat the point where it halted, however, NPC points to the breakpoint (and in my test case, PPC to a delay slot elsewhere)11:51
_franck_cant' remember the details but we had a hard time making this works11:58
_franck_http://bugzilla.opencores.org/show_bug.cgi?id=10411:58
LoneTechtgs3: I'd appreciate if you find out where http://web.archive.org/web/20100329153111/http://www-asim.lip6.fr/recherche/alliance/doc/design-flow/flow.html went11:58
_franck_LoneTech: did you update your openocd repo (from the github one) ?11:59
LoneTechseems so12:00
LoneTechyour patch is in RTL, however. I'll have a look at it.12:01
LoneTechah. this suggests that debug unit stops do not flush the pipeline like software handled exceptions do, which does explain the behaviour12:03
_franck_yes that's it12:03
LoneTechbut writing npc works like a jump and causes a reload12:04
LoneTechI'm not sure I like this rtl patch12:06
LoneTechnot that I like mine either :(12:09
_franck_well I'm using this path for a long time now with the openocd version in github and it works like a charm12:10
_franck_but it's may be not that good12:11
LoneTechoh, it works12:11
LoneTechbut it's even more complexity to the genpc and pipeline logic for a special case that already has to be handled by the debugger12:11
_franck_I'll be happy to test an openocd patch ;)12:19
LoneTechfor instance, I am rather curious what it does to the instruction bus should the debug unit halt the processor for any other reason while the software is trying to jump.12:19
LoneTechit's an ugly test version, but here you go: http://donkey.vernier.se/~yann/openrisc-public/openocd-breakpoint-workaround.diff12:21
_franck_ok, I'll test this tonight12:33
tgs3LoneTech: hm me?12:53
tgs3ok12:54
LoneTechoh, and mosis.com seems to be the place to actually order asics. looks like that means Tanner is the library to use, too.12:58
tgs3what do you think about mine idea as outsider,13:00
tgs3to focus on creating 100% open source universal FPGA module13:00
tgs3and if we do this,  then we can have 100% open source openrisc systems13:00
tgs3probably easier then kickstartering ASIC of 1 project (openrisc)13:00
LoneTechI like it, but it will be a long road13:01
LoneTechin the past there have been fpgas that were documented, like the 4000 family iirc13:04
LoneTechtgs3: a little discussion at http://electronics.stackexchange.com/questions/3107/looking-for-open-source-fpga-hardware-and-dev-tools too (I work for ORSoC nowadays, but we don't make FPGAs)13:27
stekernhave a look at this too: https://github.com/Wolfgang-Spraul/fpgatools13:49
LoneTechooh, spartan 6 support. that may be a worthy jbits replacement13:51
LoneTechI'd like to see the near-instant synthesis of xilinx-lava more widely available13:52
LoneTechstekern: thank you! :)13:58
tgs3LoneTech: maybe just gather competent people and kickstat it \o/15:38
tgs3LoneTech: any price range for funding needed to design 100% open general FPGA capable of being used in modular grid big enough to make openRISC of it?15:39
tgs3as economical ASIC15:39
LoneTechI don't know. Just estimating it is a fairly big task I have little experience in.15:41
tgs3on technical level does it make sense to have small FPGAs and combine them together to provide the hardware needed for openrisc cpu?16:54
tgs3e.g. is it common for FPGAs to be joinable, e.g. to connect 4 small FPGAs to create the core of one system like openRISC, and few other to provide e.g. memory or other chips?16:55
stekerntgs3: you probably could, but what would be the purpose in this case?18:56

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