From 8e1e3e7be522095086e80bd4e1640ca3bb28a3c4 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 13 Dec 2017 18:18:29 -0500 Subject: meta-agl-bsp/meta-rcar-gen3: Add u-boot-script-rcar-gen3 to ease boot Introduce a boot.scr script to handle loading the kernel and device tree, along with setting up the bootargs. Change-Id: I6716197bc68c37e72d6203113f055fbc0d84ee37 Bug-AGL: SPEC-1175 Signed-off-by: Tom Rini --- .../recipes-bsp/u-boot/u-boot-script-rcar-gen3/boot.cmd | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 meta-agl-bsp/meta-rcar-gen3/recipes-bsp/u-boot/u-boot-script-rcar-gen3/boot.cmd (limited to 'meta-agl-bsp/meta-rcar-gen3/recipes-bsp/u-boot/u-boot-script-rcar-gen3') diff --git a/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/u-boot/u-boot-script-rcar-gen3/boot.cmd b/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/u-boot/u-boot-script-rcar-gen3/boot.cmd new file mode 100644 index 000000000..61a7a925e --- /dev/null +++ b/meta-agl-bsp/meta-rcar-gen3/recipes-bsp/u-boot/u-boot-script-rcar-gen3/boot.cmd @@ -0,0 +1,4 @@ +setenv bootargs console=ttySC0,115200 root=/dev/mmcblk0p1 rootwait ro rootfstype=ext4 +ext4load mmc 0:1 0x48000000 /boot/${fdtfile} +ext4load mmc 0:1 0x48080000 /boot/Image +booti 0x48080000 - 0x48000000 -- cgit 1.2.3-korg