All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nitrogen6x bootscript: modify for use with the Yocto Project
@ 2012-12-11 18:59 Eric Nelson
  2012-12-11 19:02 ` Otavio Salvador
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Nelson @ 2012-12-11 18:59 UTC (permalink / raw)
  To: meta-freescale; +Cc: otavio, troy.kisky

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

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.9.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] nitrogen6x bootscript: modify for use with the Yocto Project
  2012-12-11 18:59 [PATCH] nitrogen6x bootscript: modify for use with the Yocto Project Eric Nelson
@ 2012-12-11 19:02 ` Otavio Salvador
  2012-12-11 19:44   ` Eric Nelson
  0 siblings, 1 reply; 3+ messages in thread
From: Otavio Salvador @ 2012-12-11 19:02 UTC (permalink / raw)
  To: Eric Nelson; +Cc: meta-freescale@yoctoproject.org, Troy Kisky

[-- Attachment #1: Type: text/plain, Size: 713 bytes --]

On Tue, Dec 11, 2012 at 4:59 PM, Eric Nelson <
eric.nelson@boundarydevices.com> wrote:

> 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
>
> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
>

Can you fix the upgrade script as well? even it not being deployed in the
sdcard by default you then can ask the user to use it if need.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

[-- Attachment #2: Type: text/html, Size: 1303 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] nitrogen6x bootscript: modify for use with the Yocto Project
  2012-12-11 19:02 ` Otavio Salvador
@ 2012-12-11 19:44   ` Eric Nelson
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Nelson @ 2012-12-11 19:44 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org, Troy Kisky

On 12/11/2012 12:02 PM, Otavio Salvador wrote:
> On Tue, Dec 11, 2012 at 4:59 PM, Eric Nelson <
> eric.nelson@boundarydevices.com> wrote:
>
>> 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
>>
>> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
>>
>
> Can you fix the upgrade script as well? even it not being deployed in the
> sdcard by default you then can ask the user to use it if need.
>

Hi Otavio,

The upgrade script is actually okay, since it doesn't refer to
partition 2.

I started to force it to be FAT, but this will be implicit by
the use of ${fs}load:

	https://github.com/boundarydevices/u-boot-imx6/blob/production/board/boundary/nitrogen6x/6x_upgrade.txt

Regards,


Eric


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-11 19:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-11 18:59 [PATCH] nitrogen6x bootscript: modify for use with the Yocto Project Eric Nelson
2012-12-11 19:02 ` Otavio Salvador
2012-12-11 19:44   ` Eric Nelson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.