Skip to contentSkip to conversation

RDB partition tables in AROS

DISCUSSION Kalamatee 2 participants 2 messages Mar 8, 2008 – Mar 9, 2008

lore
Share & tools
lore

Kalamatee

author
#0 lore raw

Alain wrote ..

Quoted 1 line

Here is a diff againt our svn repository. We have grub2 version 1.96 here.

Youve been busy =D

Quoted 2 lines

The changes log:
- recognize RDB partion tables inside MBR, this is needed for AROS to boot

on a PC

Quoted 2 lines

- fix AFFS filesystem for AROS
- minor bug fix in SFS: count of nodes in extent-btree is written as big

endian on disk

Quoted 1 line

- fixed gensymlist.sh to let us build with a compiler command having

arguments

The only things that come to mind currently are ..

# The support shouldnt be limited to grub2 compiled on AROS only .. it should be possible to take grub2 from any linux flavour and so long as the modules are loaded and the correct grub.cfg entries present, load AROS from MBR embedded RDB/SFS partitions. (my comment on the #AROS IRC channel about the ifdef __AROS__'s)

# Some of the code appears to "expect" the correct modules to be loaded rather than check that they are? not sure how you should do this correctly but hopefully someone here can point out what needs corrected.

# AFAIK SFS can be in big or little endian so the code should check this before doing "grub_uint16_t nodescount = grub_be_to_cpu16(tree->nodes);"

.. Does this make sense?

#1 lore raw
Quoted 5 lines · Kalamatee

# The support shouldnt be limited to grub2 compiled on AROS only .. it should be possible to take grub2 from any linux flavour and so long as the modules are loaded and the correct grub.cfg entries present, load AROS from MBR embedded RDB/SFS partitions. (my comment on the #AROS IRC channel about the ifdef __AROS__'s)

Yes, sure. But we are not in the hurry; those __AROS__ code blocks are a mean to show clearly what was modified. They will be removed once the code is reviewved.

Quoted 4 lines

# Some of the code appears to "expect" the correct modules to be loaded rather than check that they are? not sure how you should do this correctly but hopefully someone here can point out what needs corrected.

I tryed to keep dependencies to a minimum. But I don't know how to overcome the amiga.mod -> pc.mod one. Waiting for advice...

Quoted 3 lines

# AFAIK SFS can be in big or little endian so the code should check this before doing "grub_uint16_t nodescount = grub_be_to_cpu16(tree->nodes);"

We agreed whith M.Schulz, the SFS author on AROS, that SFS will be used in it's big endian version also on little endian computers. The performance difference is not woth the assle of maintaining two version. And I suppose that SFS does actually exists only - on non AROS - only in the big endian version. Can someone confirm this ?

Thanks,
Alain Greppin