Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18599

Makefile Capsule Error

$
0
0

The following is the error msg when I tried to build the capsule file. I've already used the command

sudo apt-get install build-essentials uuid-dev

 

So what can I do so as to fix the problem listed below. Thank you very much.

 

zijue@~/labfiles/sysimage_v0.7.5/sysimage.CP-8M-release$ BASETOOLS=~/buildtools-BaseTools-master/Bin/CYGWIN_NT-5.1-i686/ ../../spi-flash-tools_v0.7.5/Makefile capsule

../../spi-flash-tools_v0.7.5//Makefile:104: layout.mk: 没有那个文件或目录

../../spi-flash-tools_v0.7.5///generator/generator.py ./layout.conf -M

Found boot_index=0 in section boot_stage1_image1

# When building on NFS with high precision timestamps you

# might see a harmless "clock skew" warning. If that bothers

# you then enable the next line:

# usleep 100000 || sleep 1

../../spi-flash-tools_v0.7.5//asset-signing-tool/exports/lastbuilt/bin/cssinput -input grub/grub-ce.conf -bodyoffset 0x400 -svn 0 -svnindex 5 -output grub/grub-ce.conf.cssinput >/dev/null

rm -f grub/grub-ce.conf.signed

>/dev/null ../../spi-flash-tools_v0.7.5//asset-signing-tool/exports/lastbuilt/bin/codesignemulator -input grub/grub-ce.conf.cssinput -output grub/grub-ce.conf.signed -keyfile "./config/key.pem"

test -e grub/grub-ce.conf.signed

dd if=grub/grub-ce.conf.signed of=grub/grub-ce.conf.csbh bs=1024 count=1

记录了1+0 的读入

记录了1+0 的写出

1024字节(1.0 kB)已复制,0.000273171 秒,3.7 MB/秒

../../spi-flash-tools_v0.7.5///generator/generator.py ./layout.conf

Found boot_index=0 in section boot_stage1_image1

 

 

---- Flash content [15 items] ----

Address       Size    Free    Type  BI  Name

0x ff80 0000   328704    3072 0x0c     grub

0x ff85 1000     2393    1703 0x0e     grub.conf

0x ff85 2000  2114528   39968 0x11     Kernel

0x ffa6 0000  2508093  240323 0x13     Ramdisk

0x ffcf f000     3215     881 0x18     LAYOUT.CONF_DUMP

0x ffd0 0000   918528  654336 0x04     boot_stage_2_compact

0x ffe8 0000   259072    3072 0x01   1 boot_stage1_image2

0x ffec 0000   259072    3072 0x01   0 boot_stage1_image1

0x fff0 0000     8192   24576          RMU

0x fff0 8000      168  163672          MFH

0x fff3 0000   131072  262144          NV_Storage

0x fff9 0000   259072    3072 0x01     fixed_recovery_image

0x fffd 0000    32768       0          svn-area

0x fffd 8000      856   31912          signed-key-module

0x fffe 0000   131072       0          ROM_OVERLAY

Total         6956805 1431803        

Warning: sections in the layout.conf with duplicate names are ignored

 

 

../../spi-flash-tools_v0.7.5//generator/dediprog-checksum.py Flash-missingPDAT.bin

45F473FB  Flash-missingPDAT.bin

../../spi-flash-tools_v0.7.5//generator/scan-padding.py Flash-missingPDAT.bin

Found about 1398 KB of byte 0XC0 padding in Flash-missingPDAT.bin

Found about 393 KB of byte 0XFF padding in Flash-missingPDAT.bin

Found about 139 KB of byte 0X00 padding in Flash-missingPDAT.bin

../../clanton_peak_EDK2/Build/ClantonPeakCRBPlatform/RELEASE_GCC/FV/Tools/CapsuleCreate CapsuleComponents.ini  ./  _Flash-missingPDAT.cap.noheader 0x10000

../../clanton_peak_EDK2/Build/ClantonPeakCRBPlatform/RELEASE_GCC/FV/Tools/CapsuleCreate: 1: ../../clanton_peak_EDK2/Build/ClantonPeakCRBPlatform/RELEASE_GCC/FV/Tools/CapsuleCreate: Syntax error: "(" unexpected

make: *** [Flash-missingPDAT.cap] 错误 2


Viewing all articles
Browse latest Browse all 18599

Trending Articles



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