



Building Linux for OpenRisc
by bonechilla on Jun 21, 2015 |
bonechilla
Posts: 9 Joined: May 4, 2012 Last seen: Feb 17, 2016 |
||
Can someone detail the proper and updated way to build the latest linux kernel for openrisc it seems as though the beginning section of http://or1k.debian.net/tmp/opencores/opencores.org/or1k/OpenRISC_GNU_tool_chain.html is outdated the site openrisc.net is no longer active. I attempted to pull the new uclibc and linux repositories from https://github.com/skristiansson/uClibc-or1k and https://github.com/skristiansson/linux.
Mainly I am looking for the proper way to install or32-linux-gcc which is required to compile the linux kernel. I have the or1k-elf toolchain and from what I understand or32 should be dated but right now is still required to build linux kernel from scratch. Can anyone give me direction? |
RE: Building Linux for OpenRisc
by dgisselq on Jun 22, 2015 |
dgisselq
Posts: 247 Joined: Feb 20, 2015 Last seen: Oct 24, 2024 |
||
You might want to try the OpenRisc Mailman forum. It tends to get a lot more traffic than this one. Check out this link here for more info. Dan |
RE: Building Linux for OpenRisc
by bonechilla on Jun 22, 2015 |
bonechilla
Posts: 9 Joined: May 4, 2012 Last seen: Feb 17, 2016 |
||
The initial issue I found digging through previous IRC discussions was resolvable by changing the line in the file arch/openrisc/kernel/vmlinux.lds.S from OUTPUT_FORMAT("elf32-or32", "elf32-or32", "elf32-or32") to OUTPUT_FORMAT("elf32-or1k", "elf32-or1k", "elf32-or1k"); however, other issues later surfaced and I found that it wasn't really kept up to date compared to the one in the repository held by openrisc. I actually found that for now it is not advantagous to use the latest linux kernel and instead use the one provided at https://github.com/openrisc/linux
You might want to try the OpenRisc Mailman forum. It tends to get a lot more traffic than this one. Check out this link here for more info. Dan Thank you Dan I will Look into this forum ~Kyle |



