Opened 15 years ago

Closed 15 years ago

#5212 closed bug (duplicate)

Arm: haiku.mmc fails to build on FreeBSD

Reported by: mmadia Owned by: mmu_man
Priority: normal Milestone:
Component: Build System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

With a correct value of SDIMAGE_FDISK on $(image) = /usr/local/sbin/sfdisk ; , haiku.mmc still fails to build properly.

jam -qj1 -sHAIKU_BOOT_BOARD=verdex haiku.mmc

BuildUBootSDImage1 haiku.mmc 
256+0 records in
256+0 records out
268435456 bytes transferred in 4.424900 secs (60664750 bytes/sec)
-f: not found
mformat: Unknown geometry (You must tell the complete geometry of the disk, 
either in /usr/local/etc/mtools.conf or on the command line) 
init I: non DOS media
Cannot initialize 'I:'
Bad target i:
...updated 729 target(s)...

Change History (2)

comment:1 by mmadia, 15 years ago

It seems FreeBSD's sfdisk is not the same as linux's sfdisk.

[FreeBSD]$ /usr/local/sbin/sfdisk 
usage: fdisk [-n] [-d] $disk

from u-boot/Jamfile:

echo -e '$(SDIMAGE_FDISK_SCRIPT)' | $(SDIMAGE_FDISK) -f -D \
		-H $(SDIMAGE_FDISK_H) -S $(SDIMAGE_FDISK_S) \
		-u$(SDIMAGE_FDISK_UNIT) $(<)

in reply to:  1 comment:2 by mmadia, 15 years ago

Resolution: duplicate
Status: newclosed

Copying comment to #5211. closing as duplicate.

Note: See TracTickets for help on using tickets.