create dtbs
This commit is contained in:
parent
e20666817b
commit
bae0580540
@ -566,6 +566,7 @@ _kernel_src_compile() {
|
|||||||
all || die "genkernel failed"
|
all || die "genkernel failed"
|
||||||
ARCH=${OLDARCH}
|
ARCH=${OLDARCH}
|
||||||
|
|
||||||
|
|
||||||
# Buffalo Boxes have a special naming and start address
|
# Buffalo Boxes have a special naming and start address
|
||||||
if [ "${K_NASKERNEL_TYPE}" = "buffalo" ]; then
|
if [ "${K_NASKERNEL_TYPE}" = "buffalo" ]; then
|
||||||
if [ "${K_NASKERNEL_DTB}" = "none" ]; then
|
if [ "${K_NASKERNEL_DTB}" = "none" ]; then
|
||||||
@ -578,6 +579,9 @@ _kernel_src_compile() {
|
|||||||
mkimage -A arm -O linux -T ramdisk -C none -a 0x00000000 -e 0x00000000 -n initrd-${KV_FULL} \
|
mkimage -A arm -O linux -T ramdisk -C none -a 0x00000000 -e 0x00000000 -n initrd-${KV_FULL} \
|
||||||
-d "${WORKDIR}"/boot/initramfs-genkernel-${ARCH}-${KV_FULL} "${WORKDIR}"/boot/initrd-genkernel-${ARCH}-${KV_FULL}.buffalo
|
-d "${WORKDIR}"/boot/initramfs-genkernel-${ARCH}-${KV_FULL} "${WORKDIR}"/boot/initrd-genkernel-${ARCH}-${KV_FULL}.buffalo
|
||||||
else
|
else
|
||||||
|
pushd "${S}"
|
||||||
|
make dtbs
|
||||||
|
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
|
||||||
einfo "Create uImage of the resulting Image"
|
einfo "Create uImage of the resulting Image"
|
||||||
|
Loading…
Reference in New Issue
Block a user