--- Log opened Sat Sep 10 00:00:05 2016 | ||
jia | \shorne I can not boot o1k-vmlinux using the github/openrisc/linux repo | 01:00 |
---|---|---|
jia | not sync Attemped to kill init! exitcode=0000007 | 01:02 |
-!- Netsplit *.net <-> *.split quits: simoncook, _franck_, poke53281, blueCmd, dalias, knz, eliask, SMDhome, _florent_, mwfc, (+5 more, use /NETSPLIT to show all of them) | 01:07 | |
jia | not sync: Attempted to kill init! exitcode=0x00000007 | 01:10 |
stekern | jia: how are you building it? | 01:12 |
jia | ARCH=openrisc CROSS_COMPILE=or1k-linux-uclibc- make or1ksim_defconfig | 01:12 |
jia | ARCH=openrisc CROSS_COMPILE=or1k-linux-uclibc- make | 01:13 |
jia | nothing changed, clean code | 01:13 |
-!- Netsplit over, joins: dalias, blueCmd, jeremybennett, mwfc | 01:25 | |
jia | new vmlinux built by or1k-elf-gcc-5.3, get the same error | 01:27 |
stekern | jia: what or1ksim are you using? | 01:28 |
jia | I'm using qemu | 01:29 |
jia | qemu can boot old vmlinux I kept years ago | 01:29 |
stekern | ah, you need to turn on emulation for atomic instructions then | 01:30 |
stekern | or use the patches blueCmd (iirc) made | 01:30 |
jia | OK, I'll try his repo | 01:31 |
stekern | actually, you should not need to turn on emulation, it should work automatically | 01:36 |
stekern | so probably something else | 01:36 |
jia | blueCmd's repo can not be built... 9pfs error | 01:41 |
stekern | yeah, but as I said, it shouldn't be related to having atomic instruction support or not | 01:48 |
stekern | unless there's a bug in the emulation, which I can't promise that there isn't | 01:48 |
stekern | was a while since I tested it | 01:49 |
jia | I'm trying fix it... | 01:53 |
stekern | I can test with an or1ksim without atomic instruction support to see if that works | 01:54 |
jia | yes, blueCmd's repo works! | 01:54 |
jia | and I find blueCmd made a virtio hda support. | 01:55 |
jia | I'll continue in 15 minutes, to eat something | 01:57 |
jia | ./or32-softmmu/qemu-system-or32 -kernel ~/vmlinux -drive "file=/home/jia/or1k.qcow2,media=disk,format=qcow2" --append "rootfstype=ext4 rw root=/dev/hda console=uart,mmio,0x90000000,115200" | 03:13 |
jia | VFS:unable to mount root fs on unknown block(0,0) | 03:13 |
jia | What should I do to make it run? | 03:14 |
blueCmd | oh man, that was a long time ago. hmmm | 03:47 |
blueCmd | jia: are you trying to use 9pfs? what's the kernel config you're using? | 03:48 |
jia | no, I didn't use 9pfs. | 03:48 |
jia | may you please tell me how did you build linux and rootfs img? | 03:49 |
blueCmd | I seem to remember that the IDE support in openrisc was a bit so-so and that 9pfs was the easiest way to get something to work | 03:49 |
blueCmd | jia: It was a long time ago I played with this, but when I did play with it I used this: https://github.com/bluecmd/or1k-devel | 03:50 |
blueCmd | that should be "type make to build everything" | 03:51 |
blueCmd | but it was made for me by me, so it's just a collection of scripts so I don't have to type it all the time | 03:51 |
blueCmd | jia: https://github.com/bluecmd/or1k-devel/blob/master/tests/qemu-system how I used to run or1k in qemu | 03:52 |
jia | Is this the rootfs you build? | 03:53 |
jia | https://github.com/bluecmd/or1k-devel/tree/master/initramfs | 03:53 |
blueCmd | jia: then you need this kernel I think: https://github.com/bluecmd/or1k-linux | 03:55 |
blueCmd | jia: it will end up in that directory yes | 03:55 |
jia | thank you, I'll try. | 03:56 |
shorne | olofk: wallento: I finally got my work done! book tickets to Italy and put in a Talk Proposal | 04:14 |
wallento | great, looking forward to meet you | 04:17 |
mor1kx | [mor1kx] spacemonkeydelivers opened pull request #40: Introducing PCU (master...master) https://github.com/openrisc/mor1kx/pull/40 | 04:59 |
SMDnote | Got my tickets to Italy too. | 05:04 |
olofk | shorne, SMDnote : Looking forward to meet you over a pizza in Italy :) | 08:56 |
olofk | shorne: Did wb_intercon_gen work out for you? Had never seen that weird perl script before | 08:57 |
olofk | jia: Cool to see some work on qemu. Did you get it working? | 08:57 |
jia | not yet. I'm too stupid to make linux work:) | 08:58 |
olofk | jia: Oh, I know all about that feeling :) | 09:04 |
olofk | What's the current status? Have you compiled linux+busybox? | 09:05 |
jia | VFS: unable to mount FS on block(0,0) | 09:05 |
olofk | I'm too stupid to get qemu working, so I might not be too much help :) | 09:06 |
olofk | Is that running under qemu or or1ksim? | 09:06 |
jia | qemu | 09:06 |
jia | rth make qemu update | 09:06 |
olofk | jia: And have you considered coming to orconf this year? | 09:07 |
jia | maybe a virtio device will be good. | 09:07 |
jia | 1, I want, but my boss don't. | 09:07 |
jia | 2, My English is not good, even Italiano... | 09:08 |
jia | 3, I love pizza:) | 09:09 |
olofk | Ah, that sucks :/ | 09:09 |
jia | may you please suggest all or1k thing commit into the commiunty, on teh ORCONF? | 09:10 |
jia | binutils-gdb gcc newlib uclibc glibc | 09:10 |
jia | it will be a BIG GREAT to use the offical git repos with OR1K support | 09:11 |
ZipCPU | olofk: Do you have an orpsoc-cores/system for the qemu that jia is working with? | 09:21 |
ZipCPU | olofk shorne SMDnote: I look forward to joining the three of you. I like sausage pizza! ;) | 09:22 |
olofk | jia: newlib and binutils (without gdb) is already upstream | 09:59 |
jia | great! | 09:59 |
olofk | We've been trying to get gcc upstream, but we are still waiting for the permissions of the final contributor before we can send it in | 10:00 |
jia | gcc and uclibc to be | 10:00 |
olofk | I think we can skip uclibc as the musl port is in better shape | 10:00 |
olofk | ZipCPU: qemu is outside of the scope for FuseSoC | 10:00 |
olofk | And I'm also looking forward to the pizza :) | 10:01 |
SMDnote | everyone loves pizza | 10:01 |
SMDnote | olofk: Could next(2017) orconf happen somewhere in Northen Europe? | 10:01 |
olofk | SMDnote: For all the previous years, it has been someone in the community who has suggested hosting it | 10:02 |
olofk | So if there is someone somewhere in northen europe who would like to host it, we're all ears | 10:02 |
olofk | We've been to Sweden, England, Germany and Switzerland so far | 10:03 |
jia | you are all in Europe:) | 10:04 |
jia | at last | 10:04 |
olofk | jia: Where are you located? | 10:04 |
jia | China... | 10:04 |
olofk | Aha. Well, we have been talking about going to US and Asia, to make it easier for contributors living there to attend | 10:05 |
olofk | But as most of the organizers live in Europe it has just been easier to host it here up until now | 10:05 |
olofk | But please let us know if anyone is interested in hosting next year. It's good to have some options | 10:07 |
SMDnote | olofk: I'd suggest Moscow, but yu, guys, would have lots of troubles w/ getting visas | 10:08 |
olofk | SMDnote: Yeah. Moscow would be a nice option, but as you say, the logistics can be a problem. Especially if Sweden decides to join NATO, which we are currently discussing :) | 10:09 |
SMDnote | olofk: I'm looking for opportunities to join Sweden ;) | 10:10 |
olofk | SMDnote: Send me a mail and we'll see what we can do :) | 10:11 |
jia | May I join Sweden too :) | 10:20 |
jia | virtio-mmio 93000600.virtio: Wrong magic value 0x76697274! | 10:21 |
jia | why I got this? | 10:21 |
olofk | jia: Sure! We have room for you too :) | 10:23 |
olofk | jia: What do you have on base address 0x93000000 ? | 10:23 |
jia | a minute | 10:24 |
jia | http://paste.ubuntu.com/23159534/ the diff and cmdline | 10:27 |
SMDnote | jia: Could I ask if you work on openrisc at work? | 11:35 |
jia | nope, only years ago on my spare time | 11:35 |
SMDnote | jia: it's a pity, I wish some Chineese ppl would make a standalone soc on openrisc :) | 11:44 |
jia | I don't know HDL FPGA things... | 11:45 |
SMDnote | me neither ;) | 11:47 |
olofk | How on earth does this virtio thing work? | 15:35 |
shorne | olofk: wb_intercon_gen is working fine. Just when I did a search for wishbone builder that perl script always pops up. We need to link to that in our docs somewhere i.e. a wishbone tutorial. | 19:59 |
ZipCPU|Laptop | wb2axisp works!! (Although I've only tested it with non-pipelined data so far ...) | 23:04 |
ZipCPU|Laptop | Now ... if only opencores.org was up, I might be able to adjust the repository ... | 23:05 |
ZipCPU|Laptop | Also ... Xilinx's MIG offers only pitiful memory performance in terms of latency. Pitiful. | 23:05 |
ZipCPU|Laptop | If I send it a address read-valid on clock 2, the data doesn't get returned until clock 25. | 23:06 |
ZipCPU|Laptop | (Wishbone strobe on clock 1, wishbone ack on clock 27 ...) | 23:07 |
ZipCPU|Laptop | Sad thing is ... it only takes six clocks to do the memory op itself: | 23:09 |
ZipCPU|Laptop | 1. Precharge the row (assumes it was open) | 23:10 |
ZipCPU|Laptop | 2. Activate the row you really want | 23:10 |
ZipCPU|Laptop | 3. Issue the read command. | 23:10 |
ZipCPU|Laptop | 4. Idle | 23:10 |
ZipCPU|Laptop | 5. Data crosses the bus | 23:10 |
ZipCPU|Laptop | 6. Data can be read from bus | 23:10 |
ZipCPU|Laptop | 7. Data should be able to be returned. | 23:10 |
ZipCPU|Laptop | Okay, suppose you take an extra clock to set up the bus and tear it down, you're still looking at 9 clocks. | 23:11 |
ZipCPU|Laptop | Where do Xilinx's other 27 clocks come from?? | 23:11 |
--- Log closed Sun Sep 11 00:00:06 2016 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!