Hi All:
How to add a larger custom partition? thanks.
w@w:~/master/L4T-public-source/out/Linux_for_Tegra $ sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_t234_nvme.xml -p "-c bootloader/t186ref/cfg/flash_t234_qspi.xml" --showlogs --network usb0 jetson-orin-nano-devkit external
robot@tegra:/sys/class/net/eth0$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
loop0 7:0 0 16M 1 loop
zram0 251:0 0 970M 0 disk [SWAP]
zram1 251:1 0 970M 0 disk [SWAP]
zram2 251:2 0 970M 0 disk [SWAP]
zram3 251:3 0 970M 0 disk [SWAP]
zram4 251:4 0 970M 0 disk [SWAP]
zram5 251:5 0 970M 0 disk [SWAP]
zram6 251:6 0 970M 0 disk [SWAP]
zram7 251:7 0 970M 0 disk [SWAP]
nvme0n1 259:0 0 953.9G 0 disk
├─nvme0n1p1 259:1 0 952G 0 part /
├─nvme0n1p2 259:2 0 128M 0 part
├─nvme0n1p3 259:3 0 768K 0 part
├─nvme0n1p4 259:4 0 31.6M 0 part
├─nvme0n1p5 259:5 0 128M 0 part
├─nvme0n1p6 259:6 0 768K 0 part
├─nvme0n1p7 259:7 0 31.6M 0 part
├─nvme0n1p8 259:8 0 80M 0 part
├─nvme0n1p9 259:9 0 512K 0 part
├─nvme0n1p10 259:10 0 64M 0 part
├─nvme0n1p11 259:11 0 80M 0 part
├─nvme0n1p12 259:12 0 512K 0 part
├─nvme0n1p13 259:13 0 64M 0 part
├─nvme0n1p14 259:14 0 400M 0 part
├─nvme0n1p15 259:15 0 479.5M 0 part
└─nvme0n1p16 259:16 0 400M 0 part ------new partition
I have a 1TB hard drive and I want to reserve 64GB for the file system(part /) and allocate the rest to custom partitions(nvme0n1p16). How can I do this?
file:
1、400M is ok:
flash_l4t_t234_nvme.xml.txt (9.2 KB)
2、failed.
flash_l4t_t234_nvme-v1.xml.txt (9.2 KB)
When I set it up in this way, an error occurred during flashing, as follows:
[ 6.2430 ] Using ramcode 0
[ 6.2430 ] Disabled BPMP dtb trim, using default dtb
[ 6.2430 ]
[ 6.2449 ] tegrahost_v2 --chip 0x23 0 --align mem_rcm_aligned.bct
[ 6.2468 ] tegrahost_v2 --chip 0x23 0 --magicid MEM0 --ratchet_blob ratchet_blob.bin --appendsigheader mem_rcm_aligned.bct zerosbk
[ 6.2477 ] adding BCH for mem_rcm_aligned.bct
[ 6.2519 ] tegrasign_v3.py --key None --list mem_rcm_aligned_sigheader.bct_list.xml --pubkeyhash pub_key.key --sha sha512
[ 6.2521 ] Assuming zero filled SBK key
[ 6.2541 ] Warning: pub_key.key is not found
[ 6.2533 ] tegrahost_v2 --chip 0x23 0 --updatesigheader mem_rcm_aligned_sigheader.bct.encrypt mem_rcm_aligned_sigheader.bct.hash zerosbk
[ 6.2551 ] Copying signatures
[ 6.2561 ] tegrahost_v2 --chip 0x23 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 6.2583 ] tegraparser_v2 --generategpt --pt flash.xml.bin
[ 6.2591 ] End sector for APP, expected at: 122159070, actual: 0
Error: Return value 4
Command tegraparser_v2 --generategpt --pt flash.xml.bin
Error: /home/w/master/L4T-public-source/out/Linux_for_Tegra/bootloader/signed/flash.idx is not found
Error: failed to relocate images to /home/w/master/L4T-public-source/out/Linux_for_Tegra/tools/kernel_flash/images
Cleaning up...
log.txt (153.4 KB)