copy dtb to /boot/dtb/
This commit is contained in:
parent
12b276437a
commit
d71192e7f7
@ -618,6 +618,7 @@ _kernel_src_compile() {
|
|||||||
popd
|
popd
|
||||||
einfo "Append the device-tree-blob to the Kenel Image"
|
einfo "Append the device-tree-blob to the Kenel Image"
|
||||||
cat "${WORKDIR}"/boot/kernel-genkernel-${ARCH}-${KV_FULL} "${S}"/arch/arm/boot/${K_NASKERNEL_DTB} > zImage.new
|
cat "${WORKDIR}"/boot/kernel-genkernel-${ARCH}-${KV_FULL} "${S}"/arch/arm/boot/${K_NASKERNEL_DTB} > zImage.new
|
||||||
|
cp "${S}"/arch/arm/boot/${K_NASKERNEL_DTB} "${WORKDIR}"/boot/dtb/
|
||||||
einfo "Create uImage of the resulting Image"
|
einfo "Create uImage of the resulting Image"
|
||||||
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n uImage-${KV_FULL} \
|
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n uImage-${KV_FULL} \
|
||||||
-d zImage.new "${WORKDIR}"/boot/uImage-genkernel-${ARCH}-${KV_FULL}
|
-d zImage.new "${WORKDIR}"/boot/uImage-genkernel-${ARCH}-${KV_FULL}
|
||||||
|
Loading…
Reference in New Issue
Block a user