uboot 결과

 

/opt/arm-2009q3/bin/arm-none-linux-gnueabi-objcopy -O srec u-boot u-boot.srec
/opt/arm-2009q3/bin/arm-none-linux-gnueabi-objcopy --gap-fill=0xff -O binary u-boot u-boot.bin
./mkbl2 u-boot.bin bl2.bin 14336

uboot : http://odroid.com/dokuwiki/doku.php?id=en:exynos4412bootsequence

 

 

fwbl1_position=1
bl2_position=17
uboot_position=49
tzsw_position=705
env_position=1025

 

echo "Exynos4412 BL1 fusing"
sudo dd iflag=dsync oflag=dsync if=/dev/zero of=$1 bs=512 count=32 seek=$env_position
sudo dd iflag=dsync oflag=dsync if=./p4412_s_fwbl1.bin of=$1 seek=$fwbl1_position

####################################
echo "Exynos4412 BL2 fusing"
sudo dd iflag=dsync oflag=dsync if=../bl2.bin of=$1 seek=$bl2_position

####################################
echo "Exynos4412 bootloader fusing"
sudo dd iflag=dsync oflag=dsync if=../u-boot.bin of=$1 seek=$uboot_position

####################################
echo "Exynos4412 tzsw fusing"
sudo dd iflag=dsync oflag=dsync if=./p4412_s_tzsw.bin of=$1 seek=$tzsw_position

 

 

signed_bl1_position=1
bl2_position=31
uboot_position=63
tzsw_position=2111

#<BL1 fusing>
echo "BL1 fusing"
sudo dd iflag=dsync oflag=dsync if=./bl1.HardKernel of=$1 seek=$signed_bl1_position

#<BL2 fusing>
echo "BL2 fusing"
sudo dd iflag=dsync oflag=dsync if=./bl2.HardKernel of=$1 seek=$bl2_position

#<u-boot fusing>
echo "u-boot fusing"
sudo dd iflag=dsync oflag=dsync if=../u-boot.bin of=$1 seek=$uboot_position

#<TrustZone S/W fusing>
echo "TrustZone S/W fusing"
sudo dd iflag=dsync oflag=dsync if=./tzsw.HardKernel of=$1 seek=$tzsw_position

 

+ Recent posts