Skip to contentSkip to conversation

f2fs tools for arm

DISCUSSION Konstantin Dorfman 2 participants 2 messages Oct 16, 2013 – Oct 17, 2013

lore
Share & tools
lore
#0 lore raw

Hello all,

Can f2fs tools be compiled for arm architecture?
Did it demand porting or just configuration?

Thanks,
Kostya

Signature · 11 lines
sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
#1 lore raw

Hi,

This will help you.

Quoted 1 line

From 050e8712a60c7d982a7be8c076fb72452364dae4 Mon Sep 17 00:00:00 2001

From: Jaegeuk Kim <[email protected]>
Date: Thu, 17 Oct 2013 15:15:54 +0900
Subject: [PATCH] README: add description how to cross-compile
Cc: [email protected], [email protected], [email protected]

This patch adds description for the cross-compilation.

---
 README | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
README +14 -0
index cbb492e..bf374fb 100644
@@ -25,6 +25,20 @@ How to compile
  # ./configure
  # make
 
+How to cross-compile (e.g., for ARM)
+------------------------------------
+
+ 1. Add the below line into mkfs/Makefile.am:
+ mkfs_f2fs_LDFLAGS = -all-static
+
+ 2. Add the below line into fsck/Makefile.am:
+ fsck_f2fs_LDFLAGS = -all-static
+
+ 3. then, do:
+ # LDFLAGS=--static ./configure \
+	--host=arm-none-linux-gnueabi --target=arm-none-linux-gnueabi
+ # make
+
 How to run by default
 ---------------------
 
Signature · 13 lines
1.8.4.474.g128a96c

-- 
Jaegeuk Kim
Samsung


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk