Update CROSS-COMPILING.md

This commit is contained in:
mayfrost 2018-09-18 05:39:28 +00:00 committed by GitHub
parent 050f59bd05
commit 59274abef4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,19 +47,15 @@ Name of "_CROSS_COMPILE_" variable will change depending on the choosen option.
`3073` `3073`
* Assign end of boot partition * Assign end of boot partition
`+128M` `+128M`
* Change display units to cylinders
`u`
* Create root partition * Create root partition
`n` `n`
* Make primary partition * Make primary partition
`p` `p`
* Choose partition number * Choose partition number
`2` `2`
* Assign start of boot partition at the end of the bootloader space (default cylinder) * Assign start of boot partition at the end of the bootloader space
`131` `134220802`
* Assign end of boot partition (default) by pressing ENTER * Assign end of boot partition (default) by pressing ENTER
* Change display units back to sectors
`u`
* Show the partitions * Show the partitions
`p` `p`
* If you agree save and exit * If you agree save and exit
@ -137,6 +133,8 @@ make odroidc2_defconfig
`make -j 4 ARCH=arm64 CROSS_COMPILE=<LINARO_TOOLS_DIRECTORY>/bin/aarch64-linux-gnu- INSTALL_MOD_PATH=/mnt/ modules` `make -j 4 ARCH=arm64 CROSS_COMPILE=<LINARO_TOOLS_DIRECTORY>/bin/aarch64-linux-gnu- INSTALL_MOD_PATH=/mnt/ modules`
* Installing the kernel to destination "/mnt/boot/Image" * Installing the kernel to destination "/mnt/boot/Image"
`cp arch/arm64/boot/Image /mnt/boot/` `cp arch/arm64/boot/Image /mnt/boot/`
* Creating the devicetree directory
`mkdir /mnt/boot/dtbs/`
* Installing the devicetree blobs to destination "/mnt/boot/dtbs/meson64_odroidc2.dtb" * Installing the devicetree blobs to destination "/mnt/boot/dtbs/meson64_odroidc2.dtb"
`cp arch/arm64/boot/dts/meson64_odroidc2.dtb /mnt/boot/dtbs/` `cp arch/arm64/boot/dts/meson64_odroidc2.dtb /mnt/boot/dtbs/`
* Installing the modules to destination "INSTALL_MOD_PATH=/mnt/" * Installing the modules to destination "INSTALL_MOD_PATH=/mnt/"