Project

General

Profile

Actions

Feature #214

closed

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

Added by Hammel over 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
04 - Root File System
Target version:
Start date:
14 Aug 2013
Due date:
% Done:

100%

Estimated time:
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.

Actions #1

Updated by Hammel over 11 years ago

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

Updated by Hammel almost 11 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.

Actions #3

Updated by Hammel almost 11 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.

Actions

Also available in: Atom PDF