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.

52 lines
2.0 KiB

  1. Introduction
  2. ------------
  3. This configuration offers a cross-build of (a subset of) the build-bootstrap
  4. package selection for the arm architecture as emulated by qemu-system-arm.
  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.
  12. The packages included should be sufficient for native builds on the targeted
  13. platform.
  14. Quick Start
  15. -----------
  16. Direct booting with framebuffer console:
  17. qemu-system-arm -kernel build/bbs-arm-qemu-TRUNK-arm-EL-arm926ejs-cross-generic-expert/boot/zImage \
  18. -initrd build/bbs-arm-qemu-TRUNK-arm-EL-arm926ejs-cross-generic-expert/ROCK/target/initrd.img \
  19. -append "root=/dev/ram0 rw" -M versatilepb \
  20. -cdrom bbs-arm-qemu_cd1.iso -hda /srv/qemu.hda
  21. Direct booting with serial console:
  22. qemu-system-arm -kernel build/bbs-arm-qemu-TRUNK-arm-EL-arm926ejs-cross-generic-expert/boot/zImage \
  23. -initrd build/bbs-arm-qemu-TRUNK-arm-EL-arm926ejs-cross-generic-expert/ROCK/target/initrd.img \
  24. -append "root=/dev/ram0 console=ttyAMA0 rw" -nographic -M versatilepb \
  25. -cdrom bbs-arm-qemu_cd1.iso -hda /srv/qemu.hda
  26. Hints And Known Bugs
  27. --------------------
  28. - To use the cdrom image in qemu, create it after the build has finished:
  29. ./scripts/Create-ISO bbs-arm-qemu bbs-arm-qemu
  30. - To use a hard disk in qemu, create it with e.g.:
  31. qemu-img create /srv/qemu.hda 2048M
  32. - When using a console on the serial port, be sure to enter 'ttyAMA0' as the
  33. terminal device in boot stage 2, or you won't get to see the command line.
  34. - This build also works with '-M versatileab', for other machine types you only
  35. have to rebuild the kernel.
  36. - For an unknown reason, find is broken in this build (but works in e.g. sparc
  37. and x86_64 cross-builds). Use oldfind instead.
  38. - Package installation with stone does not work yet; use mine directly to
  39. install packages.