mirror of
https://github.com/mayfrost/guides.git
synced 2024-10-31 23:16:06 +00:00
Update CROSS-COMPILING.md
This commit is contained in:
parent
e871d7a25f
commit
588b1f0f5d
@ -6,13 +6,14 @@ Installing a distro for ARM. The distro is CRUX, the target is an Odroid C2.
|
|||||||
1. [CROSS COMPILATION TOOLS](#cross-compilation-tools)
|
1. [CROSS COMPILATION TOOLS](#cross-compilation-tools)
|
||||||
2. [PARTITIONING](#partitioning)
|
2. [PARTITIONING](#partitioning)
|
||||||
3. [BOOTLOADER](#bootloader)
|
3. [BOOTLOADER](#bootloader)
|
||||||
|
3. [MOUNTING](#mounting)
|
||||||
4. [BOOT PARTITION](#boot-partition)
|
4. [BOOT PARTITION](#boot-partition)
|
||||||
5. [COMPILING KERNEL](#compiling-kernel)
|
5. [COMPILING KERNEL](#compiling-kernel)
|
||||||
6. [ROOT PARTITION](#root-partition)
|
6. [ROOT PARTITION](#root-partition)
|
||||||
|
|
||||||
|
|
||||||
## CROSS COMPILATION TOOLS
|
## CROSS COMPILATION TOOLS
|
||||||
Installing cross GCC compilation tools (for the X86 machine, not target ARM). Includes binutils.
|
Installing GCC cross compilation tools (for the X86 machine, not target ARM). Includes binutils.
|
||||||
|
|
||||||
* OPTION 1: from repository (Devuan example)
|
* OPTION 1: from repository (Devuan example)
|
||||||
`sudo apt-get install gcc-arm-none-eabi`
|
`sudo apt-get install gcc-arm-none-eabi`
|
||||||
@ -101,6 +102,13 @@ chmod +x sd_fusing.sh
|
|||||||
* might want to comment-out the display-autodetect option
|
* might want to comment-out the display-autodetect option
|
||||||
|
|
||||||
|
|
||||||
|
## MOUNTING
|
||||||
|
* mount root filesystem
|
||||||
|
mount /dev/mmcblk0p2 /mnt
|
||||||
|
* mount boot filesystem
|
||||||
|
mount /dev/mmcblk0p1 /mnt
|
||||||
|
|
||||||
|
|
||||||
## BOOT PARTITION
|
## BOOT PARTITION
|
||||||
Must be FAT32 and 64 MB minimum.
|
Must be FAT32 and 64 MB minimum.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user