|
NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
n00b question: how to cross-compile NetBSD
how to cross-compile NetBSD kernel for evbarm
the guides on netbsd website are not really helpful ( at least for me) https://www.netbsd.org/docs/guide/en...-config-kernel http://netbsd.gw.com/cgi-bin/man-cgi...BSD-6.0.1+i386 target CPU: Allwinner A10
__________________
Plast0000 |
|
|||
What board do you have? The evbarm directory is organized by board not by CPU. That'll help us figure out which one you need.
|
|
|||
well I'm trying to, but it's somewhat complex for me, I'm a noob
__________________
Plast0000 |
|
|||
it's a CUBIEBOARD
__________________
Plast0000 |
|
|||
OK. Judging by the NetBSD docs, something like this should work:*
Check out src tree to /usr/src Code:
# cd /usr/src && mkdir -p /usr/obj # ./build.sh -m evbearmv7hf-el tools # cd /usr/src/sys/arch/evbarm/conf/CUBIEBOARD && cp GENERIC CUBIE You can then edit the CUBIE kernel but I don't see a need for that. Code:
# cd /usr/src # ./build.sh -u -m evbearmv7hf-el kernel=CUBIE # ./build.sh -U -u -m evbearmv7hf-el release # ./build.sh -U -x -u -m evbearmv7hf-el release * I do not use NetBSD this is just my best guess based on reading the docs. |
|
|||
those guides got me puzzled to be honest
__________________
Plast0000 |
|
|||
Quote:
__________________
Plast0000 |
Tags |
arm, cross-compile, kernel, netbsd 6.1 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to cross-compile the kernel? | Skinny | OpenBSD General | 11 | 26th November 2012 05:38 PM |
Cross compile on ADM5120 | martijn | NetBSD General | 0 | 21st September 2010 08:08 PM |
Delete compilers to cross compile | revzalot | OpenBSD Installation and Upgrading | 9 | 28th August 2009 08:06 PM |
edonkey n00b question | disappearedng | FreeBSD General | 5 | 17th November 2008 10:09 AM |
n00b Eclipse question | disappearedng | FreeBSD General | 3 | 3rd November 2008 05:29 PM |