projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e14a86e
)
uImage 4k对齐
author
黄涛
<huangtao@rock-chips.com>
Fri, 3 Dec 2010 08:27:26 +0000
(16:27 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Fri, 3 Dec 2010 08:27:26 +0000
(16:27 +0800)
arch/arm/boot/Makefile
patch
|
blob
|
history
diff --git
a/arch/arm/boot/Makefile
b/arch/arm/boot/Makefile
index 8d4387a9d8850fdd3332df70944b265cd73d5fcb..38eb586bf00a4f2f77febdad3a14e87e1e9d15d8 100644
(file)
--- a/
arch/arm/boot/Makefile
+++ b/
arch/arm/boot/Makefile
@@
-62,7
+62,8
@@
endif
quiet_cmd_uimage = UIMAGE $@
cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A arm -O linux -T kernel \
-C none -a $(LOADADDR) -e $(STARTADDR) \
- -n 'Linux-$(KERNELRELEASE)' -d $< $@
+ -n 'Linux-$(KERNELRELEASE)' -d $< $@ \
+ && dd if=$@ of=$@.pad bs=4096 conv=sync 2>/dev/null && mv $@.pad $@
ifeq ($(CONFIG_ZBOOT_ROM),y)
$(obj)/uImage: LOADADDR=$(CONFIG_ZBOOT_ROM_TEXT)