Re: FOSDEM 2006

2005-12-04 Thread Timothy Baldwin
On Friday 18 Nov 2005 11:23, Yoshinori K. Okuji wrote: > Hello, > > As you may know, FOSDEM 2006 is planned at the end of February. And, they > started to accept applications to DevRooms: > > http://www.fosdem.org/index/press/devrooms_call_for_presence_2006 > > For now, I really have no idea if I a

Re: RISC OS rescue mode

2005-11-24 Thread Timothy Baldwin
On Tuesday 22 Nov 2005 09:47, Marco Gerards wrote: > Timothy Baldwin <[EMAIL PROTECTED]> writes: > > 2005-08-29 Timothy Baldwin <[EMAIL PROTECTED]> > > * boot/arm/RISC_OS/!Run,feb: New file. > > I would prefer another name and renaming when installing. I

Re: RISC OS rescue mode

2005-11-20 Thread Timothy Baldwin
On Saturday 19 Nov 2005 21:50, Hollis Blanchard wrote: > On Nov 19, 2005, at 5:22 AM, Timothy Baldwin wrote: > >>> 2005-08-29 Timothy Baldwin <[EMAIL PROTECTED]> > >>> * boot/arm/RISC_OS/!Run,feb: New file. > >> > >> What on earth is this file.

Re: RISC OS rescue mode

2005-11-19 Thread Timothy Baldwin
On Friday 18 Nov 2005 23:27, Hollis Blanchard wrote: > On Friday 18 November 2005 16:37, Timothy Baldwin wrote: > > > 2005-08-29 Timothy Baldwin <[EMAIL PROTECTED]> > > * boot/arm/RISC_OS/!Run,feb: New file. > > What on earth is this file...? :) A scri

RISC OS rescue mode

2005-11-18 Thread Timothy Baldwin
Here is the first patch for the RISC OS port. 2005-08-29 Timothy Baldwin <[EMAIL PROTECTED]> * boot/arm/RISC_OS/!Run,feb: New file. * kern/arm/aif_header.lds: Likewise. * kern/arm/aif_header.S: Likewise. * kern/arm/dl.c: Likewise. * kern/arm/RISC_OS/

Re: Support for including *.mk files

2005-11-18 Thread Timothy Baldwin
On Friday 18 Nov 2005 13:47, Marco Gerards wrote: > Timothy Baldwin <[EMAIL PROTECTED]> writes: > > On Wednesday 16 Nov 2005 06:49, Marco Gerards wrote: > >> Timothy Baldwin <[EMAIL PROTECTED]> writes: > >> > On Sunday 13 Nov 2005 21:16, Marco Gerards

Re: Support for including *.mk files

2005-11-17 Thread Timothy Baldwin
On Wednesday 16 Nov 2005 06:49, Marco Gerards wrote: > Timothy Baldwin <[EMAIL PROTECTED]> writes: > > On Sunday 13 Nov 2005 21:16, Marco Gerards wrote: > >> It would be nice if you can > >> send in the patch that actually splits up the rmk files so I can see >

Re: A ready to run GRUB2 boot loader for the Genesi ODW ?

2005-11-15 Thread Timothy Baldwin
On Tuesday 15 Nov 2005 22:34, Dennis Clarke wrote: > One of the many joys of GRUB2 is that it isn't specific to anything > really. But I am guessing. Maybe it could never work on ARM or a Dec > Alpha but I don't see why not. It *does* work on ARM, though the needed changes aren't in the CVS yet

Re: A ready to run GRUB2 boot loader for the Genesi ODW ?

2005-11-15 Thread Timothy Baldwin
On Tuesday 15 Nov 2005 21:07, Dennis Clarke wrote: > ALL : > > http://www.blastware.org/grub2/ > > I put this page together such that people working on the PowerPC > port can focus on more interesting things like the hardware address > translation and the memory management layer. I assume

Re: Support for including *.mk files

2005-11-15 Thread Timothy Baldwin
- Member AFFS, WYLUG, SWP (UK), UAF, RESPECT, StWC No to software patents!Victory to the iraqi resistance! 2005-11-13 Timothy Baldwin <[EMAIL PROTECTED]> Support including *.mk files, fix filename collisons. Better cleanup on build errors. * genmk.rb: Fixed list rules moved

