Open lunaneff opened 4 years ago
1.did you follow the order to build all the objects?
#ZELDA=/path/to/ZeldaOS/ make runtime_install
#ZELDA=/path/to/ZeldaOS/ make app_install
#ZELDA=/path/to/ZeldaOS/ make drive
#ZELDA=/path/to/ZeldaOS/ make
the oder to build the project matters a lot.]
could you try a different host with Centos7 installed ?
thanks, Jie
by doing #ZELDA=/path/to/ZeldaOS/ make runtime_install
. it generates system call wrappers in syscall_inventory0.c and c runtime entry crt0.c. there should be no symbol conflicts if we compile them with gcc flags -nostdlib -fno-builtin.
I followed the order and have GCC 9.2.0 on my machine. I'll try using a CentOS 7 VM
Compiling on the VM seemed to work, I'll write the ISO to a USB drive and try on real hardware
Trying on real hardware doesn't work, maybe because both devices I've tried on are 64 bit?
I was able to boot it with qemu
Trying on real hardware doesn't work, maybe because both devices I've tried on are 64 bit?
once I booted on real server, I am not sure the latest version could work for bare metal server. did you see the splash window? if so, the boot device works fine while the kernel does not.
if kernel doesn't work, we have to plug a serial port cable to observe what's happening. you can also increase the logging verbosity here:
https://github.com/chillancezen/ZeldaOS/blob/master/zelda_config.h#L12
regards.
Both of my PCs didn't detect the USB as boot device, so I didn't even get into GRUB
On Tue, Nov 12, 2019, 02:23 Jie Zheng notifications@github.com wrote:
Trying on real hardware doesn't work, maybe because both devices I've tried on are 64 bit?
once I booted on real server, I am not sure the latest version could work for bare metal server. did you see the splash window? if so, the boot device works fine while the kernel does not.
if kernel doesn't work, we have to plug a serial port cable to observe what's happening. you can also increase the logging verbosity here: https://github.com/chillancezen/ZeldaOS/blob/master/zelda_config.h#L12
regards.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chillancezen/ZeldaOS/issues/2?email_source=notifications&email_token=AHEZH54UPANUVTCY2UR5OJTQTIARBA5CNFSM4JLU7K2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDYWJKI#issuecomment-552690857, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHEZH54KULXCTQ55JZA4MHLQTIARBANCNFSM4JLU7K2A .
Both of my PCs didn't detect the USB as boot device, so I didn't even get into GRUB … On Tue, Nov 12, 2019, 02:23 Jie Zheng @.***> wrote: Trying on real hardware doesn't work, maybe because both devices I've tried on are 64 bit? once I booted on real server, I am not sure the latest version could work for bare metal server. did you see the splash window? if so, the boot device works fine while the kernel does not. if kernel doesn't work, we have to plug a serial port cable to observe what's happening. you can also increase the logging verbosity here: https://github.com/chillancezen/ZeldaOS/blob/master/zelda_config.h#L12 regards. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#2?email_source=notifications&email_token=AHEZH54UPANUVTCY2UR5OJTQTIARBA5CNFSM4JLU7K2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDYWJKI#issuecomment-552690857>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHEZH54KULXCTQ55JZA4MHLQTIARBANCNFSM4JLU7K2A .
oh, I see, I think you need a legacy BIOS bootabe machine instead of newer UEFI only machine.
I once booted the image on my macbook pro, it failed due to no BIOS support.
Maybe I can enable legacy boot in my firmware, otherwise it may be possible to install UEFI GRUB
I'm getting these errors while compiling on Manjaro, which is arch-based. What could be the issue?