English Amiga Board


Go Back   English Amiga Board > abime.net - Hosted Projects > project.Green Amiga Alien GUIDES

 
 
Thread Tools
Old 21 June 2010, 00:57   #381
milanca
Registered User
 
Join Date: Oct 2008
Location: Serbia and Montenegro
Posts: 69
Quote:
Originally Posted by Dunny View Post
Complete lock-up, no keys respond and numlock light fails to switch off when I use the NumLock key, so it looks like it's pretty dead.
D.
Hi Dunny,

That is a kernel panic due to memory limit. Your config is fine now but you can't boot amithlon unless you downgrade your memory. You may try with Aros. I think it is also very hardware picky and doesn't work well with newer machines but you can give it a go.

Regards
milanca is offline  
Old 21 June 2010, 01:06   #382
Dunny
Registered User

Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 1,407
Quote:
Originally Posted by milanca View Post
Hi Dunny,

That is a kernel panic due to memory limit. Your config is fine now but you can't boot amithlon unless you downgrade your memory. You may try with Aros. I think it is also very hardware picky and doesn't work well with newer machines but you can give it a go.
Damn, and I suppose there's no way around that?

Tried AROS, but (1) it doesn't support my graphics card, and (2) it won't boot from anything but the CD... Even tried a bootable USB stick (which works fine booting my portable linux) and it just won't go

D.
Dunny is offline  
Old 21 June 2010, 08:59   #383
Pyromania
Moderator

Pyromania's Avatar
 
Join Date: Jan 2002
Location: Chicago, IL
Posts: 2,326
Has anyone got Amithlon to work on the i7?
Pyromania is offline  
Old 23 June 2010, 18:20   #384
Rodomoc
 
Posts: n/a
Milanca,

I have Asus P5KPL-CM motherboard. This has ICH7 chipset and theoretically is an Amithlon candidate or was w/ previous kernels. Will new kernel 4 support the ICH7? I have PCI version of FX5200 video card and it looks like you have supported this. I also have older Soundblaster Live! w/ proper EMU chip so I believe this is also supported as well. Any comments?

I do have copy of Amithlon and was never able to get it to work yet. I may re-attempt w/ kernel 4 if it looks like there is confidence in it working.

Thanks!
 
Old 23 June 2010, 20:41   #385
milanca
Registered User
 
Join Date: Oct 2008
Location: Serbia and Montenegro
Posts: 69
@Dunny,
I will experiment some more with AROS when i have more free time, my regular job is making a pressure on me now. I would like to test it myself so first free weekend and i will give it a go, maybe compile it myself and we'll see. I will keep you posted.

@Pyromania,
Yes, i am sure it is just fine to use i7 processor.

@Rodomoc,

That is one of the winning combinations, great! It is fully capable and everything is supported. It was confirmed that kern310 supports ICH7 as well but i haven't tested it myself. Graphic support is the same as it was in kern310 as i ported Bernie's and Gary's patches to kernel4. It would be a shame not to use that fully hardware supported configuration so here are some hints.

You probably were not able to boot with Amithlon's CD as it uses original, first version, kernel. What you can do is to remaster the cd and swap the kernel with kern310. Other option, a bit easier, is to use 'UNetBootin', nice little application which can make you a bootable usb flash drive. Select custom option, for kernel pick kern310 and for initrd you should select bigird.gz. In kernel parameters line paste this line:
Code:
console_level=0 init=/linuxrc root=/dev/ram0 mem=768M vga=769 ramdisk_size=2310 leavepages=5200 cachesize=65536
That's it. You should have 1gb of memory, not more. If you have less then modify it in the line with kernel parameters. Required amithlon partition, &76, you can create following Charlie's guide, with third party partitioning tools from Windows. You will need a bootloader later to be able to boot hdd installed os3.9 (once you install it). The same guide will help you on that. You can also use the bootloader from flash drive (unetbootin's one) to boot the hdd installed os3.9 if you don't wish to modify your existing one. If you need more help feel free to ask.

Happy using your amithlon!

-milanca
milanca is offline  
Old 29 June 2010, 02:55   #386
milanca
Registered User
 
Join Date: Oct 2008
Location: Serbia and Montenegro
Posts: 69
/* Update 28.06.2010 Kernel4 Amithlon */

Small update info for kernel4, but not less important. Now one more thing is done and completed and we can substitute all the previous versions with kernel4. Live support issue is resolved so the kernel4 can be used for both, live version - bigird, and the smallird for booting hdd installed os3.9.

For senior users it is all pretty much clear. For new users (i sincerely hope there will be many) i suggest following Charlie's guide or reading the other posts here. Interesting stuff can be found, booting off the usb flash drives, for example, can also help you with installing amithlon.

/* kernel parameters */

When booting both internal image or hdd installed os you should replace this part:
Code:
root=/dev/ram0
with:
Code:
root=/dev/ram1
or (for devfs)
Code:
root=/dev/rd/0
Simple as that! But ideas sometimes come very slowly ;-) slow to wrath!


