meta-freescale-3rdparty/recipes-bsp/u-boot/u-boot-script-boundary/nitrogen6x-bootscript-modify-for-use-with-the-Yocto.patch
Otavio Salvador ebcb70c68a u-boot-script-boundary: Add recipe to deploy the boot scripts
The recipe deploys the scripts used by Boundary Devices to detect and
choose video output, load kernel and etc...

Change-Id: Ic4685c60ba1470a1548629e294ea8aa48473cd0e
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-12-12 15:30:08 -02:00

35 lines
1.3 KiB
Diff

From a0739ed017cd097817d227e98848f66c8e5d666e Mon Sep 17 00:00:00 2001
From: Eric Nelson <eric.nelson@boundarydevices.com>
Date: Tue, 11 Dec 2012 11:59:47 -0700
Subject: [PATCH] nitrogen6x bootscript: modify for use with the Yocto Project
Change 6x_bootscript to match the partitioning scheme currently in
use by meta-fsl-arm:
- Set root filesystem to partition 2 (/dev/mmcblk0p2)
- Load kernel from root of partition 1
Upstream-Status: Inappropriate [configuration]
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
---
board/boundary/nitrogen6x/6x_bootscript.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/boundary/nitrogen6x/6x_bootscript.txt b/board/boundary/nitrogen6x/6x_bootscript.txt
index fe75976..1d766ca 100644
--- a/board/boundary/nitrogen6x/6x_bootscript.txt
+++ b/board/boundary/nitrogen6x/6x_bootscript.txt
@@ -53,6 +53,6 @@ done
setenv bootargs $bootargs $fbmem
-setenv bootargs $bootargs console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p1 rootwait consoleblank=0 ;
-${fs}load mmc ${disk}:1 10800000 /boot/uImage && bootm 10800000 ; echo "Error loading kernel image"
+setenv bootargs $bootargs console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p2 rootwait consoleblank=0 ;
+${fs}load mmc ${disk}:1 10800000 uImage && bootm 10800000 ; echo "Error loading kernel image"
--
1.7.10.4