Skip to contentSkip to conversation

board: amarula: vyasa: Give raw space for falcon mode

PATCH New shyam saini 2 participants 2 messages May 9, 2018 – May 27, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 board: amarula: vyasa: Give raw space for falcon mode

From: Jagan Teki <[email protected]>

RK3288 Vyasa board support falcon mode in U-Boot and SD layout start from 16MB offset for args and 17MB for uImage. So give full u-boot partition space as 30M so-that it can occupy bigger uImage file and doesn't overlap rootfs partition.

---
 board/amarula/vyasa/genimage.cfg | 1 +
 1 file changed, 1 insertion(+)
board/amarula/vyasa/genimage.cfg +1 -0
index fa41de36720e..c8066ace9b68 100644
@@ -12,6 +12,7 @@ image sdcard.img {
 		in-partition-table = "no"
 		image = "u-boot-dtb.img"
 		offset = 8M
+		size = 30M // falcon mode: 16M args, 17M uImage
 	}
 
 	partition rootfs {
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 board: amarula: vyasa: Give raw space for falcon mode

Quoted 21 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"shyam" == shyam saini <[email protected]> writes:

From: Jagan Teki <[email protected]>
RK3288 Vyasa board support falcon mode in U-Boot and SD layout start from 16MB offset for args and 17MB for uImage. So give full u-boot partition space as 30M so-that it can occupy bigger uImage file and doesn't overlap rootfs partition.

---
 board/amarula/vyasa/genimage.cfg | 1 +
 1 file changed, 1 insertion(+)
board/amarula/vyasa/genimage.cfg +0 -0
index fa41de36720e..c8066ace9b68 100644

board/amarula/vyasa/genimage.cfg image sdcard.img { · line 15

Quoted 4 lines
board/amarula/vyasa/genimage.cfg +1 -0
@@ -12,6 +12,7 @@ image sdcard.img {
 		in-partition-table = "no"
 		image = "u-boot-dtb.img"
 		offset = 8M
+		size = 30M // falcon mode: 16M args, 17M uImage

We use # as comment character in all other genimage.cfg files, so I've changed that. I also reworded to make it clear that these refers to offsets and not sizes:

size = 30M # falcon mode: args @ 16M args, uImage @ 17M

Committed to next with that fixed, thanks.

Signature · 1 line
Bye, Peter Korsgaard