[haiku-development] Haiku booting up with floppy image on respi2 qemu

  • From: Phil Han <pengphei@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 9 Aug 2018 07:16:05 +0800

Recently I am debugging haiku with respi2 on qemu.

I found the stage is missed with floppy image, which is a tar filesystem
processed by mkimage. while the floppy image couldn't be recorgnised as a
regular partition, aka intel partition or external intel partition. it
couldn't be mount by the stage below:

/src/system/boot/loader/partitions.cpp

Partition::Scan(bool mountFileSystems, bool isBootDevice)
{
    1. try to check the partition, failed
    2. try to check the best file system, success
    3. according to the best partition, try to mount with the best
filesystem.
         cause of stage1, it will fail.
}

I advice to add the uboot read only partition, aka fdt partition to match
the floppy disk generated by mkimage. then we can use this partition type
to match floppy tar filesystem.

If this could help, I will try ;)

your advice is welcomed.

-- Han Pengfei

-- 
淡泊明志,宁静致远。

Other related posts: