代码拉取完成,页面将自动刷新
#!/bin/bash
#
# This script will create a u-boot binary for movinand/mmc boot
#
# padding to 256k u-boot
cat u-boot.bin >> u-boot-2x.bin
cat u-boot.bin >> u-boot-2x.bin
split -d -a 1 -b 256k u-boot-2x.bin u-boot-256k.bin
# make BL1 u-boot (8kb)
split -d -a 2 -b 8k u-boot.bin u-boot-8k.bin
# concat the BL1 behind of padded 256k binary
cat u-boot-8k.bin00 >> u-boot-256k.bin0
# rename and chmod
mv u-boot-256k.bin0 u-boot-movi.bin
chmod 777 u-boot-movi.bin
# remove temp files
rm -f u-boot-8k*
rm -f u-boot-256k*
rm -f u-boot-2x.bin
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。