mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
2.1 KiB

  1. Introduction
  2. ------------
  3. This configuration offers a cross-build of (a subset of) the build-bootstrap
  4. package selection for the sparc architecture as emulated by qemu-system-sparc.
  5. It includes support for all the hardware emulated by qemu, a working udev,
  6. kernel and userland support for TCP/IP networking, and more.
  7. With qemu and the resulting build you can at least:
  8. - boot the kernel and first stage initrd,
  9. - execute a shell from the initrd,
  10. - load the second stage from a CD-ROM,
  11. - and install packages from the CD on a hard disk using the stone installer.
  12. The packages included should be sufficient for native builds on the targeted
  13. platform.
  14. Quick Start
  15. -----------
  16. - Boot from CD with framebuffer console:
  17. qemu-system-sparc -cdrom bbs-sparc-qemu_cd1.iso -hda /srv/qemu.hda \
  18. -boot d
  19. - Boot from CD with serial console:
  20. qemu-system-sparc -cdrom bbs-sparc-qemu_cd1.iso -hda /srv/qemu.hda \
  21. -boot d -append "console=ttyS0 video=tcxfb:off" -nographic
  22. Hints And Known Bugs
  23. --------------------
  24. - To use the CD image in qemu, create it after the build has finished:
  25. ./scripts/Create-ISO bbs-sparc-qemu bbs-sparc-qemu
  26. - To use a hard disk in qemu, create it with e.g.:
  27. qemu-img create /srv/qemu.hda 2048M
  28. - When using a console on the serial port, be sure to enter 'ttyS0' as the
  29. terminal device in boot stage 2, or you won't get to see the command line.
  30. - glibc26 does not build for sparc with -Os because extern inline functions are
  31. not used when optimizing for size, resulting in a missing __ieee754_sqrtl
  32. function for libm_pic.a; glibc-2.6/sysdeps/sparc/sparc32/fpu/e_sqrtl.c
  33. is compiled but glibc-2.6/sysdeps/sparc/sparc32/soft-fp/q_sqrt.c contains
  34. the actual __ieee754_sqrtl function.
  35. - the SCSI support in kernel is not compiled as a module because udev can't
  36. load it automatically, and loading it and creating the /dev entries manually,
  37. the SCSI devices don't work. Furthermore, if partitioning a previously empty
  38. hard disk, the new partitions won't show up until after a reboot.
  39. - the size of the uncompressed kernel image (/boot/image) is limited to 2,5 MB
  40. when booting with silo.
  41. - strace does not (cross-)build for sparc yet.