[RTEMS Project] #2359: Merge Beagle BSP support utilities with RSB

RTEMS trac trac at rtems.org
Wed Jun 3 15:07:53 UTC 2015


#2359: Merge Beagle BSP support utilities with RSB
-------------------------+--------------------
 Reporter:  beng         |      Owner:  beng
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  4.11.1
Component:  RSB          |    Version:  4.10
 Severity:  normal       |   Keywords:
-------------------------+--------------------
 I have a commit for RSB that adds building quite some tools. It is
 collected in a beagle bset.

 The motivation is for the Beagle BSP. These tools can set up a FS image
 from scratch that can then boot an RTEMS application on a beagle device.
 This commit builds:

         . qemu-linaro, simulates the bbxm
         . u-boots for bbxm and beaglebones
         . partition
         . newfs_msdos, mtools

 The commit is at:

 https://github.com/bengras/rtems-source-builder/tree/beagle

 Currently the uboot license is objectionable so I am happy to wait to
 merge this pending jcatbagan's gsoc 2015 umonfw work, or alternatively
 merge uboot first and replace it with umonfw once it's possible.

 I should add there are some suggestions Chris has made in the past (in a
 private email thread) that I haven't followed up on in the commit as it
 is. I am pasting some of them here so Chris needn't re-evaluate from
 scratch. It is heavily edited/paraphrased.

 Chris says:

  * create devel/qemu-linaro.bset and move most of the parts in the
 beagle.bset into that and have the beagle.bset include it. This means
 others can use the qemu-linaro as a build set.

   * devel/beagle.bset needs to be split up. There should be a bare/devel
 /qemu-linaro.bset which build that tool as is. There should be a
 bare/boards/beagle.bset that builds the qemu-linaro, and the other part
 such as partition, msdos and mtools.

   * There is an rtems/boards/beagle.bset that builds the RTEMS tools,
 uboot and then the beagle tools. The boards/beagle.bset file names may
 need to be different in bare and rtems to work due to the %{_configdir}
 searching.

   * The second part is the splitting up of each of the new tools you have
 added. I provide mtools back as an example. There is an mtools.bset so it
 can be built as is. This is the latest version and used to build the tool
 stand alone. Your beagle.bset should reference a specific version and not
 the mtools.bset so we control the configuration so updates do not skew a
 version.

--
Ticket URL: <http://devel.rtems.org/ticket/2359>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list