On Wed, Dec 3, 2014 at 5:14 PM, Antti Kantee <[email protected]> wrote: > Ok, I got full stack compiling for ARM.
Great! > pooka@watou:~/rumpkernel/rumpuser-baremetal$ file rk.bin.gdb > rk.bin.gdb: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), > statically linked, not stripped > > MD support for PCI is missing. I can do it, but I'd rather do it when I > can test it somehow. So if you can get rumpuser-baremetal to a state > when it boots in a emulator, it would help greatly in that development. > Or if someone else wants to do it, I won't cry over it ... > > Hopefully the missing bits are now more obvious (arch/arm, start with > locore.S and the ldscript) > > Instructions follow (but I didn't test them from scratch, so disclaimers > apply): > > Did the following on x64 Ubuntu Linux 14.04. I didn't run into some of > the compiler whines mentioned earlier in this thread using the method > below, so those whines haven't been addressed yet. > > * get NetBSD sources: cvs co -d [email protected]:/cvsroot co src > * get repo.rumpkernel.org/src-netbsd, checkout appstack-src > * get repo.rumpkernel.org/buildrump.sh > > * in NetBSD src: ./build.sh -m evbarm -O ../obj.evbarm -N0 -j4 -U -u tools > * set CC to obj.evbarm/tooldir..../bin/...gcc (plus AR, NM, OBJCOPY) > * ./buildrump.sh -s ${APPSTACK_SRC} -V MKPIC=no -V RUMP_KERNEL_IS_LIBC=1 > -k -N kernelheaders fullbuild > * edit obj/tooldir/mk.conf and set MKSOFTFLOAT to "yes" > addresses following, didn't want to spiral down onto FP lossage avenue: > /tmp/ccIuvFzS.s:33: Error: selected processor does not support ARM > mode `vmrs r0,fpscr' (+) > * comment out the EABI strong_alias() calls in > appstack-src/common/lib/libc/arch/arm/string/mem{cpy,set,cmp}.S: > memcpy, memset8, memclr8, memcmp (see "++" below) > * set BUILDRUMP_SH and APPSTACK_SRC in env > * ./buildme.sh ("make" will fail, see next item) > * make IWANTARM=1 (you can iterate your platform development by running > just this step) > I am at the buildme.sh stage and it is failing due to not finding the c++ cross compiler for libunwind. Is that far enough along? -Andy ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ rumpkernel-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rumpkernel-users
