mirror of
https://github.com/mayfrost/guides.git
synced 2024-11-01 07:26:04 +00:00
Update CROSS-COMPILING.md
This commit is contained in:
parent
050f59bd05
commit
59274abef4
@ -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/"
|
||||||
|
Loading…
Reference in New Issue
Block a user