Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

RTOS/DRA76P: how to modify EMMC ipu2 patition size in uboot to load iup2 firmware?

$
0
0

Part Number:DRA76P

Tool/software: TI-RTOS

hi all,

my board is dra76p, system is boot from EMMC. Now i want realize early boot and Late attach, and boot the ipu2 by bootloader.

i have do some modify according to the WIKI: 

now i have a problem,  my visionSDK ipu2 firmware has 25M bytes, but the EMMC ipu2 partition just 8M bytes, so when i use fastboot to load the firmware to emmc the following error occured:

at common/fb_mmc.c:81/write_raw_image()
request fdf24680 was not queued to ep1in-bulk
Starting download of 25286752 bytes
request fdf24680 was not queued to ep1in-bulk
..........................................................................
..........................................................................
............................................request fdf24680 was not queued to ep1in-bulk
downloading of 25286752 bytes finished
ERROR: too large for partition: 'ipu2'

I try to modify the uboot file: /include/configs/dra7xx_evm.h, change IPU2 size from 8M to 30M.

#ifndef CONFIG_SPL_BUILD
/* Define the default GPT table for eMMC */
#define PARTS_DEFAULT \
 /* Linux partitions */ \
 "uuid_disk=${uuid_gpt_disk};" \
 "name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}\0" \
 /* Android partitions */ \
 "partitions_android=" \
 "uuid_disk=${uuid_gpt_disk};" \
 "name=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};" \
 "name=bootloader,size=2304K,uuid=${uuid_gpt_bootloader};" \
 "name=environment,size=256K,uuid=${uuid_gpt_environment};" \
 "name=misc,size=128K,uuid=${uuid_gpt_misc};" \
 "name=reserved,size=384K,uuid=${uuid_gpt_reserved};" \
 "name=efs,size=16M,uuid=${uuid_gpt_efs};" \
 "name=crypto,size=16K,uuid=${uuid_gpt_crypto};" \
 "name=recovery,size=30M,uuid=${uuid_gpt_recovery};" \
 "name=boot,size=10M,uuid=${uuid_gpt_boot};" \
 "name=system,size=768M,uuid=${uuid_gpt_system};" \
 "name=vendor,size=256M,uuid=${uuid_gpt_vendor};" \
 "name=cache,size=256M,uuid=${uuid_gpt_cache};" \
 "name=ipu1,size=8M,uuid=${uuid_gpt_ipu1};" \
 "name=ipu2,size=30M,uuid=${uuid_gpt_ipu2};" \
 "name=dsp1,size=8M,uuid=${uuid_gpt_dsp1};" \
 "name=dsp2,size=8M,uuid=${uuid_gpt_dsp2};" \
 "name=userdata,size=-,uuid=${uuid_gpt_userdata}"

then i recompile the uboot, and reload the MLO and u-boot.img to emmc. 

then i try to load the ipu2 firmware: 

fastboot flash ipu2 dra7-ipu2-fw.xem4

but the same error occured! 

then i get the uboot env info as following:

;name=ipu2,size=8M,uuid=${uuid_gpt_ipu2};

i found IPU2 partion is also 8M, why? and how can i modify the IPU2 patition size of EMMC?

best regards!


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>