[okl4-developer] Problem creating bootimage for ia32_pc99_vga machine type
Harry Vennik
htvennik at zonnet.nl
Wed May 16 02:08:38 EST 2007
Hi,
I am trying to get Iguana/Wombat (OKL$ release 1.4.1.1) built and
booted, and I succeed using the ia32_pc99 machine type and QEMU
simulator, but that is not exactly what I want. I want to run it
without QEMU, and without using serial port, so I tried to build with
ia32_pc99_vga machine type, using the following command:
./tools/build.py machine=ia32_pc99_vga project=iguana wombat=true
toolprefix=i686-unknown-linux-gnu-
Everything seems to build just fine, but then, just after everything
has been built, and creation of the image starts, something goes
wrong. I pasted the last part of the console output at the bottom of
this e-mail.
Can anyone tell me what is going wrong here, and what I could do to
fix this?
Kind regards,
Harry Vennik
===== start of console output =====
[VIRT] build/linux/bin/memsection_4372.linkaddress
[PHYS] build/iguana/wombat/vmlinux.physaddresses
Touch("build/linux/bin/memsection_4372")
Touch("build/iguana/bin/virtual_memory_pool")
Touch("build/iguana/bin/physical_memory_pool")
Touch("build/iguana/bin/tcm_memory_pool")
[VIRT] build/iguana/bin/bootinfo.linkaddress
[PHYS] build/linux/bin/memsection_4372.physaddresses
Touch("build/iguana/bin/bootinfo")
[PHYS] build/iguana/bin/bootinfo.physaddresses
[XML ] build/weaver.xml
[ELF ] build/image.elf
Heap address: 165000-565000
An error occurred: 4372L
Now printing a traceback.
Traceback (most recent call last):
File "tools/pyelf/elfweaver", line 17, in <module>
main(sys.argv)
File "/home/harry/Development/okl4_release_1.4.1.1/tools/pyelf/
weaver/main.py", line 66, in main
commands[args[1]](args[2:])
File "/home/harry/Development/okl4_release_1.4.1.1/tools/pyelf/
weaver/merge.py", line 236, in merge_cmd
merge(args[0], options.output, options.xml_dump)
File "/home/harry/Development/okl4_release_1.4.1.1/tools/pyelf/
weaver/merge.py", line 204, in merge
handle_compound_objects(parsed)
File "/home/harry/Development/okl4_release_1.4.1.1/tools/pyelf/
weaver/merge.py", line 195, in handle_compound_objects
iguana_program_compound_object(parsed)
File "/home/harry/Development/okl4_release_1.4.1.1/tools/pyelf/
weaver/iguana_xml.py", line 559, in iguana_program_compound_object
handle_iguana_program_el(parsed, el)
File "/home/harry/Development/okl4_release_1.4.1.1/tools/pyelf/
weaver/iguana_xml.py", line 503, in handle_iguana_program_el
obj_name = external_objects[arg.env_name]
KeyError: 4372L
BuildMenuLst(["build/grub/menu.lst"], ["build/image.elf"])
GrubBootImage(["build/c.img"], ["build/image.elf", "build/grub/
menu.lst"])
build/grub/bmap
build/grub/mtoolsrc
wrote bmap
wrote mtoolsrc
96000+0 records in
96000+0 records out
49152000 bytes (49 MB) copied, 0.671229 seconds, 73.2 MB/s
Warning: no active (bootable) partition present
GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the
possible
completions of a device/filename. ]
grub> geometry (hd0) 93 16 63
drive 0x80: C/H/S = 93/16/63, The number of sectors = 93744, build/c.img
Partition num: 0, Filesystem type is fat, partition type 0x6
grub> root (hd0,0)
Filesystem type is fat, partition type 0x6
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/fat_stage1_5" exists... yes
Running "embed /boot/grub/fat_stage1_5 (hd0)"... 15 sectors are
embedded.
succeeded
Running "install /boot/grub/stage1 (hd0) (hd0)1+15 p (hd0,0)/boot/
grub/stage2 /boot/grub/menu.lst"... succeeded
Done.
grub> copying /home/harry/Development/okl4_release_1.4.1.1/build/
image.elf to bootdisk
/home/harry/Development/okl4_release_1.4.1.1/build/image.elf: No such
file or directory
scons: *** mcopy -o /home/harry/Development/okl4_release_1.4.1.1/
build/image.elf c:/boot/grub/image.elf returned error, perhaps you
haven't got mtools-bin installed?
scons: building terminated because of errors.
===== end of console output =====
More information about the Developer
mailing list