/* sourceforge */

Amithlon kernel project is on the sourceforge now.
Thanks "KillaByte" for reminding me to make a git repository.

Project homepage is:
http://amithlon.sourceforge.net/

Files can be downloaded from:
http://sourceforge.net/projects/amithlon/


/* git repository */

http://amithlon.git.sourceforge.net/...tweb-index.cgi

Git repository can be cloned from (read only):
Code:
git://amithlon.git.sourceforge.net/gitroot/amithlon/amithlon

Donate option is also available from sourceforge page if you want to donate a small amount to support the project.
https://sourceforge.net/project/proj...roup_id=329813

Happy using your Amithlons!

Cheers!

-milanca
milanca is offline  
Old 29 June 2010, 07:41   #387
Heiroglyph
Registered User
 
Join Date: Jun 2010
Location: USA
Posts: 88
I'm interested in helping with Amithlon, is there anything organized?

I'm going over the sources I've found becoming familiar at the moment.

One thing I haven't found are the sources for the linuxrc inside the initrd's (bigird.gz, etc), that's where much of the magic happens.

Since it's obviously based around a lot of GPL'd code, where is it?
Heiroglyph is offline  
Old 29 June 2010, 10:19   #388
Dunny
Registered User

Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 1,407
Just waiting for >1GB RAM support now!

D.
Dunny is offline  
Old 29 June 2010, 14:42   #389
milanca
Registered User
 
Join Date: Oct 2008
Location: Serbia and Montenegro
Posts: 69
Quote:
Originally Posted by Heiroglyph View Post
I'm interested in helping with Amithlon, is there anything organized?

I'm going over the sources I've found becoming familiar at the moment.

One thing I haven't found are the sources for the linuxrc inside the initrd's (bigird.gz, etc), that's where much of the magic happens.

Since it's obviously based around a lot of GPL'd code, where is it?
So far, regarding the kernel project, it is an one man band project but lots of people helped providing patches for porting.

Only the kernel is open source. Amithlon's core, heart and soul, is unfortunately close source and thus linuxrc (good question though) is ELF32 binary file.
milanca is offline  
Old 29 June 2010, 16:38   #390
Heiroglyph
Registered User
 
Join Date: Jun 2010
Location: USA
Posts: 88
I guess this project was just littered with licensing problems, not just from Amiga Inc, but also GPL violations.

I'll still try to help with a new kernel, but not being able to work on the actual emulator will be very limiting.

That part really needs to be reverse engineered and updated. If it could be, then the kernels probably wouldn't be so problematic.
Heiroglyph is offline  
Old 29 June 2010, 23:18   #391
Heiroglyph
Registered User
 
Join Date: Jun 2010
Location: USA
Posts: 88
I found an interview where Bernd says that the emulator is rewritten UAE bits and a few pieces (like the JIT) that he has permission/license to sell closed source.

That's a shame, not only did he get screwed, we did too

I'm still very interested in investigating how he did it and making a clean replacement though.

