On Mon, 2018-12-03 at 10:14 +0200, Nadav Har'El wrote:
> 
> Unfortunately, I haven't heard from anyone in the two groups who
> previously contributed the ARM support to OSv, so it's not making any
> progress.
> If I understand correctly, OSv still builds correctly for ARM (make
> arch=aarch64) but although the kernel supposedly worked, it didn't
> have disk drivers, so you can only build the example application into
> the kernel (i.e., a ramdisk, scripts/build image=... fs=ramfs).
> There's definitely no support for anything new which just came out.
> But if you're interested to work on it, you are very welcome to adopt
> OSv's ARM support.

I'm also interested in aarch64 support. I can get it to build the
release (though it tries to build the disk image using qemu-system-x86
which probably isn't going to help) - but it fails to start, hittng
entry_invalid in arch/aarch64/entry.S.

(gdb) bt
#0  entry_invalid () at arch/aarch64/entry.S:132
#1  0x00000000402c6f8c in debug_early (msg=0x200003c5 "", 
    msg@entry=0x404f93a8 "OSv v0.53.0-3-g8cd7d8aa\n") at
core/debug.cc:271
#2  0x00000000400d6898 in premain () at loader.cc:101
#3  0x00000000400c004c in start_elf () at arch/aarch64/boot.S:37

The debug release fails to build at all, failing like this:

...
  AS bootfs.S
  LINK loader.elf
build/debug.aarch64/arch/aarch64/boot.o: In function `start_elf':
/home/rickp/src/osv-armtest/arch/aarch64/boot.S:40:(.text+0x50):
relocation truncated to fit: R_AARCH64_LDST64_ABS_LO12_NC against
symbol `__loader_argc' defined in .bss section in
build/debug.aarch64/loader.o
/home/rickp/src/osv-armtest/arch/aarch64/boot.S:40: warning: One
possible cause of this error is that the symbol is being referenced in
the indicated code as if it had a larger alignment than was declared
where it was defined.
make: *** [build/debug.aarch64/loader.elf] Error 1
Makefile:1873: recipe for target 'build/debug.aarch64/loader.elf'
failed
make failed. Exiting from build script

If anyone else is interesting in making some progress, let me know -
it'd be great to get this booting on the new AWS instances (or if you
have hardware, that'd be interesting too!)

Cheers,
Rick

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to