flat assembler
Message board for the users of flat assembler.

Index > Linux > Here you can find LINUX X86-64 Mini Floppy

Goto page 1, 2  Next
Author
Thread Post new topic Reply to topic
XDEV86



Joined: 04 Jul 2005
Posts: 15
XDEV86
Hello! Here you can find X86-64 linux floppy!
It includes:
1) Linux Kernel 2.6.11-cko5 64bit + IA32 Emulation
2) BusyBox 1.00 20050704 (32bit) snapshot
3) uClibC (32-bit) 0.9.?
3) FASM 1.62 (elfexe and elfexe64 from examples won't run, look at the forum)
4) Nbench (32bit) benchmark

In package you can find emulator (QEMU X86_64)!
P.S This package is first LINUX Floppy :? :D


Last edited by XDEV86 on 04 Jul 2005, 20:45; edited 1 time in total
Post 04 Jul 2005, 20:24
View user's profile Send private message Reply with quote
XDEV86



Joined: 04 Jul 2005
Posts: 15
XDEV86
http://development.pisem.net/linux64.exe - Full Package
http://development.pisem.net/sys64.exe - Only Floppy Image
http://development.pisem.net/sys64.iso.exe - Only ISO (CD) Image

http://development.pisem.net/sys486.zip - 32bit version floppy image
http://development.pisem.net/sys486.iso.exe - 32bit version ISO (CD) image

This is RAR SFX Arcs (Sorry, but I forgot to change SFX language - it is russian, but system is English).


Last edited by XDEV86 on 16 Jul 2005, 14:54; edited 5 times in total
Post 04 Jul 2005, 20:42
View user's profile Send private message Reply with quote
fly



Joined: 27 Apr 2005
Posts: 11
Location: Salzburg, Austria
fly
is this package able to emulate x86_64 user code, in other words - can it execute ELF64 binarys?
can you post a link to the forum-thread you mentioned, please?
Post 05 Jul 2005, 19:23
View user's profile Send private message Reply with quote
XDEV86



Joined: 04 Jul 2005
Posts: 15
XDEV86
Yes, this package can execute ELF64 binaries. The base of it is a QEMU - PC emulator, with x86_64 emulation. There is linux 2.6.11 for x86_64 on floppy. QEMU executes this floppy, and gives you full X86_64 linux kernel, but more slowly, than on a real AMD64 CPU.

I have installed full Mandrake Linux 10.2 for X86_64 on QEMU!! ))))
And I can make linux64 pak with gcc, binutils, libc (if you want ))).

elfexe64 won't run, because I use linux 2.6.11, which needs writable .bss section in your EXE. (http://board.flatassembler.net/topic.php?t=3689)

So, fixed code (works in emulator!):
Code:
; fasm demonstration of writing 64-bit ELF executable

format ELF64 executable

section readable writeable

msg db 'Hello 64-bit world!',0xA
msg_size = $-msg

section readable executable

entry $

        mov     eax,4
        mov     ebx,1
        mov     rcx,msg
        mov     edx,msg_size
        int     0x80

        mov     eax,1
        xor     ebx,ebx
        int     0x80

section readable executable
    dummy dd ?
               db ?
               dw ?
    


Some info: http://development.pisem.net/linux64.htm

P.S The kernel on floppy is real X86_64 exe (kELF64?)! You can try to run it on 32bit machine - it will stop, because 32bit cpu cannot run 64bit kernel ))). SYS.IMA - is a 1.44MB floppy image.
Post 05 Jul 2005, 20:15
View user's profile Send private message Reply with quote
THEWizardGenius



Joined: 14 Jan 2005
Posts: 382
Location: California, USA
THEWizardGenius
Is there a x86-32 for floppy too? I've tried several in the past (don't remember which ones), but never got them working. I like Linux but one of my computers' hard drive is not working and until I get a new one I still want to use the computer (the old one is a 486). Does anyone use a 32-bit floppy Linux, and if so, what do you recommend and where can I download it? Thanks.

PS. I am not expecting a full system configuration (GNU utilities, GUI's, etc.) I just want an OS that I can use and have at least a basic Linux kernal, with the few basic programs that Linux always has.
Post 06 Jul 2005, 23:30
View user's profile Send private message AIM Address Reply with quote
XDEV86



Joined: 04 Jul 2005
Posts: 15
XDEV86
THEWizardGenius: Yes, I can make 32bit linux for you! Now I listen MP3s on my old 486 (8MB RAM) with sound card and CD-ROM [without HDD] )))). I make LINUX for myself, because I want have fully customized mini-linux. Tell me please your 486 full config(cpu model, sound card?, maybe CD-ROM??, network?), and I shall make linux floppy for you. )))
Post 07 Jul 2005, 06:37
View user's profile Send private message Reply with quote
THEWizardGenius



Joined: 14 Jan 2005
Posts: 382
Location: California, USA
THEWizardGenius
I am using an old laptop with a soundcard that doesn't work and no CD-ROM. I will see if I can find the model. I have 16MB RAM on the laptop. I don't have a network yet.
The computer with an HD that doeesn't work is a Intel Celeron processor. It has 256MB RAM, 1.8GHz processor, and a working CD-RW drive. It also has an integrated sound card, and unfortunately I have no clue what the Port, DMA, or IRQ for this card is (it might be PnP, I don't know).
Thanks!
Post 07 Jul 2005, 18:24
View user's profile Send private message AIM Address Reply with quote
XDEV86



Joined: 04 Jul 2005
Posts: 15
XDEV86
Ok, I shall make linux floppy for you today. )))
Post 07 Jul 2005, 18:42
View user's profile Send private message Reply with quote
XDEV86



