Skip to contentSkip to conversation

nitrogen6x bootscript: modify for use with the Yocto Project

PATCH In review Eric Nelson 2 participants 3 messages Dec 11, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 board/boundary/nitrogen6x/6x_bootscript.txt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/boundary/nitrogen6x/6x_bootscript.txt +2 -2
index fe75976..1d766ca 100644
@@ -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"
 
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 8 lines · Eric Nelson

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

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.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br
#2 lore raw
Quoted 6 lines · Otavio Salvador
Quoted 3 lines · Eric Nelson

Change 6x_bootscript to match the partitioning scheme currently in use by meta-fsl-arm:

Quoted 9 lines
Quoted 5 lines

- Set root filesystem to partition 2 (/dev/mmcblk0p2)
- Load kernel from root of partition 1

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