Re: ELKS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Alexandre,

Thanks for your feedback ! Let us take the points one by one:

FPU : actually a useless option, as ELKS kernel is not using the math coprocessor at all (and does not need it). Maybe usefull for user land programs, but not used either, so the best option would be to remove that FPU option, as it is error prone, unless FPU really used somewhere. To be done in a next commit.

Unix socket : already known problem, already fixed, but not pushed yet. Will come in a short time...

FAT support : new regression coming from the latest move to GCC-IA16. To be fixed in a next commit.

SWAP : actually an irrelevant option (see issue https://github.com/jbruchon/elks/issues/246). Swap code & option to be removed in a next commit.

Boot problem : known problem currently under discussion (see discussion with Paul on this mailing list and issue https://github.com/jbruchon/elks/issues/253). First fixes will come shortly.

MFLD


Le 20/04/2019 à 12:00, Александр Никульцев a écrit :
I building ELKS from Ubuntu 18.04

sudo apt update
sudo apt -y install build-essential flex bison libgpm-dev libmpfr-dev
libmpc-dev textinfo git ncurses-dev
cd opt
git clone clone https://github.com/jbruchon/elks.git
cd elks
mkdir cross
./tool/env.sh
./build.sh

If i enable support FPU, i have this error:

gcc -E -traditional -I/opt/elks/include -I/opt/elks/elks/include
-I/opt/elks/libc/include -DELKS_VERSION_CODE=0x00030000
-DUTS_RELEASE=\"0.3.0\" -D__KERNEL__ -DUSE_IA16 -o boot/setup.tmp
boot/setup.S
ia16-elf-as -mtune=i8086  -o boot/setup.o boot/setup.tmp
boot/setup.S: Assembler messages:
boot/setup.S:873: Error: no instruction mnemonic suffix given and no
register operands; can't size instruction
boot/setup.S:877: Error: no instruction mnemonic suffix given and no
register operands; can't size instruction




If i enable unix socks, i have this error:

unix/af_unix.c:213:22: note: each undeclared identifier is reported
only once for each function it appears in
unix/af_unix.c:213:35: error: expected expression before ‘)’ token
      if (get_user(&(((sockaddr_un *)uservaddr)->sun_family)) != AF_UNIX)






If i enable msdos fat support, i have this error:

inode.c: At top level:
inode.c:79:21: error: conflicting types for ‘msdos_read_super’
  struct super_block *msdos_read_super(register struct super_block *s,
                      ^~~~~~~~~~~~~~~~
In file included from inode.c:7:0:
/opt/elks/elks/include/linuxmt/msdos_fs.h:165:28: note: previous
declaration of ‘msdos_read_super’ was here
  extern struct super_block *msdos_read_super(struct super_block *s,void *data);




If I enable SWAP, i have many many error.
But disabling all option, which contain errors, compilation ending.
HD image write to Compact Flash and booting my XT, that 3 string to
screen and motor on FDD1
After 2-3 second FDD1 motor off

MINIX boot
Sector2!
Press Key

If i press any key, XT rebooting

Any idea?

P.S> sorry from my bad english

Best Regards
Alex@Airman




[Index of Archives]     [Kernel]     [Linux ia64]     [DCCP]     [Linux for ARM]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux