Skip to contentSkip to conversation

arm: socfpga: cyclone5_socdk: Enable qspiload console command

PATCH New Chin Liang See 2 participants 4 messages Dec 21, 2015 – Dec 22, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm: socfpga: cyclone5_socdk: Enable qspiload console command

Enabling qspiload command which will load the kernel image and dtb from UBIFS within MTD partition labeled UBI.

Cc Dinh Nguyen <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Pavel Machek <[email protected]>
Cc Marek Vasut <[email protected]>
Cc Stefan Roese <[email protected]>
---
 include/configs/socfpga_cyclone5_socdk.h | 1 +
 1 file changed, 1 insertion(+)
include/configs/socfpga_cyclone5_socdk.h +1 -0
index 21b35d8..61450cb 100644
@@ -70,6 +70,7 @@
 	"mmcload=mmc rescan;" \
 		"load mmc 0:1 ${loadaddr} ${bootimage};" \
 		"load mmc 0:1 ${fdt_addr} ${fdtimage}\0" \
+	"qspiload=sf probe; mtdparts default;run ubiload\0" \
 	"qspiroot=/dev/mtdblock0\0" \
 	"qspirootfstype=jffs2\0" \
 	"qspiboot=setenv bootargs " CONFIG_BOOTARGS \
Signature · 1 line
1.9.2.468.g3f0c02a
#1 lore raw

PATCH 1/1 arm: socfpga: cyclone5_socdk: Enable qspiload console command

Quoted 19 lines · Chin Liang See

Enabling qspiload command which will load the kernel image and dtb from UBIFS within MTD partition labeled UBI.

Cc Dinh Nguyen <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Pavel Machek <[email protected]>
Cc Marek Vasut <[email protected]>
Cc Stefan Roese <[email protected]>
---
 include/configs/socfpga_cyclone5_socdk.h | 1 +
 1 file changed, 1 insertion(+)
(quoted diff) +0 -0

b/include/configs/socfpga_cyclone5_socdk.h index 21b35d8..61450cb 100644

include/configs/socfpga_cyclone5_socdk.h line 73

Quoted 4 lines
include/configs/socfpga_cyclone5_socdk.h +1 -0
@@ -70,6 +70,7 @@
 	"mmcload=mmc rescan;" \
 		"load mmc 0:1 ${loadaddr} ${bootimage};" \
 		"load mmc 0:1 ${fdt_addr} ${fdtimage}\0" \
+	"qspiload=sf probe; mtdparts default;run ubiload\0" \

&& instead of ; please . Also, I believe these four patches you sent are supposed to be a series, right ?

include/configs/socfpga_cyclone5_socdk.h line 76

Quoted 3 lines
include/configs/socfpga_cyclone5_socdk.h +0 -0
 	"qspiroot=/dev/mtdblock0\0" \
 	"qspirootfstype=jffs2\0" \
 	"qspiboot=setenv bootargs " CONFIG_BOOTARGS \

Best regards,
Marek Vasut

#2 lore raw

PATCH 1/1 arm: socfpga: cyclone5_socdk: Enable qspiload console command

Quoted 15 lines · Marek Vasut
Quoted 14 lines · Chin Liang See

Enabling qspiload command which will load the kernel image and dtb from UBIFS within MTD partition labeled UBI.

Cc Dinh Nguyen <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Pavel Machek <[email protected]>
Cc Marek Vasut <[email protected]>
Cc Stefan Roese <[email protected]>
---
 include/configs/socfpga_cyclone5_socdk.h | 1 +
 1 file changed, 1 insertion(+)
Quoted 14 lines

include/configs/socfpga_cyclone5_socdk.h line 73

Quoted 10 lines
(quoted diff) +0 -0

b/include/configs/socfpga_cyclone5_socdk.h index 21b35d8..61450cb 100644

include/configs/socfpga_cyclone5_socdk.h +1 -0
@@ -70,6 +70,7 @@
 	"mmcload=mmc rescan;" \
 		"load mmc 0:1 ${loadaddr} ${bootimage};" \
 		"load mmc 0:1 ${fdt_addr} ${fdtimage}\0" \
+	"qspiload=sf probe; mtdparts default;run ubiload\0" \

&& instead of ; please . Also, I believe these four patches you sent are
supposed to be a series, right ?

Will change this too. Yup, let me make it series as I was testing each patch and sending out.

Thanks
Chin Liang

Quoted 7 lines

include/configs/socfpga_cyclone5_socdk.h line 76

Quoted 4 lines
include/configs/socfpga_cyclone5_socdk.h +0 -0
 	"qspiroot=/dev/mtdblock0\0" \
 	"qspirootfstype=jffs2\0" \
 	"qspiboot=setenv bootargs " CONFIG_BOOTARGS \

Best regards,
Marek Vasut

#3 lore raw

PATCH 1/1 arm: socfpga: cyclone5_socdk: Enable qspiload console command

Quoted 29 lines · Chin Liang See
Quoted 28 lines · Marek Vasut
Quoted 27 lines · Chin Liang See

Enabling qspiload command which will load the kernel image and dtb from UBIFS within MTD partition labeled UBI.

Cc Dinh Nguyen <[email protected]>
Cc Dinh Nguyen <[email protected]>
Cc Pavel Machek <[email protected]>
Cc Marek Vasut <[email protected]>
Cc Stefan Roese <[email protected]>

---

 include/configs/socfpga_cyclone5_socdk.h | 1 +
 1 file changed, 1 insertion(+)
(quoted diff) +0 -0

b/include/configs/socfpga_cyclone5_socdk.h index 21b35d8..61450cb 100644

include/configs/socfpga_cyclone5_socdk.h +0 -0
@@ -70,6 +70,7 @@
 
 	"mmcload=mmc rescan;" \
 
 		"load mmc 0:1 ${loadaddr} ${bootimage};" \
 		"load mmc 0:1 ${fdt_addr} ${fdtimage}\0" \
 
Quoted 8 lines
Quoted 5 lines

include/configs/socfpga_cyclone5_socdk.h line 73

Quoted 1 line
include/configs/socfpga_cyclone5_socdk.h +1 -0
+	"qspiload=sf probe; mtdparts default;run ubiload\0" \

&& instead of ; please . Also, I believe these four patches you sent are
supposed to be a series, right ?

Will change this too. Yup, let me make it series as I was testing each patch and sending out.

Thanks!

Best regards,
Marek Vasut