Most of the large/hard parts are open sourced, such as the CPU emulation.
Heiroglyph is offline  
Old 30 June 2010, 13:33   #392
Ratte
Registered User
 
Join Date: Sep 2008
Location: Germany
Posts: 318
Quote:
Originally Posted by milanca View Post
So far, regarding the kernel project, it is an one man band project but lots of people helped providing patches for porting.

Only the kernel is open source. Amithlon's core, heart and soul, is unfortunately close source and thus linuxrc (good question though) is ELF32 binary file.
But some "hints" exists in the documentation from UAE.
Read the JIT.readme and the PCI-part ... UAE0.8.21 ;-)
I think the "magic" is inside the extended ROMTags $f00000-$f80000.
(floppy.device, amithlon.resources, x86-68k code exchange)

Its like a LinuxUAE with basic OCS emulation (bootscreen and !vertical dragable! ocs-screens) and PCI-subsystem.

A job for the IDA ...
Ratte is offline  
Old 01 July 2010, 11:46   #393
luca
 
Posts: n/a
Good job Milanca! Your efforts are really appreciated by many here on EAB.

Now if someone could port OWB for morphos (http://fabportnawak.free.fr/owb/ ) to Amithlon, now that amithlon runs on modern PCs, that would be the icing on the cake.
Most libraries needed are already present on 68k. I tried my hand at porting it myself, but I don't have experience in programming on the Amiga, so I gave up.
 
Old 03 July 2010, 17:55   #394
Heiroglyph
Registered User
 
Join Date: Jun 2010
Location: USA
Posts: 88
Can someone explain the meaning of the custom kernel parameters?

For example, leavepages and how you determine the value?

Thanks,
John
Heiroglyph is offline  
Old 07 July 2010, 16:32   #395
milanca
Registered User
 
Join Date: Oct 2008
Location: Serbia and Montenegro
Posts: 69
Hi guys,

@Heiroglyph,

It is used to reserve the memory for amithlon. For example, leavepages 5000 (x 4096) will reserve 20MB for it. Initrd is also in that memory range so for bigird you will need leavepages 8000 which is 32MB. It will be deducted from total memory defined by mem=XxX.

@Heiroglyph, Ratte,

I agree with you guys. I think there are licensing problems. I don't fully understand GPL (never gone deeper into it) but from what i know i don't think it's entirely respected.

Regarding Umilator, only licensed part it contained was the minimal OS3.9 installation. It's core had no H&P code, just Bernie's.

Yes, i am sure it's core is slightly modified JIT-UAE. I know how to use it but, truly, i don't fully understand how it works (yet).
milanca is offline  
Old 09 July 2010, 14:09   #396
RolyAmiga
 
Posts: n/a
Hello anyone! I got working My PC nf2 it show sata hdd Kernel-2.4.37.9 for Amithlon!

Hi Anyone! I was work on Rad Hat 7.3 OS to build it for amithlon source.

get download from http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.37.9.tar.bz2 then
get patch file for kernel amithlon

http://ftp.itb.ac.id/pub/sourceforge...9.diff.tar.bz2
patch it

kernel to fixed some change from

.config cofig.old include/linux/autoconf.h

diff -Naur linux-2.4.37.9/.config linux-2.4.37.9-amithlon/.config
--- linux-2.4.37.9/.config 2010-02-01 22:04:46.000000000 +0100
+++ linux-2.4.37.9-amithlon/.config 2010-02-18 02:04:05.000000000 +0100
@@ -23,42 +26,45 @@
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
-# CONFIG_M586TSC is not set
+CONFIG_M586TSC=y
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
-CONFIG_MPENTIUMIII=y
+# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MELAN is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_L1_CACHE_SHIFT=5
+CONFIG_X86_USE_STRING_486=y
+CONFIG_X86_ALIGNMENT_16=y
CONFIG_X86_HAS_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_PGE=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
+CONFIG_X86_PPRO_FENCE=y
CONFIG_X86_F00F_WORKS_OK=y
CONFIG_X86_MCE=y
CONFIG_TOSHIBA=m
CONFIG_I8K=m
CONFIG_MICROCODE=m
CONFIG_X86_MSR=m
-CONFIG_X86_CPUID=m
+CONFIG_X86_CPUID=y
# CONFIG_EDD is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
diff -Naur linux-2.4.37.9/.config.old linux-2.4.37.9-amithlon/.config.old
--- linux-2.4.37.9/.config.old 2010-02-01 22:04:46.000000000 +0100
+++ linux-2.4.37.9-amithlon/.config.old 2010-02-18 02:04:05.000000000 +0100
@@ -23,42 +26,45 @@
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
-# CONFIG_M586TSC is not set
+CONFIG_M586TSC=y
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
-CONFIG_MPENTIUMIII=y
+# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MELAN is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_L1_CACHE_SHIFT=5
+CONFIG_X86_USE_STRING_486=y
+CONFIG_X86_ALIGNMENT_16=y
CONFIG_X86_HAS_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_PGE=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
+CONFIG_X86_PPRO_FENCE=y
CONFIG_X86_F00F_WORKS_OK=y
CONFIG_X86_MCE=y
CONFIG_TOSHIBA=m
CONFIG_I8K=m
CONFIG_MICROCODE=m
CONFIG_X86_MSR=m
-CONFIG_X86_CPUID=m
+CONFIG_X86_CPUID=y
# CONFIG_EDD is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
diff -Naur linux-2.4.37.9/include/linux/autoconf.h linux-2.4.37.9-amithlon/include/linux/autoconf.h
--- linux-2.4.37.9/include/linux/autoconf.h 2010-02-01 22:04:46.000000000 +0100
+++ linux-2.4.37.9-amithlon/include/linux/autoconf.h 2010-02-18 02:04:05.000000000 +0100
@@ -24,47 +26,49 @@
#undef CONFIG_M386
#undef CONFIG_M486
#undef CONFIG_M586
-#undef CONFIG_M586TSC
+#define CONFIG_M586TSC 1
#undef CONFIG_M586MMX
#undef CONFIG_M686
-#define CONFIG_MPENTIUMIII 1
+#undef CONFIG_MPENTIUMIII
#undef CONFIG_MPENTIUM4
#undef CONFIG_MK6
#undef CONFIG_MK7
#undef CONFIG_MK8
#undef CONFIG_MELAN
#undef CONFIG_MCRUSOE
#undef CONFIG_MGEODE_LX
#undef CONFIG_MWINCHIPC6
#undef CONFIG_MWINCHIP2
#undef CONFIG_MWINCHIP3D
#undef CONFIG_MCYRIXIII
#undef CONFIG_MVIAC3_2
#define CONFIG_X86_WP_WORKS_OK 1
#define CONFIG_X86_INVLPG 1
#define CONFIG_X86_CMPXCHG 1
#define CONFIG_X86_XADD 1
#define CONFIG_X86_BSWAP 1
#define CONFIG_X86_POPAD_OK 1
#undef CONFIG_RWSEM_GENERIC_SPINLOCK
#define CONFIG_RWSEM_XCHGADD_ALGORITHM 1
#define CONFIG_X86_L1_CACHE_SHIFT (5)
+#define CONFIG_X86_USE_STRING_486 1
+#define CONFIG_X86_ALIGNMENT_16 1
#define CONFIG_X86_HAS_TSC 1
#define CONFIG_X86_GOOD_APIC 1
#define CONFIG_X86_PGE 1
#define CONFIG_X86_USE_PPRO_CHECKSUM 1
+#define CONFIG_X86_PPRO_FENCE 1
#define CONFIG_X86_F00F_WORKS_OK 1
#define CONFIG_X86_MCE 1
#undef CONFIG_TOSHIBA
#define CONFIG_TOSHIBA_MODULE 1
#undef CONFIG_I8K
#define CONFIG_I8K_MODULE 1
#undef CONFIG_MICROCODE
#define CONFIG_MICROCODE_MODULE 1
#undef CONFIG_X86_MSR
#define CONFIG_X86_MSR_MODULE 1
-#undef CONFIG_X86_CPUID
-#define CONFIG_X86_CPUID_MODULE 1
+#define CONFIG_X86_CPUID 1
#undef CONFIG_EDD
#define CONFIG_NOHIGHMEM 1
#undef CONFIG_HIGHMEM4G

then patch it again then to building it new kernel amithlon then to boot nforce2 PC it working and show sata hard drive disk and ide hard drive disk too, to show mount drives. ntfs, ext2/3, fat32, fat16. I see it files etc.
 
Old 10 July 2010, 00:15   #397
Dunny
Registered User

Dunny's Avatar
 
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 1,407
Quote:
Originally Posted by RolyAmiga View Post
Hi Anyone! I was work on Rad Hat 7.3 OS to build it for amithlon source.

get download from http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.37.9.tar.bz2 then
get patch file for kernel amithlon

http://ftp.itb.ac.id/pub/sourceforge...9.diff.tar.bz2
patch it

kernel to fixed some change from

[Snip]

then patch it again then to building it new kernel amithlon then to boot nforce2 PC it working and show sata hard drive disk and ide hard drive disk too, to show mount drives. ntfs, ext2/3, fat32, fat16. I see it files etc.
Can it run with 2GB of RAM?

D.
Dunny is offline  
Old 10 July 2010, 06:28   #398
RolyAmiga
 
Posts: n/a
Hello anyone! I got working My PC nf2 it show sata hdd Kernel-2.4.37.9 for Amithlon!

Hi again guys,

Only I has 1gb ram on nforce2 PC use new amithlon linux- 2.4.37.9 works well.

But old amthlon kernel-2.4.19-pre4 or Kernel 3.10 same source in kernel-2.4.19-pre4 too is crap !

been crashed it what why.

I not have been test it for 2gb ram yet try it later.
 
Old 11 July 2010, 09:16   #399
RolyAmiga
 
Posts: n/a
Hi Guys, You Must be New Amithlon Kernel on MAX 1GB RAM Memory for All PC!

Hi Guys.

I did try it use 2GB RAM Memory But Wont Show on Screen Logo Boing Ball

and try with mem=768M Still Wont Work.

You Don't Need It 1.5GB RAM or 2GB RAM And More To Over 3GB RAM on Your PC!

Because Linux OS has some Patch it Memory from kernel source there some more 2GB and over 4GB RAM what why.

Only Use 1GB RAM MAX on PC It working use Amithlon kernel-2.4.37.9 and no need to add mem=768M what all.

I am use Boot GRUB Loader.

# Give me my ram back
title Amithlon Amiga OS
root (hd0,0)
kernel /amithlon/emubox.gz console_level=0 init=/linuxrc root=/dev/ram0 vga=769 ramdisk_size=2310 leavepages=5200
initrd /amithlon/smallird.gz
title Amithlon Amiga OS With RAM-DISK HDD
root (hd0,0)
kernel /amithlon/emubox.gz console_level=0 init=/linuxrc root=/dev/ram0 vga=769 ramdisk_size=12010 leavepages=7400 crusoe
initrd /amithlon/bigird.gz

 
Old 11 July 2010, 14:51   #400
KillaByte
Registered User
 
Join Date: Jun 2009
Location: Germany
Posts: 71
If anyone ever musters up the courage to touch the JIT these two projects might be worth looking at:
http://en.wikipedia.org/wiki/QEMU#Tiny_Code_Generator
http://www.pagetable.com/?p=317
KillaByte is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
My first guide - Drakkhen leveling guide Fragger Nostalgia & memories 2 08 April 2010 22:35
Amithlon / AHI Sound Configuration Guide? dframeli New to Emulation or Amiga scene 10 11 September 2009 23:51
Amithlon-Guide / PDF-version Paul News 0 10 March 2006 16:43
Amithlon Peter Leyland Amiga scene 1 11 February 2003 03:43
Amithlon eldiablo10 support.WinUAE 6 20 September 2001 20:19

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:49.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.09468 seconds with 14 queries