Re: Multiboot-compliant x84-64 Kernel?

2005-11-13 Thread Timothy Baldwin
On Sunday 13 Nov 2005 22:01, Alita Friedrichsen wrote: > So I'm looking for a preferably good way to boot my Kernel with the current > Multiboot Specification. Your kernel will have to switch to 64 bit mode itself, if using GRUB Legacy. -- Member AFFS, WYLUG, SWP (UK), UAF, RESPECT, StWC No to

Re: symbol.h fix for ARM

2005-11-13 Thread Timothy Baldwin
On Sunday 13 Nov 2005 21:04, Marco Gerards wrote: > Timothy Baldwin <[EMAIL PROTECTED]> writes: > > In ARM GAS syntax "@" marks the start of comment, which breaks symbol.h. > > I choose double quotes as a replacement as they can't be used to start > > com

Support for including *.mk files

2005-11-13 Thread Timothy Baldwin
s an error building them. 2005-11-13 Timothy Baldwin <[EMAIL PROTECTED]> Support including *.mk files. Fix filename collisions. Better cleanup on build errors. * genmk.rb: Fixed list rules moved to Makefile.in. Recognise appending to variables with "+=&quo

symbol.h fix for ARM

2005-11-13 Thread Timothy Baldwin
In ARM GAS syntax "@" marks the start of comment, which breaks symbol.h. I choose double quotes as a replacement as they can't be used to start comments. 2005-11-13 Timothy Baldwin <[EMAIL PROTECTED]> Fix symbol.h for ARM. * include/grub/symbol.h: (

Re: Linux/ADFS partition table support

2005-11-13 Thread Timothy Baldwin
On Sunday 13 Nov 2005 16:03, Marco Gerards wrote: > Timothy Baldwin <[EMAIL PROTECTED]> writes: > * include/grub/acorn_filecore.h: Likewise. > > I would prefer to move this to partmap/acorn.c. Or do you have to use > this struct elsewhere? Yes it's also used in d

Re: Generating init and fini functions

2005-11-09 Thread Timothy Baldwin
On Tuesday 08 Nov 2005 23:18, Marco Gerards wrote: > - grub_configfile_init (); > - grub_search_init (); > - grub_test_init (); > - > + > + grub_init_all (); > + >/* XXX: Should normal mode be started by default? */ >grub_normal_init (); That call should go as well. -- Member AFFS

Re: Linux/ADFS partition table support

2005-11-08 Thread Timothy Baldwin
On Thursday 20 Oct 2005 15:47, Timothy Baldwin wrote: > Here is support for Linux/ADFS partition tables, which is used for Linux > partitions on discs connected to the motherboard interface of systems which > run RISC OS. Since it shares a structure with the RISC OS disc API, that &

Re: [patch] 64 bit disk address support (= 8192EiB disks)

2005-10-28 Thread Timothy Baldwin
On Friday 28 Oct 2005 04:01, Yoshinori K. Okuji wrote: > On Saturday 22 October 2005 01:53 pm, Timothy Baldwin wrote: > > That is exactly my point. POSIX uses off_t as a byte counts into files, > > the type we are discussing the name of is used for sector counts. > >

Re: Automatic backup with grub

2005-10-28 Thread Timothy Baldwin
On Thursday 27 Oct 2005 18:35, Vladimir Serbinenko wrote: > >So what needs to be done is place an image back once in a while. It > >should be possible to create a GRUB command for that, I guess. :-) > > Why a command? A better way, IMO, is using some variables stored in file. > It could be present

Re: Automatic backup with grub

2005-10-27 Thread Timothy Baldwin
On Thursday 27 Oct 2005 17:03, E Leibovich wrote: > As I'm planning to use it as a recovery console I > prefer loading linux won't be dependable of loading > windows, but that it'll be loaded on its on each week > or each 10 boots. It seems to me that grub requires a > very small patch in order to

RISC OS patches (was [patch] 64 bit disk address support (= 8192EiB disks))

