Ticket #1011 (new enhancement)

Opened 3 years ago

Last modified 10 months ago

Add ARM Arch to the book

Reported by: kb0iic Owned by: clfs-commits@…
Priority: trivial Milestone: CLFS Standard 3.1.0
Component: BOOK Version: CLFS Standard GIT
Keywords: Cc: berzerkula@…, jonathan@…, chris@…

Description

ARM needs to be added as an architecture for our build system.

Adding the book is not much different from a normal x86 build except that these few things need to be adjusted:

Kernel Headers GCC configure options

Kernel headers, either install the arm headers or download a kernel specific for any platform ( aka Raspberry pi)

GCC, adjust options for cpu, float, and vfpu, and possibly something else.

We need a table for various ARM cpu's with the options to use with GCC during configure regarding float, vfp, and target triplet.

We'll have a table for targets like with mips.

Any input will be great for starting a table with the proper options and can update GCC with some variables to use during configure from the table regarding target triplet, cpu, vfp, and float info.

Change History

comment:1 Changed 3 years ago by kb0iic

  • Priority changed from major to trivial

comment:2 Changed 10 months ago by kb0iic

Aaediwen and I have been working with Raspberry PI 3 builds. It won't take much work to add ARM to the book. It's an x86 book with arm changes. However, with AARCH64 coming out, it would complicate the addition a bit more. For now, I suggest just dealing with ARMv7 and less.

comment:3 Changed 10 months ago by kb0iic

Just a simple example of a Raspberry Pi3 build using Raspbian and current CLFS Dev:

Kernel Headers Install

ARCH=arm

GCC:

--with-cpu=cortex-a53     --with-fpu=neon-fp-armv8     --with-float=hard

That's about all I can remember right now.

Note: See TracTickets for help on using tickets.