mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
configs/arm_juno: add the bootloader build
Thanks to the recent addition of the vexpress-firmware and arm-trusted-firmware packages, this commit improves the ARM Juno defconfig to also build a bootloader. Signed-off-by: Joao Pinto <jpinto@synopsys.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
b5a6299042
commit
04a89b8fa7
@ -8,8 +8,8 @@ These instructions apply to all models of the ARM Juno:
|
|||||||
- Juno r1 (supports PCIe)
|
- Juno r1 (supports PCIe)
|
||||||
- Juno r2 (Big Cluster with A72)
|
- Juno r2 (Big Cluster with A72)
|
||||||
|
|
||||||
Buildroot will generate the kernel image, device tree blob and a
|
Buildroot will generate the kernel image, device tree blob, bootloader binaries
|
||||||
minimal root filesystem.
|
and a minimal root filesystem.
|
||||||
|
|
||||||
How to build it
|
How to build it
|
||||||
===============
|
===============
|
||||||
@ -44,6 +44,20 @@ After building, you should obtain this tree:
|
|||||||
+-- juno-r1.dtb (if Juno r1 is used)
|
+-- juno-r1.dtb (if Juno r1 is used)
|
||||||
+-- juno-r2.dtb (if Juno r2 is used)
|
+-- juno-r2.dtb (if Juno r2 is used)
|
||||||
+-- Image
|
+-- Image
|
||||||
|
+-- bl1.bin
|
||||||
|
+-- bl2.bin
|
||||||
|
+-- bl2u.bin
|
||||||
|
+-- bl31.bin
|
||||||
|
+-- fip.bin
|
||||||
|
+-- scp-fw.bin
|
||||||
|
+-- u-boot.bin
|
||||||
|
|
||||||
|
Preparing your rootfs
|
||||||
|
======================
|
||||||
|
|
||||||
|
Format your pen drive as a ext3 filesystem by executing:
|
||||||
|
|
||||||
|
$ mkfs.ext3 /dev/<your device>
|
||||||
|
|
||||||
Preparing your rootfs
|
Preparing your rootfs
|
||||||
======================
|
======================
|
||||||
@ -113,7 +127,8 @@ Installing kernel image and DTB
|
|||||||
3. Open the software/ folder
|
3. Open the software/ folder
|
||||||
4. Copy the 'Image' file to software/
|
4. Copy the 'Image' file to software/
|
||||||
5. Copy the 'juno-r1.dtb' (r1), 'juno.dtb' (r0) or juno-r2.dtb (r2) file to software/
|
5. Copy the 'juno-r1.dtb' (r1), 'juno.dtb' (r0) or juno-r2.dtb (r2) file to software/
|
||||||
6. Press the red button in the front pannel of ARM Juno
|
6. Copy the bootloader binaries (bl1.bin and fip.bin) to software/
|
||||||
|
7. Press the red button in the front pannel of ARM Juno
|
||||||
|
|
||||||
At this time, the board will erase the Flash entry for each new item and
|
At this time, the board will erase the Flash entry for each new item and
|
||||||
replace it with the lastest ones.
|
replace it with the lastest ones.
|
||||||
|
@ -10,3 +10,13 @@ BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
|||||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/arm/juno/linux-juno-defconfig"
|
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/arm/juno/linux-juno-defconfig"
|
||||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="arm/juno arm/juno-r1 arm/juno-r2"
|
BR2_LINUX_KERNEL_INTREE_DTS_NAME="arm/juno arm/juno-r1 arm/juno-r2"
|
||||||
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
|
||||||
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y
|
||||||
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/ARM-software/arm-trusted-firmware.git"
|
||||||
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="v1.2"
|
||||||
|
BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="juno"
|
||||||
|
BR2_TARGET_UBOOT=y
|
||||||
|
BR2_TARGET_UBOOT_BOARDNAME="vexpress_aemv8a_juno"
|
||||||
|
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
||||||
|
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.03"
|
||||||
|
BR2_TARGET_VEXPRESS_FIRMWARE=y
|
||||||
|
Loading…
x
Reference in New Issue
Block a user