2005-10-24 Thread Timothy Baldwin
On Monday 24 Oct 2005 11:26, Marco Gerards wrote: > Timothy Baldwin <[EMAIL PROTECTED]> writes: > >> I still have to look at the RISC OS patches you sent in so far. I > >> hope you can still wait a bit, my own hacking already consumes all > >> time I have...

Re: [patch] 64 bit disk address support (= 8192EiB disks)

2005-10-23 Thread Timothy Baldwin
On Friday 21 Oct 2005 23:18, Marco Gerards wrote: > Why did you choose this name? What about using grub_sector_t instead > as name? I now see Linux uses sector_t. Revised patch using grub_sector_t and definition higher up types.h: http://www.majoroak.f2s.com/tim/grub/patches/grub2-patch14b.diff

Re: Video subsystem draft

2005-10-23 Thread Timothy Baldwin
On Sunday 23 Oct 2005 12:24, Vesa Jääskeläinen wrote: > Hi, > > I made a draft how video subsystem could work. It doesn't currently > contain information about internals, but is more concentrated on usage > of the API. GRUB should support modes with fixed palettes, in order to support (firmware)

Re: elf substitute for nbgrub

2005-10-23 Thread Timothy Baldwin
On Sunday 23 Oct 2005 09:13, Nilesh Agrawal wrote: > Hi all, > I am trying to boot IBM netvista thin clients using nbgrub, but it > says unsupported file type. GRUB Legacy only works on PC BIOS on i386 PCs. GRUB 2 only works on PC BIOS on i386 PCs, Openfirmware on PowerPC and RISC OS on ARM. A Op

Partitioned software RAID support (for testing grub-setup)

2005-10-23 Thread Timothy Baldwin
memory to add the partition number onto the end of real_dev. 2005-10-23 Timothy Baldwin <[EMAIL PROTECTED]> * util/i386/pc/biosdisk.c (util/i386/pc/biosdisk.c): Allocate enough memory for REAL_DEV. Support partitioned software RAID. (get_os_disk): Support parti

Re: [patch] 64 bit disk address support (= 8192EiB disks)

2005-10-22 Thread Timothy Baldwin
On Saturday 22 Oct 2005 01:06, Yoshinori K. Okuji wrote: > On Saturday 22 October 2005 01:46 am, Timothy Baldwin wrote: > > Misleading as POSIX uses off_t as a byte offset. Also grub_off_t would be > > logical type name for file offsets, which should use a separate type to >

Re: [patch] 64 bit disk address support (= 8192EiB disks)

2005-10-21 Thread Timothy Baldwin
On Friday 21 Oct 2005 23:24, Yoshinori K. Okuji wrote: > On Saturday 22 October 2005 12:18 am, Marco Gerards wrote: > > > * include/grub/types.h (grub_lba_t): New typedef. > > > > Why did you choose this name? LBA as an abbreviation of logical block address is in common use. And makes it clear

ls and grub_vsprintf bug fixes.

2005-10-21 Thread Timothy Baldwin
Normal mode ls leaks disk handles because it doesn't close files properly. grub_vsprintf doesn't terminate a string it passes to grub_strtoul. Fixes below: 2005-10-21 Timothy Baldwin <[EMAIL PROTECTED]> * commands/ls.c (grub_ls_list_files) : Close file with

[patch] 64 bit disk address support (= 8192EiB disks)

2005-10-21 Thread Timothy Baldwin
(maybe only FAT). RISC OS changes are at: http://www.majoroak.f2s.com/tim/grub/patches/grub2-patch15.diff.gz Other changes below and at: http://www.majoroak.f2s.com/tim/grub/patches/grub2-patch14.diff.gz 2005-10-20 Timothy Baldwin <[EMAIL PROTECTED]> Use 64bit disk add

Linux/ADFS partition table support

2005-10-20 Thread Timothy Baldwin
n the RISC OS port. RISC OS specific changes are at: http://www.majoroak.f2s.com/tim/grub/patches/grub2-patch13.diff.gz General changes are below and at: http://www.majoroak.f2s.com/tim/grub/patches/grub2-patch12b.diff.gz 2005-10-20 Timothy Baldwin <[EMAIL PROTECTED]> Add suppor

