Hi:
First thanks for all your time!
I'm trying to compile a kernel for PixelC, but cannot get it booted :(
I followed the steps at http://ift.tt/2bSI0U7, mainly as follows:
and also http://ift.tt/2bSIp97.
I've tried to compile kernel source at http://ift.tt/2bSHWUr and http://ift.tt/1OpJpLy, but all no luck.
Produced boot.img can be verified:
vbutil_kernel --verify boot.img
Key block:
Size: 0x3b8
Flags: 0
Data key algorithm: 4 RSA2048 SHA256
Data key version: 1
Data key sha1sum: d6170aa480136f1f29cf339a5ab1b960585fa444
Preamble:
Size: 0xfc48
Header version: 2.2
Kernel version: 1
Body load address: 0x100000
Body size: 0x8a5000
Bootloader address: 0x9a4000
Bootloader size: 0x1000
Body verification succeeded.
But after flashed the pixelC will just stuck at "Google" logo.
I wonder if there's something I am missing?
Thanks very much!
First thanks for all your time!
I'm trying to compile a kernel for PixelC, but cannot get it booted :(
I followed the steps at http://ift.tt/2bSI0U7, mainly as follows:
PHP Code:
make -C kernel ARCH=arm64 dragon_defconfig
make -C kernel ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j5
lz4 -20 -z -f kernel/arch/arm64/boot/Image Image.lz4
./generate-its-script.sh -a arm64 Image.lz4 kernel/arch/arm64/boot/dts/tegra/*.dtb | dtc -I dts -O dtb -p 1024 > Image.fit
# Use ramdisk from Android build tree out/target/product/dragon/ramdisk.img
mkbootimg --kernel Image.fit --ramdisk ramdisk.img --output boot.img.unsigned
echo " " > empty.txt
//download and compiled vboot_reference
futility vbutil_keyblock --pack boot.img.keyblock --datapubkey kernel_data_key.vbpubk --signprivate kernel_data_key.vbprivk
futility vbutil_kernel --pack boot.img --keyblock boot.img.keyblock --signprivate kernel_data_key.vbprivk --version 1 --vmlinuz boot.img.unsigned --config empty.txt --arch arm --bootloader empty.txt --flags 0x1
fastboot flash boot boot.img
fastboot continue
I've tried to compile kernel source at http://ift.tt/2bSHWUr and http://ift.tt/1OpJpLy, but all no luck.
Produced boot.img can be verified:
vbutil_kernel --verify boot.img
Key block:
Size: 0x3b8
Flags: 0
Data key algorithm: 4 RSA2048 SHA256
Data key version: 1
Data key sha1sum: d6170aa480136f1f29cf339a5ab1b960585fa444
Preamble:
Size: 0xfc48
Header version: 2.2
Kernel version: 1
Body load address: 0x100000
Body size: 0x8a5000
Bootloader address: 0x9a4000
Bootloader size: 0x1000
Body verification succeeded.
But after flashed the pixelC will just stuck at "Google" logo.
I wonder if there's something I am missing?
Thanks very much!
from xda-developers http://ift.tt/2c1yrpu
via IFTTT
No comments:
Post a Comment