--- Log opened Tue Oct 04 00:00:41 2016 | ||
mor1kx | [mor1kx] olofk opened pull request #44: Fixes for unused wires and witdh mismatches (master...fixes) https://github.com/openrisc/mor1kx/pull/44 | 05:21 |
---|---|---|
jia | hi all, how can I build busybox using or1k-elf-gcc? | 12:24 |
jia | include/platform.h:152:23: fatal error: byteswap.h: No such file or directory | 12:24 |
jia | anyone tell me how to build busybox using or1k toolchain? | 13:12 |
SMDwrk | jia: could you tell us what are you doing so we could give you advice somehow? | 13:53 |
jia | I'm building a rootfs.img | 13:53 |
SMDwrk | which manual are you using? | 13:54 |
jia | http://opencores.org/forum,OpenRISC,0,5716 | 13:55 |
jia | make CROSS_COMPILE=or1k-linux-musl- defconfig | 13:55 |
jia | make CROSS_COMPILE=or1k-linux-musl- | 13:55 |
SMDwrk | Also I think your toolchain might be incapable of building linux kernel: seems like you have a toolchain for baremetal, while linux requires another one | 13:56 |
jia | or1k-elf- can not build, too | 13:56 |
stekern | SMDwrk: sorry about not taking a look a second look at your pull request, I'll do it today | 13:56 |
SMDwrk | stekern: thanks | 13:56 |
SMDwrk | but I might be wrong, correct me plz, if so | 13:56 |
jia | I'm using or1k-elf-gcc to build Linux, and it works. | 13:56 |
jia | but or1k-elf- can not build busybox. Or, I don;t know how | 13:57 |
SMDwrk | Ok, then I'm wrong :) | 13:57 |
jia | I wanna know how the linux/arch/openrisc/support be built. | 13:58 |
jia | it is a prebuilt busybox | 13:58 |
mor1kx | [mor1kx] skristiansson closed pull request #42: Fixes for saturating counter branch predictor (master...bpred_fixes) https://github.com/openrisc/mor1kx/pull/42 | 14:20 |
mor1kx | [mor1kx] skristiansson pushed 1 new commit to master: https://github.com/openrisc/mor1kx/commit/013eb7eb79e52df08179c18e1ac3d31c6689128b | 14:24 |
mor1kx | mor1kx/master 013eb7e Alexey 'SMD' Baturo: Introducing gshare branch predictor | 14:24 |
stekern | jia: you can use or1k-elf- to build linux since linux is a standalone binary running on the baremetal | 14:44 |
stekern | busybox is a linux userspace application, you'll need a linux toolchain to build such | 14:44 |
jia | \stekern where can I get a linux toolchain? | 15:07 |
jia | or1k-linux-musl- can not build busybox either | 15:08 |
stekern | it can, but last I looked there was some problems in busybox that needed manual intervention to get it to build | 15:20 |
* jia have no idea | 15:24 | |
* jia tried, but got some error. | 15:25 | |
jia | do you remember how intervention? | 15:25 |
jia | please send the msg here, it is 4 AM, I'm very sleepy... | 15:28 |
olofk | And Hacktoberfest has begun! | 16:27 |
olofk | stekern: Should I fix the changes and do a force-push, or do you want me to add extra commits on top? | 16:28 |
olofk | I'll add them on top for now, and we can squash later | 16:29 |
olofk | And for the 1'd1 vs 1'b1, for some reason I always use 'b' when it's a single bit. Don't know where I picked up that habit | 16:30 |
shorne_ | jia: I used or1k-linux-musl- to build busybox a week back | 16:54 |
shorne_ | Required some special steps | 16:55 |
shorne_ | - use gcc 5.4.0 toolchain | 16:55 |
shorne_ | - removed a netfilter include in networking/tcpudp.c | 16:56 |
shorne_ | - disable the 'ash' shell, due to blob api missing in musl | 16:58 |
olofk | shorne_: Ah.. you actually wrote down the changes. I forgot to do that when I tried a while ago | 17:00 |
-!- shorne_ is now known as shorne | 17:05 | |
shorne | olofk: I just remembered them since I did it last week | 17:06 |
shorne | need to write them down formally now they are :) | 17:06 |
olofk | If anything was to happen to http://juliusbaxter.net/openrisc-irc/ we would lost most OpenRISC documentation :) | 17:09 |
jia | shorne: are you still online? | 19:32 |
jia | shorne: thx, or1k-linux-musl-5.4.0 can build busybox-1.25.0 with ash and Linux. | 20:48 |
--- Log closed Wed Oct 05 00:00:42 2016 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!