Re: gzio is broken (fix)

2005-10-16 Thread Timothy Baldwin
fset & (WSIZE - 1)) + gzio->slide); - size = gzio->saved_offset - file->offset; + size = gzio->saved_offset - offset; if (size > len) size = len; 2005-10-16 Timothy Baldwin <[EMAIL PROTECTED]> * io/gzio.c (grub_gzio_read): Use offset inst

ARM alignment fixes and Linux loader

2005-10-15 Thread Timothy Baldwin
First, unlike other ARM assemblers I've seen, GNU AS does not align sections to a 4 byte boundary by default. IMHO it should. This is fixed for grub2-patch3.diff (RISC OS core) by: http://www.majoroak.f2s.com/tim/grub/patches/grub2-patch7.diff.gz And for grub2-patch6.diff (Address space abstract

Re: gzio is broken

2005-10-15 Thread Timothy Baldwin
On Saturday 15 Oct 2005 21:53, Marco Gerards wrote: > Timothy Baldwin <[EMAIL PROTECTED]> writes: > > On Saturday 15 Oct 2005 18:34, Yoshinori K. Okuji wrote: > >> On Saturday 15 October 2005 10:07 am, Yoshinori K. Okuji wrote: > >> > > Problem 2: Re

Re: gzio is broken

2005-10-15 Thread Timothy Baldwin
On Saturday 15 Oct 2005 18:34, Yoshinori K. Okuji wrote: > On Saturday 15 October 2005 10:07 am, Yoshinori K. Okuji wrote: > > > Problem 2: Reading gzip files all at once results in corruption of the > > > data. It can be exposed by this patch: > > > > Can you investigate this problem? > > I don't

gzio is broken

2005-10-14 Thread Timothy Baldwin
Problem 1: In the function test_header, the array buf is accessed via pointers to grub_uint32_t and grub_uint16_t without ensuring correct alignment of the pointers. This does not work on ARM. Fixed by: 2005-10-15 Timothy Baldwin <[EMAIL PROTECTED]> * io/gzio.c (test_header):

Re: [PATCH] DL support on usparc & cls disabling when debugging

2005-10-12 Thread Timothy Baldwin
On Wednesday 12 Oct 2005 18:53, Vincent Pelletier wrote: > Hi. > > Finally, I send this dl.c patch. With a bad gnupg signature here. -- Member AFFS, WYLUG, SWP (UK), UAF, RESPECT, StWC No to software patents!Victory to the iraqi resistance! pgpjCNkx0Ec84.pgp Description: PGP signature

RISC OS Port Part 2 - Address space abstraction

2005-10-08 Thread Timothy Baldwin
I have uploaded part 2 of the the RISC OS port to my website: http://www.majoroak.f2s.com/tim/grub/patches/grub2-patch6.diff.gz Like before the remaining changes to my tree are at: http://www.majoroak.f2s.com/tim/grub/patches/grub2-patch6-remainder.diff.gz To avoid confusion I have created a (tem

Re: I'm back (RISC OS port)

2005-09-26 Thread Timothy Baldwin
On Wednesday 21 Sep 2005 16:02, Marco Gerards wrote: > I'd like to start working on that this weekend, if I can find the time > for that... I found some documentation for the RISC OS API online: http://www.drobe.co.uk/show_manual.php?manual=/sh-cgi Most of what GRUB uses is under "OS". -- Memb

Re: I'm back (RISC OS port)

2005-09-25 Thread Timothy Baldwin
Another bug fix, this time it wasn't working with old, APCS26 only, versions of the C Library, due to checking for the wrong error number. diff -purN -x '*.mk' -x '*~' -x autom4te.cache -x configure -x '.#*' -x '*.orig' -x CVS grub2-submitted/kern/arm/RISC_OS/startup.S grub2-arm/kern/arm/RISC_O

Re: I'm back (RISC OS port)

2005-09-24 Thread Timothy Baldwin
On Wednesday 21 Sep 2005 16:02, Marco Gerards wrote: > I'd like to start working on that this weekend, if I can find the time > for that... I have received a bug report concerning it's failure to build, which I missed due to my installation of binutils being broken. Here is the fix: diff -purN