Feature #214

Try to cross compile RPi test apps at end of rootfs build

Added by Hammel almost 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:14 Aug 2013
Priority:HighDue date:
Assignee:Hammel% Done:

100%

Category:04 - Root File System
Target version:0.8.0
Severity:02 - High

Description

The test apps are in <buildroot>/output/target/opt/vc/src/hello_pi. They would be useful in testing various components of the platform.

I think to cross compile I need
  1. set the path to point to the cross compile tools
  2. set CC to point to compiler
  3. set SDKSTAGE to point to target tree
  4. set LDFLAGS to -L<staging tree>

Something like that.

Associated revisions

Revision 8288a4cc
Added by Hammel over 3 years ago

RM #214: Added RPi Userland tools to rootfs.

History

#1 Updated by Hammel almost 4 years ago

  • Priority changed from Urgent to High
  • Severity changed from 03 - Medium to 04 - Low

#2 Updated by Hammel over 3 years ago

  • Target version changed from 1.0 - Atreides to 0.8.0
  • Severity changed from 04 - Low to 02 - High

Adding this to the 0.8 release since it seems like it should just be a new sub-target for buildroot.

#3 Updated by Hammel over 3 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Added buildroot-rpitools target to build the tools after the rootfs is built. But this means the compiled tools are not in the tar file generated by buildroot. To get around that the tools are copied manually into the ext3 file generated by the -ext3 target. So it's a little bit of a hack, but its better than making an opkg for them.

Note: hello-font was not built due to problems with cross compiling it. The rest of the tools cross compiled fine.

Also available in: Atom PDF