Joined: 04 Jul 2005
Posts: 15
XDEV86
As I promised I have made for you mini 32bit linux for 486. It has only base utils, no special programs. Kernel have support for COM ports, LPT, optionally CD-ROM and HDD, VGA16 Framebuffer (640x480), PCI, ISA, PnP, RCT, loopback, ramdisk, APM (for laptop)) and other. Supported fs: VFAT, EXT2, EXT3, Compressed BZIP2 Ext2, NTFS, SquashFs 2.1, Minix, ROM etc. No network or sound support. For your Celeron I can recommend DSL(Damn Small Linux) - a Linux On CD (50 MB) with XFree (http://www.damnsmalllinux.org), or BIG Knoppix (700 MB on CD = ~2GB compressed soft).

This kernel on floppy supports HDD and CD-ROM, but first you must load modules for it.
To load drivers:
for CD-ROM: modprobe ide-cd; modprobe cdrom
for HDD: modprobe ide-disk
The rootfs of system is SquashFs - compressed read only FS, but important folders (/var,/root,/tmp,/mnt,/etc) are remount to tmpfs (RAMFS) for read-write access. For device management, system use DevFS, so you don't need to manually add you devices into /dev.

If you will have some wishes or questions, please tell it!! I shall be very happy ))))

Soft On Floppy:
Linux Kernel 2.6.11-cko5 (I don't like 2.6.12 )))
BusyBox 1.00 20050704 (system utilities in one exe ))
uClibC 0.9.27 (mini C library)
and some config files

All Soft On Floppy Is Optimized For 486, Kernel Optimization Is For Speed.

http://development.pisem.net/sys486.zip
Post 07 Jul 2005, 22:12
View user's profile Send private message Reply with quote
THEWizardGenius



Joined: 14 Jan 2005
Posts: 382
Location: California, USA
THEWizardGenius
Thanks!
Post 08 Jul 2005, 00:45
View user's profile Send private message AIM Address Reply with quote
THEWizardGenius



Joined: 14 Jan 2005
Posts: 382
Location: California, USA
THEWizardGenius
I have a vfat drive on the laptop. I used the modprobe command to install the hard disk module. However, when I used the mount command a bunch of error messages showed up:

"-t and -C options not supported"
and
"Unsuccessful mount: directory not found"

These are not the exact messages, but you get the idea. Am I doing something wrong? How do I mount/use a vfat (or any other type) filesystem in SYSLINUX?

_________________
FASM Rules!
OS Dev is fun!
Pepsi tastes nasty!
Some ants toot!
It's over!
Post 09 Jul 2005, 00:42
View user's profile Send private message AIM Address Reply with quote
XDEV86



Joined: 04 Jul 2005
Posts: 15
XDEV86
No, SYSLINUX is Linux loader. Hmm, if you had hdd on laptop, i shall recompile kernel, to built-in drivers. I have tested system now, I have saw that bug. I shell fix it today. ))
Post 09 Jul 2005, 08:30
View user's profile Send private message Reply with quote
XDEV86



Joined: 04 Jul 2005
Posts: 15
XDEV86
Ok, I had updloaded updated linux.
http://development.pisem.net/sys486.zip

And it has a new featurte: On boot system tries to mount floppy and run init script from it. You can edit A:\init to customize linux boot (or mount hdd). HDD drivers now are built-in kernel. No modules need.

Example how to mount hda1:
mkdir /mnt/hd;
mount /dev/hda1 /mnt/hd;
Post 09 Jul 2005, 17:41
View user's profile Send private message Reply with quote
THEWizardGenius



Joined: 14 Jan 2005
Posts: 382
Location: California, USA
THEWizardGenius
Great. Thanks!

edit: Works great with VFAT too! Thanks!
Post 11 Jul 2005, 19:05
View user's profile Send private message AIM Address Reply with quote
XDEV86



Joined: 04 Jul 2005
Posts: 15
XDEV86
That's good )))
Post 13 Jul 2005, 19:07
View user's profile Send private message Reply with quote
Rohan



Joined: 14 Jul 2005
Posts: 13
Rohan
Where I can download sourse code ?
Post 14 Jul 2005, 11:13
View user's profile Send private message Reply with quote
XDEV86



Joined: 04 Jul 2005
Posts: 15
XDEV86
I used many programs to built this system, but it all are free (GLP). Info: http://development.pisem.net/linux64.htm. To built this system I used no scripts, but I used /dev/hands, /dev/internet (/dev/ppp0) Wink I rebuilt kernel much more than 50 times )). And All I do with hands, I read many documentation. If you had some questions, you can tell it!
Post 14 Jul 2005, 19:52
View user's profile Send private message Reply with quote
franz79



Joined: 13 Jul 2004
Posts: 11
Location: POLAND
franz79
Hi Very Happy
I have big problem with your linux64, i try download many times ...
but download not work (no found error ) Can You XDEV86 put new working link to linux64 with qemu full install

Thank You
Post 15 Jul 2005, 21:04
View user's profile Send private message Reply with quote
Rohan



Joined: 14 Jul 2005
Posts: 13
Rohan
How install it on Hd (fat), or boot from cd
I want to test it, but floppy is die Sad
Post 16 Jul 2005, 09:14
View user's profile Send private message Reply with quote
XDEV86



Joined: 04 Jul 2005
Posts: 15
XDEV86
franz79: This mail hosting kills this files (((. I shall upload files today. ))
Rohan: OK, I made CD (ISO) images for you, just burn it.


Last edited by XDEV86 on 16 Jul 2005, 14:44; edited 2 times in total
Post 16 Jul 2005, 13:57
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page 1, 2  Next

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2019, Tomasz Grysztar.

Powered by rwasa.