Thread: [Emile-devel] Bootable Debian install CD-ROM for Mac 68k
Status: Beta
Brought to you by:
lvivier
From: Laurent V. <la...@lv...> - 2006-10-20 23:24:43
Attachments:
PGP.sig
|
Hi, I'm happy to announce EMILE, my bootloader for Macintosh m68k, is now able to create bootable CD-ROM. I've juste created an install CD-ROM for sarge. But as it contains Apple copyrighted materials (the AppleDriver), it cannot be distributed widely. It's only a first step, I'm working on writing a "dummy" AppleDriver of my own (a real AppleDriver is not needed for Linux... I guess) For the moment, EMILE must extract an AppleDriver from a MacOS bootable CDROM. But if you want to try it, you can download it from http://vivierlaurent.free.fr/Debian_3.1_r0a_m68k_Bin-1-boot.img (MD5: a4819b5f8fffabede499ddf52aa66728) (if you want to create your own, take packages/binaries from http:// emile.sf.net/SNAPSHOT and mail me to know how) And Remember: 1- To be able to boot from a CD-ROM, the macintosh must have an Apple CD-ROM drive, not a pioneer, yamaha or other... only Apple. 2- All Apple drives I know are not able to manage CD-RW disk, so use a CD-R disk (at your own risks. Personally I burnt 22 CD-R to make this development and thus gave a lot of money to music artists: because of french tax on CD-R, a CD-R costs 0,70 euros... hey, SACEM, I'm an artist too !) 3- after your test, detroy the CD because it contains Apple copyrighted materials ;-) (Hey, Steve, could we use your materials for our debian bootable CD ?) To speak about another subject, m68k buildd, if someone thinks qemu can be faster than aranym, I can work on the port of qemu to 68020... Peace & Love ;-) Laurent ---------------------- Laurent Vivier ---------------------- "Imagination is more important than knowledge." |
From: Brad B. <fl...@al...> - 2006-10-21 00:23:44
|
On Sat, Oct 21, 2006 at 01:24:30AM +0200, Laurent Vivier wrote: > I'm happy to announce EMILE, my bootloader for Macintosh m68k, is now > able to create bootable CD-ROM. > > I've juste created an install CD-ROM for sarge. This is definitely a good thing. Thank you for putting in this effort, as I'm sure a fair number of us will appreciate it in the future. In fact, the ppc people might even appreciate it if it helps getting CD-ROM boot to work on oldworld or nubus powermacs. > But as it contains Apple copyrighted materials (the AppleDriver), it > cannot be distributed widely. > It's only a first step, I'm working on writing a "dummy" AppleDriver > of my own (a real AppleDriver is not needed for Linux... I guess) > For the moment, EMILE must extract an AppleDriver from a MacOS > bootable CDROM. My understanding is that while Linux itself doesn't need the AppleDriver, the ROM will ignore a drive that doesn't have something that at least looks like a valid driver. It will automatically try to load the driver from each drive and try to use it, and I'm pretty sure that any failures remove that disk from the boot order. However, Apple does have a fair amount of documentation on how to write the driver. It's just extra work that noone has had time to finish. I read the docs at one point and came to the conclusion that other work had a higher priority. Apple always supported 3rd-party drivers, since they deliberately didn't license their own for use on drives from other companies. Brad Boyer fl...@al... |
From: Laurent V. <la...@lv...> - 2006-10-21 10:19:23
Attachments:
PGP.sig
|
Le 20 oct. 06 à 12:24, Brad Boyer a écrit : > On Sat, Oct 21, 2006 at 01:24:30AM +0200, Laurent Vivier wrote: >> I'm happy to announce EMILE, my bootloader for Macintosh m68k, is now >> able to create bootable CD-ROM. >> >> I've juste created an install CD-ROM for sarge. > > This is definitely a good thing. Thank you for putting in this effort, > as I'm sure a fair number of us will appreciate it in the future. In > fact, the ppc people might even appreciate it if it helps getting > CD-ROM > boot to work on oldworld or nubus powermacs. > >> But as it contains Apple copyrighted materials (the AppleDriver), it >> cannot be distributed widely. >> It's only a first step, I'm working on writing a "dummy" AppleDriver >> of my own (a real AppleDriver is not needed for Linux... I guess) >> For the moment, EMILE must extract an AppleDriver from a MacOS >> bootable CDROM. > > My understanding is that while Linux itself doesn't need the > AppleDriver, > the ROM will ignore a drive that doesn't have something that at least > looks like a valid driver. It will automatically try to load the > driver > from each drive and try to use it, and I'm pretty sure that any > failures > remove that disk from the boot order. However, Apple does have a fair Yes. But a "dummy" driver returning "noErr" doesn't work. I think it must call at least "AddDrive". > amount of documentation on how to write the driver. It's just extra > work > that noone has had time to finish. I read the docs at one point and > came > to the conclusion that other work had a higher priority. Apple always > supported 3rd-party drivers, since they deliberately didn't license > their own for use on drives from other companies. I'm searching the SCSI_Driver_Example.sit, but I don't find it on the apple website. Do you know where I can find it ? Regards, Laurent ---------------------- Laurent Vivier ---------------------- "Imagination is more important than knowledge." |
From: Brad B. <fl...@al...> - 2006-10-23 20:54:35
|
On Sat, Oct 21, 2006 at 12:19:09PM +0200, Laurent Vivier wrote: > Yes. But a "dummy" driver returning "noErr" doesn't work. > I think it must call at least "AddDrive". Based on a look at the Driver technote from Apple, it looks like the driver from the disk is used to access disk blocks in the ROM code, so you need a full driver to be able to use the disk. Although you could leave out the write support in this case, I presume. > I'm searching the SCSI_Driver_Example.sit, but I don't find it on the > apple website. > Do you know where I can find it ? I went looking for it on their ftp site that is used for downloads, and while there was an archive section with some SCSI stuff, I didn't find that specific sample. I imagine Apple would still have it internally, and it's possible they would give you a copy if you ask. I don't know if you have a developer account with them (the entry level doesn't cost any money), but that might be the best way to get a copy. Brad Boyer fl...@al... |
From: Laurent V. <la...@lv...> - 2006-10-24 07:47:20
|
Brad Boyer wrote: > On Sat, Oct 21, 2006 at 12:19:09PM +0200, Laurent Vivier wrote: >> Yes. But a "dummy" driver returning "noErr" doesn't work. >> I think it must call at least "AddDrive". > > Based on a look at the Driver technote from Apple, it looks like the > driver from the disk is used to access disk blocks in the ROM code, so > you need a full driver to be able to use the disk. Although you could > leave out the write support in this case, I presume. I agree. The good thing: I think what is preventing to booting from a non-Apple drive is in the driver. So, by writing a driver, I can boot from my Yamaha CD-RW drive and use a CD-RW to develop the driver. Regards, Laurent |
From: Laurent V. <la...@lv...> - 2008-08-11 22:32:21
|
Le 24 oct. 06 à 09:47, Laurent Vivier a écrit : > Brad Boyer wrote: >> On Sat, Oct 21, 2006 at 12:19:09PM +0200, Laurent Vivier wrote: >>> Yes. But a "dummy" driver returning "noErr" doesn't work. >>> I think it must call at least "AddDrive". >> >> Based on a look at the Driver technote from Apple, it looks like the >> driver from the disk is used to access disk blocks in the ROM code, >> so >> you need a full driver to be able to use the disk. Although you could >> leave out the write support in this case, I presume. > > I agree. > The good thing: I think what is preventing to booting from a non- > Apple drive is > in the driver. So, by writing a driver, I can boot from my Yamaha CD- > RW drive > and use a CD-RW to develop the driver. I've a bootable CD without Apple copyrighted materials (all free !!!) but it cannot boot from non-apple drive. it is here : http://vivierlaurent.free.fr/debian-50-m68k-NETINST-1_emile-1.iso The disk content is from: http://people.debian.org/~smarenka/d-i/m68k/cds/daily/debian-50-m68k-NETINST-1.iso And it is only bootable, but cannot install debian because it doesn't find the bits for testing/m68k. (Stephen: where can I find them ?) in the TODO list: - switch to 32bit mode on boot - detect the CDROM SCSI ID (currently if it is fixed to 3). The sources are not in the CVS tree for the moment (coming soon...). Regards, Laurent ----------------------- Laurent Vivier ---------------------- "The best way to predict the future is to invent it." - Alan Kay |
From: Laurent V. <la...@lv...> - 2008-08-13 18:48:57
|
Hi all, I put a new CD image here: http://vivierlaurent.free.fr/Debian_3.1_r0a_m68k_Bin-1_emile.iso This is a Sarge one which is really able install something. There are 3 choices in the main menu, but the result is the same for each of them (I get the parameters from etch isolinux and it seems it doesn't work with sarge m68k) Regards, Laurent |
From: J S. <g1p...@ya...> - 2008-08-16 20:36:40
|
Hi All, I just realized something while doing some tests. It seems emile-set-cmdline in 0.12 isn't setting the command line in any of my floppy images. I even took the rescue floppy image and tried to reset the command line on it but that didn't work. It can read the command line, but just can't set it. There isn't an error message, either. Any tips on debugging this, that'd be great. Thanks, J Silverman |
From: J S. <g1p...@ya...> - 2008-08-16 20:47:24
|
Hi All, Alright, after a quick look at the source code for emile-set-cmdline I found the problem. There seems to be a bit of missing info in the man page for emile-set-cmdline. To set the command line with the tool, you need to use the -a flag which isn't mentioned in the man page. I'll make a patch to fix the docs soon. Thanks, J Silverman --- On Sat, 8/16/08, J Silverman <g1p...@ya...> wrote: > From: J Silverman <g1p...@ya...> > Subject: [Emile-devel] emile-set-cmdline won't set command line > To: emi...@li... > Date: Saturday, August 16, 2008, 4:36 PM > Hi All, > > I just realized something while doing some tests. It seems > emile-set-cmdline in 0.12 isn't setting the command line > in any of my floppy images. I even took the rescue floppy > image and tried to reset the command line on it but that > didn't work. It can read the command line, but just > can't set it. There isn't an error message, either. > Any tips on debugging this, that'd be great. > > Thanks, > J Silverman > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge > Build the coolest Linux based applications with Moblin SDK > & win great prizes > Grand prize is a trip for two to an Open Source event > anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Emile-devel mailing list > Emi...@li... > https://lists.sourceforge.net/lists/listinfo/emile-devel |
From: Stephen R M. <st...@ma...> - 2008-08-12 01:08:41
|
On Tue, Aug 12, 2008 at 12:31:49AM +0200, Laurent Vivier wrote: > > Le 24 oct. 06 à 09:47, Laurent Vivier a écrit : > >> Brad Boyer wrote: >>> On Sat, Oct 21, 2006 at 12:19:09PM +0200, Laurent Vivier wrote: >>>> Yes. But a "dummy" driver returning "noErr" doesn't work. >>>> I think it must call at least "AddDrive". >>> >>> Based on a look at the Driver technote from Apple, it looks like the >>> driver from the disk is used to access disk blocks in the ROM code, >>> so >>> you need a full driver to be able to use the disk. Although you could >>> leave out the write support in this case, I presume. >> >> I agree. >> The good thing: I think what is preventing to booting from a non-Apple >> drive is >> in the driver. So, by writing a driver, I can boot from my Yamaha CD- >> RW drive >> and use a CD-RW to develop the driver. > > > I've a bootable CD without Apple copyrighted materials (all free !!!) Woo hoo! > but it cannot boot from non-apple drive. Still great progress! > it is here : > > http://vivierlaurent.free.fr/debian-50-m68k-NETINST-1_emile-1.iso > > The disk content is from: > > http://people.debian.org/~smarenka/d-i/m68k/cds/daily/debian-50-m68k-NETINST-1.iso > > And it is only bootable, but cannot install debian because it doesn't > find the bits for testing/m68k. > (Stephen: where can I find them ?) We're (okay, actually Michael Casadevall) is working on lenny for m68k. Meanwhile, if it boots, you should be able to install etch-m68k by putting suite=etch-m68k on the kernel arg line. Great stuff! > in the TODO list: > > - switch to 32bit mode on boot > - detect the CDROM SCSI ID (currently if it is fixed to 3). > > The sources are not in the CVS tree for the moment (coming soon...). You do great stuff. We've got to get it into d-i. Mea Culpa! Peace, Stephen -- Stephen R. Marenka If life's not fun, you're not doing it right! <st...@ma...> |
From: Michael C. <son...@gm...> - 2008-08-12 01:24:40
|
Stephen, since we still have to roll a new d-i for lenny-m68k, can you include both this and the updated mirrors list (d-ports mirrors, and nemesisnetworks) on the installer, defaulting to lenny? Michael On Mon, Aug 11, 2008 at 9:08 PM, Stephen R Marenka <st...@ma...> wrote: > On Tue, Aug 12, 2008 at 12:31:49AM +0200, Laurent Vivier wrote: >> >> Le 24 oct. 06 à 09:47, Laurent Vivier a écrit : >> >>> Brad Boyer wrote: >>>> On Sat, Oct 21, 2006 at 12:19:09PM +0200, Laurent Vivier wrote: >>>>> Yes. But a "dummy" driver returning "noErr" doesn't work. >>>>> I think it must call at least "AddDrive". >>>> >>>> Based on a look at the Driver technote from Apple, it looks like the >>>> driver from the disk is used to access disk blocks in the ROM code, >>>> so >>>> you need a full driver to be able to use the disk. Although you could >>>> leave out the write support in this case, I presume. >>> >>> I agree. >>> The good thing: I think what is preventing to booting from a non-Apple >>> drive is >>> in the driver. So, by writing a driver, I can boot from my Yamaha CD- >>> RW drive >>> and use a CD-RW to develop the driver. >> >> >> I've a bootable CD without Apple copyrighted materials (all free !!!) > > Woo hoo! > >> but it cannot boot from non-apple drive. > > Still great progress! > >> it is here : >> >> http://vivierlaurent.free.fr/debian-50-m68k-NETINST-1_emile-1.iso >> >> The disk content is from: >> >> http://people.debian.org/~smarenka/d-i/m68k/cds/daily/debian-50-m68k-NETINST-1.iso >> >> And it is only bootable, but cannot install debian because it doesn't >> find the bits for testing/m68k. >> (Stephen: where can I find them ?) > > We're (okay, actually Michael Casadevall) is working on lenny for m68k. > > Meanwhile, if it boots, you should be able to install etch-m68k by > putting suite=etch-m68k on the kernel arg line. > > Great stuff! > >> in the TODO list: >> >> - switch to 32bit mode on boot >> - detect the CDROM SCSI ID (currently if it is fixed to 3). >> >> The sources are not in the CVS tree for the moment (coming soon...). > > You do great stuff. We've got to get it into d-i. Mea Culpa! > > Peace, > > Stephen > > -- > Stephen R. Marenka If life's not fun, you're not doing it right! > <st...@ma...> > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > > iD8DBQFIoOKRVKM4J7YoSbMRAmOdAJ9C6hhSqWizcyxhu0zmqgn7bdHr3ACfQBLr > 4ZLQfqBI4JRIas5DFihCzBY= > =Lulr > -----END PGP SIGNATURE----- > > |
From: Laurent V. <la...@lv...> - 2008-08-12 23:53:14
|
Le 12 août 08 à 03:08, Stephen R Marenka a écrit : >> >> And it is only bootable, but cannot install debian because it doesn't >> find the bits for testing/m68k. >> (Stephen: where can I find them ?) > > We're (okay, actually Michael Casadevall) is working on lenny for > m68k. > > Meanwhile, if it boots, you should be able to install etch-m68k by > putting suite=etch-m68k on the kernel arg line. This doesn't work... Laurent ----------------------- Laurent Vivier ---------------------- "The best way to predict the future is to invent it." - Alan Kay |
From: Stephen R M. <st...@ma...> - 2008-08-13 00:22:54
|
On Wed, Aug 13, 2008 at 01:52:51AM +0200, Laurent Vivier wrote: > > Le 12 août 08 à 03:08, Stephen R Marenka a écrit : >>> >>> And it is only bootable, but cannot install debian because it doesn't >>> find the bits for testing/m68k. >>> (Stephen: where can I find them ?) >> >> We're (okay, actually Michael Casadevall) is working on lenny for >> m68k. >> >> Meanwhile, if it boots, you should be able to install etch-m68k by >> putting suite=etch-m68k on the kernel arg line. > > > This doesn't work... Care to give me a hint? :) Peace, Stephen -- Stephen R. Marenka If life's not fun, you're not doing it right! <st...@ma...> |
From: Geert U. <ge...@li...> - 2008-08-13 06:54:39
|
On Wed, 13 Aug 2008, Laurent Vivier wrote: > Le 12 ao 3:08, Stephen R Marenka a it : > > > And it is only bootable, but cannot install debian because it doesn't > > > find the bits for testing/m68k. > > > (Stephen: where can I find them ?) > > > > We're (okay, actually Michael Casadevall) is working on lenny for m68k. > > > > Meanwhile, if it boots, you should be able to install etch-m68k by > > putting suite=etch-m68k on the kernel arg line. > > This doesn't work... Are you using a mirror that carries etch-m68k? I'm always using de.debian.org, as I found out plain debian.org mirrors don't seem to have all Debian architectures. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |