소스 검색

orangepipc: Accommodate U-Boot environment on SD-card

As described by http://linux-sunxi.org/Bootable_SD_card#SD_Card_Layout

The space betweem 544KB..1MB is reserved / used for the u-boot environment,
so mark it as such to make sure genimage doesn't put other partitions here.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Peter Korsgaard 9 년 전
부모
커밋
42c882ba21
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      board/orangepi/orangepipc/genimage.cfg

+ 1 - 0
board/orangepi/orangepipc/genimage.cfg

@@ -19,6 +19,7 @@ image sdcard.img {
 		in-partition-table = "no"
 		image = "u-boot-sunxi-with-spl.bin"
 		offset = 8192
+		size = 1040384 # 1MB - 8192
 	}
 
 	partition boot {